Julien Constant
f876bc3599
Unified header across all files
2024-06-26 19:17:57 +02:00
thomas girod
3143d3d91a
reorganize imports with ruff
2024-06-26 12:35:38 +02:00
thomas girod
ef968f3673
Better usage of cache for groups and clubs related operations ( #634 )
...
* Better usage of cache for group retrieval
* Cache clearing on object deletion or update
* replace signals by save and delete override
* add is_anonymous check in is_owned_by
Add in many is_owned_by(self, user) methods that user is not anonymous. Since many of those functions do db queries, this should reduce a little bit the load of the db.
* Stricter usage of User.is_in_group
Constrain the parameters that can be passed to the function to make sure only a str or an int can be used. Also force to explicitly specify if the group id or the group name is used.
* write test and correct bugs
* remove forgotten populate commands
* Correct test
2023-05-02 12:36:59 +02:00
Julien Constant
8e7c025e47
[FIX] Broken link in readme and license fix (& update) ( #591 )
2023-04-04 18:39:45 +02:00
98bfc308a7
Minimal working version
...
* Upgrade dependencies
* Fix ugettext
* Fix bad urls
2022-08-04 00:28:09 +02:00
6cc234e8d3
django2.2: add default mandatory on_delete on OneToOneField
2019-10-08 22:46:02 +02:00
4dadb1dbc0
django2.2: add default mandatory on_delete on all ForeignKey
2019-10-08 22:46:01 +02:00
2616e8b24c
django2.2: relpace django.core.urlresolvers by django.urls
2019-10-08 22:46:01 +02:00
cb58b00b6e
All: Apply Black coding rules
2018-10-05 21:52:55 +02:00
08de5dfe6a
Migration to django 1.11
2018-06-10 16:31:58 +02:00
f8e0147bf5
Small fix on accounting permissions
2017-06-26 11:17:30 +02:00
544ff630a5
Format accounting
2017-06-13 09:48:24 +02:00
0e171fbc8f
add some validationErrors on OperationForm
2017-06-09 16:06:18 +02:00
Skia
83deae5964
Apply GPLv3 to Sith, and add header to every concerned file
2017-04-24 17:51:12 +02:00
ebe76c83c7
fix permissions
2017-02-27 01:10:01 +01:00
9152688efd
adaptations for settings and deletion checked
2017-02-26 18:04:58 +01:00
c19e2d1cb0
Several modifications in accounting
2017-02-26 18:04:58 +01:00
346e07f0a8
fix permission for companies
2017-02-26 18:04:58 +01:00
Skia
0d4b697079
Refactor group settings
2016-12-10 01:29:56 +01:00
5d5f2522c4
Fix company display for operation creation
2016-11-06 23:34:38 +01:00
Skia
7fdcb0c815
Finish labels in accounting
2016-10-05 15:54:11 +02:00
Skia
4f67bf4c04
Reset all migrations and migrate companies
2016-08-24 22:09:23 +02:00
Skia
fb8e7ceb5b
Some templating and migration fix
2016-08-24 21:49:46 +02:00
Skia
078b63d970
Migrate accounting
2016-08-24 19:50:22 +02:00
Skia
792d66da33
Add nice whole file support
2016-08-10 05:48:06 +02:00
Skia
a0f7150c55
Update accounting to have a target
2016-08-07 20:10:50 +02:00
Skia
28aa143f39
Improve Operation numbering in accounting
2016-07-20 18:48:18 +02:00
Skia
50efc07eaa
Add basic close journal functions
2016-06-24 21:55:52 +02:00
Skia
e9544f2581
Update CanCreateView and fix accounting views in consequence
2016-06-24 21:07:59 +02:00
Skia
1396f2ca84
Improve accounting ease of use
2016-06-24 19:59:49 +02:00
Skia
d244618dd0
Improve accounting views
2016-06-22 13:19:35 +02:00
Skia
3023d6d744
Add CanCreateMixin, and add amount in journals
2016-06-20 15:47:26 +02:00
Skia
8da149c979
Some refactoring between accounting and counter
2016-05-31 13:00:52 +02:00
Skia
27805640a1
Improve right handling for accounting
2016-05-09 11:49:01 +02:00
Skia
6e05207e84
"Finish" the accounting views
2016-05-03 08:50:54 +02:00
Skia
5fcb3e1412
Add basic accounting views
2016-04-20 03:01:14 +02:00
Skia
c6a3559bf5
Improve accounting model according to current site's one
2016-04-20 02:07:01 +02:00
Skia
21f1393097
Add basic counter model
2016-03-28 14:54:35 +02:00
Skia
f71ce2f7df
Add first accounting implementation
2016-01-28 16:53:37 +01:00