8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2025-01-11 02:34:28 +00:00
Commit graph

468 commits

Author SHA1 Message Date
f5de596dff Fix of about page crash if no president or CGU file 2020-08-15 12:51:10 +02:00
788a1efee0 Suppression of ldap settings in default settings 2020-06-07 18:05:59 +02:00
5aa4c08a56 Add default values for local settings 2020-06-07 17:17:01 +02:00
Gabriel Detraz
9fa2879d88 First step of docstring translation 2020-06-01 18:21:19 +02:00
Gabriel Detraz
48b084e047 Fix, add a possible local_routers.py file for routers database use 2020-05-21 18:34:42 +02:00
Leila
d94f7b44a3 Add thumbnail to user model 2020-05-17 12:51:05 +02:00
Hugo Levy-Falk
d8b6a7dab1 Allow ACL to be used for two instances of the same model. 2020-04-30 19:59:42 +02:00
de23ed7e03 Improve display of deleted objects in history 2020-04-25 11:09:22 +00:00
13cb3f7990 Make RelatedHistory cleaner 2020-04-25 12:59:01 +02:00
Jean-Romain Garnier
37f87d6487 Remove detaild_history.html file 2020-04-25 12:45:36 +02:00
e537143efc Add missing translations 2020-04-25 01:43:25 +02:00
6371f11536 Add missing translations 2020-04-23 19:28:15 +00:00
4731e7da02 Add missing translations for detailed history 2020-04-23 18:13:37 +00:00
Hugo Levy-Falk
6d3c86f99c Rebase dev 2020-04-23 17:01:07 +02:00
91cee11297 Add missing translations in logs 2020-04-22 23:25:19 +02:00
Jean-Romain Garnier
5c56abcbd5 Comment SESSION_COOKIE_AGE setting 2020-04-22 12:30:06 +02:00
5107a34a6e Add missing translations 2020-04-21 19:48:59 +00:00
Hugo Levy-Falk
a3b352b29d Fix #98 2020-04-21 17:37:17 +02:00
Gabriel Detraz
436640d205 Give to django main user personnal fields 2020-04-19 23:07:32 +02:00
Gabriel Detraz
96d5b05c84 Enforce password policy example file 2020-04-19 23:07:32 +02:00
Gabriel Detraz
6e7b2d75ed Validate password using django settings password validator 2020-04-19 23:07:32 +02:00
f3ae1973a1 Catch socket exceptions in mail_send 2020-04-19 20:06:33 +00:00
d0777187f7 Move both send_mail utils to same file 2020-04-19 21:15:07 +02:00
c0ae68490c Also catch ConnectionError when sending mails 2020-04-19 21:13:31 +02:00
1b64c8f95b Add translation for email error message 2020-04-19 18:21:38 +00:00
561315541e Move mail util function to seperate file 2020-04-19 20:15:23 +02:00
7cb869809e Make emails throw timeout errors, and gracefully handle them 2020-04-19 20:06:34 +02:00
739197d99f Add translations for advanced search email filter 2020-04-19 15:15:40 +00:00
d1365e2c9e Make call to remove_user_room cleaner 2020-04-19 01:13:35 +02:00
f3d8b70213 Add translations for statistics 2020-04-17 23:40:01 +00:00
227511504e Fix translations 2020-04-17 22:52:30 +00:00
43eadaa712 Replace STATE_EMAIL_NOT_YET_CONFIRMED with an email_state 2020-04-17 17:35:24 +02:00
8728bc69f5 Create EMAIL_NOT_YET_CONFIRMED state 2020-04-16 22:07:25 +02:00
Hugo Levy-Falk
d1d3542828 update contributors for 2.8 2019-12-28 12:56:07 +01:00
83a6dea5c9 Add pagination in search results 2019-12-06 00:01:13 +00:00
Laouen Fernet
e26d21064e Improve internationalisation for email templates, scripts, commands and error messages 2019-11-24 23:27:57 +01:00
Laouen Fernet
90ff281d80 Edit translations in re2o 2019-11-24 23:27:56 +01:00
Laouen Fernet
b5769bb1f8 Mark strings for translation in re2o 2019-11-24 23:27:55 +01:00
755e95e644 Fix massive fields sending incorrect data in POST request 2019-11-24 22:10:55 +00:00
Hugo Levy-Falk
c4a104b3b6 I like my black.
Just ran black on the whoe repository. Fix #210.
2019-11-04 22:47:24 +01:00
Gabriel Detraz
6a590570c5 Fix delete_set form 2019-10-16 12:23:01 +02:00
Gabriel Detraz
aabacec83a Filter safe for info asso 2019-10-10 22:23:00 +02:00
Gabriel Detraz
e38e304087 Display legal notice 2019-10-10 22:23:00 +02:00
Gabriel Detraz
6617d6a000 Fix affichage dans le dropdown adapté 2019-10-01 22:47:30 +02:00
Gabriel Detraz
6d76d0a5f7 Contact view on optional app... is optionnal 2019-10-01 22:47:30 +02:00
Hugo Levy-Falk
a9194b405a Hello Lara :D
Just ran `find /var/www/re2o \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i 's/Goulven/Lara/g'`.
2019-10-01 13:37:56 +02:00
klafyvel
657ef77bfe Remove contributor levy arcas 2019-09-24 00:44:16 +02:00
Hugo Levy-Falk
42053ac384 Radius installation. 2019-09-19 23:01:30 +02:00
Hugo Levy-Falk
8df5a05d89 Do not display unnecessary warnings. 2019-09-19 22:55:16 +02:00
Hugo Levy-Falk
a9ebe331dd Fix #54 2019-09-19 22:55:16 +02:00
Hugo Levy-Falk
9161e0f7e3 Reusable acl error messages. 2019-09-08 15:17:17 +02:00
Hugo Levy-Falk
04abc64cc9 Better error messages. 2019-09-08 15:17:17 +02:00
Hugo Levy-Falk
104d5b1d47 Adapt templatetags to new acl API. 2019-09-08 15:17:17 +02:00
Hugo Levy-Falk
592b969129 Helpful acl messages for default mixin. 2019-09-08 15:17:17 +02:00
Hugo Levy-Falk
eaf9609024 helpful acl messages structure 2019-09-08 15:17:17 +02:00
Hugo Levy-Falk
8f5b302cbf Translation for GTU check. 2019-09-05 22:03:45 +02:00
Hugo Levy-Falk
919484683e Do not fail on ACL with unauthenticated users. 2019-09-05 19:16:37 +02:00
Hugo Levy-Falk
6a44a32ecd Fix Login, Django 1.11 changed their API. 2019-09-05 18:52:40 +02:00
Grizzly
3a5fad0287 Separation des lists d'apps optionnelles pour eviter les erreurs d'import d'urls non présents 2019-08-11 20:30:54 +00:00
Grizzly
a0dcda6975 Vues cannoniques navbar et adresses de contact 2019-08-11 19:24:40 +02:00
Grizzly
18a97caa56 Changement de noms et commit du template 2019-08-11 19:24:40 +02:00
Grizzly
6440ac48e8 Inclusion des apps optionnels dans le navbar (je sais pas trop pourquoi ça marche ça risque de casser) 2019-08-11 19:24:40 +02:00
Grizzly
575e570d16 Cannonisation de l'affichage des apps optionnels sur le profil et imports conditionnels dans les urls 2019-08-11 19:24:40 +02:00
Grizzly
790b43ccc3 Affichage propre d'un ticket simple 2019-08-11 19:24:40 +02:00
Grizzly
f054c0a2af Premiere vue d'affichage des tickets 2019-08-11 19:24:40 +02:00
Fardale
4a14d6480c fix md5 password verification function 2019-07-07 13:06:23 +02:00
Fardale
074b944246 fix crypt password verification function 2019-07-07 13:06:23 +02:00
Alexandre Iooss
e900ce0d0d Fix login screen not being redirected 2019-04-20 19:30:49 +02:00
Alexandre Iooss
10c6a268d2 Add customisation to Django Contrib Admin
The default theme of Django Contrib Admin is not really great. This
theme the Django Admin with Re2o logo and colors.

