Commit Graph

1679 Commits

Author SHA1 Message Date
1a26a5f7ce Fix le bug sur les import users partiels
Fix un bug sur les roles non renseignéns
Adapte la taille des commentaires au contenu
2021-08-22 19:17:43 +02:00
21c4fb6451 Merge pull request 'scodoc9_import_utilisateurs' (#109) from jmplace/ScoDoc-Lille:scodoc9_import_utilisateurs into master
Reviewed-on: https://scodoc.org/git/viennet/ScoDoc/pulls/109
2021-08-22 17:20:02 +02:00
1de8cf4056 Fix: archive documents jury 2021-08-22 17:18:15 +02:00
cffcaa03ce synchro_etuds: plus d'exemples avec caractères spéciaux 2021-08-22 16:43:48 +02:00
edadbdf113 import utilisateurs à compléter: titre page de diagnostic et sendmail à cabler 2021-08-22 15:44:22 +02:00
96788d588e gestion responsables de semestres 2021-08-22 15:44:22 +02:00
c3d6c1f40f Fix desinscription 2021-08-22 15:36:17 +02:00
fcc28839c0 Fix choix étudiant 2021-08-22 14:23:58 +02:00
d8dfa0201e gestion responsables de semestres 2021-08-22 13:24:36 +02:00
9d5c0d96bd Change Redis cache config: infinite default TTL 2021-08-22 07:48:40 +02:00
12b903f02e disable PDF lock (unnecessary in ScoDoc 9) 2021-08-22 07:47:06 +02:00
a292830916 Abréviation du nom de feuille pour les cas connus de dépassement 2021-08-22 06:49:32 +02:00
2852255227 Fix: passage étudiants suivant/précédent en mode jury 2021-08-22 00:28:17 +02:00
3a1ac5adf5 typo: attribution des roles dans le formulaire utilisateurs + orthographe 2021-08-22 00:17:47 +02:00
02bc4399c4 enlève la possibilité de supprimer un utilisateur 2021-08-21 23:51:44 +02:00
6a66bbaf62 Fix: edition enseignants de modules 2021-08-21 23:45:48 +02:00
784867d51e Fix: req inscriptions aux modules (bug VG) 2021-08-21 23:01:20 +02:00
de88f4d9f8 Merge pull request 'limit sheetname length to 31 chars' (#106) from jmplace/ScoDoc-Lille:fix_excel_title_limitation into master
Reviewed-on: https://scodoc.org/git/viennet/ScoDoc/pulls/106
2021-08-21 22:58:16 +02:00
1171b6ad51 limit sheetname length to 31 chars 2021-08-21 20:14:32 +02:00
614810cf50 installation avec nginx + service scodoc9 2021-08-21 19:51:33 +02:00
09af326b03 Fix sur fonctions statistiques 2021-08-21 17:37:38 +02:00
ae46d29f01 modif gestion VERSION 2021-08-21 17:07:44 +02:00
3ca58019a4 formsemestre_recapcomplet: returned value 2021-08-21 16:51:08 +02:00
c22f4571fa Fix imports portails + petits bugs 2021-08-21 15:17:14 +02:00
e54e8147a8 Fix: retour après formulaire saisie notes 2021-08-21 13:40:47 +02:00
29b44ad5a4 Fix - test unitaires OK - bug saisie notes persistant 2021-08-21 12:23:00 +02:00
3254093b95 Merge branch 'master' of https://scodoc.org/git/viennet/ScoDoc 2021-08-21 10:14:28 +02:00
bd1603e829 add REQUEST parameter (fix VG bug 21/08 08:23) 2021-08-21 09:27:54 +02:00
b8cb462d9a rewritten query_portal using requests 2021-08-21 00:49:36 +02:00
494f84d4f2 fix: erreur edition formation (signalée par PB) 2021-08-21 00:29:13 +02:00
14991a2119 refactoring: élimination de 'context' (très frais, tests en cours). 2021-08-21 00:24:51 +02:00
2d7b2547b8 Merge branch 'master' of https://scodoc.org/git/viennet/ScoDoc 2021-08-20 10:53:44 +02:00
145ecd13b3 fix base64.encodestring (py3) 2021-08-20 10:53:24 +02:00
e61af69f6d refactoring 2021-08-20 10:51:42 +02:00
33391e7143 migration photo_import_from_zip 2021-08-20 09:52:11 +02:00
4f56b9210c fix affichahe titre role 2021-08-20 03:28:33 +02:00
be90a8d487 fixes pylint 2021-08-20 01:22:44 +02:00
3a8474f12d refactoring (context) 2021-08-20 01:09:55 +02:00
98ce5de732 commande de suppression de département (avec JMP) 2021-08-19 21:30:22 +02:00
24416e256d refactoring (context) 2021-08-19 10:28:35 +02:00
cfd54fbc88 Fix pour Python 3.9: cgi.parse_qs -> urllib.parse.parse_qs 2021-08-18 23:13:22 +02:00
086cb8f8f5 Fix: silently ignore unused pref names 2021-08-18 23:01:23 +02:00
a576dd2f39 Script install et doc pour Debian 11 2021-08-17 14:17:58 +02:00
47811943c1 fonction d'anonymisation 2021-08-17 08:49:19 +02:00
737f88988d typo 2021-08-16 22:48:22 +02:00
c40c806c63 Fix absences/cal 2021-08-16 22:41:09 +02:00
3d176a945f Fix: recherche etud, urls 2021-08-16 08:33:12 +02:00
504a15fc8c fixes: clonage et nouvelles versions programmes OK 2021-08-15 23:10:15 +02:00
357b6f1a7f insertions via notesdb dans tables sans ids 2021-08-15 22:51:04 +02:00
483df70465 Fix: url_for 2021-08-15 22:08:38 +02:00
1d1513f782 petits bugs variés 2021-08-15 21:33:47 +02:00
e61f4e0fe6 Fixes 2021-08-15 15:09:09 +02:00
f0c96e3e68 various fixes. Bulletins et saisie décision ok. 2021-08-15 15:01:13 +02:00
3dc94775a1 tests avec gunicorn 2021-08-15 10:42:08 +02:00
545274c562 fix for int ids 2021-08-15 09:55:35 +02:00
b93fd36446 Script d'import departement ScoDoc7 (ou 8.0) 2021-08-14 18:54:32 +02:00
432831140c Export/Import d'étudiant via fichiers xlsx.
Point délicats:
* Le message d'erreur pour une case vide était une exception python.
diagnostic: la création de l'étudiant dans la BDD se faisait avant le controle de la civilité et plantait quand None
correctif: ajout d'une methode _check_civilite (a cote des méthodes de contrôle d unicité de nip et d ine (sco_etud.py)
* Le format de date a changé entre pyExcelerator et openpyxl (réécriture de sco_excel.xldate_as_datetime)
le format xlxs d import précise qu'une date peut être spécifié soit en ISO soit sous forme d'un nombre.
c est testé avec des écriture de fichier xlsx depuis Excel 2019 et LibreOffice 7 (mais sans maitrise sur la forme de date utilisée)
par contre plantage si tentative de lire un fichier ods (fonction excel_bytes_to_list a fixer)
* Le renvoi vers la page de formation_id se faisait mal
correction: calcul de l'url (sco_import_etuds.py:245) et (scolar.py:1710 celle-ci peut être pas necessaire)
2021-08-14 10:12:40 +02:00
98747c3e8e Merge branch 'ScoDoc8' of https://scodoc.org/git/viennet/ScoDoc into onedb 2021-08-13 12:29:01 +02:00
7372a953fa file suffix 2021-08-13 12:28:38 +02:00
db717826c8 adaptation export feuille de préparation jury 2021-08-13 12:18:22 +02:00
8923720776 news par département 2021-08-13 11:26:22 +02:00
0b0259997f Liste des départements, page d'accueil 2021-08-13 09:31:49 +02:00
486f20d7f7 Base multi-départements. En cours 2021-08-13 00:34:58 +02:00
317d60d447 Merge branch 'ScoDoc8' of https://scodoc.org/git/viennet/ScoDoc into onedb 2021-08-12 14:55:53 +02:00
40db439904 oups 2021-08-12 14:55:25 +02:00
fa2f6ea168 Merge branch 'ScoDoc8' of https://scodoc.org/git/viennet/ScoDoc into onedb 2021-08-12 14:50:58 +02:00
fbdcf63c70 Fix: API sco_excel + suffix xslx 2021-08-12 14:49:53 +02:00
IDK
abb89640a7 Fix SVG/pydot for numeric ids 2021-08-12 14:31:15 +02:00
3a6b30d99d Merge branch 'ScoDoc8' of https://scodoc.org/git/viennet/ScoDoc into onedb 2021-08-12 13:17:34 +02:00
e8e1d2f2bb fix xlsx extension for exported file 2021-08-12 11:11:18 +02:00
ad4b5a135e listenotes ok 2021-08-11 14:00:39 +02:00
c3eb401fe1 Saisie notes + import excel 2021-08-11 13:01:37 +02:00
31b2e259a1 Merge branch 'ScoDoc8' of https://scodoc.org/git/viennet/ScoDoc into onedb 2021-08-11 11:57:14 +02:00
846bdfa8d8 Preferences OK 2021-08-11 11:53:20 +02:00
48ad4f3877 export/import notes ; gentables 2021-08-11 11:40:28 +02:00
055dcfea36 Bools. Edit formsemestre ok. 2021-08-11 00:36:07 +02:00
4a43e96fe9 Fixes - fiche utilisateur ok 2021-08-10 17:12:10 +02:00
77fc1c7de2 Merge branch 'ScoDoc8' of https://scodoc.org/git/viennet/ScoDoc into onedb 2021-08-10 14:12:17 +02:00
2a67e9827a pass unit test_abs_counts and test_abs_demijournee 2021-08-10 13:44:30 +02:00
5d13195070 pass unit test_caches 2021-08-10 13:20:35 +02:00
068d2a659e pass unit test_sco_basic 2021-08-10 12:57:38 +02:00
642283c7d8 pass unit test_formations 2021-08-10 09:10:36 +02:00
a34ab976e9 Utilise une seule base. Fixture pour tests unitaires. 2021-08-09 23:46:04 +02:00
3d9f362daf exclude .idea files from git
refactoring setinngs variables

in progress: import xml files

ajout creation user "bach" pour certains tests

pseudo-test pour initalisation Selenium

typo

Ajout/suppression de département en tant qu'utilisateur scodoc (non root)

complement scodoc.py pour import xml files

--amend

scodoc is able to perform database operation

move export..xml to tests/scenario dir
2021-08-09 22:23:00 +02:00
6bf4fe3762 Fix: dialogue choix modules avec ids 2021-08-09 14:29:03 +02:00
cae4686fc4 fixes: modalite, ... 2021-08-09 11:33:04 +02:00
379b2591fd convert ids to integers 2021-08-09 10:25:45 +02:00
9413573e58 fix type: formation_id, matiere_id 2021-08-09 10:09:04 +02:00
dfd4d5bb9d Fix some sql request 2021-08-09 07:43:41 +02:00
0e57f6b857 WIP: correction requêtes directes (ids) 2021-08-08 17:38:46 +02:00
1375c195ca WIP: definition base en SQLAlchemy 2021-08-08 16:01:10 +02:00
IDK
dad6fdd63c Première version des modèles ScoDoc7 en SQLAlchemy 2021-08-07 15:20:30 +02:00
IDK
35d5d43eeb removed old rss functions 2021-08-02 10:56:50 +03:00
b7e5c12aa1 petites modifs pour intégration 2021-08-02 10:16:14 +03:00
0cb9d18344 Contrib JM Place i/o Excel 2021-08-02 09:52:07 +03:00
845aeaba5f test openpyxl sur liste appel 2021-08-02 08:26:35 +02:00
6cd868b7a3 petit nettoyage 2021-08-01 17:33:09 +03:00
80dd25ba02 unit test pass 2021-08-01 17:13:47 +03:00
5db32a80ee modified to use pytest 2021-08-01 16:33:08 +03:00
704bb2c170 prettier xml exports 2021-08-01 16:17:33 +03:00
f5dbbaa207 refactoring & tests, cont. 2021-08-01 11:16:16 +03:00
37e7667eeb doc et tests unitaires des absences 2021-08-01 00:05:53 +03:00
540623d3b9 refactoring and tests 2021-07-31 19:01:10 +03:00
b0a77fba66 Fix creation/deletion scripts + more unit tests 2021-07-30 10:36:30 +03:00
31288efb73 bug fix 2021-07-29 17:58:18 +03:00
4b3ac58bc0 bug fix 2021-07-29 17:48:27 +03:00
8fedde52e7 refactoring: removing useless args for Flask 2021-07-29 17:31:15 +03:00
8c02c6ef7e removed useless context arg from evaluations 2021-07-29 11:19:00 +03:00
eff9ae59bc removed useless context arg from preferences 2021-07-28 18:03:54 +03:00
748caf8ada recherche étudiant inter-département 2021-07-28 10:51:18 +03:00
18b802130a invalidate local (request) nt cache 2021-07-27 20:36:10 +03:00
f00a18aeb7 Fix formulaire gestion utilisateur 2021-07-27 17:55:50 +03:00
3b5b449a8a Remplace memcached par Redis 2021-07-27 15:33:11 +03:00
da4cea0316 Fix SVG encoding 2021-07-27 14:50:53 +03:00
79e43adbc3 exception handling in sco_cache set 2021-07-26 18:11:45 +03:00
0252bf4df4 Fix: bytes I/O (zips and pdfs) 2021-07-26 18:11:00 +03:00
c3e3f45370 amélioration code formsemestre_status 2021-07-26 17:52:38 +03:00
97446272af Fix: codage chaine interrogation portail 2021-07-26 16:32:55 +03:00
2b967ba34e Fix: change photo 2021-07-26 16:23:07 +03:00
4aa073beb3 Handle unexpected errors from pylibmc 2021-07-26 16:18:16 +03:00
d45f9e25cc Fix JSON exports 2021-07-26 10:50:22 +03:00
a07571494c Fix PDF (combining accents) and StringIO imports 2021-07-25 23:31:59 +03:00
424852c312 Fixed links to external sites 2021-07-25 17:53:10 +03:00
d93b5688ae Fixed graph generation with pydot and added unit test 2021-07-25 17:42:47 +03:00
2f78c80dfa version 8.0.0 2021-07-25 12:19:01 +03:00
8cf0ac0ea1 cache unit tests ok 2021-07-25 12:18:39 +03:00
c2d89799f0 Reorganisation des fichiers, scripts d'install et doc installation 2021-07-25 10:51:09 +03:00
5e78875820 reorganized config/tools directories and started updating scripts 2021-07-21 23:32:30 +03:00
be868497ff bug fixes 2021-07-21 16:53:15 +03:00
5d521b9cfa added a unit test: evaluation cache 2021-07-21 15:58:49 +03:00
35c900b3d7 Removed support for user defined BONUS functions with TWO arguments 2021-07-21 15:57:16 +03:00
d30c071c5d reorganized unit tests and fixed bug in cache handling 2021-07-20 18:32:04 +03:00
3680325e0d fix link 2021-07-20 07:53:05 +03:00
783a8a5188 correct cache keys 2021-07-20 07:52:42 +03:00
5b2d4e47ec nouvelle implementation des caches 2021-07-19 20:53:01 +03:00
e345561d43 Fix call to formation_list 2021-07-15 17:14:44 +02:00
65cdea0c76 start using memcached 2021-07-15 15:05:54 +02:00
b0717e35e0 fix pdf code for py3 2021-07-13 22:07:59 +02:00
86f728b781 support pdf generation in Python 3 2021-07-13 17:00:25 +02:00
6a18188eda misc fixes 2021-07-13 16:39:41 +02:00
ac438b3c6a removed useless formsemestre_fix_validation_ues 2021-07-13 14:55:53 +02:00
069f996168 misc fixes 2021-07-13 14:53:14 +02:00
ce36edd86d misc fixes 2021-07-13 09:38:31 +02:00
76b533729f misc fixes 2021-07-12 23:34:18 +02:00
6847bb8fd5 fix decorator for GET forms 2021-07-12 22:38:30 +02:00
0ec41c48f3 Fix unicode strings for Python3 2021-07-12 15:13:10 +02:00
99279a96bd replaced SuppressAccent 2021-07-12 11:54:04 +02:00
2b95f6e737 fix string.translate 2021-07-12 10:51:45 +02:00
5a9eade31b fixed some string ops 2021-07-12 00:25:23 +02:00
9fc246b7d0 fix imports and requirements for Python 3.7 2021-07-11 23:11:10 +02:00
4c06b0a6cd fix imports 2021-07-11 23:06:37 +02:00
49e95d0085 fixed cStringIO uses 2021-07-11 23:02:35 +02:00
585e80e523 fixed StringIO imports 2021-07-11 22:56:22 +02:00
e08f35cb80 modernized type checking 2021-07-11 22:32:01 +02:00
2f2a06048c replaced old stripogram by a new HTML parser 2021-07-11 22:02:22 +02:00
1034c096e7 replaced old stripogram by a new HTML parser 2021-07-11 22:00:41 +02:00
37839aadd5 removed BoolType 2021-07-11 18:27:02 +02:00
83ee570df9 temporarily disabled emails imports 2021-07-11 18:26:26 +02:00
c71dcd3824 removed StringType 2021-07-11 18:18:44 +02:00
2bc3dc66a3 removed unused html2txt 2021-07-11 18:04:44 +02:00
a565fffe2f replaced attrdict.AttrDict by local class 2021-07-11 18:01:56 +02:00
a3ede77f2c don't use ListType 2021-07-11 17:59:47 +02:00
c6f0fa86ea rewritten all ficheEtud urls using Flask 2021-07-11 17:37:12 +02:00
5906ba6283 completed elimination of jaxml 2021-07-11 13:03:13 +02:00
9d6e882199 xml without jaxml 2021-07-10 17:40:40 +02:00
ec8bef7984 xml without jaxml 2021-07-10 17:22:27 +02:00
cdc1969520 bulletins XML sans jaxml 2021-07-10 16:01:37 +02:00
0afab38f6e fix sort args 2021-07-10 13:58:25 +02:00
dc726f1d10 migration exports xml 2021-07-10 13:55:35 +02:00
6f885edfe4 imports inutiles 2021-07-10 07:27:06 +02:00
8d8b8a3ae9 New-Style Classes 2021-07-09 23:31:16 +02:00
510e6dc9c7 sort: removed cmp argument 2021-07-09 23:19:30 +02:00
aea498fa86 Rich Comparisons for py3 2021-07-09 22:09:12 +02:00
16be3e8fc9 prepare formulas for py3 2021-07-09 20:05:04 +02:00
79b8b3c180 fix some divisions for py3 2021-07-09 19:50:40 +02:00
9199a01f94 removed unnecessary from __future__ import absolute_import 2021-07-09 19:07:47 +02:00
67c458f929 python-modernize 2021-07-09 18:49:16 +02:00
7bb45516ed python-modernize 2021-07-09 17:47:06 +02:00
53cba824eb python-modernize + code cleaning 2021-07-09 16:29:45 +02:00
0c33d363ca python-modernize 2021-07-09 13:59:01 +02:00
e9c5e53fff python-modernize 2021-07-09 13:52:26 +02:00
d52d2b8565 désactive module Entreprises 2021-07-09 13:21:34 +02:00
ff9ab2b751 Fix abs methods 2021-07-09 10:26:31 +02:00
3a56364bbd Vérification et correction d'integrité semestre/UE/modules 2021-07-07 10:01:36 +02:00
d64e6632f0 fix routes 2021-07-05 23:53:23 +02:00
20337bc546 missing import 2021-07-05 23:41:22 +02:00
716f1f8b73 fix redirect 2021-07-05 23:32:57 +02:00
4d637db3fc fix autosuggest 2021-07-05 23:04:39 +02:00
dc77cdcc68 creation super admin en ligne de commande 2021-07-05 21:56:28 +02:00
7f6a21f040 migrate ScoDoc7 user db 2021-07-05 00:07:17 +02:00
c9310d358e page accueil ScoDoc8 (prototype) 2021-07-04 12:32:13 +02:00
ac7cd6a99c nouveau module gestion utilisateurs (en cours) 2021-07-03 23:35:32 +02:00
3f90b71009 form edit user 2021-07-03 16:19:42 +02:00
a60dfc9df5 Form change password. Codage UTF-8 par défaut provisoirement. 2021-07-01 18:54:07 +02:00
46cef02b39 debut form editition utilisateur 2021-06-28 10:45:00 +02:00
d40a2b43cd Page info utilisateur 2021-06-27 12:11:39 +02:00
f991ffdca5 début implémentation gestion utilisateurs 2021-06-26 21:57:54 +02:00
769671b0d4 Fix: content-type of page with SVG graph 2021-06-26 09:35:44 +02:00
eba7e17628 méthodes POST. 2021-06-25 19:24:12 +02:00
8d62455ef0 connexion bd dept avec Flask global. Testé en mode DEBIG seulement. 2021-06-25 18:25:46 +02:00
692a8fabd5 Fix: export Apogée si étudiant inscrit en début d'année mais pas au semestre suivant mais laissé dans Apogée 2021-06-25 16:27:55 +02:00
45d0495a90 documentation code apogee multiples 2021-06-24 23:09:06 +02:00
e1cda28c47 extension code Apogee multiples pour UE (JMP) 2021-06-24 18:54:59 +02:00
70f97c8501 tests basiques pour ScoDoc8 2021-06-24 10:59:03 +02:00
7c1263060e enhance request compat 2021-06-21 23:13:57 +02:00
64615036ec WIP: fix http redirects, fix some JS urls 2021-06-21 14:40:58 +02:00
ede5aa680d migration en cours 2021-06-21 12:13:25 +02:00
597b83e6a4 suite 2021-06-21 11:22:55 +02:00
6a4d6e5109 WIP suite de la migration 2021-06-21 10:17:16 +02:00
14d329fb0f Massive refactoring/reorganization of imports. Work in progress. 2021-06-19 23:21:37 +02:00
3e225c9fda WIP fixing imports (still broken!) 2021-06-17 00:08:37 +02:00
c2798be033 WIP refactoring, cont. 2021-06-16 18:18:32 +02:00
be1d5d7a65 WIP deplacé /static. Accueil fonctionnel. 2021-06-16 16:59:31 +02:00
f2e86622ae WIP: commence à prendre forme 2021-06-16 12:02:43 +02:00
512c00b2e7 WIP améliore décorateur scodoc7 pour appels internes 2021-06-16 10:15:46 +02:00
e16b974761 WIP changed has_permission 2021-06-15 15:38:38 +02:00
f4611af10e WIP migration / cnx 2021-06-15 13:59:56 +02:00
3af2c460b7 WIP migration 2021-06-15 12:34:33 +02:00
ea09f18377 WIP refactoring: menus 2021-06-14 18:08:52 +02:00
8cf1cc7c34 WIP refactoring 2021-06-14 00:23:22 +02:00
23477faa3b WIP refactoring: caches 2021-06-13 23:37:14 +02:00
09a65b48ef WIP refactoring: preferences 2021-06-13 19:12:20 +02:00
d586359e3d WIP: refactoring 2021-06-13 18:29:53 +02:00
7b61b25ff1 WIP refactoring: permissions, ... 2021-06-12 22:43:22 +02:00
dcb53e9c35 WIP migration vues en cours / tout est en vrac ! 2021-06-02 22:40:34 +02:00
77f68d1c4c WIP: prepare migration (remove zope context) 2021-06-02 14:50:41 +02:00
5e8c837fb2 user_info: ajout arg format 2021-05-31 22:01:52 +02:00
369b45a8c4 WIP: migration de ZNotes, decorateurs, etc. 2021-05-31 00:14:15 +02:00
4864fa5040 Application Flask pour ScoDoc 8 2021-05-29 18:22:51 +02:00