30658 Commits

Author SHA1 Message Date
Mario
3ee82b5ccc make sure we have all the necessary parts to calculate lat/lon before attempting (there might be issues in getGps() otherwise) - fix issue #1986 2026-06-18 08:47:10 +00:00
Mario
d4401faed5 remove redundant redirect and minor cleanup - fixes issue #1988 2026-06-17 07:48:42 +00:00
Mario
9daecfbb46 Merge branch 'default-homepage-template' into 'dev'
Move default home page to template

See merge request hubzilla/core!2294
2026-06-17 06:09:38 +00:00
Mario
2adb8ffbb5 Merge branch 'cleanup-hooks' into 'dev'
Some cleanup in Hook API's and tests

See merge request hubzilla/core!2293
2026-06-17 06:09:13 +00:00
Mario
2e1a04f6e3 remove unneeded browser plugin and add propfind_depth_infinity option 2026-06-16 11:45:29 +00:00
Harald Eilertsen
9f0fc77ac6 Move default home page to template 2026-06-15 18:59:24 +02:00
Harald Eilertsen
bb303ebc4c Some cleanup in Hook API's and tests
Clean up duplicated code in include/plugin.php and Zotlabs\Extend\Hook,
making the former just wrappers calling the latter. Also removed the
unnecessary serialization of arrays in Hook::insert, and cleaned up and
expaned the tests a bit.
2026-06-12 21:19:59 +02:00
Mario
b8683f73ce Merge branch 'sec-hardening-authorize' into 'dev'
Hardening of Authorize module

See merge request hubzilla/core!2292
2026-06-11 08:10:56 +00:00
Mario
2eae33736b Merge branch 'fix-register-verify-member-email' into 'dev'
Fix registration email verification email template

See merge request hubzilla/core!2291
2026-06-11 07:52:20 +00:00
Harald Eilertsen
4dbcbbb1af Add CSRF token to Authorize module
Issue........: https://framagit.org/hubzilla/core/-/work_items/1987
2026-06-10 20:57:56 +02:00
PepeCyB
8af931a4b9 Update German register email template 2026-06-10 14:59:10 +02:00
Harald Eilertsen
b80cb0adad Fix registration email verification email template
The email template used for verifying the email on new account
registration is wrong in several translations, including British
English.

Clicking any of the links in the emails produced results in a blank page
with no information or helpful error to the poor person trying to
register with a hub.

This patch updates the translated templates to correspond to the (US)
English main template. Translators should revisit the templates to
translate the english texts to the corresponding templates language
where necessary.

Issue........: https://framagit.org/hubzilla/core/-/work_items/1989
2026-06-10 12:47:31 +02:00
Harald Eilertsen
b5f7e55c2b Escape input params in Authorize module
Issue........: https://framagit.org/hubzilla/core/-/work_items/1987
2026-06-08 21:40:19 +02:00
Mario
3952aba824 Merge branch 'apidocs-head_add_css' into 'dev'
Improve API docs and naming in head_add_css()

See merge request hubzilla/core!2290
2026-06-05 19:24:59 +00:00
Mario
15db8dd945 Merge branch 'photo-imagick-avif' into 'dev'
Add AVIF support for PhotoImagick

See merge request hubzilla/core!2289
2026-06-05 19:24:15 +00:00
Mario
1876762216 Merge branch 'fix-duration-template' into 'dev'
Fix min/max fields in duration template

See merge request hubzilla/core!2288
2026-06-05 19:23:27 +00:00
Mario
492e8df555 Merge branch 'pt-translate-fix' into 'dev'
Fix errors in po files

See merge request hubzilla/core!2287
2026-06-05 19:22:37 +00:00
Mario
7667af5659 Merge branch 'phpcompat' into 'dev'
Make array_find available for PHP < 8.4

See merge request hubzilla/core!2286
2026-06-05 19:22:10 +00:00
Mario
92ca97ea6b Merge branch 'misc-phpstan-fixes' into 'dev'
Misc PHPStan fixes

See merge request hubzilla/core!2284
2026-06-05 19:20:36 +00:00
Harald Eilertsen
bf57bd34f9 Add AVIF support for PhotoImagick
It seems AVIF support was added to the GD photo driver, but not
ImageMagick. This patch adds it to ImageMagick as well, if supported by
the underlying library.

I also added pecl imagick extension to CI so that we can test it.
2026-05-28 19:42:01 +02:00
Harald Eilertsen
f1bd35b555 Improve API docs and naming in head_add_css() 2026-05-26 21:15:32 +02:00
Harald Eilertsen
5a77f23186 Fix min/max fields in duration template
If the min or max value for the number input was 0, it would be
interpreted as not set, and thus no limit applied.