It also comes with a new dynamic-generated menu to navigate in the admin
interface.

A new index page override the global index of Django Contrib Admin to
prepare for new features.

This patch is part of the Aube patchset for Re2o, targeting the use of
Django Contrib Admin as a manage interface for active members.
2019-04-20 19:30:49 +02:00
Alexandre Iooss
a7d7cbd261 Add a logout confirmation
This patch remove the custom rule in router responsible to redirect
logout to index page and place a template with pre-translated strings.

This is part of Aube patchset for Re2o to unify the login procedure with
Django Contrib Auth.
2019-04-20 19:30:49 +02:00
Alexandre Iooss
58196cadad Redirect Django Contrib Admin login page
Without this patch, Re2o has two login screen with different
features.

This patch redirects `/admin/login/` to the login page.

This patch is part of the Aube patchset for Re2o. This helps in the goal
to unify the login process and drop the custom login page.
2019-04-20 19:30:49 +02:00
Maxime Bombar
458fe2f505 Correct http response status code 2019-04-15 10:00:38 +02:00
detraz
9053a752b1 New argument on all_adh and all_access including asso 2019-03-17 15:23:51 +01:00
detraz
c9b84047d2 Change les variables type en name ou machine_type pour éviter les confusions 2019-03-03 17:28:33 +01:00
detraz
8d799ed92d Create dormitory with buildings 2019-02-18 21:11:51 +01:00
Alexandre Iooss
56ec7a2df5 Update translation files 2019-02-12 09:12:45 +01:00
Hugo LEVY-FALK
0a8335c375 Enable template selection for invoices. 2019-01-20 16:41:11 +01:00
Laouen Fernet
3f601d74d1 add translations for re2o/ 2019-01-12 16:56:16 +01:00
Hugo LEVY-FALK
2ea0d77eb2 Fix error message when failing to decode an aes_key. 2019-01-11 16:08:00 +01:00
Gabriel Detraz
97593920e5 Fix #150 : l'utilisateur asso et ses machines ont toujours accès à internet 2018-12-29 20:36:08 +01:00
detraz
fc18a37fbf Add start date recherche adhérents 2018-12-22 00:35:39 +01:00
Alexandre Iooss
29fb5dc848 Remove generated locales from git tree
Now compiled locale files (.mo) are generated on the server side.
This cleans up the git tree and make translation contributions much
easier to merge.

