Commit Graph

975 Commits

Author SHA1 Message Date
naskya
7b58910de8 I was confused 2023-05-05 05:26:59 +09:00
naskya
467575801b Fix missing return, typo 2023-05-05 05:22:32 +09:00
naskya
f023992ab0 Fix missing arguments 2023-05-05 05:17:16 +09:00
naskya
4e60fa7193 format 2023-05-04 14:41:18 +09:00
naskya
4207ff51e7 Merge branch 'develop' into fix/word-mutes 2023-05-04 05:36:29 +00:00
naskya
775eb75428 Differentiate soft mutes and hard mutes 2023-05-04 14:20:06 +09:00
naskya
d09fc8be2b Refactor hard word mutes 2023-05-04 13:17:37 +09:00
Namekuji
03d9642d4b don't update if renoted by bot 2023-05-03 16:16:34 -04:00
Kaity A
5bfe6c0730 Merge remote-tracking branch 'origin/develop' into hk/edit-federation 2023-05-02 18:24:54 +10:00
Kaity A
a56c7fe1d8 update file sensitivity on note edit 2023-05-02 18:22:42 +10:00
Kaitlyn Allan
e58d1d7695 updates to include alt text editing 2023-05-02 17:47:16 +10:00
ThatOneCalculator
eec5c86cb3 disable post imports for now 2023-05-01 23:08:35 -07:00
ThatOneCalculator
f6428ca16b max import posts twice a month 2023-05-01 21:54:15 -07:00
ThatOneCalculator
2d0ace0685 chore: formatting 2023-05-01 20:32:18 -07:00
Kainoa Kanter
6a1ba9f07c Merge pull request 'Fix: 500 server error when attempting to fetch followers-only reply as guest' (#9983) from s1idewhist1e/calckey:issue/9075 into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9983
2023-05-01 19:38:16 +00:00
s1idewhist1e
b1bbc3ac8e fix email validation 2023-04-30 22:57:10 -07:00
s1idewhist1e
45ef53994c Wrap note fetching in a try/catch 2023-04-30 22:11:15 -07:00
Namekuji
5013111bee enforce follow-request from silenced users 2023-04-30 21:43:56 -04:00
Namekuji
faa5fc5dd4 suppress notification from silenced users and instances 2023-04-30 21:35:10 -04:00
Namekuji
ec97ccd4c3 do not notify if the target is not following 2023-04-30 19:46:02 -04:00
Namekuji
2072d41fcd Merge branch 'develop' into instance-silence 2023-04-30 17:52:05 -04:00
ThatOneCalculator
1eb19b6988 fix(ap): Use unique identifier for each follow request
Closes #9677

Co-authored-by: GitHub <hutchisr>
2023-04-30 13:26:51 -07:00
fruye
0cf2e71b2e Use numeric ids everywhere in mastodon API (#9970)
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9970
Co-authored-by: fruye <fruye@unix.dog>
Co-committed-by: fruye <fruye@unix.dog>
2023-04-30 19:34:52 +00:00
Kaity A
89716480e5 fix poll voting causing edit revisions. 2023-05-01 03:17:38 +10:00
Kaity A
6a509637d5 Implement inbound note edit federation 2023-05-01 02:29:50 +10:00
Namekuji
cec5813ab2 can overlap with blocked hosts 2023-04-30 09:04:29 -04:00
Namekuji
f2a8d1f680 add toggler 2023-04-30 09:01:42 -04:00
Namekuji
c35f03832d format 2023-04-30 08:08:45 -04:00
Namekuji
ada759a9e5 rename and comment 2023-04-30 07:58:03 -04:00
Namekuji
ce60660128 instance silence 2023-04-30 07:27:55 -04:00
Kaity A
f9a72e1ea6 Add Libre Translate support 2023-04-30 11:09:51 +10:00
fruye
05b2f9b89d fix: Declare /api/v1/accounts/relationships before /api/v1/accounts/:id
Previously the 'relationships' part was considered to be an account id
and was handled by completely different API endpoint.
2023-04-28 20:03:06 +02:00
Kainoa Kanter
b8875beefa Revert "[Fix] Properly replace koa-fix-trailing-slashes with inhouse script (#9870)"
This reverts commit 2cdaad588c82508734d04c2169503782dfe8556a.
2023-04-27 16:32:37 -07:00
Kainoa Kanter
fd91a878c1 Revert "Merge pull request '[feat] Replace Koa-FavICO with a smaller router' (#9853) from daikei/calckey:modularize-favico into develop"
This reverts commit 4f6cae76434d927920ae8eac5fad6b72336f29ac, reversing
changes made to 64a737d001ca9781ae8bb6995cad69219cba3831.
2023-04-27 16:25:13 -07:00
fruye
14e59f2401 fix: Get list titles from Form data when creating and updating lists
This change will actually make it possible for Mastodon clients to
create and rename lists, as they send the title in a Form data instead
of a query string.

https://docs.joinmastodon.org/methods/lists/#form-data-parameters
2023-04-27 22:42:10 +02:00
fruye
67b0e9e2dc fix: Make statusModel created_at fields be ISO 8601 strings
This makes the 'Reactions to this post' status (seen when viewing
a status context) send the correct data type for `created_at` fields.

https://docs.joinmastodon.org/entities/Account/#created_at
https://docs.joinmastodon.org/entities/Status/#created_at
2023-04-27 21:54:51 +02:00
ThatOneCalculator
7d48709b40 fix: style email with inline styles 2023-04-26 20:21:30 -07:00
ThatOneCalculator
3c5fbb7b0b try to fix email style... 2023-04-26 20:04:58 -07:00
ThatOneCalculator
e4ca9590bd fix? 2023-04-26 19:58:26 -07:00
ThatOneCalculator
36aef5a063 fix: add route 2023-04-26 19:51:25 -07:00
ThatOneCalculator
ab61c62f54 feat: frontend interface for post-account creation email verification 2023-04-26 19:44:38 -07:00
Namekuji
dda66daedd feat: reserved usernames (#9917)
This PR adds a feature to prevent users from creating a new account with a reserved username such as root, admin, system, proxy, info, etc...

Reserved usernames can be configured via the config file.

The administrator can create an account with a reserved username via the first setup screen or the control panel.

The existing account of reserved usernames will not be affected.

Co-authored-by: Namekuji <nmkj@mx.kazuno.co>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9917
Co-authored-by: Namekuji <nmkj@noreply.codeberg.org>
Co-committed-by: Namekuji <nmkj@noreply.codeberg.org>
2023-04-26 20:06:18 +00:00
ThatOneCalculator
af4a2f2313 see if this works 2023-04-25 18:21:15 -07:00
ThatOneCalculator
f6d1fa8519 throw different error if following is null 2023-04-25 08:31:05 -07:00
ThatOneCalculator
2b033a813f revert messaging room 2023-04-24 15:45:34 -07:00
naskya
fdb4575f15 fix: boost muting in the recommended timeline (#9906)
Closes: #9905
Co-authored-by: naskya <m@naskya.net>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9906
Co-authored-by: naskya <naskya@noreply.codeberg.org>
Co-committed-by: naskya <naskya@noreply.codeberg.org>
2023-04-24 19:47:56 +00:00
fruye
2ef30e0152 feat: Implement reading Announcements from MastoAPI 2023-04-23 22:17:02 +02:00
naskya
36b88c7286 security: validate image url (#9882)
It looks like url validations are added in f7564d87b0, but I found another validation commit not applied in Calckey, so I cherry-picked 0da0cc80b9 from [Misskey](https://github.com/misskey-dev/misskey).

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Co-authored-by: naskya <m@naskya.net>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9882
Co-authored-by: naskya <naskya@noreply.codeberg.org>
Co-committed-by: naskya <naskya@noreply.codeberg.org>
2023-04-21 01:50:47 +00:00
ThatOneCalculator
dbc25ce574 email styling 2023-04-19 21:26:49 -07:00
ThatOneCalculator
45b3e5635d reaction settings auto reload 2023-04-19 20:46:37 -07:00