1
0
Fork 0
Commit graph

221 commits

Author SHA1 Message Date
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
50be94aa5e
Remove deprecated App::getHostName() - process methods to DI::baseUrl()->getHostName() 2019-12-29 20:17:47 +01:00
388b963714
Replace BaseObject class with DI::* calls 2019-12-29 20:17:38 +01:00
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
60df79ad2a Probe: Additional checks for connection problems 2019-12-29 03:27:54 +00:00
fab0d9b919 Don't create contacts for unknown networks / improved content fetching 2019-12-28 19:17:48 +00:00
8acd8912eb Zot: Retrieve alias addresses as well 2019-12-24 10:19:14 +00:00
e7ea5dac24
Merge pull request #7995 from annando/probe-hubzilla
We can now detect Zot profiles
2019-12-23 19:59:44 -05:00
b442f41159 Remove test code 2019-12-23 21:10:54 +00:00
00756737b5 Merge branch 'master' 2019.12 into develop 2019-12-23 20:03:47 +01:00
7fd1d674a9 Zot seems to work now 2019-12-23 15:07:49 +00:00
2306b949f2 Partly reworked, part 2 2019-12-23 14:30:48 +00:00
9cc2212b4b Restructuring code 2019-12-23 14:26:06 +00:00
4653d7d3b0 Renamed function, added documentation 2019-12-22 17:20:11 +00:00
03d6203410 We can now detect Hubzilla accounts 2019-12-22 08:13:12 +00:00
6e4a428c73
Merge pull request #7907 from nupplaphil/task/reduce_app_deps
Cleanup Session/Authentication
2019-12-14 09:53:40 -05:00
b2d17abc7b Fix notice "Undefined index: href" 2019-12-14 05:49:53 +00:00
17838366a0 Reformat library/OAuth1
- Add type hints to Network\FKOAuthDataStore
2019-12-09 22:50:35 -05: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
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
df1db84846 Fix: Friendica contacts had falsely been detected as ActivityPub 2019-10-20 06:04:47 +00:00
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
cb4950a3be Replace duplicated authentication code in FKOAuth1 with Session::setAuthenticatedForUser 2019-10-06 11:17:30 -04:00
7991b77343 Return value added 2019-10-02 09:37:05 +00:00
6a6a48c58d Renamed function 2019-10-02 06:24:29 +00:00
b051804dc3 Empty the header array 2019-10-02 04:10:36 +00:00
489510e7a9 Cache the header fields 2019-10-02 03:45:32 +00:00
5cdeb8615f Use $this 2019-10-02 03:31:58 +00:00
516fd02812 New function to check for key existance 2019-10-01 21:46:18 +00:00
c37663f1c1 Changed return value 2019-10-01 19:02:26 +00:00
2c730a5c45 New function for fetching associated header array 2019-10-01 18:22:33 +00:00
18198b4aaa Enable the possibility to fetch a specific header variable 2019-10-01 16:33:11 +00:00
3b6f16347a Fetch avatar and name on Twitter discovery 2019-09-19 05:28:46 +00:00
a733a00ea9 Detect the hide status when it hadn't been detected before 2019-09-10 20:20:34 +00:00
3c7fe5fc1b Issue 7610-2: Read the "hide" status for non DFRN profiles 2019-09-10 20:06:07 +00:00
2a213c215e Fix contact issues with fake reshares from Twitter 2019-07-23 04:26:20 +00:00
7dfadf7e7e Simplify the contact update in "getIdForURL" 2019-07-12 21:07:47 +00:00
8cbdc7939e Fetch more comtact data from probing, remove duplicated contacts 2019-07-12 14:55:23 +00:00
d1435bef61 Add ActivityPub related fields to the "uri" function 2019-07-08 12:00:11 +00:00
8d6aa9914c We now handling the contact type 2019-07-04 19:31:42 +00:00
ef5be9668f New fields in contact table / don't update on probe 2019-07-04 04:08:55 +00:00
Philipp Holzer
a85aa24d56
Add additional check for $links in Probe
see https://github.com/friendica/friendica/issues/6917#issuecomment-501661530
2019-06-13 15:01:24 +02:00
Philipp Holzer
cc7444d84d
Move internal recursion-counter to the end of all cur/fetchUrl parameters 2019-06-10 14:34:54 +02:00
9fb111bca2
Rename ServiceUnavailableException & alter maintenance 2019-05-05 10:07:33 +02:00