Commit Graph

14072 Commits

Author SHA1 Message Date
Julian Lam
71ce308936 fix: carry out mime-type guessing on incoming attachments 2024-09-17 14:18:16 -04:00
Julian Lam
d0ac5ff99f Reapply "fix: change setImmediate to a 5s timeout to give plugins (or anything waiting for the return value of the API call) a chance to finish execution"
This reverts commit 8003946feb.
2024-09-17 11:58:46 -04:00
Julian Lam
b04a11055f fix: re-use already parsed html in api.posts.edit's call to getPostSummaryByPids, delay federating out edit activity for 5s to give link preview a chance to resolve 2024-09-17 11:58:42 -04:00
Julian Lam
047d5992dc fix: id on 1b12 announces 2024-09-17 10:46:05 -04:00
Barış Soner Uşaklı
1fe8ac191d change follow notif path 2024-09-16 19:42:27 -04:00
Julian Lam
3c55d1024d fix: better handling for remote posts that do not contain content 2024-09-16 15:46:12 -04:00
Julian Lam
1a0a2cd17b fix: #12799 add externally linked images to attachment 2024-09-16 15:07:37 -04:00
Julian Lam
d6bab25317 feat: notification rescind support 2024-09-12 22:14:24 -04:00
Barış Soner Uşaklı
42edde63ca Merge branch 'develop' into activitypub 2024-09-12 14:06:45 -04:00
Barış Soner Uşaklı
106291fad4 chores: up themes fix btn-ghost-sm 2024-09-12 14:04:40 -04:00
Barış Soner Uşaklı
ad565a98ea Merge branch 'develop' into activitypub 2024-09-12 10:32:40 -04:00
Barış Soner Uşaklı
ecfdb3e0fa move common dropdown tpls to core
move btn link hover/active css to core from harmony
2024-09-12 10:25:01 -04:00
Barış Soner Uşaklı
c2600b124f fix: closes #12787, filter null topics 2024-09-11 14:26:16 -04:00
Barış Soner Uşaklı
c58e09f91e refactor: fix btn-ghost usage to match bootstrap
remove btn-ghost-sm and replace with btn btn-ghost btn-sm
2024-09-11 14:04:19 -04:00
Barış Soner Uşaklı
ea3ffdacd9 move login/register to core 2024-09-10 13:09:48 -04:00
Julian Lam
d42d3b1c39 fix: crash when AP S2S call made to retrieve a remote user account (not allowed); now returning 404 2024-09-10 11:37:56 -04:00
Barış Soner Uşaklı
705796f628 feat: add action:topics.scheduled.notify
add missing notify calls into scheduled topics
2024-09-10 09:38:05 -04:00
Barış Soner Uşaklı
a80e314169 fix: prevent crash if items is undefined 2024-09-09 14:04:11 -04:00
Barış Soner Uşaklı
6010b72d71 Merge branch 'develop' into activitypub 2024-09-09 14:03:25 -04:00
Barış Soner Uşaklı
1c2afcc139 feat: add a new widget container
{title}
----
{body}
2024-09-09 13:15:14 -04:00
Barış Soner Uşaklı
1e616da52b Merge branch 'master' into develop 2024-09-07 22:51:19 -04:00
Barış Soner Uşaklı
220af7068a fix: closes #12780, 404 in api/v3 if topic doesn't exist 2024-09-07 21:31:08 -04:00
Julian Lam
652d6c6e2b fix: regression that caused replies to not get federated 2024-09-06 22:04:20 -04:00
Julian Lam
045e16d3ce fix: #12760, add proper security context for application actor 2024-09-06 16:27:12 -04:00
Julian Lam
909437c306 fix: on topic move out of cid -1, also federate to the public address 2024-09-06 14:35:57 -04:00
Julian Lam
0f63f67b77 fix: type casting in user block logic 2024-09-05 12:41:25 -04:00
Julian Lam
9357e71898 refactor: standardization; onNewPost internal method to return a superset of post summary
... so as to not require an additional call in internal topics API to call post summary again for a standardized response
2024-09-05 11:42:05 -04:00
Julian Lam
b63440cb14 feat: extend activitypubApi.create.note to accept a post object to reduce unnecessary calls to retrieve post summary 2024-09-05 11:05:30 -04:00
Julian Lam
16c8a6523a feat: add new escape option to getPostSummaryByPids [breaking]
Changes logic so that the new `escape` option escapes HTML,
whereas the old behaviour had `parse: false` escape HTML.

