Commit Graph

121 Commits

Author SHA1 Message Date
8ea6a3d003 Remove useless format() 2025-02-03 16:03:21 +01:00
53d1603e3e Simplify the instantiation of metadata list 2025-02-03 12:25:42 +01:00
d0d1e53acc Fix set storages and purchase locations to be normal metadata 2025-02-03 11:03:54 +01:00
4cf91a6edd Compute and display number of parts for minifigures 2025-02-03 10:48:19 +01:00
34408a1bff Display same parts using a different color 2025-02-03 10:10:06 +01:00
eac9fc1793 Allow hiding the damaged and missing columns from the parts table 2025-02-03 09:52:33 +01:00
9d6bc332cb Add missing database counters 2025-01-31 20:57:07 +01:00
b6c004c045 Remove unused html_id for sets 2025-01-31 20:57:07 +01:00
271effd5d2 Support for damaged parts 2025-01-31 20:57:07 +01:00
302eafe08c Fix broken set status 2025-01-31 20:57:07 +01:00
418a332f03 Add missing set owners SQL drop 2025-01-31 20:57:07 +01:00
f34bbe0602 Set tags 2025-01-31 20:57:07 +01:00
030345fe6b Fix functions definition 2025-01-31 20:57:07 +01:00
b8d4f23a84 Set owners 2025-01-31 20:57:07 +01:00
ba8744befb Merge add and bulk add templates 2025-01-31 20:57:07 +01:00
5fcd76febb Missing quotes around SQL identifier 2025-01-31 20:57:07 +01:00
6262ac7889 Use badge macros in the card header 2025-01-31 20:57:07 +01:00
6011173c1f Make the default collapsed state of grid filters configurable through a variable 2025-01-31 20:57:07 +01:00
637be0d272 Fix admin status error 2025-01-31 20:57:06 +01:00
d15d7ffb61 Move from_form function about name to the base metadata class 2025-01-31 20:57:06 +01:00
fc3c92e9a3 Remove metadata prefix, it's identical to kind 2025-01-31 20:57:06 +01:00
344d4fb575 Metadata list 2025-01-31 20:57:06 +01:00
7d16e491c8 Rename checkboxes (too generic) to status (and some bug fixes) 2025-01-31 20:57:06 +01:00
050b1993da Don't rely on SQL files for migration patches as their existence is not guaranteed 2025-01-31 20:57:06 +01:00
8f5d59394c Remove the 404 code from post redirect as it will cause the browser to not redirect 2025-01-31 20:57:06 +01:00
a832ff27f7 Create a Metadata object as a base for checkboxes 2025-01-31 20:57:06 +01:00
4fc96ec38f Rename checkox_error 2025-01-31 20:57:06 +01:00
bba741b4a5 Rename database_error 2025-01-31 20:57:06 +01:00
aed7a520bd Parametrable error names 2025-01-31 20:57:06 +01:00
3893f2aa19 Theme override nobody cares actually 2025-01-31 20:57:06 +01:00
51f729a18b Fix variable type hint 2025-01-31 20:57:06 +01:00
b2d2019bfd Set theme override 2025-01-31 20:57:06 +01:00
728e0050b3 Fix functions definition 2025-01-31 20:57:06 +01:00
56ad9fba13 url_for_missing should be part of BrickPart, not RebrickablePart 2025-01-31 20:57:06 +01:00
acbd58ca71 Add missing @login_required for set deletion 2025-01-31 20:57:06 +01:00
130b3fa84a Fix undefined id variable used when a checkbox does not exist 2025-01-31 20:57:06 +01:00
b142ff5bed Fix missing logic to handle empty string from dynamic input 2025-01-31 20:57:06 +01:00
e2b8b51db8 Move dynamic input to BrickChanger 2025-01-31 20:57:06 +01:00
f44192a114 Add visually hidden label for dynamic input, move read-only logic in the macro 2025-01-31 20:57:06 +01:00
468cc7ede9 Display prints based on a part 2025-01-31 20:57:06 +01:00
d08b7bb063 Display RGB color, transparency and prints for parts 2025-01-31 20:57:06 +01:00
d93723ab4e Use Rebrickable URL for cosmetics if available 2025-01-31 20:57:06 +01:00
71ccfcd23d Remove leftover debug prints 2025-01-31 20:57:06 +01:00
fc6ff5dd49 Add a refresh mode for sets 2025-01-31 20:57:06 +01:00
482817fd96 Add purchase location to the database 2025-01-31 20:57:06 +01:00
c4bb3c7607 Deduplicated parts and missing parts 2025-01-31 20:57:06 +01:00
7ff1605c21 Garbage leftover from copy-paste 2025-01-31 20:57:06 +01:00
964dd90704 Remove unused socket 2025-01-31 20:57:06 +01:00
d5f66151b9 Documentation touch up 2025-01-31 20:57:06 +01:00
711c020c27 Add extra fields to set for the future while we are refactoring it 2025-01-31 20:57:06 +01:00