Julian Lam
91cebe651a
refactor: allow topics to be asserted directly into a remote category, or -1 otherwise
2025-04-09 10:43:17 -04:00
Julian Lam
1b3673da7a
feat: also include category in to field when mocking post for federation
2025-04-09 10:43:17 -04:00
Julian Lam
244ce8d70e
refactor: ability to browse to remote categories, group actor assertion logic, etc. -- no logic to assign topics to remote categories yet
2025-04-09 10:43:17 -04:00
Julian Lam
3f7c8678a3
revert: use of vanity domains, needs rethinking. Originally added in 709a02d97a
2025-04-09 10:43:17 -04:00
Barış Soner Uşaklı
021b3af04a
refactor: remove debug log
2025-04-07 13:23:46 -04:00
Barış Soner Uşaklı
3ad6ee075b
Thumb uploads/post uploads normalization ( #13300 )
...
* testing thumn/post upload refactor
* fix: isOrphan check
* lint: fix md5
* test: fix upload test
* user
* fix: upgrade script
* refactor: long line
* lint: lint
* test: fix tests
* Squashed commit of the following:
commit cd70e6c610
Author: Barış Soner Uşaklı <barisusakli@gmail.com >
Date: Fri Apr 4 09:24:54 2025 -0400
fix: req.body can be undefined
* refactor: show data on test fail
* test: logs
* test: change test
* make sure timestamps are different
2025-04-04 10:45:05 -04:00
Barış Soner Uşaklı
2c59007b10
fix: closes #13275 , set 'announces' after adding to zset to prevent race condition
2025-04-01 10:55:03 -04:00
Julian Lam
aa4f23bfad
fix: do not await the batch call to sendMessage
2025-03-28 12:59:06 -04:00
Julian Lam
4b22f29778
fix: commenting out outward federation of Add activity, pending forumwg discussion
2025-03-28 12:39:19 -04:00
Barış Soner Uşaklı
352c42d8db
lint: fix typo
2025-03-27 09:50:46 -04:00
Julian Lam
4bbe27d44c
fix: on user deletion during assertion (due to 410), if delete fails, just run ap post-deletion to clean up
2025-03-26 13:45:30 -04:00
Julian Lam
80e03c857e
fix : #13254 , configurable ap content prune
2025-03-19 10:17:09 -04:00
Julian Lam
74443c3b15
refactor: remove announceObject in favour of feps.announce, added create activity mock to support
2025-03-11 13:24:21 -04:00
Barış Soner Uşaklı
170787aacd
Merge branch 'master' into develop
2025-03-09 11:14:23 -04:00
Barış Soner Uşaklı
6b9f166cb8
fix: don't update topic lastposttime by announce
...
this was causing topics to show up as unread eventhough there are no new posts and out of order on /recent
2025-03-09 11:14:16 -04:00
Julian Lam
885b83e509
feat: if an incoming remote message is too long, don't create the room, but notify the local recipients instead
...
closes #13174
2025-03-07 15:26:13 -05:00
Julian Lam
dfabadbeab
feat: add federatedDescription property to a category.
...
The federated description will be appended to the category description when queried remotely.
The default string is translatable, and tells users that it identifies as a forum category and that topics can be created within by mentioning the category directly.
closes #13127
2025-03-06 11:51:56 -05:00
Julian Lam
3589c570b5
feat: add additional logic that checks whether a cid follows the activity actor, and asserts note into that category if so
...
closes #13232
2025-03-06 10:53:50 -05:00
Julian Lam
4ec7552cfb
refactor: move all input note normalization into helper method, have assertPrivate mock a message object (with said normalization) before sending message
2025-03-04 14:11:41 -05:00
Julian Lam
deb5ee5e01
fix: improper cc and object fields in announceObject
2025-03-03 11:54:26 -05:00
Julian Lam
dca3c35d76
fix: move AP send logging earlier
2025-03-02 22:58:05 -05:00
Julian Lam
7ceb6d69ae
test: adjust test runner detection in AP code
2025-03-02 21:58:46 -05:00
Julian Lam
d948334713
fix : #13224 , handle note attributedTo when it is of type object
2025-03-02 21:35:54 -05:00
Julian Lam
e510e82633
test: new test file for feps
2025-02-28 14:46:12 -05:00
Julian Lam
6e872b5fe4
test: log outgoing AP messages for local test runner
2025-02-28 13:56:40 -05:00
Julian Lam
73aaa990fb
fix: allow actor assertion of loopback actors depending on ACP setting
2025-02-28 13:56:40 -05:00
Julian Lam
95f2c4edb5
feat: support remote "Video" type objects in note assertion, #13120
...
- handle array attributedTo (plus per-object actor assertion instead of batched)
- explicit "Video" type handling to automatically save URL as post attachment
- handle array url property
2025-02-26 13:55:39 -05:00
Julian Lam
bad0a4c2d2
chore: comment out testing helper call
2025-02-26 13:55:28 -05:00
Julian Lam
5c3f1cfe57
fix: tag handling when remote objects contain tags without leading # symbol
2025-02-26 13:36:06 -05:00
Julian Lam
c6ba56a517
test: update test to assert the note assertion itself
...
add failing test for Video handling
2025-02-26 13:06:37 -05:00
Julian Lam
c98f29aeb4
Merge branch 'master' into develop
2025-02-26 12:57:47 -05:00
Julian Lam
c65e1ebb8f
fix : #13202 , private note assertion failure when cc property is missing
2025-02-26 12:29:57 -05:00
Julian Lam
d91b80d293
fix: handle multiple types in remote actor payload
2025-02-25 13:33:44 -05:00
Julian Lam
6589565129
fix: handle multiple types in remote actor payload
2025-02-25 13:32:49 -05:00
Julian Lam
7dc1e8abad
feat: 1b12 compatibility
...
- only Announce activities, not the plain object
- Announce the plain object separately, but only for the main post Create
2025-02-20 15:07:45 -05:00
Julian Lam
e149c891b5
Merge branch 'master' into develop
2025-02-20 14:09:35 -05:00
Julian Lam
2ad48f1714
fix: relaxing strict allowedTags configuration for incoming AP content (allowing picture, source, and additional attributes for img)
...
re: #13185
2025-02-20 14:08:51 -05:00
Julian Lam
93f48409c5
fix : #13136 , do not log 404s for AP requests
2025-02-20 12:24:17 -05:00
Julian Lam
b8200095c0
fix : #13129 , serve category backgroundImage as actor icon, not image
...
+ tests for category actor
2025-02-20 11:38:47 -05:00
Barış Soner Uşaklı
3991898171
Merge branch 'master' into develop
2025-02-19 20:09:40 -05:00
Barış Soner Uşaklı
a410587ce1
fix: closes #13180 , don't execute cron jobs if ap disabled
2025-02-19 20:09:31 -05:00
Julian Lam
b6d9abd1ed
Merge branch 'master' into develop
2025-02-18 13:40:04 -05:00
Julian Lam
6245e33d6e
fix : #13179 , fix context resolution failure bug with frequency
2025-02-18 13:34:17 -05:00
Julian Lam
de6e63bbd7
fix: add back chronological sorting of asserted notes
2025-02-18 13:33:11 -05:00
Julian Lam
4bc0031f58
chore: add test helper to activitypub file
2025-02-18 13:07:11 -05:00
Barış Soner Uşaklı
9997189aea
feat: remove activities older than a week
2025-02-18 13:00:08 -05:00
Barış Soner Uşaklı
d9e86c7b07
feat: remove activities older than a week
2025-02-18 12:06:02 -05:00
Barış Soner Uşaklı
8c6bfa95e4
Merge branch 'master' into develop
2025-02-18 11:43:52 -05:00
Julian Lam
5e71d597a4
fix: notes.assertPrivate sanity checks
2025-02-18 10:12:26 -05:00
Julian Lam
dadefeb1ee
Merge branch 'master' into develop
2025-02-16 14:29:13 -05:00