40c80fa181
chore: split down context.rs a little
2024-05-29 01:49:44 +02:00
0c203528df
feat: store like aid, also .any(&db) bikeshed
2024-05-28 01:47:40 +02:00
eb3c647691
fix: set published
...
i thought i could remove this and let db do it but i need it to build a
Model before so ehh lets put it backk
2024-05-27 07:47:20 +02:00
fea7c1ecdf
fix: no more errors! no more warnings!!
...
finished upgrading inbox to new schema, there's ton of space for
improvement but lets first see if it works
2024-05-27 05:38:51 +02:00
9a04a67d39
fix: finish porting outbox
2024-05-27 01:55:08 +02:00
3c3e98a4f4
chore: initial work converting outbox logic
2024-05-26 18:42:22 +02:00
322b18e9cd
chore: helpers for internal ids, fix routes and ctx
...
basically just need to do inbox/outbox? then there's still some issues
with relays relations and auth extra selects but may actually work again
2024-05-25 07:00:03 +02:00
a6227a6679
fix: regex, because it's always regex
2024-05-23 16:53:25 +02:00
17f77c1769
feat: replace mentions with html hrefs
2024-05-23 16:28:18 +02:00
2bd9b39ed0
fix: exclude proto from domain check
2024-05-23 02:43:26 +02:00
af3a3fbbb8
feat: way smarter way to represent remote ids
...
base64 em basically. big commit because touches basically everything!!
2024-05-20 06:29:44 +02:00
b910e346ea
chore: centralized way to process and insert objects
...
it shouldn't break anything, also names are kind of weird (normalizer?
insert??) but ill think about it later, after ive done the same for
activities and users
2024-05-20 02:55:30 +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
1ab351cc7f
fix: increase replies counts from local replies
2024-05-02 16:35:46 +02:00
34df958af0
feat: parse markdown when posting
...
can't be toggled off for now 🤷
2024-05-02 16:29:01 +02:00
ee8ab38570
fix: add updated field on objects and set it
2024-05-02 15:15:16 +02:00
4a7425ef24
fix: mut
2024-05-02 13:31:09 +02:00
44de7040ec
fix: when updating must reset changing fields
2024-05-02 13:16:23 +02:00
a6c3ef9a3e
feat: increment statuses count
...
be it when posting, receiving a Create or fetching an object, increment
relevant user statuses count
2024-04-30 14:22:44 +02:00
4fe53f7011
fix: increment share and like counters for outbox
2024-04-29 20:40:20 +02:00
63d78e7ff5
fix: delete with filters instead of activemodel
2024-04-23 04:24:27 +02:00
377ed9665d
fix: set published before converting to model
...
user may not have set it and we overwrite it anyway. id instead is
necessary, so if it's not given we should return 500
2024-04-23 03:59:27 +02:00
46de9aebd6
feat: implemented update, delete, announce outbox
2024-04-22 22:52:19 +02:00
67c4051226
feat: add context to outgoing posts
2024-04-19 04:25:17 +02:00
094a8b957c
fix: increase follow counts on Accept
...
both for inbox and outbox
2024-04-18 03:41:27 +02:00
86e84d88aa
chore: updated apb things, restructured a bit
2024-04-11 00:29:32 +02:00
bb26ff763d
chore: restructured completely
...
kinda MVC:
Model -> model
View -> routes
Controller -> server
2024-04-09 01:14:48 +02:00