Philipp Holzer
bc60eb6cb7
Apply feedback and describe the encoding method
2023-01-15 11:57:43 +01:00
Philipp Holzer
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 Holzer
2293ff6206
Add test for Addon failures
2023-01-08 02:49:56 +01:00
Philipp Holzer
0429a4e429
Fix loading empty node.config.php
2023-01-08 02:49:56 +01:00
Philipp Holzer
6bd1740a94
omg .. wrong assertion ..
2023-01-07 15:49:55 +01:00
Philipp Holzer
6e4e2c4a82
Fix warning text
2023-01-07 15:30:45 +01:00
Philipp Holzer
6e0d16f22b
Add warning message in case node.config.php isn't writable
2023-01-07 15:16:55 +01:00
Philipp Holzer
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 Holzer
b3772163d8
Add doc
2023-01-06 03:06:11 +01:00
Philipp Holzer
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 Holzer
e14050491a
Config fixing
...
- unlock/close the `node.config.php` in every circumstances
2023-01-06 01:10:57 +01:00
Philipp Holzer
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 Holzer
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 Holzer
aabe39220d
Make flock writing easier
2023-01-04 08:16:40 +01:00
Philipp Holzer
17105cf7d1
Fix config read/write locking
2023-01-04 00:25:18 +01:00
Philipp Holzer
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 Holzer
d272e8c3c7
Remove unnecessary classes
2023-01-03 14:22:03 +01:00
Philipp Holzer
0f91d1cbde
Introduce ConfigFileManager for config files
2023-01-03 14:22:02 +01:00
Philipp Holzer
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 Holzer
6ca5668ac1
Migrate distributed cache config value
2021-12-14 10:14:24 +01:00
Philipp Holzer
b216317477
Refactoring Core class structures ...
2021-10-26 22:11:09 +02:00