Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactor is_local_url() and add api doc. | Harald Eilertsen | 2024-06-16 | 1 | -6/+9 |
| | |||||
* | remove superfluous param, fix wrong var and declare types for unparse_url() | Mario | 2024-06-10 | 1 | -3/+3 |
| | |||||
* | Fix default timeouts for z_(fetch|post)_url. | Harald Eilertsen | 2024-05-29 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | When fetching the default timouts from config, the result is converted to an int via `intval()`, the result of that again is compared strictly to `false`. Since 0 !== false, the default values will never be used, and 0 (no timeout) is passed to curl. This cause requests to hang indefinitely (or until they are killed) when receiving actions that require a lookup or fetch to another site as part of the request processing. (E.g webfinger, or fetching objects that we received an announce action for.) This again cause the request never to return a useful status to the site sending the action, and could cause them to think the Hubzilla site is dead. This patch fixes this by comparing the fetched value from config to 0 instead of false, making the defaults work again if the config is not set (or set to 0). | ||||
* | Deprecate *_config() functions in core. | Harald Eilertsen | 2024-03-24 | 1 | -44/+45 |
| | |||||
* | more work on emojis | Mario | 2024-03-09 | 1 | -3/+5 |
| | |||||
* | Add some beginning tests for bbcode, and a bit of refactoring | Harald Eilertsen | 2024-03-01 | 1 | -3/+4 |
| | |||||
* | Improve the validate_email function | Harald Eilertsen | 2024-01-15 | 1 | -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 builtins | Mario | 2024-01-11 | 1 | -0/+4 |
| | |||||
* | prepare outbound fep-8b32 (object integrity) but do not enable yet since the ↵ | Mario | 2024-01-10 | 1 | -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 string | Mario | 2023-09-21 | 1 | -3/+3 |
| | |||||
* | fix regression in jsonld_document_loader() | Mario | 2023-09-16 | 1 | -5/+2 |
| | |||||
* | fix cached jsonld files fetched via network | Mario | 2023-07-21 | 1 | -33/+50 |
| | |||||
* | Skip logging when DB functions are not yet loaded (logging requires db lookup). | DM42.Net Hubzilla Development | 2023-07-17 | 1 | -4/+5 |
| | |||||
* | shuffle queue deliveries for more randomness | Mario | 2023-06-08 | 1 | -0/+2 |
| | |||||
* | queueworker: introduce new interval config queueworker.queue_interval - ↵ | Mario Vavti | 2022-12-12 | 1 | -4/+2 |
| | | | | defaults to 500000 microseconds. No config UI yet. | ||||
* | bring back poll and delivery interval | Mario | 2022-12-12 | 1 | -5/+5 |
| | |||||
* | move queueworker to core and bump version | Mario | 2022-12-02 | 1 | -6/+11 |
| | |||||
* | php8: warning fixes | Mario | 2022-09-14 | 1 | -1/+1 |
| | |||||
* | Add function is_local_url() to check if url is local. | Harald Eilertsen | 2022-03-20 | 1 | -0/+8 |
| | |||||
* | fix another deprecation warning | Mario | 2022-02-11 | 1 | -2/+7 |
| | |||||
* | 3rd arg in str_replace() can not be null | Mario | 2022-02-11 | 1 | -0/+4 |
| | |||||
* | port z_curl_error() from zap | Mario | 2022-01-23 | 1 | -0/+12 |
| | |||||
* | provide local copies of the w3.org jsonld documents - addresses issue #1637 | Mario | 2021-10-14 | 1 | -1/+16 |
| | |||||
* | remove most legacy zot quirks | Mario | 2021-05-26 | 1 | -25/+0 |
| | |||||
* | Fix phpDoc | Malendur | 2021-05-20 | 1 | -2/+2 |
| | |||||
* | More PHP 8 fixes | Max Kostikov | 2021-03-10 | 1 | -4/+8 |
| | |||||
* | onepoll via zot6 to /zotfeed which implements an outbox | Mario | 2021-01-20 | 1 | -1/+28 |
| | |||||
* | do not check against undefined variable | Mario | 2021-01-02 | 1 | -6/+6 |
| | |||||
* | minor queue adjustments | Mario | 2020-11-13 | 1 | -2/+3 |
| | |||||
* | HTML parsing lib change to standard PHP in scrape_feed() and scrape_vcard() | root | 2020-10-31 | 1 | -16/+16 |
| | | | (cherry picked from commit 16d450fc6980bb70f13e574d1b20406dd313110e) | ||||
* | do not overwrite $x variable | Mario | 2020-10-13 | 1 | -3/+3 |
| | |||||
* | delete fixes | nobody | 2020-09-30 | 1 | -0/+20 |
| | |||||
* | foreach warning | zotlabs | 2020-07-22 | 1 | -1/+1 |
| | |||||
* | check for zot6 first | Mario | 2020-06-14 | 1 | -23/+25 |
| | |||||
* | set CURLOPT_ENCODING in z_post_url() | Mario | 2020-05-04 | 1 | -0/+1 |
| | |||||
* | set CURLOPT_ENCODING to empty string so that compressed content will be ↵ | Mario | 2020-05-01 | 1 | -1/+2 |
| | | | | uncompressed | ||||
* | Don't validate domain with PTR record; remove uneccessary CNAME check; add ↵ | Max Kostikov | 2020-01-19 | 1 | -1/+1 |
| | | | | IPv6 check | ||||
* | webfinger: better handling of URLs that contain a @ | Mario Vavti | 2019-07-12 | 1 | -5/+6 |
| | |||||
* | clone systems apps to the extent possible, auto-configure imagick thumbnail ↵ | Zot | 2019-03-18 | 1 | -3/+3 |
| | | | | binary during setup if possible | ||||
* | email_header_encode() producing lines of illegal length because header field ↵ | zotlabs | 2019-03-14 | 1 | -2/+5 |
| | | | | length was not considered in length calculation. | ||||
* | Add CURLOPT_CONNECTTIMEOUT | M. Dent | 2019-03-06 | 1 | -0/+7 |
| | |||||
* | Fix for cURL with default HTTP/2 | Max Kostikov | 2018-12-20 | 1 | -13/+4 |
| | |||||
* | Revert "Fix cURL with HTTP/2" | Max Kostikov | 2018-12-20 | 1 | -4/+13 |
| | | | This reverts commit 090fe394e4733aea9e9ca2e9a93c2c27b266d065 | ||||
* | Fix cURL with HTTP/2 | Max Kostikov | 2018-12-20 | 1 | -13/+4 |
| | |||||
* | Merge branch 'dev' into 'dev' | Mario | 2018-12-18 | 1 | -93/+0 |
|\ | | | | | | | | | Remove scale_external_images() See merge request hubzilla/core!1441 | ||||
| * | Remove scale_external_images() | Max Kostikov | 2018-12-17 | 1 | -93/+0 |
| | | |||||
* | | default curl to http/1.1 | zotlabs | 2018-12-16 | 1 | -0/+15 |
|/ | |||||
* | rmagic discovery for z6 networks | zotlabs | 2018-12-09 | 1 | -0/+29 |
| | |||||
* | stay ahead of the game | zotlabs | 2018-11-13 | 1 | -2/+2 |
| | |||||
* | fix signatures | zotlabs | 2018-11-06 | 1 | -1/+1 |
| |