summaryrefslogtreecommitdiffstats
path: root/modules-available/sysconfig/api.inc.php
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).
* Use http_response_code() instead of header(), add a few missing repsonse codesSimon Rettberg2025-05-091-1/+1
|
* Add function param/return types, fix a lot more phpstorm complaintsSimon Rettberg2023-11-141-3/+3
|
* 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
* [sysconfig/runmode] Remove "noSysconfig" functionalitySimon Rettberg2019-11-121-45/+34Star
| | | | Was of limited use and not properly implemented anyways.
* [sysconfig] Disable gzip output handler when delivering config.tgzSimon Rettberg2019-10-301-0/+1
|
* [sysconfig] Stuff ssh config into "empty" global configSimon Rettberg2018-03-291-1/+1
| | | | | | | | | | This is an ugly hack. The "no sysconfig" runmode option creates an obvious problem if an ssh config exists: It won't be provisioned to the client, so it's not reachable via ssh. We need a proper mechanism for managing config, that flags modules by whether they should be ignored for "no sysconfig" runmode or not, and while we're at it, make it possible to assign additional modules to rooms.
* [sysconfig] Add api call to rebuild all config.tgzSimon Rettberg2018-03-281-0/+6
|
* [sysconfig/runmode] Deliver bare config.tgz with just global hook data when ↵Simon Rettberg2017-11-031-36/+49
| | | | "no sysconfig" is set for a runmode
* [sysconfig] Remove redundant/dead codeSimon Rettberg2017-05-111-6/+1Star
|
* [locations/sysconfig] Implement location specific sysconfigSimon Rettberg2016-06-221-0/+78