Mario
300b0e27bd
bump version
2024-01-29 10:35:48 +00:00
Mario
29489f62cf
introduce Activity::init_background_fetch() and refactor zotconvo to implement it
2024-01-29 10:33:13 +00:00
Mario
09465619e5
enable object cash by default, introduce system.cache_expire_days and default to 7, default system.default_expire_days to 30 and system.active_expire_days to 7
2024-01-28 17:03:05 +00:00
Mario
390af7722d
fix last commit
2024-01-28 15:03:40 +00:00
Mario
e18157f818
make sure we return an array if there is no cache entry
2024-01-28 11:35:15 +00:00
Mario
5435d2881c
Merge branch 'dev' into 'dev'
...
Added Circle Person Avatar
See merge request hubzilla/core!2096
2024-01-27 20:26:29 +00:00
Mario
2e8f3d1869
Merge branch 'upgrade-ci-to-mysql-8.0' into 'dev'
...
CI: Upgrade to use MySQL version 8.0
See merge request hubzilla/core!2093
2024-01-27 20:21:13 +00:00
Mario
3ad1cab006
Merge branch 'doc-updates' into 'dev'
...
Doc updates
See merge request hubzilla/core!2092
2024-01-27 20:20:18 +00:00
Mario
b806a3ccc2
use std functions
2024-01-27 20:18:28 +00:00
Mario
5e780ba089
implement short time object cache to reduce network calls and some cleanup
2024-01-27 16:36:26 +00:00
Mario
c0a7dfe2f6
refactor fetch_and_store_parents() and inroduce the fetchparents daemon
2024-01-25 10:13:10 +00:00
Mario
fe50d78a0f
missing hook
2024-01-24 19:34:41 +00:00
Mario
e513950cb5
restructure Libzot::process_delivery()
2024-01-24 16:44:42 +00:00
Mario Vavti
adc6390a22
bump version
2024-01-24 16:41:03 +01:00
Mario Vavti
9449e8bd61
fix issue where if an item is created and deleted again before the notifier has completed the queueworker will dismiss the delete because it looks like a duplicate entry
2024-01-24 16:40:05 +01:00
Mario
f13af0f60b
process source xchan in xchan_query()
2024-01-23 08:46:18 +00:00
Harald Eilertsen
acdb773f89
CI: Add job for MariaDB 10.6
...
Reuse job definition for mysql job, and alias the mariadb service to
mysql so that the job will find it.
2024-01-22 12:44:36 +01:00
Mario
651a288148
set item_uplink to 0 just to be sure (this should not be necessary)
2024-01-22 09:17:55 +00:00
Mario
b0664f7349
store the original announce actor (the one that pushed the item into our stream first) in source_xchan instead of owner_xchan. this way we will preserve the real owner for the thread and not have conflicts when dealing with deletes of comments or likes
2024-01-22 09:09:41 +00:00
Scott M. Stolz
51586037e1
Added Circle Person Avatar
...
Added an additional avatar to choose from.
2024-01-21 16:11:35 -06:00
Harald Eilertsen
f573c1772a
CI: Slight refactoring.
2024-01-21 22:51:42 +01:00
Harald Eilertsen
f08e91e19d
CI: Upgrade to use MySQL version 8.0
...
This is the oldest version we support now.
2024-01-21 17:50:06 +01:00
Harald Eilertsen
8cd9fff26a
Add some developer doc for check_account_password hook
2024-01-21 17:43:35 +01:00
Harald Eilertsen
d489a2854e
Update admin guide with min supported db versions
2024-01-21 17:42:42 +01:00
Mario Vavti
9cfd1c2318
missing include
2024-01-21 09:52:13 +01:00
Mario
2dd0677d23
Merge branch 'dont-include-db-updates-in-test-coverage' into 'dev'
...
Don't include db updates in test coverage.
See merge request hubzilla/core!2090
2024-01-19 20:36:04 +00:00
Mario
00d403e729
Merge branch 'improve-validate-email' into 'dev'
...
Improve validate_email function
See merge request hubzilla/core!2088
2024-01-19 20:35:43 +00:00
Mario
d83e2daf36
Merge branch 'fix-postgres-ci' into 'dev'
...
tests: Remove id from db fixtures.
See merge request hubzilla/core!2087
2024-01-19 20:33:36 +00:00
Mario
8fe6aede03
bump version
2024-01-19 20:11:35 +00:00
Mario
fa4ab45692
native repeats continued
2024-01-19 20:10:50 +00:00
Mario Vavti
9cc85adf47
Fix regression in Activity::actor_store()
2024-01-19 11:02:13 +01:00
Harald Eilertsen
01ed001041
Don't include db updates in test coverage.
...
We're not likely to add tests for these in any case.
2024-01-16 10:13:24 +01:00
Harald Eilertsen
403539919a
Improve the validate_email function
...
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.
2024-01-15 19:52:31 +01:00
Harald Eilertsen
52ea2fa33e
Update CI run to archive dbfail.out if test run fails
2024-01-15 19:32:19 +01:00
Harald Eilertsen
ecd4754f6d
tests: Enable debug logging during tests
...
The debug log will be stored in the test/results directory, and archived
as part of the artifacts of the CI run. This should make it easier to
get some debugging info out from the CI runs if they fail.
2024-01-15 19:25:09 +01:00
Harald Eilertsen
f71033b30d
tests: Remove id from db fixtures.
...
It seems that PostgreSQL will not update the autoincrement index of the
table when inserting rows with an id set. Later inserts without an id
set will then fail, because they get assigned an id that already exists.
MySQL seems to handle this just fine.
Why the id column was added in the first place, one may wonder, but
that's how it were.
In any case, this broke the PostgreSQL tests in the gitlab CI
environment. (While it mysteriously worked in my local ddev
environment.) Anyways, the id column is not needed, and things work
better without them.
2024-01-15 19:11:25 +01:00
Mario
885068834f
fix more php deprecations
2024-01-14 19:58:36 +00:00
Mario
c4c4ab2f3d
fix regression in commit b05b7561
2024-01-14 19:52:05 +00:00
Mario
aec3247952
fix more php deprecations
2024-01-14 19:40:59 +00:00
Mario
b05b756148
Handling HTML entities via mbstring is deprecated
2024-01-14 17:23:57 +00:00
Mario
03819abb22
remove acct from webfinger
2024-01-14 17:23:19 +00:00
Mario
d074e2aba0
fix more php deprecations
2024-01-14 17:22:33 +00:00
Mario
2bbecfe8dd
only attempt fetch if zotfinger actually returned something
2024-01-14 10:11:20 +00:00
Mario
e078e13325
make sure we are dealing with an array
2024-01-14 09:40:18 +00:00
Mario
9d3b852d38
fix wrong array key
2024-01-14 08:10:27 +00:00
Mario
fadb0a5bf2
check for assertionMethod
2024-01-13 20:45:32 +00:00
Mario
fa7aa6cedb
start checking integrity proofs, remove signature prior to verify, iterate trough the array to find the desired ekey in actor_store()
2024-01-13 20:38:34 +00:00
Mario
6df98f2fad
private -> public
2024-01-13 19:10:44 +00:00
Mario
c597017402
fix some deprecation warnings
2024-01-13 17:38:31 +00:00
Mario
9cb95f6065
store epubkey in actor_store
2024-01-13 16:19:53 +00:00