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

120 commits

Author SHA1 Message Date
Alexandre Iooss
831e0c0690 Link to login page when logged out 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
f4c9ac19cf Override Django Contrib Auth templates
This override Django Contrib Auth templates to make them more integrated
with the user site.

More precisely the breadcrumb now redirects to the index page rather to
the Django Contrib Admin index page.

*It also fix a security vulnerability in Re2o.* Without this patch users
are able to request for a new password AND the existing login name. So
just with access to someone mail, it would be possible to hack into his
account.

And yes, Re2o implements another password system. But this one is not
disabled (see by yourself : https://intranet.crans.org/password_reset/).

This also is part of the Aube patch-set for Re2o and one of Aube goal is
to drop the custom admin password reset system and use the Django
Contrib Auth one.
2019-04-20 19:30:49 +02:00
Alexandre Iooss
56ec7a2df5 Update translation files 2019-02-12 09:12:45 +01:00
Alexandre Iooss
0d4b86f5c1 Make alternatives for favicon
Make alternatives for favicon to support a wider range of device.
It includes favicon for iOS, Android, MacOS touchbar.
It also fixes the favicon on Chromium/Chrome variants.
2019-01-28 11:12:05 +01:00
Laouen Fernet
4a8c161edc add translations for templates/ 2019-01-12 16:56:17 +01:00
Alexandre Iooss
3ed137cf31 Paginator styling and go to id feature 2019-01-01 18:53:11 +01:00
Alexandre Iooss
4de9c1efd2 Make URL hash control Bootstrap collapse 2019-01-01 18:53:11 +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
detraz
a743e90d88 Fix , next n'est pas bien remplie 2018-10-14 21:05:18 +02:00
Gabriel Detraz
cbc2a63c2a Fix login next + display ap 2018-10-14 20:18:12 +02:00
Alexandre Iooss
6faa1931c7 Delete handlebars JavaScript library
It seems this library is useless and might even interfere with Django
templates during debug if something isn't rendered properly.
2018-10-06 11:31:35 +02:00
Alexandre Iooss
129d22d7c5 Change Glyphicon to Font Awesome on login page 2018-09-28 12:37:49 +02:00
Alexandre Iooss
7f6e300033 Fix right sidebar when user is disconnected 2018-09-27 22:35:04 +02:00
Alexandre Iooss
b6e4344893 Fix JavaScript not being load before the code using it. 2018-09-24 17:20:55 +02:00
Alexandre Iooss
8492b8c59b Remove "next" in login template
The next field isn't used at all so this removes the associated dead code.
Also it removes the double error messages when an error occures in the form.
2018-09-22 10:15:51 +02:00
Alexandre Iooss
0ef6ec5b28 Sapphire.js cleanup
Make sapphire.js follow new javascript conventions. Also fix a dirty JS
in base.html.
2018-09-22 10:15:51 +02:00
Alexandre Iooss
033c22bf1d Fix other font-awesome icons 2018-09-22 10:15:51 +02:00
Alexandre Iooss
dabf484422 Change base layout
Make CSS a bit cleaner and remove useless separator.
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
0472f913fa Translation of templates/ (front) 2018-08-18 12:16:31 +02:00
Hugo LEVY-FALK
d6091d117c Custom invoices. 2018-08-16 00:06:35 +02:00
grisel-davy
ec0b47ac05 réorganisation des onglets dasn la navbar 2018-08-12 18:30:54 +02:00
grisel-davy
c7a1d38b53 on ne voit la barre de recherche qu'avec les droits suffisants 2018-08-12 18:30:54 +02:00
Charlie Jacomme
b24ef60d6a Preferences renamed in administration 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
grisel-davy
0338b58a6c fichiers oubliés 2018-08-01 18:52:42 +02: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
c7bf295838 i18n sur le title du bouton historique 2018-07-22 22:18:31 +02:00
Hugo LEVY-FALK
8d6439f13b Regroupement avec l'erreur 500. 2018-07-20 20:12:03 +02:00
Hugo LEVY-FALK
2ee17b370b Passage par flags plutôt que par valeurs 2018-07-20 19:54: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
f8796c6d04 Fix #24 : adds a 404 page. 2018-07-17 00:34:27 +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
aa6fa036e8 Include logo in navbar, favicon and ogp image 2018-06-22 19:22:38 +00:00
Maël Kervella
60337ee203 Add CTRL+K and CTRL+L shortcuts 2018-05-09 15:03:15 +00:00
Maël Kervella
8c2b2ca8df Fix #111 properly 2018-05-03 12:57:43 +00:00
Maël Kervella
8003634563 Add warning button: translation in dev 2018-04-18 20:13:11 +00:00
Maël Kervella
9569e22df9 Set language button 2018-04-18 15:49:03 +00:00
Maël Kervella
e3209d77dc Encode Error 500 image into base64 2018-04-15 18:20:33 +00:00
Maël Kervella
1225af69bd Add custom Error 500 page 2018-04-15 17:30:46 +00:00
Maël Kervella
7d54c10c29 Add many information on about page 2018-04-11 11:41:00 +00:00
Gabriel Detraz
e3830a6099 Nouveaux dropdown dans la bar 2018-03-28 00:10:22 +02:00
grisel-davy
7f58182b04 Le bouton est maintenant en vert, moins confusant. 2018-03-20 17:28:31 +01:00
klafyvel
26e87451a1 Merge branch 'navbar' into 'master'
Passage à fontawesome

See merge request federez/re2o!96
2018-03-08 08:20:39 +01:00
8cd7ed1a54 Modification de la navbar et passage sous font awesome 2018-03-07 11:45:03 +01:00
496a7ab6a0 Ajout du bouton navbar 2018-03-06 17:04:57 +01:00