Commit graph

221 commits

Author SHA1 Message Date
64ab2c3bb9
feat: add index on audience for faster groups 2024-07-03 03:26:40 +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
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
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
54b619dffc
fix: related query also brings up relation
as a treat
2024-06-25 04:19:53 +02:00
fde3372bcc
feat: anyquery uses count for faster checks 2024-06-25 04:05:23 +02:00
934d8ca8ef
chore: rewritten relation-related queries 2024-06-25 03:50:05 +02:00
9cf461c7c4
chore: split down selector 2024-06-25 03:30:16 +02:00
9a9cb567f9
fix: insert more activities otherwise no notifs 2024-06-25 02:14:33 +02:00
21343436e8
feat: super simple thread fixer task
probably a bit stupid to do it like this? but whatever eventually should
fix everything just run it a lot lmao
2024-06-25 01:27:07 +02:00
4bf5835001
fix: ad-hoc activity normalization
ihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethis
ihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethis
ihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethis
ihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethis
ihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethis
ihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethis
ihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethis
ihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethis
ihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethis
ihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethis
ihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethis
ihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethis
ihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethis
ihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethis
ihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethis
ihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethis
ihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethisihatethis
2024-06-24 17:55:34 +02:00
38e45c11d4
fix: dont overwrite context when updating 2024-06-24 03:19:30 +02:00
ab1ca489be
fix: insert undo activities or nuke doesnt work
.............
2024-06-24 03:02:13 +02:00
19a6ca2fcb
fix: omg it wants embedded undos fix nuke for real 2024-06-24 02:43:15 +02:00
206bc4d0db
fix: nuke task but for real i swear 2024-06-24 02:38:12 +02:00
48a8ff9fef
fix: oops nuke must put jobs with activity id 2024-06-24 02:29:45 +02:00
8df27847ce
fix: insert activities
this isnt enough but its something
2024-06-24 02:17:42 +02:00
f1287b1639
feat: cases for dropping jobs 2024-06-23 23:40:23 +02:00
5302e4ad46
feat: add dislikes table, process them
not displayed anywhere yet tho
2024-06-23 17:27:49 +02:00
fc744e7604
fix: set updated in outgoing notes 2024-06-23 17:06:48 +02:00
4a3a2e2647
fix!: attachment url no longer unique, add an index 2024-06-23 16:56:34 +02:00
89f5b200a8
feat: added hmac validated proxy route 2024-06-23 03:55:03 +02:00
669240b87f
fix: show updated only if different from published 2024-06-22 06:13:15 +02:00
e6e13e95da
docs: added notes on improving addressing expansion 2024-06-22 05:41:37 +02:00
16a10112a8
fix: cascade obj/activity deletions in addressing
otherwise its impossible to delete objects because foreign key relation
is violated!
2024-06-22 05:17:03 +02:00
b3184e7ae2
fix: iter after flat and unpack node
flat iter gives us only objects, but we want links...
2024-06-22 05:08:05 +02:00
8890538c69
chore: stubbed hashtags routes 2024-06-22 04:34:34 +02:00
ee12ef37ad
chore: better comments, unreachable!() 2024-06-22 04:34:22 +02:00
62628ea076
fix: for batch loading use object id 2024-06-22 04:34:00 +02:00
399022ef86
fix: ughhhhh 2024-06-22 03:51:01 +02:00
b80eb03373
feat: process, store and fill obj hashtags/mentions 2024-06-22 03:40:17 +02:00
e7e1a926c1
fix: dont overwrite private key 2024-06-21 05:44:42 +02:00
3734c5f1c2
feat: implemented post deleting, fix addressing 2024-06-21 05:44:10 +02:00
f466016c01
feat: nuke cli task
not awesome but eh acceptable i think
2024-06-21 02:32:31 +02:00
3d504e5059
fix: try both 2.0.json and 2.0 for nodeinfo 2024-06-19 17:58:16 +02:00
6efd121080
fix: show why http sign failed fetching in dbg 2024-06-15 02:13:52 +02:00
a80819685a
feat: allow specifying worker threads 2024-06-14 15:51:55 +02:00
6fed451513
fix: updates should now work! 2024-06-14 02:10:00 +02:00
e1f1548e7e
fix: use .udpate method, internal unchanged 2024-06-13 17:20:50 +02:00
37fa1df9ab
fix: update task should have unchanged not set 2024-06-13 17:10:43 +02:00
3db892f038
fix: cheap way to make public activities public 2024-06-12 06:07:34 +02:00
40392aef56
feat: add streams and move feed to its own field 2024-06-11 05:51:12 +02:00
105b829e32
fix: can only update self 2024-06-10 06:44:26 +02:00
2d08511e05
fix: maybe must be unchanged? 2024-06-10 06:34:13 +02:00
116d5f3f8c
fix: outbox show announces basically 2024-06-10 04:57:40 +02:00
9967870ca2
fix: show only accepted follows 2024-06-10 04:46:43 +02:00
caf990f291
fix: join with actors and select id 2024-06-10 04:24:51 +02:00
bc747af055
feat: graceful shutdown to not lose tasks 2024-06-10 04:13:15 +02:00
ec910693d9
fix: oops didnt actually fix the comparison 2024-06-10 04:07:58 +02:00
3781d38f95
fix: dont over-decrement on follow undo 2024-06-10 03:36:29 +02:00
94c8900dcb
fix: oops uid not oid
honestly these fn names looked cool but were probably a bad choice
2024-06-10 03:22:25 +02:00
3f52b4d566
feat: show if user manually approves follows 2024-06-10 01:43:39 +02:00
03603a396d
fix: following/followers collections 2024-06-10 00:50:39 +02:00
89c6a923dc
fix: accept update modifies non null column 2024-06-09 19:46:51 +02:00
129724d30e
feat: add instance id in relations
this is needed to provide instance-scoped relations
2024-06-09 19:46:27 +02:00
2542c98fe4
fix: ughh bug came back? 2024-06-08 18:58:58 +02:00
6e4f492069
fix: better default configs 2024-06-08 17:32:22 +02:00
743080395b
fix: new follows update the relation, fix counters 2024-06-08 17:22:12 +02:00
fb0242221b
fix!: oops actually use jsonb here too
sorry last breaking db change i swear (<---lie)
2024-06-08 16:58:16 +02:00
e7b25bfe1d
fix: distinct doesnt work because published...
it differs by few microseconds but it still differs so duplicates
2024-06-08 16:34:40 +02:00
f664cb1cbe
fix: fill addressing for outbound note activities 2024-06-08 15:55:07 +02:00
a8257deeeb
fix: fill attachments in RichObject too 2024-06-08 15:19:46 +02:00
a35ff4832f
fix!: OOOOOPPSSSS use jsonb 2024-06-08 06:25:55 +02:00
1fd31bc7be
fix: maybe fix for postgres distinct
maybe adding internal to order will make it respect the distinct constraint?
2024-06-08 06:03:36 +02:00
972ef97721
fix: addressing of local objects 2024-06-08 05:45:41 +02:00
453fb2a031
fix: replies collection shows all replies
still keep paginated view, to get embedded objects rather than ids
2024-06-08 05:06:33 +02:00
9e5740d6e4
fix: oops keep mixing up activity and object... 2024-06-08 04:54:48 +02:00
1852f78a2f
fix: use distinct_on because of postgres
it complains otherwise, im using this just to make it shut uppp
2024-06-08 04:50:34 +02:00
13f23d147a
fix: also need to group by addressing? 2024-06-08 04:13:57 +02:00
216c08c623
fix: do i need to group by more? 2024-06-08 04:05:01 +02:00
2d6ab97820
fix: try to remove duplicates with group-by 2024-06-08 03:57:47 +02:00
aa953a71f8
fix: oops user feed should select objects 2024-06-08 03:53:22 +02:00
cc45de7e6d
fix: don't remove object id when missing embed 2024-06-08 03:04:32 +02:00
03bca17897
fix: oops mixing activity and object of course... 2024-06-08 02:51:17 +02:00
8386854ed7
fix: oops leftovers aha 2024-06-08 02:19:01 +02:00
07e537e454
feat: added object feed endpoints 2024-06-08 02:18:32 +02:00
88915adff7
fix: improved query utils, separated obj/activity 2024-06-08 02:18:23 +02:00