Now, when `parse` is `false`, the content is unchanged.

Defaults are `{ parse: true, escape: false, stripTags: false }`
2024-09-05 10:42:08 -04:00
Julian Lam
ba2c3fcef4 Merge remote-tracking branch 'origin/develop' into activitypub 2024-09-04 14:38:50 -04:00
Barış Soner Uşaklı
46950e287d Merge branch 'master' into develop 2024-09-04 11:31:50 -04:00
Barış Soner Uşaklı
c0b30ea4ef fix: closes #12758, show different error message for block 2024-08-27 10:23:21 -04:00
Barış Soner Uşaklı
5fa8ddbcf9 test: fix spec 2024-08-26 14:52:30 -04:00
Barış Soner Uşaklı
01a2f0e730 feat: show a friendly message on invalid or expired code, closes #12738 2024-08-26 14:47:43 -04:00
Barış Soner Uşaklı
20053af684 fix: reset form/invalid code style 2024-08-26 13:46:12 -04:00
Barış Soner Uşaklı
f361df0193 fix: #12754, throw if currentPwd == newPwd 2024-08-23 09:52:00 -04:00
Julian Lam
f3eb6d500e fix: restrict announce activity to topic moving OUT of cid -1 2024-08-22 15:19:24 -04:00
Julian Lam
e3bfcb0230 Merge branch 'develop' into activitypub 2024-08-22 15:06:53 -04:00
Julian Lam
ad68809bb4 fix: #12736, merged notifications use username instead of displayname 2024-08-22 15:05:44 -04:00
Julian Lam
daa665ebc0 feat: moving a topic out of cid -1 federates an Announce activity, #12734 2024-08-22 14:45:17 -04:00
Julian Lam
76551c7123 fix: #12751, topics:recent zset not updated when tid moved in/out of cid -1 2024-08-22 11:17:27 -04:00
Barış Soner Uşaklı
df6062d8be Merge branch 'develop' into activitypub 2024-08-21 12:57:10 -04:00
Barış Soner Uşaklı
335873589b test: add logs for test failures 2024-08-16 14:39:24 -04:00
Barış Soner Uşaklı
feefd73313 refactor: remove unused 2024-08-16 14:29:34 -04:00
Barış Soner Uşaklı
96175bcbd6 Merge branch 'master' into develop 2024-08-16 14:28:11 -04:00
Barış Soner Uşaklı
f80b7b87fb feat: allow chat rooms in widgets 2024-08-16 14:21:33 -04:00
Julian Lam
2d14a79854 feat: migrate topic move socket call to api v3 2024-08-15 13:28:57 -04:00
Julian Lam
25bf97ae28 fix: #12732 editing of remote post content
title can now be edited, post content is not-editable.
2024-08-13 15:12:57 -04:00
Julian Lam
3474712228 fix: #12733, html present in generated title for remote topics 2024-08-13 14:50:08 -04:00
Julian Lam
f481cde1a8 fix: #12729, replies to existing topics from Pixelfed not asserting properly due to incorrect toPid
Pixelfed supplies an object _url_ instead of the expected _id_ in the `inReplyTo` field, and that tripped up NodeBB because we don't store a backreference for those.

The ideal solution here would be to set up a backreference for urls to pids, but in the meantime, this shortcut will function (it assumes that the object that it is in reply to is in the chain/context).
2024-08-13 11:12:48 -04:00