318fa4f670
fix: refresh session only if necessary
2024-05-27 07:31:34 +02:00
c5b06cd16b
feat: added refresh route (optional)
2024-05-27 07:26:31 +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
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
b09cfd0526
chore: updated models and some server components
2024-05-25 05:31:10 +02:00
af994da294
fix: duplicate context to conversation properly
2024-05-24 00:26:22 +02:00
08ec2da814
feat: find also object replies ids, optional
...
configurable by instance admin, should be cheap with index but still
2024-05-24 00:25:41 +02:00
ebb7d77cae
feat: allow resolving webfinger for remote users
...
returned JRDs are already expired, indicating that we can't really be
trusted for remote users, go fetch their webfinger server instead
2024-05-23 01:59:31 +02:00
49cee6cafa
fix: context querying
2024-05-20 21:23:30 +02:00
702248348c
fix: should be overkill but better safe??
2024-05-20 09:36:20 +02:00
2ac0ca8a38
feat(apb): quote url
2024-05-20 08:58:38 +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
27073138ae
feat: proxy url
...
should be properly activitypub compliant
2024-05-20 05:18:27 +02:00
39f6ff24b3
fix: show in UA requests coming from devtools
2024-05-20 01:45:26 +02:00
d3b141c9b5
feat: option to allow public debug fetches
2024-05-20 01:42:30 +02:00
94a26a0c7d
feat: parse and serve shared_inbox endpoint
2024-05-15 18:51:34 +02:00
bd9b9782b4
feat: added registration cli and route and cfg
...
defaults to disabled registrations ofc
2024-05-13 18:53:51 +02:00
401ef08af3
fix: shared inbox MUST NOT contain private stuff
2024-05-13 18:53:03 +02:00
8f806b1bd6
feat: on debug level show in/out activities
2024-05-13 13:52:38 +02:00
21cde13f96
fix: webfinger/fetch if checks
2024-05-13 02:01:07 +02:00
8a1afadea0
feat: logged in user can search by webfinger
...
more expensive than "localized" +..@..@ urls because must always make
one extra request but allows easier searching
2024-05-13 01:48:51 +02:00
e11b972826
fix: properly clean follow counts
2024-05-13 01:41:21 +02:00
38efbeb76f
chore: imports
2024-05-12 00:56:27 +02:00
18f712194c
chore: comment out so i dont get warns compiling
2024-05-11 22:54:41 +02:00
79bc9c938b
fix: process emojireacts as likes for now
2024-05-11 22:50:39 +02:00
15746c699f
feat: server config file and default generator
2024-05-11 22:47:29 +02:00
e9fe8ba236
fix: also reject deletions which are not GONE
2024-05-11 17:37:31 +02:00
5b22c0c33b
feat: added /api/v1/instance in mastodon api
...
because aode relay blasts me of requests on that endpoint... aode you
should limit how many fetches you do!!!!!!!!!!
2024-05-11 15:59:35 +02:00
854fd95a4d
fix: correctly reconstruct urls for users too
2024-05-03 06:23:28 +02:00
9e42d4b460
feat: add server crawler
...
i may remove this tho, it definitely should not be arbitrarily invokable
by local users!!!
2024-05-03 04:43:25 +02:00
4095b0eece
fix: add context extensions depending on type
...
if actor, add both counters and fe, if object add just fe:likedByMe, to
avoid sending useless text every time
2024-05-02 05:10:38 +02:00
bcd8f27933
fix: use new apb fields
2024-05-02 00:47:11 +02:00
b1e4c4e79b
fix: add sensitive to context since we use it
2024-05-01 21:21:26 +02:00
dbf2450433
fix: select only user id column
2024-05-01 18:45:30 +02:00
bb4f6e9df0
fix: show follow/by for remote users too
...
this is super ugly because there's a ton of duplication but let's see if
it works first...
2024-05-01 18:37:26 +02:00
4527ff884e
feat: show in user queries if follow/by self
2024-05-01 17:47:37 +02:00
e8b36cecdf
chore: should move this later
2024-04-30 16:51:30 +02:00
b0ebeb9fff
fix: mastodont sized
2024-04-30 16:48:00 +02:00
0bfa49fed6
chore: imports
2024-04-30 04:29:03 +02:00
3237a38d74
fix: insert liked element also in single obj view
2024-04-30 02:57:50 +02:00
45d16fa0a3
feat: query and show objects liked by you
...
it shows it in quite a jank way: inside the "audience" collections you
find your id as only item. it's weird af but technically valid ap i
think? will probably be replaced with a local api extension as soon as i
read about those
2024-04-30 01:50:25 +02:00
63ba54dad9
fix: activity redirects when fetching different id
2024-04-30 01:49:05 +02:00
3df01b5b0a
chore: helper to reconstruct ids
2024-04-30 01:48:30 +02:00
97ed5d60b1
feat: show users following/followers
...
use audience for followers, generator for following and replies for
total statuses count. restored followers, following and outbox as bare
links. silly AP!!!
2024-04-30 00:53:07 +02:00
e4b92584db
chore: imports, renamed future routes
2024-04-29 21:23:02 +02:00
35804730de
fix: temporarily don't set replies
...
we don't serve those routes yet
2024-04-29 21:02:41 +02:00
95f9d05875
fix: redirect after fetching if id is different
...
for example, pleroma servers objects under /notice/abcd... but the
object id itself is different, under /objects/<uuid>. when fetching
pleroma redirects, but we get unreliable behavior. redirect so that we
can force clients to use the proper id
2024-04-29 20:11:19 +02:00
ab91a4c7bc
fix: your inbox contains posts by you
2024-04-26 13:48:57 +02:00
768081c251
fix: big refactor of timelines querying
...
should not be more reliable, consistent and all around less buggy, but
it may actually break some things so let's find out
2024-04-24 02:32:23 +02:00
ba07b2cb9d
fix(apb): correct node order when iterating
...
use a VecDeque under the hood to be able to pop_front()
2024-04-23 20:58:37 +02:00