summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics_reporting
Commit message (Collapse)AuthorAgeFilesLines
* Revert "[statistics_reporting] Consider all machines in DB"Simon Rettberg2024-02-071-6/+3Star
| | | | | | | | | | Revert these changes that would result in different results. We're still not entirely clear how to handle the case of missing machines vs. machines that just haven't been used for quite some time. So instead of changing this now and possibly again in the near future, leave it as is for now and then do something more clever in the near future. This reverts commit 5dd6473d2f78d74c005ed20fb2a968f9bcae6ade.
* [statistics_reporting] Consider all machines in DBSteffen Ritter2024-01-251-3/+6
| | | | | | | | | | Don't limit on machines which booted at least once in the last 30 days. Otherwise the number of machines in statistics_reporting doesn't match the number of clients in rooms/locations or client-statistics which is kinda irritating. We still have the problem, that we don't know which clients still exist in the real world. But that' another story.
* Add function param/return types, fix a lot more phpstorm complaintsSimon Rettberg2023-11-144-41/+36Star
|
* Roundup of issues reported by PHPStormSimon Rettberg2023-11-022-9/+5Star
| | | | Mostly redundant checks, logic errors, dead code, etc.
* [statistics_reporting] Report legacy VMware CPUsSimon Rettberg2023-09-251-0/+9
|
* [statistics_reporting] Future-proof mem check :>Simon Rettberg2023-09-251-1/+1
|
* [statistics_reporting] Fix phpstorm complaintsSimon Rettberg2023-06-201-7/+8
|
* [statistics_reporting] Fallback for IP and hostnameSteffen Ritter2022-08-221-2/+2
| | | | | The php '$_SERVER' variables are not populated when executed by a cron job. As fallback use the server adress from ipxe-module.
* [statistics_reporting] Report GPU stats in 7/30/90 fashionSimon Rettberg2022-05-171-3/+5
|
* [statistics_reporting] Add GPU type countsSimon Rettberg2022-04-132-1/+21
|
* [statistics_reporting] Gather some more os infosSteffen Ritter2022-01-311-0/+9
| | | | | | * IP address * Hostname by reverse lookup on IP * OS name/version
* [statistics_reporting] Always send a minimal reportSteffen Ritter2021-11-052-41/+41
| | | | | | | Even if reporting is disabled send an absolute minimal report which includes at least the satellite version but nothing more. This is just for tracking how many servers are in use.
* Moderize Database handlingSimon Rettberg2021-05-112-5/+5
| | | | | | | * 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
* [statistics_reporting/statistics] Include system/runmode total countsSimon Rettberg2020-12-032-0/+18
| | | | References #3781
* [statistics_reporting] Fix json types, add duration fieldSimon Rettberg2020-10-221-1/+4
|
* [statistics_reporting] Add missing group statementSimon Rettberg2020-10-221-1/+2
|
* [statistics_reporting] Add exam statisticsSimon Rettberg2020-10-222-5/+33
|
* [statistics_reporting] Fix numer of unique users and server CPU modelSimon Rettberg2020-06-292-3/+2Star
|
* [statistics_reporting] Don't consider machines not recently usedSimon Rettberg2020-01-171-6/+9
| | | | | ... machine must have been running in the previous 30 days, relative to the "from" timestamp of selected interval.
* [statistics_reporting] Remove dead codeSimon Rettberg2020-01-171-7/+0Star
|
* [statistics_reporting] Add date range selectionUdo Walter2020-01-153-18/+46
|
* [inc/Module] Overhaul dependency loading and handling of js/cssSimon Rettberg2018-04-131-2/+7
| | | | This is supposed to prevent unneeded js/css from being pulled in
* Permissions: Consistency: Make all pages require at least one permission to ↵Simon Rettberg2018-04-091-0/+1
| | | | | | be accessible Closes #3340
* [statistics_reporting] Fix permission checkSimon Rettberg2018-02-151-1/+2
|
* [permissionmanager] Introduce "location-aware" flag for permissionsSimon Rettberg2018-02-121-10/+26
| | | | | | | | | | This flag tells wether the permission can be restricted to certain locations in a meaningful way. This flag has to be set in the permissions.json of the according module. For example, the permission to reboot the server cannot be limited to certain locations in a meaningful way, while the view of the client log can be filtered to only show log entries for clients in specific locations.
* Update translationsSimon Rettberg2018-02-082-0/+2
|
* Merge branch 'master' of dnbd3:openslx-ng/slx-adminSimon Rettberg2018-02-051-3/+6
|\
| * [statistics_reporting] Translation for 'settings'Steffen Ritter2018-02-051-3/+6
| |
* | [statistics_reporting] Fix perVM and perUser (type mismatch in SQL)Simon Rettberg2018-02-054-11/+6Star
|/
* Update translationsSimon Rettberg2018-01-084-8/+12
|
* [statistics_reporting] Don't leak locationid in remote reportSimon Rettberg2018-01-081-1/+1
|
* [statistics_reporting] Query rewrite: Use iterative approachSimon Rettberg2018-01-047-324/+499
| | | | | | | Several simple test cases yielded incorrect results, also sessions partially overlapping with the selected hours were not handled properly. Iterative processing of logged events instead of single humongous unmaintainable SQL query.
* Fix A LOT of type problems, logic flaws, uninitialized variables etc.Simon Rettberg2017-12-163-3/+15
| | | | | Most of them were found by phpstorm, so I put in some time and went through the list, fixing quite a bunch of them.
* [permissionmanager] added support for localized permission descriptions;Udo Walter2017-12-073-10/+30
| | | | | moved add/delete buttons to the right; items in the user and locations table can now be selected by clicking anywhere in the table row;
* [statistics_reporting] reworked permission system from "click and you get ↵Christian Hofmaier2017-11-303-31/+30Star
| | | | error" to "button is disabled due to lack of permission"
* [statistics_reporting] moved export button from header to first panel, ↵Christian Hofmaier2017-10-163-18/+21
| | | | renamed "apply" button to "show" button, made panel-headers not being <strong> anymore
* [baseconfig][baseconfig_partitions_cdn][eventlog][minilinux][permissionmanag ↵Christian Hofmaier2017-09-293-46/+63
| | | | er][rebootcontrol][statisics_reporting][syslog] fixed inconsistencies
* [exams] fixed inconsistencies + made tables sortableUdo Walter2017-09-111-1/+1
|
* Merge remote-tracking branch 'origin/master' into permission-managerUdo Walter2017-09-018-19/+130
|\
| * [statistics_reporting] Add link to wiki explaining remote reporting in detailSimon Rettberg2017-05-053-1/+4
| |
| * [statistics_reporting] Reporting is opt-out nowSimon Rettberg2017-05-021-6/+7
| |
| * Move rebootcontrol, locationinfo to new beta section, statistics_reporting ↵Simon Rettberg2017-04-281-1/+1
| | | | | | | | | | | | to status Closes #3122
| * [statistics_reporting] Extend remote report by hwstats, date ranges, userstatsSimon Rettberg2017-04-245-12/+119
| | | | | | | | This implements #3108
* | [js_stupidtable] changed one-line code to formatted code;Udo Walter2017-05-157-19/+6Star
| | | | | | | | modified to show sorting arrows on columns and different mouse cursor on hover
* | [statistics_reporting] implemented usecase of permissionmanager in ↵Christian Hofmaier2017-05-022-9/+47
| | | | | | | | statistics_reporting
* | Merge branches 'master' and 'permission-manager' of ↵Christian Hofmaier2017-04-125-15/+28
|\| | | | | | | git.openslx.org:openslx-ng/slx-admin into permission-manager
| * [statistics_reporting] Send backlogged reports in cronjobSimon Rettberg2017-04-101-1/+2
| |
| * [statistics_reporting] Don't include perUser and perClient in remote reportSimon Rettberg2017-04-101-2/+0Star
| |
| * [statistics_reporting] fixed clients/locations without offline-length ↵Udo Walter2017-04-042-5/+5
| | | | | | | | entries not showing
| * [statistics_reporting] Fallback to ip if client has no hostnameSimon Rettberg2017-04-031-1/+1
| |