Commit Graph

167 Commits

Author SHA1 Message Date
gregoo b2d2019bfd Set theme override 2025-01-31 20:57:06 +01:00
gregoo 257bccc339 Move set management to its own file 2025-01-31 20:57:06 +01:00
gregoo 69c7dbaefe Don't display the set management section when deleting it 2025-01-31 20:57:06 +01:00
gregoo cb58ef83cc Add a clear button for dynamic input 2025-01-31 20:57:06 +01:00
gregoo f016e65b69 Rename read_only_missing to a more generic read_only 2025-01-31 20:57:06 +01:00
gregoo e2b8b51db8 Move dynamic input to BrickChanger 2025-01-31 20:57:06 +01:00
gregoo f44192a114 Add visually hidden label for dynamic input, move read-only logic in the macro 2025-01-31 20:57:06 +01:00
gregoo cf11e4d718 Move the dynamic input into a macro 2025-01-31 20:57:06 +01:00
gregoo 468cc7ede9 Display prints based on a part 2025-01-31 20:57:06 +01:00
gregoo a2aafbf93a Visual fix for Any/No color 2025-01-31 20:57:06 +01:00
gregoo e033dec988 Use data-sort to sort colums with complex data 2025-01-31 20:57:06 +01:00
gregoo d08b7bb063 Display RGB color, transparency and prints for parts 2025-01-31 20:57:06 +01:00
gregoo fe13cfdb08 Collapsible grid controls 2025-01-31 20:57:06 +01:00
gregoo fc6ff5dd49 Add a refresh mode for sets 2025-01-31 20:57:06 +01:00
gregoo c4bb3c7607 Deduplicated parts and missing parts 2025-01-31 20:57:06 +01:00
gregoo 50e5981c58 Cosmetics 2025-01-31 20:57:06 +01:00
gregoo 26fd9aa3f9 Fix hide instructions block placement 2025-01-31 20:57:05 +01:00
gregoo a0fd62b9d2 Deduplicate minifigures 2025-01-31 20:57:05 +01:00
gregoo 0f53674d8a Grey out legacy database tables in the admin 2025-01-31 20:57:05 +01:00
gregoo 4350ade65b Add a flag to hide instructions in a set card 2025-01-31 20:57:05 +01:00
gregoo c4a1a17cfd Dowloads instructions through a socket 2025-01-25 22:42:59 +01:00
gregoo 9113d539f0 Split the JS socket with a generic part and one dedicated to load Rebrickable sets 2025-01-25 19:43:55 +01:00
gregoo ed44fb9bab Global cleanup of the code, implementing all the comments for the issue 2025-01-25 19:02:46 +01:00
FrederikBaerentsen 52f73d5bf9 Moved code and added env variables 2025-01-24 21:22:57 +01:00
FrederikBaerentsen 6abf4a314f Merge remote-tracking branch 'origin/master' into instructions 2025-01-24 19:40:30 +01:00
gregoo 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
gregoo 623b205733 Add a custom search function to the tables capable of excluding some pills 2025-01-24 14:57:26 +01:00
gregoo 1685867494 Fix border around checkboxes depending if there are any displayed or not 2025-01-24 12:30:44 +01:00
gregoo 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
gregoo 42e42b9a1b Merge branch 'upstream' 2025-01-24 10:41:36 +01:00
gregoo d063062780 Separate bricktracker sets from rebrickable sets (dedup), introduce custom checkboxes 2025-01-24 10:36:24 +01:00
gregoo 798226932f Split the uncomfortably big admin view into smaller admin views 2025-01-24 10:09:12 +01:00
gregoo e2bcd61ace Take a more generic approach at counting all the tables in the database file 2025-01-24 10:03:53 +01:00
FrederikBaerentsen 053bf75e05 Added instructions downloader from Rebrickable. 2025-01-22 22:41:35 +01:00
FrederikBaerentsen ace4a06b6a Fixed formatting 2025-01-22 17:44:30 +01:00
gregoo b475bfe8d4 Rework upgrade needed and check upgrade too far as an error for the database 2025-01-22 11:50:31 +01:00
matthew f53c73268f Add Rebrickable badge to wishlist page 2025-01-21 13:43:55 -07:00
gregoo 5e99371b39 Incremental forward upgrades of the database 2025-01-20 17:43:15 +01:00
gregoo c6e5a6a2d9 Change the way the database counters are displayed to easiliy accomodate for more tables 2025-01-20 16:36:31 +01:00
gregoo a857a43288 Clean unused not_from_env property. Every config has an environment variable to configure it 2025-01-20 15:23:10 +01:00
gregoo 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
gregoo 57158f75c8 Remove total and unique counters from accordion headers because they are wrong and misleading 2025-01-18 22:23:20 +01:00
gregoo 61a1b0ad94 Unbreak the sort part of the missing part input 2025-01-18 21:59:19 +01:00
gregoo d4bce7491a Do not use current_user to check if authenticated, go through the LoginManager class 2025-01-18 21:03:16 +01:00
gregoo c403029a11 Display the database path in the database section 2025-01-18 20:22:06 +01:00
gregoo 703d16f331 Do not display upload instructions link if in read only mode 2025-01-18 17:33:10 +01:00
gregoo 12835f16f0 Display the number of instructions files if there are any 2025-01-18 17:32:50 +01:00
gregoo ca06f568ef Fix garbage tag in default images 2025-01-17 22:51:46 +01:00
gregoo 74094b2ea2 Unbreak minifigure accordion 2025-01-17 18:17:27 +01:00
gregoo 05484f6148 Refactor nil image code, and add a built-in fix for missing nil images 2025-01-17 18:08:15 +01:00