Git Product home page Git Product logo

badgeapp's People

Contributors

dependabot[bot] avatar sharkbit avatar tdasto avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

badgeapp's Issues

Facility Closed

Buildings, Trap Ranges, and Shooting Bays should automatically be closed when reserved.

Mark Steinacker #24 Calendar Entry

A few items to note here, see image;

  1. Mark created "AGC Orientation" in the Trap Room. Notice on the same day and time is another recurring event for the same activity. I'm pointing out that the Sponsors are different. I'm not sure if Walk-about is new with these new permissions but if it is, then all AGC Orientation events need to be updated.

  2. He chose the Trap Room but the Range Status is Open and should automatically be Closed.

  3. When creating a new event, please make the default Yes for Active

image

Fee Schedule for Holster

Fee Schedule was updated for Holster to $30 but the renewing/certification page is still pulling in $20.

No Calendar Events

I'm logged in as #24.

Go to Calendar Beta. No events listed. #24 is AGC Staff and he does the Orientation Walk-Thrus. Needs calendar access.

Canceled Event Type cancels the Closed Range Status

If a club cancels an event that is a Range Status of Closed, then that single event no longer keeps other events from using that range in that day/time slot. The Canceled Event Type allows the Event to show up on the website with a Canceled flag. So, we cannot delete the event or inactive the event since the clubs use the website calendar to "notify" members of a canceled event.

Delete Trash Can

Add trash can to Action column to all Calendar Coordinators (not CIOs)

Conflict where no Conflict exists

I should be able to create this recurring annual event but cannot due to an apparent conflict (error).
image

I'm not "killing you". There are just a few bugs related to recurring events that are similar.

Quarterly Club Roster Automation

On the firs day of the new Quarter (1/1, 4/1, 7/1, 10/1), the App automatically emails Club Rosters to each club. Right now I have to remember to click a button.

Annual Recurring and Duplication error

This is related to #21 and the duplication bugs.

On TMP, I just created an annual event, for FBG, on the 3rd Sat of August. The first Sat is August 1st. The App created two events on the 15th of 2020 and one event on the 21st 2021 (3rd Sat, correct)

I did it again, for Stoney Creek, for the 3rd Thur of Oct. Same result.

The duplication is the only error, but it is due to the event occurring on the same day as the 1st of the month falls on.

AGC Staff and Closed Range Status

Is it possible to allow AGC Staff to enter events with a "Closed" Range Status?

AGC Staff are the Chairs like High Power Chair, Pistol Chair, Action Shooting Chair...

