Commit Graph

8 Commits

Author SHA1 Message Date
Justin Ludwig 6ea2a00bfe Update SQLAlchemy compatibility and dependencies
- Added psycopg2-binary to requirements for PostgreSQL support.
- Refactored consumer.py to use joinedload with the correct syntax.
- Updated models.py to fix ForeignKey and Enum type definitions for
  better compatibility with current SQLAlchemy versions.

These changes ensure the application is compatible with the latest
SQLAlchemy practices and supports PostgreSQL databases.
2023-12-28 17:23:17 -08:00
aroberts6 eef0335ea5 using epub now, and fixed title of the books. 2022-10-21 23:12:53 -06:00
Jan Losinski fb65e2c877 Add option to ctreate the db
Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
2018-03-22 03:42:12 +01:00
Jan Losinski 8a9246114c Warn if token refresh fails
Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
2018-03-22 01:00:55 +01:00
Jan Losinski 8ea47aafa4 Add context based session.
Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
2018-03-21 23:50:01 +01:00
Jan Losinski 0f56408bc7 Move client credentials to the config.
Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
2018-03-21 20:14:15 +01:00
Jan Losinski e3743dd6da Add config and fix sesson handling.
Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
2018-03-21 07:23:02 +01:00
Jan Losinski 8b7821bcb0 Move all in its own package.
Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
2018-03-21 06:47:44 +01:00