Commit graph

244 commits

Author SHA1 Message Date
dcbbe15546
docs: add comment for postgres fulltext 2024-08-11 18:40:22 +02:00
5a19344e02
fix: oops fixed search not being public 2024-08-11 18:18:22 +02:00
e15952f028
feat: new compat options for lemmy......
lemmy whyyyyyyyyyy.....
2024-08-11 17:38:10 +02:00
253d757d9a
fix: add % to LIKE query for search 2024-08-11 15:09:33 +02:00
b427000364
feat: search endpoint
it's a bit rushed and ugly but maybe works?
2024-08-11 14:46:15 +02:00
7a9a6fc245
feat: full-text index on content 2024-08-11 14:45:03 +02:00
2d92f9c355
fix: skip attachments with url == image 2024-08-11 13:58:24 +02:00
e300c31488
feat: improved address expanding
should now expand non-canonical followers too (aka followers urls not
ending with /followers), and also audience! (but im doing audience
expansion only for objects rn, not activities)
2024-08-11 13:46:36 +02:00
e7e8653ce2
chore: bump sea_orm to 1.0 2024-08-11 12:55:27 +02:00
2bbc1270a1
fix: add compat options to add target to likes
this is a nastier compat option: lemmy sends likes anonymously by design
(you can't see who upvoted/downvoted you). however mastodon likes are
intended to be seen (as mastodon shows every like as public on their
frontend). issue is: they both come with completely empty addressing!
thanks mastodon... so this compat option makes likes addressed to local
objects always address the object author. this restores mastodon likes
behavior but "leaks" lemmy votes. i don't know how to fix it: maybe do
some weird magic checking what is in `@context`??? disgusting but at
least i can stop leaking lemmy's likes...
2024-08-11 12:50:50 +02:00
77bf9d17a1
fix: add compat option to fix lemmy images
no clue why sometimes they come as bare links?? but it's images, they
show as images on lemmy's frontend... this is not really a good check as
we overrule remote decisions, but it's togglable so deployers can decide
if they care more about UX or spec consistency
2024-08-11 12:48:46 +02:00
972b109ac0
fix: sanitize remote user properties on insertion 2024-07-21 14:29:58 +02:00
1ad2ac05fa
fix(cli): delete users if they got deleted
so they wont be retried the next time we start this command
2024-07-20 10:57:25 +02:00
e938f3bb27
fix: properly check for duplicate dislikes 2024-07-19 03:07:08 +02:00
c811eb25bd
feat(cli): allow limiting how many users are updated 2024-07-17 22:42:00 +02:00
32b7870bf2
feat: introduce timeouts for outgoing requests 2024-07-17 22:35:21 +02:00
01984c9e98
fix(cli): better update task for users 2024-07-17 22:24:36 +02:00
bd96b7e01a
feat: try resolving internal webfingers locally 2024-07-17 21:44:32 +02:00
018a399ee3
fix: don't http sign proxy cloaks 2024-07-17 21:32:59 +02:00
d9d7acbe98
fix: refuse proxying valid json documents
this to avoid impersonation. this should usually be a cheap check, as
most media won't be starting with valid json characters, so from_slice()
should just check 1 byte most of the times
2024-07-17 18:08:15 +02:00
d6977d24af
fix: media proxy works for logged out users too 2024-07-16 02:13:40 +02:00
2cbf7aff9f
fix: ap proxy is now on /fetch?uri=...
to avoid nginx proxy conflicts
2024-07-16 02:07:58 +02:00
7ae1d02c02
fix: also cloak object intrinsic image 2024-07-16 01:19:47 +02:00
af5f5e2554
fix: oops not yet stable if let && 2024-07-16 00:52:25 +02:00
b88c13e587
feat: cli taks to cloak actors too 2024-07-16 00:21:32 +02:00
74bfd77dff
fix: cloak also user images 2024-07-16 00:21:16 +02:00
eb6cce2787
fix: cloak also while updating 2024-07-16 00:21:07 +02:00
3d8aca843e
fix: multiple path parameters come as tuples!! 2024-07-16 00:00:41 +02:00
5a5c47ecbc
fix: oops forgot to commit but also no need for tx
in case of failures mid-way, this allows restarting it multiple times
and still succeeding
2024-07-15 23:58:50 +02:00
09362ff7cc
fix: logging in cloak task 2024-07-15 23:55:49 +02:00
b43431cb03
feat: cloak media urls 2024-07-15 23:47:18 +02:00
9d2996dece
fix: oops go back must be generic object 2024-07-15 21:54:40 +02:00
8e9695c1d5
fix: all fields of fields are defaultable 2024-07-15 21:48:26 +02:00
5c384e9b9e
fix: limit actor update modifiable fields 2024-07-15 21:36:17 +02:00
84f1cbd913
fix: skip verified_at if not present 2024-07-15 21:18:30 +02:00
0873ff46f8
fix: its value not content 2024-07-15 21:15:29 +02:00
4ea7c4b0fe
fix: also wrap try_get_from_json 2024-07-15 20:57:48 +02:00
1f4f8cb45c
fix: oops leftover macro crate 2024-07-15 20:22:04 +02:00
fafe5307c5
fix: generic JsonVec that accepts null
not the cleanest solution but should be generic and transparent
2024-07-15 20:20:43 +02:00
88b87c0b20
chore: deps cleanup
core down to 180 crates!! theres probably still a lot to be improved but
eh its a start!
2024-07-15 20:19:27 +02:00
799b958543
fix: oops migration doesnt like default(vec![]) 2024-07-15 14:21:09 +02:00
960f7be291
fix: added new fields to constructors 2024-07-15 14:03:22 +02:00
e0f427a2b9
feat: process and store fields and aliases
basically moved_to, also_known_as and actor attachments
2024-07-15 13:57:03 +02:00
b9b49df009
chore: simplified cloak proxy route 2024-07-15 03:05:27 +02:00
e5748860e7
feat(cli): added cloak command to fix previous urls 2024-07-15 02:57:51 +02:00
1eb5cda033
feat: add cloaker trait 2024-07-15 02:57:32 +02:00
a7004d1603
fix: fetch actor/object handles "pretty url"
it does an extra fetch which is wasteful but it would fetch and then
fail anyway before so i think this is an improvement
2024-07-15 01:54:13 +02:00
3d6c144c55
fix: address with activity/object time, not now
maybe not the best security-wise because remotes can "control" our
timeline order by putting fake dates but gives better results for users
because discovered objects don't appear just below boosts
2024-07-15 01:36:29 +02:00
902aabe36b
feat: process quote_url 2024-07-15 01:32:15 +02:00
83b3db8e75
fix: base app ap id without trailing / 2024-07-15 01:14:31 +02:00