Project......: Improve Superblock Addon
Sponsored-by.: NLnet NGI0 Commons Fund
2026-05-22 17:06:52 +02:00
Harald Eilertsen
6b605fecb0 Drop EOL whitespace fron field_duraction template
Project......: Improve Superblock Addon
Sponsored-by.: NLnet NGI0 Commons Fund
2026-05-22 17:06:52 +02:00
Mario
496dade675 update changelog 2026-05-20 05:51:03 +00:00
Mario
82b8ed2652 test variable before using it 2026-05-20 07:48:59 +02:00
Mario
2625fe9527 update changelog 2026-05-20 05:42:08 +00:00
Harald Eilertsen
320019fca3 Fix invalid plural in ru translation 2026-05-19 15:43:17 +02:00
Harald Eilertsen
78f2bb46f9 Fix extra plurals in spanish translation 2026-05-19 11:32:14 +02:00
Harald Eilertsen
88c1cda002 Fix po file for pt-br translation 2026-05-18 22:38:44 +02:00
Harald Eilertsen
6f65d2d6ef Make array_find available for PHP < 8.4
array_find is a useful function, but only available in PHP 8.4 or later.
Here we implement it ourselves if it's not already defined, to make it
available for all supported PHP versions.
2026-05-16 09:32:26 +02:00
Mario
674522c8da Merge branch 'improve-jsonld-fix' into 'dev'
Improve detecting suspicious ActivityStreams keys

See merge request hubzilla/core!2283
2026-05-15 21:02:05 +00:00
Harald Eilertsen
47c902a5ea Misc PHPStan fixes
Mainly variables that could possibly be referenced without being
defined.
2026-05-09 23:25:02 +02:00
Harald Eilertsen
0c7731bb76 Improve detecting suspicious ActivityStreams keys
Using string comparison on the whole key does not work, as some keys
will be given prefixes during expansion. We need to check if the payload
has keys that _contain_ the suspicious keywords we're looking for.
2026-05-09 18:40:55 +02:00
Mario
62582509cd Merge branch 'json-ld' into 'dev'
check for currently unsafe json-ld constructs

See merge request hubzilla/core!2280
2026-05-05 10:44:18 +00:00
Mario
67d73f74ac check for currently unsafe json-ld constructs 2026-05-05 10:44:17 +00:00
Mario
1553bc708f Merge branch 'tests-for-LDSignatures' into 'dev'
Tests for LDSignatures::verify

See merge request hubzilla/core!2281
2026-05-05 07:15:05 +00:00
Mario
99728bf038 Merge branch 'opengraph-tests' into 'dev'
tests: Tests for opengraph meta tags

See merge request hubzilla/core!2282
2026-05-05 07:14:33 +00:00
Harald Eilertsen
965e643c71 tests: Tests for opengraph meta tags
Also fixed a minor whitespace issue in include/opengraph.php, and added
braces so the logic is clearer.
2026-05-02 23:19:18 +02:00
Harald Eilertsen
8d283e0be5 tests: Use minimal channel for LDSignature tests
Move the channel keypair and other fields needed by the
LDSignature::verify function to the test case itself. This makes the
test case independent on any potential future changes to the fixtures.
2026-05-02 11:54:42 +02:00
Harald Eilertsen
0cd682d85e tests: Add basic test for LDSignature::verify 2026-05-02 11:41:54 +02:00
Harald Eilertsen
9aff1d4024 tests: Fix invalid keypair for channel fixture 2026-05-02 11:38:37 +02:00
Mario
b0a2bf47c8 fix wording 2026-04-29 14:27:58 +00:00
Mario
3d29c498e9 move unparse_url() to Url class, also move tests 2026-04-29 14:16:15 +00:00
Mario
acf683a7d3 no need to rebuild the initial url. also add spdx info 2026-04-29 14:59:21 +02:00
Mario
fdeab5b2d1 add same host test and get rid of the www subdomain 2026-04-28 13:10:25 +02:00
Mario
fa7c8e93f1 merge dev 2026-04-28 12:54:40 +02:00
Mario
fd6b252b36 refactor zid() and add tests 2026-04-28 12:50:38 +02:00
Mario
f7a29f7539 Merge branch 'refactor-cleanup-bbcode' into 'dev'
Clean up detection of naked URL's in posts

See merge request hubzilla/core!2278
2026-04-28 08:21:34 +00:00
Harald Eilertsen
de9e2c27ea Drop cleaning empty f query param from links 2026-04-27 12:40:45 +02:00
Mario
0376b5d442 actually there is no need to set App::$profile here because it will be set in profile_load() if applicable 2026-04-27 08:18:50 +00:00