summaryrefslogtreecommitdiffstats
path: root/inc
Commit message (Collapse)AuthorAgeFilesLines
* [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
|
* [inc/Taskmanagercallback] Remove unused functionSimon Rettberg2019-11-221-17/+1Star
|
* [inc/Request] add REQUIRED flag for automatic error messageSimon Rettberg2019-11-221-9/+22
| | | | | | If $default is set to Request::REQUIRED for get() post() or any(), the method will display an error message and halt execution if the given parameter is either missing or empty.
* [translation] Get rid of up_json_encodeSimon Rettberg2019-11-061-180/+0Star
| | | | This was needed in pre-5.4.0 times. Long gone.
* [inc/Util] Add method to agressively unset a cookieSimon Rettberg2019-10-313-2/+24
| | | | | This tries to work around problems with the cookie path and trailing slashes.
* [inc/Util] Simplify user download functionSimon Rettberg2019-10-181-13/+2Star
|
* [serversetup-bwlp-ipxe] UI/UX tweaksSimon Rettberg2019-10-171-0/+12
| | | | | | * Decluttered bootentry View in menu editor * Show details for hook bootentry in menu editor * Buttons for "save and reload" in menu/bootentry editor
* [serversetup-bwlp-ipxe/minilinux] Implement minilinux hook for ipxeSimon Rettberg2019-10-161-1/+10
|
* [minilinux] Rewrite for multiple version/sources handlingSimon Rettberg2019-10-093-42/+25Star
| | | | | | | | | | | * You can supply multiple sources for updates (URLs) * Sources can provide multiple branches * Each branch can supply multiple versions (eg. updates) TODO: Set global default version TODO: Supply hook to serversetup-ipxe to add specific boot entries TODO: UX polish TODO: phpdoc/polish
* [serversetup-bwlp-ipxe]Simon Rettberg2019-09-241-0/+37
|
* [inc/Render] Remove legacy functionsSimon Rettberg2019-07-161-20/+0Star
|
* [inc/Render] Add lang property to html tagSimon Rettberg2019-07-111-1/+1
|
* [locations] subnet inputs: disabled -> readonly; disable save buttonSimon Rettberg2019-05-021-1/+4
| | | | | | | There was unfinished code to disable the save button if there are no actions allowed to perform in the location detail box, which is now working. Also make the text inputs readonly instead of diabled if we're not allowed to edit them, so copy & paste still works.
* [inc/Dashboard] Add feature to collapse sections in sidebar modeSimon Rettberg2019-03-262-1/+14
| | | | | | Modules can now declare that they should be collapsed by default. If a menu category only contains such modules, it will be collapsed in the sidebar mode of the menu.
* api/taskman: Improve loggingSimon Rettberg2019-03-251-0/+1
|
* [inc/Event] autoUpdateIp first thing on bootupSimon Rettberg2019-03-251-2/+3
| | | | Other stuff might depend on the proper serverIp
* [inc/Trigger] Fix Trigger::ipxe() when called multiple timesSimon Rettberg2019-03-251-1/+1
| | | | | | | If during one execution we end up in Trigger::ipxe multiple times, we wouldn't execute any hooks because of include_once. This should be OK however, so instead of changing it to include, just remember the $taskId and return it later.
* [inc/Trigger] Wait for taskmanager on bootupSimon Rettberg2019-03-252-2/+7
|
* [main] Make product name configurableSimon Rettberg2019-03-051-3/+3
|
* [dnbd3] Show image idle time in proxy detailsSimon Rettberg2019-02-211-0/+21
|
* Merge branch 'master' into ipxeipxeSimon Rettberg2019-02-123-7/+13
|\
| * [inc/Dictionary] Teh evil unvalidated redirects must die!Simon Rettberg2019-01-301-3/+8
| |
| * [inc/Util] readableFileSize: support input in KB/MB/...Simon Rettberg2019-01-281-2/+3
| |
| * [inc/Render] new optional argument to change rendered languageChristian Hofmaier2019-01-221-2/+2
| |
* | [serversetup-bwlp] Auto-import of old PXELinux config on bootupSimon Rettberg2019-02-121-0/+11
| | | | | | | | Also minor improvements to UI and structuring