1
0
forked from ScoDoc/ScoDoc
Commit Graph

1202 Commits

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