Commit Graph

117 Commits

Author SHA1 Message Date
Adrien Marquès 782d2084ca fix http vs. https for CAS service (redirection) 2018-06-09 15:08:46 +02:00
xdrm-brackets 1bfd97009e fix [modules.json] format + fix 'teacher/pdf' to return data even if no formation is found (+remove dumb data from pdf) 2018-05-14 12:03:11 +02:00
xdrm-brackets f62674cb0b fix export extension 2018-05-12 16:46:23 +02:00
xdrm-brackets 56eb72ac55 department/export now uses the download system 2018-05-12 16:42:28 +02:00
xdrm-brackets 9093ce2d38 department.create/delete(unimplemented server-side)/switch 2018-05-12 16:17:27 +02:00
Unknown a745daa506 Add fiche download auth check 2018-05-10 15:43:02 +02:00
Unknown e9579c8956 Implemented Excel export of version 2018-05-10 15:09:40 +02:00
xdrm-brackets fa7d9ee6f2 Merge branch 'master' of https://git.xdrm.io/ptut/vhost 2018-05-09 17:51:47 +02:00
xdrm-brackets 1225f69d9d [api.cas] on login select version with 'default=1' first then if nothing, take the first element. Same for [api.version.DELETE] to update the list 2018-05-09 17:43:20 +02:00
Unknown 79bdb1c33c Implemented Department creation 2018-05-09 17:44:40 +02:00
xdrm-brackets 13e545e5f9 update version id + currentDatabase when switching department 2018-05-09 15:12:26 +02:00
xdrm-brackets 73bc584036 update version model + casController/switch version format in session 2018-05-09 12:36:12 +02:00
xdrm-brackets 63fdcc012d Merge branch 'master' into verions-new 2018-05-09 11:44:02 +02:00
Unknown d2dfd2e962 Implement Formation CRUD 2018-05-08 19:23:46 +02:00
xdrm-brackets 465fde053b fix api.ue.cours + api.ue.tp to return 'formations' id list 2018-05-08 14:48:48 +02:00
xdrm-brackets ca9ca6e290 [POST cours|td|tp] adds the default formation if exists + given formations as arguments - also it returns as output the added formation id list 2018-05-08 14:45:26 +02:00
Unknown c6b46e1b88 New version managing API 2018-05-07 18:14:17 +02:00
xdrm-brackets a4e56c8574 merge 2018-03-22 06:13:09 -04:00
xdrm-brackets 20a4f86d5c [module.professor.pdf] Added extension '.pdf' 2018-03-21 15:24:26 +01:00
xdrm-brackets 8b33f401af [module.professor.pdf] Added extension '.pdf' 2018-03-21 15:07:50 +01:00
xdrm-brackets be1e5b0a4d [api.core.Request] if DOWNLOAD -> create TMP dir in PUBLIC 2018-03-21 15:02:12 +01:00
xdrm-brackets 6273a58046 [module.professor.pdf] Generate PDF link 2018-03-21 14:54:42 +01:00
xdrm-brackets 2c0681dd7c [module.professor.pdf] Generate PDF (not tested but working) ONLY WORKS WITH 'prof_id' not ALL 2018-03-21 14:43:47 +01:00
xdrm-brackets ec6a89233f [module.cas] GET minmod 2018-03-21 00:50:19 +01:00
xdrm-brackets 81db5a02c8 [module.cas] GET works with URL0=0 with redirection | URL0=1 with pop-up management 2018-03-21 00:41:44 +01:00
xdrm-brackets 46ba44d042 [module.cas] PUT is so slow.. timeout (CAS server not responding in consistent time) 2018-03-20 23:51:39 +01:00
xdrm-brackets 100b09c695 [config.modules] added 'cas' permissions [module.cas] added PUT to really logout (from CAS server) but do not work (except from document.location) 2018-03-20 23:35:16 +01:00
xdrm-brackets 12b1a29ed0 [repo.meta] created meta database repo (create_prof, delete_prof, prof_exists, link_exists, link, unlink, get_prof_departments) [repo.professor] used [repo.meta] to synchronize meta database (fully tested, even if meta not already synchronized) [module.casController] now uses [repo.meta] [module.department] now uses [repo.meta] 2018-03-20 18:44:43 +01:00
xdrm-brackets e301a7eb2e [api.department] added GET (id or ALL) 2018-03-20 11:47:54 +01:00
xdrm-brackets c5adb6d660 [api.core.auth-system-default] fixed 'CurrentDepartmentId' reset type check 2018-03-20 10:54:12 +01:00
xdrm-brackets b06b8666bc [renamed] 'AvailableDepartment' -> 'AvailableDepartments' [renamed] 'CurrentDepartementId' -> 'CurrentDepartmentId' 2018-03-20 10:49:53 +01:00
xdrm-brackets e67195871f [module.cas] dispatch custom error codes [webpack.login] display error codes 2018-03-20 10:19:32 +01:00
xdrm-brackets 38600994c0 [repo.ue] UPDATE manage 'new_code' [module.ue] PUT manages optional argument 'new_code' [webpack.data.ue] display input for 'code' and send 'new_code' to API if set 2018-03-19 23:32:09 +01:00
xdrm-brackets bef4dad5f7 [api.core.authsystemdefault] removed CAS management [module.cas] implemented good CAS management with database + error management (edge cases) 2018-03-19 19:06:00 +01:00
xdrm-brackets 60ceb9d2a8 [module.department] renamed 'getLinkedDepartments' (plural) 2018-03-19 19:05:19 +01:00
xdrm-brackets 959df5cfde [module.cas] fix1 [webpack.page.login] fix [webpack.data.login] fix 2018-03-19 18:27:33 +01:00
xdrm-brackets 70ff0edeb9 [api.core.AuthSystemDefault] added $_SESSION['VERSION'] [router.controller.js] added 'session.version' in javascript '_SERVER' variable [module.version] minmod [webpack.header] implemented VERSION: fetch|create|switch 2018-03-17 19:07:44 +01:00
xdrm-brackets e221452295 [module.department.save] => [module.department.version] refactor + POST split into POST & PUT + used API 'error' return field BIGUPDATE 2018-03-17 14:34:16 +01:00
xdrm-brackets 466d197246 [module.professor] -Removed 'GET professor/stats' 2018-03-17 13:18:37 +01:00
Unknown d240b14a9e Implemented backup preview 2018-03-16 20:40:04 +01:00
xdrm-brackets c3bebefe0f [repo.tp] fixed + added requests to create|update|delete [module.tp] POST to create + PUT to update (can remove a list of formations, or add a list .., update idProf (-1 to unset), volume) 2018-03-15 19:29:00 +01:00
xdrm-brackets 45e3b005ec [repo.td] fixed + added requests to create|update|delete [module.td] POST to create + PUT to update (can remove a list of formations, or add a list .., update idProf (-1 to unset), volume) 2018-03-15 19:25:42 +01:00
xdrm-brackets 428054e007 Merge branch 'master' of https://git.xdrm.io/ptut/vhost 2018-03-15 19:17:32 +01:00
xdrm-brackets 0c0c37b0a1 [repo.cours] fixed + added requests to create|update|delete [module.cours] POST to create + PUT to update (can remove a list of formations, or add a list .., update idProf (-1 to unset), volume) 2018-03-15 19:17:28 +01:00
Unknown aeb39e782f Merge remote-tracking branch 'origin/db-save' into db-save 2018-03-15 18:19:40 +01:00
Unknown a8d671e87c fix Namespace change 2018-03-15 18:18:48 +01:00
Unknown 959a1047d8 Implémentation de base des backups 2018-03-15 18:14:13 +01:00
xdrm-brackets e1bdac7f5b renamed 'departement' to 'department' 2018-03-15 17:40:12 +01:00
xdrm-brackets 2a0d8e15b1 [module.department] renamed (got rid of the 'e') | [webpack.header] department switch OK 2018-03-15 17:38:06 +01:00
Unknown f979578bbc Implémentation de base des backups 2018-03-15 16:47:22 +01:00