Commit Graph

89 Commits

Author SHA1 Message Date
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
9878f426b1 Update versions and changelog 2025-01-31 20:57:06 +01:00
270838a549 Simplify fields name in the database 2025-01-31 20:57:06 +01:00
2e36db4d3d Allow more advanced migration action through a companion python file 2025-01-31 20:57:06 +01:00
6dd42ed52d Add missing checkboxes counter alias 2025-01-31 20:57:05 +01:00
32044dffe4 Remove confusing reference to number for sets 2025-01-31 20:57:05 +01:00
a0fd62b9d2 Deduplicate minifigures 2025-01-31 20:57:05 +01:00
1f7a984692 Rename load to from_set for clarity 2025-01-31 20:57:05 +01:00
d1325b595c Inject the socket only where necessary 2025-01-31 20:57:05 +01:00
900492ae14 Provide decorator for socket actions, for repetitive tasks like checking if authenticated or ready for Rebrickable actions 2025-01-31 20:57:05 +01:00
bdf635e427 Remove confusing reference to number for sets 2025-01-31 20:57:05 +01:00
1afb6f841c Rename routes 2025-01-31 20:57:05 +01:00
ee78457e82 Remove unused insert_rebrickable 2025-01-31 20:57:05 +01:00
25aec890a0 Rename download_rebrickable to insert_rebrickable and make it return if an insertion occured 2025-01-31 20:57:05 +01:00
0f53674d8a Grey out legacy database tables in the admin 2025-01-31 20:57:05 +01:00
4350ade65b Add a flag to hide instructions in a set card 2025-01-31 20:57:05 +01:00
53309a9502 Forgot a version change 2025-01-27 19:49:58 +01:00
48ad7b5f02 Trim the url in the progress message to make it more legible 2025-01-25 22:48:10 +01:00
cf9e716d1c Remove unused 'ADD_SET' socket message 2025-01-25 22:43:54 +01:00
c4a1a17cfd Dowloads instructions through a socket 2025-01-25 22:42:59 +01:00
ed44fb9bab Global cleanup of the code, implementing all the comments for the issue 2025-01-25 19:02:46 +01:00
6d3285dbc9 Move parse_number out of RebrickableSet as it imports way too much for such a simple function 2025-01-25 19:02:38 +01:00
52f73d5bf9 Moved code and added env variables 2025-01-24 21:22:57 +01:00
6abf4a314f Merge remote-tracking branch 'origin/master' into instructions 2025-01-24 19:40:30 +01:00
6320629b07 Moved code from views to instructions.py 2025-01-24 17:20:53 +01:00
4a785df532 Moved from code around 2025-01-24 17:08:56 +01:00
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