Commit Graph

22 Commits

Author SHA1 Message Date
Keith Edmunds
3513c32a62 Speed increases, more typing, cleanup
Pull all playlist row info in one database query when loading a
playlist.

Fixup some type hints in models.

Comment out stackprinter calls - they mostly get in the way
interactively.
2023-10-15 19:04:58 +01:00
Keith Edmunds
ae87ac82ba Migrate model to SQLAlchemy 2.0 DeclarativeBase 2023-10-15 09:51:02 +01:00
Keith Edmunds
986257bef6 Flake8 and Black run on all files 2023-07-09 16:12:21 +01:00
Keith Edmunds
8dd13a2ba2 Log file that creates sessions 2023-03-08 20:07:07 +00:00
Keith Edmunds
77716005c7 Modify session logging 2023-02-25 19:40:15 +00:00
Keith Edmunds
7163a4c6e4 Re-enable session logging 2022-09-09 07:29:20 +01:00
Keith Edmunds
7d71e8ce64 WIP: clocks working 2022-08-12 21:25:59 +01:00
Keith Edmunds
7a14651bd7 Add function type hints. Section headers and note colours working 2022-08-05 21:52:17 +01:00
Keith Edmunds
ab47bb0ab4 SQLA2.0 playlist column headers display 2022-07-03 20:59:10 +01:00
Keith Edmunds
bef4507ef6 SQLA2.0 rewrote logging 2022-07-03 15:17:25 +01:00
Keith Edmunds
ff2f0d576c SQLA2.0 main window displays 2022-07-02 21:47:42 +01:00
Keith Edmunds
44e4e451ad Make session acquisition silent by default
Also suppress notification to stdout of database in use.
2022-06-10 08:44:56 +01:00
Keith Edmunds
e2af6dd7ac Remove erroneous type 2022-04-19 10:07:39 +01:00
Keith Edmunds
a4ad78cec3 Fix up Python type checking 2022-04-19 09:47:30 +01:00
Keith Edmunds
fd0d3e6e1f Move cron jobs to musicmuster.py 2022-04-18 14:53:57 +01:00
Keith Edmunds
0a3700e208 Correct production database credentials 2022-04-04 21:28:54 +01:00
Keith Edmunds
ebfdf98612 Polish typing, explicit returns to terminate context managers 2022-03-20 18:56:59 +00:00
Keith Edmunds
0d865f05ac Clean up dbconfig session handling 2022-03-19 23:24:18 +00:00
Keith Edmunds
75b814e26c Session acquisitiong logging 2022-03-19 20:30:14 +00:00
Keith Edmunds
a27dd7189a Fix tests 2022-03-14 20:13:14 +00:00
Keith Edmunds
a31718d2b9 Separate db config, testing session for pytest 2022-03-14 20:10:07 +00:00
Keith Edmunds
cf4e42358e First moves to separate db config 2022-03-14 20:09:38 +00:00