ddcf06994d
Improve user experience in admin and UI ( #45 )
2025-01-18 15:37:56 +01:00
c467fb24ca
Add support for generic documents (admin only) ( #44 )
...
* Add support for generic documents
* Add publish / unpublish actions
* Minor improvements to models properties
2025-01-17 22:44:50 +01:00
db79a02c85
Add REST API pagination and mke REST API optional ( #43 )
...
* Implement Rest API pagination
* REST API must be enabled in settings
* Report REST API status in the admin site settings page
2025-01-16 22:53:19 +01:00
1e7f72e9ec
Implement publish, unpublish actions
2025-01-08 23:47:58 +01:00
26be22c0bd
Minor admin improvements and remove unique_together deprecated Meta
...
Also make rolling stock unique per consist
2025-01-08 23:28:04 +01:00
206b9aea57
Make purchase date a private field as well
2025-01-04 19:06:10 +01:00
159bc66b59
Minor change to roster admin
2024-12-29 22:06:25 +01:00
026ab06354
Add a CSV export functionality in admin and add price fields ( #41 )
...
* Implement an action do download data in csv
* Refactor CSV download
* Move price to main models and add csv to bookshelf
* Update template and API
* Small refactoring
2024-12-29 21:46:57 +01:00
dad40b3ee7
Implement documents inline for books and catalogs
2024-12-22 21:45:56 +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
d0854a4cff
Speedup inlines using autocomplete field and add more previews ( #38 )
2024-11-04 11:33:28 +01:00
456272b93a
Add built-in decoder interface type
2024-04-30 11:08:16 +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
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
4b74a69f3f
Add the possbility to provide descriptions ( #32 )
...
to class, rolling stock, book
2024-03-02 15:45:42 +01:00
19eb70c492
Replace ckeditor with tinymce ( #30 )
...
* Replace ckeditor with tinymce due to deprecation
* Remove any ckeditor dependency from old migrations
Disable alters, replace create with plain models.TextField
* Reformat files
* Add more hardening in image_upload
2024-02-17 23:05:18 +01:00
4a12201d22
Make Document and Image files not nullable
2023-11-04 23:54:56 +01:00
830da80302
Keep media folder clean ( #28 )
...
* Reorg roster, portal and bookshelf media
* Extend media reorg to consists
* Delete roster and bookshelf images on delte.
Do not delete others data that might be dedup!
* Bump version
2023-10-31 11:16:55 +01:00
b23801dbf0
Clear cache on save if active
2023-10-21 21:42:03 +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
3f905877e7
Extend the bookshelf implementation
2023-10-02 22:19:04 +02:00
b8572c1701
Rename SKU to 'Item number'
2023-10-01 21:35:14 +02:00
5d536ce568
Add documents to decoders ( #22 )
...
* Add decoder documents support
* Use abstract model for Documents
* Increase version
* Code cleanup
2023-10-01 00:03:41 +02:00
32b5522a1e
Change how images and consists are sorted ( #14 )
2023-01-02 16:08:25 +01:00
8bd2635c28
Change image sort, thumbnails first
2022-12-28 22:14:10 +01:00
2c851b2822
Add migrations
2022-11-27 01:11:43 +01:00
f603fd3e2d
Reuse existing file if content is the same
2022-11-27 01:07:38 +01:00
055b0bab59
Enable "Save as" in roster and consist
2022-11-01 12:30:38 +01:00
242fe6814d
Move decoder interface def into rolling stock
2022-11-01 00:06:30 +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
4ed95d0edf
Fix migrations
2022-08-25 00:49:10 +02:00
24bd2aa53c
Add migrations md to html
2022-08-24 17:56:59 +02:00
65493ba068
Merge pull request #10 from daniviga/flat-pages
...
Introduce support for Flatpages
2022-08-24 14:54:14 +02:00
ca459c467b
Replace md editor with ckeditor
2022-08-23 17:54:58 +02:00
575c938205
Hotfix for document filename
2022-08-22 18:23:38 +02:00
2af772a722
Black'ed
2022-08-22 17:13:10 +02:00
f580bcffc5
Documents section in admin
2022-08-22 17:12:22 +02:00
503a214a4d
Minor fixes
2022-07-18 17:07:01 +02:00
49b7aac807
Run black
2022-07-16 21:00:17 +02:00
7d3f29e734
Use int sort for road numbers
2022-07-16 17:48:04 +02:00
70c12c69b2
Improve road number sorting and enforce company on consists
2022-07-15 18:10:18 +02:00
e55f953c8a
Add sorting, enforce foreign keys
2022-07-15 17:28:44 +02:00
899e33da61
Move properties under model and class sections
2022-07-13 20:40:42 +02:00
cb2ff90d8a
Review roster API
2022-07-12 19:00:50 +02:00
b925af1e7a
Run black on py
2022-04-19 14:25:29 +02:00
ec8e736393
Extend the rolling stock page
2022-04-12 22:49:53 +02:00
d594dbe47c
Rename DCC project into RAM
...
RAM: Railroad Assets Manager
2022-04-10 21:05:02 +02:00