Hypolite Petovan
7b0ec6252f
Remove uses of the rest of deprecated profile fields
2020-01-27 23:06:30 -05:00
nupplaPhil
ed9392469e
Remove unneeded Config namespace usages
2020-01-19 22:50:44 +01:00
nupplaPhil
21640ec5d8
Add missing Friendica\DI namespace to files (PHPStorm inspection)
2020-01-19 21:26:42 +01:00
nupplaPhil
a6a2efa18a
Move Config::delete() to DI::config()->delete()
2020-01-19 21:22:33 +01:00
nupplaPhil
6c36fd9e01
Move Config::get() to DI::config()->get()
2020-01-19 21:21:13 +01:00
Michael
0a4119adaf
@brief is removed completely
2020-01-19 06:05:23 +00:00
nupplaPhil
424c87195b
CleanUp Cache namespace
...
- Introduce enum "Duration"
- Introduce enum "Type"
- Move "Cache\Cache" to "BaseCache"
2020-01-18 15:41:19 +01:00
Michael
ccc7a71e54
Ensure that local contacts always are DFRN contacts
2020-01-16 06:43:21 +00:00
nupplaPhil
a38b0f7eaf
Move remaining namespaces and delete Core\Cache.php
2020-01-07 00:51:02 +01:00
nupplaPhil
fe078410a1
Move Cache::get() to DI::cache()->get()
2020-01-07 00:45:49 +01:00
nupplaPhil
f68929633b
Move Cache::set() to DI::cache()->set()
2020-01-07 00:41:20 +01:00
Hypolite Petovan
ebaf726744
Rework Feed::import parameters
...
- Remove unused $hub
- Replace $simulate with an implicit condition
2020-01-03 09:26:28 -05:00
nupplaPhil
3f34229752
Move redundant System::baseUrl() to DI::baseUrl() calls
2019-12-30 23:00:08 +01:00
Hypolite Petovan
03038e7a3b
Merge pull request #8019 from nupplaphil/task/replace_getClass
...
Introduce new way of static/dynamic bridge / CleanUp deprecated methods
2019-12-29 17:47:28 -05:00
nupplaPhil
50be94aa5e
Remove deprecated App::getHostName() - process methods to DI::baseUrl()->getHostName()
2019-12-29 20:17:47 +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
Michael
60df79ad2a
Probe: Additional checks for connection problems
2019-12-29 03:27:54 +00:00
Michael
fab0d9b919
Don't create contacts for unknown networks / improved content fetching
2019-12-28 19:17:48 +00:00
Michael
8acd8912eb
Zot: Retrieve alias addresses as well
2019-12-24 10:19:14 +00:00
Hypolite Petovan
e7ea5dac24
Merge pull request #7995 from annando/probe-hubzilla
...
We can now detect Zot profiles
2019-12-23 19:59:44 -05:00
Michael
b442f41159
Remove test code
2019-12-23 21:10:54 +00:00
Tobias Diekershoff
00756737b5
Merge branch 'master' 2019.12 into develop
2019-12-23 20:03:47 +01:00
Michael
7fd1d674a9
Zot seems to work now
2019-12-23 15:07:49 +00:00
Michael
2306b949f2
Partly reworked, part 2
2019-12-23 14:30:48 +00:00
Michael
9cc2212b4b
Restructuring code
2019-12-23 14:26:06 +00:00
Michael
4653d7d3b0
Renamed function, added documentation
2019-12-22 17:20:11 +00:00
Michael
03d6203410
We can now detect Hubzilla accounts
2019-12-22 08:13:12 +00: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
Michael
b2d17abc7b
Fix notice "Undefined index: href"
2019-12-14 05:49:53 +00:00
Hypolite Petovan
17838366a0
Reformat library/OAuth1
...
- Add type hints to Network\FKOAuthDataStore
2019-12-09 22:50:35 -05: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
7343ee5108
Move Namespace of ActivityNamespace
2019-10-25 00:41:48 +02:00
Philipp Holzer
dc2858938d
Renamed to ActivityNamespace
2019-10-25 00:32:35 +02:00
Philipp Holzer
2fba7ed477
Rename namespace
2019-10-24 21:40:13 +02:00
Philipp Holzer
07cea24430
Move Activity/Namespaces defines to constants
2019-10-24 21:40:12 +02:00
Michael
df1db84846
Fix: Friendica contacts had falsely been detected as ActivityPub
2019-10-20 06:04:47 +00:00
Hypolite Petovan
146646c4d4
Replace deprecated calls to defaults() by ?? and ?: in src/
2019-10-16 08:38:52 -04:00
dew-git
dc01bdbc80
Use the utility instead.
2019-10-10 20:43:32 -08:00
dew-git
811cdcdfcb
Fix security vulnerbilities.
...
Fix possible length extension attack, predicable generators, timing attacks on hash comparision and improved formatting.
2019-10-10 15:21:41 -08:00
Hypolite Petovan
cb4950a3be
Replace duplicated authentication code in FKOAuth1 with Session::setAuthenticatedForUser
2019-10-06 11:17:30 -04:00
Michael
7991b77343
Return value added
2019-10-02 09:37:05 +00:00
Michael
6a6a48c58d
Renamed function
2019-10-02 06:24:29 +00:00
Michael
b051804dc3
Empty the header array
2019-10-02 04:10:36 +00:00
Michael
489510e7a9
Cache the header fields
2019-10-02 03:45:32 +00:00
Michael
5cdeb8615f
Use $this
2019-10-02 03:31:58 +00:00
Michael
516fd02812
New function to check for key existance
2019-10-01 21:46:18 +00:00
Michael
c37663f1c1
Changed return value
2019-10-01 19:02:26 +00:00
Michael
2c730a5c45
New function for fetching associated header array
2019-10-01 18:22:33 +00:00