Commit Graph

166 Commits

Author SHA1 Message Date
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
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
d09c81d65e fixed a bug 2025-06-03 10:54:23 +02:00
d2dba5b815 removed unused stylesheer 2025-06-03 10:53:41 +02:00
6d40c1254a implemented a simple form data loss warning when the user leaves a page (except on pressing an OK button under the form) 2025-06-02 17:22:41 +02:00
f0b2eb8b0f removed a debug statement 2025-06-02 17:19:40 +02:00
a8f2073ae1 minor improvements 2025-06-02 17:19:24 +02:00
0bc90fe2b0 changed placeholder icon, added yes/no icons 2025-06-02 17:18:58 +02:00
b08fec8593 removed a debug statement 2025-06-02 10:41:15 +02:00
97c36e6da6 removed horizontal padding from <mark> element 2025-06-01 19:54:42 +02:00
371f4a41f3 changed site subtitle 2025-06-01 19:54:22 +02:00
69d8adf436 renamed file 2025-06-01 19:54:11 +02:00
35e9e057e7 added image preview functionality to werk and titelbild 2025-06-01 19:50:25 +02:00
f84d24243e moved Titelbild management to new page and new views 2025-06-01 13:01:44 +02:00
6c17b95ac2 fixed a bug where every class would say it was a Titelbild 2025-06-01 12:43:18 +02:00
dd1fedaba9 added max content size 2025-06-01 12:42:41 +02:00
cc39c2216b modified form method and close button attributes 2025-05-28 22:16:59 +02:00
12fff63715 minor changes 2025-05-28 22:09:03 +02:00
bcf8fa5d66 built custom dropdown field to select a titelbild from the database 2025-05-28 20:58:47 +02:00
edb19bde80 added a jinja helper function for displaying file sizes 2025-05-27 18:30:43 +02:00
bf9573ba60 changed locations for static .js/.css files 2025-05-27 18:30:02 +02:00