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
Charlie Jacomme
7938c64a56
bug fix acl -> this system is not understanble, and is buggy
2018-08-12 18:30:54 +02:00
Charlie Jacomme
018dae90fa
update of footer and contributor text
2018-08-12 18:30:54 +02:00
Charlie Jacomme
2d41c8ba0b
update contributors
2018-08-12 18:30:54 +02:00
Charlie Jacomme
bb67127c3d
media_url bug fix
2018-08-12 18:30:54 +02:00
grisel-davy
93f4983fb9
Suppresion du cache qui permetait de voir d'autres user
2018-08-12 18:30:54 +02:00
Gabriel Le Bouder
e797eb89b2
templatetags python2 complient
2018-08-12 18:19:21 +02:00
Maxime Bombar
cd13c5240a
Allows to display a French or English general message based on user's language choice.
2018-08-12 17:59:18 +02:00
Gabriel Detraz
c6db3283ee
Headers python2
2018-08-09 11:15:57 +02:00
Gabriel Detraz
57b4d8ff74
Header pour execution en python2
2018-08-07 00:05:35 +02:00
David Sinquin
ca08234a81
login handler: Use constant-time comparaison for hashes.
...
An attacker knowing the salt but not the hash could try timming-attacks
to guess a password hash and then try to find it from the hash.
Although not a high risk, there is no good reason not to use a
constant-time comparison, hence this commit.
2018-08-04 22:57:03 +02:00
David Sinquin
3244a46d94
login handler: Various code cleanings with no impact.
2018-08-04 22:57:03 +02:00
Charlie Jacomme
fbb2c59722
Support old hashes, md5/crypt
2018-08-04 16:58:42 +02:00
Charlie Jacomme
5dab70ccee
Add machines.models.Role
2018-08-02 23:28:43 +02:00
Laouen Fernet
0ed68194d7
add model PortProfile
2018-08-02 20:29:14 +02:00
David_5.1
19da3ce341
Remove useless space.
2018-08-01 18:57:17 +02:00
chirac
98c1e8cfe1
Remove 5 indentation views.py
2018-08-01 18:57:17 +02:00
chirac
8abff4c35c
Update contact.html
2018-08-01 18:57:17 +02:00
chirac
5b61d8991e
Update views.py
2018-08-01 18:48:23 +02:00
Grizzly
15571e79a1
oubli du fichier urls
2018-08-01 18:48:23 +02:00
grisel-davy
5c1d2a6b90
Page de contact coté utilisateur
2018-08-01 18:48:23 +02:00
grisel-davy
38edf3b0eb
Création, modification, suppression d'adresses mail de contact
2018-08-01 18:48:23 +02:00
chirac
53079c0a9e
Fix acl.py lower
2018-07-28 23:13:51 +02:00
Hugo LEVY-FALK
b5513db8ae
Suppression du dictionnaire de mort dans re2o/templatetags/acl.py
2018-07-26 20:11:13 +02:00
Grizzly
2e1f4fa425
deplacement du templatetags et nettoyage du template
2018-07-23 13:17:29 +00:00
chirac
a84e8b5575
Merge branch 'fix_65_history' into 'master'
...
fix #65 , gestion propre de l'historique.
Closes #65
See merge request federez/re2o!186
2018-07-22 22:22:19 +02:00
Hugo LEVY-FALK
8d6439f13b
Regroupement avec l'erreur 500.
2018-07-20 20:12:03 +02:00
Hugo LEVY-FALK
6b945bf322
fix #65 , gestion propre de l'historique.
2018-07-19 12:30:15 +02:00
Hugo LEVY-FALK
17da4a52dc
Support de postgreSQL pour AESENCryptedField
2018-07-12 14:42:13 +02:00
Hugo LEVY-FALK
f99d2cef60
Rend le aes_field disponible pour tout le monde et mon chibracounet facilement
2018-07-12 14:42:13 +02:00
Maël Kervella
08157c4565
Add context processor to get the current date
2018-07-12 12:19:26 +00:00
Maël Kervella
c82e17d5fd
Add support for django-debug-toolbar
2018-06-24 22:09:36 +00:00
klafyvel
17f3867371
Merge branch 'master' into 'clean_api_duplicate'
...
# Conflicts:
# CHANGELOG.md
2018-06-24 22:57:15 +02:00
Maël Kervella
6367944a5e
Translate base HTML page
2018-06-23 17:12:32 +00:00
Maël Kervella
ceb2c86d74
Fix #60 : Change context variable so it does not get overriden by django-auth views
2018-06-22 19:22:40 +00:00
Maël Kervella
55c1da241a
Support translation on home page
2018-06-22 19:22:40 +00:00
Maël Kervella
6b777754e5
API: Add tests
2018-06-20 11:38:58 +00:00
Maël Kervella
6562f32ebf
Add token authentication with expiration of tokens
2018-06-20 11:38:58 +00:00
Maël Kervella
0c7e944b07
Add permission for API view
2018-06-20 11:38:58 +00:00
Maël Kervella
510a0c9b43
Isolate API settings from project settings
2018-06-20 11:38:58 +00:00
Maël Kervella
d190ef00ce
Std API for user
2018-06-20 11:38:58 +00:00
Maël Kervella
e4e592a71a
Ajoute une fonction 'update-settings' + cleanup
2018-05-23 15:31:58 +00:00
chirac
fbd7c3de49
Revert "Merge branch 'fix_room_force_move_in' into 'master'"
...
This reverts merge request !161
2018-05-14 23:58:05 +02:00
Gabriel Detraz
eebb02c989
Merge branch 'master' into graph_topo
2018-05-14 20:38:37 +02:00
Hugo LEVY-FALK
de75e7bb27
Utilisation du packet debian pour bootstrap
2018-05-13 17:54:48 +02:00
dc999b80b5
Utilisation du paquet Debian pour le js
2018-05-13 17:54:48 +02:00
39e96bc53d
Datetimepicker pour les bans et whitelists
2018-05-13 17:54:48 +02:00
Gabriel Detraz
c62a1ac30e
Merge branch 'master' into graph_topo
2018-05-11 19:27:27 +02:00
Gabriel Detraz
e690292e77
Merge branch 'master' into graph_topo
2018-05-11 18:54:28 +02:00
chirac
d27d670571
Merge branch 'validation' into 'master'
...
Fix #100 : validation des factures plus explicite
Closes #100
See merge request federez/re2o!158
2018-05-10 22:33:19 +02:00
lebouder
f88597967d
Fix #100 : validation des factures plus explicite
2018-05-10 22:28:27 +02:00
chirac
e064db626d
Merge branch 'Fix_116' into 'master'
...
Fix #116 : Remove default SOA in Extension & Force reversion context
Closes #116
See merge request federez/re2o!147
2018-05-10 21:51:26 +02:00
Hugo LEVY-FALK
5c254fa026
factorise les can_view_app
2018-05-07 22:01:32 +02:00
Hugo LEVY-FALK
664fb7ae00
Utilisation de inutile.
2018-05-07 20:24:04 +02:00
Hugo LEVY-FALK
f7d7a41586
Autorise plusieurs apps dans can_view_app
2018-05-07 19:33:06 +02:00
Hugo LEVY-FALK
84a901e3fc
Documentation des décorateurs d'ACL
2018-05-07 18:57:08 +02:00
Hugo LEVY-FALK
586321fd8a
Un seul décorateur pour les gouverner (presque) tous.
2018-05-07 17:22:00 +02:00