Commit Graph
100 Commits
Author SHA1 Message Date
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
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
daniandGitHub ddcf06994d Improve user experience in admin and UI (#45) 2025-01-18 15:37:56 +01:00
daniandGitHub 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
daniandGitHub 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
daniandGitHub d237129c99 Update README.md 2025-01-15 18:32:23 +01:00
daniandGitHub af54acae86 Update README.md 2025-01-15 18:31:22 +01:00
daniandGitHub 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
daniandGitHub 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
daniandGitHub 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