1
0
Fork 0
Commit graph

407 commits

Author SHA1 Message Date
1e574d5383
Refactor IManageConfigValues interface 2023-01-03 14:22:04 +01:00
1874a32728 Happy New Year 2023! 2023-01-01 09:36:24 -05:00
4f1bb0d274
Use X-REQUEST-ID for Error pages 2022-12-26 21:18:05 +01:00
bfc1c157f1
Adapt UserSession
- Move from App methods to UserSession methods
- Deprecate corresponding App methods
2022-12-26 21:18:04 +01:00
c84f18ef66 bump VERSION to 2023.03-dev 2022-12-20 06:52:15 +01:00
eeadc00e83 bump VERSION to 2022.12 2022-12-20 06:48:39 +01:00
1c789d487b
Include DBA definitions from Hooks again 2022-12-16 21:59:32 +01:00
f3dc69c226 Ensure strpos is provided a string in App::runFrontend
- Address part of https://github.com/friendica/friendica/issues/12011#issuecomment-1338133783
2022-12-10 11:38:41 -05:00
59088161e8 bump version to 2022.12-rc 2022-12-06 14:34:03 +01:00
0d53c69610 Remove unused theme info value "events_in_profile"
All public events (event if they are ownded by other users) are visible
2022-12-01 08:03:34 -05:00
fe547b7851 Centralize config.admin_email management in Model\User 2022-11-14 17:02:42 -05:00
f03c5c7f89
implement feeback 2022-10-25 08:07:42 +02:00
b5bc1b0844
Extend IHandleUserSessions from IHandleSessions and adapt classes 2022-10-23 20:41:17 +02:00
7b35c570f9
Move DI dependency for App class 2022-10-21 19:35:33 +02:00
f83784cc63
Move DI dependency for App\Page class 2022-10-21 19:35:32 +02:00
b3f9cef94a
UserSession class [3] - Refactor src/ files excluding Module/Model 2022-10-21 19:35:32 +02:00
ee1acba9eb old boot.php functions replaced in /src 2022-10-19 07:56:25 -04:00
3a8bcb3fbf
Move Core\Session::set() to DI::session()->set() 2022-10-18 21:12:23 +02:00
7ac86e49d1
Move Core\Session::get() to DI::session()->get() 2022-10-18 21:10:37 +02:00
27e9f2b223 SIGTERM moved 2022-10-18 04:35:06 +00:00
62a0d55fc8 The friendica constants have been moved to the app class 2022-10-17 10:37:48 +00:00
Michael Vogel
7ae500f28d Improved page rendering speed logging 2022-09-20 16:30:56 +02:00
1b2182c43c Move system messages from boot to own class 2022-07-27 11:54:50 -04:00
1d94e2866a Enable the view module in maintenance mode
- This allows to load the default theme CSS
- Theme scripts have been updated to reflect the possibility they will be included in maintenance mode
2022-07-12 19:48:36 -04:00
f12cc9648e
Changes:
- added some type-hints
- changed some double-quotes to single
2022-06-25 16:48:35 +02:00
97e27cb523 Added more type-hints 2022-06-17 17:18:31 +02:00
7e747b2f41 API: Speed improvements when fetching posts 2022-06-10 18:49:03 +00:00
7f711e266f Assume unsettable system.always_my_theme pconfig value is always true
- This was a logged in user setting so it assumes false for anonymous users
2022-05-29 16:13:49 -04:00
4622814e5f Configuration for logging added 2022-05-18 03:10:38 +00:00
f6167b4cfd New function to exit the program 2022-05-18 02:13:54 +00:00
aacaa3c2cf Log the command, not the module 2022-05-17 21:25:01 +00:00
4016a576d5 Log the execution time 2022-05-17 20:47:23 +00:00
Balázs Úr
e698ebf359 Mark error message as translatable 2022-01-03 22:29:26 +01: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
7218d6e171 Fix the performance calculation for the content 2021-12-09 13:04:51 +00:00
0844e3f8a6 ZRL: Simplify the code structure 2021-12-08 20:23:07 +00:00
9cec38f916 Make HTTPInputData dynamic
- Removing DI:: dependency inside App class
- Making testability easier & adapting tests
2021-11-30 01:07:59 -05:00
2e4d654c0a Make $_REQUEST processing independent of sub-calls
- Move HTTPInputData::process() into App::runFrontend()
- Pass $_REQUEST (including processed Input) to every Module method
- Delete $_POST parameters at Module post() calls because of $_REQUEST
2021-11-30 01:07:58 -05:00
6a9fff5100
Fixing Response 2021-11-27 12:40:57 +01:00
7cd85873ee
Replace IRespondToRequests with PSR-7 ResponseInterface 2021-11-27 12:40:57 +01:00
537b74f307
Inherit ApiResponse from Response 2021-11-27 12:40:54 +01:00
561aba18e3
Introduce Response for Modules to create a testable way for module responses 2021-11-27 12:40:38 +01:00
8bdd90066f
Make BaseModule a real entity
- Add all dependencies, necessary to run the content (baseUrl, Arguments)
- Encapsulate all POST/GET/DELETE/PATCH/PUT methods as protected methods inside the BaseModule
- Return Module content ONLY per `BaseModule::run()` (including the Hook logic there as well)
2021-11-27 12:40:36 +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
efe5d641a2
Fixing Mainentance & Exception vie 2021-11-19 22:51:12 +01:00
c95d47b0b4
Refactor App\Module to App\ModuleController and rename properties 2021-11-16 22:40:39 +01:00
018275919c
Create interface for static Module calls 2021-11-14 23:30:04 +01:00
62bacbb833
Remove 'maxloadavg_frontend' restriction in Friendica 2021-11-05 20:52:43 +01:00
Philipp
388f9d5a5b
Update src/App.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2021-11-05 20:52:32 +01:00