summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics/api.inc.php
Commit message (Collapse)AuthorAgeFilesLines
* [locations] Cleanup Location classSimon Rettberg2025-07-071-1/+1
| | | | | | | | | | 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).
* [statistics] Make sure 'notes' and 'id44mb' columns get initializedSimon Rettberg2025-03-181-2/+2
|
* [statistics] Provide last runmode to events on ~poweronSimon Rettberg2025-02-131-1/+2
|
* [statistics] Track firmware used by clients and display in machine detailsSimon Rettberg2024-12-161-2/+9
|
* [statistics] Don't log error if ~suspend event is received twiceSimon Rettberg2024-12-031-1/+1
|
* [statistics] Sanitize live values from clientSimon Rettberg2023-12-141-1/+5
|
* Add function param/return types, fix a lot more phpstorm complaintsSimon Rettberg2023-11-141-1/+1
|
* [statistics] Add button to copy existing ruleSimon Rettberg2023-08-021-0/+5
|
* [statistics] Don't duplicate user in .vmchooser-session eventSimon Rettberg2023-07-181-2/+0Star
| | | | It's already there from the machine table data as currentuser
* [statistics] Fix invalid array accessSimon Rettberg2023-06-281-1/+1
|
* [statistics] Expose proper id44/45 values in ~poweron event filteringSimon Rettberg2023-01-201-1/+6
|
* [statistics] Remove test codeSimon Rettberg2022-09-281-10/+0Star
|
* [statistics] Prevent out-of-order event handlingSimon Rettberg2022-09-281-0/+4
|
* [statistics] Make sure hwname and devpath get valid ASCII onlySimon Rettberg2022-05-171-2/+2
|
* [statistics] Client details: Display booted system and bootup durationSimon Rettberg2022-05-171-0/+5
|
* [inc/Database] Add type informationSimon Rettberg2022-04-131-4/+4
|
* [statistics] Make query builder a bit more OOPSimon Rettberg2022-03-091-23/+9Star
|
* [statistics] Add lookup table for GPT type UUIDsSimon Rettberg2022-03-091-0/+1
|
* [statistics] Adapt hw-data parsing to new json format for displaySimon Rettberg2022-03-091-7/+23
|
* [passthrough] New module for managing hardware passthrough for QEMUSimon Rettberg2022-03-091-4/+7
|
* [statistics] Support new json-format of hardware info from clientSimon Rettberg2022-03-091-2/+27
| | | | | | 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.
* [eventlog] Add event filtering and notification systemSimon Rettberg2021-06-251-30/+60
|
* Fix deprecated curly braces string indexing (PHP 7.4)Simon Rettberg2021-03-251-4/+4
|
* [statistics] Store ID45 live statsSimon Rettberg2021-02-181-1/+3
|
* [serversetup-bwlp-ipxe/statistics] Sanitize strings from clientsSimon Rettberg2020-07-311-10/+14
| | | | | | 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.
* [statistics] Keep track of client runmodeSimon Rettberg2020-07-071-0/+8
|
* [rebootcontrol/statistics] Move subnet size handling to hookSimon Rettberg2020-04-271-24/+0Star
|
* [statistics] Track CPU temperature as wellSimon Rettberg2020-04-271-3/+3
|
* Fix typo in last commitSimon Rettberg2020-04-251-1/+1
|
* [statistics] Track CPU-load and standby failures of clientsSimon Rettberg2020-04-251-5/+12
|
* Minor tweaks and cleanupsSimon Rettberg2020-04-251-8/+11
|
* [statistics] Add hook for client machine eventsSimon Rettberg2020-04-161-0/+3
| | | | Now other modules can react to poweron/off etc.
* [statistics/rebootcontrol] Implement editing subnetSimon Rettberg2019-11-271-0/+24
|
* [statistics] api: Update DB on client ipaddr changeSimon Rettberg2019-11-191-7/+12
| | | | | Just logging and ignoring the event spams the event log, also it's more likely that the address actually legitimately changed.
* Fix UUID handling; refactor constraints for machineuuidSimon Rettberg2019-02-211-16/+13Star
|
* [statistics] Fix RAM change warning to handle increase tooSimon Rettberg2019-02-191-1/+2
|
* [statistics] Fix copypastaSimon Rettberg2019-01-281-1/+1
|
* [statistics] Track and display memory/tmp usage of clientsSimon Rettberg2019-01-281-2/+11
|
* [statistics] Handling of standby state in statistics, log crashesSimon Rettberg2019-01-241-61/+41Star
| | | | | | | Or rather, not really crashes, but log whenever a client reports a poweron event without reporting a proper shutdown first. This isn't neccessarily a crash but could also be due to power loss, hard poweroff, or network failures.
* [statistics] Log if client seems to have crashedSimon Rettberg2019-01-211-0/+17
| | | | | | Log when we reset a client's state in the cron job, as well as if we receive a poweron event even though the state in the DB is still IDLE or OCCUPIED.
* [statistics] Filter malformed screen namesSimon Rettberg2018-12-041-0/+4
|
* [statistics] Cleaner version for screen connection state handling by using ↵Simon Rettberg2017-12-211-16/+6Star
| | | | nested array feature for queries
* [statistics] Properly mark disconnected sceens as such if the output name ↵Simon Rettberg2017-12-211-17/+29
| | | | changed
* [statistics, roomplanner, locationinfo] Ignore machines with runmode:isclient==0Simon Rettberg2017-12-011-1/+0Star
|
* [statistics] Reset session name on login to vmchooserSimon Rettberg2017-11-301-1/+1
|
* [statistics] Introduce state column to get rid of complicated state ↵Simon Rettberg2017-11-281-56/+134
| | | | | | determination This also adds support for the STANDBY state
* [statistics] Warn about suspicious hardware changes (RAM, CPU)Simon Rettberg2017-11-241-18/+42
| | | | | | If the CPU model changes or the amount of RAM decreases we issue a warning message to the server log, since at least in the RAM case it might not have been an authorized access.... :/
* [statistics] Also adapt MAC-UUID fixing code to mltk changesSimon Rettberg2017-11-211-1/+1
| | | | Refs #3227
* [statistics] api: Allow specifying client typeSimon Rettberg2017-11-031-27/+42
|
* [statistics] Handle client screens, manage projectorsSimon Rettberg2017-04-061-0/+73
|