Commit Graph

67 Commits

Author SHA1 Message Date
3df8b461a0 HOTFIX: fix duplicated results introduced in #1a8f2aa 2025-01-28 19:30:24 +01:00
7eddd1b52b Fix a regression introduced in v0.14.0 2024-12-23 12:16:22 +01:00
f2b817103f Add catalog to by tag filter 2024-12-23 02:02:34 +01:00
2d00436a87 Disable scales if no items are available 2024-12-23 01:50:58 +01:00
6ff5450124 Minor fixes and improvements 2024-12-23 01:26:22 +01:00
d55bce6e78 More code refactoring, reduce template duplications 2024-12-22 21:32:22 +01:00
cbf6c942b9 Complete Catalogs with code refactoring 2024-12-22 18:53:47 +01:00
83444266cb Add Catalogs views, but still need to fix templates (use books for now) 2024-11-29 23:43:36 +01:00
54254bda7d Fix get_data method signatore in portal views.py 2024-11-04 15:06:55 +01:00
1c07c6a7a9 Add a custom manager to filter private and unpublished stuff (#39)
* Implement a customer manager for flatpages

* Implement public manager for private objects

* Add support for unpublished objects in roster and consist

* Add support for unpublished objects in bookshelf

* Update filtering on REST views

* Use uuid in urls.py

* Increment version
2024-11-04 15:00:34 +01:00
35905bafdf Improve rendering of pagination on mobile (#37) 2024-04-27 15:00:23 +02:00
6a9f37ca05 Add a 404 page and improve manufacturer lookup (#36)
* Add a custom 404 page
* Better manufacturer and item lookup
* Add migration to populate new field
* Version bump
2024-04-24 00:33:41 +02:00
54a68d9b1f Fix data retreival issue on GetData (#35) 2024-04-21 15:34:16 +02:00
aa02404dfe Fix an ordering issue on items in a set query 2024-04-21 09:56:10 +02:00
e4ad98fa38 Implement support for sets and other improvements (#34)
* Add a boolean to define item as part of a set
* Add contextual help in admin
* Introduce support to sets and to item code lookup
Also review the url path for pagination
2024-04-21 00:31:52 +02:00
c7fa54e90e Rename roster methods in portal view 2023-10-17 22:46:55 +02:00
97989c3384 Improve UX and filtering 2023-10-17 13:44:30 +02:00
7865bf04f0 Add consists view in rolling stock and them in company filter 2023-10-16 22:48:46 +02:00
87e1107156 Bugfixing (#27)
* Enforce ordering on some metadata models
* Fix a 500 error while accessing flat pages
* Clean up HTML and fix cards (missing class)
* Make the "driver" app optional and disabled by default
2023-10-10 22:17:21 +02:00
424b17ae58 Bug fixing for consists 2023-10-08 09:52:38 +02:00
c73efb01e4 Introduce private docs and flatpages preview (#26)
* Add support for private documents
* Fix migrations after merge
* Rebase fixtures
* Filter private decoder docs
* Enable preview of unpublished pages
2023-10-07 22:38:20 +02:00
a21baac10c Fix a dependency on solo during bootstrap 2023-10-06 21:37:24 +02:00
4b0361acc1 Fix the consists search 2023-10-05 23:21:52 +02:00
425eed3d83 Bookshelf reloaded (#25)
* Navbar refactoring
* Fix coming soon SVG fonts
* Overhaul templating and extend search to consists and books
2023-10-05 23:13:42 +02:00
cbd76e4f66 Add a book details page in bookshelf 2023-10-03 21:54:47 +02:00
996ddd67ea Web bookshelf first draft 2023-10-02 22:58:15 +02:00
b8572c1701 Rename SKU to 'Item number' 2023-10-01 21:35:14 +02:00
2c5f0dcd6f Use slugs to filter 2023-01-09 22:54:15 +01:00
78f9faee5e Switch back from pk filtering to safe name 2023-01-09 00:10:57 +01:00
6fbea294da Add more filters and search refactoring 2023-01-08 19:06:38 +01:00
9dfa9172f4 Major templates and views refactoring 2023-01-08 00:40:13 +01:00
aff1d20260 Add support for manufacturer filters 2023-01-06 01:47:07 +01:00
b70aa27a13 Add cover to consist page 2023-01-04 15:14:30 +01:00
538dc0bd80 Add page title in html 2022-12-28 23:36:46 +01:00
a3b2112e03 Fix search query 2022-11-24 16:38:07 +01:00
29180572c1 Add a journal for rolling stock 2022-08-27 14:57:26 +02:00
d30d9fc9ed Various improvements for flatpages 2022-08-25 12:44:04 +02:00
ca459c467b Replace md editor with ckeditor 2022-08-23 17:54:58 +02:00
7cc917d9f7 Use a markdown editor 2022-08-22 18:16:59 +02:00
f7987f06d5 Merge branch 'master' into flat-pages 2022-08-22 17:13:39 +02:00
6accb66006 Enable search by sku 2022-08-21 16:53:18 +02:00
46477c4576 Introduce support for Flatpages
Markdown support only
2022-08-07 18:43:58 +02:00
5765472704 Fix to scale abbr 2022-07-21 22:11:17 +02:00
4fb9d1903f Reduce elided_page_range 2022-07-20 21:51:18 +02:00
ad33731913 Fix filtered pagination 2022-07-18 22:48:04 +02:00
503a214a4d Minor fixes 2022-07-18 17:07:01 +02:00
5b04abb262 Add countries and scales pages 2022-07-17 12:25:09 +02:00
49b7aac807 Run black 2022-07-16 21:00:17 +02:00
24af738ad4 Fix page range 2022-07-16 20:57:29 +02:00
8136a180ab Try another fix for ellipsis 2022-07-16 19:56:08 +02:00