Tobias Diekershoff
3896b07c9e
SPDX headers for PHP files in bin and mod
2024-08-23 15:11:15 +02:00
Michael
89e7420237
Friendica copyright changed from 2023 to 2034
2024-01-02 20:57:26 +00:00
Philipp
9f18222a06
Unify "Capability"
2023-07-26 21:44:31 +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
Philipp
402d45d490
Move force_ssl behavior
2023-02-18 21:12:20 +01:00
Hypolite Petovan
d0648b10ef
Convert Content\Nav to dynamic object
...
- Remove DI dependency in Module\Apps
2023-01-11 09:01:24 -05:00
Hypolite Petovan
1874a32728
Happy New Year 2023!
2023-01-01 09:36:24 -05:00
Philipp
4f1bb0d274
Use X-REQUEST-ID for Error pages
2022-12-26 21:18:05 +01:00
Balázs Úr
e56a53647b
Update copyright
2022-01-02 08:27:47 +01:00
Philipp
9cec38f916
Make HTTPInputData dynamic
...
- Removing DI:: dependency inside App class
- Making testability easier & adapting tests
2021-11-30 01:07:59 -05: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
018275919c
Create interface for static Module calls
2021-11-14 23:30:04 +01:00
Philipp
b216317477
Refactoring Core class structures ...
2021-10-26 22:11:09 +02:00
Philipp
acb06af28d
Add extended ErrorHandling
2021-10-23 20:58:38 +02:00
Balázs Úr
054c301ef0
Update copyright
2021-03-29 08:40:20 +02:00
Michael
9a6141dcbe
Use "pcntl_fork" to fork processes
2021-01-01 19:35:29 +00:00
Michael
5fb83d0632
Improved performance profiler
2020-12-09 22:10:27 +00:00
Philipp
3a52179393
Move 'Authentication' to Security namespace
2020-09-30 16:53:18 +02:00
nupplaPhil
85dc9bb96b
Add license info at Friendica PHP files
2020-02-09 16:18:46 +01:00
nupplaPhil
d5a473abda
Shorten "PConfiguration" to "PConfig" again, since the Wrapper is gone
2020-01-19 22:23:44 +01:00
nupplaPhil
4d8d4ad958
Add parameter to index -> runFrontend()
2019-12-30 20:20:41 +01:00
nupplaPhil
c1dbb25656
Creating interfaces for Config/PConfig & fix tests
2019-12-29 20:18:19 +01:00
nupplaPhil
388b963714
Replace BaseObject class with DI::* calls
2019-12-29 20:17:38 +01:00
nupplaPhil
1de3f186d7
Introduce new DI container
...
- Adding Friendica\DI class for getting dynamic classes
- Replacing BaseObject::getApp() with this class
2019-12-29 20:16:55 +01:00
nupplaPhil
54392fab81
Move Cookie to own class (with tests)
...
Move Authentication to App namespace
2019-12-08 22:45:34 +01:00
nupplaPhil
96555a7385
Refactor "Authentication" class with four main methods:
...
- withSession() - for auto authentication with Session/Cookie variables
- withOpenId() - for authentication with an OpenID account
- withPassword() - for authentication with Password
- setForUser() - for setting the user auth context of the current session
Refactor "Session" class - contains now "native" Session Management methods
2019-12-05 23:02:51 +01:00
Philipp Holzer
b13dbb3dcb
Remove $_SERVER['PHP_SELF'] usage
2019-09-17 16:47:00 +02:00
Philipp Holzer
0af9747c6c
Add Arguments & Modules class
2019-08-13 16:29:11 +02:00
Hypolite Petovan
fcb1a78352
Revert "Introduce Arguments / Module class"
2019-08-11 18:01:11 -04:00
Philipp Holzer
df5ffea15b
line break call
2019-08-11 17:46:19 +02:00
Philipp Holzer
2c5ba7fc15
Introduce Arguments / Module class
...
- move from App
- add tests for Arguments/Module class
2019-08-11 14:24:05 +02:00
Philipp Holzer
9682cc440c
Using method-chaining for DICE
2019-08-05 09:03:12 +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
Roland Häder
9fa812b35d
Rewrites:
...
- converted single-line if() block to multi-line and with curly braces
- "imported" SPL classes to have unified code style
- always initialize your variables ... :-/
- added some empty lines/spaces for better readability
Signed-off-by: Roland Häder <roland@mxchange.org>
2019-02-19 01:56:41 +01:00
Philipp Holzer
218e41a818
Bugfixing index.php
2019-02-18 00:53:00 +01:00
Philipp Holzer
bfed7b3b2f
removing comment
2019-02-17 21:43:19 +01:00
Philipp Holzer
cdcf1667d7
Adding DependencyFactory
2019-02-17 20:45:39 +01:00
Philipp Holzer
80f1feabe5
Refactoring Logging to use Configuration
2019-02-17 20:43:52 +01:00
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
2019-02-17 20:40:27 +01:00
Philipp Holzer
cb1ad4287d
adding parameter to App
2019-02-16 23:18:24 +01:00
Philipp Holzer
5e6e1a8025
Introducing Profiler
2019-02-16 23:11:30 +01:00
Philipp Holzer
6a9d73f7d9
Refactoring ConfigCacheLoader methods
2019-02-05 22:27:57 +01:00
Philipp Holzer
4af0119b73
3) Introducing ConfigFactory
2019-02-03 22:22:04 +01:00
Philipp Holzer
2e602afd3e
Add Monolog
2019-01-21 10:10:40 -05:00
Hypolite Petovan
2f49c4a058
Revert "Add monolog"
2019-01-21 10:08:09 -05:00
Philipp Holzer
651834f7d1
Change channel "app" to "index"
2019-01-21 10:00:48 -05:00
Philipp Holzer
8f9c0fe149
Adding Develop and normal Logging instances
2019-01-21 09:59:08 -05:00
Philipp Holzer
fe8f0e0045
Add Monolog
2019-01-21 09:58:05 -05:00