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
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
6ff5450124
Minor fixes and improvements
2024-12-23 01:26:22 +01:00
2695358d9b
Disable an old migration
2024-12-22 21:59:14 +01:00
3fbae0417e
Update a migration
2024-12-22 21:56:16 +01:00
dad40b3ee7
Implement documents inline for books and catalogs
2024-12-22 21:45:56 +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
1a3b30ace3
Enable Catalogs in Admin
2024-11-29 23:30:33 +01:00
21c99f73c3
Implement Book data migration
2024-11-29 23:16:31 +01:00
119d25ede6
WIP: implement catalogue type of books
2024-11-27 23:07:43 +01:00
41d9338459
Allow books with no authors
2024-11-26 23:22:37 +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
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
4428b8c11d
Fix a RuntimeWarning introduced in Django 5 ( #29 )
2024-01-20 22:08:10 +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
764240d67a
Fix bookshelf default sorting
2023-10-09 23:09:05 +02:00
2d48463474
Change model default sort for Book
2023-10-03 23:08:11 +02:00
08226247c7
Extend ISBN to include dashes
2023-10-03 22:43:20 +02:00
4f52736d97
Fix a copy-paste issue in bookshelf model
2023-10-03 22:26:51 +02:00
12ac33f4a2
Fix books default ordering
2023-10-03 21:58:45 +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
3f905877e7
Extend the bookshelf implementation
2023-10-02 22:19:04 +02:00
968ebeb0b6
First bookshelf implementation
2023-10-02 00:02:24 +02:00