Commit graph

1151 commits

Author SHA1 Message Date
5e7b2354e2
feat(web): better layout for lemmy posts
image on the side that expands on click, text that "reflows" under the
image, attachments don't overflow etc. also mentions. also refactored a
bit. since i refactored its hard to split these 3 changes so have one
big commit aha
2024-07-04 02:14:50 +02:00
b53bd5527f
fix(mdhtml): don't add rel and target in mentions 2024-07-04 02:12:52 +02:00
9f81116ba3
fix: don't normalize html by default
it breaks remote posts a little and frontend sanitizes again anyway so
might as well store the original stuff they serve us? could be malicious
tho, if FE doesn't sanitize again could lead to stored XSS, maybe
reconsider?
2024-07-04 01:51:15 +02:00
0f97d7656a
fix(mdhtml): dont strip class=u-url mention 2024-07-04 01:47:54 +02:00
905564ce15
fix(web): variable width pretty uris
and jank fix for lemmy inline posts, ughh
2024-07-03 07:30:29 +02:00
6c88dec148
fix(web): uri pretty len check mismatch 2024-07-03 06:34:29 +02:00
9c2cbf2303
fix(web): text/html is same as link 2024-07-03 06:31:02 +02:00
b23a85aca2
fix(web): tell that user may need to be approved 2024-07-03 06:07:54 +02:00
9c47a15ca6
feat(web): allow hiding deletes (default on) 2024-07-03 06:02:39 +02:00
09325c91de
feat(web): improved Document object view
doesn't work retroactively but new lemmy posts should look more like
lemmy posts
2024-07-03 05:58:29 +02:00
1bd93d7c2b
fix: ughhh faker... 2024-07-03 05:29:52 +02:00
024679a0a9
feat: add dedicated image field to objects
so we don't need anymore to convert lemmy post images to attachments
2024-07-03 05:08:41 +02:00
6907560aaa
fix(web): nicer lemmy posts 2024-07-03 04:59:28 +02:00
b6f4539424
fix(web): follows/followers from newer to older 2024-07-03 04:32:29 +02:00
04ad3c84c2
feat(web): group badges lead to local view 2024-07-03 04:24:40 +02:00
32929f0909
fix: include audience in outbox
this allows lemmy groups to work in current upub frontend without
changes, and it kind of makes sense as group broadcast everything they
do. however just doing it like this is unsafe: anyone could send me
stuff with audience "my_id" and have it be on my outbox, broadcasted by
me
2024-07-03 04:19:11 +02:00
1605557329
chore(web): unified caches under trait 2024-07-03 04:05:49 +02:00
64ab2c3bb9
feat: add index on audience for faster groups 2024-07-03 03:26:40 +02:00
d6e47f1acb
fix(web): root redirect to /global 2024-07-03 03:22:00 +02:00
29d783ffd5
chore(web): moved caches under cache:: scope 2024-07-03 03:21:11 +02:00
e707bf7344
feat: allow paginating content by actor audience
basically to browse lemmy communities
2024-07-03 01:58:02 +02:00
45da3a1684
fix: filter_objects() -> filter() 2024-07-02 19:33:00 +02:00
781619a899
chore: removed filter_objects 2024-07-02 01:55:37 +02:00
056be56843
feat: logged in users can see their full outbox 2024-07-02 01:51:58 +02:00
a4df9f2fc0
fix: webfinger accepts full ids
thanks ari for helping me debug this! <3
2024-06-29 19:28:17 +02:00
3fbff70933
fix: temporary extra debug to fix iceshrimp 2024-06-29 16:50:31 +02:00
a614f7c35b
fix(web): don't show activities in threads 2024-06-29 04:32:55 +02:00
9f6acebb85
fix(web): oops now default route is /web/global 2024-06-29 04:30:07 +02:00
19ae80f874
feat: add user approval after registration
basically credentials are disabled until approved by admin
2024-06-28 06:06:33 +02:00
1ee7eb1498
feat: add indexes on followers/following fields
will use them for proper address expansion soon™️
2024-06-28 05:11:41 +02:00
8b5e6d805d
fix(web): prevent overflow on long links from lemmy 2024-06-28 04:11:45 +02:00
157c97694e
feat(web): we're back to activity timelines babyyyy 2024-06-28 04:11:39 +02:00
37a812f3c6
fix: actor outbox should include viewed posts 2024-06-28 03:03:49 +02:00
54e6b517e2
fix: merge Create addressing
basically bring Addresser out of Normalizer again and address manually
everywhere so that in Create we can join the row. in the future we may
be able to resolve contexts more wisely and thus be able to insert
merged rows for likes and announces too, but for now this should be
quite enough
2024-06-28 02:50:46 +02:00
75fce425ad
fix: consider both to and cc for activities 2024-06-28 01:28:46 +02:00
ddb1ee7319
fix: wrap all bare objects, with getter to skip 2024-06-28 01:27:21 +02:00
bb79ca7728
feat: added notifications collections 2024-06-28 01:06:31 +02:00
727e977c4e
feat: removed object timelines
it's back to original concept babyyyy activities all the way down
2024-06-28 00:12:03 +02:00
3698d1947d
fix: remove addressing ad-hoc cases 2024-06-26 05:30:19 +02:00
9e555e1b32
feat: generate notifications 2024-06-26 05:30:09 +02:00
2a719f14fb
fix!: oops add index on notifications activity 2024-06-26 05:29:42 +02:00
f3f176406e
feat!: store mentions as internal ids
this completely breaks all current mentions (unless you want to cook
some script to join and fix them) but should mean halving the mentions
table size, or close to that. also theres foreign keys so it cascades
automatically, at the cost that now we can't store mention links for users
we don't know yet
2024-06-26 04:37:33 +02:00
9822fc3f07
feat!: remove published from some join tables
it was now() anyway just look object's published, this saves some space
but i won't bother making a migration :p
2024-06-26 04:27:16 +02:00
5a4671f20d
feat: add notifications table and model 2024-06-26 03:54:15 +02:00
4e9f6ea419
fix: "smart" join direction on related query
not really smart because if both are some it arbitrarily returns "to"
actor but ehhhh i mean if you have both "from" and "to" you're probably
just checking that it exists so who cares which comes back
2024-06-25 05:58:16 +02:00
ae4950b2e7
feat: implemented relay unfollow/remove, fixes 2024-06-25 05:25:57 +02:00
e6b40f0239
fix: oops doesnt work that way :( 2024-06-25 05:14:59 +02:00
804a2fba29
fix: im an idiot ................................. 2024-06-25 04:46:46 +02:00
a5c28c83c7
fix: oops dont leak private posts on local tl
this too should get filtered depending on auth
2024-06-25 04:38:08 +02:00
9fce61ea78
feat: reworked relay cli command
still misses remove and unfollow but ehh whatevsss
2024-06-25 04:20:10 +02:00