Commit Graph

37 Commits

Author SHA1 Message Date
Philipp 41251458a0 language and static 2023-02-20 17:23:01 +01:00
Philipp d772331b91 Fix multiple serialized values 2023-02-20 17:22:59 +01:00
Philipp a9c0636573 remove maybeSerialize (always serialize) 2023-02-12 15:48:41 +01:00
Philipp 2d090f0d80 adhere php-cs 2023-02-12 13:17:55 +01:00
Philipp 7895024e75 add license 2023-02-10 14:54:17 +01:00
Philipp 513ef03421 Revert node.config.php into Config table 2023-02-10 14:06:22 +01:00
Philipp 98857f8d7a Add exception if lock wasn't successful 2023-02-10 14:06:21 +01:00
Philipp 9627af924a Add support for toString/Serializable 2023-01-21 19:42:48 +01:00
Philipp bc60eb6cb7 Apply feedback and describe the encoding method 2023-01-15 11:57:43 +01:00
Philipp 4c28f9cf9c Config: Improve the node.config.php transformation
- Add more types
- Improvement for assoziative arrays and key-value arrays
- Add a lot more tests
2023-01-15 00:53:51 +01:00
Philipp 2293ff6206 Add test for Addon failures 2023-01-08 02:49:56 +01:00
Philipp 0429a4e429 Fix loading empty node.config.php 2023-01-08 02:49:56 +01:00
Philipp 6bd1740a94 omg .. wrong assertion .. 2023-01-07 15:49:55 +01:00
Philipp 6e4e2c4a82 Fix warning text 2023-01-07 15:30:45 +01:00
Philipp 6e0d16f22b Add warning message in case node.config.php isn't writable 2023-01-07 15:16:55 +01:00
Philipp c35fd68ec2 Adapt doc 2023-01-06 12:47:00 +01:00
Philipp beb3d376b2 Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-01-06 12:46:06 +01:00
Philipp 9462bfa763 Update src/Core/Config/Util/ConfigFileManager.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-01-06 12:42:43 +01:00
Philipp b3772163d8 Add doc 2023-01-06 03:06:11 +01:00
Philipp ce8c820221 add description 2023-01-06 02:54:34 +01:00
Philipp d53cb31869 Update src/Core/Config/Util/ConfigFileManager.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-01-06 02:16:35 +01:00
Philipp e14050491a Config fixing
- unlock/close the `node.config.php` in every circumstances
2023-01-06 01:10:57 +01:00
Philipp 5aa8e8adf1 Config fixings
- Delete now really overwrites static default/setting.config.php keys
- Delete now really overwrites static default/setting.config.php categories
- The Update::check() routine is added to different places
- Merge the given config file with the new config before writing
- Remove ConfigTransaction::get() because it's no more reliable
2023-01-06 01:03:00 +01:00
Philipp cdd57275eb Some improvements
- Move $_SERVER into ConfigFileManager constructor
- Rename "creatConfigFileLoader" to "createConfigFileManager"
- Rename variable "loader" to "manager" in all tests
2023-01-06 01:03:00 +01:00
Philipp aabe39220d Make flock writing easier 2023-01-04 08:16:40 +01:00
Philipp 17105cf7d1 Fix config read/write locking 2023-01-04 00:25:18 +01:00
Philipp dd88d193b9 Escape single quotes and backslashes 2023-01-03 15:36:36 +01:00
Philipp ae1533e312 Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-01-03 14:22:06 +01:00
Philipp d272e8c3c7 Remove unnecessary classes 2023-01-03 14:22:03 +01:00
Philipp 0f91d1cbde Introduce ConfigFileManager for config files 2023-01-03 14:22:02 +01:00
Philipp fea4b202c1 Introduce ConfigFileTransformer for Config files 2023-01-03 14:22:02 +01:00
Hypolite Petovan 1874a32728 Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Balázs Úr 733f3de9ed Add missing copyright text 2022-01-02 10:49:50 +01:00
Philipp 322b7c856c Merge pull request #11129 from urbalazs/copyright-2022
Update copyright
2022-01-02 09:45:35 +01:00
Balázs Úr e56a53647b Update copyright 2022-01-02 08:27:47 +01:00
Philipp 6ca5668ac1 Migrate distributed cache config value 2021-12-14 10:14:24 +01:00
Philipp b216317477 Refactoring Core class structures ... 2021-10-26 22:11:09 +02:00