Commit Graph

164 Commits

Author SHA1 Message Date
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
xdrm-brackets 688b0c10c8 [bowdel] + [AuthSystemDefault] + [module.cas] DELETE (now logout works + login + session departE?E?E?E?E?ment data) 2018-03-15 13:13:40 +01:00
Unknown 2a9e1e1474 Implemented department database switch 2018-03-15 12:02:28 +01:00
Unknown 7c2a698733 implemented multi-bdd login 2018-03-15 12:00:48 +01:00
xdrm-brackets cec2c491bb [module.ue.cours|td|tp] GET returns the groups [repo.cours|td|tp.getGroups] used by api 2018-03-14 15:28:41 +01:00
xdrm-brackets 843251449f [repo.ue] fixed get(code), get(null) already worked | [webpack.ue.view] fixed 'form_by_id' that is now declared before fetching UEs 2018-03-13 23:52:09 +01:00
Unknown 127132f9b2 because your request is shit 2018-03-13 21:59:09 +01:00
xdrm-brackets 7d2d59402b [repo.ue] now GET returns the field 'formations' that is a JSON array (shitty SQL) [module.ue] converts to real array data 2018-03-13 21:17:32 +01:00
xdrm-brackets 76ade95c18 [repo.ue] now GET returns the field 'formations' that is a JSON array representation containing the 'formation' IDS 2018-03-13 20:10:14 +01:00
xdrm-brackets 5a050dbbd1 [module.professor] PUT|POST check for lastName+firstName or casLogin to be unique 2018-03-13 11:44:33 +01:00
xdrm-brackets f3085ec4db [module.professor] PUT now checks for @casLogin to be unique 2018-03-13 11:26:08 +01:00
xdrm-brackets 3e0ccea7df [module.professor] PUT can now remove CAS_LOGIN (argument @remCas = TRUE) 2018-03-13 11:13:03 +01:00
xdrm-brackets 9b19c42aee Merge branch 'ue-from-teacher' 2018-03-12 11:02:56 +01:00
xdrm-brackets fa9964cd78 [module.ue] PUT pass 'defaultFormation' as it (NULL: ignore, -1: unset, *: set) 2018-03-12 10:57:53 +01:00
xdrm-brackets 6de03a80e3 [repo.ue] UPDATE now can have empty 'bind_param' because can only set defaultFormation to NULL 2018-03-12 10:57:05 +01:00
xdrm-brackets 6601880436 [module.ue] POST now default value for 'defaultFormation' is int = -1 (type is INT btw) 2018-03-12 10:43:08 +01:00
xdrm-brackets 1aab7b61bd [api.core.checker] now for 'varchar()' type, pass numeric -> string before checking 'strlen()' (because of json_decode) 2018-03-12 10:42:19 +01:00
xdrm-brackets a0d2ca65f9 [webpack.ue.view] [repo.ue] [module.ue] implemented CREATE|DELETE|UPDATE (but BUGGGS EVERYWHERE !!!) 2018-03-11 19:34:11 +01:00
xdrm-brackets eadc3f95d4 [module.ue] DELETE implemented 2018-03-11 18:13:41 +01:00
xdrm-brackets 1c62879fad [webpack.ue.view] updated js to handle edit/create (with volumes) 2018-03-11 18:08:33 +01:00
xdrm-brackets de79bfffde [webpack.ue.view] update [webpack.ue.data] update [scss.container] update [TODO: add volumes in edit/create] [TODO: implement API/repo] 2018-03-11 17:31:46 +01:00
Unknown 2a6d5e7b94 Fix PhpDoc + fix PhpStan errors 2018-03-11 16:31:36 +01:00
Unknown 13c01ef144 add casLogin option for professor.exists 2018-03-11 16:26:04 +01:00
Unknown 24f7c41705 Fix PhpDoc + fix PhpStan errors 2018-03-11 16:14:12 +01:00
Unknown 12e8d4ea92 hotfix repo debugging 2018-03-08 20:55:00 +01:00
Unknown 3b853644e0 implemented debugging of the repo 2018-03-08 20:53:40 +01:00
Unknown 1c513acaa4 Implemented Wrapper and Stacker + optimized Excel import 2018-03-08 20:09:02 +01:00
Unknown 78e66a0a26 Merge branch 'statistics' 2018-03-08 18:41:58 +01:00
Unknown 271799e9f4 implemented departement stats 2018-03-08 18:41:52 +01:00
xdrm-brackets d9a6320d44 [module.professor.filter] removed unused repo 2018-03-08 18:24:52 +01:00
xdrm-brackets 8a3d83503d [module.professor.filter] can now filter by 'categories' + [repo.category] implemented getProfessors() + [webpack.teacher.view] instant-filter for 'categories' -> will propably help to have categories to update category label when prof edited) 2018-03-08 18:13:07 +01:00
xdrm-brackets c21b744986 [webpack.teacher.view] can now toggle 'ADMIN' property in real-time (+feedback) 2018-03-07 14:58:01 +01:00
Unknown 9dc60ca0cd Fix Request for ctegory stats 2018-03-06 19:40:57 +01:00
xdrm-brackets 39cc5ef906 [webpack.logout] now logout works 2018-03-06 19:39:34 +01:00
xdrm-brackets c6fc6631fb [module.category] implemented GET 2018-03-06 16:15:19 +01:00
xdrm-brackets 0a0135487f [repo.category] added get() usual | [repo.professor] fix.. 2018-03-06 16:15:01 +01:00
Unknown faa0ce19ce Fix progessor SQL (when UE disabled) 2018-03-06 16:07:15 +01:00
Unknown ac53d5bf7a Fix Import and request to take in consideration disabled UEs 2018-03-06 15:21:48 +01:00
xdrm-brackets 4352f02dc9 [webpack.teacher.view] show all professors when (no filter|empty filter) 2018-03-06 14:49:48 +01:00
SeekDaSky f0ea6cf494 fix filter 2018-03-06 14:27:27 +01:00
Unknown c4c891f33f Merge remote-tracking branch 'origin/master' 2018-03-06 10:55:23 +01:00
Unknown 4676df2bff fix professor controller and moved equitd computation to repo 2018-03-06 10:53:02 +01:00
SeekDaSky b1bf05541d fixed encoding + implemented incoherence detection 2018-03-05 20:30:57 +01:00
xdrm-brackets 565f9d8d11 [webpack.teacher.view] filters now works 2018-03-05 19:51:28 +01:00
xdrm-brackets 15c57b7abb [module.professor] GET fixed VH formula (renamed 'du' to 'hoursToDo') 2018-03-05 19:42:37 +01:00
xdrm-brackets 92dfdbbc5b Merge branch 'master' of https://git.xdrm.io/ptut/vhost 2018-03-05 19:35:41 +01:00
xdrm-brackets 56cc3eec82 [module.root] to test params | [config.mdules] 2018-03-05 19:35:35 +01:00
xdrm-brackets 8abf8cca2e [BIGUPDATE: api.core.Checker] remove flexibility 2018-03-05 19:33:43 +01:00
xdrm-brackets a9fec0373e [BIGUPDATE: api.core.Request] Now the api tries to parse JSON parameters (if cannot, they are considered as text) -> the parsed data is passed to controllers -> the checker uses the parsed data 2018-03-05 19:16:33 +01:00
xdrm-brackets 3c97079d25 [repo.formation] getProfessors(@form_id) 2018-03-05 18:48:47 +01:00
xdrm-brackets fec2a504a8 [repo.professor] error management 2018-03-05 18:48:30 +01:00
xdrm-brackets b2faf0e736 bugfix 2018-03-05 11:45:43 +01:00
xdrm-brackets 79da633600 [repo.formation] formatted get(ID|ALL) | [module.formation] implemented GET 2018-03-05 11:19:32 +01:00
xdrm-brackets 767abc3063 [repo.ue] added get(ID|ALL) | [module.ue] implemented GET 2018-03-05 10:39:43 +01:00
xdrm-brackets 821edf3f70 [repo.professor] prevent wrong statements to be executed 2018-03-04 12:05:10 +01:00
xdrm-brackets 99351cb8ab [repo.professor] remove PDO exception mode 2018-03-04 12:02:50 +01:00
xdrm-brackets 2352842543 [module.professor] GET (first URL0 argument '0' or '1' to activate VH data) 2018-03-04 11:58:56 +01:00
xdrm-brackets 587884d437 [repo.professor] get (gets by id if given, else getAll) | getWithVH (same as 'get' but with VH data) 2018-03-04 11:58:19 +01:00
xdrm-brackets d033df5ee7 removed 'toremove' 2018-03-03 16:47:57 +01:00
xdrm-brackets e19a891802 toremove 2018-03-03 16:34:54 +01:00
xdrm-brackets 73a496faae [module.cas] POST fixed 'service' processed from $_SERVER variables 2018-03-03 16:32:10 +01:00
xdrm-brackets 0a8a8dc802 [router.controller.js] _SERVER fixed 'connected' variable 2018-03-03 16:01:39 +01:00
xdrm-brackets e80b20c0d2 [error.core.error] added 'MissingBody' and 'MissingHeaders' API download error descriptions 2018-03-03 16:01:20 +01:00
xdrm-brackets 2411b2ed88 [router.controller.page] Redirect to LOGIN page if no authentication 2018-03-03 15:55:10 +01:00
xdrm-brackets b537644258 [module.cas] DELETE for logout | GET for callback now works with tested system for pop-up 2018-03-03 15:50:11 +01:00
xdrm-brackets b9c2d119f5 [api.core.auth-system-default] fix 'cas_admin' that was in the wrong format 2018-03-03 15:00:32 +01:00
xdrm-brackets d7c6ac519c [module.cas] Now returns login if already validated by [api.core.auth-system-default]
[api.core.auth-system-default] implemented permission management with : 'cas_user', 'cas_admin' (cas_user is always here, cas_admin is added only if admin)
2018-03-03 14:57:43 +01:00
xdrm-brackets 3a2eaefd7f [database.core.database-driver] now does not emulate prepares nor stringify output 2018-03-03 14:56:19 +01:00
xdrm-brackets d7d08f07f8 [repo.professor] added getByLogin (for CAS authentication check) 2018-03-03 14:30:52 +01:00
xdrm-brackets aadefed195 [module.cas] Created callback (todo: store in SESSION) + [module.*] renamed all with lowercase API path 2018-03-02 09:27:58 +01:00
xdrm-brackets 7dedb80793 [http.core] Added legacy GET parameters to router's URL param 2018-03-02 08:14:58 +01:00
xdrm-brackets 2b71469530 [module.professor] implemented PUT 2018-03-01 18:25:21 +01:00
xdrm-brackets ad3626d64c [module.professor] implemented DELETE 2018-03-01 18:07:40 +01:00
xdrm-brackets 685c3ffc91 [module.professor] fixed POST > optional 'casLogin' | check if already exists | type 2018-03-01 18:01:45 +01:00
xdrm-brackets d0fbaa6f04 [router.controller.api] fixed content-type JSON header 2018-03-01 17:55:13 +01:00
xdrm-brackets 720be931c0 [module.professor] fixed GET + implemented POST 2018-03-01 17:45:40 +01:00
xdrm-brackets 3d56d90b47 [router.controller.api] added content-type JSON header 2018-03-01 17:43:03 +01:00
xdrm-brackets b2bce31632 [module.professor] implemented GET method (getById if id given, else getAll) 2018-03-01 17:31:15 +01:00
xdrm-brackets a2f84116ca [repo.professor] code clean up + error management (to test) 2018-03-01 17:22:22 +01:00
xdrm-brackets ffdc0bd15e [xdrm-framework] update: now implementations have 'Controller' as a suffix for the class name. 2018-03-01 17:21:48 +01:00
Unknown ad56ce1751 fix DatabaseDriver encoding + implement prof category stats
(and add possiblity to get all formations stat in one query)
2018-03-01 16:57:58 +01:00
Unknown 3ecda58c42 Add default formation for UEs + implemented stats for Formations 2018-03-01 15:57:25 +01:00
Unknown c0bb4541a7 Refactor Repo + Fix TD Equivalent 2018-02-27 20:41:36 +01:00
SeekDaSky fd9357fdba Implemented TD Equivalent Computing for the professors 2018-02-27 18:25:13 +01:00
SeekDaSky 58d0a5ee14 fix mising formations and groups 2018-02-27 18:24:49 +01:00
Unknown 68cd097dec Fix framework with phpstan 2018-02-27 14:48:07 +01:00
Unknown 30e5abede1 Working excel import + added phpstan to composer file 2018-02-27 14:46:53 +01:00
Unknown 1b0a52ded6 Add formations to output JSON 2018-02-27 14:46:53 +01:00