1
0
Fork 0
Commit graph

93 commits

Author SHA1 Message Date
nupplaPhil
23c64b9a11
Add license info at Friendica classes 2020-02-09 15:45:36 +01:00
d5a473abda
Shorten "PConfiguration" to "PConfig" again, since the Wrapper is gone 2020-01-19 22:23:44 +01:00
cb80108957
Shorten "Configuration" to "Config" again, since the Wrapper is gone 2020-01-19 21:29:36 +01:00
0a4119adaf @brief is removed completely 2020-01-19 06:05:23 +00:00
c1dbb25656
Creating interfaces for Config/PConfig & fix tests 2019-12-29 20:18:19 +01:00
5dcf6bfc58 Remove extra spaces before closing parentheses in src/ 2019-10-16 08:58:09 -04:00
Philipp Holzer
92fb0a82ca
Dynamic config loading
- Move settings, defaults and dbstructure to directory 'static'
- Dynamic loading of config files (after the static loading)
- Filter out '-sample.config.php' and '-sample.ini.php' files
- Remove unnecessary ConfigFileManager
- Move ConfigFileLoader to Utils
- Add tests for multi-loading for INI, config and sample-filtering
2019-07-16 20:16:43 +02:00
68f5b639eb Restore $uid parameter integer type-hint in Config
- Add integer type-hint to Feature::isEnabled
2019-07-15 22:00:49 -04:00
Philipp Holzer
f70271aa5d
Allow nullable UID in PConfigCache 2019-07-15 21:14:13 +02:00
Philipp Holzer
d5de5b6789
Bugfixing bad UIDs for PConfig 2019-07-15 21:11:38 +02:00
Philipp Holzer
ebf00e32a1
minor phpdoc fixings 2019-07-15 20:54:33 +02:00
Philipp Holzer
74f7c16585
Fixup phpdoc 2019-07-15 20:19:52 +02:00
Philipp Holzer
9d98a4ce3a
Refactor PConfiguration 2019-07-15 20:13:53 +02:00
Philipp Holzer
6801e8b5ab
Fixing initial load config 2019-07-15 08:58:37 +02:00
Philipp Holzer
4af08d82b2
Added string type-hint for get() and a test case for it 2019-07-14 23:23:20 +02:00
Philipp Holzer
a654470061
fix phpdoc 2019-07-14 22:41:09 +02:00
Philipp Holzer
b48c22dc1a
minor fixing: phpdoc & type-hint 2019-07-14 22:31:53 +02:00
Philipp Holzer
a2c6240da0
some minor fixings 2019-07-14 22:26:36 +02:00
Philipp Holzer
4913502922
bugfix: add lost changes due merge 2019-07-14 22:12:45 +02:00
Philipp Holzer
c293eadb78
Improve & fixing Tests 2019-07-14 22:12:11 +02:00
Philipp Holzer
486f139342
Move Preload/JIT Configuration logic from Adapter to Core-Configuration 2019-07-14 22:09:07 +02:00
Philipp Holzer
c82127ffb7
Splitting ConfigCache & PConfigCache
- Remove IConfigCache & IPConfigCache
- Add new PConfigCache
- Add missing Logger::init() (bugfixing tests)
2019-07-12 22:53:37 +02:00
Philipp Holzer
e1d135238a
Revert default password setting & using "HiddenString" even for empty strings 2019-07-09 22:38:54 +02:00
Philipp Holzer
50d8dbb123
Bugfixing wrong typed password setting 2019-06-10 15:46:51 +02:00
Philipp Holzer
4666b18e5b
Bugfixing empty password setting 2019-06-10 15:40:15 +02:00
Philipp Holzer
357d9b5108
Introduce HiddenString for Config-Values 2019-06-10 14:46:31 +02:00
dc48690ed5
Remove hostname blacklisting 2019-04-11 00:09:59 +02:00
0a447cb61b
wrong indent 2019-03-30 19:08:47 +01:00
e0b1f4f251
Hardening ConfigUpgrade 2019-03-30 18:54:22 +01:00
3cf0cb71f1
Fixing tests 2019-03-24 20:41:11 +01:00
49def0dc27
Adding ConfigFileSaver and tests 2019-03-24 13:47:35 +01:00
383a6715c3
Added first version of ConfigCacheSaver 2019-03-23 19:34:54 +01:00
1a2527cdba Move AppMode 2019-03-22 23:22:32 -04:00
b22ff7419e
refactor naming & superfluous check 2019-03-17 09:57:34 +01:00
8c6e6b5dea
Fixing .htconfig 2019-03-16 20:31:10 +01:00
1acd5c7d22
- Adding additional legacy .htconfig information 2019-03-16 20:06:53 +01:00
13807129aa
fixing preload adapter 2019-02-23 00:23:41 +01:00
1dee89f215
fixing tests and preload config 2019-02-23 00:09:57 +01:00
8d56fb8fbe
bugfix marking of db-values 2019-02-22 23:57:04 +01:00
8c3aebc376
Bugfixings in Config
- replaced usage of "!<unset>!" with null-returns
- fixed bool settings (0/1)
- fixed overriding config-values
- fixed basepath problems
2019-02-22 23:51:13 +01:00
c2176aad36
bugfix 2019-02-18 14:45:24 +01:00
5127a113aa
set config_loaded with uid 2019-02-18 14:40:35 +01:00
1194e9b41e
set config_loaded with uid 2019-02-18 14:34:30 +01:00
5157084969
negative set 2019-02-18 14:10:04 +01:00
2fc81898da
Preload Adapter Fix 2019-02-18 14:02:09 +01:00
f536107911
Fixing value check for configuration 2019-02-18 11:29:51 +01:00
a3d6062476
check if value is set
get basepath with config instead cache
2019-02-18 11:29:42 +01:00
0a318925a4
bugfixing adapter get() in case of no connection 2019-02-17 20:44:14 +01:00
ad1254c49c
performance improvement in case of db-load 2019-02-17 20:44:14 +01:00
e1d9d67632
renamed Logger::setLogger() to Logger::init() 2019-02-17 20:44:08 +01:00