Unauthorized (#401) error - Edit Series

I created a new Authorized User, B4692 (new Chairman, RSO, CIO) - yeh!
Logged in as B4692
Clicked on AGC Range Badge Processing recurring event (Event ID 41392) on 7/12/20.
Clicked on Edit the Series.
Then decided to not do anything and clicked on the "Calendar" hyper link ('/calendar/index').
Unauthorized (#401) error.

Turns out I could repeat this on any recurring event.

Event Conflict Not on Start/End Time

Issue Title Sucks.
Event in calendar already from 9AM-2PM, say MH. Entering a new event that starts at 2PM in MH should not cause "Range is Closed due to other event".

Solution might be to automatically internally adjust all End times to one minute less and all Start times to one minute more.

Calendar Coordinator not active

The Calendar Coordinator of a club does not have to have an active Range Badge. I get "No Active Member Found" when trying to add to Auth Users.

HoCo Recurring Error

Go to Recurring ID 46689 and tell me why the event for facility 20 is not in January 2021. I cannot make it happen.

image

Can't Leave Class Blank

Did you know that when you click on a grayed-out box and then click on the box you really wanted to enter data, a text warning pops up stating that you cannot leave the "field" blank. For example, go to '/violations/create' and click on the Class field. Then click on another non-gray box as if you were to enter data.

Doesn't break. So is this a bug?

I'm logged in as #24.

Event Show/No-Show

Currently, the RSOs report on clubs that show/no-show to their scheduled events. It would be a great enhancement to allow the RSOs to get into the App and click either an "Attended" checkbox or a Show/No-Show dropdown menu.

Broke Tmp on Recurring Event

In TMP, try creating a recurring event. Broke. Not sure you can see the cut-and-past error image below. Just try creating a recurring event.

image

image

Range Point Limit Exceeded

I stumbled upon a bug regard lane limits. I was able to schedule a monthly, 3rd Wed, recurring event on the 200 with a 10-lane reservation. However, in August that range has a 2-lane reservation already in the calendar (Range Status Open). The recurring event should not have been created or it should have dumped that month to the Conflicts tab.

First of the Month causing Recurring week Plus One

OK, these titles suck,

Try to create a recurring event for the 3rd Wed of the month in TMP. The App creates the event on July 22 which is the 4th Wed. See Calendar ID 44883. In August it is correctly on the 3rd Wed. The 1st of the month falling on a Wed in July is causing an error. The Action Chair noticed this too but I did not say anything because I did not re-create it until now...by accident. I was trying to show you a lane count limit example.

Permission Ranking (Chairman, RSO, CIO)

I logged in on TMP as B4692 (Chair, RSO, CIO). Remember, I am good at breaking shit.

Because B4692 had CIO privileges (as well as Chair and RSO), B4692 was not able to create a recurring event. Although we currently do not have a BH who is all three (Chair, RSO, CIO), it is possible. I think Chair and RSO are higher rank than CIO which should allow person to create recurring events. My two cents...

Recurring Start Date

Upon entering a recurring event today requires the event to start immediately at the next defined recurring date/time. I tried entering an event that recurs on the 1st Sunday of every 1 month but does not start until January 2021. (I'm a planner) I did select 1/2/2021 start date and it only took the 1/2 date.
The App found 1 conflict (7/5/2020)- does this mean that there are no other conflicts or was this just the 1st one the App found? - and does not allow me to create the recurring event.
Take a look at Conflicted Events. I also do not get the Approve Event hyperlink in this tab.
Conflicte_Recurrig

No club acronyms or club names are allowed in the event title.

Calendar/_form: No club acronyms or club names are allowed in the event title. Probably done with JavaScript On Change.

Create a list of acronyms/names/name_versions that are not allowed in the Event title and your program can make sure that none of the items in the list are in the title.

Rework Permissions to allow multiple levels

Big Task, with two steps:

  1. Force the following to use ->hasPermission():

./backend$ grep -RnIi "$_SESSION['privilege']" .

./views/events/view.php:68:if ($model->e_type=='cio' && ($_SESSION['privilege']==3 || $_SESSION['privilege']==6 )) { } else { ?>
./views/events/_form.php:59:<?php switch ($_SESSION['privilege']) {
./views/events/_form.php:84:    if (($model->isNewRecord) && ($_SESSION['privilege']==8)) {
./views/accounts/signup.php:39:<?php if ($_SESSION['privilege']===1) {
./views/accounts/signup.php:60:<?php if($_SESSION['privilege']==1) { ?>
./views/accounts/view.php:22:           if(($_SESSION['privilege']>1) & ($model->privilege==1)) {} else {
./views/accounts/index.php:64:                                  if(!$model->id==0){ if(!$model->badge_number) { if($_SESSION['privilege']==1) {
./views/accounts/index.php:74:                                          if(($_SESSION['privilege']>1) & ($model->privilege==1)) { } else {
./views/accounts/_form.php:26:<?php if($_SESSION['privilege']==1) {
./views/work-credits/view.php:62:                                               if($_SESSION['privilege']<3) {
./views/layouts/main.php:135:    <?php if(isset($_SESSION['privilege'])) { ?>
./views/layouts/main.php:1515:<?php if(isset($_SESSION['privilege'])) { ?>
./controllers/SiteController.php:96:                                    $_SESSION['privilege']=$userArray->privilege;
./controllers/SiteController.php:101:                                   $_SESSION['privilege']=5;
./controllers/SiteController.php:212:           if ($_SESSION['privilege'] == 5) {$ReDir=false;} else {$ReDir=true;}
./controllers/AdminController.php:192:                  if(!isset($_SESSION['privilege'])) {
./controllers/AdminController.php:196:                          $_SESSION['privilege'] = $activeUser->privilege;
./controllers/AdminController.php:205:                  switch($_SESSION['privilege']){
./components/Menu.php:157:                              if ($_SESSION['privilege'] == 1) {
  1. Store user permission as array and deal with it accordingly.

Multiple identical Recurring Events

I can't explain this problem any other way. The Action Shooting Chair is trying to use the Calendar App and now we have multiple identical recurring events. Go look at the Recurring Event Tab. Sort on Facility and review Shooting Bay 2 recurring events for the event Outlaw Steel Challenge Match Set Up. The correct one goes from 0800 to 1700. I could easily delete the others but I wanted you to see this and try to figure out how one could create multiple recurring events that are the same.

When installing Composer lists packages are obsolite

Do we still use these packages can they be removed?

Composer Issues:
Package codeception/base is abandoned, you should avoid using it. No replacement was suggested.
Package paypal/rest-api-sdk-php is abandoned, you should avoid using it. No replacement was suggested.
Package phpoffice/phpexcel is abandoned, you should avoid using it. Use phpoffice/phpspreadsheet instead.

Infraction = Suspension?

Marc - email from RSO Lead... (only Class 4 violations s/b suspended);

Tom, in the last couple of weeks I have recorded a class 2 violation (I.C.3.d) that resulted in the BH's status being changed to Suspended. in both cases, Tia and Jennifer were able to change the status back to Approved.

I don't know why this is happening -- can you shed any light on this?

Jim
Range Safety Officer
Associated Gun Clubs of Baltimore, Inc.

Editing Store Stck prices Breaks the Real Badge App

'/sales/stock?page=2'

Clicking on the pen icon on this page breaks the app. Just try it and break it yourself to see the error.

I suppose this is not the way to update the prices. I was trying to update the half-year prices.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.