Commit Graph

226 Commits

Author SHA1 Message Date
dc004de8ef update copyright 2022-01-01 14:49:42 +01:00
3ec5cef3c0 Merge pull request 'execute migrate_logos as scodoc (not root)' (#224) from jmplace/ScoDoc-Lille:fix_migrate_logo_as_root into master
Reviewed-on: https://scodoc.org/git/ScoDoc/ScoDoc/pulls/224
2021-12-16 16:28:41 +01:00
bf14f8ed34 curl -> wget for build_release 2021-12-16 16:26:23 +01:00
051e0d24e2 execute migrate_logos as scodoc (not root) 2021-12-15 23:03:03 +01:00
ae42db06da invalidation cache Redis lors des mises à jour 2021-12-14 07:48:22 +01:00
2244f29c33 Fix: operator priority 2021-12-13 10:20:16 +01:00
51506c6d6f migration des logos_dept scodoc7 -> scodoc9 2021-12-11 14:55:42 +01:00
3aa115e7a2 9.0.68 2021-12-04 21:18:00 +01:00
d05ce6a93b Merge pull request 'Mise à jour de 'tools/configure-scodoc9.sh'' (#187) from pascal.bouron/ScoDoc:master into master
Reviewed-on: https://scodoc.org/git/viennet/ScoDoc/pulls/187
Fix #186
2021-11-24 21:35:09 +01:00
f47cd46abc Mise à jour de 'tools/configure-scodoc9.sh'
Correction de bug du à  '
2021-11-24 21:26:34 +01:00
1b7a28ac8d robustifie script migration (post Colmar) 2021-11-23 12:31:03 +01:00
502f6a9277 Modif script migration pour facilier reprise sur erreur 2021-11-22 22:39:05 +01:00
5e2e36cfab Modifie script d'upgrade pour éviter les 'kept back' 2021-11-21 23:58:18 +01:00
6c747b1f0e removed added deb dependency to unblock updates 2021-11-21 23:40:34 +01:00
fc6da6c976 Merge pull request 'Fix debian package depends' (#185) from jmartin/ScoDoc:master into master
Reviewed-on: https://scodoc.org/git/viennet/ScoDoc/pulls/185

Elle l'est si on installe suivant la doc (https://scodoc.org/GuideInstallDebian11/) en cochant "standard system utilities", je suppose.

Mais en effet c'est mieux d'indiquer la dépendance explicitement !
2021-11-16 10:22:48 +01:00
8dc98c64f1 Mise à jour de 'tools/configure-scodoc9.sh' 2021-11-16 06:07:40 +01:00
jeromemartin
9e8da925a5 Fix debian package depends 2021-11-15 16:00:14 +01:00
090391300a add dependence on cracklib-runtime 2021-11-10 12:03:49 +01:00
afb94cb011 enhance path management 2021-11-06 17:23:53 +01:00
9f9cb6cca2 migrate_scodoc7_dept_archives (ajout du s au nom de la fonction) 2021-11-01 15:21:38 +01:00
d8e1c428b0 migrate_scodoc7_dept_archives (ajout du s au nom de la fonction) 2021-11-01 15:16:51 +01:00
e243fe6bb0 installmgr url 2021-10-14 11:01:29 +02:00
9015780eb7 complement sauvegarde/restauration 2021-10-06 13:53:09 +02:00
5dfdf4265e autorise chiffres dans user_name 2021-09-28 16:10:27 +02:00
76af0eb166 +x 2021-09-27 22:52:26 +02:00
fa5539fd75 Améliore script import users ScoDoc7 2021-09-25 22:42:44 +02:00
edc6da3005 applique upgrade alembic dans le script de restoration 2021-09-25 12:33:37 +02:00
cb03cc962c Scripts save/restore 2021-09-25 09:13:39 +02:00
7a0a04bdb3 fix install 2021-09-19 20:44:26 +02:00
13c027fc19 Adapte assistance à ScoDoc 9 2021-09-18 22:00:10 +02:00
bd2e0ccde5 Archives: utilise dept_id et non acronyme 2021-09-17 10:02:27 +02:00
45352d9248 Script migration: vérification existence departements dans base cible 2021-09-17 09:15:12 +02:00
80238545f3 oups: fichiers oubliés. 2021-09-16 22:31:47 +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
49609fa657 harmless typo in migration script 2021-09-15 19:20:41 +02:00
3fbda90a2f Better logging. New log for exceptions: /opt/scodoc-data/log/scodoc_exc.log 2021-09-15 00:33:30 +02:00
61db542608 remis le favicon 2021-09-14 00:07:10 +02:00
e225197e15 ameliore install nginx/scodoc9 2021-09-13 10:00:07 +02:00
c1b06b18b4 petits bugs (abs) + exc messages 2021-09-12 23:06:23 +02:00
8f72e85e74 évite d'écraser la config nginx à la msie à jour 2021-09-11 23:42:01 +02:00
4bb79e6853 Petits correctifs suite à migration iutv 2021-09-11 19:05:19 +02:00
badf83cc7f fix migration adresses + cosmetique 2021-09-11 15:59:06 +02:00
4b2d5f01a4 backup scripts for ScoDoc 9 2021-09-11 11:07:53 +02:00
72dfc4f49b Configuration des logos via formulaires 2021-09-08 23:00:01 +02:00
5ab0dec6af Timeout gunicorn passé à 600s 2021-09-08 00:13:41 +02:00
97fe4cc73f Ne quote plus par défaut le HTML des chaines entrants en base 2021-09-07 23:55:04 +02:00
04d5dd2ad7 better help messages 2021-09-06 21:35:17 +02:00
ee0961d247 Debian desinstall (purge) script 2021-09-06 21:32:56 +02:00
4e2fab29d5 fix typo role RespPe 2021-09-05 18:14:16 +02:00
f4335624fc Script migration: traite départements nommés en minuscules 2021-09-05 14:21:55 +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
7689731038 check that scodoc7 is stopped, and disable it in systemd after migration 2021-09-03 18:37:05 +02:00
42ae898505 Fix path for (fake) XML etapes 2021-09-03 17:09:55 +02:00
84e991cef0 Ameliore portail de test: photos et interruptions 2021-09-03 09:00:43 +02:00
0d2926d48e Debian package depends on postfix|exim4 2021-09-03 08:10:49 +02:00
2c9aacc330 Reorganized fakeportal files 2021-08-31 23:32:51 +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
aee02d911e reorganized logging. 2021-08-29 19:58:15 +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
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
137a486329 fix: certificats perdus lors de la migration en place depuis ScoDoc 7 2021-08-27 12:11:04 +02:00
e14eb723bf mail on localhost by default 2021-08-27 10:49:36 +02:00
d2947b23d3 améliore script postinst (FLASK_APP) 2021-08-27 10:41:50 +02:00
72c63812fa fonctions d'envoi de mails 2021-08-26 23:43:54 +02:00
5902fe81e2 fix migration script 2021-08-26 15:38:25 +02:00
64c72764b5 fix migration script 2021-08-26 15:35:08 +02:00
f63616c6b3 Script migration (tests en cours) 2021-08-26 14:24:25 +02:00
eb14607bb2 updater 2021-08-25 23:51:07 +02:00
2f47a51f06 enable service scodoc9 in postinst 2021-08-25 23:05:41 +02:00
104b79cce4 doc README et essai 9.0.1 2021-08-25 22:56:36 +02:00
f363e8b926 modif pour apt-get upgrade 2021-08-25 21:55:27 +02:00
a6e9be59b8 Peaufine script config 2021-08-25 21:10:50 +02:00
98f7fd165b script de configuration pour débutants 2021-08-25 16:55:30 +02:00
3589c69bca deb creating venv in postinst 2021-08-24 23:36:58 +02:00
9e441232a4 install script avec venv 2021-08-24 18:55:58 +02:00
652599aa40 fix deb scripts 2021-08-24 17:35:39 +02:00
18d6b63569 scripts pour paquet Debian 2021-08-24 16:18:00 +02:00
5f428c1649 réorganisation des anciens tests 2021-08-24 09:22:14 +02:00
1cde233060 fix import utilisateurs 2021-08-22 16:41:19 +02:00
8f4b8ccdf6 Migration: remplace espaces (et strip) les anciens logins. 2021-08-22 15:41:39 +02:00
2a38de8e89 fix install script 2021-08-22 11:12:34 +02:00
614810cf50 installation avec nginx + service scodoc9 2021-08-21 19:51:33 +02:00
ae46d29f01 modif gestion VERSION 2021-08-21 17:07:44 +02:00
e61af69f6d refactoring 2021-08-20 10:51:42 +02:00
bfad156ac2 Fix import dept (si minuscules dans le nom). 2021-08-20 09:57:38 +02:00
ccbb021f50 tolere erreurs de pg_restore (cf https://www.postgresql.org/message-id/20849.1541638465%40sss.pgh.pa.us) 2021-08-19 23:44:11 +02:00
698e5b7e22 controle de la config, doc, exemple .env 2021-08-19 23:12:42 +02:00
fb6f8b7db6 améliore script install et sa doc 2021-08-19 20:23:48 +02:00
c25c2b50c4 Install locale en_US.UTF-8, for ScoDoc 7 migration 2021-08-18 21:43:21 +02:00
d99b9aeb59 Fix script import 2021-08-18 19:36:30 +02:00
bb6dc787f2 Script migration depuis ScoDoc 7 2021-08-18 18:53:45 +02:00
a576dd2f39 Script install et doc pour Debian 11 2021-08-17 14:17:58 +02:00
027237c1c6 améliore check_create_scodoc_user pour set -e (contrib JMP) 2021-08-17 12:18:42 +02:00
e8c20f7005 doc pour install 9.0 sur Debian 11 2021-08-17 11:13:05 +02:00
9313ffdb3b Fix: import tables absences si etudiant supprimé 2021-08-16 08:01:56 +02:00
1b2813d7d2 mise à jour des scripts 2021-08-15 16:43:53 +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
7478160094 Clear caches after migration 2021-08-15 09:33:18 +02:00
3049545796 Reset serial init values, and configure logging 2021-08-15 09:09:49 +02:00
b93fd36446 Script d'import departement ScoDoc7 (ou 8.0) 2021-08-14 18:54:32 +02:00
64e85f67f1 (en cours) Réorganisation configs prod/dev/test. Fonctions d'initialisation bases. 2021-08-09 23:23:11 +02:00
3d99b8c087 Ajout/suppression de département en tant qu'utilisateur scodoc (non root) 2021-08-09 08:25:33 +02:00
IDK
383fdb0e53 modified to run as tools/script.sh 2021-08-02 11:34:28 +03:00
2c4ff46a3a debut restructuration scripts upgrade 2021-08-02 09:41:11 +03:00
fc59018688 Fix script mode and add safety check 2021-07-30 18:34:47 +03:00
b0a77fba66 Fix creation/deletion scripts + more unit tests 2021-07-30 10:36:30 +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
7e3ac9884c create_database.sh run as root 2021-07-27 14:38:26 +03:00
b17d664652 Fix install scripts 2021-07-27 14:27:21 +03:00
84c72fcb50 Fix install script (check_create_scodoc_user) 2021-07-26 15:57:42 +03:00
2f78c80dfa version 8.0.0 2021-07-25 12:19:01 +03:00
c2d89799f0 Reorganisation des fichiers, scripts d'install et doc installation 2021-07-25 10:51:09 +03:00
fb8f6641f8 Update dependencies and include Flask 2021-07-24 20:37:57 +03:00
3267a1f9bf documentation install et migration 2021-07-23 15:46:12 +03:00
91ece1274e release building script (draft, untested) 2021-07-23 14:46:51 +03:00
022999da8e user database creation script 2021-07-23 14:45:56 +03:00
3c943b21b2 install script for ScoDoc8 development 2021-07-23 10:32:20 +03:00
c0f3bdedcd début script migration ScoDoc 7 => ScoDoc 8 2021-07-23 09:35:20 +03:00
5e78875820 reorganized config/tools directories and started updating scripts 2021-07-21 23:32:30 +03:00