Commit graph

319 commits

Author SHA1 Message Date
2958107c49
fix: actually insert addressing on receiving
also some nice utils to handle link vecs
2024-03-24 05:49:36 +01:00
a0d75d0807
ci: rebuild db again
im changing a lot of stuff its easier this way for now
2024-03-24 05:03:22 +01:00
28ba5f1b40
feat: add global inbox get, which respects privacy 2024-03-24 04:58:49 +01:00
2ac7fa0588
chore: split inbox/outbox, added forgotten mods 2024-03-24 04:05:09 +01:00
65032ef606
fix: faker followers/following counts 2024-03-24 04:04:48 +01:00
0d1250fd6f
feat: add addressing table
this should allow to build timelines and check access permissions
quickly. my only concern is keeping thousands, if not even millions, of
rows always with full strings. future optimizations may look into an
intermediary table to map ids to integers and optimize this table's
storage
2024-03-24 04:03:44 +01:00
7251a3e92c
feat: added sessions with credentials 2024-03-24 04:03:22 +01:00
2673860106
chore: better ap user route 2024-03-23 20:24:38 +01:00
34b7db5ce6
feat: default for config 2024-03-23 20:24:29 +01:00
13afd5be87
chore: split server context and router 2024-03-23 20:24:14 +01:00
d36ac82dd9
feat: add followers and followers count to users
redo migrations (: honestly if you're expecting to keep a long-lasting
db at this stage of development i have bad news for you
2024-03-23 16:44:27 +01:00
72c2cd5f81
chore: cleaned up all model modules 2024-03-23 06:32:15 +01:00
1a7a4f6df6
chore: ok clippy 2024-03-23 06:14:34 +01:00
c361528b2f
feat: moved object creation out of entity 2024-03-23 06:10:53 +01:00
05245c2776
fix: faker also insert config and credentials 2024-03-23 06:10:33 +01:00
f48509e2d8
feat: added tables+entities for config, credentials
simple password auth is bad and shall likely go but it's easy for now
and i need a way to login to test user interactions as i make the outbox
working
2024-03-23 05:02:39 +01:00
b90f7307bc
fix: datetime utc, also in likes
redo all migrations ehe
2024-03-23 04:40:39 +01:00
490358e9ed
chore: merged follow___ into one function 2024-03-23 04:40:02 +01:00
a18d0fd3d4
chore: split down ap/user file 2024-03-23 04:31:48 +01:00
84882dd5bd fix: published is optional on activities 2024-03-22 17:59:46 +01:00
812fe05b6b fix: cleaner way to stop showing sqlx logs 2024-03-22 17:54:49 +01:00
69c06d4a9c fix: hide sqlx queries
args are hidden anyway and they are quite unreadable
2024-03-22 17:49:25 +01:00
65cd8e8070 feat: process deletions, log inbox activity better 2024-03-22 17:44:04 +01:00
95eaa9596c feat: added simpler ways to ignore+log errors 2024-03-22 17:43:57 +01:00
0ec636a868
fix: sqlite returns runtime error, catch it
prob too wide but i wanna use sqlite
2024-03-22 06:53:40 +01:00
4fd8ad2c2c
fix: sqlite can't handle u64 2024-03-22 06:35:50 +01:00
afcd9d8572
fix: unique 2024-03-22 06:25:30 +01:00
89cd0d0335
fix: it wasn't that easy 2024-03-22 05:59:24 +01:00
9f1e6da4b9
feat: add likes and shares, process likes
also redid migrations because its easier and also its just me using this
cursed thing and i can just delete the db and migrations look nicer this
way
2024-03-22 05:34:08 +01:00
e26346cf66
fix: followers, following 2024-03-22 05:33:39 +01:00
80c38dc211
fix: forgot auto increment 2024-03-22 03:11:47 +01:00
02ae091962
feat: manage follower/followig collections 2024-03-22 02:50:38 +01:00
8cb8632521
feat: added relation table 2024-03-22 02:29:37 +01:00
4c53773853
ci: don't recreate db anymore 2024-03-22 02:29:05 +01:00
7751114bda
fix: disable shared inbox/outbox
they aren't really implemented anyway and it's too much hassle now,
they're only relevant for big instances, not 1-user dev junk
2024-03-22 01:56:06 +01:00
20415a0386
feat: barebones following/followers collections 2024-03-22 01:52:02 +01:00
5c1ee72d68
fix: log what comes to our inbox 2024-03-22 01:41:42 +01:00
5eec008343
fix: strip acct: from webfinger if given 2024-03-22 01:22:03 +01:00
69f0239764
feat: nodeinfo (well barebones but kinda) 2024-03-22 01:21:50 +01:00
3e81574783
fix: host-meta is xrd+xml 2024-03-22 00:21:35 +01:00
aab31eac67
feat: handle host-meta and webfingers 2024-03-22 00:17:52 +01:00
efb1f506c3
fix: add cc/to , clear bcc/bto in object too 2024-03-21 20:40:07 +01:00
d127385310
docs: added some readme about ap and as folders 2024-03-21 20:37:16 +01:00
c2f3224e0e
fix: context <-> conversation
damn you mastodon!
2024-03-21 20:36:56 +01:00
8ad5738579
feat: add audiences to objects too 2024-03-21 20:36:46 +01:00
d53644ea1f
chore: moved faker in its own file 2024-03-21 20:36:28 +01:00
b222090aee
fix: also for object 2024-03-21 20:11:00 +01:00
9da5b09ec6
fix: need the full content-type... 2024-03-21 19:55:55 +01:00
ca5c6c9971
fix: update base migration 2024-03-21 19:51:00 +01:00
d318ccb782
fix: ld_context to all 2024-03-21 19:32:07 +01:00