| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [locations] Fix inverted logic bug | Simon Rettberg | 2025-07-24 | 1 | -1/+1 |
| | | |||||
| * | [locations] Location::getLocations(): Add "checked" string for convenience | Simon Rettberg | 2025-07-08 | 1 | -0/+2 |
| | | |||||
| * | [locations] Cleanup Location class | Simon Rettberg | 2025-07-07 | 1 | -189/+193 |
| | | | | | | | | | | | There was a mess of functions which mostly, but not quite, did the same things. Get rid of a couple of them and fix call sites to use alternative ones that also fit the job. While at it, add phpdoc and comments to the remaining functions, trying to clarify what they were designed for. Lastly, the return type of functions that retrieve a location id has been changed from false|int to ?int (nullable types are just nicer). | ||||
| * | [locations] Fix wrong variable type error | Simon Rettberg | 2023-12-04 | 1 | -4/+4 |
| | | |||||
| * | Add function param/return types, fix a lot more phpstorm complaints | Simon Rettberg | 2023-11-14 | 1 | -34/+33![]() |
| | | |||||
| * | Roundup of issues reported by PHPStorm | Simon Rettberg | 2023-11-02 | 1 | -2/+1![]() |
| | | | | | Mostly redundant checks, logic errors, dead code, etc. | ||||
| * | [statistics] Per-location usage stats; include active lecture count | Simon Rettberg | 2022-12-02 | 1 | -1/+1 |
| | | |||||
| * | [inc/Util] Add types, move error printing functions to their own class | Simon Rettberg | 2022-05-02 | 1 | -2/+2 |
| | | |||||
| * | [locations/minilinux] Minor cleanups and fixes | Simon Rettberg | 2021-06-24 | 1 | -0/+1 |
| | | |||||
| * | Moderize Database handling | Simon Rettberg | 2021-05-11 | 1 | -2/+2 |
| | | | | | | | | * 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 | ||||
| * | [locations] Add missing array key | Simon Rettberg | 2020-04-21 | 1 | -1/+2 |
| | | |||||
| * | [locations] Don't consider *false* a valid fixed location id | Simon Rettberg | 2020-01-17 | 1 | -0/+2 |
| | | |||||
| * | [locations] Fix $selected array breakage | Simon Rettberg | 2020-01-10 | 1 | -2/+8 |
| | | | | | | Fixes places like "edit exam" which wouldn't show already selected locations. | ||||
| * | [statistics/baseconfig] Allow per-machine configvar overrides | Simon Rettberg | 2019-10-31 | 1 | -19/+0![]() |
| | | |||||
| * | [locations] Refine location matching checks | Simon Rettberg | 2019-08-01 | 1 | -14/+16 |
| | | |||||
| * | [locations] Add warnings/cleanup for bad machine to roomplan mappings | Simon Rettberg | 2019-07-31 | 1 | -74/+17![]() |
| | | |||||
| * | [locations] Optimize some functions in Location class | Simon Rettberg | 2019-07-29 | 1 | -22/+27 |
| | | | | | | | | * Casts are faster than settype. * Check if assoc location cache is already populated. * getLocationRootChain can use the parents array from that location instead of building the array from scratch. | ||||
| * | [roomplanner] Support creating recursive/composed rooms | Simon Rettberg | 2019-07-23 | 1 | -1/+3 |
| | | |||||
| * | [locations] Fix invalid array access | Simon Rettberg | 2019-01-02 | 1 | -1/+1 |
| | | |||||
| * | [locations] One permission for direct subnet editing; restructure handling a bit | Simon Rettberg | 2018-02-14 | 1 | -1/+1 |
| | | |||||
| * | [location] WTF? | Simon Rettberg | 2017-12-01 | 1 | -2/+1![]() |
| | | |||||
| * | Merge branch 'master' into permission-manager | Simon Rettberg | 2017-12-01 | 1 | -0/+25 |
| |\ | |||||
| | * | [roomplanner] Refactor to use runmode | Simon Rettberg | 2017-11-30 | 1 | -0/+25 |
| | | | |||||
| * | | Merge remote-tracking branch 'origin/master' into permission-manager | Udo Walter | 2017-11-21 | 1 | -24/+32 |
| |\| | | | | | | | | | | | # Conflicts: # modules-available/backup/templates/_page.html # style/default.css | ||||
| | * | [dozmod] Improve location & exam mode detection | Simon Rettberg | 2017-11-14 | 1 | -4/+13 |
| | | | |||||
| | * | [locations] Missing typecast for locationid | Simon Rettberg | 2017-11-03 | 1 | -1/+1 |
| | | | |||||
| | * | [locations] fix missing locationId on ip/uuid ... | Jonathan Bauer | 2017-09-05 | 1 | -19/+18![]() |
| | | | | | | | | | | | ... when the client's ip falls within a known range but its uuid has not been recorded yet and the client requests its config by uuid. | ||||
| * | | [locations] implemented new permission system | Udo Walter | 2017-10-03 | 1 | -1/+2 |
| |/ | |||||
| * | [locations] Add/improve comments | Simon Rettberg | 2017-07-13 | 1 | -6/+6 |
| | | |||||
| * | [locationinfo] Location edit part done so far | Simon Rettberg | 2017-06-12 | 1 | -0/+41 |
| | | |||||
| * | [locationinfo] Started rewrite for panel-based approach | Simon Rettberg | 2017-06-10 | 1 | -0/+5 |
| | | |||||
| * | [locations] Make Location::buildTree() public again for now | Simon Rettberg | 2017-05-17 | 1 | -1/+1 |
| | | |||||
| * | Merge branch 'master' into location-info-panel | Simon Rettberg | 2017-04-27 | 1 | -0/+16 |
| |\ | |||||
| | * | [baseconfig] Display inherited value and source when editing module specific ↵ | Simon Rettberg | 2017-04-26 | 1 | -0/+16 |
| | | | | | | | | | | | | | | | | | settings This optionally requires a callback to find the inheritance source in the module in question. The locations module was updated accordingly. This implements #3120 | ||||
| * | | [locations] Make Location::getTree() public | Simon Rettberg | 2017-04-18 | 1 | -1/+1 |
| | | | |||||
| * | | [locations] Return recursive list of children in getLocationsAssoc() | Simon Rettberg | 2017-04-13 | 1 | -2/+8 |
| |/ | |||||
| * | [statistics/locations/..] Cache calculated locationid of machine in machine ↵ | Simon Rettberg | 2016-12-06 | 1 | -47/+106 |
| | | | | | | | | | | | | | | | | table We now have three columns for the locationid: - subnetlocationid Updated whenever the clientip of a client changes on bootup, or when locations/subnets are edited in the locations module. - fixedlocationid Takes the role of the old locationid field - set when a machine is placed in a room via roomplanner, set to NULL otherwise. - locationid Set to fixedlocationid if it's not NULL, to subnetlocationid otherwise. The field is updated by a BEFORE UPDATE trigger. | ||||
| * | [locations/statistics] Make machine counting more consistent | Simon Rettberg | 2016-09-09 | 1 | -1/+4 |
| | | |||||
| * | [roomplanner] Show location name in title | Simon Rettberg | 2016-09-07 | 1 | -0/+5 |
| | | |||||
| * | [locations] Fix wrong overlap function for subnet collision detection | Simon Rettberg | 2016-08-15 | 1 | -2/+1![]() |
| | | |||||
| * | Added link from locations module to roomplanner. | Christian Klinger | 2016-08-09 | 1 | -0/+11 |
| | | |||||
| * | [exams] Indent location by tree depth; fix ordering of locations in vis.js | Simon Rettberg | 2016-06-24 | 1 | -0/+2 |
| | | |||||
| * | [locations/sysconfig] Implement location specific sysconfig | Simon Rettberg | 2016-06-22 | 1 | -3/+5 |
| | | |||||
| * | [location] Support passing array of selected locs to getLocations() | Simon Rettberg | 2016-06-17 | 1 | -5/+6 |
| | | |||||
| * | [locations] Handle machine UUID param to determine location | Simon Rettberg | 2016-06-16 | 1 | -0/+54 |
| | | |||||
| * | [dozmod/api] Get actual location list | Simon Rettberg | 2016-06-09 | 1 | -1/+1 |
| | | |||||
| * | [location] Move getLocationRootChain to heler class | Simon Rettberg | 2016-06-08 | 1 | -0/+25 |
| | | |||||
| * | [locations] Add machine count to each location | Simon Rettberg | 2016-05-25 | 1 | -12/+129 |
| | | |||||
| * | Get baseconfig ready for modularization | Simon Rettberg | 2016-05-13 | 1 | -0/+157 |

