Philipp
5702944116
Add the possibility to use a different configuration directory
10 months ago
Balázs Úr
054c301ef0
Update copyright
1 year ago
Philipp
d39ee428f0
Introduce "static/env.config.php" for environment variable mapping to config cache entries
...
- Added new database.port config value (used for MYSQL_PORT)
- Removed now obsolete db environment variable functionality
- Added functionality to load env variables (overwrites DB based cached)
2 years ago
Philipp
0f3e4255ca
Introduce Config\Cache Source indicators (File, DB, Server Env)
2 years ago
nupplaPhil
23c64b9a11
Add license info at Friendica classes
2 years ago
nupplaPhil
d5a473abda
Shorten "PConfiguration" to "PConfig" again, since the Wrapper is gone
2 years ago
Philipp Holzer
55999730e0
Introduce DICE
...
- Adding dice library
- Adding dependency config
- Removing Factories
- Refactoring App\Mode constructor
- Refactoring App\Router constructor
- Refactoring BasePath for DI usage
- Refactoring ConfigFileLoader constructor
- Refactoring Profiler constructor
- Adjust entrypoints (index, console, worker, ..)
- Adding functional test for DI
- Fix tests because of refactorings
3 years ago
Philipp Holzer
346290cc23
Reverted indention
3 years ago
Philipp Holzer
46a260aa01
Fix indentations
3 years ago
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
3 years ago
Philipp Holzer
c82127ffb7
Splitting ConfigCache & PConfigCache
...
- Remove IConfigCache & IPConfigCache
- Add new PConfigCache
- Add missing Logger::init() (bugfixing tests)
3 years ago
Philipp Holzer
d78598b64e
Fixing basepath issue
3 years ago
Philipp Holzer
23654ce566
Added Update checks
...
- Logging
- Console
- Admin overview
3 years ago
Philipp Holzer
49def0dc27
Adding ConfigFileSaver and tests
3 years ago
Philipp Holzer
fa31bb6dde
remove basepath and hostname from admin panel and add update path
3 years ago
Philipp Holzer
383a6715c3
Added first version of ConfigCacheSaver
3 years ago
Philipp Holzer
1a2527cdba
Move AppMode
3 years ago
Philipp Holzer
b22ff7419e
refactor naming & superfluous check
3 years ago
Philipp Holzer
8c6e6b5dea
Fixing .htconfig
3 years ago
Philipp Holzer
1acd5c7d22
- Adding additional legacy .htconfig information
3 years ago
Philipp Holzer
8c3aebc376
Bugfixings in Config
...
- replaced usage of "!<unset>!" with null-returns
- fixed bool settings (0/1)
- fixed overriding config-values
- fixed basepath problems
3 years ago
Philipp Holzer
eafcf3592d
Config FollowUp
...
- New Configuration (Config is now only holding the instance)
- New PConfiguration (PConfig is now only holding the instance)
- Config & PConfig-Adapter don't need "ConfigCache" anymore
- DB-Connection is now outside App->reload() for better dependency-chaining
3 years ago
Philipp Holzer
199ceeadbf
Adding ConfigCacheLoaderTest
3 years ago
Philipp Holzer
fcd7627c49
method refactoring & docblock
3 years ago
Philipp Holzer
7947db8537
codeblock updates
3 years ago
Philipp Holzer
3cd654e76f
bugfixing ini-loading
3 years ago
Philipp Holzer
d9e38be4df
Creating legacy config loading method
3 years ago
Philipp Holzer
6a9d73f7d9
Refactoring ConfigCacheLoader methods
3 years ago
Philipp Holzer
4b82e47034
Moved addon directory constant
3 years ago
Philipp Holzer
d78ac57514
Updating type-hints and some naming conventions
3 years ago
Philipp Holzer
1c51d7d22f
Typo at addon-directory-name ...
3 years ago
Philipp Holzer
bdfe0c35fb
Typo at addon-directory-name ...
3 years ago
Philipp Holzer
f2f8c97b7c
Bugfixing Addon-config
3 years ago
Philipp Holzer
bc73d4bd2b
Adding descriptions
3 years ago
Philipp Holzer
4af0119b73
3) Introducing ConfigFactory
3 years ago