|
|
56520fc72d
|
prepared transition to new table "Ausgabe": modified DB schema; added ORM model, Flask views, HTML templates, nav link
|
2025-08-17 22:27:05 +02:00 |
|
|
|
fe054b3460
|
small addition
|
2025-08-17 14:54:37 +02:00 |
|
|
|
2bd5055fa2
|
Fixed a bug preventing multiselect initialisation
|
2025-08-17 13:10:54 +02:00 |
|
|
|
fb27f39276
|
added trailingslashes to GET routes
|
2025-08-14 22:46:34 +02:00 |
|
|
|
05d79eb5e8
|
fixed a bug
|
2025-08-14 22:42:36 +02:00 |
|
|
|
8c5fdf0de1
|
small changes
|
2025-08-14 22:42:30 +02:00 |
|
|
|
ca354063c7
|
small changes regarding the routes
|
2025-08-14 22:41:33 +02:00 |
|
|
|
25eac9bfb4
|
small changes
|
2025-08-14 21:57:57 +02:00 |
|
|
|
13218ea08b
|
updated all model declarations so that they represent the database to a T
|
2025-08-14 21:57:41 +02:00 |
|
|
|
dcb3afa425
|
removed an unnecessary f-string
|
2025-08-14 21:56:49 +02:00 |
|
|
|
6b15b1a320
|
fixed buggy quotation marks
|
2025-08-14 21:54:46 +02:00 |
|
|
|
0e3ae04e0c
|
fixed two bugs after renaming files
|
2025-07-28 22:48:56 +02:00 |
|
|
|
f4b0ec6045
|
switched handling of all simple tables (ID and one other column) to generic class-based view and template
|
2025-07-28 22:46:33 +02:00 |
|
|
|
f0a162461d
|
minor linting
|
2025-07-28 22:03:48 +02:00 |
|
|
|
c8d9ced324
|
some refactoring
|
2025-07-26 18:48:54 +02:00 |
|
|
|
4a41bc8efd
|
added SQL constraints to enforce data integrity; removed validation (which took place in SQLAlchemy, not the DB itself)
|
2025-07-26 18:48:09 +02:00 |
|
|
|
b1897948b1
|
added missing docstring
|
2025-07-26 18:39:53 +02:00 |
|
|
|
7cad11981e
|
refactored module to use class structure with a better separation between unit and integration tests; rewrote existing tests, added new ones
|
2025-07-26 18:39:24 +02:00 |
|
|
|
67259d689b
|
ficture _db now comes with a prepopulated Genre table, and _app has an app_context right away
|
2025-07-26 18:35:17 +02:00 |
|
|
|
653021c2ae
|
added error handling if updated record doesn't exist
|
2025-07-26 18:33:12 +02:00 |
|
|
|
e5a682155f
|
removed file
|
2025-07-25 12:31:21 +02:00 |
|
|
|
65cf19f2c4
|
minor bugfixes and impromvements
|
2025-07-25 12:25:06 +02:00 |
|
|
|
1adafc1fc7
|
minor improvements
|
2025-07-25 09:19:20 +02:00 |
|
|
|
b8edb958d3
|
Merge branch 'move_to_declarative'
|
2025-07-24 11:24:50 +02:00 |
|
|
|
eb61961aec
|
added wildcard .env files
|
2025-07-24 11:24:31 +02:00 |
|
|
|
ab97ef4b44
|
quick script to test stuff via flask shell
|
2025-07-24 10:49:26 +02:00 |
|
|
|
a7244942ed
|
extended and improved tests; unit tests now mock the DB, integration tests use an empty DB with test values that is reset for each test function
|
2025-07-24 10:49:01 +02:00 |
|
|
|
0522c5660e
|
models now validate that core fields are non-empty
|
2025-07-24 10:35:04 +02:00 |
|
|
|
5058ba133a
|
added safeguard against bad form data
|
2025-07-22 13:26:46 +02:00 |
|
|
|
9bbb646c51
|
added several uniqueness constraints
|
2025-07-22 13:25:02 +02:00 |
|
|
|
0cd7d1280e
|
linted some code
|
2025-07-19 15:06:32 +02:00 |
|
|
|
33dc5e14b5
|
linted code
|
2025-07-19 00:44:46 +02:00 |
|
|
|
67e13ffacd
|
changed names of previously protected functions
|
2025-07-19 00:28:21 +02:00 |
|
|
|
3dd08fb4c4
|
streamlined declarative mapping code, (re)added assoc. proxies, fixed bugs caused by the switch to declarative
|
2025-07-19 00:26:27 +02:00 |
|
|
|
091c977f03
|
fixed a bug
|
2025-07-18 23:35:05 +02:00 |
|
|
|
270085e424
|
simplified declarative mapping code, eliminated use of datatype classes like sqlalchemy.Text, thus eliminated a naming conflict between two classes named "Text"
|
2025-07-18 10:31:24 +02:00 |
|
|
|
4b951ebf7d
|
started migrating ORM code from DB reflection to declarative mapping
|
2025-07-17 23:55:34 +02:00 |
|
|
|
4517d0f557
|
added introductory section; improved Dependencies section
|
2025-07-17 21:23:18 +02:00 |
|
|
|
a64f7efa07
|
removed some debug code, improved comments
|
2025-07-17 21:21:21 +02:00 |
|
|
|
569e08e0ac
|
extended inforation about code generated with sqlacodegen
|
2025-07-17 11:08:22 +02:00 |
|
|
|
93198254f6
|
improved handling of empty DB; "tables,py" now contains verbatim code from sqlacodegen, eliminating the need for code reformatting
|
2025-07-17 09:45:23 +02:00 |
|
|
|
a607b8c4f3
|
first steps towards testing: added app fixture and first test function
|
2025-07-16 21:32:34 +02:00 |
|
|
|
dfe728fdc8
|
added functionality that creates tables (from code generated by sqlacodegen) inside the databse if it is empty when opened
|
2025-07-16 21:29:52 +02:00 |
|
|
|
2f29aa4ff6
|
split generated code into tables and declarative ORM classes
|
2025-07-16 21:26:04 +02:00 |
|
|
|
be55f16181
|
renamed file
|
2025-07-16 21:23:29 +02:00 |
|
|
|
c295651d83
|
make applying config values more robust
|
2025-07-16 21:21:41 +02:00 |
|
|
|
1111a35f3d
|
added info about configuring the app
|
2025-07-16 17:48:37 +02:00 |
|
|
|
6f3e53273d
|
changed how the app gets its config values
|
2025-07-16 17:21:14 +02:00 |
|
|
|
a767efb904
|
added ".vscode" directory and any ".env" file
|
2025-07-16 17:10:39 +02:00 |
|
|
|
047eb52448
|
added directory ".vscode"
|
2025-07-16 17:04:23 +02:00 |
|