dani
5088f19b33
Fix a typo
2025-02-04 22:33:52 +01:00
dani
50bfc44978
Add Meta migration for Portal
2025-02-02 00:27:02 +01:00
dani
453729b05c
Rename articles to pages
2025-02-02 00:25:45 +01:00
dani and GitHub
5d89cb96d2
Add options for a disclaimer, fix html code and remove deprecations ( #50 )
...
* Add options for a disclaimer, fix html code and remove deprecations
* Update READMEs
* Minor improvement to portal admin [skip ci]
2025-01-30 23:13:32 +01:00
dani and GitHub
04757d868a
Update README.md
2025-01-30 11:46:21 +01:00
dani and GitHub
b897141212
Update README.md
2025-01-30 11:45:15 +01:00
dani
3df8b461a0
HOTFIX: fix duplicated results introduced in #1a8f2aa
2025-01-28 19:30:24 +01:00
dani
284632892d
Update sample data
2025-01-28 19:28:30 +01:00
dani
bb58dcf6fa
Fix a bug related to consist
2025-01-27 23:52:37 +01:00
dani
c971ff9601
Fix a CASCADE on shops
2025-01-27 23:22:08 +01:00
dani and GitHub
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
dani and GitHub
d16e00d66b
Add shop field (from properties) ( #48 )
...
* Add shop field (from properties)
* Update template
2025-01-27 00:34:44 +01:00
dani and GitHub
1a8f2aace8
Allow multiple manufacturers per class ( #47 )
...
* Allow multiple manufacturers per class
* Fix REST API serializer
2025-01-20 22:51:56 +01:00
dani and GitHub
0413c1c5ab
Add a draft tag to unpublished items and minor improvements ( #46 )
...
* Add a draft tag to unpublished items
* Add X-Cache-Hit header
* Expose decoder interface in roster cards
* Manage decoder interface set to None
2025-01-20 18:24:20 +01:00
dani
f914c79786
Minor fix to cleanup js logs
2025-01-20 13:58:36 +01:00
dani
456f1b7294
Update .gitignore
2025-01-19 15:52:41 +01:00
dani
f19a0995b0
HOTFIX: Add a missing signal
...
Regression introduced in v0.14.0
2025-01-19 15:07:04 +01:00
dani
3dd134f132
Improve freelance tag
2025-01-18 23:02:55 +01:00
dani and GitHub
ddcf06994d
Improve user experience in admin and UI ( #45 )
2025-01-18 15:37:56 +01:00
dani and GitHub
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
dani and GitHub
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
dani and GitHub
d237129c99
Update README.md
2025-01-15 18:32:23 +01:00
dani and GitHub
af54acae86
Update README.md
2025-01-15 18:31:22 +01:00
dani and GitHub
90211562f9
Replace custom python connector with ncat ( #42 )
...
* Replace custom made daemon with nmap-ncat
* Use stderr to log ncat output
* Refresh the branch
2025-01-15 18:30:36 +01:00
dani
1e7f72e9ec
Implement publish, unpublish actions
2025-01-08 23:47:58 +01:00
dani
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
dani
f286ec9780
Update submodules
2025-01-05 20:58:29 +01:00
dani
ead9fe649b
Small templates improvements for books and rs
2025-01-05 15:28:42 +01:00
dani
206b9aea57
Make purchase date a private field as well
2025-01-04 19:06:10 +01:00
dani
8557e2b778
Improve a bit the layout for descriptions
2024-12-30 12:07:46 +01:00
dani
6457486445
Add coming soon image to books and catalogs
2024-12-29 22:47:33 +01:00
dani
ee5b5f0b3a
Add a custom middleware to improve caching behavior
2024-12-29 22:28:39 +01:00
dani
159bc66b59
Minor change to roster admin
2024-12-29 22:06:25 +01:00
dani
0ea9978ffb
Remove troublesome code
2024-12-29 21:57:54 +01:00
dani and GitHub
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
dani
7eddd1b52b
Fix a regression introduced in v0.14.0
2024-12-23 12:16:22 +01:00
dani
11515d79ef
Fix a regression in bookshelf properties
2024-12-23 02:15:15 +01:00
dani
f2b817103f
Add catalog to by tag filter
2024-12-23 02:02:34 +01:00
dani
2d00436a87
Disable scales if no items are available
2024-12-23 01:50:58 +01:00
dani
6ff5450124
Minor fixes and improvements
2024-12-23 01:26:22 +01:00
dani and GitHub
f4af44c41c
Merge pull request #40 from daniviga/catalogue
...
Introduce the concept of catalogs, improve books and code refactoring
2024-12-22 22:13:30 +01:00
dani
e3ae18a4bd
Update Python versions in GitHub workflows
2024-12-22 22:00:26 +01:00
dani
2695358d9b
Disable an old migration
2024-12-22 21:59:14 +01:00
dani
3fbae0417e
Update a migration
2024-12-22 21:56:16 +01:00
dani
7a51ab9095
Bump version
2024-12-22 21:46:42 +01:00
dani
dad40b3ee7
Implement documents inline for books and catalogs
2024-12-22 21:45:56 +01:00
dani
d55bce6e78
More code refactoring, reduce template duplications
2024-12-22 21:32:22 +01:00
dani
cbf6c942b9
Complete Catalogs with code refactoring
2024-12-22 18:53:47 +01:00
dani
64f616d89f
Merge branch 'master' into catalogue
2024-11-30 18:51:24 +01:00
dani
f8246c31d3
Hotfix the manufacturer template
2024-11-30 14:56:26 +01:00
dani
005ea11011
Minor improvements
2024-11-29 23:49:35 +01:00
dani
83444266cb
Add Catalogs views, but still need to fix templates (use books for now)
2024-11-29 23:43:36 +01:00
dani
1a3b30ace3
Enable Catalogs in Admin
2024-11-29 23:30:33 +01:00
dani
21c99f73c3
Implement Book data migration
2024-11-29 23:16:31 +01:00
dani
b5b88f7714
Minor change to Image model Meta
2024-11-27 23:14:44 +01:00
dani
119d25ede6
WIP: implement catalogue type of books
2024-11-27 23:07:43 +01:00
dani
41d9338459
Allow books with no authors
2024-11-26 23:22:37 +01:00
dani
32785f321a
Fix the logout to use a POST (introduced with Django 4.1)
...
Also add an handy command to clear Django cache
2024-11-05 22:43:15 +01:00
dani
5b975355a1
Add an help text to gauge
2024-11-04 22:33:26 +01:00
dani
7d8c539e47
Update tracks related templates
2024-11-04 22:31:56 +01:00
dani
9a832bca82
Improve sorting
2024-11-04 22:27:23 +01:00
dani
54254bda7d
Fix get_data method signatore in portal views.py
2024-11-04 15:06:55 +01:00
dani and GitHub
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
dani
61b6d7a84e
Update submodules
2024-11-04 11:33:44 +01:00
dani and GitHub
d0854a4cff
Speedup inlines using autocomplete field and add more previews ( #38 )
2024-11-04 11:33:28 +01:00
dani
456272b93a
Add built-in decoder interface type
2024-04-30 11:08:16 +02:00
dani and GitHub
35905bafdf
Improve rendering of pagination on mobile ( #37 )
2024-04-27 15:00:23 +02:00
dani and GitHub
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
dani and GitHub
54a68d9b1f
Fix data retreival issue on GetData ( #35 )
2024-04-21 15:34:16 +02:00
dani
aa02404dfe
Fix an ordering issue on items in a set query
2024-04-21 09:56:10 +02:00
dani and GitHub
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
dani and GitHub
b37f5420c5
Update to Bootstrap 5.3.3 ( #33 )
...
* Update to Bootstrap 5.3.3
* Remove support for python 3.9
2024-04-09 23:45:58 +02:00
dani and GitHub
4b74a69f3f
Add the possbility to provide descriptions ( #32 )
...
to class, rolling stock, book
2024-03-02 15:45:42 +01:00
dani
e7d34ce8e0
Remove unused args in upload_image
2024-02-17 23:06:41 +01:00
dani and GitHub
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
dani and GitHub
4428b8c11d
Fix a RuntimeWarning introduced in Django 5 ( #29 )
2024-01-20 22:08:10 +01:00
dani
8400a5acd3
Add a sample background to sample_data
2023-11-12 15:30:13 +01:00
dani
7dadf23f5f
Make pylibmc optional in requirements-prod.txt
2023-11-04 23:58:51 +01:00
dani
4a12201d22
Make Document and Image files not nullable
2023-11-04 23:54:56 +01:00
dani and GitHub
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
dani
416ca5bbc6
eu.gif is part of dajngo-countries
2023-10-28 14:00:52 +02:00
dani
03fc82c38d
Enable csrf protection
2023-10-28 13:56:43 +02:00
dani
ec8684dbc0
Add a "None" country and "Europe" with flags
2023-10-28 13:55:21 +02:00
dani
7ec8baf733
Replace \t with spaces in base.html
2023-10-28 09:29:11 +02:00
dani
86589ad718
More w3c minor fixes
2023-10-27 23:20:36 +02:00
dani
98fed02a40
Fix a table in rollingstock.html
2023-10-27 23:16:23 +02:00
dani
9602f67e0e
Remove a spurious tag
2023-10-27 23:14:09 +02:00
dani
5bb6279095
Extend UX improvements on other pages
2023-10-27 23:11:21 +02:00
dani
84cdee42a6
Fix html syntax in rollingstock.html
2023-10-27 22:58:24 +02:00
dani
168b424df7
Bump version
2023-10-27 22:46:19 +02:00
dani
e1400fe720
Remove health page
2023-10-27 22:26:24 +02:00
dani
26dea2fb35
Improve rollingstock page UX on mobile
2023-10-27 22:26:05 +02:00
dani
ef767ec33d
Fix a pretty-print on companies
2023-10-23 18:54:57 +02:00
dani
b23801dbf0
Clear cache on save if active
2023-10-21 21:42:03 +02:00
dani
c7fa54e90e
Rename roster methods in portal view
2023-10-17 22:46:55 +02:00
dani
9164ba494f
Update examples to implement caching
2023-10-17 22:40:31 +02:00
dani
97989c3384
Improve UX and filtering
2023-10-17 13:44:30 +02:00
dani
7865bf04f0
Add consists view in rolling stock and them in company filter
2023-10-16 22:48:46 +02:00
dani
e6f1480894
Change login menu icon on mobile
2023-10-12 22:33:55 +02:00
dani
8d8ede4c06
Improve page layout on mobile
2023-10-11 22:39:29 +02:00