Michael
a81ac835a1
The frontend worker is removed
2021-01-01 23:05:26 +00:00
Michael
20ded2b35a
Parameters should be float ...
2020-12-10 00:02:23 +00:00
Michael
5fb83d0632
Improved performance profiler
2020-12-09 22:10:27 +00:00
Hypolite Petovan
9537a6d0f7
Remove unused App->force_max_items property
2020-10-13 07:52:13 -04:00
Michael
73a7df85f7
Issue 9303: Detect AP accesses as backend, prevent ping pong
2020-10-02 09:31:39 +00:00
Philipp Holzer
3a52179393
Move 'Authentication' to Security namespace
2020-09-30 16:53:18 +02:00
nupplaPhil
57587efe58
Move "getUserAgent()" to "HTTPRequest" class
2020-07-21 03:04:58 -04:00
nupplaPhil
85dc9bb96b
Add license info at Friendica PHP files
2020-02-09 16:18:46 +01:00
nupplaPhil
0e13428210
Move "App::getSenderEmailAddress()" to "Emailer::getSiteEmailAddress()"
2020-02-02 22:43:40 +01:00
Philipp Holzer
d5a473abda
Shorten "PConfiguration" to "PConfig" again, since the Wrapper is gone
2020-01-19 22:23:44 +01:00
Philipp Holzer
cb80108957
Shorten "Configuration" to "Config" again, since the Wrapper is gone
2020-01-19 21:29:36 +01:00
Philipp Holzer
2838635d64
Move L10n class from L10n subdir to Core (replacing old wrapper)
2020-01-19 16:31:30 +01:00
Michael
0a4119adaf
@brief is removed completely
2020-01-19 06:05:23 +00:00
Philipp Holzer
9e9429b56d
Move PConfig::get() to DI::pConfig()->get()
2020-01-18 16:50:57 +01:00
Philipp Holzer
6d7362da41
Replace deprecated $a->page with DI::page()
2019-12-30 20:02:09 +01:00
Philipp Holzer
c1dbb25656
Creating interfaces for Config/PConfig & fix tests
2019-12-29 20:18:19 +01:00
Philipp Holzer
4835f1185f
Remove deprecated App::module - replace with DI::module()->getName()
2019-12-29 20:17:52 +01:00
Philipp Holzer
33674808dc
Remove deprecated App::cmd - replace with DI::args()->getCommand()
2019-12-29 20:17:51 +01:00
Philipp Holzer
e6f61c2cc7
Remove deprecated App::query_string - replace with DI::args()->getQueryString()
2019-12-29 20:17:50 +01:00
Philipp Holzer
26af2feee2
Remove deprecated App::is_mobile/is_tablet - replace with DI::mode()->isMobile()/isTablet()
2019-12-29 20:17:50 +01:00
Philipp Holzer
c7230932d6
Remove deprecated App::registerStylesheet()/FooterScript() - replace with DI::page()->registerStylesheet()/FooterScript()
2019-12-29 20:17:49 +01:00
Philipp Holzer
302cbaa33c
Remove deprecated App::getScheme()
2019-12-29 20:17:48 +01:00
Philipp Holzer
e944d7bed6
Remove deprecated App::getBaseURL() - process methods to DI::baseUrl()->get()
2019-12-29 20:17:48 +01:00
Philipp Holzer
e57a87f224
Remove deprecated App::setBaseURL() - process methods to DI::baseUrl()->saveByURL()
2019-12-29 20:17:47 +01:00
Philipp Holzer
50be94aa5e
Remove deprecated App::getHostName() - process methods to DI::baseUrl()->getHostName()
2019-12-29 20:17:47 +01:00
Philipp Holzer
2900389696
Remove deprecated App::getUrlPath - process methods to DI::baseUrl()->getUrlPath()
2019-12-29 20:17:46 +01:00
Philipp Holzer
e93fba5136
Remove deprecated App::removeBaseURL - process methods to DI::baseUrl()->remove()
2019-12-29 20:17:45 +01:00
Philipp Holzer
5609e94b05
Refactor deprecated App - process methods to DI::process()->*()
2019-12-29 20:17:45 +01:00
Philipp Holzer
aedbdc536a
Refactor deprecated App::getArgumentValue() to DI::args()->get()
2019-12-29 20:17:44 +01:00
Philipp Holzer
8b6e123b3f
Refactor deprecated App::isAjax() to DI::mode()->isAjax()
2019-12-29 20:17:44 +01:00
Philipp Holzer
8e6973b774
Refactor deprecated App::internalRedirect() to DI::baseUrl()->redirect()
2019-12-29 20:17:43 +01:00
Philipp Holzer
cc9b7bb14f
Refactor dynamic App::getDBA() to static DI::dba()
2019-12-29 20:17:43 +01:00
Philipp Holzer
9cec293ccc
Refactor dynamic App::getMode() to static DI::mode()
2019-12-29 20:17:42 +01:00
Philipp Holzer
181529f3df
Refactor dynamic App::getProfiler() to static DI::profiler()
2019-12-29 20:17:42 +01:00
Philipp Holzer
e2b2778e0a
Refactor dynamic App::getLogger() to static DI::logger()
2019-12-29 20:17:41 +01:00
Philipp Holzer
fceb4f3823
Refactor dynamic App::getConfig() to static DI::config()
2019-12-29 20:17:40 +01:00
Philipp Holzer
aa5771cf3e
Move Login/Logout/TwoFactor to bundled submodule "Security"
2019-12-27 22:19:28 +01:00
Tobias Diekershoff
00756737b5
Merge branch 'master' 2019.12 into develop
2019-12-23 20:03:47 +01:00
Hypolite Petovan
77e00f11a7
Add type-hint to debug null value fatal error
...
- Part of https://github.com/friendica/friendica/issues/7675#issuecomment-566076500
2019-12-16 11:05:08 -05:00
Philipp Holzer
26bd956912
Optimize L10n usage for Session (reduce "App" complexity even more)
2019-12-10 00:56:49 +01:00
Philipp Holzer
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
54392fab81
Move Cookie to own class (with tests)
...
Move Authentication to App namespace
2019-12-08 22:45:34 +01:00
Philipp Holzer
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
18a3d18ba6
Move Authentication methods to class "Authentication"
2019-12-05 23:02:50 +01:00
Philipp Holzer
5bb63e59e0
Move App::internalRedirect to BaseUrl::redirect
2019-12-05 23:02:50 +01:00
Hypolite Petovan
ead0defb48
Rework theme override in Profile::load and App
...
- Separate desktop theme from mobile theme in App
2019-10-06 12:07:06 -04:00
Hypolite Petovan
4a5dfefacc
Move theme determination after full module run
2019-10-06 11:18:51 -04:00
Philipp Holzer
566889fbc0
fix alignment
2019-08-17 11:08:57 +02:00
Philipp Holzer
2c73377b39
Create Core\Process as a base for followup work
2019-08-17 09:09:13 +02:00
Philipp Holzer
90b438e082
Move mode settings to App\Mode
...
- Move isAjax() to App\Mode
- Move isTablet() to App\Mode
- Move isMobile() to App\Mode
- Refactor last usage of App->isBackend()
2019-08-17 09:09:13 +02:00