Commit Graph

45 Commits

Author SHA1 Message Date
5ebdf89c85 Bump version to 1.1.0 2025-01-24 15:59:45 +01:00
d22ca2c7cb Fix RebrickableSet not using url in database for sets 2025-01-24 12:04:15 +01:00
6c342ec3f3 Remove debug print from BrickSQLMigration 2025-01-24 11:52:46 +01:00
eaa14d2341 Remove unused SQL initialize function 2025-01-24 10:37:03 +01:00
c075b525a8 Unquoted SQL identifiers 2025-01-24 10:36:46 +01:00
d063062780 Separate bricktracker sets from rebrickable sets (dedup), introduce custom checkboxes 2025-01-24 10:36:24 +01:00
57d9f167a5 Allow exception_handler to pass kwargs to the wrapped function 2025-01-24 10:27:06 +01:00
da2746d2a0 More cleanup of unquoted or misquoted SQL identifiers 2025-01-24 10:25:40 +01:00
9029f6d423 SQLite debug messages 2025-01-24 10:23:29 +01:00
4e1bf08139 Move then select-then-ingest logic into BrickRecord and allow context to be passed to select() 2025-01-24 10:21:05 +01:00
a01d38ee7a Allow BrickRecord insert to force not being defered, as well as overriding its query 2025-01-24 10:11:15 +01:00
b73bd6e99d Fix BrickRecordFields failing on KeyError instead of AttributeError when used with hasattr() 2025-01-24 10:09:50 +01:00
798226932f Split the uncomfortably big admin view into smaller admin views 2025-01-24 10:09:12 +01:00
e2bcd61ace Take a more generic approach at counting all the tables in the database file 2025-01-24 10:03:53 +01:00
5ea9240f34 Make the admin database counters failsafe 2025-01-23 08:59:40 +01:00
3223dd0edc More function definition fixes 2025-01-23 08:58:57 +01:00
a84493908a Make sure number and version are integer in instruction number detection 2025-01-23 08:45:58 +01:00
71af15b16d Add missing whislist database counter in the admin 2025-01-23 08:39:14 +01:00
c977217f48 Fix functions definition with stricter positional or keyword restrictions 2025-01-22 16:36:35 +01:00
0e977fd01d Inject the database version when downloading it 2025-01-22 11:53:11 +01:00
b475bfe8d4 Rework upgrade needed and check upgrade too far as an error for the database 2025-01-22 11:50:31 +01:00
a3e50e9b3c Fix indent 2025-01-21 17:25:49 +01:00
2908e80293 Remove debug prints 2025-01-21 17:25:36 +01:00
86fea8cd7d Cosmetics 2025-01-21 11:28:07 +01:00
132892ab0b Fix wrong set_version extraction 2025-01-21 11:27:50 +01:00
14bc9cef26 Use constats for SQL g. variables to avoid any typo 2025-01-21 11:27:27 +01:00
a6ab53efa7 Create the app outside of the global context of app.py to avoid any interference 2025-01-21 11:26:42 +01:00
1b823b158b Remove unused count_none query 2025-01-20 19:39:30 +01:00
ebe0585a40 Quote SQL identifiers as best practice and to avoid any problem in the future 2025-01-20 19:39:12 +01:00
5e99371b39 Incremental forward upgrades of the database 2025-01-20 17:43:15 +01:00
c6e5a6a2d9 Change the way the database counters are displayed to easiliy accomodate for more tables 2025-01-20 16:36:31 +01:00
e232e2ab7f Don't store complex objects in Flash config that could mask existing config items, rather store the values and handle the actual list of conf differently 2025-01-20 15:20:07 +01:00
0420af5f95 Add missing order options for most of the new queries 2025-01-18 23:13:36 +01:00
6b62a1f89b Do not show the login page if already logged in 2025-01-18 21:02:43 +01:00
7b682e5859 Give info about the environment variable name to use when a variable is missing 2025-01-18 17:57:18 +01:00
05484f6148 Refactor nil image code, and add a built-in fix for missing nil images 2025-01-17 18:08:15 +01:00
0d9276f639 Built-in fix for 'None' entries in the missing table 2025-01-17 17:19:31 +01:00
53b406f722 Add the path that 404'd in the log line 2025-01-17 16:30:22 +01:00
7999572cf1 Fix missing 'missing' and 'quantity' badges for minifigure in a part card 2025-01-17 16:28:43 +01:00
463e00f3fe Fix part counts not taking into account the quantity of minifigures 2025-01-17 15:35:11 +01:00
db9dbfae54 De-verbosify some SQLite debug 2025-01-17 15:34:49 +01:00
e2617daa40 Fix bricklink and rebrickable links trying to cast lower() on an int 2025-01-17 15:08:16 +01:00
50ebc3877c Fix the open_database logic in the admin 2025-01-17 14:38:18 +01:00
32050acabc Remove login.is_readonly() 2025-01-17 14:36:48 +01:00
6477be00b6 Massive rewrite 2025-01-17 11:03:00 +01:00