Philipp Holzer
73c3b21665
Move ACCEPT constants to own "enum" class
2022-04-02 20:26:11 +02:00
Michael
1fae0123ec
Some more "accept" parameters are added
2022-03-29 06:24:20 +00:00
Balázs Úr
e56a53647b
Update copyright
2022-01-02 08:27:47 +01:00
Philipp Holzer
13a91e63aa
Rename DI::httpRequest() into DI::httpClient()
2021-08-25 21:54:54 +02:00
Michael
c81e81dc8d
"getUserId" is now "getLoggedInUserId"
2021-08-09 20:33:46 +00:00
Michael
b8fa75b2dd
Changed function name
2021-08-09 15:29:07 +00:00
Michael
28090bd793
Get rid of App->user completely
2021-08-08 19:30:21 +00:00
Michael
1466afe3b2
Automatically subscribe to the followings of a given AP account
2021-07-13 06:06:08 +00:00
Balázs Úr
054c301ef0
Update copyright
2021-03-29 08:40:20 +02:00
Michael Vogel
398e65d66b
Merge pull request #8911 from MrPetovan/task/curl_DI
...
Introduce "HTTPRequest" class
2020-07-25 09:50:20 +02:00
Michael
0007da8630
EOL removed
2020-07-23 06:25:01 +00:00
nupplaPhil
7029012f27
Rename "HTTPRequest::curl()" to HTTPRequest::get()
2020-07-21 03:14:01 -04:00
nupplaPhil
2973ed6448
Make "HTTPRequest::curl" dynamic
2020-07-21 03:01:12 -04:00
nupplaPhil
5344efef71
Move post/curl/fetchUrl/fetchUrlFull to own class "Network\HTTPRequest"
2020-07-21 02:56:10 -04:00
Michael
d6bf7f2cda
Replace "Probe::uri" with "Contact::getByURL"
2020-07-16 10:22:14 +00:00
Hypolite Petovan
50d05cec83
Ensure url property of Probe::uri result is used authoritatively
...
- Some profile URLs aren't canonical and need to be updated during probe
2020-06-26 12:52:39 -04:00
Hypolite Petovan
a5a7855d39
Remove dependency to App in Contact::createFromProbe
...
- Address https://github.com/friendica/friendica/issues/8473#issuecomment-641259906
2020-06-10 10:36:42 -04:00
nupplaPhil
85dc9bb96b
Add license info at Friendica PHP files
2020-02-09 16:18:46 +01:00
Philipp Holzer
d6efc90194
cleanup namespace usages for L10n
2020-01-19 16:31:33 +01:00
Philipp Holzer
5dfee31108
Move L10n::t() calls to DI::l10n()->t() calls
2020-01-19 16:31:16 +01:00
Philipp Holzer
800694e9b3
Remove unused use
statements & remove PConfig class
2020-01-18 17:02:59 +01:00
Philipp Holzer
b5c0df439f
Move PConfig::delete() to DI::pConfig()->delete()
2020-01-18 16:56:46 +01:00
Philipp Holzer
88bb66371c
Move PConfig::set() to DI::pConfig()->set()
2020-01-18 16:54:50 +01:00
Philipp Holzer
9e9429b56d
Move PConfig::get() to DI::pConfig()->get()
2020-01-18 16:50:57 +01:00
Philipp Holzer
3f34229752
Move redundant System::baseUrl() to DI::baseUrl() calls
2019-12-30 23:00:08 +01:00
Philipp Holzer
6d7362da41
Replace deprecated $a->page with DI::page()
2019-12-30 20:02:09 +01:00
Philipp Holzer
8e6973b774
Refactor deprecated App::internalRedirect() to DI::baseUrl()->redirect()
2019-12-29 20:17:43 +01:00
Hypolite Petovan
5e1ceb57de
Escape global namespaced get_app() calls
...
- Add deprecated status
2019-01-03 21:27:36 -05:00
Michael
c06f7ad11e
The curl result is an object, not an array
2018-12-22 17:00:28 +00:00
Hypolite Petovan
8d7fb35463
Prevent fatal error when $friends isn't an array
2018-11-22 19:03:24 -05:00
Hypolite Petovan
03c5c7ca0a
Fix formatting in mod/ostatus_subscribe
2018-11-22 19:03:02 -05:00
Philipp Holzer
d00ddc01af
Split goaway to System::externalRedirectTo() and App->internalRedirect()
2018-10-22 22:13:35 +02:00
Philipp Holzer
2ef81108b3
Renamed System::redirect() to $a->redirect()
2018-10-22 22:13:22 +02:00
Philipp Holzer
2dec8895a9
Curl Response Refactoring
...
- extended Curl to parse Curl Response
- refactored Network::curl()
- replaced every Network::curl() execution with the new Curl container
2018-10-10 21:08:43 +02:00
Jonny Tischbein
d8780b1640
Replace goaway location SESSION var return_url with page as string value
2018-10-09 20:10:34 +02:00
Roland Häder
e06fc2aa69
Stopped using deprecated constants NETWORK_* ( #5537 )
...
* Rewrite:
- stopped using deprecated NETWORK_* constants, now Protocol::* should be used
- still left them intact for slow/lazy developers ...
* Removed deprecated NETWORK_* constants as per code reviewer's request.
2018-08-11 22:40:44 +02:00
Michael
858fd127a1
Fix: subscribing to the old followers hadn't worked
2018-03-14 00:27:15 +00:00
Adam Magness
f04d40a37e
Review update
...
Rename function, move others
2018-01-27 11:13:41 -05:00
Adam Magness
2f9642392d
Move z_fetch_url
...
move z_fetch_url method
2018-01-26 23:18:38 -05:00
Adam Magness
f0725ae384
Hopefully all t()
...
hopefully the last of the t()
2018-01-22 18:03:26 -05:00
Adam Magness
ead9d86236
More t()
...
Update more t() calls
2018-01-22 18:03:26 -05:00
Adam Magness
d49f986d1e
Many t() calls
...
modify many t() calls.
2018-01-22 18:03:26 -05:00
Adam Magness
5358f5742e
Rename create
...
rename create function to createFromProbe and update calls.
2018-01-09 11:40:25 -05:00
Adam Magness
c81e83c500
Review changes
...
Update update and new functions to updateFromProbe and create. Update calls to renamed functions.
2018-01-09 11:23:26 -05:00
Adam Magness
a59ab5552e
Includes and calls
...
Remove includes and update function calls
2018-01-09 09:59:52 -05:00
Adam Magness
b995e858e6
Review changes
...
Replacements for ::delete() as well as changes to include use statements.
2017-11-07 09:12:01 -05:00
Adam Magness
0dfa57948f
Issue-#3873
...
Replace deprecated functions with new syntax.
2017-11-07 06:24:39 -05:00
Michael
08f461f70c
Bugfix: Revive dead contacts
2017-10-15 19:34:15 +00:00
Michael
5adfeb0bd5
App::get_baseurl is now replaced with System::baseUrl
2017-08-26 07:32:10 +00:00
Michael
3c24bed412
New class "System"
2017-08-26 06:04:21 +00:00