Commit Graph

870 Commits

Author SHA1 Message Date
ade1b4445c Tolère parcours inconnus (pour dev avec bases du futur:) 2021-11-09 11:47:48 +01:00
7f2e87e9d0 Fix: exceptions dans formules utilisateurs 2021-11-09 11:45:51 +01:00
3bb9a5cb76 WIP: distinction SAE/ressources, poids de evals 2021-11-08 19:44:25 +01:00
a25ebe9a46 fix #22 2021-11-06 18:34:01 +01:00
ac09c104e9 fix route in import_infos_admissions 2021-11-06 17:58:11 +01:00
50115337b1 fix #175 2021-11-06 17:24:11 +01:00
f6dfa912d7 fix #159 2021-11-06 16:35:21 +01:00
f534e9757f Merge branch 'master' of https://scodoc.org/git/viennet/ScoDoc into PNBUT 2021-11-03 16:25:48 +01:00
4bf983dbe4 Add unit test: test_notes_modules_att_dem (scenario "lyonnais") 2021-11-03 16:15:39 +01:00
81720facff Fix: ListeAbsEtud arg 2021-11-03 14:12:27 +01:00
518b9c049c update 2021-11-03 00:44:23 +01:00
ddcc518807 Memoize (cache) user_info 2021-11-02 23:42:46 +01:00
5002afade1 Accélère accès aux préférences 2021-11-02 15:49:12 +01:00
39a9f353d2 update 2021-11-01 17:02:24 +01:00
461f14631b fix: bcc as list in Message build 2021-10-26 19:27:51 +02:00
5268ea4f13 Detecte et supprime doublons dans les préférences 2021-10-25 15:49:56 +02:00
IDK
1be2ba1498 maj 2021-10-24 18:35:10 +02:00
66d443944a Fix: partition_rename error message 2021-10-24 18:28:01 +02:00
e8ce1e303e formation_export: n'exporte plus les UE externes 2021-10-24 11:43:53 +02:00
2fe9e5ec39 Sépare les UE externes dans la pae édition programme 2021-10-22 23:09:15 +02:00
c49aecaa2f Fix regression on ue_list 2021-10-21 06:32:03 +02:00
280f6cf1c1 Fix etud_info xml quote 2021-10-20 22:34:06 +02:00
92de66f734 Modif liens sidebar. Closes #53 2021-10-20 21:58:01 +02:00
f73e720de1 Fix: suppression de notes par un enseignant non privilégié 2021-10-20 19:11:26 +02:00
0c913dacdc Fix: ordre des partitions 2021-10-20 17:41:38 +02:00
66dbec86bf Add cli: photos-import-files 2021-10-20 16:47:41 +02:00
IDK
3878d68b38 Utilise NA pour les notes manquants (et plus NA0, ...) 2021-10-19 15:52:02 +02:00
54ed09ed08 renomme: ue_list, matiere_list 2021-10-17 23:19:26 +02:00
d69a6c283f restore date formatting at the right place 2021-10-17 20:20:31 +02:00
a909a307c0 Améliorer page infos utilisateurs 2021-10-17 11:19:01 +02:00
bb7ed682c0 Fixes #158 2021-10-16 19:31:14 +02:00
256e89605b rename some old methods 2021-10-16 19:20:36 +02:00
3c38ef4cc0 fix true_false 2021-10-16 14:30:35 +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
9c50b58d5f amélioration formulaires creation/edition utilisateurs 2021-10-15 19:17:40 +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
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
3c5b721a3a oops: fichier oublié : fix #147 2021-10-11 16:05:23 +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
7dda35d37e fix #153 (about link in sidebar) 2021-10-07 23:07:53 +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
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
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
dffb369bb0 form create user si pas de roles 2021-09-29 10:27:49 +02:00
5dfdf4265e autorise chiffres dans user_name 2021-09-28 16:10:27 +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
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
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
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
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
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
985c6df3b6 empeche noms de feuilles excel invalides 2021-09-20 15:54:38 +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
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
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
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
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
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
a6b97e9667 Cosmétique: barre page accueil 2021-09-10 23:18:27 +02:00
8589aab659 enhance sidebar 2021-09-10 21:20:38 +02:00
e8208efb5c Fix typo: export Apo (bis) 2021-09-09 16:23:53 +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
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
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
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
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
72c63812fa fonctions d'envoi de mails 2021-08-26 23:43:54 +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
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