Julian Lam
d122bf4a98
fix: update logic as to whether a post is served as an article or not
...
Now, if OP is less than 500 characters, it is just federated out as a Note instead.
2025-09-19 12:43:13 -04:00
Julian Lam
be9212b59f
fix: update activitypubFilterList logic so that it is also checked on resolveInbox and ActivityPub.get methods, updated instances.isAllowed to no longer return a promise
2025-09-19 10:56:35 -04:00
Julian Lam
559155da63
refactor: notes.assert to add finally block, update assertPayload to update instances:lastSeen via method instead of direct db call
2025-09-19 10:34:57 -04:00
Julian Lam
36346dd822
Merge branch 'master' into develop
2025-09-15 14:10:07 -04:00
Julian Lam
b66c30a2a7
fix: handle cases where incoming ap object tag can be a non-array
2025-09-15 14:10:02 -04:00
Julian Lam
5f4790a48c
feat: allow activities to be addressed to as:Public or Public to be treated as public content
2025-09-15 14:01:00 -04:00
Barış Soner Uşaklı
f9688b36b6
fix: port the try/catch for notes.assert from develop
2025-09-11 17:44:34 -04:00
Barış Soner Uşaklı
9184a7a4cc
fix: add missing unlock in nested try/catch
2025-09-11 17:28:56 -04:00
Julian Lam
95fb084ca4
fix: wrap majority of note assertion logic in try..catch to handle exceptions so that the lock is always released
2025-09-11 10:30:25 -04:00
Julian Lam
f7d10e09ac
Merge branch 'master' into develop
2025-09-10 15:07:13 -04:00
Julian Lam
953c051c2e
fix: perform Link header check on note assertion only when skipChecks is falsy
2025-09-10 14:59:13 -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