8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-30 08:32:26 +00:00
Commit graph

189 commits

Author SHA1 Message Date
ac53084695 Improve handling of detailed history button 2021-01-24 16:33:32 +01:00
9d925c4b17 Fix backward compatibility for logs view 2021-01-24 16:33:32 +01:00
4f9bf2d211 Fix _repr definition for InterfaceHistoryEvent 2021-01-24 16:33:32 +01:00
9725da0307 Add pretty representation of objects in InterfaceHistory 2021-01-24 16:33:32 +01:00
e0d0be2c9b Fix InterfaceHistory.get 2021-01-24 16:33:32 +01:00
f6fdaa7007 Add missing parameter to get_history_object call 2021-01-24 16:33:32 +01:00
4ce58ddb3f Add view for InterfaceHistory 2021-01-24 16:33:32 +01:00
d8ba042497 Fix history inheritence 2021-01-24 16:33:32 +01:00
9a358dae42 Create InterfaceHistory 2021-01-24 16:33:32 +01:00
17ee6a6caa Rename MachineHistory to MachineHistorySearch 2021-01-24 16:33:32 +01:00
a25637bb35 Fix typo in UserHistoryEvent.__repr 2021-01-24 16:33:32 +01:00
ab0ce03b81 Add detailed history for Adherent and Club objects 2021-01-24 16:33:32 +01:00
Hugo Levy-Falk
7ddbc02835 Rebase dev 2021-01-24 16:33:32 +01:00
156a069238 Improve user history view event format 2021-01-24 16:33:32 +01:00
7ed004f564 Improve event representation in user history 2021-01-24 16:33:32 +01:00
d3e681a0ef Fix displaying new user history view 2021-01-24 16:33:32 +01:00
cbf688b640 Create specific view for user history 2021-01-24 16:33:32 +01:00
6d8fa42487 Fix comments for machine history view and model 2021-01-24 16:33:32 +01:00
d5e0494663 Fix number of results in pagination for machine history 2021-01-24 16:33:32 +01:00
3e52ac48d6 Add pagination for machine history results 2021-01-24 16:33:32 +01:00
c891e52118 Add missing translations in logs 2021-01-24 16:33:32 +01:00
a9f587ba18 Fix date check in machine history display 2021-01-24 16:33:32 +01:00
bc688d39f9 Handle dates more gracefuly in machine history view 2021-01-24 16:33:32 +01:00
fa439f9e9c Fix date compare in machine history view 2021-01-24 16:33:32 +01:00
8aacef28f3 Add link to machine history view 2021-01-24 16:33:32 +01:00
a03047a6ae Handle empty dates in machine history results view 2021-01-24 16:33:32 +01:00
8d25dd3731 Tweak machine history results view 2021-01-24 16:33:32 +01:00
b085c006bb Improve machine history results view 2021-01-24 16:33:32 +01:00
448d9dbd92 Add comments to logs/models.py 2021-01-24 16:33:32 +01:00
7bce33a84f Fix machine history views 2021-01-24 16:33:32 +01:00
ec22065a34 Add views to get IP / MAC history 2021-01-24 16:33:32 +01:00
a1d35a2c9b Add missing translations 2021-01-24 16:33:32 +01:00
fa95625205 Add translation for email error message 2021-01-24 16:33:31 +01:00
449e1f8721 Add translations for advanced search email filter 2021-01-24 16:33:31 +01:00
51c81886b5 Add translations for statistics 2021-01-24 16:33:31 +01:00
23a5bd05e7 Add email state statistics 2021-01-24 16:33:31 +01:00
2ed3b2ac31 Fix translations 2021-01-24 16:33:31 +01:00
dc235b363c Remove unused translation 2021-01-24 16:33:31 +01:00
4803417bca Replace STATE_EMAIL_NOT_YET_CONFIRMED with an email_state 2021-01-24 16:33:31 +01:00
Jean-Romain Garnier
81b6b999be Revert "Create STATE_SUSPENDED"
This reverts commit 2aef2ae3fa.
2021-01-24 16:33:31 +01:00
0dcd8b79e2 Create STATE_SUSPENDED 2021-01-24 16:33:31 +01:00
14fe70c762 Add missing translations 2021-01-24 16:33:31 +01:00
64626335d2 Create EMAIL_NOT_YET_CONFIRMED state 2021-01-24 16:33:31 +01:00
Laouen Fernet
489a564ce8 Edit translations in logs 2019-11-24 23:27:56 +01:00
Laouen Fernet
07ce7bd8a7 Mark strings for translation in logs 2019-11-24 23:27:55 +01: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
9c28662058 Fix display affichage date summary 2019-10-29 17:49:23 +01: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
6c476f080e Better naming 2019-09-19 23:14:33 +02:00
Gabriel Detraz
17704fce9c Fix can_view extra arg for logs 2019-09-19 23:10:43 +02:00
Hugo Levy-Falk
04abc64cc9 Better error messages. 2019-09-08 15:17:17 +02:00
Hugo Levy-Falk
8f5b302cbf Translation for GTU check. 2019-09-05 22:03:45 +02:00
detraz
9053a752b1 New argument on all_adh and all_access including asso 2019-03-17 15:23:51 +01:00
Gabriel Detraz
706903f8c9 Add new full_archive state for user 2019-03-17 03:24:20 +01:00
Alexandre Iooss
56ec7a2df5 Update translation files 2019-02-12 09:12:45 +01:00
Laouen Fernet
9683e0d688 add translations for logs/ 2019-01-12 16:56:15 +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
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
detraz
52f3d4d550 Not yet member, possibilité de trouver les users pas encore adhérents 2018-09-08 21:17:08 +02:00
Hugo LEVY-FALK
dfc765f5e5 Fais la distinction entre un baseinvoice avec et sans objet facture. 2018-08-23 23:11:01 +02:00
Laouen Fernet
f6130c2335 Translation of logs/ (front) 2018-08-18 13:38:17 +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
fa6614adb5 i18n pour l'historique 2018-07-19 12:43:19 +02:00
Hugo LEVY-FALK
6b945bf322 fix #65, gestion propre de l'historique. 2018-07-19 12:30:15 +02:00
Maël Kervella
e5f9b634a0 Remove logs/stats_droit 2018-07-12 11:56:07 +00:00
Hugo LEVY-FALK
a61d8d6ebd Factorisation des décorateurs ACL dans les vues. Fix #121 2018-05-07 19:43:53 +02:00
Hugo LEVY-FALK
9d79ffb5ca Plus de BÔTÉ dans l'affichage des superusers 2018-05-03 14:08:05 +02:00
Maël Kervella
2114a6ebba Pylint compliance on logs 2018-04-15 10:52:26 +00:00
Maël Kervella
0c8bb61574 Pep8 compliance on logs 2018-04-15 10:52:26 +00:00
Maël Kervella
91faad5806 Replace Object.PRETTY_NAME with Object._meta.verbose_name.title()
This is cleaner and closer to the way Django recommends to define names
for the objects.
2018-04-10 13:47:38 +00:00
Gabriel Detraz
3affe08d29 Factorisation de paginator + pagination des machines dans profil 2018-04-03 05:01:01 +02:00
Gabriel Detraz
2966547b19 Paginateur sur school + tableaux responsives + fix divers 2018-03-27 23:56:46 +02:00
Gabriel Detraz
50d04b0ae2 Fix divers 2018-03-25 23:02:03 +02:00
Gabriel Detraz
81ec19ecce Del code mort 2018-03-25 16:23:02 +02:00
grisel-davy
fd35836f47 finalisation de la page de gestion des droits 2018-03-24 19:42:17 +01:00
grisel-davy
53dc43f586 Création de la page d'administration des droits des users 2018-03-24 00:51:54 +01:00
8cd7ed1a54 Modification de la navbar et passage sous font awesome 2018-03-07 11:45:03 +01:00
Gabriel Detraz
58605ae3ff Optimisation chargement des variables de conf et ipv6 2018-01-30 23:09:00 +01:00
Gabriel Detraz
2c6697a269 Compatibilité python2 2018-01-07 02:30:01 +01:00
Gabriel Detraz
dd4a695dcf Gestion de la page des logs avec has_perm 2018-01-06 18:00:22 +01:00
Gabriel Detraz
68e954db3c Utilise has_module_perms, bien pratique 2018-01-06 18:00:08 +01:00
Gabriel Detraz
90b55b6dc8 Suppression de right et utilisation du système django 2018-01-06 18:00:08 +01:00
LEVY-FALK Hugo
f842856878 ACL sur les templates de logs. 2018-01-06 17:57:40 +01:00
LEVY-FALK Hugo
dc38c32ad4 ACL dans un fichier dédié dans chaque application. 2018-01-06 17:57:40 +01:00
LEVY-FALK Hugo
eb8b2745d8 can_xxx sur les vues de logs. 2018-01-06 17:57:39 +01:00
FERNET Laouen
2b5a9f7cc1 Fix #28 : ajouter paginator en bas de page 2017-11-14 22:23:39 +01:00
root
5dc44a7136 Merge branch 'master' into reverse_url 2017-11-04 19:52:08 +01:00
Gabriel Detraz
31234e7178 Rajoute des données en statistiques 2017-10-27 02:44:38 +02:00
LEVY-FALK Hugo
42c364fb9a Utilisation de reverse dans les vues. 2017-10-26 17:58:41 +02:00
Maël Kervella
c029feeca5 Ajout de prefix sur tous les tableaux pour les différencier 2017-10-22 15:48:35 +00:00
Maël Kervella
3cc2c59335 Ajout du sort dans topo, logs, machines, cotisations
Ajout du sort sur les colones où ça avait un minimum de sens et où le
sort était basé sur des ORDER_BY de BDD.
Peut être certaines colones n'avaient pas besoin d'être triées mais tant
que c'est possible et pas illogique pourquoi ne pas le faire ?
2017-10-22 00:33:44 +00:00
chirac
1263784154 Menage 2017-10-15 03:47:17 +02:00
chirac
54fad989b3 Docstrings et pep8 sur logs 2017-10-14 04:17:42 +02:00
Maël Kervella
9e0ab9df33 Fix : Quand on retire un elt d'une liste, la taille de la liste diminue
Faisait crasher dans certains cas
2017-10-07 00:42:54 +00:00
Gabriel Detraz
e1d0a8ee29 Fix encodage et imports 2017-09-27 15:40:57 +02:00
Pierre Cadart
cbd6fe00a2 Merge branch 'tableau_de_bord' 2017-09-21 15:02:04 +00:00
Maël Kervella
a41ed5fe08 Fix rapidité, fait le tri (boucle for) après le paginator pour pas dépasser 20-25 elts dans la boucle for 2017-09-21 09:39:27 +00:00
Chirac
c57bf4f8a6 Merge branch 'tableau_de_bord' into 'master'
Tableau de bord

See merge request !9
2017-09-21 01:48:56 +02:00
Maël Kervella
689d0c7912 Utilisation de QuerySet pour selectionner les versions voulues
Optimise plutôt que de devoir faire une fat boucle for sur l'ensemble
Fix l'affichage du paginator
2017-09-18 22:46:57 +00:00