AKCCrating_rv00 -- Files from AKC Nationals 2016 Crating AKCCrating_rv01 -- Updated to reflect AKC Invitationals 2016 AKCCrating_rv02 -- Updated index.html to reflect AKC Invitationals Made index.html a dummy so users could not log in index_real.html is the real login screen so we can continue to test This is the baseline against which Steve is taking his screenshots AKCCrating_rv03 Modify crate selection to allow user to choose multiple spaces based on AddSpace, ignoring Giant flag. This is a checkpoint at 2016/09/22 1920 before starting to remove ability to reassign dogs AKCCrating_rv04 Allowing exhibitor to reassign a dog to another space has become cumbersome Per Steve, that capability will be removed. AssignSpace.php -- remove code to remove existing assignments for any dogs GetSpaceStatus.php -- turn off enforcement of hold timer HoldSpace.php -- turn off enforcement of hold timer CratingRoutines.js -- remove RequestAssignDoubleSpace Dropdown.js -- Adjusted the formula for deciding to msg exhibitor that dog can have additional spaces EDHkeys.js -- converted gEDHAssignedCountArray and gEDHAddSpaceArray to numbers (they were text before) AKCCrating_rv05 The maps were not correct. Steve sent updated maps. AKCCratingUtility GenerateSectionA Updated to match corrected map GenerateSectionB Updated to match corrected map and correct ArrayIndex GenerateSectionC Updated to use correct ArrayIndex insertSectionA.py Regenerated insertSectionB.py Regenerated insertSectionC.py Regenerated SectionA.html Regenerated SectionB.html Regenerated SectionC.html Regenerated Added a new SectionD with a single column of 30 spaces insertSectionD.py Created SectionD.html Regenerated Moved html files and Insert files to Arvixe Ran the insert files Verified arrayindices Verified could assign space in section D Updated instruction.html, DisplayUserSpaces.php Changed sort order in RetrieveEDHKeys.php (ORDER BY EDHValue) AKCCrating_rv06 Exhibitors do not like sort order in DisplaySpacesSelected It is by space number (CA12, CB12, CC12) and sort by row letter would be better (CA11, CA12, CA13) No easy way to change this. However, this entire display table is built in initializeSpaceTable and we could change the order there instead of building is SpaceDogRowArray order, create another array with the spaceId's in the desired order and then build in that order. AKCCrating_rv07 Allow system to list all assigned spaces, not just those assigned in this session Actual problem may have been that the list of assigned spaces was not picking up Section 4 (section Dx) The issue of displaying only dogs assigned in current session is in the display spaces selected Add routines to test sending mail from Arvixe. Copied PhpMailer2.0 to root Created mail account in Arvixe Reporter@akcagilityresults.com password Big5Dog Attempted to follow Arvixe instructions on sending mail from a php routine. Utter fail. Told me to setup SMTP mail Told me SMTP mail could be set up only through remote management Followed blog post on how to enable remote management. Utter fail. System responded "remote management enabled" but did not give connection details Their instruction said user name had to be "name+domain" with a comment "Yes, that is a plus sign" Finally changed the + to the usual @ and it just worked. Bottom line, I can now send mail through smtp Modified/Added routines: TestArvixeMail.php CratingRoutines.js line 37, corrected error getStatus was not getStatus(). Apparently php wasn't troubled by it PopulateDisplays.js found and corrected one place where AssignSpacesButton could be set to "inline" DisplayRoutines.js found and corrected four places where AssignSpacesButton could be set to "inline" changed test at line 57 to remove requirement that assignment be in current session but then changed it back. There are two issues: One: if requestor uses caps at login to a second section, but lower case originally, system will not think it is same requestor Two: Even if the caps/lower case match, the EDH, etc is set only for current session My suggestion would be to show only dogs that are currently selected but not assigned AKCCrating_rv08 2016/10/14 Develop and integrate ability to email list of assigned spaces to an arbitrary address On Arvixe created new folder Crating_Devel to use for development and testing Set global variable gTargetXmlHttpAddressBase to point to Crating_Devel rather than crating Modules affected: EmailRoutines.js New module. Contains javascript routines associated with sending email EmailAssignedSpaces.php New module. Processes request to send email. Includes validity tests and sends status message back to exhibitor DisplayUserSpaces.php Added two side by side divs. Left side has the existing display of assigned spaces, right side has input and control button for exhibitor to request an email GlobalVariables.js Was changed in the development environment to point to Crating_Devel rather than crating. Not changed in live code Messaging.js Added function to display status of sending email TopPage.php Added EmailRoutines.js to list of javascript files TestArvixeMail.php Removed DisplaySelections.html Added Crating D to instructions AKCCrating_rv09 2016/10/15 Allow the display selections screen to also show all dogs assigned to the current requestor Currently it displays only assignments made during the current session. This is a holdover from earlier versions Exhibitors want to see all spaces they have ever assigned. This requires removing the test for current session, and also compensating for problem that exhibitors may log on once as lower case and another time with upper case. Modules affected CheckInput.php Convert user name to all upper case before storing so requestor entries in database will always be upper case per smh CratingRoutines.js HandleHoldSpaceRequest: Force gRequestorId to upper case DisplayRoutines.js InitializeSpaceTable: Remove condition requiring space to have been assigned in this session AddSpaceLine: Set PIN display to **** if space is assigned EDHKeys.js Add indexEDHArray function to return local index of entry with specified EDHKey SpaceDogRowArray.js Convert requestorId to upper case wherever required RefreshSpaceDogArray: set SpaceDogClass values for dogs assigned to this requestor 2016/10/23 Enhance the email assigned spaces function by clearing the email address field and displaying a message just below that field so exhibitors know the message has been sent without looking at the Message Area Modules affecteed DisplayUsersSpaces.php Add message area under email address field Add onkeyup to input text to clear message when user starts to input another email address EmailRoutines.js Clear email address space when response received from server after sending message Messaging.js Add code to put the message just below the email address input field Add function to clear that message under the email address input field SpaceDogRowArray.js Commented out console.log message associated with the display assigned spaces mod