summaryrefslogtreecommitdiffstats
path: root/modules-available/exams
Commit message (Collapse)AuthorAgeFilesLines
* [exams] Add check and warning for colliding examsSimon Rettberg2026-01-154-4/+69
| | | | | If two (or more) exams share at least one location and their start/end times overlap, display a warning to the user.
* Add tests using PHPUnitSimon Rettberg2025-12-121-7/+8
| | | | | | | Tests generated by Junie AI. Might not have the best possible quality but at least we got something, and if it turns out to be complete rubbish, we can just throw it out again without any issues, as this is independent of the actual code base.
* [exams] Fix incorrect count() clauseSimon Rettberg2025-12-041-2/+2
| | | | Again found by tests created by Junie AI
* [exams] Remove db error checks, add POST redirect, response codeSimon Rettberg2025-08-071-19/+17Star
| | | | | | | | - Error checks for DB queries are pointless; the DB functions call an error handler by default and do not return - Add a redirect if any of the handlers in doPreprocess return and we're in a POST request as a safety measure - Fix virtual HTTP response code when editing lecture
* A few more HTTP code audit log fixupsSimon Rettberg2025-08-041-1/+1
|
* Implicitly nullable types are deprecated in PHP 8.3, make explicitSimon Rettberg2025-08-011-1/+1
|
* Add audit logging of POST actionsSimon Rettberg2025-05-221-5/+8
|
* [exams] Tweak exam list, add note on top about running examsSimon Rettberg2025-02-206-32/+79
|
* Fix more type errors, stricter typingSimon Rettberg2023-11-152-3/+3
|
* Add function param/return types, fix a lot more phpstorm complaintsSimon Rettberg2023-11-143-19/+23
|
* [inc/Util] Add types, move error printing functions to their own classSimon Rettberg2022-05-021-2/+2
|
* Moderize Database handlingSimon Rettberg2021-05-111-4/+4
| | | | | | | * Auto-convert to utf8mb4_unicode_520_ci * Use foreach instead of while to loop over results * Drop useless statement caching * Keep emulated prepares, as we sometimes loop over nested queries
* [remoteaccess/exams] Disable screen-saver timeout for these modesSimon Rettberg2020-09-231-0/+2
|
* [exams/runmode/remoteaccess] Tweak baseconfig hook (runmode/format)Simon Rettberg2020-09-171-0/+1
|
* [exams] Make warnings for locations work with treesSimon Rettberg2020-08-062-5/+27
|
* [exams] Relax date sanity range when saving examSimon Rettberg2020-08-041-1/+1
| | | | It might be desired to set a date in the past for archival reasons
* [exams] Cast locationList of lecture to stringSimon Rettberg2020-08-031-1/+1
| | | | | If it's a single location, it was turned into a number by jQuery, so .split() failed.
* [exams] More sanity checks regarding date/time and locationsSimon Rettberg2020-07-224-65/+170
| | | | | | | | | | Implausible start/end time, or mismatch between defined exam interval and interval of selected lecture will now be reported. Also, if the list of selected locations contains a location that is not also assiged to the selected lecture, a warning will be displayed. This only triggers if the lecture is restricted to certain locations (exclusive mode, aka "islocationprivate" column.
* [exams] Collapse old exams (-90 days)Simon Rettberg2020-07-202-3/+27
|
* [exams] Fix isExamMode() for global examsSimon Rettberg2019-07-041-2/+6
|
* [exams] Fix creating global examSimon Rettberg2019-07-032-7/+37
|
* [exams] Fix HTML syntaxSimon Rettberg2019-05-291-1/+1
|
* [exams/bootstrap_datepicker] Always load slx-admin language pluginSimon Rettberg2019-05-291-22/+15Star
| | | | Fixes #3567
* [exams] Add constraints to exams_x_location tableSimon Rettberg2019-04-011-9/+7Star
|
* [exams] Shortcut for permcheckSimon Rettberg2019-04-011-0/+2
|
* Introduce JS helper for bootstrap confirm dialogs on button-submitSimon Rettberg2019-03-251-8/+14
|
* Update translationsSimon Rettberg2019-02-182-4/+0Star
|
* [inc/User] Fix access to Page if class is not loadedSimon Rettberg2018-08-072-2/+2
|
* [exams] Fix warning msg when checking timeranges (sec vs ms)Steffen Ritter2018-05-301-3/+3
|
* [exams/runmode] Properly disable exam mode for runmodesSimon Rettberg2018-04-201-14/+24
|
* [inc/Module] Overhaul dependency loading and handling of js/cssSimon Rettberg2018-04-131-3/+10
| | | | This is supposed to prevent unneeded js/css from being pulled in
* [exams] Fix always-disabled "add" button for existing lecturesSimon Rettberg2018-04-101-1/+1
|
* Permissions: Consistency: Make all pages require at least one permission to ↵Simon Rettberg2018-04-091-8/+1Star
| | | | | | be accessible Closes #3340
* [exams] Simplify permissions, add some error messagesSimon Rettberg2018-02-124-172/+145Star
|
* [permissionmanager] Introduce "location-aware" flag for permissionsSimon Rettberg2018-02-121-5/+8
| | | | | | | | | | This flag tells wether the permission can be restricted to certain locations in a meaningful way. This flag has to be set in the permissions.json of the according module. For example, the permission to reboot the server cannot be limited to certain locations in a meaningful way, while the view of the client log can be filtered to only show log entries for clients in specific locations.
* [exams] Fix table designSimon Rettberg2018-02-081-1/+1
|
* [exams/roomplanner] Hybrid PVS managers become dedicated in exam modeSimon Rettberg2018-02-081-1/+0Star
| | | | Hopefully fixes #3066
* [exams] reworked permission system from "click and you get error" to "button ↵Christian Hofmaier2018-01-027-83/+246
| | | | is disabled due to lack of permission". you now can only add/delete/edit based on locations you have permission for. you need permission for all locations of an exam to edit/delete it, but you can see it if you have at least permission for one of the locations.
* Fix A LOT of type problems, logic flaws, uninitialized variables etc.Simon Rettberg2017-12-162-3/+4
| | | | | Most of them were found by phpstorm, so I put in some time and went through the list, fixing quite a bunch of them.
* Merge remote-tracking branch 'origin/master' into permission-managerUdo Walter2017-11-211-3/+5
|\ | | | | | | | | | | # Conflicts: # modules-available/backup/templates/_page.html # style/default.css
| * [exams/roomplanner] Smarter coordination of run mode (exam mode on/off etc)Simon Rettberg2017-11-141-3/+5
| |
* | [exams] removed bold style from panel headingsUdo Walter2017-10-162-1/+5
| |
* | [exams] replaced confirm dialog with modal; added panels to edit/add exam page;Udo Walter2017-10-164-93/+125
| | | | | | | | added visual separation to the "add exam period" button;
* | [locations] fixed inconsistencies + small design changesUdo Walter2017-09-131-1/+1
| |
* | [js_stupidtable] fixed stupidtable not working with collapsed tablesUdo Walter2017-09-131-3/+1Star
| |
* | [exams] small design changesUdo Walter2017-09-125-110/+133
| |
* | [exams] fixed inconsistencies + made tables sortableUdo Walter2017-09-118-97/+122
|/
* [*] Adapt to new baseconfig APISimon Rettberg2017-07-111-6/+7
|
* [exams] Initialize class members of pageSimon Rettberg2017-05-021-3/+3
|
* [exams] Show confirmation dialog when defining global examSimon Rettberg2017-04-283-1/+11
| | | | This fixes #3125