Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-10-28 | AdminLog: _write is now called log and takes one entry only | Frederick Yin | |
2021-10-28 | Make AdminLog._write less repetitive | Frederick Yin | |
2021-10-28 | Stylize auth page | Frederick Yin | |
2021-10-28 | Remove unused imports | Frederick Yin | |
2021-10-27 | Admin console requires login to admin account | Frederick Yin | |
2021-10-27 | Reformat database.py | Frederick Yin | |
2021-10-27 | Define UsernameTakenError | Frederick Yin | |
2021-10-27 | Register new users | Frederick Yin | |
2021-10-27 | Users: csv table for users | Frederick Yin | |
2021-10-27 | Implement CsvTable._append | Frederick Yin | |
2021-10-27 | Refactor: separate CSV table into new module | Frederick Yin | |
Database is now subclass of CsvTable | |||
2021-10-27 | Frontend: admin/umbrellas error message | Frederick Yin | |
2021-10-27 | Provide exception messages | Frederick Yin | |
UmbrellaNotFoundError: serial UmbrellaValueError: field | |||
2021-10-27 | Database.update includes message in exceptions | Frederick Yin | |
2021-10-27 | Split umbrellas.html into desktop and mobile view | Frederick Yin | |
Because the difference is friggin massive | |||
2021-10-27 | Separate Lockfile into new class | Frederick Yin | |
2021-10-26 | Wrap static methods in Database in decorator | Frederick Yin | |
2021-10-25 | HTML fragment: admin is taken to the row to edit | Frederick Yin | |
2021-10-25 | Mobile view for database edit | Frederick Yin | |
2021-10-24 | Separate admin routes to a blueprint | Frederick Yin | |
Because modularity | |||
2021-10-24 | CSS fix for input fields | Frederick Yin | |
2021-10-24 | Admin can now modify database from web console | Frederick Yin | |
2021-10-24 | Routine: strip away tzinfo from datetime | Frederick Yin | |
2021-10-24 | One major, multiple minor changes to Database | Frederick Yin | |
Major: - New update(umb) method as an interface to _update(umb), with convenience and safeguards. Minor: - New exception: UmbrellaValueError - All datetime objects are cast naive - Database._write(umbrellas) raises exception after performing recovery - human_datetime includes seconds in output | |||
2021-10-24 | Database.group_by_status lists all statuses | Frederick Yin | |
If there are no umbrellas that are overdue in the database, the behavior was to omit them from the returned dict. Now their values are []. Also, small comment fix. | |||
2021-10-24 | Implement basic I/O of AdminLog | Frederick Yin | |
2021-10-23 | Routine logging and test thereof | Frederick Yin | |
2021-10-23 | Database high-level operations no longer require date | Frederick Yin | |
2021-10-22 | Reformat utils.py | Frederick Yin | |
2021-10-22 | Test process_overdue | Frederick Yin | |
2021-10-22 | Mark overdue umbrellas in Database | Frederick Yin | |
2021-10-22 | UTC+8 timezone object | Frederick Yin | |
2021-10-22 | Tests: jForm mock data generator and routine tests | Frederick Yin | |
2021-10-22 | Routines, to be run at an interval | Frederick Yin | |
2021-10-22 | JForm: fixes, comments, datatype, return value | Frederick Yin | |
2021-10-22 | Reformat exceptions.py with black | Frederick Yin | |
2021-10-22 | Exposed database operations take argument "date" | Frederick Yin | |
Namely, Database.take_away and Database.give_back "date" is an instance of datetime.datatime | |||
2021-10-22 | Define application-specific exceptions | Frederick Yin | |
2021-10-22 | Terminology: rename "checkpoint" to "bookmark" | Frederick Yin | |
2021-10-22 | Mobile view for overdue table | Frederick Yin | |
This prevents banner and tile containers from overflowing to the left. | |||
2021-10-21 | Basic interfacing with jForm API | Frederick Yin | |
Retrieve unread answer sheets from jForm. | |||
2021-10-21 | Include licenses of dependencies | Frederick Yin | |
3-BSD for Flask MIT for user-agents | |||
2021-10-21 | Mobile view for /admin/umbrellas | Frederick Yin | |
2021-10-21 | Fix bug within human_timedelta | Frederick Yin | |
2021-10-20 | Frontend updates | Frederick Yin | |
I forgot what I exactly did | |||
2021-10-20 | Separate "overdue" from "lent" as a distinct status | Frederick Yin | |
2021-10-20 | Add page /admin/umbrellas | Frederick Yin | |
Lists all umbrellas in a table. | |||
2021-10-20 | Update frontend, is more informational and pretty | Frederick Yin | |
2021-10-20 | Adjust Flask server to new database methods | Frederick Yin | |
2021-10-20 | Move database utilities to database.py | Frederick Yin | |
It may not be a good idea to scatter database utilities around utils.py. With this in mind, I moved them to database.py as static methods under the class Database. |