Commit Graph

264 Commits

Author SHA1 Message Date
982a1fa8db Simplify the way javascript is loaded (we don't have that many scripts running) and use data attribute to instantiate grid and tables 2025-01-24 15:55:15 +01:00
623b205733 Add a custom search function to the tables capable of excluding some pills 2025-01-24 14:57:26 +01:00
30ea2ae567 Set checkboxes documentation 2025-01-24 14:56:07 +01:00
466e2e39d9 Reword unsetting external variables to avoid confusion on what it does 2025-01-24 12:32:57 +01:00
1685867494 Fix border around checkboxes depending if there are any displayed or not 2025-01-24 12:30:44 +01:00
c518c405c2 Use table.rebrickable rather than badge.rebrickable in the wishes table to be more consistent with the other tables 2025-01-24 12:04:50 +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
9ec8077be1 Documentation about database upgrade 2025-01-24 11:50:47 +01:00
41ee6df887 Cleanup any outside BK_ variables for the test-server.sh to avoid looking for bugs that do not exist... 2025-01-24 11:35:22 +01:00
ca741a25a3 Escape angled brackets outside of code blocks 2025-01-24 11:16:08 +01:00
8c279655ea Remove duplicated info from common errors, doc fixes 2025-01-24 11:13:27 +01:00
89fe0646a0 Complete the list of libs used as well as credit for the logo designer 2025-01-24 11:06:26 +01:00
d919f7b972 Add an organized documentation page 2025-01-24 11:06:04 +01:00
913ceb339e Remove <br> from blockquotes to accomodate Gitea markdown processing 2025-01-24 10:51:14 +01:00
42e42b9a1b Merge branch 'upstream' 2025-01-24 10:41:36 +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
4052ac00ad Ignore static "minifigures" folder from compose.yaml 2025-01-24 10:26:25 +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
ace4a06b6a Fixed formatting 2025-01-22 17:44:30 +01:00
631df49cd3 Merge pull request 'Add Rebrickable badge to wishlist page' (#46) from matthew/BrickTracker:add-rebrickable-link-to-wishlist into master
Reviewed-on: #46
2025-01-22 17:43:12 +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
f53c73268f Add Rebrickable badge to wishlist page 2025-01-21 13:43:55 -07: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
a857a43288 Clean unused not_from_env property. Every config has an environment variable to configure it 2025-01-20 15:23:10 +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