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
f29d3baeb9
fix: name is nullable, preferredUsername is not
2024-04-13 16:43:19 +02:00
ca871a867f
docs: some readmes
...
pretty useless but at least they're there
2024-04-06 17:20:14 +02:00
6d078f7068
feat: show pub key and created time for app actor
2024-03-26 00:48:37 +01: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
6be486ca3d
fix: add also server column for server addressing
2024-03-25 02:26:47 +01:00
41899556bf
fix: session id is session
2024-03-25 01:58:06 +01:00
2ac7fa0588
chore: split inbox/outbox, added forgotten mods
2024-03-24 04:05:09 +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
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
1a7a4f6df6
chore: ok clippy
2024-03-23 06:14:34 +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
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
80c38dc211
fix: forgot auto increment
2024-03-22 03:11:47 +01:00
8cb8632521
feat: added relation table
2024-03-22 02:29:37 +01:00
8ad5738579
feat: add audiences to objects too
2024-03-21 20:36:46 +01:00
ca5c6c9971
fix: update base migration
2024-03-21 19:51:00 +01:00
de9c3498bc
feat: add pubkey to actor
...
veeeeery crude impl, with hardcoded pubkey in faker cmd, but whatevs i
want activitupub.academy to fetch meeee
2024-03-21 02:11:31 +01:00
30637f93ee
feat: extended database entities
2024-03-21 01:09:33 +01:00
7d69f8148c
chore: refactored type enums
2024-03-19 01:00:44 +01:00
85c9b363f6
feat: db model for activity and object + routes
2024-03-16 05:45:58 +01:00
170756588d
feat: added migrations
...
TODO gate them under feature flag eventually ™️
2024-03-16 03:29:06 +01:00