Commit Graph

13271 Commits

Author SHA1 Message Date
Julian Lam
ddf17ee5fb fix: parseInt on timestamp from post 2024-01-25 16:33:31 -05:00
Julian Lam
6b517252b9 feat: activitypub response to note retrieval via pid 2024-01-25 16:27:56 -05:00
Julian Lam
0b3ca8e366 fix: /uid/:uid route to return actor 2024-01-25 16:00:46 -05:00
Julian Lam
5de4f08412 refactor: added mocks.note in preparation for AP note retrieval logic, inReplyTo is always populated now, unless new topic 2024-01-25 15:38:01 -05:00
Julian Lam
e07c31316e fix: the id of an actor should be its immutable uri (/uid/:uid) and not userslug 2024-01-25 14:23:59 -05:00
Julian Lam
3c24cfb4a9 fix: unused require, tests 2024-01-25 11:06:30 -05:00
Julian Lam
0af97dd444 fix: send full as:Image object for icon and image in mocked actor object 2024-01-24 22:59:09 -05:00
Julian Lam
8453b83e9e feat: added mocks.actor and Update(Person) activity on profile update 2024-01-24 20:10:22 -05:00
Julian Lam
f51bbe91e7 fix: clear post cache on Update(Note) 2024-01-24 14:35:21 -05:00
Julian Lam
1ee03f2b83 fix: webfinger loopback 2024-01-24 14:14:24 -05:00
Julian Lam
e00a03bb9c fix: revert home page routing change and moved instance actor endpoint to 2024-01-24 14:09:40 -05:00
Julian Lam
911177ceda chore: removed unused requires 2024-01-24 14:01:40 -05:00
Julian Lam
0e016c6ecd feat: Create(Note) on new topic or reply
This is a naive WIP implementation that federates everything out publicly. It does not take category privileges into account!
2024-01-24 11:44:10 -05:00
Julian Lam
c9feb92539 refactor: simplify remote (un)follow controller 2024-01-23 12:11:35 -05:00
Julian Lam
3bdaa8a836 fix: restore avatars in topic list 2024-01-23 11:49:57 -05:00
Julian Lam
da0211b1a0 feat: proper webfinger response for instance actor 2024-01-23 11:22:18 -05:00
Julian Lam
f8cfe64c7e fix: send preferredUsername in application actor response 2024-01-23 10:31:52 -05:00
Julian Lam
4cc7ee6501 fix: note assertion on Create(Note) and Update(Note) to use instance key instead of uid 1's user key 2024-01-23 10:31:13 -05:00
Opliko
2ce14f5019 refactor: guard dispatcher definition so non-Node runtimes won't have issues 2024-01-22 18:05:27 -05:00
Opliko
2cb370882b fix: add workaround for nodejs/undici#1305 required to remove sec-fetch-mode header 2024-01-22 18:05:27 -05:00
Julian Lam
9885f94a2b feat: application actor + public key for uid 0 signs, moved homepage route to after core routes are generated 2024-01-22 16:18:49 -05:00
Julian Lam
403bf3e1a8 chore: remove debug log 2024-01-22 14:46:38 -05:00
Julian Lam
9e58b04c4e fix: response, not res 2024-01-22 14:06:39 -05:00
Julian Lam
47b3ffb9b1 lint: fix eslint errors 2024-01-22 13:51:06 -05:00
Julian Lam
76c6e30282 Merge remote-tracking branch 'origin/develop' into activitypub 2024-01-22 13:50:08 -05:00
Julian Lam
a3e1a666b8 fix: automatically reject unsigned POSTs to inbox 2024-01-19 11:43:21 -05:00
Julian Lam
2ff70fdde2 refactor: generate a topic id when asserting a new topic 2024-01-19 11:31:04 -05:00
Barış Soner Uşaklı
963161fcac Merge branch 'master' into develop 2024-01-18 18:05:47 -05:00
Barış Soner Uşaklı
4427ca4cab add itemprop="comment" 2024-01-18 18:05:38 -05:00
Barış Soner Uşaklı
7a785a811e add itemprop="comment" 2024-01-18 17:58:41 -05:00
Barış Soner Uşaklı
2b1fdc56a1 feat: limit post/user flags per day closes #12274 2024-01-18 17:07:52 -05:00
Julian Lam
981b4f146d feat: native parsing of title for topics 2024-01-18 16:20:37 -05:00
Julian Lam
33f3da8a64 fix: handle case where pubKey cannot be found 2024-01-18 15:21:46 -05:00
Julian Lam
518169fe65 fix: user data in /world 2024-01-18 12:19:37 -05:00
Julian Lam
538776f9c7 refactor: move activitypub-related middlewares to their own file 2024-01-18 11:50:14 -05:00
Julian Lam
d500ebb181 fix: bookmark in topic data is nullable now
This prevents the superfluous "/1" being appended to all topics you've never been into.

This looks to be a change in the public API but the documented API lists this property as nullable already, so it looks like this commit is actually *restoring* proper behaviour.
2024-01-17 23:14:31 -05:00
Julian Lam
04423232c6 feat: beginnings of the /world route 2024-01-17 23:14:12 -05:00
Julian Lam
970a5a6e5f fix: bookmark in topic data is nullable now
This prevents the superfluous "/1" being appended to all topics you've never been into.

This looks to be a change in the public API but the documented API lists this property as nullable already, so it looks like this commit is actually *restoring* proper behaviour.
2024-01-17 23:13:19 -05:00
Julian Lam
60bc27ec69 fix: saving teaserPid, timestamp, lastposttime in topic, fixed post index issue in loading topics 2024-01-17 12:15:58 -05:00
Julian Lam
e038eb0509 fix: preserve cid if set 2024-01-17 11:54:20 -05:00
Julian Lam
9c15b02aa6 chore: update log verbiage 2024-01-17 11:47:57 -05:00
Julian Lam
ac672f08a7 feat: handle Update(note) 2024-01-16 13:55:58 -05:00
Julian Lam
641a94d64a chore: additional logging 2024-01-16 12:04:26 -05:00
Julian Lam
f74775365a feat: handle Create(note) 2024-01-16 12:00:50 -05:00
Julian Lam
7565485204 fix: incorrect author uid saved in topic 2024-01-16 12:00:40 -05:00
Julian Lam
8cd3ff1ab4 fix: infinite scroll for posts 2024-01-16 11:42:59 -05:00
Julian Lam
5ac0276530 fix: reply expansion 2024-01-16 11:20:54 -05:00
Julian Lam
28c3dcb626 Merge remote-tracking branch 'origin/develop' into activitypub 2024-01-16 10:45:26 -05:00
Julian Lam
2981f663ce fix: issues related to adding new reply chains to an existing topic, resolveId method in notes module 2024-01-16 10:44:47 -05:00
Barış Soner Uşaklı
76f3efff8f fix: validate plugin id in toggleActive 2024-01-16 10:13:50 -05:00