Commit Graph

31 Commits

Author SHA1 Message Date
e9ec126ada Fix a bug in the consist admin search 2025-04-27 22:22:47 +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
b10e1f3952 Add shop as a fixed property (#49)
* Add shop field (from properties)

* Update template

* Implement description in BaseModel and then consist

* Make notes internal only

* Fix a merge issue
2025-01-27 23:16:52 +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
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
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
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
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
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
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