Commit graph

5295 commits

Author SHA1 Message Date
Laura Hausmann
349f770166
[backend] Actually try to resolve unknown mentions in mfm-to-html 2023-10-14 16:39:24 +02:00
Laura Hausmann
72f048a24d
[backend] Parse incorrectly formatted mentions in from-html 2023-10-14 16:12:22 +02:00
Laura Hausmann
c02747116d
[backend] Fix typo 2023-10-14 15:37:28 +02:00
Laura Hausmann
b33ca93195
[backend] Fix resync-with-orm migration
Due to a previously missing constraint there could be references to deleted users in the renote_muting table, this cleans that up.
2023-10-14 15:35:52 +02:00
Laura Hausmann
0261a666f1
[backend] Resync migrations with TypeORM
It appears people have been writing manual migrations for a while now, often containing errors that create duplicate or unused indicies, unique constraints on primary key columns, and so on. This commit resolves these, so migrations can be autogenerated again from now on.
2023-10-14 15:23:35 +02:00
Laura Hausmann
0dc2d5efa0
[mastodon-client] Actually display early errors in the OAuth process 2023-10-14 14:47:14 +02:00
Laura Hausmann
c7e0659cfb
[mastodon-client] Fix handling of long redirect URIs in the oauth_token table 2023-10-14 14:41:49 +02:00
Laura Hausmann
2c0a006af6
[mastodon-client] Fix double-urlencoded redirect URLs
This fixes login in elk.zone
2023-10-14 14:41:49 +02:00
Laura Hausmann
e5dc89c1cb
[mastodon-client] Fix type hints in AuthHelpers 2023-10-14 14:07:10 +02:00
Laura Hausmann
7b951f76ed
[mastodon-client] Add additional fields to /v1/apps response
This is undocumented under https://docs.joinmastodon.org/entities/Application/ but some apps expect it anyway.
2023-10-14 13:55:03 +02:00
Laura Hausmann
c46ea29ba3
[mastodon-client] Fix streaming API url
This fixes a regression where some clients were unable to connect to the streaming API.
The /mastodon suffix was previously removed in other parts of the code as too many clients didn't respect it, however it was not removed here, leaving clients that do respect it are unable to connect.
2023-10-14 13:30:31 +02:00
Laura Hausmann
2192d5c668
[mastodon-client] Fix long redirect URIs 2023-10-14 03:22:21 +02:00
Laura Hausmann
d049de2935
[mastodon-client] Fix scopes parsing error in auth helper 2023-10-14 00:58:54 +02:00
Laura Hausmann
1c2b914164
[mastodon-client] Switch from MiAuth to OAuth 2023-10-14 00:19:10 +02:00
Laura Hausmann
b5393e41d0
[mastodon-client] Add support for public:allow_local_only stream 2023-10-13 23:54:55 +02:00
Laura Hausmann
f14b3cec97
[backend] Automatically generate vapid/web-push keys
Co-authored-by: Johann150 (563f3672a9)
2023-10-13 19:23:36 +02:00
Laura Hausmann
b53b7a8654
[backend] Remove check:connect script and js file 2023-10-13 18:46:20 +02:00
Laura Hausmann
bb5d0e319d
[backend] Add missing postgres types 2023-10-13 18:44:25 +02:00
Laura Hausmann
1927151aed
[baackend] Move migrations to typescript 2023-10-13 18:44:25 +02:00
Laura Hausmann
b335fda4b0
[client] Fix user autocomplete not disappearing 2023-10-13 16:42:04 +02:00
Laura Hausmann
ef14e0221b
[backend] Ignore capitalization for remoteuserinfo in mfm-to-html 2023-10-13 02:20:55 +02:00
Laura Hausmann
bab61d2a32
[client] Fix mention autocomplete 2023-10-12 22:38:32 +02:00
Laura Hausmann
da5939d1d6
[mastodon-client] Proper user search autocomplete 2023-10-12 21:46:34 +02:00
Laura Hausmann
0e39313ac4
[mastodon-client] Correctly parse invalid remote mentions 2023-10-12 21:39:18 +02:00
Laura Hausmann
0616edffa8
[mastodon-client] Return edit history in correct order 2023-10-12 20:51:35 +02:00
Laura Hausmann
5e61be286c
[mastodon-client] Add max_toot_chars to /v1/instance 2023-10-12 19:27:37 +02:00
Laura Hausmann
ef98c86958
[backend] Correctly return selected protocol for streaming API
This fixes compatibility with mastodon webclients in Google Chrome & derivatives
2023-10-12 17:59:41 +02:00
Laura Hausmann
f843453ca0
[backend] Only render trailing slashes for URLs in profile fields when explicitly specified 2023-10-12 17:07:54 +02:00
Laura Hausmann
9167ba593c
[mastodon-client] Omit paragraph tags for user profile fields 2023-10-12 16:29:48 +02:00
Laura Hausmann
8c93f7eb68
[backend] Format urls in outgoing AP messages properly 2023-10-12 16:01:07 +02:00
Laura Hausmann
19f8c0aafc
[mastodon-client] Improve mfm-to-html handling of links 2023-10-12 15:52:41 +02:00
Laura Hausmann
9f8e1e5579
[mastodon-client] Don't duplicate quote uri if it's already in the note text 2023-10-12 00:29:18 +02:00
Laura Hausmann
44c70df1a6
[mastodon-client] Fix mentions in user bios 2023-10-12 00:23:20 +02:00
Laura Hausmann
1ff5102e34
[backend] Format mentions in outgoing AP messages properly 2023-10-12 00:10:53 +02:00
Laura Hausmann
be28fae40f
[mastodon-client] Fix code block rendering
This doesn't work in all clients, but it works in more than the previous solution & matches what glitch-soc is doing.
2023-10-11 23:58:03 +02:00
Laura Hausmann
8d7d95fd23
[backend] Permit redirects for AP object lookups 2023-10-11 20:59:30 +02:00
Laura Hausmann
695528bed7
[mastodon-client] Log note lookup failures with logger instead of console 2023-10-11 19:55:26 +02:00
Laura Hausmann
1fdea9866a
[mastodon-client] Only display localpart for mentions in mfm-to-html 2023-10-11 19:15:56 +02:00
Laura Hausmann
f5c6cba3a6
[mastodon-client] Correctly render remote mentions of local users 2023-10-11 19:15:32 +02:00
Laura Hausmann
73895e856c
[mastodon-client] Don't return 'next' link pagination header when there are not more results
This fixes clients like toot! showing ghost users
2023-10-11 18:33:33 +02:00
Laura Hausmann
c1354ee5e7
[mastodon-client] Don't return reactions with count=0 2023-10-11 02:36:38 +02:00
Laura Hausmann
4717cc85b5
[mastodon-client] Use execQueryLinkPagination in more places 2023-10-11 01:45:52 +02:00
Laura Hausmann
fef807a165
[mastodon-client] Fix link pagination prev attribute when minId is set 2023-10-11 01:26:29 +02:00
Laura Hausmann
3204bd9d18
[mastodon-client] Fix link pagination middleware oversight 2023-10-11 01:26:29 +02:00
Laura Hausmann
a0adea70f5
[mastodon-client] Improve streaming api isMastodon check 2023-10-09 22:20:44 +02:00
Laura Hausmann
878970d318
[mastodon-client] Implement streaming API 2023-10-09 01:59:19 +02:00
Aylam
8eff42a3e0
Remove text shadow from post header 2023-10-08 14:05:32 +02:00
Laura Hausmann
01e6f7edbb
[mastodon-client] Respect ffVisibility for follower/following counts 2023-10-08 02:42:50 +02:00
Laura Hausmann
db95d9a7f3
[mastodon-client] Fix polls param 2023-10-08 01:41:25 +02:00
Laura Hausmann
0f17691f00
[mastodon-client] GET /v1/accounts/search 2023-10-08 01:30:40 +02:00
Laura Hausmann
c7d62223ef
[mastodon-client] Ignore invalid auth requests 2023-10-08 01:13:02 +02:00
Laura Hausmann
4d6111d1a4
[mastodon-client] Fix handling of empty tagged param in getUserStatuses 2023-10-08 01:09:30 +02:00
Laura Hausmann
b3c186a14a
[mastodon-client] Only encode renote once in NoteConverter 2023-10-08 01:00:16 +02:00
Laura Hausmann
23a1114c02
[mastodon-client] Implement glitch reactions 2023-10-08 00:47:35 +02:00
Laura Hausmann
9d24f8aea5
[mastodon-client] Remove ID conversion
BREAKING: Please log out and log back in of any clients in use, as their cache is now invalid
2023-10-07 23:15:14 +02:00
Laura Hausmann
011d7f36c3
[mastodon-client] Set ctx.pagination in helper funcs 2023-10-07 22:05:58 +02:00
Laura Hausmann
cc96b0ba72
[mastodon-client] Use ctx instead of ctx.user as arguments everywhere 2023-10-07 21:46:22 +02:00
Laura Hausmann
79c3e56989
[mastodon-client] Fully move cache into ctx 2023-10-07 20:29:58 +02:00
Laura Hausmann
8428f2efc4
[mastodon-client] Actually enforce NoteConverter.encode recursion prevention 2023-10-07 20:09:17 +02:00
Laura Hausmann
1cdeff9861
[mastodon-client] Generate pagination data in helper function
This also (finally) respects minId sort order.
2023-10-07 20:02:03 +02:00
Laura Hausmann
2899873b26
[mastodon-client] Use MastoApiError everywhere 2023-10-07 19:50:06 +02:00
Laura Hausmann
cfd53259cb
[mastodon-client] Return emojis field for polls 2023-10-07 19:39:01 +02:00
Laura Hausmann
8bec41b554
[mastodon-client] Accept both types and exclude_types at the same time in GET /v1/notifications
This ensures compatibility with Mastodon for Android and its forks
2023-10-07 19:17:51 +02:00
Laura Hausmann
1cb935f483
[client] Reduce shadows for iceshrimp-light 2023-10-07 17:48:39 +02:00
Laura Hausmann
98fe5b3a54
[mastodon-client] Prevent duplicate reblogs 2023-10-07 17:34:22 +02:00
Laura Hausmann
47d9278eae
[mastodon-client] Return IdentifiableError ID if message is empty 2023-10-07 17:30:49 +02:00
Laura Hausmann
f36515a221
[mastodon-client] Fix error when liking the same status twice 2023-10-07 17:27:45 +02:00
Laura Hausmann
8cbcb5766a
[backend] await renote & boost count increments on note create/delete 2023-10-07 16:55:04 +02:00
Laura Hausmann
f800f1806c
[mastodon-client] Fix Link pagination for /v1/statuses/:id/reblogged_by 2023-10-07 14:43:52 +02:00
Laura Hausmann
99de127376
[mastodon-client] Return error messages for error types without a .message property 2023-10-07 14:32:02 +02:00
Laura Hausmann
c8415a5223
[mastodon-client] Use ctx.cache for all endpoints 2023-10-07 02:12:26 +02:00
Laura Hausmann
937a8c76c8
[mastodon-client] Fix ids of trending statuses not being converted 2023-10-07 02:05:53 +02:00
Laura Hausmann
bd2df99489
[mastodon-client] Add link pagination to all remaining paginating methods 2023-10-07 01:17:59 +02:00
Laura Hausmann
9dd3277ddb
[mastodon-client] Use structuredClone for id converters 2023-10-07 00:36:49 +02:00
Laura Hausmann
3bc4afec77
[mastodon-client] Set correct access-control-expose-headers response header 2023-10-07 00:36:49 +02:00
Laura Hausmann
081b836e92
[mastodon-client] Move link header pagination to middleware 2023-10-06 23:35:13 +02:00
Laura Hausmann
3d320c0895
[mastodon-client] Fix urlencoded redirect_uris 2023-10-06 23:35:07 +02:00
Laura Hausmann
153c08fae1
[mastodon-client] Fix getNoteOr404 2023-10-06 03:26:04 +02:00
Laura Hausmann
afd9e236a3
[mastodon-client] Code cleanup & reformat 2023-10-06 03:12:52 +02:00
Laura Hausmann
8bc7bf373e
[mastodon-client] Handle ApiError in CatchErrorsMiddleware 2023-10-06 03:09:22 +02:00
Laura Hausmann
a3d2330f26
[mastodon-client] Code cleanup and refactor for /oauth/token 2023-10-06 01:22:42 +02:00
Laura Hausmann
4b76d0ce6f
[mastodon-client] Migrate endpoints to auth middleware 2023-10-06 01:08:30 +02:00
Laura Hausmann
5d17996d5f
[mastodon-client] Fix verify_credentials occasionally showing outdated data 2023-10-05 21:14:15 +02:00
Laura Hausmann
01b5af2686
[mastodon-client] PATCH /v1/accounts/update_credentials 2023-10-05 19:22:41 +02:00
Laura Hausmann
75f6732928
[mastodon-client] Replace koa-multer with koa-body 2023-10-05 18:45:38 +02:00
Laura Hausmann
60f314cb87
[mastodon-client] Fix handling of undefined in normalizeComposeOptions & normalizeEditOptions 2023-10-05 18:07:20 +02:00
Laura Hausmann
5d1bfd2e50
[mastodon-client] Fix handling of posts with empty cw / text field 2023-10-05 17:41:49 +02:00
Laura Hausmann
73ac3048ef
[mastodon-client] Correctly return status.tags 2023-10-05 17:19:40 +02:00
Laura Hausmann
d39a3f2f66
[client] Fix default theme missing shadows 2023-10-05 16:10:27 +02:00
Laura Hausmann
98b451bf05
[mastodon-client] Emoji category should be string or undefined 2023-10-05 15:09:06 +02:00
Laura Hausmann
3132ff5ca0
[mastodon-client] Prevent NoteConverter from recursing indefinitely 2023-10-05 15:08:34 +02:00
Laura Hausmann
37b5a8d71d
[backend] Cleanup oauth debug logging 2023-10-05 14:38:14 +02:00
Laura Hausmann
0611651409
Remove megalodon 2023-10-05 14:36:14 +02:00
Laura Hausmann
e33c7c5b0f
[backend] remove broken mastodon websocket support 2023-10-05 14:35:33 +02:00
Laura Hausmann
75d6af8485
[mastodon-client] GET /oauth/token 2023-10-05 14:34:52 +02:00
Laura Hausmann
4e177419eb
[mastodon-client] GET /v1/preferenes 2023-10-05 14:16:28 +02:00
Laura Hausmann
ec55071eb2
[mastodon-client] GET /v1/trends/{statuses,hashtags,links} 2023-10-05 02:38:26 +02:00
Laura Hausmann
fb7713c424
[mastodon-client] GET /v1/custom_emoji 2023-10-05 02:08:12 +02:00
Laura Hausmann
5f0d140bbe
[mastodon-client] GET /v2/suggestions 2023-10-05 01:51:21 +02:00
Laura Hausmann
44b72a2ecc
[mastodon-client] GET /v1/announcements, POST /v1/announcements/:id/dismiss 2023-10-05 00:58:54 +02:00
Laura Hausmann
059a20f4b1
[mastodon-client] Make filter endpoints refer to web frontend 2023-10-05 00:11:39 +02:00
Laura Hausmann
f5e28fc27a
[mastodon-client] Refactor object id converters 2023-10-04 23:54:45 +02:00
Laura Hausmann
f0cedf4f39
[mastodon-client] Replace array helper function with preexisting prelude function 2023-10-04 23:52:03 +02:00
Laura Hausmann
2a64fe4ebf
[mastodon-client] GET /v1/instance 2023-10-04 23:42:54 +02:00
Laura Hausmann
c90161189f
[mastodon-client] Improve query performance 2023-10-04 23:16:52 +02:00
Laura Hausmann
f87712040d
[backend] Remove /api/i/get-unsecure endpoint 2023-10-04 23:14:57 +02:00
Laura Hausmann
ad7c58b8d7
[mastodon-client] Add visibility checks for status.reblogged_by 2023-10-04 23:13:47 +02:00
Laura Hausmann
7f6ac71dd0
[mastodon-client] Respect ffVisibility 2023-10-04 23:07:50 +02:00
Laura Hausmann
a515b6b4d4
[mastodon-client] Fix ordering of conversations 2023-10-04 23:07:38 +02:00
Laura Hausmann
bbc0f0278a
[mastodon-client] Improve pagination helper function 2023-10-04 23:07:37 +02:00
Laura Hausmann
557dd37fe8
[mastodon-client] Unread notifications 2023-10-04 22:01:18 +02:00
Laura Hausmann
b8b6206b4e
[mastodon-client] Fix link pagination default limits 2023-10-04 22:01:17 +02:00
Laura Hausmann
3fb3f405ea
[mastodon-client] GET /v1/conversations 2023-10-04 22:01:17 +02:00
Laura Hausmann
2fef4b1982
[mastodon-client] GET /v1/timelines/tag/:hashtag 2023-10-04 22:01:17 +02:00
Laura Hausmann
d2c9238a18
[mastodon-client] Add stubs for featured_tags and followed_tags 2023-10-04 22:01:17 +02:00
Laura Hausmann
4fe62e62c3
[mastodon-client] GET /accounts/:id/lists 2023-10-04 22:01:17 +02:00
Laura Hausmann
239fef3e71
[mastodon-client] DELETE /lists/:id/accounts 2023-10-04 22:01:17 +02:00
Laura Hausmann
94d75585b4
[mastodon-client] PUT /lists/:id 2023-10-04 22:01:17 +02:00
Laura Hausmann
53c0d52fcd
[mastodon-client] POST /lists 2023-10-04 22:01:17 +02:00
Laura Hausmann
eecd911bf6
[mastodon-client] POST /lists/:id/accounts 2023-10-04 22:01:16 +02:00
Laura Hausmann
8a22659cba
[mastodon-client] DELETE /lists/:id 2023-10-04 22:01:16 +02:00
Laura Hausmann
267624c7a3
[mastodon-client] Also return edit history if post is unedited 2023-10-04 22:01:16 +02:00
Laura Hausmann
137ede02ce
[mastodon-client] Fix timeline helper function 2023-10-04 22:01:16 +02:00
Laura Hausmann
a3722d2dce
[mastodon-client] GET /timelines/list/:listId 2023-10-04 22:01:16 +02:00
Laura Hausmann
f388eb2135
[mastodon-client] Update notifications default and max limit to mastodon v4.1.0 values 2023-10-04 22:01:16 +02:00
Laura Hausmann
4559b135cb
[mastodon-client] Code cleanup & reformat 2023-10-04 22:01:16 +02:00
Laura Hausmann
2e7ac53c20
[mastodon-client] Use modified mfm-to-html renderer 2023-10-04 22:01:16 +02:00
Laura Hausmann
633fe46fb5
[mastodon-client] GET /lists, /lists/:id, /lists/:id/accounts 2023-10-04 22:01:15 +02:00
Laura Hausmann
a7ce94fb29
[mastodon-client] GET /statuses/:id/source 2023-10-04 22:01:15 +02:00
Laura Hausmann
ae91ffbb8a
[mastodon-client] Fix resolving remote users that aren't yet in the database 2023-10-04 22:01:15 +02:00
Laura Hausmann
947f5ba1e2
[mastodon-client] GET /v1/search 2023-10-04 22:01:15 +02:00
Laura Hausmann
5e0c2eb497
[mastodon-client] GET /v2/search 2023-10-04 22:01:15 +02:00
Laura Hausmann
0f497f7fec
[mastodon-client] Fix request body handling for polls 2023-10-04 22:01:15 +02:00
Laura Hausmann
fb8b2ce0df
[mastodon-client] GET /polls/:id, POST /polls/:id/votes 2023-10-04 22:01:15 +02:00
Laura Hausmann
85a13d8bd7
[mastodon-client] GET /statuses/:id/history 2023-10-04 22:01:14 +02:00
Laura Hausmann
9454540385
[mastodon-client] Return status.edited_at 2023-10-04 22:01:14 +02:00
Laura Hausmann
b0487e1e63
[mastodon-client] PUT /statuses/:id 2023-10-04 22:01:14 +02:00
Laura Hausmann
0719d9abbc
[client] Clean up note edits 2023-10-04 22:01:14 +02:00
Laura Hausmann
500a85acb9
[backend] Rework note edits 2023-10-04 22:01:14 +02:00
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
Laura Hausmann
412aa96c95
Remove jarring touch animation for navbar buttons on mobile 2023-10-04 21:53:36 +02:00
AntoineD
48d5595639
Enhanced mobile post btn 2023-10-04 21:53:36 +02:00
AntoineD
17e9ee0217
Enhanced mobile navbar 2023-10-04 21:53:32 +02:00
Aylam
919fcd8730
Remove Calendar widget by default 2023-10-04 15:00:40 +02:00
Alexis
20723b4c1d
Rename private mode descriptions to 'allowlisting' 2023-10-04 14:53:27 +02:00
Laura Hausmann
f608247be4
[client] Fix control panel indicator 2023-10-04 03:15:37 +02:00
Laura Hausmann
27a088a6a1
[client] Improved update checker 2023-10-04 03:15:37 +02:00
Laura Hausmann
11ba55e42f
Overhauled default themes with new brand colors 2023-10-04 02:04:31 +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
Jeder
1e8c3c89da
Remove "Welcome back" 2023-09-28 16:43:25 +02:00
Laura Hausmann
2efdbae42e
Add index to improve user/notes endpoint performance 2023-09-28 02:51:24 +02:00
Laura Hausmann
158c7694c0
Remove rust deps from Dockerfile & CI, cleanup docs 2023-09-26 21:39:40 +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
AntoineÐ
259f82f251 Enhanced «About Iceshrimp» Icon #246 2023-09-25 20:14:40 +02:00
Aylam
4a3f6afef6
Replace or remove theme 'X' vars 2023-09-24 16:21:55 +02:00
Aylam
dd9a7b7cff
Add new themes and use them by default 2023-09-13 21:39:36 +02:00
Laura Hausmann
9b4e67f064
Fix MkUpdate translations 2023-09-13 19:28:12 +02:00
Jeder
917114dfa8 Change text color only of active navbar element 2023-09-13 13:53:20 +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
Natty
90eabd4816
Fix follow requests pagination bug
https://astolfo.social/notes/9jeibgm1wyfk9oha
2023-09-10 13:10:53 +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
Aylam
0f14568c37 Improve navbar 2023-09-06 06:27:13 +02:00
Jeder
3c0de95e41
Remove underline from "More" menu 2023-09-04 15:09:10 +02:00
Jeder
fb4848f960
Change color of the hovered navbar element, remove underline on all navbar elements 2023-09-04 15:09:10 +02:00
Jeder
bfc452658a Change item alignment 2023-09-04 10:27:36 +02:00
Jeder
1cdbddff9b Fix mobile account picker misalignment 2023-09-04 10:27:36 +02:00
Laura Hausmann
5d1a61cb95
[mastodon-client] Correctly implement multiple callback URIs for OAuth, resolves #150 2023-09-03 03:07:08 +02:00
Laura Hausmann
29099e4635
[mastodon-client] Proper note deletion response, resolves #159 2023-09-03 01:36:49 +02:00
Laura Hausmann
74941f35e4
[mastodon-client] Implement note editing, resolves #158 2023-09-03 01:18:37 +02:00
Laura Hausmann
de3c75689e
Fix 'always expand CWs' option not applying on timeline views, resolves #179 2023-09-03 00:00:42 +02:00
Laura Hausmann
206e81da10
Add option to always expand CWs, resolves #137 2023-09-02 22:52:39 +02:00
Laura Hausmann
50d09a4c66
Switch to emoji status images (related: #42) 2023-08-31 01:20:46 +02:00
Laura Hausmann
17630facd8
Fix note conversation ws/streaming updates, resolves #164 2023-08-30 23:02:00 +02:00
Laura Hausmann
dad82682e8
Add antenna timeline explanation 2023-08-30 18:11:50 +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
66ab00a174
[client] Set config.host to instance domain instead of address.host 2023-08-30 16:23:46 +02:00
Laura Hausmann
9139cba602
Fix performance regression on page load regarding blur effect settings, resolves #156 2023-08-30 14:45:20 +02:00
Laura Hausmann
cfff8f840d
Fix remote media cache cleanup 2023-08-29 19:35:27 +02:00
Laura Hausmann
bae16e5eda
Also remove glitchy transition from .post:hover on smaller viewports 2023-08-28 21:38:20 +02:00
Aylam
1577ab6293
Don't force blur off on mobile 2023-08-28 20:06:58 +02:00
Aylam
8fda8aee4e
Disable blur by default 2023-08-28 20:06:58 +02:00
Laura Hausmann
d80164723a
Remove load more buttons on note view, resolves #139 2023-08-28 20:03:21 +02:00
Jeder
d976fb0329
Fix margin issues 2023-08-28 20:00:30 +02:00
Jeder
afa27d4811 Change position of "Expand all CWs" button 2023-08-28 16:46:03 +02:00
Laura Hausmann
875bea2bca
Don't show local only notes to guest users, resolves #147 2023-08-28 02:24:59 +02:00
Aylam
6fc8415b00 Unify useBlurEffect and useBlurEffectForModal 2023-08-26 10:01:04 +03:00
Aylam
2b72cb0b09 Re-apply current theme when blur is toggled 2023-08-26 08:28:32 +02:00
Aylam
b03534bb92 Make pageHeader transparency dependent on blur 2023-08-26 08:28:32 +02:00
Aylam
a82979b2a1 Ignore alpha values in some theme properties if blur disabled
Overrides certain alpha values by setting them to 1.0
2023-08-26 08:28:32 +02:00
Laura Hausmann
53ae5e29c2
Fix search button not visible in narrow viewport guest mode 2023-08-25 16:29:56 +02:00
Jeder
3cabaf92f8 Disable full-text search for visitors 2023-08-25 12:21:31 +02:00
Jeder
dca344be07 Change look and position of Search button when viewing as visitor/logged-out 2023-08-25 12:21:31 +02:00
Jeder
2f3003ee8c
Touch-optimized visibility picker 2023-08-23 16:23:38 +02:00
Jeder
9096e4b1f2
Make instance ticker more readable 2023-08-23 16:23:11 +02:00
Jeder
97ca9b9068 Lock possibility of changing scopes when editing in client 2023-08-23 16:06:24 +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
Laura Hausmann
e3131e9b11
Toggle between different CW styles 2023-08-20 23:41:34 +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
e1376b1c29
Fix expand-all-cws button, resolves #43 2023-08-19 16:22:13 +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
Laura Hausmann
9948df5670
Fix chats page title occasionally showing as undefined 2023-08-19 14:52:29 +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
Laura Hausmann
aecac811eb
Update Weblate URL 2023-08-15 18:27:28 +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
Anthial
471d39da0b fix Powered by Iceshrimp 2023-08-04 23:40:51 +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
Jeder
d3b18dac5d Replace Deck UI "Default navigation behavior" switch with radio buttons 2023-08-04 14:28:34 +02:00
Laura Hausmann
330c51bccf
Faster native-utils-migration build 2023-08-03 23:57:10 +02:00
Aylam
f615e9b2ec Remove transition from .post:hover 2023-08-03 11:43:02 +03: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
Jeder
de28d40af5 replace This note is hidden with CW content 2023-08-02 15:01:44 +02:00
Jeder
66a0f59b6a Apply suggestions 2023-08-02 15:01:44 +02:00
Jeder
07587bbce5 Change how CW-ed posts look
Hides content, widens the padding on "Show content" and "Hide" buttons
2023-08-02 15:01:44 +02: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
Jeder
19489103fb replace renote icon with a lock on non-renotable posts 2023-07-31 13:43:12 +02:00
Anthial
5f9ca4b110 fix button layout in post form 2023-07-30 18:23:53 +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
ShittyKopper
ef5accd92c feat: expand all CWs in thread
https://iceshrimp.dev/iceshrimp/iceshrimp/issues/38
2023-07-29 15:29:31 +03: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
Laura Hausmann
45da0fb766
Fix build 2023-07-27 15:25:22 +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
Laura Hausmann
a3fb1f19e0
Reword boot.js error message to make stance on ad blocking more explicit 2023-07-27 00:32:20 +02:00
Laura Hausmann
2261219a27
Fix compose box button alignment
Co-authored by @volpeon@is-a.wyvern.rip: https://is-a.wyvern.rip/notes/9hkk0o4uy13mrdt3
2023-07-25 00:41:57 +02:00
April John
7043f280bf dependency update? 2023-07-24 04:44:18 +02:00
moshibar
ff8d8ae73c add reload 2023-07-23 16:06:53 -04:00