summaryrefslogtreecommitdiffstats
path: root/modules-available/locations/baseconfig
Commit message (Collapse)AuthorAgeFilesLines
* [locations] Cleanup Location classSimon Rettberg2025-07-071-3/+3
| | | | | | | | | | 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).
* Add function param/return types, fix a lot more phpstorm complaintsSimon Rettberg2023-11-141-1/+4
|
* Moderize Database handlingSimon Rettberg2021-05-111-1/+1
| | | | | | | * 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
* [baseconfig] Overhaul hook systemSimon Rettberg2019-11-052-6/+21
| | | | | | 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 overridesSimon Rettberg2019-10-311-1/+2
|
* [*] Adapt to new baseconfig APISimon Rettberg2017-07-111-4/+5
|
* [baseconfig] Display inherited value and source when editing module specific ↵Simon Rettberg2017-04-261-1/+2
| | | | | | | | 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] Handle machine UUID param to determine locationSimon Rettberg2016-06-161-3/+3
|
* [baseconfig] Reimplement toggle/enabled switch from UFPR, sort properly, ↵Simon Rettberg2016-06-141-1/+8
| | | | make download button honor current module/location
* [location] Move getLocationRootChain to heler classSimon Rettberg2016-06-081-7/+1Star
|
* Modularized baseconfig fetching (api)Simon Rettberg2016-05-171-0/+43
|
* Get baseconfig ready for modularizationSimon Rettberg2016-05-131-0/+5