aboutsummaryrefslogtreecommitdiffstats
path: root/include/network.php
Commit message (Collapse)AuthorAgeFilesLines
* more work on emojisMario2024-03-091-3/+5
|
* Add some beginning tests for bbcode, and a bit of refactoringHarald Eilertsen2024-03-011-3/+4
|
* Improve the validate_email functionHarald Eilertsen2024-01-151-10/+17
| | | | | | | | | | | | | | | | | | | | The validate_email function relied on doing an actual domain lookup (on supported platforms) to validate the domain of the email address. This does not work too well in testing environments where we may not want to spam the DNS system, if it at all is available. Apart from the the function did very little to actually verify that it was a valid email address. This patch tries to change that by usng a somewhat stricted regex based validation. While this may not be perfect, it should be good enough in the vast majority of cases. For platforms where no validation was performed with the old version, it will at least be an improvement. Also, it allows testing without having an external network connection. Also clarify the doc comment, that it does not actually try to resolve the email address, just the domain.
* provide some more jsonld builtinsMario2024-01-111-0/+4
|
* prepare outbound fep-8b32 (object integrity) but do not enable yet since the ↵Mario2024-01-101-12/+5
| | | | additional context seems to break ldsig for some reason, introduce Activity::build_packet() and Activity::ap_context() to reduce code duplication, implement fep-2c59 (webfinger) and some cleanup
* jsonld: return object instead of json stringMario2023-09-211-3/+3
|
* fix regression in jsonld_document_loader()Mario2023-09-161-5/+2
|
* fix cached jsonld files fetched via networkMario2023-07-211-33/+50
|
* Skip logging when DB functions are not yet loaded (logging requires db lookup).DM42.Net Hubzilla Development2023-07-171-4/+5
|
* shuffle queue deliveries for more randomnessMario2023-06-081-0/+2
|
* queueworker: introduce new interval config queueworker.queue_interval - ↵Mario Vavti2022-12-121-4/+2
| | | | defaults to 500000 microseconds. No config UI yet.
* bring back poll and delivery intervalMario2022-12-121-5/+5
|
* move queueworker to core and bump versionMario2022-12-021-6/+11
|
* php8: warning fixesMario2022-09-141-1/+1
|
* Add function is_local_url() to check if url is local.Harald Eilertsen2022-03-201-0/+8
|
* fix another deprecation warningMario2022-02-111-2/+7
|
* 3rd arg in str_replace() can not be nullMario2022-02-111-0/+4
|
* port z_curl_error() from zapMario2022-01-231-0/+12
|
* provide local copies of the w3.org jsonld documents - addresses issue #1637Mario2021-10-141-1/+16
|
* remove most legacy zot quirksMario2021-05-261-25/+0
|
* Fix phpDocMalendur2021-05-201-2/+2
|
* More PHP 8 fixesMax Kostikov2021-03-101-4/+8
|
* onepoll via zot6 to /zotfeed which implements an outboxMario2021-01-201-1/+28
|
* do not check against undefined variableMario2021-01-021-6/+6
|
* minor queue adjustmentsMario2020-11-131-2/+3
|
* HTML parsing lib change to standard PHP in scrape_feed() and scrape_vcard()root2020-10-311-16/+16
| | | (cherry picked from commit 16d450fc6980bb70f13e574d1b20406dd313110e)
* do not overwrite $x variableMario2020-10-131-3/+3
|
* delete fixesnobody2020-09-301-0/+20
|
* foreach warningzotlabs2020-07-221-1/+1
|
* check for zot6 firstMario2020-06-141-23/+25
|
* set CURLOPT_ENCODING in z_post_url()Mario2020-05-041-0/+1
|
* set CURLOPT_ENCODING to empty string so that compressed content will be ↵Mario2020-05-011-1/+2
| | | | uncompressed
* Don't validate domain with PTR record; remove uneccessary CNAME check; add ↵Max Kostikov2020-01-191-1/+1
| | | | IPv6 check
* webfinger: better handling of URLs that contain a @Mario Vavti2019-07-121-5/+6
|
* clone systems apps to the extent possible, auto-configure imagick thumbnail ↵Zot2019-03-181-3/+3
| | | | binary during setup if possible
* email_header_encode() producing lines of illegal length because header field ↵zotlabs2019-03-141-2/+5
| | | | length was not considered in length calculation.
* Add CURLOPT_CONNECTTIMEOUTM. Dent2019-03-061-0/+7
|
* Fix for cURL with default HTTP/2Max Kostikov2018-12-201-13/+4
|
* Revert "Fix cURL with HTTP/2"Max Kostikov2018-12-201-4/+13
| | | This reverts commit 090fe394e4733aea9e9ca2e9a93c2c27b266d065
* Fix cURL with HTTP/2Max Kostikov2018-12-201-13/+4
|
* Merge branch 'dev' into 'dev'Mario2018-12-181-93/+0
|\ | | | | | | | | Remove scale_external_images() See merge request hubzilla/core!1441
| * Remove scale_external_images()Max Kostikov2018-12-171-93/+0
| |
* | default curl to http/1.1zotlabs2018-12-161-0/+15
|/
* rmagic discovery for z6 networkszotlabs2018-12-091-0/+29
|
* stay ahead of the gamezotlabs2018-11-131-2/+2
|
* fix signatureszotlabs2018-11-061-1/+1
|
* Fix wrong image resize for some external imagesMax Kostikov2018-11-011-2/+2
|
* verify some edge case http signatureszotlabs2018-10-111-0/+24
|
* Update network.phpMax Kostikov2018-09-101-1/+1
|
* prevent json-ld bombing, turn off browser autocomplete on channel sources ↵zotlabs2018-08-111-0/+16
| | | | creation