1
0
Fork 0
forked from alemi/upub
Commit graph

191 commits

Author SHA1 Message Date
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
ecc277a1f0
fix: always create activities if local 2024-06-07 23:21:41 +02:00
a53c93c1c5
feat: dont store activities unless necessary 2024-06-07 23:16:51 +02:00
87d0d7b6d2
fix: delete duplicated jobs 2024-06-07 23:16:39 +02:00
746ba4bbee
fix: make sure activity comes from httpsign author 2024-06-07 23:16:22 +02:00
b7a8a6004f
chore: likes dont need to record generating activity 2024-06-07 23:15:57 +02:00
06fcf09a5f
chore: refactor addressing: expand inside methods 2024-06-07 23:14:49 +02:00
827fb287db
feat(apb): mentioning method for jut .to() and .bto() 2024-06-07 23:13:18 +02:00
e6b9120bbf
fix: more appropriate http signature errors
if we cant fetch from db its our fault (500), if we cant fetch your
actor its your fault (4xx)
2024-06-07 19:05:37 +02:00
1814d7b187
fix: process updates for lemmy pages too 2024-06-07 17:11:34 +02:00
8a93a7368e
fix: oops undo of undo was my mistake 2024-06-07 15:18:36 +02:00
bb52a03bcf
fix: oof maybe fix for postgres? temporary 2024-06-07 07:26:08 +02:00
b61a6ded3b
fix: ... 2024-06-07 07:15:47 +02:00
d000b57ff1
fix: use small integer like in db 2024-06-07 07:12:48 +02:00
315e6bea4a
fix: ouch need to use this... 2024-06-07 07:08:00 +02:00
3883f2c31f
chore: imports 2024-06-07 06:59:38 +02:00
9fc8a364dd
fix: use timestamp instead of date_time
apparently date_time is TIMESTAMPTZ on postgres, not TIMESTAMP (aka
DateTime<Utc>)...
2024-06-07 06:58:35 +02:00
8805622a3b
fix: dont create fulltext index
broken on postgres? will add it later with a migration
2024-06-07 06:37:41 +02:00
43aea48816
feat: proxy should work for anything, more options 2024-06-07 06:20:25 +02:00
8284130890
feat(uriproxy)!: renamed fns, added expand fn 2024-06-07 06:15:38 +02:00
28889eb338
feat: config session duration, token refreshes
allow refreshing sessions before they expire
2024-06-07 02:22:43 +02:00
c19b8e0f5b
fix: context document ids and next 2024-06-06 23:53:28 +02:00
ddb86718d1
fix: show unprocessable activities ids 2024-06-06 22:53:25 +02:00
da1f269850
fix: where am i supposed to place it???????? 2024-06-06 21:08:09 +02:00
d93e4f091b
fix: http signatures errors are 500, not 401
if user provides an http signature and we fail to verify, bail out! if
our db didn't give us the local user its unlikely that we will be able
to serve anything anyway, just give up
2024-06-06 21:04:04 +02:00
6b24db86f2
fix: hmmm cors layer must be first? 2024-06-06 20:51:45 +02:00
15e9118ed2
chore: removed deprecated constructors 2024-06-06 20:43:27 +02:00
5cfd16ea35
feat: added audience field
so that we can see where lemmy posts are coming from
2024-06-06 20:43:03 +02:00
56110ea917
fix: aaaa too spammyy 2024-06-06 20:27:39 +02:00
ff570d0d87
fix: this is caught inside AP::object 2024-06-06 20:24:10 +02:00
f249237dc5
fix: better type check for normalizing AP document 2024-06-06 19:57:32 +02:00