Commit graph

325 commits

Author SHA1 Message Date
4a4625f8e4
fix: oops no go back i do it all in fe 2024-11-09 13:43:27 +01:00
48768b0e1a
fix: oops forgot extra argument here
this is really ugly and unintuitive but im working on builder patterns
directly in apb so this should get refactored away too soon™️
2024-11-09 13:33:34 +01:00
aaed94d2f8
fix: include replies choice in next page urls 2024-11-09 13:18:19 +01:00
baaaa55e9d
fix: show stuff from self on own timeline 2024-11-09 13:13:31 +01:00
8a3211d07b
feat: allow to filter out replies from feeds 2024-11-09 13:13:14 +01:00
f5d794824e
fix: activities inherit audience
only when addressing activity+object and object has `audience` set
2024-11-09 12:07:16 +01:00
98fa0dc58f
fix: sub-address only if necessary 2024-11-09 11:58:06 +01:00
32a2f968f6
fix: use activity published when merging obj addr 2024-11-09 11:53:37 +01:00
1e57d0d2de
fix: merge previous addressings while inserting
objects discovered before receiving the "official" create should no
longer appear by themselves on the tl
2024-11-08 19:39:22 +01:00
02a42ace69
fix: auth filter includes own objects
previously each route had to opt-in showing your own objects (which
aren't addressed to self to not appear on TLs and in notifications, but
that may change?), now the base filter includes that condition

hope this doesn't break anything? :3 i think it was with actors and
relations that i made it simpler but objects should be safe
2024-11-08 14:15:34 +01:00
30e647fc12
fix: object updates should only touch some fields
also reject updates for other types
2024-10-02 22:10:56 +02:00
205b729f16
fix: also dispatch right away 2024-09-19 17:20:31 +02:00
9a260a14c3
fix: oops must wake in routes, not worker 2024-09-19 17:16:33 +02:00
174ef4198d
chore: clippy warns, async_trait fixes 2024-09-19 16:51:20 +02:00
0934cdaad4
feat: waker implementation
basically posting should now be instant? very ugly implementation tho: i
wanted to keep tokio out of core but this is awful and also im
realistically never swapping out tokio, so might as well move these
tokens down in core...
2024-09-19 16:50:13 +02:00
52b93ba539
chore: bump deps, drop async_trait where possible 2024-09-19 15:56:22 +02:00
5126a462b5
fix: webfinger media type 2024-09-18 22:40:36 +02:00
75808bc926
fix(cli): fetch cmd
i have a ton of stuff pending locally so language server throws a ton of
errors, hopefully this compiles?
2024-09-18 22:23:31 +02:00
047ac5a9e5
feat(cli): allow choosing which actor to use for fetch 2024-09-18 22:16:52 +02:00
57e465090b
feat: added manifest route 2024-08-15 16:20:03 +02:00
ea6fedf34e
fix: must do it with an update_many
aaaaaaaaaaaaa
2024-08-15 05:48:01 +02:00
52933da820
fix: ughhh must use activity id from payload
i should go to sleep ...
2024-08-15 05:41:50 +02:00
43a4e70cf4
fix: get actor id from job object 2024-08-15 05:39:40 +02:00
817f88e1a4
fix: include seen in notifications columns 2024-08-15 05:33:16 +02:00
c1ab0d474e
feat: added rich notification
basically just adding field "seen" to activities
2024-08-15 05:27:55 +02:00
0846e2cff9
feat: process View activities to mark notifications 2024-08-15 05:02:07 +02:00
1e8cd32905
fix: Query::objects is not ordered by default
so its possible to select only ids
2024-08-14 15:41:10 +02:00
0a98934a7e
fix: fallback to current time for rich activity 2024-08-14 02:19:36 +02:00
660e5cf127
feat: query::objects
in the end i really needed it anyway to avoid dupes... but at least this
is cross-db! not like Query::feed which avoids dupes only on postgres
(sometimes)
2024-08-14 02:14:05 +02:00
9b6b51889a
fix: dont use builders for context 2024-08-13 20:32:49 +02:00
0e309e143c
fix: allow querying distinct by object 2024-08-13 20:25:05 +02:00
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
6ff288e936
fix: /#main-key for application 2024-07-10 15:20:23 +02:00
b086fe969f
fix: delivery passes error up 2024-07-06 06:08:58 +02:00
11b4ae8678
chore: renamed PullError in RequestError 2024-07-06 06:08:42 +02:00
9adeff6fbf
feat: added error field to jobs
basically just for manual inspection, maybe we could drop this again
once upub is much more stable?
2024-07-06 06:03:26 +02:00
90f483a0ba
fix: try to resolve mentioned users 2024-07-06 05:55:52 +02:00
0934a84de9
fix: skip lemmy community hashtags 2024-07-06 05:27:35 +02:00
6d9bc1fa5b
fix: dont personalize global timelines
so they can stay cached for everyone, also queries should be faster
2024-07-06 05:08:29 +02:00
692ae7f31d
fix: hashtag query should discard dupes 2024-07-06 04:41:02 +02:00
6f5b494a25
fix: batch load fills multiple identical objects
in case of an announce and a view, we get the attachments only once
otherwise and frontend may overwrite cache with the empty one. this is
wasteful because we clone everytime tho, TODO!
2024-07-06 04:39:14 +02:00
2b4fb3bd62
fix(apb): actually link href is not guaranteed 2024-07-06 04:25:06 +02:00
98f1e5ee06
fix: oops should be an OR not an AND 2024-07-05 04:39:03 +02:00
abb8095685
fix: also set inner actor on filled undos 2024-07-05 04:23:53 +02:00
1b5ae14b99
fix: show your own replies in threads 2024-07-05 03:29:11 +02:00
f36c249803
feat: fill undo ids for user in outbound activities 2024-07-05 03:18:33 +02:00
c14531afc8
fix: delivery also embeds activities in activities
it was supposed to do already but i was just joining on objects, oops
2024-07-05 02:57:41 +02:00
7079662391
fix: add special case for 447 from lemmy.cafe
because its clogging my job queue
2024-07-05 02:43:01 +02:00
9311cf25de
fix: fetch relay usr or else we cant know internal 2024-07-05 00:31:42 +02:00
1c86110ed4
fix: include published column in hashtags feed 2024-07-04 03:26:47 +02:00
2836ec2b37
feat: added hashtags collections routes 2024-07-04 02:59:22 +02:00