Commit Graph

14050 Commits

Author SHA1 Message Date
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
Julian Lam
95e6d2b43c fix: move topic reply call in notes.assert to its own line 2024-08-13 10:52:27 -04:00
Julian Lam
53aee40149 fix: #12510, blocking of a single remote user causes content from all remote users to be blocked 2024-08-12 14:50:55 -04:00
Barış Soner Uşaklı
5eaba4935c Merge branch 'master' into develop 2024-08-12 10:30:12 -04:00
Barış Soner Uşaklı
c3f02b74cc feat: add allow and frameborder to allow attrs 2024-08-12 10:30:01 -04:00
Barış Soner Uşaklı
167b7d0ce1 Merge branch 'master' into develop 2024-08-09 15:33:38 -04:00
Barış Soner Uşaklı
334c8c9d31 feat: add missing event type 2024-08-09 15:25:49 -04:00
Barış Soner Uşaklı
6e1c643607 fix: closes #12721, export all users 2024-08-09 12:48:17 -04:00
Julian Lam
bd11d86b17 Merge branch 'develop' into activitypub 2024-08-07 14:19:00 -04:00
Julian Lam
e630f006ab fix: crash if error objecft passed to handleErrors contains no message 2024-08-07 14:18:44 -04:00
Julian Lam
cbe0a0ad5c fix: serve category actor image instead of nothing, serve brand logo in icon 2024-08-06 15:06:01 -04:00
Barış Soner Uşaklı
503a97e520 fix: don't allow joining topic_<tid> & category_<cid>
socket.io rooms if you don't have relevant privileges
2024-08-02 16:09:35 -04:00
Julian Lam
d33fb92d9d fix: lint 2024-08-02 15:47:27 -04:00
Julian Lam
9353638668 fix: have note federation call .parsePost instead of firing plugin hook 2024-08-02 15:47:03 -04:00
Julian Lam
709a02d97a feat: allow use of vanity domains pointing to an account hosted elsewhere 2024-08-02 11:47:23 -04:00
Barış Soner Uşaklı
ac644ac286 refactor: #12713, update chat teasers even if chat notifications are disabled 2024-08-02 10:06:28 -04:00
Julian Lam
ff08fbb73f fix: always send replies uri instead of null if no replies exist, @trwnh 2024-08-01 14:59:28 -04:00
Julian Lam
9bd6896d13 fix: send null instead of empty array in replies property if mocked note has no replies
re: mastodon/mastodon#31230
2024-08-01 11:35:38 -04:00
Barış Soner Uşaklı
a73f269fce test: test fix maybe 2024-07-31 15:31:11 -04:00
Barış Soner Uşaklı
0204f2aafa feat: update chat teasers when a new chat starts, closes #12713 2024-07-31 15:20:51 -04:00
Julian Lam
e015339ccf refactor: follow/accept/undo logic to pass the same timestamp throughout the follow's lifetime 2024-07-30 14:05:59 -04:00
Julian Lam
2ced350250 fix: bug that caused remote replies to other remote content to not always assert 2024-07-29 16:03:58 -04:00
Julian Lam
1f896fb6ba fix: bugs in user searching causing remote lookups to fail 2024-07-29 15:03:51 -04:00