Commit Graph

673 Commits

Author SHA1 Message Date
256e89605b rename some old methods 2021-10-16 19:20:36 +02:00
2ca91fc4e9 added some relations 2021-10-16 19:19:07 +02:00
3c38ef4cc0 fix true_false 2021-10-16 14:30:35 +02:00
c658c7675e Merge pull request 'fix_timezone_bug' (#166) from jmplace/ScoDoc-Lille:fix_timezone_bug into master
Reviewed-on: https://scodoc.org/git/viennet/ScoDoc/pulls/166
2021-10-16 14:04:29 +02:00
7cc9f6d1f4 clear timezone for datetime object 2021-10-16 10:25:40 +02:00
4ce50927b0 clear timezone for datetime values 2021-10-16 10:10:35 +02:00
177a891236 ajout vérification date d'expiration 2021-10-16 07:10:55 +02:00
9c50b58d5f amélioration formulaires creation/edition utilisateurs 2021-10-15 19:17:40 +02:00
c68633bf5b typo 2021-10-15 15:34:10 +02:00
45d20789dd wip: avant tests 2021-10-15 15:16:39 +02:00
93a23ff112 fix: partition_name when numeric 2021-10-15 14:31:11 +02:00
e8e3423193 Un peu de nettoyage de d'optimisation (gain ~ 30-40% sur calcul NT). 2021-10-15 14:00:51 +02:00
e243fe6bb0 installmgr url 2021-10-14 11:01:29 +02:00
46269fcebe Corrige mail envoi mot de passe utilisateur 2021-10-13 21:49:55 +02:00
a539061c1f Merge pull request 'permet de lever certaines vérifications lors de l import' (#161) from jmplace/ScoDoc-Lille:import_users_release_some_checks into master
Reviewed-on: https://scodoc.org/git/viennet/ScoDoc/pulls/161
2021-10-13 21:31:41 +02:00
9694ba61c4 Evite les erreurs de formulaires POST quand l'utilisateur s'est déconnecté dans un autre onglet 2021-10-13 21:00:03 +02:00
9c528bec7f permet de lever certaines vérifications lors de l import 2021-10-13 16:32:43 +02:00
1b8186e69b améliore gestion erreur saisies de notes 2021-10-13 15:56:24 +02:00
feb57c2ac6 redirection vers all_depts apres création ; blackify 2021-10-13 15:27:19 +02:00
071c15af79 complements_import_users_from_9.0.52 2021-10-13 15:03:41 +02:00
dc26d1edea Modif mail import user. A compléter suivant la PR de JMP 2021-10-13 10:33:20 +02:00
6e1bc9665d renamed some group mgt methods 2021-10-12 16:05:50 +02:00
c1d13d6089 Python 3: n'utilise plus six. Utilise systématiquement with avec open. 2021-10-11 22:22:42 +02:00
IDK
aed2d6ce10 maj 2021-10-11 16:26:22 +02:00
3c5b721a3a oops: fichier oublié : fix #147 2021-10-11 16:05:23 +02:00
17cfd7ad79 page erreur 403 2021-10-10 21:09:53 +02:00
179442aa69 blackify 2021-10-10 21:09:27 +02:00
e6e1835cca Merge pull request 'check mail address' (#156) from jmplace/ScoDoc-Lille:email_check into master
Reviewed-on: https://scodoc.org/git/viennet/ScoDoc/pulls/156
2021-10-10 21:05:04 +02:00
fdd7af6a8a Améliore page erreur 403 (permission refusée) 2021-10-10 21:03:18 +02:00
7d5eff4f82 refactor check_modif_user 2021-10-10 10:52:06 +02:00
76bc957373 check mail address 2021-10-10 09:26:46 +02:00
d980c6794a Constrainte d'unicité sur les inscriptions aux modules 2021-10-09 20:20:44 +02:00
cd6fd10abf close #146 2021-10-09 19:48:55 +02:00
3e45762382 evite erreur dans log au lancement hors context requete 2021-10-07 23:33:24 +02:00
085ef05e01 Fix AddBilletAbsence 2021-10-07 23:21:30 +02:00
7dda35d37e fix #153 (about link in sidebar) 2021-10-07 23:07:53 +02:00
b38ee4ea25 Fix: create user avec date exp. 2021-10-07 23:00:02 +02:00
8667bd58ba Merge pull request 'fix filename' (#151) from jmplace/ScoDoc-Lille:fix_filename_import_notes into master
Reviewed-on: https://scodoc.org/git/viennet/ScoDoc/pulls/151
2021-10-07 22:28:30 +02:00
1f688e2cd5 log exc: ajoute erreur (sur la page) et mail admin 2021-10-07 22:26:43 +02:00
52e837dc81 améliore msg err sur imports etudiants excel 2021-10-07 22:24:53 +02:00
190304043d Fix: codes sems sur page accueil 2021-10-07 22:23:49 +02:00
19586559ba fix filename 2021-10-06 13:46:29 +02:00
5ac5f5eb19 Fixes #146 2021-10-05 23:43:32 +02:00
ef6a6d6ec2 Merge pull request 'autorise les chaînes JJ/MM/AAAA comme date' (#148) from jmplace/ScoDoc-Lille:fix_date_import into master
Reviewed-on: https://scodoc.org/git/viennet/ScoDoc/pulls/148
2021-10-05 15:24:17 +02:00
8ab9a67fa6 autorise les chaînes JJ/MM/AAAA comme date 2021-10-05 12:09:20 +02:00
bf83d8475a fix excel export with datetime.date values (formsemestre_description with evals) 2021-10-05 05:38:55 +02:00
79b8520034 redirige les url /ScoDoc/DEPT vers /ScoDoc/DEPT/Scolarite 2021-10-04 22:30:57 +02:00
54f0b87d39 Dialogue affection groupe: template jinja2, début d'optimisation de XMLgetGroupsInPartition 2021-10-04 22:05:05 +02:00
3e1136a077 Fix: desinscription des modules d'une UE 2021-10-04 15:17:03 +02:00
0ab9a281a9 Fix regression: API billetin par code_nip 2021-10-04 15:09:19 +02:00
e32d7b1b4e Améliore message d'erreur si logo manquant dans un PDF 2021-10-04 00:22:44 +02:00
f59308b863 enregistre date dernière connexion. + fix liste users 2021-10-03 18:19:51 +02:00
dd8a07ef64 n'interroge plus le service portail qand on demande les listes avec codes 2021-10-03 17:31:03 +02:00
bc112efd76 fix typo / formsemestre_edit_uecoefs 2021-10-01 23:52:36 +02:00
1781548b66 fix: page user si pas de nom ni de prenom 2021-10-01 23:48:11 +02:00
1c927cb541 Merge pull request 'ameliioration placement (adapte la taille du select au contenu)' (#140) from jmplace/ScoDoc-Lille:placement_amelioration into master
Reviewed-on: https://scodoc.org/git/viennet/ScoDoc/pulls/140
2021-09-30 17:51:07 +02:00
814a8dbc24 Améliore qq msg d'erreur + lien formsemestre_status vers listes 2021-09-30 17:50:37 +02:00
4a3e37d371 ameliioration placement (adapte la taille du select au contenu) 2021-09-30 17:11:03 +02:00
a447c6e5f9 Fix regression: validations UE quand semestre validé 2021-09-30 14:35:21 +02:00
8463d368a1 Fix: report_debouche_date 2021-09-30 09:37:18 +02:00
1f125d3a1d fix: import etudiants hors semestre 2021-09-29 20:08:18 +02:00
51fec2d301 Change le type de bulletin par défaut pour les nouveaux départements. Le type "exemple" n'est proposé qu'en dev. 2021-09-29 14:47:43 +02:00
8bfa936361 fix delete etud 2021-09-29 14:15:12 +02:00
1c27ec7dc2 branche pour PN BUT 2021-09-29 10:36:57 +02:00
dffb369bb0 form create user si pas de roles 2021-09-29 10:27:49 +02:00
656c8a9f22 Fix: edition user sans dept 2021-09-28 16:20:15 +02:00
5dfdf4265e autorise chiffres dans user_name 2021-09-28 16:10:27 +02:00
36c22a7ca7 Liste billest d'absences restreinte au département 2021-09-28 09:59:50 +02:00
4728e77a7b Fix: formulaires 2021-09-28 09:14:04 +02:00
f79003186a cosmetic 2021-09-28 07:28:16 +02:00
11ef8857e2 fix urls 2021-09-28 07:27:55 +02:00
f5529ec4a6 dump fichier en erreur pour debug 2021-09-28 07:22:23 +02:00
550a7888bf enhance exception logging 2021-09-27 22:58:05 +02:00
a8198f889a améliore dialogue inscription/passage 2021-09-27 22:54:58 +02:00
651f111839 ignore inscriptions répétées 2021-09-27 22:54:23 +02:00
bf57f2bfa5 remet nom auteurs annotations étudiants 2021-09-27 17:33:44 +02:00
c7aba95015 fixes 2021-09-27 17:18:43 +02:00
f012fe6fcf FIX regression / REQUEST+formulaires / + passage étudiants 2021-09-27 16:42:14 +02:00
d577066911 Fix regressions (post ablation REQUEST) 2021-09-27 14:54:52 +02:00
b1fa9b8ef8 small fixes 2021-09-27 13:43:11 +02:00
1b89010b45 Merge pull request 'Grand nettoyage: élimination des REQUEST héritées de Zope.' (#138) from no-request into master
Reviewed-on: https://scodoc.org/git/viennet/ScoDoc/pulls/138
2021-09-27 10:33:36 +02:00
59e1fdc15e Merge branch 'master' of https://scodoc.org/git/viennet/ScoDoc 2021-09-27 10:29:11 +02:00
057832c309 Grand nettoyage: élimination des REQUEST héritées de Zope. 2021-09-27 10:20:10 +02:00
bb47e89e97 lustrage (blak & pylint) ; test sur autres export excel: ok 2021-09-27 07:46:35 +02:00
ccd1a0daba refactor templates to zip 2021-09-27 07:31:59 +02:00
230c7d488e fonctionnel - a améliorer 2021-09-27 07:16:30 +02:00
9ee7dec202 deal with binary files (zip) 2021-09-26 23:27:54 +02:00
18d6324488 ré-écriture ue_sharing_code avec SQLAlchemy 2021-09-26 11:28:13 +02:00
16b3701815 avant repare imports 2021-09-26 10:01:20 +02:00
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