Commit Graph

107 Commits

Author SHA1 Message Date
Julian Lam
0a2482cf51 fix: double-OP issue when remote reply comes in to local mainPid 2024-03-14 13:28:57 -04:00
Julian Lam
7aa56c727b fix: filter out system tags and prune extra tags beyond number allowed, when creating topic from remote data 2024-03-14 13:28:57 -04:00
Julian Lam
c5c0c47393 chore: lint 2024-03-13 11:45:28 -04:00
Julian Lam
c6624b6341 chore: remove now-unused notes.assert 2024-03-13 11:07:38 -04:00
Julian Lam
519e025e27 feat: return count of new notes in assertTopic 2024-03-13 11:03:08 -04:00
Julian Lam
f7c8967ee2 refactor: use topics.post, topics.reply, and posts.edit in Create(Note), Create(Note), and Update(Note), respectively 2024-03-12 14:24:38 -04:00
Julian Lam
52c143aa03 fix: template helper 2024-03-12 13:27:29 -04:00
Julian Lam
eb8ff75b63 fix: only dereference id if it doesn't exist locally — fewer calls 2024-03-12 11:33:40 -04:00
Julian Lam
81b81e540a fix: tags received via AP should only be of type Hashtag (as mentions are also in tag prop 2024-03-07 15:11:43 -05:00
Julian Lam
6671b51169 fix: truthy check in notes.assert 2024-03-05 14:52:52 -05:00
Julian Lam
e4c1ca1ede feat: mentions support 2024-03-05 14:26:33 -05:00
Julian Lam
f5a610797c refactor: use topics.create internal method instead of directly setting topic hash, handle incoming tags for OP 2024-02-29 11:19:56 -05:00
Julian Lam
1ca9994f43 fix: properly handle if mainPid is not a number 2024-02-29 00:06:59 -05:00
Julian Lam
b529610bba fix: mainPid detection in unprocessed ids in assertTopic 2024-02-28 21:50:43 -05:00
Julian Lam
bdcd862c1b refactor: assertTopic to only call setObject when it is a new topic 2024-02-28 13:29:21 -05:00
Julian Lam
0b6b86d132 fix: missing await, and handle local posts with no toPid (i.e. reply to OP) 2024-02-28 12:45:11 -05:00
Julian Lam
a3368a6904 fix: don't overwrite title if present, on assertTopic 2024-02-27 15:25:13 -05:00
Julian Lam
aadac7053a tests: fix privileges in test runner 2024-02-26 14:22:35 -05:00
Julian Lam
1bd8f9a1fa feat: fine-grained privileges integration for fediverse users and world pseudo-category 2024-02-26 11:39:32 -05:00
Julian Lam
92a8951bca fix: check origin only if object is a string 2024-02-21 14:05:54 -05:00
Julian Lam
ed4ccbfccc refactor: resolveId method, add hostname verification 2024-02-21 10:58:20 -05:00
Julian Lam
42a0924137 test: refactor AP tests 2024-02-21 10:26:26 -05:00
Julian Lam
3e02efcdb9 lint: unused requires, linting fixes 2024-02-20 14:26:21 -05:00
Julian Lam
53d1c10ec4 fix: regression re: attachment handling 2024-02-20 14:19:50 -05:00
Julian Lam
6a7f8f146f fix: assert actors on note assertion, resolve crash if announcing something that's already been announced 2024-02-20 11:57:50 -05:00
Julian Lam
0edaf17c6a fix: don't crash when no attachment, oops 2024-02-16 15:59:04 -05:00
Julian Lam
e5b6ee97bd feat: attachments support 2024-02-16 12:07:29 -05:00
Julian Lam
5c04e8051c fix: include mainPid in topic counts calculation 2024-02-14 11:38:31 -05:00
Julian Lam
76d5feb7d6 fix: better handling of missing of invalid to, cc, timestamp values 2024-02-13 12:03:16 -05:00
Julian Lam
814c479405 fix: remote announces not showing up in local inboxes 2024-02-12 16:23:21 -05:00
Julian Lam
9439987eda fix: handle inaccessible boosts 2024-02-12 15:25:49 -05:00
Julian Lam
672a907d54 fix: remove invalid/inaccessible object from parent traversal chain on get error 2024-02-12 15:05:18 -05:00
Julian Lam
609a9a37e5 fix: handle invalid score 2024-02-12 15:01:10 -05:00
Julian Lam
22da3a6a80 fix: mainPid accidental int 2024-02-12 14:59:13 -05:00
Julian Lam
69f1ace3e5 fix: getParentChain error handling 2024-02-12 14:54:13 -05:00
Julian Lam
d13980c8fb fix: take mainPid into account in syncUserInboxes 2024-02-12 14:51:21 -05:00
Julian Lam
de71b733f8 fix: typo 2024-02-12 14:41:22 -05:00
Julian Lam
8912863423 feat: save tids to individual user inboxes based on recipient list, new /world/all route 2024-02-12 14:34:37 -05:00
Julian Lam
12968b6291 fix: activitypub.get failure handling 2024-02-09 11:31:42 -05:00
Julian Lam
11dba85d0a fix: resolveLocalId to return null values instead of throwing for no resolution 2024-02-09 11:15:03 -05:00
Julian Lam
f1b8f3fe4f fix: assertTopic incorrectly creating new id if passed-in id did not match the actual object's id 2024-02-08 11:33:27 -05:00
Julian Lam
ec2b375ae9 refactor: use existing sets for topics (instead of topicRemote, etc.) 2024-02-07 12:28:16 -05:00
Julian Lam
35819cc953 refactor: activitypub sending to handle signed requests from categories 2024-02-05 16:57:17 -05:00
Julian Lam
f51bbe91e7 fix: clear post cache on Update(Note) 2024-01-24 14:35:21 -05:00
Julian Lam
2ff70fdde2 refactor: generate a topic id when asserting a new topic 2024-01-19 11:31:04 -05:00
Julian Lam
981b4f146d feat: native parsing of title for topics 2024-01-18 16:20:37 -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