Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix more type errors, stricter typing | Simon Rettberg | 2023-11-15 | 1 | -1/+3 |
| | |||||
* | Add function param/return types, fix a lot more phpstorm complaints | Simon Rettberg | 2023-11-14 | 1 | -6/+7 |
| | |||||
* | Fix a few deprecation warnings on PHP 8.2 | Simon Rettberg | 2023-10-06 | 1 | -2/+2 |
| | |||||
* | [inc/Database] Fix return type | Simon Rettberg | 2023-10-02 | 1 | -1/+2 |
| | |||||
* | [inc/Database] Force utf8mb4 explicitly via SET NAMES | Simon Rettberg | 2022-10-26 | 1 | -0/+1 |
| | | | | | Apparently, putting &charset=utf7mb4 in the connect string is not enough for reasons unknown to me. | ||||
* | Fix typos | Simon Rettberg | 2022-07-04 | 1 | -1/+1 |
| | |||||
* | [inc/Util] Add types, move error printing functions to their own class | Simon Rettberg | 2022-05-02 | 1 | -6/+6 |
| | |||||
* | [inc/Database] Add type information | Simon Rettberg | 2022-04-13 | 1 | -19/+20 |
| | |||||
* | [inc/Database] Force more sql_mode options in debug mode | Simon Rettberg | 2022-04-13 | 1 | -1/+2 |
| | |||||
* | [statistics] Support new json-format of hardware info from client | Simon Rettberg | 2022-03-09 | 1 | -2/+2 |
| | | | | | | 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 system | Simon Rettberg | 2021-06-25 | 1 | -0/+35 |
| | |||||
* | Moderize Database handling | Simon Rettberg | 2021-05-11 | 1 | -20/+12 |
| | | | | | | | * 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 | ||||
* | Fix deprecated curly braces string indexing (PHP 7.4) | Simon Rettberg | 2021-03-25 | 1 | -1/+1 |
| | |||||
* | [locations/rebootcontrol] Inherit openingtimes for WOL/shutdown | Simon Rettberg | 2021-03-19 | 1 | -0/+13 |
| | | | | | | | | | | The opening times schedule is now inherited to child locations, so it's easy to toggle WOL or shutdown for individual rooms in a building, where you only have to set the opening times once for the entire building. As of now, WOL and shutdown settings are *not* inherited to child locations, as I'm not sure if you always want to inherit those by default. Closes #3710 | ||||
* | [inc/Database] Force strict mode with CONFIG_DEBUG | Simon Rettberg | 2020-04-27 | 1 | -0/+1 |
| | |||||
* | [inc/Database] Convert bool params to 1 or 0 | Simon Rettberg | 2020-02-27 | 1 | -0/+9 |
| | | | | | PDO unfortunately only does (string)<bool> for boolean params, which converts false to '' instead of '0'. This breaks MariaDB in strict mode. | ||||
* | [inc/Database] Method to return single-column queries as array | Simon Rettberg | 2018-06-12 | 1 | -0/+13 |
| | |||||
* | [inc/*] Suppress warning, don't close statements | Simon Rettberg | 2018-03-21 | 1 | -1/+1 |
| | |||||
* | [inc/Database] Add profiling info (timing, query count) | Simon Rettberg | 2018-01-04 | 1 | -6/+48 |
| | |||||
* | [inc/Database] Support nested arrays in query | Simon Rettberg | 2017-12-21 | 1 | -1/+10 |
| | |||||
* | [inc/Database] Do EXPLAIN SELECT at shutdown so we don't interfere with ↵ | Simon Rettberg | 2017-11-29 | 1 | -2/+15 |
| | | | | SQL_CAL_FOUND_ROWS | ||||
* | [inc/Database] Only fall back to global ignoreError setting if param was omitted | Simon Rettberg | 2017-06-23 | 1 | -9/+9 |
| | |||||
* | [inc/Database] Add slow query debugging output | Simon Rettberg | 2017-05-10 | 1 | -0/+48 |
| | |||||
* | [inc/Database] Add ::queryAll() | Simon Rettberg | 2017-04-24 | 1 | -0/+14 |
| | |||||
* | [inc/Database] Support expanding nested arrays | Simon Rettberg | 2017-04-19 | 1 | -0/+42 |
| | | | | | | | In parametrized queries, you can now pass an array as an argument. This will result in the arguments being expanded to :a1,:a2,:a3 which is suitable for "IN (:slist)" constructs. | ||||
* | [inc/Database] Add helper function to run INSERT and retrieve keys | Simon Rettberg | 2017-04-07 | 1 | -0/+94 |
| | |||||
* | [install] Implement install scripts for most modules | Simon Rettberg | 2016-06-08 | 1 | -7/+22 |
| | |||||
* | PhpStorm stuff | Simon Rettberg | 2016-06-06 | 1 | -23/+14 |
| | |||||
* | Still working in modularization cleanup and refinement | Simon Rettberg | 2016-05-11 | 1 | -0/+1 |
| | |||||
* | [locations] New module for managing locations | Simon Rettberg | 2016-02-19 | 1 | -1/+1 |
| | |||||
* | [database] Fix typo in prepare method (self::init()was missing a colon) | Simon Rettberg | 2016-01-18 | 1 | -1/+1 |
| | |||||
* | [statistics] Add table definition, bump db version | Simon Rettberg | 2015-12-21 | 1 | -1/+1 |
| | |||||
* | Support statictics slxlog messages (Starting with '.'), those go to a ↵ | Simon Rettberg | 2015-05-21 | 1 | -1/+1 |
| | | | | special table | ||||
* | config module structure completed. Many other fixes. Hidden pw field support. | Simon Rettberg | 2015-01-20 | 1 | -2/+4 |
| | |||||
* | Rework config module class structure. Still some TODOs though.... | Simon Rettberg | 2014-12-12 | 1 | -1/+5 |
| | |||||
* | Store processed and unprocessed values of settings; add option to download ↵ | Simon Rettberg | 2014-12-10 | 1 | -1/+1 |
| | | | | minilinux components that seem up to date; add setting to show/hide password fields | ||||
* | Big load of changes | Simon Rettberg | 2014-10-09 | 1 | -1/+1 |
| | | | | | | | | | | | - Added callback functionality for taskmanager tasks. You can launch a task and define a callback function to be run when the task finished. This requires activating the cronjob - Added cron functionality: Add cronjob that calls the cron api every 5 minutes to use it. (See cron.inc.php) - Added eventlog - Added missing translations - Merged main-menu-login and main-menu-logout | ||||
* | Implement force utf8 option for mysql db | Simon Rettberg | 2014-10-06 | 1 | -1/+4 |
| | |||||
* | Added eventlog class, improved db-update machanism. | Simon Rettberg | 2014-09-15 | 1 | -0/+14 |
| | | | | A warning will be shown in the main menu bar if the database schema needs to be updated. | ||||
* | Fixed some bugs from Sateserver v05 | Simon Rettberg | 2014-05-28 | 1 | -11/+23 |
| | |||||
* | Stuff (WIP) | Simon Rettberg | 2014-05-23 | 1 | -0/+1 |
| | |||||
* | Working on config.tgz composition through config modules | Simon Rettberg | 2014-05-15 | 1 | -0/+92 |