Commit Graph

230 Commits

Author SHA1 Message Date
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