sharkbit / badgeapp Goto Github PK
View Code? Open in Web Editor NEWMembership and Calendar program for a Range. Allows tracking of guests and events. And a small merchant portal to buy badges and supplies.
License: MIT License
Membership and Calendar program for a Range. Allows tracking of guests and events. And a small merchant portal to buy badges and supplies.
License: MIT License
Please only allow $cioPermission to have "CIO Course" Event Status
Buildings, Trap Ranges, and Shooting Bays should automatically be closed when reserved.
A few items to note here, see image;
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.
He chose the Trap Room but the Range Status is Open and should automatically be Closed.
When creating a new event, please make the default Yes for Active
Fee Schedule was updated for Holster to $30 but the renewing/certification page is still pulling in $20.
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.
Add trash can to Action column to all Calendar Coordinators (not CIOs)
Weird thing it only created a single event in the calendar but listed double recurring events. I just deleted the extra recurring event.
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.
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.
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...
Please change $calendarPermission and $cioPermission to only have one option for Range Status and that would be Open.
I was going to be fancy and do a pull request, make the change myself, then request your verification...but I ran out of time today.
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.
Error flag pops up stating "No events will be created. Check your dates!"
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.
Change Delete dropdown menu to a Delete button
Ref #24 need to remove prices from 'Fee Schedule ' and rename button.
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.
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.
View/Guest/_form: Figure out an east way to make unpaid guest changed to paid. Maybe Dropdown box
Cookie “_identity-backend” will be soon rejected because it has the “sameSite” attribute set to “none” or an invalid value, without the “secure” attribute. To know more about the “sameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite
Maybe in File:
./backend/config/main.php:26: 'identityCookie' => ['name' => '_identity-backend', 'httpOnly' => true],
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.
Based on Priority, Yearly, Monthly , Weekly, Daily
Can we make it so that one event can use multiple ranges. Just like clubs?
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.
See new club #53; /clubs/index?sort=-club_id
/cal-setup/clubs
Should show the new club I created.
the back button needs to track history and then go back, not the sh*% we have now.
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.
Go to '/badges/index'
I'm logged in as B24.
Now, click on any badge number in the list. I only get B24 data. But B24 is an RSO and should have access to the badge data.
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...
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.
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.
Big Task, with two steps:
./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) {
It would be nice to allow the App to send emails to all RSOs, CIOs, Calendar Coordinators, etc...
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.
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.
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.
'/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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.