Commit Graph
100 Commits
Author SHA1 Message Date
dani 8d899e4d9f Minor improvements 2026-01-09 13:08:47 +01:00
dani 40df9eb376 Make the js versioned 2026-01-08 18:49:34 +01:00
dani 226f0b32ba Fix order in the DCC interfaces 2026-01-08 13:20:34 +01:00
dani 3c121a60a4 Extend DCC definitions and clean-up config. Fix a typo in site name (!!) 2026-01-08 12:22:22 +01:00
dani ab606859d1 Fix a small regression in the admin introduced with Django 6 2026-01-08 12:21:39 +01:00
dani a16801eb4b Fix a bug in tab's javascript and cleanup the code 2026-01-07 23:24:16 +01:00
dani b8d10a68ca Minor fix to site description exposed in the html header 2026-01-07 18:33:46 +01:00
dani e690ded04f Include npm dependencies 2026-01-07 18:29:58 +01:00
dani 15a7ffaf4f Implement deep links for tabs and template cleanup 2026-01-07 18:28:25 +01:00
dani a11f97bcad Reduce number of clicks to add images or documents to objects 2026-01-06 18:15:47 +01:00
dani 3c854bda1b Fix a bug in consists admin filtering 2026-01-05 18:02:14 +01:00
dani 564416b3d5 Bump to v0.19.8 2026-01-05 15:46:35 +01:00
dani 967ea5d495 Hide accordion in consists if no load 2026-01-05 15:45:52 +01:00
dani 7656aa8b68 Simplify consist cards cover generator 2026-01-05 15:38:51 +01:00
dani 1be102b9d4 Better 404 handling 2026-01-05 14:54:38 +01:00
dani 4ec7b8fc18 Fix support for X-Accel-Redirect 2026-01-05 14:39:45 +01:00
dani 9a469378df Add support for X-Accel-Redirect 2026-01-05 00:04:44 +01:00
dani ede8741473 Enforce file access permissions 2026-01-04 23:48:52 +01:00
dani 49c8d804d6 Implement support for rolling stock load in consists 2026-01-03 14:18:46 +01:00
dani 2ab2d00585 Improve ordering 2026-01-03 00:54:21 +01:00
dani c95064ddec More templates modularization 2026-01-02 23:19:18 +01:00
dani 16bd82de39 Improve tables behavior on small screen (mobile) 2026-01-02 22:19:22 +01:00
dani 2ae7f2685d Make documents UI modular 2026-01-02 19:12:00 +01:00
dani 29f9a213b4 Make the TOC table responsive 2025-12-31 18:16:08 +01:00
dani 884661d4e1 Enforce page number in TOC 2025-12-31 14:57:15 +01:00
dani c7cace96f7 Extend lenght of TOC items 2025-12-31 14:49:37 +01:00
dani d3c099c05b Extend search to toc titles 2025-12-30 22:21:43 +01:00
dani 903633b5a7 Extend TOC to books 2025-12-30 22:15:29 +01:00
dani ee775d737e Make sure that cache is always cleaned while performing an update 2025-12-30 21:53:04 +01:00
dani 8087ab5997 Implement TOC in UI 2025-12-30 00:44:06 +01:00
dani 1899747909 Minor fix 2025-12-29 12:16:58 +01:00
dani 0880bd0817 Initial implemntation of TOC for books et al. 2025-12-29 12:05:37 +01:00
dani 74d7df2c8b Add an icon for fetured items 2025-12-29 11:44:54 +01:00
dani c81508bbd5 Fix a bug in featured count limit 2025-12-25 19:46:18 +01:00
dani b4f69d8a34 Fix a regression in a template 2025-12-25 11:13:14 +01:00
daniandGitHub 676418cb67 Code refactoring to simplify template data contexts (#55)
* Fix a search filter when no catalogs are returned
* Code refactoring to simplify templates
* Remove duplicated code
* Remove dead code
* More improvements, clean up and add featured items in homepage
* Fix a type and better page navigation
2025-12-24 15:38:07 +01:00
dani 98d2e7beab Extend search to catalogs and scales 2025-12-23 12:19:26 +01:00
dani fb17dc2a7c Add some utils to generate cards via imagemagick 2025-12-21 23:01:04 +01:00
dani 5a71dc36fa Improve sorting and extend search to magazines 2025-12-21 22:56:45 +01:00
dani c539255bf9 More UI improvements and fix a regression on manufacturer filtering 2025-12-12 23:55:09 +01:00
dani fc527d5cd1 Minor fixes to labels and dates 2025-12-12 00:08:43 +01:00
dani f45d754c91 More fixes to lables 2025-12-10 23:38:04 +01:00
dani e9c9ede357 Fix a bug in magazine edit 2025-12-10 23:03:48 +01:00
daniandGitHub 39b0a9378b Magazine UI (#54)
* Work in progress to implement magazines and issues UI

* Fully implement UI for magazines
2025-12-10 22:58:39 +01:00
daniandGitHub 6b10051bc4 Add support for magazines, backend only (#53)
* Initial work to support magazines

* Change editor default height to 300px from 500px

* Stabilize the magazine repository app

* Switch from stacked to tabular inlines for magazines

* Update submodules
2025-12-08 23:18:57 +01:00
dani 3804c3379b Add 'repository' to the login menu 2025-12-08 14:06:17 +01:00
dani 1b769da553 Update python versions in pipeline 2025-12-07 23:08:18 +01:00
dani f655900411 Better migration fix for Django 6.0 2025-12-07 23:05:44 +01:00
dani 3e69b9ae6e Remove a migration operation failing on Django 6.0 (safe) 2025-12-04 00:07:05 +01:00
dani 66c3c3f51c Extend compatibility with Django 6.0 2025-12-03 23:24:53 +01:00
dani 935c439084 Introduce compatibility with Django 6.0 2025-12-03 23:07:56 +01:00
dani d757388ca8 Restore missing DeduplicatedStorage for documents 2025-10-28 22:19:05 +01:00
daniandGitHub 536101d2ff Update bootstrap to 5.3.8 (#52) 2025-10-05 22:39:15 +02:00
dani 955397acd5 Update site icon 2025-06-01 21:51:51 +02:00
dani 672cadd7e1 Introduce symbols legend 2025-05-28 23:38:02 +02:00
dani 464fe57536 Fix an abbr in DCC 2025-05-27 23:57:21 +02:00
dani bd16c7eee7 Still improve the DCC section 2025-05-27 23:49:22 +02:00
dani cc2e374558 Simplify cards, use icons for DCC 2025-05-26 00:04:07 +02:00
dani 1c25ac9b14 Minor UI improvements 2025-05-25 19:13:28 +02:00
dani de126a735d Reverse field renaming 2025-05-24 15:00:52 +02:00
dani 18b5ab8053 Bump DCC-EX submodule 2025-05-24 14:52:36 +02:00
dani 3acc80e2ad Fix another counting issue 2025-05-24 14:44:42 +02:00
dani 552ba39970 Upgrade bootstrap to 5.3.6 and icons to 1.13.1 2025-05-12 14:06:37 +02:00
dani 222e2075ec Change the behavior of the modal 2025-05-12 13:51:31 +02:00
dani b5c57dcd94 Rely on slugs to have a more natural sorting 2025-05-04 22:46:23 +02:00
dani b81c63898f Add more information in consist_item rows 2025-05-04 22:05:47 +02:00
dani 76b266b1f9 Extend search on company to slug field to better manage accented and utf names 2025-05-04 19:13:43 +02:00
dani 86657a3b9f Manually fix a migration to correctly bootsrap a new DB 2025-05-04 19:12:50 +02:00
dani d0d25424fb Fix road_number_int field sizing 2025-05-04 19:12:05 +02:00
dani 292b95b8ed Fix a bug in roster search via scale 2025-05-03 21:02:44 +02:00
dani dea7a594bc Implement CSV export for cosists 2025-05-02 22:25:59 +02:00
dani 60195bc99f Simplify the logic about scales in the consist and remove async updates 2025-05-02 13:40:09 +02:00
dani 7673f0514a Fix filter by scale counters and add consist constrains
Still to be improved, see FIXME
2025-05-01 23:49:22 +02:00
dani 40f42a9ee9 Reformat portal/views.py 2025-04-30 22:52:51 +02:00
dani 2e06e94fde Add counters to cards 2025-04-30 22:50:43 +02:00
dani ece8d1ad94 Minor UI improvement 2025-04-29 22:34:46 +02:00
dani e9ec126ada Fix a bug in the consist admin search 2025-04-27 22:22:47 +02:00
dani 1222116874 Improve consist counter, fix a bug with unpublished stock 2025-04-27 22:12:43 +02:00
dani 85741f090c Provide consist composition 2025-04-27 18:22:13 +02:00
dani 88d718fa94 Minor footer improvement on large screens 2025-04-26 00:16:09 +02:00
dani a2c857a3cd Fix a couple of bugs 2025-04-25 23:14:10 +02:00
dani 647894bca7 Add country flag to cards 2025-03-20 22:07:12 +01:00
dani c8cc8c5ed0 Minor improvement in the CSS
Update the CommandStation-EX tag as well
2025-03-02 22:31:07 +01:00
daniandGitHub e80dc604a7 Improve docs management and add invoices repo (#51)
* Create a repository app for documents, first step

* Step two (broken)

* Complete the implementation of document repository and add invoices

* Add support for invoices

* Update submodules
2025-02-17 23:25:19 +01:00
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
daniandGitHub 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
daniandGitHub 04757d868a Update README.md 2025-01-30 11:46:21 +01:00
daniandGitHub 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
daniandGitHub 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
daniandGitHub d16e00d66b Add shop field (from properties) (#48)
* Add shop field (from properties)

* Update template
2025-01-27 00:34:44 +01:00
daniandGitHub 1a8f2aace8 Allow multiple manufacturers per class (#47)
* Allow multiple manufacturers per class

* Fix REST API serializer
2025-01-20 22:51:56 +01:00
daniandGitHub 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