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
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
0a4119adaf
@brief is removed completely
2020-01-19 06:05:23 +00:00
9e9429b56d
Move PConfig::get() to DI::pConfig()->get()
2020-01-18 16:50:57 +01:00
6d7362da41
Replace deprecated $a->page with DI::page()
2019-12-30 20:02:09 +01:00
c1dbb25656
Creating interfaces for Config/PConfig & fix tests
2019-12-29 20:18:19 +01:00
4835f1185f
Remove deprecated App::module - replace with DI::module()->getName()
2019-12-29 20:17:52 +01:00
33674808dc
Remove deprecated App::cmd - replace with DI::args()->getCommand()
2019-12-29 20:17:51 +01:00
e6f61c2cc7
Remove deprecated App::query_string - replace with DI::args()->getQueryString()
2019-12-29 20:17:50 +01:00
26af2feee2
Remove deprecated App::is_mobile/is_tablet - replace with DI::mode()->isMobile()/isTablet()
2019-12-29 20:17:50 +01:00
c7230932d6
Remove deprecated App::registerStylesheet()/FooterScript() - replace with DI::page()->registerStylesheet()/FooterScript()
2019-12-29 20:17:49 +01:00
302cbaa33c
Remove deprecated App::getScheme()
2019-12-29 20:17:48 +01:00
e944d7bed6
Remove deprecated App::getBaseURL() - process methods to DI::baseUrl()->get()
2019-12-29 20:17:48 +01:00
e57a87f224
Remove deprecated App::setBaseURL() - process methods to DI::baseUrl()->saveByURL()
2019-12-29 20:17:47 +01:00
50be94aa5e
Remove deprecated App::getHostName() - process methods to DI::baseUrl()->getHostName()
2019-12-29 20:17:47 +01:00
2900389696
Remove deprecated App::getUrlPath - process methods to DI::baseUrl()->getUrlPath()
2019-12-29 20:17:46 +01:00
e93fba5136
Remove deprecated App::removeBaseURL - process methods to DI::baseUrl()->remove()
2019-12-29 20:17:45 +01:00
5609e94b05
Refactor deprecated App - process methods to DI::process()->*()
2019-12-29 20:17:45 +01:00
aedbdc536a
Refactor deprecated App::getArgumentValue() to DI::args()->get()
2019-12-29 20:17:44 +01:00
8b6e123b3f
Refactor deprecated App::isAjax() to DI::mode()->isAjax()
2019-12-29 20:17:44 +01:00
8e6973b774
Refactor deprecated App::internalRedirect() to DI::baseUrl()->redirect()
2019-12-29 20:17:43 +01:00
cc9b7bb14f
Refactor dynamic App::getDBA() to static DI::dba()
2019-12-29 20:17:43 +01:00
9cec293ccc
Refactor dynamic App::getMode() to static DI::mode()
2019-12-29 20:17:42 +01:00
181529f3df
Refactor dynamic App::getProfiler() to static DI::profiler()
2019-12-29 20:17:42 +01:00
e2b2778e0a
Refactor dynamic App::getLogger() to static DI::logger()
2019-12-29 20:17:41 +01:00
fceb4f3823
Refactor dynamic App::getConfig() to static DI::config()
2019-12-29 20:17:40 +01:00
aa5771cf3e
Move Login/Logout/TwoFactor to bundled submodule "Security"
2019-12-27 22:19:28 +01:00
00756737b5
Merge branch 'master' 2019.12 into develop
2019-12-23 20:03:47 +01:00
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
26bd956912
Optimize L10n usage for Session (reduce "App" complexity even more)
2019-12-10 00:56:49 +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
54392fab81
Move Cookie to own class (with tests)
...
Move Authentication to App namespace
2019-12-08 22:45:34 +01:00
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
18a3d18ba6
Move Authentication methods to class "Authentication"
2019-12-05 23:02:50 +01:00
5bb63e59e0
Move App::internalRedirect to BaseUrl::redirect
2019-12-05 23:02:50 +01:00
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
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
Philipp Holzer
eaed327c07
fix indentation
2019-08-16 09:10:05 +02:00
Philipp Holzer
30b69f1fc4
some fixings
2019-08-15 20:58:57 +02:00
Philipp Holzer
9f68e6b589
Add Page class for Frontend
...
- Move frontend logic (stylesheet, footerscript, content) to Page class
2019-08-15 20:52:42 +02:00
Philipp Holzer
822ba67105
Fixing https://github.com/friendica/friendica/pull/7508#issuecomment-521679624
2019-08-15 17:47:08 +02:00
Philipp Holzer
ccbb0241bf
Removed unnecessary auto-initializing
2019-08-15 17:27:05 +02:00
Philipp Holzer
956439a9f2
reverted wrong indentation
2019-08-15 17:25:03 +02:00
Philipp Holzer
734b63adba
Fixed wrong "BaseUrl" class (=> "BaseURL")
2019-08-15 17:23:35 +02:00