Commit Graph

1034 Commits

Author SHA1 Message Date
5ea4e74117 wip poursuite d etudes 2021-09-26 09:52:55 +02:00
ce31d3148d Sépare PE dans package 'pe' et le désactive en production. 2021-09-25 23:56:17 +02:00
fa5539fd75 Améliore script import users ScoDoc7 2021-09-25 22:42:44 +02:00
ddf4bf788f Fix: synchro Apogée quand étudiants ajoutés manuellement 2021-09-25 17:33:59 +02:00
14d533b38a lien inscription ailleurs sur page etud 2021-09-25 15:12:13 +02:00
671ef6a7fa Fix urgent: regression sur XMLgetAbsEtud 2021-09-25 12:35:26 +02:00
b015cf3f88 Merge pull request 'enable xml/json result as file' (#136) from jmplace/ScoDoc-Lille:export_json_xml_as_files into master
Reviewed-on: https://scodoc.org/git/viennet/ScoDoc/pulls/136
2021-09-25 10:46:43 +02:00
a2c16207cb Ordre boites export Apogee + fix export excel 2021-09-25 10:43:06 +02:00
00dbd25b42 enable xml/json result as file 2021-09-25 09:53:31 +02:00
4e59b9597b Merge pull request 'fix suffix processing' (#135) from jmplace/ScoDoc-Lille:fix_suffix into master
Reviewed-on: https://scodoc.org/git/viennet/ScoDoc/pulls/135
2021-09-25 09:21:08 +02:00
cb03cc962c Scripts save/restore 2021-09-25 09:13:39 +02:00
81df68b491 fix suffix processing 2021-09-25 09:07:05 +02:00
1741e75f72 formation_delete sans REQUESt 2021-09-24 20:35:50 +02:00
c41726c4a8 Fix: association nouvelle version 2021-09-24 20:20:45 +02:00
7879c176dd Bonus Béziers (à valider) 2021-09-24 20:19:20 +02:00
75f43bbdde élimination des qq REQUESTS et correction publication XML/XLS/JSON/... 2021-09-24 16:32:49 +02:00
0a50edc9f0 removed some useless REQUESTs 2021-09-24 12:10:53 +02:00
373feece76 fix: POST suppr. photo 2021-09-24 11:12:49 +02:00
6d1ffb122b Fix: billets d'absences (POST) 2021-09-24 01:07:00 +02:00
92c401f17c Fix #133. Image photo: enleve canal alpha avant conversion en jpeg. 2021-09-24 00:54:59 +02:00
36c7358eed Améliore message d'erreur si upload image invalide 2021-09-24 00:47:06 +02:00
9c5408f503 Fix: export tables en XML si id de colonnes numeriques 2021-09-24 00:33:18 +02:00
2add3e12cc Fix: lien validation jury 2021-09-24 00:28:09 +02:00
d0ab9dc66a Fix: remove obsolete field "debouche" from scodoc7 editor 2021-09-24 00:19:19 +02:00
beeca54a94 Fix: liens dans table liste absences 2021-09-24 00:11:56 +02:00
73cf9a6f4d Fix: evaluations à dates vides (tri) 2021-09-24 00:04:28 +02:00
845152afdd put back one empty line 2021-09-23 14:44:28 +02:00
a4d091fa2d retrait du cast int(retreive_formsemestre_from_request(...)) réalisée par la fonction 2021-09-23 14:36:47 +02:00
ffa7e07cd3 Merge branch 'master' into fix_group_selector 2021-09-23 13:44:30 +02:00
865192bc0d type hint 2021-09-23 08:15:54 +02:00
b56f205e89 fix group_selector / info_etu popup 2021-09-23 07:34:42 +02:00
eded2fffe9 enhance scu.send_file, fix some API bugs. 2021-09-21 22:19:08 +02:00
13f1539282 Merge branch 'master' of https://scodoc.org/git/viennet/ScoDoc 2021-09-21 16:51:07 +02:00
ae51e4c17a Merge pull request 'gentil message sur erreur d import esxcel' (#131) from jmplace/ScoDoc-Lille:import_excel_errmsg into master
Reviewed-on: https://scodoc.org/git/viennet/ScoDoc/pulls/131
2021-09-21 16:50:45 +02:00
7214627994 Merge pull request 'transmit multiple occurence of an argument into a list' (#130) from jmplace/ScoDoc-Lille:fix_multivalued_args into master
Reviewed-on: https://scodoc.org/git/viennet/ScoDoc/pulls/130
2021-09-21 16:49:41 +02:00
4297d36dad gentil message sur erreur d import esxcel 2021-09-21 16:28:26 +02:00
f516ccdfe7 retire arguments REQUEST de sendResult et sendPDFFile 2021-09-21 15:53:33 +02:00
2c97349acf améliore affichage exceptions (ex: erreur inscription étudiants) 2021-09-21 15:02:22 +02:00
5dfc64a62d sco_debouche APi views return empty OK responses / removed useless REQUEST 2021-09-21 13:36:56 +02:00
9dd8198c7b transmit multiple occurence of an argument into a list 2021-09-21 06:48:54 +02:00
f18a9c7559 fix: requete billets absences 2021-09-20 15:55:48 +02:00
985c6df3b6 empeche noms de feuilles excel invalides 2021-09-20 15:54:38 +02:00
0381576750 modif contrainte sur formations 2021-09-19 21:31:35 +02:00
35f23995aa fix retrait semestre d'un export Apo 2021-09-19 16:19:02 +02:00
29221666a4 Merge pull request 'patch_placement' (#127) from jmplace/ScoDoc-Lille:patch_placement into master
Reviewed-on: https://scodoc.org/git/viennet/ScoDoc/pulls/127
2021-09-19 16:14:58 +02:00
d7e6a7d714 ameliore assistance 2021-09-19 16:13:57 +02:00
179be1baa0 fix rang 1 twice in excel map 2021-09-19 09:21:37 +02:00
a5ed9b815f fix plantage si un seul groupe ; correction indentation for radio button in wtf_forms (css) 2021-09-19 09:11:11 +02:00
13c027fc19 Adapte assistance à ScoDoc 9 2021-09-18 22:00:10 +02:00
31505e1330 détails feuille placement 2021-09-18 14:21:15 +02:00
9a9dc4a483 Fix conflicts 2021-09-18 14:03:36 +02:00
7daa49f2aa Elimine les attributs de ZREQUEST, sauf forms. 2021-09-18 13:42:19 +02:00
f7961a135a finalisation 2021-09-18 11:08:04 +02:00
c955870e1e recheck 2021-09-18 10:51:19 +02:00
80f5536de5 Merge remote-tracking branch 'origin/master' into scodoc9_placement_PR
# Conflicts:
#	app/scodoc/sco_groups_view.py
#	app/scodoc/sco_placement.py
2021-09-18 10:39:53 +02:00
2519d08e40 remove breakpoints() + blackify 2021-09-18 10:11:46 +02:00
987800c30e Remplace REQUEST.URL par accès à Flask request global object 2021-09-18 10:10:02 +02:00
2a72fb881b replace send_excel_file by scu.send_file 2021-09-18 01:30:47 +02:00
87ecd09f0e fix a regression ; eliminate send_from_flask 2021-09-17 16:01:01 +02:00
6e7a104fb0 pylint corrections (suite) 2021-09-17 12:31:43 +02:00
b03eee12a1 pylint corrections 2021-09-17 10:59:26 +02:00
44117fb0e2 blackify + suppress cr-at-eol 2021-09-17 10:26:20 +02:00
42ef9f795f Merge remote-tracking branch 'origin/master' into temp
# Conflicts:
#	app/scodoc/sco_placement.py
2021-09-17 10:12:16 +02:00
bd2e0ccde5 Archives: utilise dept_id et non acronyme 2021-09-17 10:02:27 +02:00
b6cc251c94 minor changes 2021-09-17 09:44:47 +02:00
45352d9248 Script migration: vérification existence departements dans base cible 2021-09-17 09:15:12 +02:00
0ef822cfd8 déplacement du template placement 2021-09-17 05:54:11 +02:00
a23ae38014 integration master 2021-09-17 05:03:34 +02:00
72e075530c Pour la transition BUT: bloquage du calcul des moyennes 2021-09-16 22:24:08 +02:00
91cc421ef8 Post-migration des archives 2021-09-16 21:42:45 +02:00
8b6a569a31 Classe ReverseProxied WSGI pour ré-écriture des URL http/https 2021-09-16 16:05:37 +02:00
c8949e870f code cleaning 2021-09-16 14:58:56 +02:00
085aff657a fix: preference par departement 2021-09-16 11:45:39 +02:00
3666f8b1ec Améliore sidebar avec template jinja 2021-09-16 10:09:17 +02:00
bec7deb581 Ajout perm. export Apo aux rôles Secr et Admin 2021-09-16 09:13:05 +02:00
6dbbcde454 unifie fichiers moodlecsv 2021-09-16 08:17:26 +02:00
9578c789dc Fix sort groupe (#py3) 2021-09-16 00:16:50 +02:00
0fedb7771c Améliore téléchargement fichiers (REQUEST => send_file) 2021-09-16 00:15:29 +02:00
6dba8933c4 fix selection groupe saisie note 2021-09-15 23:02:11 +02:00
5efc493542 Escape html read-only values 2021-09-15 22:31:16 +02:00
a34dd656be Change html header: xhtml -> html5 2021-09-15 22:13:04 +02:00
2ec2be4234 fix link 2021-09-15 20:24:44 +02:00
8a16216d4b fixes: lien params seulement pour admin, type passage étudiants, log sources ips 2021-09-15 15:19:08 +02:00
0f9b52bc9b fix sco_inscr_passage 2021-09-15 00:54:18 +02:00
83174f2f5e typo (synchro apo) 2021-09-15 00:40:19 +02:00
3fbda90a2f Better logging. New log for exceptions: /opt/scodoc-data/log/scodoc_exc.log 2021-09-15 00:33:30 +02:00
de206674d9 Merge branch 'master' of https://scodoc.org/git/viennet/ScoDoc 2021-09-14 23:11:14 +02:00
08f651b734 fix export excel en neutralisant les formules comme chaine 2021-09-14 22:45:42 +02:00
3496cc7beb fix envoi mail etud change 2021-09-14 12:21:22 +02:00
61db542608 remis le favicon 2021-09-14 00:07:10 +02:00
cb3be8c80c DEUX typos bloquant la synchro Apogee que je venais de réparer 2021-09-13 23:38:11 +02:00
31224d853e typo 2021-09-13 23:16:02 +02:00
e6ff4c1460 création roles en cli 2021-09-13 23:06:42 +02:00
e98302070a Fix bug: synchro apogee/dept 2021-09-13 22:10:17 +02:00
e9d996be41 Fix: affiche nom enseignant et non uid dans historique saisies 2021-09-13 19:36:53 +02:00
d86a2dfc65 fixes 2021-09-13 17:10:38 +02:00
1e6c16ab31 9.0.19 2021-09-13 10:06:25 +02:00
3527d2bba1 2 bugs: XMLgetAbsEtud, doSignaleAbsenceGrSemestre 2021-09-13 09:55:49 +02:00
da204f5df8 better exceptions 2021-09-13 09:54:53 +02:00
c44aa808df preparation envoi fichier 2021-09-13 07:16:37 +02:00
c1b06b18b4 petits bugs (abs) + exc messages 2021-09-12 23:06:23 +02:00
c8872bd220 excel file returned 2021-09-12 09:31:07 +02:00
7f63ab222b before refactoring 2021-09-12 07:04:05 +02:00
914c20bcfe fix typo creation users 2021-09-11 22:46:37 +02:00
104c01ee29 XMLgetFormsemestres 2021-09-11 22:15:00 +02:00
6880c5bf54 fix XMLgetAbsEtud 2021-09-11 21:54:53 +02:00
ed07e42222 placement fait 2021-09-11 19:37:32 +02:00
35768e9241 placement fait 2021-09-11 19:35:30 +02:00
4bb79e6853 Petits correctifs suite à migration iutv 2021-09-11 19:05:19 +02:00
050e54de3e placement fait 2021-09-11 18:33:55 +02:00
badf83cc7f fix migration adresses + cosmetique 2021-09-11 15:59:06 +02:00
37484b7fc9 Merge branch 'master' into clean 2021-09-11 10:21:54 +02:00
f828134ea2 complements scodoc.css pour formulaire 2021-09-11 10:04:52 +02:00
a6b97e9667 Cosmétique: barre page accueil 2021-09-10 23:18:27 +02:00
d14ec48602 support POST request on ScoDoc7-compat API routes 2021-09-10 22:03:52 +02:00
6074cc3892 Add cascade, fixing excpetion on semset delete 2021-09-10 21:48:04 +02:00
8589aab659 enhance sidebar 2021-09-10 21:20:38 +02:00
245f954b05 add somes routes for scodoc7 compat API 2021-09-10 21:07:28 +02:00
51884bf28f Edition rôle RespPe 2021-09-09 16:33:44 +02:00
e8208efb5c Fix typo: export Apo (bis) 2021-09-09 16:23:53 +02:00
9fd33cf658 Accès compatibles aux anciennes fonctions API ScoDoc 7 2021-09-09 16:11:44 +02:00
be224b9576 API v9: première esquisse 2021-09-09 12:49:23 +02:00
4ac076ec6c Fix: recherche étudiant 2021-09-09 08:03:43 +02:00
c6f6f45e0d removed up_to_date checking 2021-09-09 07:59:28 +02:00
829d5d8b2e fix: ajout semestre à semset (exports apogée) 2021-09-08 23:10:28 +02:00
72dfc4f49b Configuration des logos via formulaires 2021-09-08 23:00:01 +02:00
7f92a21b53 Fixes: trombino_copy_photos, import fichiers associés 2021-09-08 00:34:45 +02:00
19f6053dda Fix: tri de liste hétérogène 2021-09-08 00:11:11 +02:00
2f78f7f6fc Message erreur si import Excel d'une date invalide 2021-09-08 00:10:36 +02:00
97fe4cc73f Ne quote plus par défaut le HTML des chaines entrants en base 2021-09-07 23:55:04 +02:00
998f28d4a4 Modifie l'implémentation des préférences pour ScoDoc 9 2021-09-07 22:03:33 +02:00
a4d0205cc7 Merge remote-tracking branch 'origin/master' into clean 2021-09-05 14:52:58 +02:00
770ccb4d6e fin fusion 2021-09-05 14:50:35 +02:00
1c7bbc639a doc dans script migration sur config bonus 2021-09-05 13:41:26 +02:00
abd6d53510 Ajout configuration gloable via formualaire: bonus_sport. Modif migration fichier config. A suivre 2021-09-05 12:30:11 +02:00
dccae56fe7 tri depts sur page accueil 2021-09-04 11:41:23 +02:00
8de0cd1029 Migration ScoDOc 7 à 9: gestion des clés manquantes et tronque certains champs 2021-09-04 11:37:46 +02:00
b8310064ee fix nasty bug: editing sems with inactive mod resps 2021-09-03 18:17:43 +02:00
a060cefbe8 fix bug costes: bulletins/comparaison int/string 2021-09-03 17:09:16 +02:00
5d32b9f706 fix regression in cache invalidation 2021-09-03 17:07:37 +02:00
afaab2d5e0 Optimisation de la synchro inscription 2021-09-02 18:05:22 +02:00
ca4d9817e6 clear all caches after delete dept 2021-09-02 16:32:47 +02:00
2c9aacc330 Reorganized fakeportal files 2021-08-31 23:32:51 +02:00
de47a5e873 export PDF avec Flask 2021-08-31 20:18:50 +02:00
a52de101b6 Adaptation fonctions export Apogée pour ScoDoc 9 2021-08-31 19:32:12 +02:00
2fbce89edd Performance boost: NotesTableCache was not always caching locally 2021-08-31 19:28:57 +02:00
3ac4623421 fix route recherche étudiant via JS 2021-08-31 08:21:30 +02:00
dca51d1ce4 trois bugs épars 2021-08-30 23:28:15 +02:00
c14684a1dc fix: affiche role SuperAdmin 2021-08-30 16:55:07 +02:00
f672c17bbf fix bul json si ects None 2021-08-30 16:43:18 +02:00
d79da28aba dialog confirmation ScoDoc: evite request.base_url qui peut être en http. 2021-08-30 16:34:24 +02:00
30b5d4bfa3 Modif config nginx pour servir static statiquement 2021-08-30 16:15:05 +02:00
4e836e61d3 Debian postinst restart services postgresql and scodoc9. Enhanced error page when DB unavailable. 2021-08-30 11:03:24 +02:00
315a80b670 début réintégration module poursuite d'études. Pb excel à régler. 2021-08-29 23:04:38 +02:00
3586920809 Améliore log et page d'erreur 500. 2021-08-29 22:42:38 +02:00
22475b1033 Sépare les tags (modules et itemsuivi) par département 2021-08-29 21:22:03 +02:00
aee02d911e reorganized logging. 2021-08-29 19:58:15 +02:00
3948dc2140 Fix: abs_notification 2021-08-29 08:17:12 +02:00
c48c52f7aa Améliore formulaires gestion utilisateurs 2021-08-28 16:01:41 +02:00
58d6db57fa Conservation des anciens id de semestres et d'étudiants pour accès aux archives. 2021-08-27 22:16:10 +02:00
9fb8796e0d Corrige calcul URL "zope compatibles" en http/https en mode production 2021-08-27 18:17:45 +02:00
fc3e7ba079 display db URI at startup. 2021-08-27 17:25:18 +02:00
6090672089 Modified install/upgrade scripts to use Flask-Migrate (Alembic) 2021-08-27 17:03:47 +02:00
72c63812fa fonctions d'envoi de mails 2021-08-26 23:43:54 +02:00
eb14607bb2 updater 2021-08-25 23:51:07 +02:00
a6e9be59b8 Peaufine script config 2021-08-25 21:10:50 +02:00
5f428c1649 réorganisation des anciens tests 2021-08-24 09:22:14 +02:00
a76f5af3ff fix archivage xml 2021-08-24 05:59:19 +02:00
ef15897cb0 correction affichage sur 2 décimales dans les fichiers xlsx générés 2021-08-23 17:47:49 +02:00
db75f14118 fix twice imported user bug & misc. enhancements 2021-08-23 07:37:14 +02:00
f385f46897 Merge branch 'master' of https://scodoc.org/git/viennet/ScoDoc 2021-08-22 21:55:19 +02:00
9114c6bad5 exports bul xml 2021-08-22 21:55:01 +02:00
85ac8b8595 Merge pull request 'fix bugs + enhancements' (#110) from jmplace/ScoDoc-Lille:scodoc9_import_utilisateurs into master
Reviewed-on: https://scodoc.org/git/viennet/ScoDoc/pulls/110
2021-08-22 19:41:24 +02:00
6d65626ce2 update logos 2021-08-22 19:30:58 +02:00
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
1a9862f472 Ajout titre page import utilisateur 2021-08-22 17:43:02 +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
9c51deed48 fix date_expiration 2021-08-22 07:47:41 +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
c8221b6a00 Fix: export xls ou pdf notes eval 2021-08-22 00:21:00 +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
1b6fd99e94 page enseignants d'un module 2021-08-21 23:21:48 +02:00
089c3d96b4 Fix: 3 bugs liés aux moduleimpl_id 2021-08-21 23:09:08 +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
ba8a8e8d19 Fix: very long (32) formation_codes (pour Lille) 2021-08-18 23:02:07 +02:00
086cb8f8f5 Fix: silently ignore unused pref names 2021-08-18 23:01:23 +02:00
4b485d5a4c Fix: contrainte par departement sur noms de tags 2021-08-18 22:20:20 +02:00
c8df244d4c Page accueil (suppressions essais). 2021-08-17 22:11:35 +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
e1dad774be fixes 2021-08-15 22:41:47 +02:00
b0362be18b acronymes de longueur illimitée... 2021-08-15 22:33:09 +02:00
c6fc46e0e2 modif contraintes pour codes NIP et INE si même étudiant dans plusieurs dept 2021-08-15 22:20:07 +02:00
a022a80632 chaines de taille variable (text) pour tag suivi 2021-08-15 22:13:41 +02:00
7769b371c7 chaines de taille variable (text) pour tags et codes INE et NIP 2021-08-15 22:11:47 +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
aeb03ada68 remove useless id from assoc table 2021-08-15 09:08:56 +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
IDK
56d708569d default formsemestre modality 2021-08-12 13:54:56 +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
02df06c29a Specify server-side SQL default values 2021-08-10 00:23:30 +02:00
a34ab976e9 Utilise une seule base. Fixture pour tests unitaires. 2021-08-09 23:46:04 +02:00
64e85f67f1 (en cours) Réorganisation configs prod/dev/test. Fonctions d'initialisation bases. 2021-08-09 23:23:11 +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
c1e87c4552 WIP: creation fonctions SQL à l'init 2021-08-09 17:01:47 +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
bcb7dc828d try to convert args to integers 2021-08-09 10:08:24 +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
27b8fee9b7 trombino en POST pour dialogue confirmation 2021-08-02 10:16:57 +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
9646452457 redirige vers formulaire authentification 2021-07-28 09:42:22 +03:00
f435885315 Page d'erreur pour ScoValueError 2021-07-28 09:12:57 +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
b8efe15c0a removed debug logs from scodoc7 decorators 2021-07-27 17:16:58 +03:00
40d98eae16 fix migration utilisateurs ScoDoc 7 2021-07-27 17:07:03 +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
69914986c4 Lève contrainte d'unicité sur les mails des utiulisateurs 2021-07-15 08:50:58 +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
960de61928 python-modernize 2021-07-09 17:52:32 +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
111f77d667 python-modernize views 2021-07-09 13:45:10 +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
4526a6b934 fix route conflict 2021-07-04 12:42:04 +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
fe9e5e84b0 form suppression user 2021-07-02 14:12:33 +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
f177e777a9 urls in javascripts 2021-06-21 18:46:35 +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
3da9bb6914 commandes Flask pour creer utilisateurs de test 2021-05-31 09:57:23 +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