Steve Sutton [Thu, 5 Oct 2017 18:58:13 +0000 (14:58 -0400)]
Adding notes to readme.
readme.md
Steve Sutton [Thu, 5 Oct 2017 18:43:21 +0000 (14:43 -0400)]
Bring in edit form for registrant
Not sure about this placement though. Might have to move it out.
Steve Sutton [Wed, 4 Oct 2017 20:26:09 +0000 (16:26 -0400)]
Turn the add new registrant view to registrantForm
This way we should be able to use it for edit and add.
Chuck Scott [Wed, 4 Oct 2017 14:46:08 +0000 (10:46 -0400)]
Commented out print_r for regEvent data on registration front-end page.
Chuck Scott [Tue, 3 Oct 2017 20:51:56 +0000 (16:51 -0400)]
Updated database to version 0.0.13 to get rid of some old fields.
Removed those fields from the related data classes.
Added information on available dates and times to the registration page on the front-end.
Now need to put in pop-up calendar for date selection for time_specific registrations.
Added functions to purge expired reg_time_pending entries and to update the quantities in the reg_time table.
Improved display of reg times in the event dashboard in admin.
Steve Sutton [Mon, 2 Oct 2017 20:02:12 +0000 (16:02 -0400)]
Some cleanup
Removing uneeded methods.
Steve Sutton [Mon, 2 Oct 2017 18:32:51 +0000 (14:32 -0400)]
Updating the registrations front and model
Pulling class data for the regEvent from the dataabstract now.
Chuck Scott [Mon, 2 Oct 2017 15:54:17 +0000 (11:54 -0400)]
Now trimming trailing whitespace on PHP files. Most of these files have only whitespace changes.
Updated getRegistrationCart() and checkRegistrationRequest() to now both optionally return a JSON or an array for the cart contents or return only a status flag.
Steve Sutton [Mon, 2 Oct 2017 15:50:47 +0000 (11:50 -0400)]
Logging in and logging out sets up the add me button now
Add me will now toggle correctly when logging in and out.
Steve Sutton [Fri, 29 Sep 2017 20:50:44 +0000 (16:50 -0400)]
Working on the register form
Currently looking at way to display the errors once they leave the email
field to show it's not a valid email address.
Chuck Scott [Fri, 29 Sep 2017 20:14:43 +0000 (16:14 -0400)]
Now have preliminary data displaying on cart page.
Added some comments and spacing in registrations page model.
Finished initial tests of cart validation. Still need to add total calculations.
Have cart page model now getting cartID from session.
Steve Sutton [Thu, 28 Sep 2017 20:00:17 +0000 (16:00 -0400)]
Form for adding new account
Register form.
Creates a new account.
Issues: not setting the password.
Steve Sutton [Wed, 27 Sep 2017 20:58:57 +0000 (16:58 -0400)]
Adding stuff for new registrant
This will be for a new account to be registered.
Steve Sutton [Wed, 27 Sep 2017 19:14:38 +0000 (15:14 -0400)]
Setting up the event reg page so it reloads registrants
If registrants are in the cart (loaded in session), then they'll output
back under the class they were registered in.
Chuck Scott [Tue, 26 Sep 2017 12:18:27 +0000 (08:18 -0400)]
Started updating the front/cart.php to have it grab and validate cart data.
Result of checRegistrationRequest() is essentially the same array as returned by getRegistrationCart() but will addition information inserted.
Initial comments are in the regCartSupport class on how cart will be validated and some code is in place.
Some additional debugging and fixes to admin reg setup for classes and rates and user interface updates.
Steve Sutton [Mon, 25 Sep 2017 19:50:06 +0000 (15:50 -0400)]
Update the ajax file for adding registrant.
Use account id for account if it can find it by email else it will
create an account and use the new id. For each table it will check for
existing entry and update that one.
Steve Sutton [Sun, 24 Sep 2017 18:53:42 +0000 (14:53 -0400)]
Login and Add New updates
Move the addNew method to the regClass View along with the events for
when the .add-new-registrant class is clicked.
Add Me button setup to only show when their logged in.
Steve Sutton [Fri, 22 Sep 2017 20:46:53 +0000 (16:46 -0400)]
Work on login and add self to registrant list.
Getting the login form working and setting up a model for the logged in
account which can be used to add your self as a registrant for the event
class.
Chuck Scott [Fri, 22 Sep 2017 13:24:21 +0000 (09:24 -0400)]
Fixed problem with use of incorrect event ID when creating a registration event.
Chuck Scott [Thu, 21 Sep 2017 21:16:50 +0000 (17:16 -0400)]
Added single function for collecting reg rate input data and testing the results.
Steve Sutton [Thu, 21 Sep 2017 20:49:47 +0000 (16:49 -0400)]
Removed index
For reg_request_registrant.
Steve Sutton [Thu, 21 Sep 2017 20:47:40 +0000 (16:47 -0400)]
removed account field
removing account index
Steve Sutton [Thu, 21 Sep 2017 20:46:13 +0000 (16:46 -0400)]
Remove index for account
Account field removed.
Steve Sutton [Thu, 21 Sep 2017 20:42:48 +0000 (16:42 -0400)]
Should be reg_time
Correcting the create db scripts
Chuck Scott [Thu, 21 Sep 2017 20:27:06 +0000 (16:27 -0400)]
Continuing saga of getting the admin registration levels and rates working.
Steve Sutton [Thu, 21 Sep 2017 20:24:19 +0000 (16:24 -0400)]
Work on registrant add delete
Can now add reg_request_registrant and delete them.
Chuck Scott [Thu, 21 Sep 2017 17:26:53 +0000 (13:26 -0400)]
Added menu, model, and view for reports. Nothing in there yet.
Have admin reg events levels and rates displaying, adding, editing, saving, and storing
Still some glitches in that page.
Steve Sutton [Thu, 21 Sep 2017 17:07:05 +0000 (13:07 -0400)]
Working on the reg_request
Creating a reg_request so I can add the registrant.
Adding now model and view for the registrant.
Chuck Scott [Thu, 21 Sep 2017 00:21:02 +0000 (20:21 -0400)]
Now have Rates inserting into the database but not showing up when page is reloaded.
Steve Sutton [Wed, 20 Sep 2017 20:45:51 +0000 (16:45 -0400)]
Work on RegRequest and cart
Working on setting up data into the database for reg_class and reg_rate
to bring them into the front end with the model. Getting different type
of data for the pricing. Remove extra $ from the template.
Starting working on the cart. I'll need to create new model for the
registrants.
Chuck Scott [Wed, 20 Sep 2017 17:04:55 +0000 (13:04 -0400)]
Adding, editing, and deleting reg_class records now works in admin.
Steve Sutton [Wed, 20 Sep 2017 00:05:53 +0000 (20:05 -0400)]
Adding ajax class for handling save for the request.
Setting up an ajax class following Chuck setup for the admin one.
Steve Sutton [Tue, 19 Sep 2017 20:59:17 +0000 (16:59 -0400)]
Setting up cart and request models.
Also worked on placing the request model into cart.
Chuck Scott [Tue, 19 Sep 2017 19:21:56 +0000 (15:21 -0400)]
More work on adding reg classes and rates to a reg event (admin).
Added createRegistrationCart() function to regCartSupport.php
Chuck Scott [Tue, 19 Sep 2017 17:30:39 +0000 (13:30 -0400)]
Changing AJAX processing for Backbone from using _method (http method) to specifying an "option" along with the data array.
Chuck Scott [Tue, 19 Sep 2017 17:07:16 +0000 (13:07 -0400)]
Added valid action for ajax/regFront.php.
Chuck Scott [Tue, 19 Sep 2017 17:04:31 +0000 (13:04 -0400)]
More updates for admin registrations interface via backbone.
Added AJAX processrs for front and admin AJAX calls from backbone.
Added sample regRequestEvent.php AJAX method for handling backbone event requests.
Steve Sutton [Mon, 18 Sep 2017 20:47:34 +0000 (16:47 -0400)]
Front end work for accounts.
working on getting the accounts adding and deleting. When you refresh
the page the accounts are there and they update the price total for the
class level. Updated some of the functions for the localStorage.
Steve Sutton [Sun, 17 Sep 2017 23:51:34 +0000 (19:51 -0400)]
Working on redo of sync functions for Accounts collection.
Creating function for syncing the collection to the localStorage.
Steve Sutton [Fri, 15 Sep 2017 20:39:36 +0000 (16:39 -0400)]
Working on front end accounts.
They currently get added to the collection of the regClass. But they
don't have the correct localStorage setup. If you put in same email for
two classes then it overrides the last localStorage for that model.
Chuck Scott [Fri, 15 Sep 2017 20:06:21 +0000 (16:06 -0400)]
More work on adding rates to classes (registration levels).
Still some problems when clicking the "add" button after providing initial text for adding a rate or level.
Chuck Scott [Fri, 15 Sep 2017 15:59:37 +0000 (11:59 -0400)]
Adding edit to admin edit registration levels and charges
Steve Sutton [Thu, 14 Sep 2017 20:45:44 +0000 (16:45 -0400)]
Front end work for backbone.js
Getting the view and model to update and render when the collection of
accounts get added to by the view for the regClass.
Chuck Scott [Thu, 14 Sep 2017 20:02:57 +0000 (16:02 -0400)]
Now have events.php generating JSONs for backbone that do not use associative arrays for the time, classe, and reg_rate arrays.
Chuck Scott [Tue, 12 Sep 2017 18:39:43 +0000 (14:39 -0400)]
Moved add level button to ID from class.
Updated registrations admin.css to improve registrations levels & charges setup.
Changed eventEditLevels.html for improved layout.
Steve Sutton [Tue, 12 Sep 2017 18:15:54 +0000 (14:15 -0400)]
Working on the add class to admin reg level
It is adding the class level into the regEvent classes collection. I
have it setup for localStorage right now.
Steve Sutton [Mon, 11 Sep 2017 20:17:01 +0000 (16:17 -0400)]
Separate front and admin js files into two min ones.
All admin scripts now in adminRegApp.js.
All front scripts now in frontRegApp.js.
Updating enqueue for the scripts.
Update gulp file to only watch for admin folder for the admin file, and
front files for the front one.
Working on the edit class in admin.
Chuck Scott [Mon, 11 Sep 2017 17:23:03 +0000 (13:23 -0400)]
Standardized appearance of pages in the Registrations admin areas.
Changed First and Last name for Accounts to be required.
Chuck Scott [Mon, 11 Sep 2017 16:19:29 +0000 (12:19 -0400)]
Added description fields to reg_time and reg_event tables for optional registration related descriptions.
Added JSON output from get cart method in regCartSupport class.
Steve Sutton [Fri, 8 Sep 2017 20:49:05 +0000 (16:49 -0400)]
Adding styles for admin side start for editing classes.
Adding buttons for the add level delete level.
Adding buttons for the add and delete reg rates.
Working on the template for the add level.
Steve Sutton [Fri, 8 Sep 2017 18:50:24 +0000 (14:50 -0400)]
More re-organizing the javascript files.
Setting up a global eventReg instead of trying to use
app.Models.eventReg.
Steve Sutton [Fri, 8 Sep 2017 16:59:55 +0000 (12:59 -0400)]
Reorganizing the js files.
Setting up with admin and front directories.
Chuck Scott [Fri, 8 Sep 2017 14:30:35 +0000 (10:30 -0400)]
Removed copies of old admin registrations models that are no longer in use.
Cleaned up a number of invalid parameter references in both models and views for registrations admin.
Chuck Scott [Thu, 7 Sep 2017 18:54:48 +0000 (14:54 -0400)]
More reorganization of registrations admin models and views.
Removed old view files.
Removed saved versions of models.
Minor changes to hawe the registrations admin menus show.
Chuck Scott [Wed, 6 Sep 2017 21:04:01 +0000 (17:04 -0400)]
Adding more content to reigstration request dashboard.
Chuck Scott [Wed, 6 Sep 2017 19:14:20 +0000 (15:14 -0400)]
Removed references to admin debug code.
Added more functionality in registrations admin for account, requests, and events.
Chuck Scott [Tue, 5 Sep 2017 20:12:29 +0000 (16:12 -0400)]
Minor typo in text on CartSupport class.
More work on registrations accounts admin pages including added selected account dashboard page and better organization of account admin actions.
Steve Sutton [Fri, 1 Sep 2017 20:56:57 +0000 (16:56 -0400)]
Adding another regClass to dummy array for output testing
Now I have more than one regClass outputting.
Steve Sutton [Fri, 1 Sep 2017 18:47:39 +0000 (14:47 -0400)]
Have it working now with more than one Reg Class.
The regEvent now works with more than one RegClass.
Steve Sutton [Thu, 31 Aug 2017 19:48:15 +0000 (15:48 -0400)]
Remove old ajax file
This is now in the account.php
Steve Sutton [Thu, 31 Aug 2017 19:38:29 +0000 (15:38 -0400)]
Re-organize ajax files
Working on the ajax files. Calling it account.php and having it response
to any ajax request that deals with the account.
Steve Sutton [Thu, 31 Aug 2017 12:50:15 +0000 (08:50 -0400)]
Updating Chucks docs with the new ones Chuck sent.
Sent in email on Aug 30, 2017
Steve Sutton [Tue, 29 Aug 2017 20:58:23 +0000 (16:58 -0400)]
Update for gulpfile and login view
comment out login success where it was trying to remove this.
move plumber up in pipe chain.
Steve Sutton [Tue, 29 Aug 2017 19:47:27 +0000 (15:47 -0400)]
Create login page
Ajax returns if good login or not.
Setup .nvmrc file so you can set node version easily.
Chuck Scott [Tue, 29 Aug 2017 17:55:52 +0000 (13:55 -0400)]
Added validated and validation_code to dataAccount data class
Chuck Scott [Tue, 29 Aug 2017 17:46:26 +0000 (13:46 -0400)]
Updated database to include validated and validation_code fields to account table.
Removed tabs from top of registrations admin pages.
Added tabs to top of event registration edit page to permit separate tabs of things that will be updated.
Chuck Scott [Mon, 28 Aug 2017 20:05:17 +0000 (16:05 -0400)]
Fixed problem with incorrectly sending array rather than a simple value to to wpdb->insert
Chuck Scott [Mon, 28 Aug 2017 14:28:13 +0000 (10:28 -0400)]
Added reg_time_pending table to track hold times for registrant slots while in carts that have not checked out.
Started adding registration times calendar to admin reg event dashboard.
Steve Sutton [Sun, 27 Aug 2017 19:56:19 +0000 (15:56 -0400)]
Organizing the js app more.
For the main app object adding Models, Collections and Views.
Updating the files in js so they'll all be put into one of these.
Steve Sutton [Sun, 27 Aug 2017 17:09:09 +0000 (13:09 -0400)]
Updating gulpfile.
Adding jshint and plumber to have a lint checker for the js files and
plumber is to keep the gulp task running even if the jshint runs into an
error.
Steve Sutton [Sun, 27 Aug 2017 16:22:35 +0000 (12:22 -0400)]
Adding gulp to combine and minify all js files for the app.
Adding gulp to the registration project. The default task will combine
and uglify the js files and then watch the js folders models collections
and views for any file changes.
Steve Sutton [Sun, 27 Aug 2017 15:20:10 +0000 (11:20 -0400)]
Adding login form view and model.
Setting up model/view for the login form.
Steve Sutton [Fri, 25 Aug 2017 19:46:13 +0000 (15:46 -0400)]
Restructuring the js files.
I have the regEvent outputting it's model (bootstrapped) to the view.
I have the regClass outputting it's model (bootstrapped) to it's view.
I'm working on getting the Accounts to save to localStorage and keep one
unique id for it's collection.
Steve Sutton [Thu, 24 Aug 2017 20:55:15 +0000 (16:55 -0400)]
More redoing the front end application in backbone.js
I now have json data going into the view file and it sets up a model for
RegEvent and collection of RegClasses. I'll need to work on setting up
the view files for the main regEvent next and apply the collection
also. It is possible with backbone.js to have nested collections and
models.
Steve Sutton [Thu, 24 Aug 2017 16:08:42 +0000 (12:08 -0400)]
Getting ready to organize again.
Saving these changes as this part is working. Will be re-organizing the
files for each needed model, collection and view for the app.
Chuck Scott [Thu, 24 Aug 2017 20:02:27 +0000 (16:02 -0400)]
Fixed invalid class name after renaming front-end registrations support class to regCartSupport.php
Chuck Scott [Thu, 24 Aug 2017 19:57:23 +0000 (15:57 -0400)]
Added time_specific field to reg_event table - database 0.0.9.
Added code to return recurrence and times data from Events via glm-member-db-events-get-event-times filter.
Added time_specific field to reg event edit.
Steve Sutton [Wed, 23 Aug 2017 20:11:30 +0000 (16:11 -0400)]
Rename main app view file.
Seemed redundant to have view in the file name when it is in the folder
nave as well. renaming to app.js
Steve Sutton [Wed, 23 Aug 2017 20:09:11 +0000 (16:09 -0400)]
Remove extra part.
This part is no longer used. Was just dummy data.
Steve Sutton [Wed, 23 Aug 2017 20:07:57 +0000 (16:07 -0400)]
Organizing view files for Event reg front end.
Renaming the eventRegistrantList view file to appView.
Steve Sutton [Wed, 23 Aug 2017 19:48:59 +0000 (15:48 -0400)]
More backbone updates for front end
Adding new registrant form inside the class level part. You can add
registrants and delete them and edit them.
Steve Sutton [Tue, 22 Aug 2017 20:49:56 +0000 (16:49 -0400)]
Working on redo for backbone models and views.
Creating new model for registrant. Adding edit method to the view to
allow editing of the registrant name and email.
Chuck Scott [Tue, 22 Aug 2017 19:04:32 +0000 (15:04 -0400)]
Getting ready to do checkout processing.
Chuck Scott [Tue, 22 Aug 2017 18:02:05 +0000 (14:02 -0400)]
Added method to dataRegEvent class to collect all data on setup of a single event
Fixed naming error for dataRegRate
Minor edit to accounts.
Changed call for getting evnet data for the registrations event dashboard to use the new method
Steve Sutton [Tue, 22 Aug 2017 13:03:28 +0000 (09:03 -0400)]
Redo how the backbone model will be done.
Starting the page out with the smarty template rendering the view so
they page load will happen fast.
Steve Sutton [Tue, 22 Aug 2017 10:04:25 +0000 (06:04 -0400)]
delete swp file
Steve Sutton [Tue, 22 Aug 2017 10:02:52 +0000 (06:02 -0400)]
Organizing the backbone js files.
Creating sub folders for collections models views.
Steve Sutton [Mon, 21 Aug 2017 20:52:42 +0000 (16:52 -0400)]
Push changes for event test array.
Using Chuck's test event_setup array to feed the registration page.
Steve Sutton [Mon, 21 Aug 2017 20:37:31 +0000 (16:37 -0400)]
Adding initial part of backbone.js into model and view.
Setting up initial backbone models and views.
I'm going to go through this very soon and organize the js files.
Chuck Scott [Mon, 21 Aug 2017 20:36:29 +0000 (16:36 -0400)]
Added event_setup.php to provide a sample structure like what will be provided to the front-end step 1 (registration).
Updated some commentary in the database related to these fields.
Chuck Scott [Mon, 21 Aug 2017 18:20:56 +0000 (14:20 -0400)]
Now have registration event Alpha links and text search working on Registrations list.
Chuck Scott [Mon, 21 Aug 2017 17:00:40 +0000 (13:00 -0400)]
Added post processing to dataRegEvent.php to optionally ask for more data from Events add-on for each reg event.
Added flag to admin reg events list to request the added data.
Steve Sutton [Mon, 21 Aug 2017 14:47:44 +0000 (10:47 -0400)]
Push updates for list front model.
This is for Chuck to look at.
Chuck Scott [Mon, 21 Aug 2017 14:43:49 +0000 (10:43 -0400)]
Fixed bad parameter references when listing and editing registration events.
Steve Sutton [Fri, 18 Aug 2017 12:59:10 +0000 (08:59 -0400)]
Updates for the Select (rename to registration)
Renaming the select model and view to registration. Setting up the list
view to list out the events. Then the registration page will show just
one event.
Steve Sutton [Thu, 17 Aug 2017 17:36:55 +0000 (13:36 -0400)]
Update the link from the event list page.
Correcting the link for add reg or registration from event list.
Chuck Scott [Thu, 17 Aug 2017 14:29:26 +0000 (10:29 -0400)]
More backend functionality working now. Have reg_event records being populated and can edit.
Chuck Scott [Mon, 14 Aug 2017 15:49:42 +0000 (11:49 -0400)]
Interim update during development of Event/Regstrations linking code.
Reorcanization of front-end models.
Steve Sutton [Wed, 26 Jul 2017 19:11:33 +0000 (15:11 -0400)]
Working more on the view file for the select shortcode.
Setting up array in model to pass to the view file for the output.
Steve Sutton [Fri, 21 Jul 2017 18:08:16 +0000 (14:08 -0400)]
Adding some very roughed in markup for the view file.
This is for the Event Registration for Step 1