Please note that you will need to generate those files after each pull,
so remember to execute install_re2o.sh.
2018-12-10 13:14:56 +01:00
Gabriel Detraz
6c6330dd4d Séparation entre utils et base (dossier re2o) 2018-11-15 18:59:06 +01:00
Gabriel Detraz
caedb09d8f Fonction de check de l'alias via smtp 2018-11-15 17:15:19 +01:00
Gabriel Detraz
6e08d3f415 Récupération correcte du sel dans le mot de passe encodé 2018-11-15 16:44:50 +01:00
Gabriel Detraz
7e0d5fdbce Bug fix, le chiffrement/déchiffrement AES marche en python2 aussi 2018-11-08 02:48:33 +01:00
Fardale
faf3b16018 add compile file …... . . . 2018-11-03 13:21:09 +01:00
Alexandre Iooss
1f35e6340b Update gen_contrib.py to match current contributors.py
Now `manage.py gen_contrib` generates a contributors.py matching the
already existing format. It normalizes names to make the list more
enjoyable.

Before using this to seriously generate contributors.py we need to
figure out a way to add pseudo names, or tell everyone to change their
name on GitLab.
2018-09-23 23:31:26 +02:00
Alexandre Iooss
67a7b2b325 Change Rézo Supélec Metz en Rézo Metz 2018-09-22 10:15:51 +02:00
Alexandre Iooss
4a4ba06112 Use debian font-awesome
Rather than going online, use fonts-font-awesome debian package. Also
icons were updated to font-awesome 4.7.0 (in debian 9).
2018-09-22 10:15:51 +02:00
Alexandre Iooss
e571751c70 Fix footer and about
* Rather than using href="\\host/about/" in page footer, use
  href="protocol://host/about/"

* The old footer uses hacks to be staticly on the bottom. To make it
  much simpler one solution is to turn it white and use official
  Bootstrap code. This leads to less CSS to maintain and better
  cross-browser compatibility.

* On re2o about page (/about/) there is some typos such as :
  * assocations > associations
  * legitlab > le gitlab

* Use Bootstrap navbar-static-top rather than custom CSS.
  The result is the same, so we should be better using directly
  Bootstrap CSS.
2018-09-22 10:15:51 +02:00
Laouen Fernet
1de72714d0 translation for commit f355175b + typos 2018-08-29 11:27:10 +02:00
Laouen Fernet
aa2d6365e7 translation 2018-08-23 15:12:16 +02:00
Gabriel Detraz
7f021621ad Marquage trad + fix si autoregister disabled 2018-08-23 02:18:44 +02:00
Gabriel Detraz
c7f00a1197 More clear welcome page 2018-08-23 02:03:50 +02:00
grisel-davy
615c20830f jout d'un message sur la page des services 2018-08-23 02:02:15 +02:00
Laouen Fernet
0193f474a0 Translation of re2o/ (front) 2018-08-18 12:16:31 +02:00
Hugo LEVY-FALK
d6091d117c Custom invoices. 2018-08-16 00:06:35 +02:00
Charlie Jacomme
382398a351 Produce newer hash upon login 2018-08-12 19:06:56 +02:00
Charlie Jacomme
80708e872e Fix messages for usage in API 2018-08-12 18:30:54 +02:00