Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [locations/statistics] More type safety, array key checks | Simon Rettberg | 2024-01-18 | 1 | -1/+1 |
| | |||||
* | [locations] Fix wrong variable type error | Simon Rettberg | 2023-12-04 | 1 | -4/+4 |
| | |||||
* | Fix more type errors, stricter typing | Simon Rettberg | 2023-11-15 | 1 | -8/+3 |
| | |||||
* | Add function param/return types, fix a lot more phpstorm complaints | Simon Rettberg | 2023-11-14 | 4 | -47/+43 |
| | |||||
* | Roundup of issues reported by PHPStorm | Simon Rettberg | 2023-11-02 | 2 | -3/+2 |
| | | | | Mostly redundant checks, logic errors, dead code, etc. | ||||
* | [locations] cleanup: Hide/disable move button if action not available | Simon Rettberg | 2023-05-12 | 1 | -4/+1 |
| | | | | | | Hide the button entirely if there are no movable machines in the displayed list. Disable the button as long as the user selected at least one unmovable machine. | ||||
* | [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/remoteaccess] Add option to veto remoteaccess mode | Simon Rettberg | 2022-04-29 | 1 | -2/+31 |
| | | | | | | | Remoteaccess mode can now be forced to be disabled for individual locations in locations module, either unconditionally, or whenever the openingtimes schedule says the room is open. A reboot will be triggered whenever the room opens/closes to force clients into the proper runmode. | ||||
* | Formatting/minor refactoring | Simon Rettberg | 2022-04-19 | 1 | -1/+7 |
| | |||||
* | [locations/passthrough] Make location assignment recusive | Simon Rettberg | 2022-03-09 | 1 | -0/+5 |
| | | | | | Properly show inherited passthough groups in location list, disable inherited passthrough groups in selection dialog. | ||||
* | [locations] Modularize additional column handling | Simon Rettberg | 2022-03-09 | 1 | -0/+24 |
| | | | | | Additional columns are now added through a hook, moving specialized code where it belongs. | ||||
* | [locations/minilinux] Minor cleanups and fixes | Simon Rettberg | 2021-06-24 | 1 | -0/+1 |
| | |||||
* | Moderize Database handling | Simon Rettberg | 2021-05-11 | 3 | -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 | ||||
* | [locations/rebootcontrol] Inherit openingtimes for WOL/shutdown | Simon Rettberg | 2021-03-19 | 1 | -0/+28 |
| | | | | | | | | | | The opening times schedule is now inherited to child locations, so it's easy to toggle WOL or shutdown for individual rooms in a building, where you only have to set the opening times once for the entire building. As of now, WOL and shutdown settings are *not* inherited to child locations, as I'm not sure if you always want to inherit those by default. Closes #3710 | ||||
* | [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. | ||||
* | [baseconfig] Overhaul hook system | Simon Rettberg | 2019-11-05 | 1 | -15/+13 |
| | | | | | | This enables us to finally properly show the inheritance flow of all the config variables when editing the baseconfig for a certain location or machine. | ||||
* | [statistics/baseconfig] Allow per-machine configvar overrides | Simon Rettberg | 2019-10-31 | 2 | -19/+31 |
| | |||||
* | [locations] Refine location matching checks | Simon Rettberg | 2019-08-01 | 2 | -21/+28 |
| | |||||
* | [locations] Add warnings/cleanup for bad machine to roomplan mappings | Simon Rettberg | 2019-07-31 | 3 | -74/+223 |
| | |||||
* | [locations] Optimize some functions in Location class | Simon Rettberg | 2019-07-29 | 2 | -22/+28 |
| | | | | | | | * 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 |
| | |||||
* | [statistics/locations] Add locationid constraints; update on delete | Simon Rettberg | 2019-04-03 | 1 | -7/+20 |
| | | | | | We didn't update subnetlocationid when deleting a location, leading to machines pointing to invalid locations. | ||||
* | [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] Update/set subnetlocationid field in DB if the DB has ↵ | Simon Rettberg | 2017-01-11 | 1 | -0/+35 |
| | | | | been updated | ||||
* | [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 |
| |