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

783 commits

Author SHA1 Message Date
Hugo Levy-Falk
11028140d9 feat: Move LDAP to an optional app.
The Entire LDAP infrastructures now relies on signals rather than direct function calls and is in its own app. This means it can be deactivated, but also that we can easily plug new services in addition to LDAP, such as OAuth.

Closes issue #270
2021-01-24 16:37:10 +01:00
Hugo Levy-Falk
04b3d3b35f Fix migration conflict with reversion. 2021-01-24 16:37:10 +01:00
Hugo Levy-Falk
f523118f3a removed dead code. 2021-01-24 16:37:10 +01:00
Hugo Levy-Falk
83473aee84 LDAP 2021-01-24 16:37:10 +01:00
Hugo Levy-Falk
5107a4987f Foreign keys 2021-01-24 16:37:09 +01:00
Hugo Levy-Falk
937f2cf16c Fix miscellanous model creation mistakes. 2021-01-24 16:37:09 +01:00
Hugo Levy-Falk
392ea8afbc Fix dependecies graph creation. 2021-01-24 16:37:09 +01:00
Hugo Levy-Falk
77f5b66329 fix dependencies names 2021-01-24 16:37:09 +01:00
Hugo Levy-Falk
9b1f06eae5 Users models creation. 2021-01-24 16:37:09 +01:00
Hugo Levy-Falk
b9ce083c88 Fix fucking Js 2021-01-24 16:37:09 +01:00
chirac
9669ab6851 Unlogged->LoggedOut 2021-01-24 16:37:09 +01:00
chirac
bdf1a14f71 Add an unlogged view for registration view 2021-01-24 16:37:09 +01:00
chirac
e3445b6a60 Move new autocomplete widgets on widget file 2021-01-24 16:37:09 +01:00
chirac
287df2d1f0 Return True when list is returned 2021-01-24 16:37:09 +01:00
chirac
4c984a3975 Black on files 2021-01-24 16:37:09 +01:00
chirac
89cd0ac856 Remove useless imports 2021-01-24 16:37:09 +01:00
chirac
331a75d77a Add club manager acl for user search 2021-01-24 16:37:09 +01:00
chirac
303531fed3 Add custom can_list acl for unpriviged views 2021-01-24 16:37:09 +01:00
chirac
c4429a8f1c Remove massive_bf_form 2021-01-24 16:37:09 +01:00
chirac
89ca6d231f Replace get_queryset with filter_results 2021-01-24 16:37:09 +01:00
chirac
4df53ca902 Add can_list acl, move views autocomplete mixins to re2o/views.py 2021-01-24 16:37:09 +01:00
chirac
033921669e Autocomplete for club edition 2021-01-24 16:37:09 +01:00
chirac
131ee346c5 Improved filter for user search 2021-01-24 16:37:09 +01:00
chirac
ec4ddb12e6 Remove and replace massive_bootstrap; forms change for autocomplete 2021-01-24 16:37:09 +01:00
chirac
639aa86684 Add views and urls for autocomplete on user app 2021-01-24 16:37:09 +01:00
681d7f10b2 Fix display theme on profile 2021-01-24 16:37:09 +01:00
Hugo Levy-Falk
bc644fd32e Fix club edit and add some documentation on that error. 2021-01-24 16:37:09 +01:00
69f78d8c60 Ça se dit Rézo Metz 'tain 2021-01-24 16:37:09 +01:00
432e531e67 Links and translations 2021-01-24 16:37:09 +01:00
0202a77799 Translations 2021-01-24 16:37:09 +01:00
682d824121 Add custom themes 2021-01-24 16:37:09 +01:00
6d2ad5b00e Refactor navbar and general frontend.
The menus of the navbar is reorganized
The footer is changed into a navbar
The right sidebar is placed to the left
The left sidebar is deleted
Header navbar and leftsidebar are now fixed
Physical grouing is split into 4 views
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
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
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
5673b199c5 split query into two filters 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
Hugo Levy-Falk
652982941a Fix can_view_app 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
Gabriel Detraz
2d6d1a6024 Fix acl on check pseudo change by user 2021-01-24 16:36:16 +01:00
Gabriel Detraz
7824083a55 Translation of user app views + remove trailing spaces 2021-01-24 16:36:16 +01:00
Gabriel Detraz
564851feda Final translation of users app 2021-01-24 16:36:16 +01:00
Gabriel Detraz
55bf1a9077 Translation of docstrings in user admin and forms 2021-01-24 16:36:16 +01:00
Gabriel Detraz
32aa0572f1 Refactor serviceuser admin 2021-01-24 16:36:16 +01:00