summaryrefslogtreecommitdiff
path: root/jimbrella
AgeCommit message (Collapse)Author
2021-10-31Add /admin/logs to admin tabs templateFrederick Yin
2021-10-31Implement ADMIN_MODIFY_DB logsFrederick Yin
When an admin requests /admin/umbrella/edit and the request succeeds, an ADMIN_MODIFY_DB log is kept. `Database.update` will keep track of the updated columns.
2021-10-31CsvTable keeps log when a row cannot be readFrederick Yin
Also, lockfile is unlocked even when app crashes.
2021-10-31AdminLog keeps log and skips when an entry cannot be readFrederick Yin
2021-10-31jimbrella.web keeps logFrederick Yin
2021-10-31Config: read from TOML fileFrederick Yin
2021-10-31Compat: list[dict] type hinting unsupported by 3.7Frederick Yin
2021-10-29Fix .admin_modify_db CSS bg colorFrederick Yin
2021-10-29Fix description format tokens in AdminLog.read()Frederick Yin
2021-10-29Admin logging in routineFrederick Yin
Also, path to test database is changed, and so are the arguments passed to db.give_back.
2021-10-29Change entry key names in AdminLogFrederick Yin
Because the module that calls it is no longer database, but routine.
2021-10-29Define TenantIdentityErrorFrederick Yin
2021-10-29Database does not keep admin log, checks returner identityFrederick Yin
2021-10-28Stylize /admin/logsFrederick Yin
2021-10-28Route for /admin/logsFrederick Yin
2021-10-28AdminLog: `read()` returns friendly logsFrederick Yin
2021-10-28Fix admin logging bug in DatabaseFrederick Yin
Database.give_back keeps log before umbrella data are wiped
2021-10-28Database keeps admin logFrederick Yin
2021-10-28Change arguments to AdminLog.logFrederick Yin
Several keys of a monolithic dict are now discrete args
2021-10-28AdminLog: _write is now called log and takes one entry onlyFrederick Yin
2021-10-28Make AdminLog._write less repetitiveFrederick Yin
2021-10-28Stylize auth pageFrederick Yin
2021-10-28Remove unused importsFrederick Yin
2021-10-27Admin console requires login to admin accountFrederick Yin
2021-10-27Reformat database.pyFrederick Yin
2021-10-27Define UsernameTakenErrorFrederick Yin
2021-10-27Register new usersFrederick Yin
2021-10-27Users: csv table for usersFrederick Yin
2021-10-27Implement CsvTable._appendFrederick Yin
2021-10-27Refactor: separate CSV table into new moduleFrederick Yin
Database is now subclass of CsvTable
2021-10-27Frontend: admin/umbrellas error messageFrederick Yin
2021-10-27Provide exception messagesFrederick Yin
UmbrellaNotFoundError: serial UmbrellaValueError: field
2021-10-27Database.update includes message in exceptionsFrederick Yin
2021-10-27Split umbrellas.html into desktop and mobile viewFrederick Yin
Because the difference is friggin massive
2021-10-27Separate Lockfile into new classFrederick Yin
2021-10-26Wrap static methods in Database in decoratorFrederick Yin
2021-10-25HTML fragment: admin is taken to the row to editFrederick Yin
2021-10-25Mobile view for database editFrederick Yin
2021-10-24Separate admin routes to a blueprintFrederick Yin
Because modularity
2021-10-24CSS fix for input fieldsFrederick Yin
2021-10-24Admin can now modify database from web consoleFrederick Yin
2021-10-24Routine: strip away tzinfo from datetimeFrederick Yin
2021-10-24One major, multiple minor changes to DatabaseFrederick 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-24Database.group_by_status lists all statusesFrederick 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-24Implement basic I/O of AdminLogFrederick Yin
2021-10-23Routine logging and test thereofFrederick Yin
2021-10-23Database high-level operations no longer require dateFrederick Yin
2021-10-22Reformat utils.pyFrederick Yin
2021-10-22Test process_overdueFrederick Yin
2021-10-22Mark overdue umbrellas in DatabaseFrederick Yin