nupplaPhil
cb80108957
Shorten "Configuration" to "Config" again, since the Wrapper is gone
2020-01-19 21:29:36 +01:00
Michael
0a4119adaf
@brief is removed completely
2020-01-19 06:05:23 +00:00
nupplaPhil
424c87195b
CleanUp Cache namespace
...
- Introduce enum "Duration"
- Introduce enum "Type"
- Move "Cache\Cache" to "BaseCache"
2020-01-18 15:41:19 +01:00
Hypolite Petovan
6b8db5ad13
Update the Introductions domain to use repository, model and collection
2020-01-06 21:39:05 -05:00
Hypolite Petovan
5a1abb8c7d
Introduce Mastodon entity factories and API\Entity
2020-01-06 21:39:05 -05:00
Hypolite Petovan
efadab66c5
Update wrong/missing references to classes
2019-12-29 21:51:16 -05:00
nupplaPhil
c1dbb25656
Creating interfaces for Config/PConfig & fix tests
2019-12-29 20:18:19 +01:00
nupplaPhil
673c4537e4
Session - Remove unneeded cookie parameter
2019-12-29 00:03:58 +01:00
nupplaPhil
1408908c84
Refactor Session Handling (make it more simple & handler are now handler again)
2019-12-11 20:30:31 +01:00
nupplaPhil
b9f8762eb3
Use Native Session functions (global "$_SESSION" variable) for Memory class because of the direct usage of the $_SESSION class all around the codebase
2019-12-10 22:29:49 +01:00
nupplaPhil
eca3396851
rename usage
2019-12-10 21:52:23 +01:00
nupplaPhil
07d2909927
double use
2019-12-10 21:51:06 +01:00
nupplaPhil
ce2610000b
Renaming class
2019-12-10 08:49:33 +01:00
nupplaPhil
cad7e534a4
Add phpdoc
2019-12-10 00:50:05 +01:00
nupplaPhil
555513e4b4
Add Session Management instances (including Depenency Injection)
...
- Prerequesite for mocking Sessions
- Reduce "App" class complexity
2019-12-10 00:44:56 +01:00
Philipp Holzer
4e32d46f97
switch case
2019-10-22 22:48:54 +02:00
Philipp Holzer
6b2c28e2d7
Add checks & realpath() usage
...
- New util class "FileSystem"
- Add check in admin summary too
2019-10-22 22:47:37 +02:00
Philipp Holzer
0e84a843a4
Add Fallback in case the logfile isn't accessible.
...
- Fixes https://github.com/friendica/friendica/issues/7756#issuecomment-544227862
2019-10-21 21:53:55 +02:00
Philipp Holzer
b13dbb3dcb
Remove $_SERVER['PHP_SELF'] usage
2019-09-17 16:47:00 +02:00
Philipp Holzer
46655eac70
Remove unnecessary parameter
2019-08-17 19:41:59 +02:00
Philipp Holzer
290dd2ab39
moved rest of BaseURL
2019-08-15 17:36:07 +02:00
Philipp Holzer
19777baa79
- Move constants to the "Cache" class (more transparent than inside the interface)
2019-08-04 15:53:28 +02:00
Philipp Holzer
34e4968c06
Adding possibility to use a different cache-backend for locking and caching
...
- Renaming *LockDriver to *Lock since it isn't a "driver" anymore
2019-08-04 15:42:39 +02:00
Philipp Holzer
86bf2ee45a
Rename *CacheDriver to *Cache because they don't act as driver anymore
2019-08-04 10:26:53 +02:00
Philipp Holzer
d56bd28a07
Refactor Cache/Lock to DICE
...
- Refactor Cache classes
- Refactor Lock classes
- Improved test speed (removed some seperate class annotations)
2019-08-03 20:51:58 +02:00
Philipp Holzer
6c2cf494b5
Remove DependencyFactory
...
- Include all necessary classes in `dependencies.config.php`
- Add DI-reference to BaseObject (acts as a global registry)
- Refactor all static "init()" methods to use the global registry
- Refactor Logging for Worker-Logger a little bit
2019-07-27 23:54:12 +02:00
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
2019-07-21 01:22:10 +02:00
Hypolite Petovan
0b97b32a59
Merge pull request #7379 from nupplaphil/task/refactor_l10n_for_test
...
Refactor L10n for testing
2019-07-16 16:03:42 -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
Philipp Holzer
79e69ee528
Fix language (again ;-) )
2019-07-16 16:50:49 +02:00
Philipp Holzer
eb024a3718
Refactor L10n for testing
...
- Moving L10n to L10n\L10n
- Adding constructor information
- Adding to factory
- simplify/speedup tests
2019-07-16 16:44:47 +02:00
Philipp Holzer
9d98a4ce3a
Refactor PConfiguration
2019-07-15 20:13:53 +02:00
Philipp Holzer
aa249adf6d
some more minor fixups (phpdoc, unused using)
2019-07-14 22:49:17 +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
a30200083a
BugFix: forgot configCache in ConfigFactory
2019-07-12 23:05:48 +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
082634adbc
Moving from DBA to Database
2019-06-24 09:36:07 +02:00
Philipp Holzer
357d9b5108
Introduce HiddenString for Config-Values
2019-06-10 14:46:31 +02:00
Philipp Holzer
b56b56ccb6
friendica-6379 Monolog - logfile permission denied
2019-05-26 14:33:09 +02:00
Philipp Holzer
3ca8fa0e00
Support for APCu caching
2019-04-21 12:45:19 +02:00
Philipp Holzer
fa71a9a0ce
Improve redis configuration
...
- basic authentication
- switch database (0 - 15)
2019-04-20 13:40:40 +02:00
Philipp Holzer
0d08d5dabc
SetLogger fix
2019-04-14 18:40:39 +02:00
Philipp Holzer
90a38a00d8
Adding basepath, urlpath, hostname and ssl_policy to installation
2019-04-14 14:23:06 +02:00
Philipp Holzer
fbd056327a
DBA-Logger fix
2019-04-13 20:46:58 +02:00
Philipp Holzer
318a3ca785
Create own base URL class which holds the whole base url business logic
2019-04-09 08:31:16 +02:00
Hypolite Petovan
d6d31f43a1
Add App\Router dependency injection to App
...
- Moved collectRoutes method from App to App\Router
2019-04-05 23:16:12 -04:00
Philipp Holzer
23654ce566
Added Update checks
...
- Logging
- Console
- Admin overview
2019-03-24 22:51:30 +01:00
Philipp Holzer
49def0dc27
Adding ConfigFileSaver and tests
2019-03-24 13:47:35 +01:00
Philipp Holzer
383a6715c3
Added first version of ConfigCacheSaver
2019-03-23 19:34:54 +01:00