Commit Graph

652 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
42ffec1250 test: add await to send
return promise from ap.send
2025-09-09 12:09:35 -04:00
Julian Lam
1d6a9fe738 feat: allow user auto-categorization rule 2025-09-08 15:36:48 -04:00
Julian Lam
10f665e3e3 Merge branch 'master' into develop 2025-09-08 12:00:49 -04:00
Julian Lam
527f27af29 fix: make auto-categorization logic case-insensitive 2025-09-08 12:00:32 -04:00
Julian Lam
15f9fbaa5c feat: add minor pre-processing step to better handle header elements in incoming html 2025-09-05 13:16:28 -04:00
Julian Lam
2ea624fc8e fix: use newline_boundaries param for tokenizer during title and summary generation, attempt to serve HTML in summary generation 2025-09-04 16:55:04 -04:00
Julian Lam
e6996846ac fix: use existing id if checkHeader returns false 2025-09-04 11:20:17 -04:00
Julian Lam
86d9016f02 fix: regression that caused Piefed (or potentially others) content to be dropped on receipt 2025-09-04 10:29:17 -04:00
Barış Soner Uşaklı
19aa8a7168 fix: display proper id if lock fails 2025-08-30 13:24:33 -04:00
Julian Lam
4ef605b1aa fix: #13622, WordPress blog URLs not asserting properly 2025-08-29 13:33:19 -04:00
Julian Lam
35641f377c feat: use sbd to more intelligently put together a sub-500 character summary based on existing sentences in post content
The original behaviour was to just shove the entire post content (html and all) into summary. Summary _can_ include HTML, but it's a little harder to retain HTML but truncate the content based on sentences, without accidentally dropping tags.
2025-08-28 14:27:46 -04:00
Julian Lam
8268632235 feat: add sbd dependency to improve title generation (and for summary generation, later) 2025-08-28 14:12:04 -04:00
Julian Lam
a0be4a28da fix: remove webfinger error log 2025-08-28 12:45:56 -04:00
Barış Soner Uşaklı
b73ee309e0 refactor: remove invalid queued items
catch invalid json in payload
2025-08-28 12:39:44 -04:00
Julian Lam
771b8dcb2d fix: random hotkeys adding dependencies to my project smh 2025-08-27 15:08:51 -04:00
Julian Lam
aa26dfb372 feat: send local posts out to established relays 2025-08-27 14:16:42 -04:00
Julian Lam
6576468e2e fix: internationalize relay states 2025-08-27 14:16:42 -04:00
Julian Lam
28b63891d4 fix: minor fixes for yukimochi/Activity-Relay compatibility 2025-08-27 14:16:42 -04:00
Julian Lam
b1dbb19c10 fix: inbox.announce to not reject activities from relays 2025-08-27 14:16:42 -04:00
Julian Lam
f4d1df7c66 feat: relay handshake logic, handle Follow/Accept, send back Accept. 2025-08-27 14:16:42 -04:00
Julian Lam
4967492f4f fix: handle webfinger responses with subject missing scheme 2025-08-27 14:16:42 -04:00
Julian Lam
1e0fb20db4 feat: adding and removing relays from AP settings page in ACP 2025-08-27 14:16:42 -04:00
Barış Soner Uşaklı
be53dbcbb8 remove logs 2025-08-27 13:30:29 -04:00
Barış Soner Uşaklı
4ad7b59281 Update notes.js 2025-08-27 13:28:26 -04:00
Barış Soner Uşaklı
5dab17450f Revert "test: more logs for failing test"
This reverts commit 79c6e72ce6.
2025-08-27 13:27:36 -04:00
Barış Soner Uşaklı
8f7411c3aa test: add timeout to ap.helpers.query 2025-08-27 13:08:19 -04:00
Barış Soner Uşaklı
8e160fe05e test: more logs 2025-08-27 12:49:42 -04:00
Barış Soner Uşaklı
f703a94b31 test: add more logs 2025-08-27 12:34:24 -04:00
Barış Soner Uşaklı
681ce8bf2f test: add more logs 2025-08-27 12:23:10 -04:00
Barış Soner Uşaklı
029da6c52e test: debug timeout 2025-08-27 12:10:30 -04:00
Barış Soner Uşaklı
79c6e72ce6 test: more logs for failing test 2025-08-27 11:29:43 -04:00
Barış Soner Uşaklı
027d6f307c fix: closes #13620 2025-08-27 00:06:32 -04:00
Barış Soner Uşaklı
5ee1fd02bb refactor: add missing awaits
fix error message, lock not using second param
2025-08-26 19:23:39 -04:00
Julian Lam
165af50dc8 feat: apply auto-categorization logic 2025-08-25 11:47:05 -04:00
Julian Lam
70d7e32929 fix: remove special-case logic that added a requested object to a topic if its defined context didn't actually contain it 2025-08-25 10:11:09 -04:00
Julian Lam
057e3b790b fix: add missing files 2025-08-19 19:55:05 -04:00
Julian Lam
bdcf28a3d9 feat: ability to add/remove auto-categorization rules for incoming federated content 2025-08-18 16:08:32 -04:00
Barış Soner Uşaklı
c8e3dc6b0b Merge branch 'master' into develop 2025-08-08 13:33:28 -04:00
Julian Lam
b4ff79061f fix: image handling when image url received is not a path with an extension 2025-08-06 13:50:17 -04:00
Barış Soner Uşaklı
c6889f0864 fix: readd retry items 2025-08-03 06:43:31 -04:00
Barış Soner Uşaklı
a8bf4ea069 fix: ap queue id to use payload.type payload.id 2025-08-01 11:59:59 -04:00
Barış Soner Uşaklı
d5f6d158f4 refactor: if user.delete fails in actor prune
remove from ap sets/keys
2025-08-01 11:50:13 -04:00
Barış Uşaklı
b3a4a128cd refactor: move ap retry queue from lru cache to db (#13568)
* refactor: move ap retry queue from lru cache to db

get rid of the setTimeouts that were running for 2months
retries will survive server restarts

* refactor: reduce exp. backoff
2025-07-30 09:32:58 -04:00
Barış Soner Uşaklı
5f696176b4 fix: clearTimeout if item is evicted from cache 2025-07-27 10:38:09 -04:00
Barış Soner Uşaklı
0997fbfa4d fix: clearTimeout if item is evicted from cache 2025-07-27 10:35:17 -04:00
Barış Soner Uşaklı
65364bfa0f fix: sometimes summary is null/undefined
fixes
TypeError: Cannot read properties of null (reading 'replace')
    at /home/saas/nodebb/src/activitypub/mocks.js:202:24
2025-07-24 23:54:38 -04:00
Barış Soner Uşaklı
de71cc6310 refactor: log uid that failed 2025-07-22 16:35:55 -04:00
Barış Soner Uşaklı
272008bb51 refactor: add missing cache name 2025-07-16 20:23:57 -04:00
Barış Soner Uşaklı
0fdde13208 refactor: another missing cache name 2025-07-16 18:10:21 -04:00
Barış Soner Uşaklı
a08551a5e1 refactor: add names to caches, add max to request cache 2025-07-16 17:42:23 -04:00