86f80af432
Rename Interface
2022-12-29 22:37:12 +01:00
47764387b3
Introduce Key-Value Pair storage provider
2022-12-29 21:53:56 +01:00
4f1bb0d274
Use X-REQUEST-ID for Error pages
2022-12-26 21:18:05 +01:00
10864e50c7
Adapt Logger\Introspection
...
- Create an interface
- Add it as constructor parameter
2022-12-26 21:18:04 +01:00
a79be5e697
Add Clock classes to deal with "now" times in tests
...
- [Composer] Add psr/clock dependency
2022-12-11 10:12:23 -05:00
940619325d
Add SessionUsers class including tests
2022-10-20 20:27:34 +02:00
a910fd8864
Split DBStructure & View to avoid DB-calls and dependencies for basic operations
...
- new "Definition" classes vor DB and Views
- new "Writer" classes to create SQL definitions for DB and Views
- DBStructure & View are responsible to execute DB-querys
2022-07-12 23:40:31 +02:00
d441b90bda
Respect Forwarded-For headers
2022-06-23 22:42:35 +02: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
5b5cea9335
Add explicit Session caching
2021-12-13 20:09:00 +01:00
b5d2d32b44
Split and delete ModuleController
...
- $moduleName is part of the argument string => App\Arguments
- $isBackend boolean already part of App\Mode::isBackend()
- $module is now the direct return of App\Router::getModule()
- ModuleController::run() moved to BaseModule::run()
2021-11-27 12:39:45 +01:00
c95d47b0b4
Refactor App\Module to App\ModuleController and rename properties
2021-11-16 22:40:39 +01:00
5350e0852d
Add hostname
to Process
entity
2021-11-06 20:21:01 +01:00
32f0c3fb9c
Adds DI::flushLogger() to renew Logger instances
2021-11-05 20:52:31 +01:00
38f70cc55a
Refactor Process for new paradigm
2021-11-05 20:52:28 +01:00
f4ea74447e
Add Feedback :-)
2021-10-29 11:37:09 +02:00
409d909d0f
Restructure HTTPClient for new paradigm
2021-10-28 20:01:03 +02:00
184f6cc255
Restructure Logger to new paradigm
2021-10-28 20:01:02 +02:00
2ab0d06996
Restructure Storage to new paradigm
2021-10-27 20:00:19 +02:00
b216317477
Refactoring Core class structures ...
2021-10-26 22:11:09 +02:00
57b4c008cb
Restructure Session to follow new paradigm
2021-10-26 22:11:07 +02:00
ff1a812e1a
Restructure Lock to follow new paradigm
2021-10-26 22:11:06 +02:00
ab83d0dd27
Restructure (P)Config to follow new paradigm
2021-10-26 22:11:06 +02:00
68046573a4
Restructure Cache to follow new paradigm
2021-10-26 22:11:06 +02:00
27e4586597
Move path determination logic into the ConfigFactory
2021-09-12 13:44:29 +02:00
5702944116
Add the possibility to use a different configuration directory
2021-09-11 14:33:26 +02:00
52c7948526
Create HTTPClientFactory and introduce ImageTest
2021-08-25 14:22:42 +02:00
fabrixxm
ec4f53d56f
Add DI to ParsedLogIterator, replace constructors with fluent api
2021-08-19 14:56:51 +02:00
d0536ebea7
Rename ISelectableStorage to IWritableStorage
2021-08-16 23:27:42 +02:00
29c7552df5
Refactor IStorage
2021-08-16 23:27:42 +02:00
322f0b3ecf
Cleanup Mastodon Factories
2021-06-20 13:25:45 +02:00
Balázs Úr
054c301ef0
Update copyright
2021-03-29 08:40:20 +02:00
ccfb17151b
small improvements
2020-10-06 20:56:20 +02:00
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)
2020-10-06 20:43:29 +02:00
c9e510d4fd
Use getmypid() as dependency (improve testing)
2020-09-19 20:28:01 +02:00
1d0cd7328b
Add dispatch data caching in App\Router
...
- Add new cache key "routerDispatchData"
- Update Dice dependencies since Router constructor signature changed
2020-07-27 02:33:08 -04:00
nupplaPhil
0a421064a5
Introduce interface "IHTTPRequest" (rely on abstractions, not on concrete implementations)
2020-07-21 03:17:05 -04:00
nupplaPhil
7d714319c8
Add license info at Friendica PHP files
2020-02-09 16:34:23 +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
2838635d64
Move L10n class from L10n subdir to Core (replacing old wrapper)
2020-01-19 16:31:30 +01:00
bfae6766bf
Implement Hook::callAll('storage_instance') call for addons and add a description for it.
...
- Remove implicit Dice usage
- Add concrete instance creating
- Adding Hook call for addon instance creating
- Updating doc for Hook
- Updating tests
2020-01-10 13:22:03 +01:00
08edeae2f9
Make Storage testable & add tests
...
- Making StorageManager dynamic (DI::facStorage())
- Making concrete Storage dynamic (DI::storage())
- Add tests for Storage backend and failure handling
- Bumping Level-2/Dice to "dev-master" until new release
- Using Storage-Names instead of Storage-Classes in config (includes migration)
2020-01-10 13:21:57 +01:00
933085c626
Add missing constructor parameter to User\Cookie in dependencies.config
2020-01-01 10:56:56 -05:00
c1dbb25656
Creating interfaces for Config/PConfig & fix tests
2019-12-29 20:18:19 +01:00
555513e4b4
Add Session Management instances (including Depenency Injection)
...
- Prerequesite for mocking Sessions
- Reduce "App" class complexity
2019-12-10 00:44:56 +01:00
134d6d18f9
Pass Router parameter to module content method
2019-11-06 22:35:28 -05:00
Philipp Holzer
a522cf609b
Fix browser language detection (& tests)
2019-10-10 16:39:04 +02:00
Philipp Holzer
0e5cb88888
Add router config
...
- Introduce route.config.php structure
- Adding config loader for routes
- Adapt Module class (separation of duties)
- Add tests
2019-09-29 11:57:27 +02:00