nupplaPhil
31457b8566
Replace Lock::release() with DI::lock()->release() and remove Core\Lock
2020-01-07 00:24:10 +01:00
nupplaPhil
634e657d23
Replace Lock::acquire() with DI::lock()->acquire()
2020-01-07 00:20:31 +01:00
Hypolite Petovan
64c8855407
Allow special groups in default user permissions
...
- Use ACLFormatter in ACL::getDefaultUserPermissions
- Remove ACL::fixACL
- Add return value to Contact::pruneUnavailable
2020-01-05 17:09:14 -05:00
Hypolite Petovan
393a671501
Merge pull request #8055 from nupplaphil/task/remove_get_server
...
Remove get_server() in favor of Search::getGlobalDirectory()
2020-01-04 20:10:50 -05:00
nupplaPhil
48baa0be4b
Remove get_server() in favor of Search::getGlobalDirectory()
2020-01-05 00:04:55 +01:00
nupplaPhil
244f440d97
Remove unused killme()
2020-01-04 23:43:13 +01:00
nupplaPhil
f0eea6f875
Remove get_app() in favor of DI::app()
2020-01-04 23:42:01 +01:00
Michael
fb550a0172
Relocated functions from PortableContact to GServer
2020-01-01 21:29:36 +00:00
nupplaPhil
e2dc1d7477
Remove deprecated call
2019-12-30 23:08:06 +01:00
nupplaPhil
3f34229752
Move redundant System::baseUrl() to DI::baseUrl() calls
2019-12-30 23:00:08 +01:00
Hypolite Petovan
6f199ab7b3
Add missing return statement in Core\L10n
...
- Addresses https://github.com/friendica/friendica/issues/7998#issuecomment-569560492
2019-12-29 22:47:32 -05:00
nupplaPhil
c1dbb25656
Creating interfaces for Config/PConfig & fix tests
2019-12-29 20:18:19 +01:00
nupplaPhil
4835f1185f
Remove deprecated App::module - replace with DI::module()->getName()
2019-12-29 20:17:52 +01:00
nupplaPhil
e944d7bed6
Remove deprecated App::getBaseURL() - process methods to DI::baseUrl()->get()
2019-12-29 20:17:48 +01:00
nupplaPhil
50be94aa5e
Remove deprecated App::getHostName() - process methods to DI::baseUrl()->getHostName()
2019-12-29 20:17:47 +01:00
nupplaPhil
e93fba5136
Remove deprecated App::removeBaseURL - process methods to DI::baseUrl()->remove()
2019-12-29 20:17:45 +01:00
nupplaPhil
5609e94b05
Refactor deprecated App - process methods to DI::process()->*()
2019-12-29 20:17:45 +01:00
nupplaPhil
8e6973b774
Refactor deprecated App::internalRedirect() to DI::baseUrl()->redirect()
2019-12-29 20:17:43 +01:00
nupplaPhil
9cec293ccc
Refactor dynamic App::getMode() to static DI::mode()
2019-12-29 20:17:42 +01:00
nupplaPhil
181529f3df
Refactor dynamic App::getProfiler() to static DI::profiler()
2019-12-29 20:17:42 +01:00
nupplaPhil
e2b2778e0a
Refactor dynamic App::getLogger() to static DI::logger()
2019-12-29 20:17:41 +01:00
nupplaPhil
fceb4f3823
Refactor dynamic App::getConfig() to static DI::config()
2019-12-29 20:17:40 +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
Hypolite Petovan
a9220aa83b
Merge pull request #8026 from nupplaphil/task/l10n_immutable
...
Make L10n immutable
2019-12-29 13:54:32 -05:00
nupplaPhil
71a38180e9
Check for same language
2019-12-29 16:39:25 +01:00
nupplaPhil
673c4537e4
Session - Remove unneeded cookie parameter
2019-12-29 00:03:58 +01:00
nupplaPhil
7a2f4dc54e
Make L10n immutable
...
- Remove Push/Pop
- Add "withLang($lang)" method
2019-12-28 23:12:01 +01:00
Hypolite Petovan
94954c810b
Merge pull request #7996 from annando/poco-cleanup
...
The PoCo-Workers had been split
2019-12-24 05:13:36 -05:00
Tobias Diekershoff
00756737b5
Merge branch 'master' 2019.12 into develop
2019-12-23 20:03:47 +01:00
Michael
37f0519514
'SearchDirectory' created (moved out of 'DiscoverPoco' mess)
2019-12-20 20:30:13 +00: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
Hypolite Petovan
6e4a428c73
Merge pull request #7907 from nupplaphil/task/reduce_app_deps
...
Cleanup Session/Authentication
2019-12-14 09:53:40 -05:00
Hypolite Petovan
fe5b80b9ba
Return early if user.uid isn't present in ACL::getFullSelectorHTML
...
- Addresses https://github.com/friendica/friendica/issues/7675#issuecomment-565533824
2019-12-13 13:29:18 -05:00
nupplaPhil
1408908c84
Refactor Session Handling (make it more simple & handler are now handler again)
2019-12-11 20:30:31 +01:00
nupplaPhil
02c40ad1cb
Overwrite constructor of Memory session handling so no session ini-setting in backend/testing environments are possible
2019-12-10 23:35:16 +01:00
nupplaPhil
b9f8762eb3
Use Native Session functions (global "$_SESSION" variable) for Memory class because of the direct usage of the $_SESSION class all around the codebase
2019-12-10 22:29:49 +01:00
nupplaPhil
ce2610000b
Renaming class
2019-12-10 08:49:33 +01:00
nupplaPhil
26bd956912
Optimize L10n usage for Session (reduce "App" complexity even more)
2019-12-10 00:56:49 +01:00
nupplaPhil
cad7e534a4
Add phpdoc
2019-12-10 00:50:05 +01:00
nupplaPhil
555513e4b4
Add Session Management instances (including Depenency Injection)
...
- Prerequesite for mocking Sessions
- Reduce "App" class complexity
2019-12-10 00:44:56 +01:00
nupplaPhil
009a8bb939
Initializing SessionHandlers with Dependency Injection
2019-12-09 23:09:18 +01:00
nupplaPhil
54392fab81
Move Cookie to own class (with tests)
...
Move Authentication to App namespace
2019-12-08 22:45:34 +01:00
Michael
b1fa0e8e26
ACL: Contact list is now sorted, forums reappeared
2019-12-06 07:25:21 +00:00
Hypolite Petovan
7cfe05f849
Restore correct test for hidewall in ACL::getFullSelectorHTML
2019-12-05 20:05:47 -05: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
nupplaPhil
18a3d18ba6
Move Authentication methods to class "Authentication"
2019-12-05 23:02:50 +01:00
Hypolite Petovan
f989c331a3
Fix warnings about unexpected parameter array values type in ACL::getFullSelectorHTML
...
- Addresses https://github.com/friendica/friendica/issues/7676#issuecomment-560503744
2019-12-03 06:59:51 -05:00
Philipp
6531819971
Merge pull request #7884 from MrPetovan/bug/7834-ignore-reload
...
Restore post reload after (un)ignore
2019-12-02 09:40:31 +01:00
Hypolite Petovan
01b81f7bba
Merge pull request #7885 from nupplaphil/bug/7881_allowed_themes
...
Themes are now saved just once
2019-12-01 08:12:20 -05:00