summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics/inc
Commit message (Collapse)AuthorAgeFilesLines
* [statistics] Fix detection of machines with no HDDSimon Rettberg2020-10-271-2/+2
| | | | | | This was broken in two ways: The filters were renamed, but we still tried to match the old names (since these are strings :(), and then we need to ignore devicemapper devices reported on MaxiLinux.
* [statistics] Improve fdisk parsing for goofy fdisk variantsSimon Rettberg2020-07-101-0/+6
|
* [statistics] Fix querying location 0 (no location)Simon Rettberg2020-06-031-0/+2
|
* [statistics] Less strict IP address validationSimon Rettberg2020-06-021-6/+0Star
| | | | This didn't actually accept 1.2.3.*
* [statistics] Make ~ default for location filterSimon Rettberg2020-05-151-2/+1Star
|
* [statistics] Fix lastboot, uptime and status filtersSimon Rettberg2020-05-101-4/+4
|
* [statistics] Stricter verification of IP addressesSimon Rettberg2020-05-071-3/+31
|
* [statistics] Re-introduce "with sublocations" for location filterSimon Rettberg2020-05-051-3/+4
|
* [statistics] Unify Ram and ID44 filtersSimon Rettberg2020-04-221-54/+53Star
|
* [statistics] Validate operator for all filtersSimon Rettberg2020-04-211-0/+18
|
* [statistics] Refactor filter creation (Part 1)Simon Rettberg2020-04-212-408/+388Star
| | | | | | | | Filter classes are now instances of their respective classes, to move more logic into those classes. A bind method is used for assigning actual operator and argument values. renderFilterBox() is still a little too messy, maybe a clever class for mapping a (bound) filter to data for mustache will come in handy here.
* [statistics] New filter UISimon Rettberg2020-04-201-119/+151
|
* [statistics] Fix Steffens superpatchSimon Rettberg2019-12-171-2/+2
|
* [statistics] Add filter for runtime and lastbootSteffen Ritter2019-12-171-0/+10
|
* [statistics] Fix date range queries to match by day, not by secondSimon Rettberg2019-12-131-1/+11
|
* [statistics] Add NVMe supportSimon Rettberg2019-12-131-2/+6
|
* [statistics] Fix filtering by prefixing columns with table nameSimon Rettberg2019-11-081-4/+4
|
* [statistics] ModularizeSimon Rettberg2019-11-074-38/+291
|
* [baseconfig] Overhaul hook systemSimon Rettberg2019-11-051-5/+15
| | | | | | 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-0/+37
|
* [statistics] dmidecode parser: Better handling of memorySimon Rettberg2019-04-251-17/+42
|
* [statistics] Show RAM manufacturer; add JEDEC DB & parserSimon Rettberg2019-04-202-3/+34
|
* [statistics] Handle system an mainboard model separatelySimon Rettberg2019-04-161-4/+11
| | | | ...especially for BIOS updates checks...
* [statistics] Fix smartctl attribute parsingSimon Rettberg2019-04-041-1/+1
|
* [statistics] Feature: BIOS update infoSimon Rettberg2019-03-191-0/+8
| | | | | Fetch list of known BIOS updates that fix issues wrt. bwLehrpool/OpenSLX/whatever it's called today.
* Fix UUID handling; refactor constraints for machineuuidSimon Rettberg2019-02-211-1/+1
|
* [statistics] Minor refactoring (PHP >= 5.6)Simon Rettberg2019-01-241-6/+10
|
* [statistics] Handling of standby state in statistics, log crashesSimon Rettberg2019-01-242-3/+24
| | | | | | | 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] Improve ID44 filter matchingSimon Rettberg2019-01-211-10/+14
|
* [statistics] Show ID45 partition in green, like ID44Simon Rettberg2018-03-211-3/+23
| | | | Closes #3325
* [statistics] Refine permissions, add some new onesSimon Rettberg2018-03-042-15/+76
|
* [statistics] Fix runtime filter (had math backwards)Simon Rettberg2018-01-151-6/+6
|
* [statistics] Add filters for uptime and hostnameSimon Rettberg2018-01-081-5/+39
| | | | Closes #3278
* Fix A LOT of type problems, logic flaws, uninitialized variables etc.Simon Rettberg2017-12-161-2/+1Star
| | | | | Most of them were found by phpstorm, so I put in some time and went through the list, fixing quite a bunch of them.
* [statistics] location filter: Support recursive matching by (ab)using ~ and !~Simon Rettberg2017-12-071-3/+10
|
* [roomplanner] Refactor to use runmodeSimon Rettberg2017-11-302-9/+47
|
* [statistics] Handle runmode and its isclient flagSimon Rettberg2017-11-302-4/+32
|
* [statistics] Introduce state column to get rid of complicated state ↵Simon Rettberg2017-11-281-10/+10
| | | | | | determination This also adds support for the STANDBY state
* [statistics] Helper for getting machine as object from DB (to be extended)Simon Rettberg2017-06-232-0/+113
|
* [statistics] Remove debug messageSimon Rettberg2017-05-171-1/+0Star
|
* [statistics] Handle client screens, manage projectorsSimon Rettberg2017-04-061-0/+6
|
* [statistics/locations/..] Cache calculated locationid of machine in machine ↵Simon Rettberg2016-12-061-5/+3Star
| | | | | | | | | | | | | | | table We now have three columns for the locationid: - subnetlocationid Updated whenever the clientip of a client changes on bootup, or when locations/subnets are edited in the locations module. - fixedlocationid Takes the role of the old locationid field - set when a machine is placed in a room via roomplanner, set to NULL otherwise. - locationid Set to fixedlocationid if it's not NULL, to subnetlocationid otherwise. The field is updated by a BEFORE UPDATE trigger.
* [statistics] Add support for parsing GPT output from busybox fdiskSimon Rettberg2016-11-181-4/+51
|
* [statistics] Make static function staticSimon Rettberg2016-11-171-1/+1
|
* [statistics] Show red hdd icon in client list when filtering by ID44 == 0 ↵Simon Rettberg2016-11-141-0/+10
| | | | and machine has no HDD installed at all
* [statistics] Fix cache lookup of device pciidSimon Rettberg2016-10-121-2/+2
|
* use INET_ATON() on `clientip` so fix #3000.Christian Klinger2016-09-291-1/+7
|
* [statistics/locations] Fix query for getting machines for a locationSimon Rettberg2016-09-131-2/+2
|
* [locations/statistics] Make machine counting more consistentSimon Rettberg2016-09-091-1/+1
|
* [statistics] Escape % and _ in LIKE queries, translate user input * and ? to ↵Simon Rettberg2016-09-091-1/+6
| | | | % and _