summaryrefslogtreecommitdiffstats
path: root/inc
Commit message (Collapse)AuthorAgeFilesLines
* Add tests using PHPUnitSimon Rettberg2025-12-124-4/+10
| | | | | | | Tests generated by Junie AI. Might not have the best possible quality but at least we got something, and if it turns out to be complete rubbish, we can just throw it out again without any issues, as this is independent of the actual code base.
* [inc/IpUtil] Fix bug in CIDR verificationSimon Rettberg2025-11-261-2/+2
|
* Implicitly nullable types are deprecated in PHP 8.3, make explicitSimon Rettberg2025-08-018-16/+16
|
* [session] Add audit log viewSimon Rettberg2025-07-231-3/+4
| | | | Basic 1st version :)
* [locationinfo] Parametrize panel type configurationSimon Rettberg2025-07-181-2/+9
| | | | | | | | | | | | | | | | | Avoids a lot of copy and paste and duplicate work in php and html part, for example explicitly handling every config variable for a specific panel when displaying the config dialog, when saving the config, and when loading the config for displaying the panel. This also parametrizes enums, limits and ranges, so dropdowns can be rendered automatically, validity of selected option can be checked, and putting numeric settings into bounds all happens generically. Edit dialog for DEFAULT panel is still completely custom, as it has too much special sauce going on with the room config overrides. URL-panel is half-half, but SUMMARY and UPCOMING are entirely generic now.
* [locationinfo] Add UPCOMING panel typeSimon Rettberg2025-07-143-0/+68
|
* [locations] Cleanup Location classSimon Rettberg2025-07-071-2/+1Star
| | | | | | | | | | 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).
* Add audit logging of POST actionsSimon Rettberg2025-05-225-7/+131
|
* [inc/User] Fix typesSimon Rettberg2025-05-201-3/+3
|
* [eventlog] Don't use "smart"/relative time in eventsSimon Rettberg2025-05-202-2/+4
|
* [inc/Database] Check if ErrorHandler is available before calling itSimon Rettberg2025-05-201-2/+23
|
* [inc/Request] HTTP error code, avoid redirect, return text for API modeSimon Rettberg2025-05-091-12/+22
|
* Use http_response_code() instead of header(), add a few missing repsonse codesSimon Rettberg2025-05-091-1/+1
|
* [inc/Database] Wait for db server on connection errorSimon Rettberg2025-04-221-9/+21
|
* [inc/Message] Output plain text in API modeSimon Rettberg2025-03-312-0/+8
|
* [eventlog] Add Matrix as transport protocolSimon Rettberg2025-02-241-0/+1929
|
* [webinterface] Add event log messages for cert changesSimon Rettberg2024-10-112-2/+18
|
* [webinterface] Add support for ACME, add option to redirect to cert domainSimon Rettberg2024-10-082-0/+49
|
* Update phpdocSimon Rettberg2024-10-081-1/+1
|
* [sysconfig] Add button to assign module to multiple configsSimon Rettberg2024-07-191-2/+3
| | | | | This extends and reuses the assignment dialog that pops up at the end of the process where you create a new module.
* [inc/Util] filesize: Fix calculating number of decimals to displaySimon Rettberg2024-05-291-3/+3
|
* Fix type errorsSimon Rettberg2024-01-171-1/+1
|
* [inc/Property] Add type checks now that we use strict_types=1Simon Rettberg2024-01-151-2/+8
|
* [inc/TMCallback] Release task when finishedSimon Rettberg2023-12-191-0/+1
|
* [systemstatus] Add notice about security updates to main pageSimon Rettberg2023-12-191-0/+9
|
* [inc/Property] Fix return typeSimon Rettberg2023-11-201-2/+2
|
* [inc/Download] Add user-agent string to avoid 403 from WikipediaSimon Rettberg2023-11-171-0/+1
|
* [inc/Message] Fix deserializing messages from URLSimon Rettberg2023-11-151-3/+6
|
* [inc/Download] Fix downloading from WikipediaSimon Rettberg2023-11-151-0/+5
|
* Remove 32bit supportSimon Rettberg2023-11-152-10/+1Star
| | | | | | | int is always the native word size, and we don't really test anything on 32bit OSes anymore. 32bit support already required ugly workarounds in the past for large file sizes and ip2long, so we can finally get rid of those and just put an initial check in install.php.
* Fix more type errors, stricter typingSimon Rettberg2023-11-1526-21/+85
|
* Add function param/return types, fix a lot more phpstorm complaintsSimon Rettberg2023-11-1425-325/+303Star
|
* [inv/Eventlog] Fix storing last warning/failure ID for notificationsSimon Rettberg2023-11-141-14/+20
|
* Roundup of issues reported by PHPStormSimon Rettberg2023-11-024-4/+3Star
| | | | Mostly redundant checks, logic errors, dead code, etc.
* Fix a few deprecation warnings on PHP 8.2Simon Rettberg2023-10-062-3/+3
|
* [inc/Database] Fix return typeSimon Rettberg2023-10-021-1/+2
|
* [inc/Eventlog] Make sure data fits in columnsSimon Rettberg2023-07-251-0/+6
|
* [inc/Mailer] Add commentsSimon Rettberg2023-05-241-1/+3
|
* Type annotations, better RNGSimon Rettberg2023-05-222-9/+9
|
* [inc/Mailer] Remove repeated Expire spam from error logSimon Rettberg2023-05-121-1/+2
|
* [inc/Mailer] Allow Somename <some@example.com> format as FROMSimon Rettberg2023-05-121-1/+8
|
* [inc/Download] Clean up codeSimon Rettberg2023-05-081-40/+7Star
|
* [inc/Taskmanager] Update phpdocSimon Rettberg2023-03-021-1/+1
|
* [inc/Session] Fix default parameters to setcookie()Simon Rettberg2023-01-101-1/+1
|
* [session] Add checkbox to log out all other sessions on pw changeSimon Rettberg2023-01-051-0/+13
|
* [inc/ArrayUtil] Fix sort flag handlingSimon Rettberg2022-12-021-2/+2
|
* [inc/Dictionary] Add locale-aware number formatting methodSimon Rettberg2022-11-152-3/+28
|
* [inc/Database] Force utf8mb4 explicitly via SET NAMESSimon Rettberg2022-10-261-0/+1
| | | | | Apparently, putting &charset=utf7mb4 in the connect string is not enough for reasons unknown to me.
* [inc/Property] Fix warning about type conversionSimon Rettberg2022-09-121-0/+1
|
* [eventlog] Add machine data to collected notification samplesSimon Rettberg2022-09-121-0/+13
|