8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-16 16:33:12 +00:00
Commit graph

3164 commits

Author SHA1 Message Date
grisel-davy
160230d7a1 Add paginator, updates machines, create aff_machines, and minor changes 2021-01-24 16:37:09 +01:00
grisel-davy
f731038eb2 Fix typo and update display port profils 2021-01-24 16:37:09 +01:00
grisel-davy
4fac613373 fix typo in iptypes and update display of switchs 2021-01-24 16:37:09 +01:00
grisel-davy
ef890bc3ba Add listings of articles to aff of all cotisations 2021-01-24 16:37:09 +01:00
grisel-davy
00e5575a21 Update display of ip_types 2021-01-24 16:37:09 +01:00
grisel-davy
52a23be738 Remove redundant code, reuse aff_ templates 2021-01-24 16:37:09 +01:00
grisel-davy
46a8005885 Not perfect but much better 2021-01-24 16:37:09 +01:00
grisel-davy
54ead7a117 Remove profile_image field from the api 2021-01-24 16:37:09 +01:00
grisel-davy
50086cb346 Remove profile_image 2021-01-24 16:37:09 +01:00
grisel-davy
31f08d8465 Check to avoid multiple messages 2021-01-24 16:37:09 +01:00
grisel-davy
bf749fb638 Add number of article in the display of cotisation 2021-01-24 16:37:09 +01:00
grisel-davy
af3da1eafb Move facture list to cotisation, add paginator 2021-01-24 16:37:09 +01:00
grisel-davy
e2d9591dc8 Rename profil view in apps and count machines in user profil view 2021-01-24 16:37:09 +01:00
grisel-davy
64ed0eb463 Create profil template and corresponding view 2021-01-24 16:37:09 +01:00
grisel-davy
0aa63b8d8e Fix test of subscription or connection to display message 2021-01-24 16:37:09 +01:00
grisel-davy
eaf3673587 Don't know why, but it solves issue #281 2021-01-24 16:37:09 +01:00
grisel-davy
7ac894c168 Replace null by 0 in default value of duration_* 2021-01-24 16:37:09 +01:00
grisel-davy
baadaa18f9 Fix the test for ventes in the set_active function. This function could be greatly improved if the duraction could not be null. 2021-01-24 16:36:51 +01:00
Gabriel Detraz
8190101c0a Fix query test for set_active function 2021-01-24 16:36:17 +01:00
grisel-davy
906f9f0a3b Fix creation of cotisation 2021-01-24 16:36:16 +01:00
grisel-davy
5673b199c5 split query into two filters 2021-01-24 16:36:16 +01:00
Gabriel Detraz
996839ef70 Fix all_adherent and all_has_access function 2021-01-24 16:36:16 +01:00
histausse
98639f54f0 Add the need_membership field to article
This field is a boolean indicating if the article can be purshased by
nonmembers.
2021-01-24 16:36:16 +01:00
histausse
b317eceec3 Split the membership duration from the connection duration
changes:

Article:
remove COTISATION_TYPE, duration(_days), type_cotisation
add duration(_days)_connection, duration(_days)_membership

Vente:
remove COTISATION_TYPE, duration(_days), type_cotisation
add duration(_days)_connection, duration(_days)_membership
add method `test_membership_or_connection()` to replace
`bool(type_cotisation)`

Cotisation:
remove COTISATION_TYPE, date_start, date_end, type_cotisation
add date_start_con, date_end_con, date_start_memb, date_end_memb

create_cotis(date_start=False) -> create_cotis(date_start_con=False, date_start_memb=False)

+ migration
+ changes to use the new models in the remaining of the code
2021-01-24 16:36:16 +01:00
Gabriel Detraz
8338790eae Supprime l'avatar à la création (inutile/buggé) 2021-01-24 16:36:16 +01:00
Gabriel Detraz
90df51edfc Fix publication parser error 2021-01-24 16:36:16 +01:00
Gabriel Detraz
e6bd154116 Fix : This is not a rw operation but a ro for db routers 2021-01-24 16:36:16 +01:00
939c0e28aa Missing new line in apt requirements radius 2021-01-24 16:36:16 +01:00
Gabriel Detraz
3e59e96520 Fix, deleted the bad switchport serializer 2021-01-24 16:36:16 +01:00
Gabriel Detraz
f8a5d3ad16 Fix, code mort qui provoque une erreur 500 2021-01-24 16:36:16 +01:00
Gabriel Detraz
2d4c94243b Add preferences dormitory choice on displayed room states 2021-01-24 16:36:16 +01:00
Arthur Grisel-Davy
9eca19e176 Fix multi operators options edition 2021-01-24 16:36:16 +01:00
histausse
98a0e3b388 remove the second port serialiser 2021-01-24 16:36:16 +01:00
histausse
6b022f625e Add dormitory to the building serialiser 2021-01-24 16:36:16 +01:00
histausse
f010436997 Add building to the room serialiser 2021-01-24 16:36:16 +01:00
Hugo Levy-Falk
4c692a42e0 Fix availability of non cotisation articles in facture creation. 2021-01-24 16:36:16 +01:00
Hugo Levy-Falk
0051099267 Fix acl when viewing history of deleted object or all history. 2021-01-24 16:36:16 +01:00
Hugo Levy-Falk
652982941a Fix can_view_app 2021-01-24 16:36:16 +01:00
Hugo Levy-Falk
f4c5101b35 Fix history acl 2021-01-24 16:36:16 +01:00
Hugo Levy-Falk
360458541a Fix can_view_all so it actually does its job. 2021-01-24 16:36:16 +01:00
Gabriel Detraz
d5831c5f1f The reset_passw function should not set as not yet active users that have already been flaged active 2021-01-24 16:36:16 +01:00
3a386b90ae Add exception name 2021-01-24 16:36:16 +01:00
546656e9f9 Fix of about page crash if no president or CGU file 2021-01-24 16:36:16 +01:00
Gabriel Detraz
0df3542ec1 Fix port edition crash with new convention for *_id 2021-01-24 16:36:16 +01:00
Gabriel Detraz
8182505fd2 Replace full_clean with simple clean, fix interface registering on multi-database 2021-01-24 16:36:16 +01:00
Gabriel Detraz
0f4067478f Add reply_to field on tickets comment 2021-01-24 16:36:16 +01:00
chirac
c5dca80703 Update comments models.py 2021-01-24 16:36:16 +01:00
Gabriel Detraz
383aaf3132 Don't use disabled ip for administration purpose 2021-01-24 16:36:16 +01:00
Gabriel Detraz
2d6d1a6024 Fix acl on check pseudo change by user 2021-01-24 16:36:16 +01:00
Gabriel Detraz
fbc718bf3c Update, need pil for radius 2021-01-24 16:36:16 +01:00