Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-10-31 | Implement ADMIN_MODIFY_DB logs | Frederick 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-31 | CsvTable keeps log when a row cannot be read | Frederick Yin | |
Also, lockfile is unlocked even when app crashes. | |||
2021-10-31 | AdminLog keeps log and skips when an entry cannot be read | Frederick Yin | |
2021-10-31 | jimbrella.web keeps log | Frederick Yin | |
2021-10-31 | Config: read from TOML file | Frederick Yin | |
2021-10-31 | Compat: list[dict] type hinting unsupported by 3.7 | Frederick Yin | |
2021-10-29 | Fix .admin_modify_db CSS bg color | Frederick Yin | |
2021-10-29 | Fix description format tokens in AdminLog.read() | Frederick Yin | |
2021-10-29 | Admin logging in routine | Frederick Yin | |
Also, path to test database is changed, and so are the arguments passed to db.give_back. | |||
2021-10-29 | Change entry key names in AdminLog | Frederick Yin | |
Because the module that calls it is no longer database, but routine. | |||
2021-10-29 | Define TenantIdentityError | Frederick Yin | |
2021-10-29 | Database does not keep admin log, checks returner identity | Frederick Yin | |
2021-10-28 | Stylize /admin/logs | Frederick Yin | |
2021-10-28 | Route for /admin/logs | Frederick Yin | |
2021-10-28 | AdminLog: `read()` returns friendly logs | Frederick Yin | |
2021-10-28 | Fix admin logging bug in Database | Frederick Yin | |
Database.give_back keeps log before umbrella data are wiped | |||
2021-10-28 | Database keeps admin log | Frederick Yin | |
2021-10-28 | Change arguments to AdminLog.log | Frederick Yin | |
Several keys of a monolithic dict are now discrete args | |||
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 | |