Commit Graph

23 Commits

Author SHA1 Message Date
60195bc99f Simplify the logic about scales in the consist and remove async updates 2025-05-02 13:40:09 +02:00
7673f0514a Fix filter by scale counters and add consist constrains
Still to be improved, see FIXME
2025-05-01 23:49:22 +02:00
1222116874 Improve consist counter, fix a bug with unpublished stock 2025-04-27 22:12:43 +02:00
85741f090c Provide consist composition 2025-04-27 18:22:13 +02:00
bb58dcf6fa Fix a bug related to consist 2025-01-27 23:52:37 +01:00
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
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
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
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
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
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
32b5522a1e Change how images and consists are sorted (#14) 2023-01-02 16:08:25 +01:00
f603fd3e2d Reuse existing file if content is the same 2022-11-27 01:07:38 +01:00
ca459c467b Replace md editor with ckeditor 2022-08-23 17:54:58 +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
2dbe01d8bd Add private properties and consist thumbnail 2022-07-12 19:00:29 +02:00
353da224be Fix consists pagination and remove hardcoded urls 2022-07-10 22:48:45 +02:00
4989bac4a5 Add support for consist and minor improvements 2022-04-19 19:18:31 +02:00
b925af1e7a Run black on py 2022-04-19 14:25:29 +02:00
d594dbe47c Rename DCC project into RAM
RAM: Railroad Assets Manager
2022-04-10 21:05:02 +02:00