58c20b7ba5
feat!: restructured db, remade all migrations
...
sorry! your db is now useless (: you weren't using upub in production,
were you?? brb gonna migrate 50k posts from test db...
2024-05-24 03:41:45 +02:00
c68adc7030
fix: published to addressing index for faster tls
2024-05-20 09:13:26 +02:00
7fa15a57a8
feat: add url field to objects
...
so that we can configure a frontend url and have posts redirect there
when remote instances press "external source"
2024-05-12 01:58:51 +02:00
ee8ab38570
fix: add updated field on objects and set it
2024-05-02 15:15:16 +02:00
7f996aa2c1
feat: kinda botched way to ignore relays
...
basically relays send us a lot of announce activities to share posts
but we don't care about those activities: it's db bloat and it increases
the shares count. keep a table keeping track of followed relays and
lazily skip activities by them, just fetch. IMPORTANT relays are only
loaded at startup, so if you subscribe to a new relay restart your
server once it accepts!!!
2024-04-29 21:58:08 +02:00
3156b8d2d2
feat: sensitive field
...
this is not part of activitystreams afaik and should not be in apub but
it's quite convenient to do it this way sooooooooooo for now will do
2024-04-24 05:19:39 +02:00
c595f5f5e3
feat: process and store remote attachment urls
2024-04-21 22:58:33 +02:00
a083edef6e
fix: sqlite won't update columns anyway
...
since this migration breaks all sqlite dbs, i changed the original
migration so that future ones won't panic when reaching here. note that,
if you are on sqlite, just `sqlite3 <your_db> .dump > backup.sql` and
then, after rebuilding and re-migrating db, `cat backup.sql | sqlite3 <your_db>`
2024-04-21 16:30:29 +02:00
379b4daa84
fix: don't create mock activities
...
basically remade addressing table so that activity too can be null
2024-04-21 15:41:29 +02:00
a897edd310
feat: add statuses count and in_reply_to fields
...
migration + models update
2024-04-18 04:09:13 +02:00
88808f020c
feat: storage for application keys
2024-03-25 21:18:27 +01:00
5d7ce0e3c4
feat: simple delivery system + http signatures
2024-03-25 05:07:58 +01:00
2ac7fa0588
chore: split inbox/outbox, added forgotten mods
2024-03-24 04:05:09 +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
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
8cb8632521
feat: added relation table
2024-03-22 02:29:37 +01:00
170756588d
feat: added migrations
...
TODO gate them under feature flag eventually ™️
2024-03-16 03:29:06 +01:00