This repository has been archived by the owner on Mar 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…V of all registered lockers
…ng is non-functional for now)
…create -> delete to fix bugs
…eportedLockers and tests
…V of all registered lockers
…ng is non-functional for now)
…create -> delete to fix bugs
…ker-registration into form-validation
moved alert out of validate logic to improve tests
…V of all registered lockers
…ng is non-functional for now)
…create -> delete to fix bugs
…ng is non-functional for now)
…eportedLockers and tests
Somehow there are a lot of changes, but the only new ones are in admin and admin.test. Everything else has been commited in other PRs, so those are the only two files to check. |
hungry-yumyumman
approved these changes
Oct 13, 2023
edorableraf
added a commit
that referenced
this pull request
Dec 8, 2023
* fixed form building values * added search handler * added search test * fixed invalid query handling * renamed test suite * moved buildings to archive to prevent obselete tests from running * moved alert out of validate logic to improve tests * moved alert out of validate logic to improve tests * move alert to page * search handler redirect * update tests * added search handler * added search test * fixed invalid query handling * renamed test suite * move alert to page * search handler redirect * update tests * More admin functionality (#20) * admin interface: get locker counts, see reported lockers, download CSV of all registered lockers * added reset database button to interface * removed initDB functionality from admin interface (to ensure everything is non-functional for now) * moved buildings to archive to prevent obselete tests from running * removed demo files * archived building table and tests, refactored from drop -> create to create -> delete to fix bugs * removed buildings table from schema * added ReportedLocker type, refactored admin.tsx to use it, added getReportedLockers and tests * added clear users and registrations to improve test speed * fixed getRegistrations to return user name and email, improved tests * added LockerCounts admin tool * added tests for getLockerCounts * admin interface: get locker counts, see reported lockers, download CSV of all registered lockers * added reset database button to interface * removed initDB functionality from admin interface (to ensure everything is non-functional for now) * removed demo files * archived building table and tests, refactored from drop -> create to create -> delete to fix bugs * removed buildings table from schema * rebased admin-tools with main * added clear users and registrations to improve test speed * fixed getRegistrations to return user name and email, improved tests * added LockerCounts admin tool * added tests for getLockerCounts * cleaned admin function tests * solved merge conflicts * moved alert out of validate logic to improve tests * moved alert out of validate logic to improve tests * admin interface: get locker counts, see reported lockers, download CSV of all registered lockers * added reset database button to interface * removed initDB functionality from admin interface (to ensure everything is non-functional for now) * removed demo files * archived building table and tests, refactored from drop -> create to create -> delete to fix bugs * removed buildings table from schema * rebased admin-tools with main * added clear users and registrations to improve test speed * fixed getRegistrations to return user name and email, improved tests * added LockerCounts admin tool * added tests for getLockerCounts * cleaned admin function tests * added reset database button to interface * removed initDB functionality from admin interface (to ensure everything is non-functional for now) * added ReportedLocker type, refactored admin.tsx to use it, added getReportedLockers and tests * fixed getRegistrations to return user name and email, improved tests * added search handler * added search test * fixed invalid query handling * renamed test suite * move alert to page * search handler redirect * update tests * added search handler * added search test * renamed test suite * search handler redirect * update tests * trivial updates * update search to use post
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixed return type of getRegistrations and getReportedLockers to include user info instead of user ids, and improved associated tests.