summaryrefslogtreecommitdiffstats
path: root/inc
Commit message (Collapse)AuthorAgeFilesLines
* [inc/Util] Remove leading space in formatDuration() when < 24hSimon Rettberg2022-05-171-1/+2
|
* [eventlog] Cast numeric values to int explicitly, in case they are ''Simon Rettberg2022-05-131-1/+1
|
* [inc/Property] Types, remove unused functionsSimon Rettberg2022-05-121-24/+9Star
|
* [inc/Hook] Add typesSimon Rettberg2022-05-121-2/+3
|
* [inc/Download] Add typesSimon Rettberg2022-05-121-4/+8
|
* [vmstore] Add types where possible and do false -> nullSimon Rettberg2022-05-112-21/+23
|
* [inc/Util] Add types, move error printing functions to their own classSimon Rettberg2022-05-0212-210/+231
|
* [rebootcontrol] Show time of execution for WOL/reboot/shutdownSimon Rettberg2022-05-021-0/+12
|
* [locations/remoteaccess] Add option to veto remoteaccess modeSimon Rettberg2022-04-291-1/+13
| | | | | | | 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.
* [inc/Database] Add type informationSimon Rettberg2022-04-131-19/+20
|
* [inc/Database] Force more sql_mode options in debug modeSimon Rettberg2022-04-131-1/+2
|
* [statistics] Adapt hw-data parsing to new json format for displaySimon Rettberg2022-03-091-7/+1Star
|
* [statistics] Support new json-format of hardware info from clientSimon Rettberg2022-03-092-3/+4
| | | | | | We now try to use JSON output mode from any tool on the client to supply information, for easier parsability and hopefully, a more stable format.
* [inc/User] Make sure user has a tokenSimon Rettberg2021-06-281-10/+18
|
* [eventlog] Add event filtering and notification systemSimon Rettberg2021-06-253-6/+232
|
* [locations/minilinux] Minor cleanups and fixesSimon Rettberg2021-06-243-19/+30
|
* Moderize Database handlingSimon Rettberg2021-05-113-23/+15Star
| | | | | | | * 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
* [session] Add option to bind session to IP addressSimon Rettberg2021-05-111-2/+2
|
* [main+Session] Move session from /tmp/ to session tableSimon Rettberg2021-05-113-58/+86
|
* [inc/Trigger] Remember ::ipxe() result and return it on subsequent callsSimon Rettberg2021-04-201-1/+4
| | | | | | | This fixes triggering two or more compile runs in one request, which is most likely pointless as it would generate the same result. Just remember the return value (task id) from the first onvication and return it right away.
* [serversetup-bwlp-ipxe] Add iPXE version selectorSimon Rettberg2021-04-203-17/+38
|
* Fix deprecated curly braces string indexing (PHP 7.4)Simon Rettberg2021-03-253-5/+5
|
* [locations/rebootcontrol] Inherit openingtimes for WOL/shutdownSimon Rettberg2021-03-191-0/+13
| | | | | | | | | | 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
* [sysconfig] Display duplicate files for generated system configSimon Rettberg2020-11-031-1/+1
| | | | Implements #3670
* [inc/Taskmanager] waitComplete(): Better timeout handlingSimon Rettberg2020-09-221-3/+3
| | | | | | | Sleep before first query, since we assume that we either just obtained the status object and nothing much has changed since then, or we passed in a deserialized task id from much earlier, where 100ms don't matter that much.
* [Trigger/Event] Fix minor warningsSimon Rettberg2020-09-222-4/+10
|
* [Module] Add phpdocSimon Rettberg2020-09-171-1/+6
|
* [inc/Util] formatDuration: Add leading zeroSimon Rettberg2020-08-271-1/+7
| | | | | Conditionally add leading zero to years, months, days if we printed the next-larger unit already, for beeter display in tables.
* [serversetup-bwlp-ipxe/statistics] Sanitize strings from clientsSimon Rettberg2020-07-311-0/+33
| | | | | | Some string from the clients might not be well suited for utf-8 representation. Add wrapper functions that clean utf-8 strings, or convert ANSI strings to UTF-8 while removing problematic chars.
* [systemstatus/sysconfig] Manage LDADP via systemdSimon Rettberg2020-07-072-64/+3Star
| | | | | | | Finally got rid of our own little service manager. Status/restart handling capabilities were added to the system status page. TODO: Permissions for dnbd3, service (re)starting in general
* [inc/Request] Don't treat 0 as emptySimon Rettberg2020-06-181-1/+1
|
* [inc/Permission] add mergeWithDisallowedSimon Rettberg2020-05-181-0/+24
|
* [inc/Database] Force strict mode with CONFIG_DEBUGSimon Rettberg2020-04-271-0/+1
|
* [statistics] New filter UISimon Rettberg2020-04-201-1/+22
|
* [inc/IpUtil] parseCidr(): Handle IP-only param just like /32Simon Rettberg2020-04-161-2/+9
|
* [inc/Database] Convert bool params to 1 or 0Simon Rettberg2020-02-271-0/+9
| | | | | PDO unfortunately only does (string)<bool> for boolean params, which converts false to '' instead of '0'. This breaks MariaDB in strict mode.
* [dnbd3] Run mount script when toggling dnbd3 usageSimon Rettberg2020-02-261-1/+5
| | | | | | Pass the new "if local only" option, so the script only acutally runs if internal storage is being used, since that takes care of properly enabling or disabling the NFS server.
* [inc/Taskmanager] Reset connection on errorSimon Rettberg2020-02-251-2/+23
|
* [inc/Util] Fix rounding based on OS bitnessSimon Rettberg2020-01-141-1/+6
|
* [inc/Util] Fix rounding of large (float) valuesSimon Rettberg2020-01-101-1/+1
|
* [permissionmanager] Make default roles "builtin" i.e. not modifiableSimon Rettberg2020-01-091-1/+9
|
* [inc/Taskmanager] Switch to new TCP interfaceSimon Rettberg2020-01-071-26/+85
|
* [inc/Trigger] Pass dnbd3 status to MountVmStore taskSimon Rettberg2019-12-171-0/+1
|
* Fix some typos (found by codespell)Stefan Weil2019-12-145-5/+5
| | | | Signed-off-by: Stefan Weil <sw@weilnetz.de>
* [inc/Render] Add qstr_urlencode as global mustache varSimon Rettberg2019-12-132-2/+7
|
* [inc/Session] Add timeout param to Session::set(), purge on loadSimon Rettberg2019-12-101-5/+22
|
* [inc/IpUtil] Add missing classSimon Rettberg2019-12-101-0/+72
|
* [statistics/rebootcontrol] Add WOL button to statistics moduleSimon Rettberg2019-12-071-0/+24
| | | | | * Overhauled task display in rebootcontrol module * Can only add subnets by CIDR now instead of start and end
* [statistics/rebootcontrol] Implement editing subnetSimon Rettberg2019-11-271-1/+1
|
* [rebootcontrol] Start adding WOL functionalitySimon Rettberg2019-11-221-1/+10
|