Commit graph

84 commits

Author SHA1 Message Date
Michael
89e7420237 Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Hypolite Petovan
eb583330df Remove obsolete Factory\Api\Mastodon\Error->logError method and related dependencies 2023-10-11 09:44:03 -04:00
Hypolite Petovan
960171c4e0 Remove dependency on super-globals in Module\Api\ApiResponse
- Updated DI dependencies to reflect the new parameters
- Updated tests to reflect the new parameters
2023-09-24 07:08:16 -04:00
Philipp
9f18222a06
Unify "Capability" 2023-07-26 21:44:31 +02:00
Philipp
58f56c7d7d
Move KeyValuePairStorage to strategies 2023-07-26 19:18:09 +02:00
Philipp
f2c02a79b9
Move Cache to strategies 2023-07-26 19:17:43 +02:00
Philipp
cba656383e
Adhere feedback
- rename hooks.config.php to strategies.config.php
- change all corresponding classes and tests
2023-07-21 22:42:24 +02:00
Philipp
3a0c18713e
Remove unused ProfilerLogger factory 2023-07-17 01:41:02 +02:00
Philipp
14b76e48f0
Introduce dynamic hook loading
- Dynamically load addon files
- Dynamically load hooks
- Rewrite Logger-logic to use new hook logic (Monolog is working again)
2023-07-16 18:43:35 +02:00
Hypolite Petovan
241a512589 Ensure FactorySession->create returns an object no matter what
- Rename redundant method name createSession
- Add exception logging
2023-03-18 23:36:07 -04:00
Philipp
513ef03421
Revert node.config.php into Config table 2023-02-10 14:06:22 +01:00
Philipp
f609e38600
Introduce new Hook logic
- InstanceManager for computing strategies and to allow decorators
- Adapting Core\Logger to use it
2023-01-16 22:20:33 +01:00
Philipp
a6fb683bcd
Remove BasePath dependency from App\Mode 2023-01-15 16:17:07 +01:00
Philipp
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
1e574d5383
Refactor IManageConfigValues interface 2023-01-03 14:22:04 +01:00
Philipp
b871e1d264
Introduce lightweight Config model 2023-01-03 14:22:02 +01:00
Philipp
0f91d1cbde
Introduce ConfigFileManager 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
Philipp
86f80af432
Rename Interface 2022-12-29 22:37:12 +01:00
Philipp
47764387b3
Introduce Key-Value Pair storage provider 2022-12-29 21:53:56 +01:00
Philipp
4f1bb0d274
Use X-REQUEST-ID for Error pages 2022-12-26 21:18:05 +01:00
Philipp
10864e50c7
Adapt Logger\Introspection
- Create an interface
- Add it as constructor parameter
2022-12-26 21:18:04 +01:00
Hypolite Petovan
a79be5e697 Add Clock classes to deal with "now" times in tests
- [Composer] Add psr/clock dependency
2022-12-11 10:12:23 -05:00
Philipp
940619325d
Add SessionUsers class including tests 2022-10-20 20:27:34 +02:00
Philipp
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
Philipp
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
Philipp
5b5cea9335
Add explicit Session caching 2021-12-13 20:09:00 +01:00
Philipp
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
Philipp
c95d47b0b4
Refactor App\Module to App\ModuleController and rename properties 2021-11-16 22:40:39 +01:00
Philipp
5350e0852d
Add hostname to Process entity 2021-11-06 20:21:01 +01:00
Philipp
32f0c3fb9c
Adds DI::flushLogger() to renew Logger instances 2021-11-05 20:52:31 +01:00
Philipp
38f70cc55a
Refactor Process for new paradigm 2021-11-05 20:52:28 +01:00
Philipp
f4ea74447e
Add Feedback :-) 2021-10-29 11:37:09 +02:00
Philipp
409d909d0f
Restructure HTTPClient for new paradigm 2021-10-28 20:01:03 +02:00
Philipp
184f6cc255
Restructure Logger to new paradigm 2021-10-28 20:01:02 +02:00
Philipp
2ab0d06996
Restructure Storage to new paradigm 2021-10-27 20:00:19 +02:00
Philipp
b216317477
Refactoring Core class structures ... 2021-10-26 22:11:09 +02:00
Philipp
57b4c008cb
Restructure Session to follow new paradigm 2021-10-26 22:11:07 +02:00
Philipp
ff1a812e1a
Restructure Lock to follow new paradigm 2021-10-26 22:11:06 +02:00
Philipp
ab83d0dd27
Restructure (P)Config to follow new paradigm 2021-10-26 22:11:06 +02:00
Philipp
68046573a4
Restructure Cache to follow new paradigm 2021-10-26 22:11:06 +02:00
Philipp
27e4586597
Move path determination logic into the ConfigFactory 2021-09-12 13:44:29 +02:00
Philipp
5702944116
Add the possibility to use a different configuration directory 2021-09-11 14:33:26 +02:00
Philipp
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
Philipp
d0536ebea7
Rename ISelectableStorage to IWritableStorage 2021-08-16 23:27:42 +02:00
Philipp
29c7552df5
Refactor IStorage 2021-08-16 23:27:42 +02:00
Philipp
322f0b3ecf
Cleanup Mastodon Factories 2021-06-20 13:25:45 +02:00