Commit graph

15 commits

Author SHA1 Message Date
sinavir
c01ed7cb47 style(pre-commit): Add hook
Python:
- black
- isort (black profile)
- ruff

Nix:
- statix
- nixfmt-rfc-style
- deadnix
2024-07-04 20:47:46 +02:00
sinavir
fe0dc46988 fest(inventory): Improve game image names generation 2024-07-04 20:47:46 +02:00
sinavir
448bcad382 feat(FORK): jeu -> outil/hackens 2024-07-04 18:15:57 +02:00
Sylvain Gay
00148cd5ca Add loan tables
Add two views for loans :
- inventory:ongoing_loans
- inventory:all_loans (permission inventory.can_see_loan_details required)
2024-05-06 16:24:16 +02:00
Sylvain Gay
d8551052fd renamed 'categorie' -> 'étagère' 2024-05-02 14:43:21 +02:00
Sylvain Gay
67c64c0d1c made cleaner migrations for loans 2024-05-02 11:31:34 +02:00
Sylvain Gay
474083dd38 Add minimal loans system
Functional loans system for users.
No manager interface yet.

See:
- app "loans"
- a few new views/templates in app "inventory"
2024-05-02 11:13:34 +02:00
Guillaume Bertholon
1fea637d7a Use min/max/precisions fields for game duration
There is an data migration for Game items but not for Suggestion items.
It assumes that all duration fields are filled with a single integer or
a range separated by '-' or 'à'.
2021-01-29 12:07:46 +01:00
Guillaume Bertholon
d5d239c3df Fix error 500 when nb_player_{min,max} is unset 2021-01-25 14:16:03 +01:00
Guillaume Bertholon
0ad6c7543e Limit upload file sizes 2020-12-30 00:31:58 +01:00
Guillaume Bertholon
d4a9faef3e Refactorize to enable code sharing for comments 2020-12-27 18:01:37 +01:00
Guillaume Bertholon
c836f642fa Authenticate by email with a custom user model
This avoid the weird double username situation where we want to give the
users the choice of their displayed name but at the same time we need them to
never change their CAS username.

Now CAS matches on email so we do not have problems.
2020-12-24 14:19:35 +01:00
Guillaume Bertholon
ccd8ee9cc9 Add game comments and rework game models
Models are now more structured for number of players, and durations can
be omitted.
2020-12-13 00:12:06 +01:00
Guillaume Bertholon
68dea4002c Add category and tag pages 2020-11-22 19:01:21 +01:00
Guillaume Bertholon
8843c07a6a Give the main structure and begin inventory app 2020-10-11 22:19:11 +02:00