Commit Graph

107 Commits

Author SHA1 Message Date
2a12889695 Merge add and bulk add templates 2025-01-31 15:45:28 +01:00
5aade60219 Missing quotes around SQL identifier 2025-01-31 15:29:32 +01:00
68fd7abf2d Use badge macros in the card header 2025-01-31 14:46:50 +01:00
e509e6b0bb Make the default collapsed state of grid filters configurable through a variable 2025-01-31 11:31:38 +01:00
3a6e1ac9c9 Fix admin status error 2025-01-30 16:54:22 +01:00
db0c6a2ff0 Move from_form function about name to the base metadata class 2025-01-30 16:38:11 +01:00
7b775e3db6 Remove metadata prefix, it's identical to kind 2025-01-30 16:35:26 +01:00
23a1e2efbd Metadata list 2025-01-30 16:23:47 +01:00
cd70fb28dc Rename checkboxes (too generic) to status (and some bug fixes) 2025-01-30 15:03:16 +01:00
26d4860bcc Don't rely on SQL files for migration patches as their existence is not guaranteed 2025-01-30 12:56:14 +01:00
6e0c4775d1 Remove the 404 code from post redirect as it will cause the browser to not redirect 2025-01-30 12:42:37 +01:00
4e88b33c1f Create a Metadata object as a base for checkboxes 2025-01-30 12:27:21 +01:00
a3cb409749 Rename checkox_error 2025-01-30 09:33:54 +01:00
3550d7a867 Rename database_error 2025-01-29 22:49:17 +01:00
8fdeb47c80 Parametrable error names 2025-01-29 22:44:08 +01:00
40142b7e62 Theme override nobody cares actually 2025-01-29 21:27:58 +01:00
c9da6a67d8 Fix variable type hint 2025-01-29 19:28:23 +01:00
0ad9cff7a0 Set theme override 2025-01-29 19:28:00 +01:00
5a45cb3549 Fix functions definition 2025-01-29 18:12:39 +01:00
066843fc3c url_for_missing should be part of BrickPart, not RebrickablePart 2025-01-29 17:59:59 +01:00
e5ab8d7758 Add missing @login_required for set deletion 2025-01-29 17:41:34 +01:00
1a53801955 Fix undefined id variable used when a checkbox does not exist 2025-01-29 17:35:15 +01:00
a97a542e68 Fix missing logic to handle empty string from dynamic input 2025-01-29 15:59:00 +01:00
fd479d40f9 Move dynamic input to BrickChanger 2025-01-29 15:58:41 +01:00
ead0b1f90d Add visually hidden label for dynamic input, move read-only logic in the macro 2025-01-29 15:57:19 +01:00
f32ea0b1b3 Display prints based on a part 2025-01-29 14:03:48 +01:00
75f730ae7f Display RGB color, transparency and prints for parts 2025-01-29 10:36:43 +01:00
8b5784bc9e Use Rebrickable URL for cosmetics if available 2025-01-29 09:04:09 +01:00
7eb87dc90c Remove leftover debug prints 2025-01-28 23:07:54 +01:00
b55999327b Add a refresh mode for sets 2025-01-28 23:07:12 +01:00
3d896c6d65 Add purchase location to the database 2025-01-28 21:10:14 +01:00
d541b1b351 Deduplicated parts and missing parts 2025-01-28 19:48:14 +01:00
0070780164 Garbage leftover from copy-paste 2025-01-28 14:19:26 +01:00
de2477afb0 Remove unused socket 2025-01-28 14:09:14 +01:00
872dfc0e2e Documentation touch up 2025-01-28 10:49:47 +01:00
e78a919072 Add extra fields to set for the future while we are refactoring it 2025-01-28 10:49:16 +01:00
5615ebf40c Update versions and changelog 2025-01-27 23:24:16 +01:00
cf6d5f43c0 Simplify fields name in the database 2025-01-27 23:19:42 +01:00
0beb1147b9 Allow more advanced migration action through a companion python file 2025-01-27 23:19:26 +01:00
5a99161e96 Add missing checkboxes counter alias 2025-01-27 23:19:26 +01:00
cbf2b5b582 Remove confusing reference to number for sets 2025-01-27 23:19:26 +01:00
1519f33e98 Deduplicate minifigures 2025-01-27 23:19:26 +01:00
ebf291b7b8 Rename load to from_set for clarity 2025-01-27 23:17:31 +01:00
29bb92ef93 Inject the socket only where necessary 2025-01-27 23:17:31 +01:00
f8ba0abbbe Provide decorator for socket actions, for repetitive tasks like checking if authenticated or ready for Rebrickable actions 2025-01-27 23:17:31 +01:00
579ec88629 Remove confusing reference to number for sets 2025-01-27 23:17:31 +01:00
9c925b56da Rename routes 2025-01-27 23:17:31 +01:00
5f847168f4 Remove unused insert_rebrickable 2025-01-27 23:17:31 +01:00
35208fec8a Rename download_rebrickable to insert_rebrickable and make it return if an insertion occured 2025-01-27 23:17:31 +01:00
fa44b31f51 Grey out legacy database tables in the admin 2025-01-27 23:17:31 +01:00