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
1d0a60f283
added info about dependencies; expanded section with flask commands; added section about helpful tools for the project
2025-07-15 23:16:23 +02:00
be4e834f56
file was created while setting up Python environment within VSCodium
2025-07-15 23:15:09 +02:00
6e737c4103
these are all files of lesser importance
2025-07-15 23:14:07 +02:00
4b3bf9464b
removed a debug print statement
2025-07-15 23:13:21 +02:00
b9c2b044ff
added commect to explain what the script does
2025-07-15 23:13:00 +02:00
86f62b282b
now showing only the first 50 characters of field contents
2025-07-15 23:12:18 +02:00
7a64c07ded
moved dependency information to README.md; added file "requirements.txt" that was generated with pipreqs
2025-07-15 23:10:53 +02:00
1887cc406b
streamlined behavior of form modal on different events:
...
- enter key
- escape key
- click close button
- click submit button
- click cancel button
- click outside of modal
note: right now the corrections only affect genre.html; changes will need to be carried over to other templates
2025-06-03 11:24:34 +02:00
a170582ba7
added functionality:
...
- previously openend accordion tab now stays open when results change
- all occurrences of the search string in results are now marked, now just the first one
- and occurrence marking now honors user's choice whether to match case
2025-06-03 11:19:33 +02:00