Philipp
3c074ab315
HTTPRequest: Replace getInfo() with new parameter 'content_length'
2021-08-20 19:58:42 +02:00
Hypolite Petovan
6f13663c45
Return early if body is empty in Network\Probe::updateFromFeed
...
- Address https://github.com/friendica/friendica/issues/10473#issuecomment-894815271
2021-08-17 09:35:44 -04:00
Michael
bee04f86ee
Matrix addresses can be entered in the profile
2021-08-09 01:39:09 +00:00
Michael
d6c25dc63c
Handle profile page detection without a type
2021-08-05 11:37:04 +00:00
Michael
9f19adf8bb
Use the general function ro create an avatar path
2021-08-02 22:28:42 +00:00
Hypolite Petovan
dfb043ce60
Add Exception for empty User::getOwnerDataById(0 return case in Protocol\ActivityPub\Transmitter::getProfile()
...
- Address https://github.com/friendica/friendica/issues/10473#issuecomment-882781552
- Add try-catch blocks to all references of Protocol\ActivityPub\Transmitter::getProfile()
2021-07-27 16:46:08 -04:00
Michael
01abea7c25
Don't probe non existing local contacts
2021-07-19 04:49:58 +00:00
Michael
aa6313dee6
Improved detection for a local contact
2021-07-19 04:15:57 +00:00
Michael
09aa496387
Some more places changed to the new contact avatar path format
2021-06-30 16:58:46 +00:00
Michael
fe07dc828b
Fix noscrape publishing and pulling, added header
2021-06-17 11:23:32 +00:00
Michael
5a00902e11
Avoid HTML parsing of an empty body
2021-04-10 05:46:19 +00:00
Balázs Úr
054c301ef0
Update copyright
2021-03-29 08:40:20 +02:00
Hypolite Petovan
77b24a0b66
Quit earlier in ProbeURL->getFeedLink if body is empty
2021-02-23 16:06:34 -05:00
Adam Clark
8248f6942f
Quit when message is empty, similar to #9681
2021-02-23 10:16:59 -08:00
Michael
fec5f2c217
Fix a notice when the path is empty
2020-12-31 07:54:56 +00:00
Hypolite Petovan
61aa4efa89
Account for missing contact in dfrn_request_post
...
- Address https://github.com/friendica/friendica/issues/9250#issuecomment-743407998
2020-12-13 12:18:10 -05:00
Philipp
a6fc9cd32e
Remove $binary flag for HTTPRequest::get(), HTTPRequest::fetch(), HTTPRequest::fetchAll() (deprecated since PHP 5.1.3)
2020-10-18 20:56:31 +02:00
Philipp
2e8ad098b9
Revert "HTTPRequest: Replace getInfo() with new parameter 'content_length'"
...
This reverts commit f3cd973c
2020-10-11 23:25:47 +02:00
Philipp
0449077126
Revert "Fix IHTTPResult::getHeader() - Now returns a string array, like expected - Fix usages - Fix dataset"
...
This reverts commit 80bd0a4d
2020-10-11 23:25:40 +02:00
Philipp
40349bfdc4
Revert "IHTTPResult::getContentType is now a string again"
...
This reverts commit 40b11442
2020-10-11 23:25:29 +02:00
Philipp
40b11442c2
IHTTPResult::getContentType is now a string again
2020-10-10 23:11:30 +02:00
Philipp
80bd0a4d5a
Fix IHTTPResult::getHeader()
...
- Now returns a string array, like expected
- Fix usages
- Fix dataset
2020-10-10 23:11:30 +02:00
Philipp
f3cd973cbe
HTTPRequest: Replace getInfo() with new parameter 'content_length'
2020-10-10 23:11:30 +02:00
Michael
5af713b336
Issue 9137: Fix "Incorrect integer value:"
2020-09-06 09:41:32 +00:00
Michael
cbf1e5c699
New field "manually-approve" for contact table
2020-09-02 03:02:50 +00:00
Michael
41c96f787d
Use the AP adress for probing webfinger
2020-08-23 07:24:39 +00:00
Michael
4285f4643f
Fix Test
2020-08-22 15:19:34 +00:00
Michael
eb95314aaa
Avoid locally probing last item via network
2020-08-19 04:45:31 +00:00
Michael
d9fc0ae0ea
Using a constant value for the default avatar
2020-08-18 20:30:24 +00:00
Michael
76bcf27130
"localProbe" is used only locally
2020-08-18 19:48:14 +00:00
Michael
5aba1df497
Use "User::getIdForURL"
2020-08-18 19:45:01 +00:00
Michael
f1a8db4e76
Use the owner data to collect all data
2020-08-18 17:30:48 +00:00
Michael
c3bfa9f1c1
Don't probe on local profiles via network
2020-08-18 16:42:01 +00:00
Michael
f09d9bc9cc
Remove url caching, locking cleanup
2020-08-06 18:53:45 +00:00
Michael
cd99b9706b
Check for empty baseurl
2020-08-05 07:51:15 +00:00
Michael
fd62629285
Probe for the date of the last item
2020-08-05 06:50:51 +00:00
Michael
bdbe6771fd
Fix Notice: "Undefined index: host"
2020-07-25 08:07:22 +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
99de216d15
Issue 8844: Fiy probing of unknown AP contacts
2020-07-07 04:47:15 +00:00
Michael
2350c6ab57
Replace deprecated Logger calls
2020-06-28 15:43:58 +00:00
Hypolite Petovan
2c2db55298
Add support for mobile profile URL to core twitter probing
2020-06-26 12:52:40 -04:00
Michael
d8f9bb1e0a
Unify code structure
2020-06-25 20:41:34 +00:00
Michael
4d986526f9
Issue 8807: Improved feed detecting
2020-06-25 20:29:21 +00:00
Michael
b948887221
Reduced network request when probing
2020-06-14 13:37:28 +00:00
Michael Vogel
9b85d0b16e
Merge pull request #8740 from MrPetovan/task/frio-improve-share-display
...
[frio] Improve share blocks display
2020-06-11 07:32:29 +02:00
Hypolite Petovan
7919860274
Merge pull request #8757 from annando/simplify-probe
...
Simplify the probing process
2020-06-10 15:33:03 -04:00
Michael
e49de92cd4
Simplify the probing process
2020-06-10 19:19:10 +00:00
Hypolite Petovan
eaa7740da6
Remove superfluous code
...
- Remove explicit default parameter value in BBCode::convertShareCallback
- Remove Probe::$baseurl reset since the twitter probe sets the `baseurl` property
- Remove baseurl guessing in Probe::detect
2020-06-10 10:15:54 -04:00
Hypolite Petovan
2233fa0e46
Fix issue with Probe returning local baseurl for probed Twitter accounts
2020-06-10 09:56:01 -04:00
Michael
e485836a24
Fix notice " Undefined index: template in src/Network/Probe.php on line 598"
2020-06-09 20:44:55 +00:00
Hypolite Petovan
5cb3a5ff74
Remove obsolete Twitter probing
...
- Profile page source offers no details about accounts when not logged in
2020-06-06 15:08:21 -04:00
Hypolite Petovan
6bed6d5587
Add probe_detect hook
2020-06-06 14:54:04 -04:00
Michael
bc4e5b4d69
Issue 8735: Ensure the correct data type for "hide"
2020-06-06 08:11:19 +00:00
Michael
62217735f0
Use webfinger in apcontact fetch
2020-06-04 21:55:14 +00:00
Michael
ad2f45d1d8
Fix fatal errors because of mixed data types
2020-06-03 06:57:51 +00:00
Hypolite Petovan
a2de7d25ec
Use expected return variable type in Network\Probe::detect
2020-06-02 23:41:10 -04:00
Michael
50e5bd6703
Let "subscribe" be filled at every time to avoid a notice
2020-06-02 19:11:37 +00:00
Michael
e379698227
Issue 8675: reduce requests of foreign pages
2020-06-01 21:52:31 +00:00
Michael
327cdf21ce
Some more "baseurl" improvements
2020-05-24 20:40:00 +00:00
Hypolite Petovan
669124e72f
Merge pull request #8678 from annando/gserver-detection-type
...
Improved server detection / gsid introduced
2020-05-22 10:25:37 -04:00
Michael
e27915a819
Centralized gsid generation
2020-05-22 10:10:24 +00:00
Hypolite Petovan
04e8d5be2c
Remove deprecated/implicit filter_var() flags in Network\Probe::ensureAbsoluteLinkFromHTMLDoc
...
- Suppresses a test breaking notice message in PHP 7.4
2020-05-21 02:27:33 -04:00
Hypolite Petovan
3ef987e4e1
Add new Network\Probe::ensureAbsoluteLinkFromHTMLDoc method
...
- Add supports for relative URL in href attributes to probe feed URL
2020-05-21 00:25:48 -04:00
Hypolite Petovan
c2105f93d1
Remove duplicate curl call in Network\Probe::getFeedLink
...
- Add page body argument instead
- Expand method scope to allow tests
2020-05-21 00:25:48 -04:00
root
68b63ec647
avoid notice in probe.php
2020-05-08 13:06:40 +00:00
Michael
f521689ced
Suppress XML logging of errors
2020-04-27 14:35:50 +00:00
Michael
6e26ece3de
Issue 8383 (again): Finally fixes the double scheme problem
2020-03-10 06:22:30 +00:00
Michael
4453e7e47a
Standards
2020-03-08 19:07:36 +00:00
Michael
0b8b226ee2
Issue 8383: Fixes probing requests with doubled protocols
2020-03-08 14:07:24 +00:00
Michael
9cbea34fa4
Clean the profile URL when follow
2020-02-22 12:29:33 +00:00
Michael
3bd1f3a836
No more gender
2020-02-16 10:55:18 +00:00
Hypolite Petovan
2ec3a97393
Merge pull request #8263 from annando/remote-follow
...
New page for remote follow requests
2020-02-09 17:53:13 -05:00
Michael
2eebeeaa32
New page for remote follow requests
2020-02-09 17:04:35 +00:00
nupplaPhil
85dc9bb96b
Add license info at Friendica PHP files
2020-02-09 16:18:46 +01:00
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
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
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
Michael
b442f41159
Remove test code
2019-12-23 21:10:54 +00: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
Michael
b2d17abc7b
Fix notice "Undefined index: href"
2019-12-14 05:49:53 +00:00
Philipp Holzer
7343ee5108
Move Namespace of ActivityNamespace
2019-10-25 00:41:48 +02:00