Commit graph

1914 commits

Author SHA1 Message Date
Laura Hausmann
e0fefc986f
[mastodon-client] Respect idempotency-key for new posts 2023-10-04 22:01:14 +02:00
Laura Hausmann
fe15584834
[mastodon-client] POST /v1/statuses 2023-10-04 22:01:14 +02:00
Laura Hausmann
b98294e5be
[mastodon-client] PUT /media/:id 2023-10-04 22:01:14 +02:00
Laura Hausmann
a2dce0fa85
[mastodon-client] GET /media/:id 2023-10-04 22:01:13 +02:00
Laura Hausmann
9b223abeda
[mastodon-client] POST /{v1,v2}/media 2023-10-04 22:01:13 +02:00
Laura Hausmann
366311a8b1
[mastodon-client] Refactor api router init 2023-10-04 22:01:13 +02:00
Laura Hausmann
758f995dac
[mastodon-client] Bump compatible version to 4.1.0 2023-10-04 22:01:13 +02:00
Laura Hausmann
501991f5e1
[mastodon-client] DELETE /statuses/:id 2023-10-04 22:01:13 +02:00
Laura Hausmann
1a03044be8
[mastodon-client] Only return pinned attribute for own posts 2023-10-04 22:01:13 +02:00
Laura Hausmann
d4cca752ac
[mastodon-client] Correctly return accounts' pinned posts 2023-10-04 22:01:13 +02:00
Laura Hausmann
a0cf791e53
[mastodon-client] POST /statuses/:id/pin, /statuses/:id/unpin 2023-10-04 22:01:12 +02:00
Laura Hausmann
464c5425fc
[mastodon-client] Don't show DMs in the home timeline 2023-10-04 22:01:12 +02:00
Laura Hausmann
19a990aebb
[mastodon-client] Improve query filters for /accounts/:id/statuses 2023-10-04 22:01:12 +02:00
Laura Hausmann
b1643cfee7
[mastodon-client] GET /statuses/:id/favourited_by, /statuses/:id/reblogged_by 2023-10-04 22:01:12 +02:00
Laura Hausmann
c1df4bd579
[mastodon-client] POST /statuses/:id/bookmark, /statuses/:id/unbookmark 2023-10-04 22:01:12 +02:00
Laura Hausmann
5b7e0b8ede
[mastodon-client] POST /statuses/:id/reblog, /statuses/:id/unreblog 2023-10-04 22:01:12 +02:00
Laura Hausmann
3dffaf5594
[mastodon-client] POST /statuses/:id/react/:name, /statuses/:id/unreact/:name 2023-10-04 22:01:12 +02:00
Laura Hausmann
93a4db4418
[mastodon-client] POST /statuses/:id/favourite, /statuses/:id/favourite 2023-10-04 22:01:12 +02:00
Laura Hausmann
f29fee74a0
[mastodon-client] Use actual default reaction 2023-10-04 22:01:11 +02:00
Laura Hausmann
f57239fc58
[mastodon-client] POST /apps 2023-10-04 22:01:11 +02:00
Laura Hausmann
5e20c3ae06
[mastodon-client] Stub for PATCH /accounts/update_credentials 2023-10-04 22:01:11 +02:00
Laura Hausmann
bdc5b778f2
[mastodon-client] GET /accounts/verify_credentials 2023-10-04 22:01:11 +02:00
Laura Hausmann
40f89213a5
[mastodon-client] Code cleanup 2023-10-04 22:01:11 +02:00
Laura Hausmann
3fd98eb88a
[mastodon-client] GET /accounts/lookup 2023-10-04 22:01:11 +02:00
Laura Hausmann
45d005fa1a
[mastodon-client] POST /follow_requests/:id/authorize, POST /follow_requests/:id/reject 2023-10-04 22:01:11 +02:00
Laura Hausmann
3dc6bf49b2
[mastodon-client] GET /follow_requests 2023-10-04 22:01:10 +02:00
Laura Hausmann
0747e24256
[mastodon-client] GET /blocks 2023-10-04 22:01:10 +02:00
Laura Hausmann
eb42a21d77
[mastodon-client] Bump compatible version to 3.5.0 2023-10-04 22:01:10 +02:00
Laura Hausmann
82c96392c2
[mastodon-client] GET /mutes 2023-10-04 22:01:10 +02:00
Laura Hausmann
f667f2f985
[mastodon-client] POST /accounts/:id/mute, POST /accounts/:id/unmute; Fix timeline helper function 2023-10-04 22:01:10 +02:00
Laura Hausmann
3c22417a31
[mastodon-client] POST /accounts/:id/block, /accounts/:id/unblock 2023-10-04 22:01:10 +02:00
Laura Hausmann
deeb71856d
[mastodon-client] GET /accounts/relationships 2023-10-04 22:01:10 +02:00
Laura Hausmann
5c999a20d0
[mastodon-client] POST /accounts/:id/follow, POST /accounts/:id/unfollow 2023-10-04 22:01:10 +02:00
Laura Hausmann
cfc3db5c7c
[mastodon-client] Code cleanup 2023-10-04 22:01:09 +02:00
Laura Hausmann
72619198b9
[mastodon-client] POST /notifications/:id/dismiss; POST /notifications/clear 2023-10-04 22:01:09 +02:00
Laura Hausmann
ac6ba79a36
[mastodon-client] GET /notifications/:id 2023-10-04 22:01:09 +02:00
Laura Hausmann
58dcbe68b7
[mastodon-client] GET /notifications 2023-10-04 22:01:09 +02:00
Laura Hausmann
9d59ee09fd
[mastodon-client] Improve link pagination helper function 2023-10-04 22:01:09 +02:00
Laura Hausmann
d8659b5a94
[mastodon-client] Better home timeline query 2023-10-04 22:01:09 +02:00
Laura Hausmann
35e35c0998
[mastodon-client] Update FIXMEs 2023-10-04 22:01:09 +02:00
Laura Hausmann
f1f0fa3bc7
[mastodon-client] Fix posts falsely showing as boosted 2023-10-04 22:01:09 +02:00
Laura Hausmann
d9ec53db4c
[mastodon-client] Further improve query performance 2023-10-04 22:01:08 +02:00
Laura Hausmann
455c249f3d
[mastodon-client] Improve note query performance 2023-10-04 22:01:08 +02:00
Laura Hausmann
7da7b6e09b
[mastodon-client] Proper pagination for /bookmarks & /favorites 2023-10-04 22:01:08 +02:00
Laura Hausmann
d3a88ff613
[mastodon-client] GET /favourites 2023-10-04 22:01:08 +02:00
Laura Hausmann
376bfc6b13
[mastodon-client] GET /bookmarks 2023-10-04 22:01:08 +02:00
Laura Hausmann
5ee1a1e604
[mastodon-client] Fix emoijs on status detail endpoint 2023-10-04 22:01:08 +02:00
Laura Hausmann
6d2ed68a49
[mastodon-client] Properly format quotes 2023-10-04 22:01:08 +02:00
Laura Hausmann
f8be4533df
[mastodon-client] Allow unauthorized uses to access /accounts/:id/statuses 2023-10-04 22:01:08 +02:00
Laura Hausmann
f6d0183668
[mastodon-client] Fix ordering of ancestors & descendants for status context 2023-10-04 22:01:07 +02:00
Laura Hausmann
dd0875e517
[mastodon-client] Fix own user following/followers when ffVisibility is restricted 2023-10-04 22:01:07 +02:00
Laura Hausmann
97067648e8
[mastodon-client] GET /accounts/:id/following 2023-10-04 22:01:07 +02:00
Laura Hausmann
c86ab31a29
[mastodon-client] Proper pagination for /accounts/:id/followers 2023-10-04 22:01:07 +02:00
Laura Hausmann
ba5bcbb16c
[mastodon-client] Fix created_at field on user objects 2023-10-04 22:01:07 +02:00
Laura Hausmann
05c32e719c
[mastodon-client] GET /accounts/:id/followers 2023-10-04 22:01:07 +02:00
Laura Hausmann
f825dcc811
[mastodon-client] Respect minId query param 2023-10-04 22:01:07 +02:00
Laura Hausmann
e90b679864
[mastodon-client] Cache account/user data per api call 2023-10-04 22:01:06 +02:00
Laura Hausmann
941f44dc71
[mastodon-client] Fix note favorite count 2023-10-04 22:01:06 +02:00
Laura Hausmann
16c10f55a3
[mastodon-client] Fix GET /accounts/:id/statuses 2023-10-04 22:01:06 +02:00
Laura Hausmann
81b08bebd0
[mastodon-client] Fix mentions 2023-10-04 22:01:06 +02:00
Laura Hausmann
f906ec1d55
[mastodon-client] Fix note favorite status 2023-10-04 22:01:06 +02:00
Laura Hausmann
0aeeeca076
[mastodon-client] GET /accounts/:id/statuses 2023-10-04 22:01:06 +02:00
Laura Hausmann
cebfa5ccb8
[mastodon-client] Fix banners and avatars 2023-10-04 22:01:06 +02:00
Laura Hausmann
b8cbcafe3a
[mastodon-client] GET /timelines/public 2023-10-04 22:01:05 +02:00
Laura Hausmann
f747d6b8c1
[mastodon-client] Fix normalizeUrlQuery 2023-10-04 22:01:05 +02:00
Laura Hausmann
ec8285530b
[mastodon-client] NoteConverter, UserConverter: move to await-all 2023-10-04 22:01:05 +02:00
Laura Hausmann
0d8fe856aa
[mastodon-client] Skip processing mentions of deleted users 2023-10-04 22:01:05 +02:00
Laura Hausmann
8e3e2440b8
[mastodon-client] GET /timelines/home 2023-10-04 22:01:05 +02:00
Laura Hausmann
15e698df46
[mastodon-client] Fix handling of note visibility errors and anonymous calls 2023-10-04 22:01:05 +02:00
Laura Hausmann
f384186b88
[mastodon-client] Refactor NoteHelpers 2023-10-04 22:01:05 +02:00
Laura Hausmann
777db83014
[mastodon-client] Implement NoteConverter.encodeMany function 2023-10-04 22:01:05 +02:00
Laura Hausmann
e1e4160a62
[mastodon-client] GET /statuses/:id/context 2023-10-04 22:01:04 +02:00
Laura Hausmann
2fe58b0017
[mastodon-client] Refactor converters 2023-10-04 22:01:04 +02:00
Laura Hausmann
d258789c34
[mastodon-client] GET /accounts/:id 2023-10-04 22:01:04 +02:00
Laura Hausmann
6606eda981
[mastodon-client] GET /statuses/:id 2023-10-04 22:01:04 +02:00
Alexis
20723b4c1d
Rename private mode descriptions to 'allowlisting' 2023-10-04 14:53:27 +02:00
Laura Hausmann
28259129e8
Add new logos & asset generation script 2023-10-04 02:04:30 +02:00
Laura Hausmann
220b6f2011
Revert "don't update if renoted by bot"
This reverts commit 49e9fb9001c25378aa396d2a1ccdac1e18456e14.
2023-09-29 15:03:11 +02:00
Laura Hausmann
2efdbae42e
Add index to improve user/notes endpoint performance 2023-09-28 02:51:24 +02:00
Laura Hausmann
fdca7f804a
Also port antenna migration 2023-09-26 21:38:21 +02:00
Laura Hausmann
30de454b69
Port SeaORM migrations to TypeORM 2023-09-26 21:38:20 +02:00
Laura Hausmann
7cb576a535
Greatly improve id conversion performance 2023-09-26 18:55:49 +02:00
Laura Hausmann
76aa8eeefb
Port native-utils code back to typescript 2023-09-26 17:21:44 +02:00
Laura Hausmann
b97c4511d9
Make MFM search engine a config option, switch default engine to DuckDuckGo, replaces #207 2023-09-12 15:37:46 +02:00
Laura Hausmann
1ce0f778e7
Fix fetching pinned notes for remote servers that return a collection of note URIs instead of AP objects, resolves #201 2023-09-12 00:12:13 +02:00
Laura Hausmann
02dc687705
Fallback to acct webfinger on getSubjectHostFromUriAndUsernameCached 2023-09-11 23:20:41 +02:00
Laura Hausmann
b04619e007
Skip mention user lookup for local users 2023-09-11 22:58:02 +02:00
Laura Hausmann
1d543b5bf8
Cache resolved split domain mentions 2023-09-11 22:15:48 +02:00
Laura Hausmann
fb091488d8
Get actual subject host in mfm fromHtml 2023-09-11 22:25:29 +02:00
Laura Hausmann
552041726b
Make html-to-mfm and its callstack async 2023-09-11 22:34:00 +02:00
Laura Hausmann
86defdffd3
Fix initial fetch of actual remote user host for remote gotosocial instances on createPerson, resolves #204 2023-09-11 18:37:18 +02:00
Laura Hausmann
43f136c50f
Fix typo in hostMetaToWebFingerTemplate 2023-09-11 19:57:26 +02:00
Laura Hausmann
06be4e108b
Fix updating remote user host for remote AP implementations that don't support webfinger uri queries 2023-09-10 19:31:11 +02:00
Laura Hausmann
558b58a0cd
Fix updating host on updatePerson 2023-09-10 19:31:11 +02:00
Laura Hausmann
a2fbf57769
Fix formatting in resolve-user.ts 2023-09-10 19:31:11 +02:00
Laura Hausmann
f6dc9e094b
Fix user update for users without sharedInbox 2023-09-09 22:16:23 +02:00
Laura Hausmann
2f103229e5
Also update host on updatePerson 2023-09-09 18:45:15 +02:00
Laura Hausmann
e9e63ebaa8
Verify and update existing user on createPerson 2023-09-09 18:45:14 +02:00
Laura Hausmann
80035049f9
Stricter host-meta spec compliance in WebFinger 2023-09-06 19:13:57 +02:00
Laura Hausmann
59571f2372
Resolve actual subject host on createPerson 2023-09-06 19:13:57 +02:00
Laura Hausmann
35f7bde1a4
Clear public key cache on user deletion 2023-09-06 19:13:57 +02:00
Laura Hausmann
85f396ff49
Make WebFinger respect host-meta 2023-09-06 19:13:57 +02:00
Laura Hausmann
84867f1c13
Finish up support for local split domain configurations 2023-09-06 19:13:57 +02:00
Laura Hausmann
c6dee2da09
Purge deleted users from user lookup caches 2023-09-06 19:13:57 +02:00
Laura Hausmann
9e5f96b9ad
Fix Cache<T> .getAll and .delete functions 2023-09-06 19:13:57 +02:00
Laura Hausmann
0ad31334e2
Make WebFinger lookup respect subject domain 2023-09-06 19:13:56 +02:00
Laura Hausmann
74941f35e4
[mastodon-client] Implement note editing, resolves #158 2023-09-03 01:18:37 +02:00
Laura Hausmann
50d09a4c66
Switch to emoji status images (related: #42) 2023-08-31 01:20:46 +02:00
Laura Hausmann
0952a37e86
Use build:debug and custom build environment docker image for CI 2023-08-30 17:59:16 +02:00
Laura Hausmann
cfff8f840d
Fix remote media cache cleanup 2023-08-29 19:35:27 +02:00
Laura Hausmann
875bea2bca
Don't show local only notes to guest users, resolves #147 2023-08-28 02:24:59 +02:00
Jeder
3cabaf92f8 Disable full-text search for visitors 2023-08-25 12:21:31 +02:00
ThatOneCalculator
4fa47bf677 fix: 🐛 cannot quote own note 2023-08-23 16:06:24 +02:00
ThatOneCalculator
5e69fd791c fix: 🔒 cannot change note visibility 2023-08-23 16:06:24 +02:00
Luna D Dragon
91b8b7b76b
Defry the fish (#125)
Co-authored-by: Luna <luna.dragon@suse.com>
Reviewed-on: https://iceshrimp.dev/iceshrimp/iceshrimp/pulls/125
Co-authored-by: Luna D Dragon <lunarequest@nullrequest.com>
Co-committed-by: Luna D Dragon <lunarequest@nullrequest.com>
2023-08-21 16:14:53 +02:00
Namekuji
3f7d26a0e3
Fix antenna migration for redis servers with password protection 2023-08-20 02:15:23 +02:00
Laura Hausmann
04a1bd9363
Fix local-only posts for timeline websocket stream, resolves #19 2023-08-19 16:32:33 +02:00
Laura Hausmann
afeadd5bfb
Make antennas also match on CW text, resolves #117 2023-08-19 15:07:20 +02:00
naskya
40a0f31089
delete 10 posts at once on account deletion, resolves #101 2023-08-19 14:58:40 +02:00
Natty
d7013ed85b
Fixed a bad import 2023-08-16 15:01:02 +02:00
Natty
63b179c178
Also check instances to skip 2023-08-16 15:00:52 +02:00
Natty
37c4ef56d7
URL parsing check to prevent delivery crashes 2023-08-16 15:00:07 +02:00
Vyr Cossont
e759864442
Mastodon API: convert IDs in conversations 2023-08-15 01:52:20 +02:00
Laura Hausmann
16702c4d6a
Fix out-of-order antenna note pagination 2023-08-08 00:11:15 +02:00
Laura Hausmann
79471cf450
Handle deleted antenna results correctly 2023-08-07 23:03:56 +02:00
Laura Hausmann
aeddce2a60
Fix antenna pagination 2023-08-07 20:24:09 +02:00
Laura Hausmann
ff0d9ac476
Improve docker builds 2023-08-04 20:35:24 +02:00
Laura Hausmann
2ea0d06d62
Lightning fast docker rebuilds 2023-08-04 17:14:18 +02:00
Laura Hausmann
3d43fd1cfe
Fix whitespace in native-utils package.json 2023-08-04 15:46:09 +02:00
Laura Hausmann
330c51bccf
Faster native-utils-migration build 2023-08-03 23:57:10 +02:00
Laura Hausmann
ed2622344f
Make media cleanup task respect timezone 2023-08-03 00:11:00 +02:00
Laura Hausmann
079942eda4
Improved media cleanup task 2023-08-02 21:25:24 +02:00
Laura Hausmann
537d63a11e
Fix account domain migration 2023-08-02 19:18:58 +02:00
Vyr Cossont
aa76cf1c33 Mastodon API: convert quoted status 2023-08-02 07:15:48 -07:00
Vyr Cossont
d072f014b1 Mastodon API: convert quote_id format
Allows quote posting through Mastodon API (using Fedibird/Treehouse extension).
2023-08-02 07:10:33 -07:00
Vyr Cossont
67525f87b3 Mastodon API: support pinned param for account statuses
Without this, using the pinned param at all, regardless of value, will return no results.
2023-08-02 14:43:05 +02:00
Vyr Cossont
754afe10ac Mastodon API: report max reactions in instance 2023-08-01 23:44:01 -07:00
Vyr Cossont
051456ee3b Mastodon API: implement proposed Glitch emoji reactions API 2023-08-01 23:42:12 -07:00
Vyr Cossont
df3f2d2b5e Mastodon API: convert reaction accounts 2023-08-01 23:39:16 -07:00
April John
4ebda2cae6 fix my own stupidity 2023-08-01 23:07:14 +02:00
April John
11c1586183 please work 2023-08-01 22:27:07 +02:00
April John
701fc6d275 beban work on account domains 2023-08-01 21:23:32 +02:00
Laura Hausmann
5701946511
Make non-regex word mutes case insensitive 2023-07-30 17:17:07 +02:00
maikelthedev
e1481fc8ee
Added custom search engine 2023-07-30 17:16:27 +02:00
Luna
8737e2fa71
fix resolve of emoji's 2023-07-28 13:44:26 +02:00
Luna
748bbdf6a3
fix pnp emoji stuff 2023-07-28 13:44:26 +02:00
Luna
ec7d9e9f26
Fix yarn start 2023-07-27 18:16:56 +02:00
Luna
283e632772 switch to yarn 2023-07-27 07:22:09 +05:30
Laura Hausmann
b462e9d1fc
chore: code reformat 2023-07-27 00:44:38 +02:00
Laura Hausmann
5a2ca61f26
Remove support for ads 2023-07-27 00:32:20 +02:00