Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-10-20 | Add page /admin/umbrellas | Frederick Yin | |
Lists all umbrellas in a table. | |||
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. | |||
2021-10-19 | Database lock | Frederick Yin | |
Is a lockfile named "$DATABASE_NAME.lock". `Database._write()` prevents race conditions by enforcing the lock, and waiting until a previous lock is released. | |||
2021-10-19 | Basic database operations | Frederick Yin | |
Define database format. Implement basic I/O operations and take_away / give_back methods. |