Commit Graph

13997 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
8971bba53d Merge branch 'develop' into activitypub 2024-07-25 11:26:29 -04:00
Barış Soner Uşaklı
fe1736310e Merge branch 'master' into develop 2024-07-25 11:26:03 -04:00
Barış Soner Uşaklı
cea18d0c1e refactor: hooks page design 2024-07-25 11:25:53 -04:00
Julian Lam
399d41030f fix: add privilege check to user follows 2024-07-24 11:59:50 -04:00
Julian Lam
7bf349b62b fix: accidental passing of string instead of constant 2024-07-24 11:54:41 -04:00
Julian Lam
fc5a829c0c fix: lint 2024-07-19 15:15:04 -04:00
Julian Lam
b9f37c5c32 fix: update upgrade script date 2024-07-19 14:57:56 -04:00
Julian Lam
be393d571c fix: include follower sets for reassertion 2024-07-19 14:48:51 -04:00
Julian Lam
39f92eac16 refactor: store local follow backreferences for remote users (both followers and following), update actor pruning to take local follow counts into consideration, fixes #12701 2024-07-19 14:37:32 -04:00
Julian Lam
a884681abf feat: show local users who follow (or are followed) by a remote user, on a remote user's profile 2024-07-19 14:36:17 -04:00
Barış Soner Uşaklı
42ac1f9db4 refactor: closes #12699, allow boolean false for log-colorize 2024-07-19 11:18:20 -04:00
Julian Lam
5c9ac5d330 fix: missing await 2024-07-19 11:13:30 -04:00
Julian Lam
f9937a84c4 feat: additional logic to handle special case where a queried object id reports a context, but it is not actually contained in the resolved context's collection 2024-07-19 11:06:19 -04:00
Julian Lam
2aa0483718 fix: null check for note attachments for thumbs view 2024-07-19 10:51:41 -04:00
Julian Lam
60408f2307 fix: incorrect parsing of context items during note assertion, logic error with slicing 2024-07-19 10:50:14 -04:00
Julian Lam
bc00835c26 fix: logging in topic actor logic 2024-07-19 10:49:43 -04:00
Julian Lam
609035b587 fix: issue with topic actors not returning proper json 2024-07-19 09:38:30 -04:00
Barış Soner Uşaklı
4c511d2f62 Merge branch 'master' into develop 2024-07-18 18:03:17 -04:00
Barış Soner Uşaklı
bf27e38003 send the location of widget to render hooks 2024-07-18 18:00:12 -04:00
Barış Soner Uşaklı
269fc06835 feat: add downvoteVisibility setting, closes #12698 2024-07-17 17:43:31 -04:00
Julian Lam
ff0c289e1d feat: #12695 Topic Synchronization via resolvable context
- Generation of a context collection digest via object ids
- Sending of said digest in ETag header
- Parsing of digests via If-None-Match header
- Update note assertion logic to handle 304 response
2024-07-16 11:37:38 -04:00
Julian Lam
da25fd21ea feat: activitypub.get; allow the passing-in of custom headers via existing options parameter 2024-07-16 11:36:39 -04:00
Barış Soner Uşaklı
26765fe9aa lint: remove unused function 2024-07-15 12:05:55 -04:00
Barış Soner Uşaklı
2a8f7ccd1c Merge branch 'develop' into activitypub 2024-07-15 11:54:31 -04:00
Barış Soner Uşaklı
b7829d7d09 Merge branch 'master' into develop 2024-07-15 11:54:21 -04:00
Julian Lam
cfbaf145f4 fix: off by one error @barisusakli 2024-07-12 14:45:00 -04:00
Julian Lam
f6f01ba345 perf: ~18x speedup of /world route
- upgrade script to remove pruned tids that did not get removed from inbox
- switch from db intersect to manual intersection of subset.
2024-07-12 14:38:46 -04:00
Julian Lam
c01f154937 breaking: core html stripping on plaintext, remove 'filter:teasers.configureStripTags' hook, remove html stripping from teaser generation
These two steps were removed because a `type` property is passed to `filter:post.parse` now, and thus plugins themselves can handle independently.

Core also now strips all html when `type` is plaintext, so plugins don't have to (or if they still pass html back).
2024-07-12 12:30:37 -04:00
Julian Lam
7bdf376971 fix: map to actual mainPid value 2024-07-12 10:58:37 -04:00
Barış Soner Uşaklı
530241e0f2 lint: remove unused 2024-07-11 22:27:41 -04:00
Barış Soner Uşaklı
9b8c834ef0 perf: get rid of exists call, load all attachments in one call 2024-07-11 22:24:32 -04:00
Julian Lam
2aeabce566 feat: add post attachments to topic thumbnails 2024-07-11 17:11:33 -04:00
Julian Lam
9219199591 fix: skip topic retrieval when cid is -1, as it is done again later 2024-07-11 15:27:26 -04:00
Julian Lam
31c7226e34 fix: flawed logic in generating topic context collection 2024-07-11 14:33:07 -04:00
Julian Lam
ad05f06b00 test: have actor assertion always use cache for tests 2024-07-11 13:16:53 -04:00
Julian Lam
a81ef60930 feat: icon replacing user status for remote users, denoting that they are from outside the local instance, #12688 2024-07-11 13:16:47 -04:00
Julian Lam
fdc0d670d7 fix: catch thrown errors in src/api/activitypub 2024-07-10 10:15:31 -04:00
Julian Lam
00a266790d fix: federating category mentions 2024-07-09 15:42:08 -04:00
Julian Lam
f605e188db fix: send html in category description 2024-07-09 15:13:12 -04:00
Julian Lam
485b775837 feat: allow activitypub request cache to be ignored 2024-07-09 14:45:04 -04:00
Julian Lam
5e343a83f8 fix: Update activity handling for non-Person actors 2024-07-09 14:30:03 -04:00
Julian Lam
bacbfba9bd fix: remove await from category update federation call 2024-07-09 14:24:55 -04:00
Julian Lam
3c9337b730 feat: send join date in local actor mock 2024-07-09 14:06:59 -04:00
Julian Lam
e84cfd8c07 fix: issue where incrementing user hash fields didn't use the right key name for remote announce @barisusakli 2024-07-09 14:01:57 -04:00
SinisterSpatula
548e5b4545 Update crop_picture.tpl (#12676)
Fixes an issue where clicking flip vertical the first time has no effect on the image.
2024-07-06 22:38:36 -04:00
Julian Lam
b0eec67d78 fix: lint 2024-07-05 15:58:47 -04:00
Julian Lam
af6ae6ee8a fix: send back empty array if no direct replies, bug with reply generation 2024-07-05 15:50:14 -04:00
Julian Lam
26a7c51a9a feat: AP note replies collection, closes #12675 2024-07-05 15:33:06 -04:00
Julian Lam
352857cfb6 refactor: collection logic out to an activitypub helper 2024-07-05 15:14:35 -04:00
Julian Lam
8e1fccf014 fix: accidental passing-in of an array into getUserField, breaks in pgsql? 2024-07-05 14:19:15 -04:00