summaryrefslogtreecommitdiffstats
path: root/modules-available/locations/inc/location.inc.php
Commit message (Collapse)AuthorAgeFilesLines
* [locations] Fix wrong variable type errorSimon Rettberg2023-12-041-4/+4
|
* Add function param/return types, fix a lot more phpstorm complaintsSimon Rettberg2023-11-141-34/+33Star
|
* Roundup of issues reported by PHPStormSimon Rettberg2023-11-021-2/+1Star
| | | | Mostly redundant checks, logic errors, dead code, etc.
* [statistics] Per-location usage stats; include active lecture countSimon Rettberg2022-12-021-1/+1
|
* [inc/Util] Add types, move error printing functions to their own classSimon Rettberg2022-05-021-2/+2
|
* [locations/minilinux] Minor cleanups and fixesSimon Rettberg2021-06-241-0/+1
|
* Moderize Database handlingSimon Rettberg2021-05-111-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 keySimon Rettberg2020-04-211-1/+2
|
* [locations] Don't consider *false* a valid fixed location idSimon Rettberg2020-01-171-0/+2
|
* [locations] Fix $selected array breakageSimon Rettberg2020-01-101-2/+8
| | | | | Fixes places like "edit exam" which wouldn't show already selected locations.
* [statistics/baseconfig] Allow per-machine configvar overridesSimon Rettberg2019-10-311-19/+0Star
|
* [locations] Refine location matching checksSimon Rettberg2019-08-011-14/+16
|
* [locations] Add warnings/cleanup for bad machine to roomplan mappingsSimon Rettberg2019-07-311-74/+17Star
|
* [locations] Optimize some functions in Location classSimon Rettberg2019-07-291-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 roomsSimon Rettberg2019-07-231-1/+3
|
* [locations] Fix invalid array accessSimon Rettberg2019-01-021-1/+1
|
* [locations] One permission for direct subnet editing; restructure handling a bitSimon Rettberg2018-02-141-1/+1
|
* [location] WTF?Simon Rettberg2017-12-011-2/+1Star
|
* Merge branch 'master' into permission-managerSimon Rettberg2017-12-011-0/+25
|\
| * [roomplanner] Refactor to use runmodeSimon Rettberg2017-11-301-0/+25
| |
* | Merge remote-tracking branch 'origin/master' into permission-managerUdo Walter2017-11-211-24/+32
|\| | | | | | | | | | | # Conflicts: # modules-available/backup/templates/_page.html # style/default.css
| * [dozmod] Improve location & exam mode detectionSimon Rettberg2017-11-141-4/+13
| |
| * [locations] Missing typecast for locationidSimon Rettberg2017-11-031-1/+1
| |
| * [locations] fix missing locationId on ip/uuid ...Jonathan Bauer2017-09-051-19/+18Star
| | | | | | | | | | ... 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 systemUdo Walter2017-10-031-1/+2
|/
* [locations] Add/improve commentsSimon Rettberg2017-07-131-6/+6
|
* [locationinfo] Location edit part done so farSimon Rettberg2017-06-121-0/+41
|
* [locationinfo] Started rewrite for panel-based approachSimon Rettberg2017-06-101-0/+5
|
* [locations] Make Location::buildTree() public again for nowSimon Rettberg2017-05-171-1/+1
|
* Merge branch 'master' into location-info-panelSimon Rettberg2017-04-271-0/+16
|\
| * [baseconfig] Display inherited value and source when editing module specific ↵Simon Rettberg2017-04-261-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() publicSimon Rettberg2017-04-181-1/+1
| |
* | [locations] Return recursive list of children in getLocationsAssoc()Simon Rettberg2017-04-131-2/+8
|/
* [statistics/locations/..] Cache calculated locationid of machine in machine ↵Simon Rettberg2016-12-061-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 consistentSimon Rettberg2016-09-091-1/+4
|
* [roomplanner] Show location name in titleSimon Rettberg2016-09-071-0/+5
|
* [locations] Fix wrong overlap function for subnet collision detectionSimon Rettberg2016-08-151-2/+1Star
|
* Added link from locations module to roomplanner.Christian Klinger2016-08-091-0/+11
|
* [exams] Indent location by tree depth; fix ordering of locations in vis.jsSimon Rettberg2016-06-241-0/+2
|
* [locations/sysconfig] Implement location specific sysconfigSimon Rettberg2016-06-221-3/+5
|
* [location] Support passing array of selected locs to getLocations()Simon Rettberg2016-06-171-5/+6
|
* [locations] Handle machine UUID param to determine locationSimon Rettberg2016-06-161-0/+54
|
* [dozmod/api] Get actual location listSimon Rettberg2016-06-091-1/+1
|
* [location] Move getLocationRootChain to heler classSimon Rettberg2016-06-081-0/+25
|
* [locations] Add machine count to each locationSimon Rettberg2016-05-251-12/+129
|
* Get baseconfig ready for modularizationSimon Rettberg2016-05-131-0/+157