Commit Graph

3492 Commits

Author SHA1 Message Date
Namekuji
ec97ccd4c3 do not notify if the target is not following 2023-04-30 19:46:02 -04:00
Namekuji
5fc77586f2 format 2023-04-30 18:01:06 -04:00
Namekuji
8128ef5f01 add db migration 2023-04-30 18:00:19 -04:00
Namekuji
2072d41fcd Merge branch 'develop' into instance-silence 2023-04-30 17:52:05 -04:00
Namekuji
c8de7d818c add silenced colour 2023-04-30 17:45:45 -04:00
Namekuji
688d283986 fix params 2023-04-30 17:32:14 -04:00
Namekuji
7c08ea3232 fix meta fetch 2023-04-30 17:06:43 -04:00
ThatOneCalculator
1fb5635a4d chore: format 2023-04-30 13:27:27 -07: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
ThatOneCalculator
3191853c32 chore: up browser-image-resizer 2023-04-30 13:13:43 -07:00
Kainoa Kanter
4b3a2407c3 Merge pull request 'chore: update mfm-cheat-sheet' (#9967) from naskya/calckey:chore/mfm-cheat-sheet into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9967
2023-04-30 19:37:35 +00:00
Kainoa Kanter
ae7311a6a8 Merge pull request 'keyboard-accessability' (#9974) from Freeplay/calckey:keyboard-accessability into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9974
2023-04-30 19:36:17 +00: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
Freeplay
7e2d5c45d2 Merge branch 'develop' of https://codeberg.org/calckey/calckey into keyboard-accessability 2023-04-30 12:31:41 -04:00
Kaity A
6a509637d5 Implement inbound note edit federation 2023-05-01 02:29:50 +10:00
Freeplay
affeb55c01 Fix jumping to top of page when opening menu
I also thought this would maybe fix one of the focustrap errors in the console, but no.
2023-04-30 11:58:36 -04:00
Namekuji
f0b4e10735 use tab instead of page header 2023-04-30 11:47:39 -04:00
naskya
1d37e78ca2 use new styling method 2023-04-30 23:28:17 +09:00
naskya
0db337b977 more search syntax (although it doesn't appear since the description of the search syntax is commented out) 2023-04-30 23:24:19 +09:00
naskya
426f47fdad add blockMath 2023-04-30 23:18:39 +09: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
ThatOneCalculator
622c2fa499 Merge remote-tracking branch 'weblate/develop' into develop 2023-04-29 19:52:43 -07:00
ThatOneCalculator
9336b6dab0 Revert "Merge pull request 'Add show more button to notifications' (#9942) from Freeplay/calckey:notifications into develop"
This reverts commit 8cb321b110dca7f8020f8a7a9af6a49308a0c036, reversing
changes made to 133391122b77c92bff6e0e94f40cfdea542c6f35.
2023-04-29 19:38:26 -07:00
ThatOneCalculator
ee872b3628 Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-04-29 19:15:47 -07:00
ThatOneCalculator
1051da8fbf Revert "keyboard accessibility (#9725)"
This reverts commit c1d5922acbe7060c0ea779ccf314e9f0e6b91bb3.
2023-04-29 19:14:36 -07:00
Kaitlyn Allan
0f4e88cf53 Remove eslint from calckey-js (use rome) 2023-04-30 11:33:45 +10:00
Kaity A
f9a72e1ea6 Add Libre Translate support 2023-04-30 11:09:51 +10:00
ThatOneCalculator
f1daa11f51 Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-04-29 15:32:38 -07:00
ThatOneCalculator
6eba097e09 new logos 2023-04-29 15:32:33 -07:00
Free
08686da50e keyboard accessibility (#9725)
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9725
Co-authored-by: Free <freeplay@duck.com>
Co-committed-by: Free <freeplay@duck.com>
2023-04-29 22:30:14 +00:00
ThatOneCalculator
1dbcbe9dbb chore: upgrade megalodon 2023-04-29 13:28:24 -07:00
naskya
dbc608a6c8 fix: centering block math (#9946)
Similar to `inlineCode` and `blockCode`, MFM provides two types of formula syntax, `mathInline` and `mathBlock` (I'm curious why these aren't called `inlineMath`/`blockMath`, but oh well)

Other platforms, like GitHub, **Math**todon, my blog, etc., also support these two types of formula representation, and math blocks are centered on (maybe) all such platforms.

![](https://cdn.discordapp.com/attachments/823878222897741868/1101837026304720997/2023-04-29_201943.png)

But Calckey (Misskey v12) don't center math blocks. I'd say this is a bug, and this makes `blockMath` useless (it's just `inlineMath` in a new line).

![](https://cdn.discordapp.com/attachments/823878222897741868/1101837026027917342/2023-04-29_202008.png)

So I fixed this.

![](https://cdn.discordapp.com/attachments/823878222897741868/1101837183574355978/2023-04-29_202854.png)

Co-authored-by: naskya <m@naskya.net>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9946
Co-authored-by: naskya <naskya@noreply.codeberg.org>
Co-committed-by: naskya <naskya@noreply.codeberg.org>
2023-04-29 14:01:24 +00:00
Freeplay
d1cdd58bc1 a 2023-04-29 09:56:28 -04:00
Freeplay
740082a011 Merge branch 'develop' of https://codeberg.org/calckey/calckey into keyboard-accessability 2023-04-29 09:48:10 -04:00
naskya
3e952b3472 chore: update icons on post form 2023-04-29 14:08:11 +09:00
Freeplay
cd4130e22b a 2023-04-28 23:47:13 -04:00
Freeplay
ba21f54469 outline fixes 2023-04-28 23:26:19 -04:00
Freeplay
205c634d41 classic view fixes 2023-04-28 23:18:01 -04:00
Freeplay
a66b334c3f widgets 2023-04-28 22:50:32 -04:00
Freeplay
3647f78747 sidebar focus 2023-04-28 22:40:23 -04:00
Freeplay
bd31d5d0af fix 2023-04-28 22:24:40 -04:00
Freeplay
d21de526ed a 2023-04-28 22:19:02 -04:00
Freeplay
d096d7ea9a focus to media 2023-04-28 22:17:39 -04:00
Freeplay
739e0331a8 make folder dropdown focusable 2023-04-28 22:04:35 -04:00
Freeplay
e52b3cef77 Make accounts in account management page focusable 2023-04-28 21:49:41 -04:00
Freeplay
d8a6ce64a3 Fix focusing avatars in weird places 2023-04-28 21:39:48 -04:00
Freeplay
9e99df6e82 fix subnote 2023-04-28 21:22:29 -04:00
Freeplay
7c698d1697 consistency + fix 2023-04-28 21:18:00 -04:00
Freeplay
efcd0dd71b focus last element on bg click 2023-04-28 20:52:09 -04:00
Freeplay
b8ca00c593 fixes? 2023-04-28 20:47:57 -04:00
Freeplay
ec37278211 fixes 2023-04-28 20:26:10 -04:00
Kainoa Kanter
b975039a0f Merge pull request 'Add show more button to notifications' (#9942) from Freeplay/calckey:notifications into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9942
2023-04-29 00:05:53 +00:00
Freeplay
14ec973c70 add the focus trap thingies again 2023-04-28 19:57:19 -04:00
Freeplay
10b3079658 Fix focusing inside of CW's 2023-04-28 19:28:25 -04:00
Freeplay
61d7cb173a Merge branch 'develop' of https://codeberg.org/calckey/calckey into keyboard-accessability 2023-04-28 19:06:21 -04:00
Freeplay
0150a41a0b Add show more button to notifications + make show more button into its own component 2023-04-28 18:18:09 -04:00
Kainoa Kanter
fb24378ff9 Merge pull request 'fix: Declare /api/v1/accounts/relationships before /api/v1/accounts/:id' (#9938) from fruye/calckey:account-relationships-fix into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9938
2023-04-28 21:47:17 +00:00
Kainoa Kanter
e547f31d64 Merge pull request 'Fix dot menu in welcome page' (#9939) from esm/calckey:develop into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9939
2023-04-28 21:46:29 +00:00
Gear
7bafca446c Add documentation for various MFM functions 2023-04-28 16:01:09 -04:00
Essem
212420820a Fix dot menu in welcome page 2023-04-28 13:19:57 -05: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
Kainoa Kanter
7bcb7270b0 Merge pull request 'add additional information & show more button in user preview popup' (#9926) from Freeplay/calckey:userpopup into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9926
2023-04-27 13:24:13 +00:00
Freeplay
0225711b63 add additional information & show more button in user preview popup 2023-04-27 08:16:25 -04:00
ThatOneCalculator
5a09c62a2e hide for now 2023-04-27 01:22:50 -07:00
ThatOneCalculator
cac677893c it's always pleroma 2023-04-27 01:17:09 -07:00
ThatOneCalculator
790d9a4179 fix disabled, formatting 2023-04-27 01:16:33 -07:00
ThatOneCalculator
b3268de250 import formradio 2023-04-27 01:12:02 -07:00
ThatOneCalculator
bc00184399 refactor: change import type to radio 2023-04-27 01:08:28 -07:00
ThatOneCalculator
7d48709b40 fix: style email with inline styles 2023-04-26 20:21:30 -07:00
ThatOneCalculator
4ae131cc09 im dumb 2023-04-26 20:10:42 -07:00
ThatOneCalculator
3c5fbb7b0b try to fix email style... 2023-04-26 20:04:58 -07:00
ThatOneCalculator
e171cbdcbf mfw 2023-04-26 20:03:04 -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
ThatOneCalculator
a39c6d50c0 notes -> posts 2023-04-26 19:02:38 -07:00
ThatOneCalculator
bf2818ed86 Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-04-26 15:10:48 -07:00
ThatOneCalculator
0a5501ab1a chore: more rpine for server activity widget 2023-04-26 15:10:33 -07:00
yawhn
488175be2f Fix: Inline Ads bug (#9922)
This PR fixes this issue: https://codeberg.org/calckey/calckey/issues/9747

Co-authored-by: ThatOneCalculator <kainoa@t1c.dev>
Co-authored-by: yawhn <kordaris@gmail.com>
Co-authored-by: Otto Richter <otto@codeberg.org>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9922
Co-authored-by: yawhn <yawhn@noreply.codeberg.org>
Co-committed-by: yawhn <yawhn@noreply.codeberg.org>
2023-04-26 21:38:44 +00:00
ThatOneCalculator
fdcbf86823 chore: formatting 2023-04-26 14:20:27 -07:00
ThatOneCalculator
3aa5b8237d Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-04-26 14:20:02 -07:00
ThatOneCalculator
5d182895f0 Revert "chore: update summaly"
This reverts commit b60a3b509e6131ce8d29d7304dfa200c4b493e35.
2023-04-26 14:19:55 -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
Free
908765106d super minor styling stuff (#9918)
Co-authored-by: Freeplay <Freeplay@duck.com>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9918
Co-authored-by: Free <freeplay@duck.com>
Co-committed-by: Free <freeplay@duck.com>
2023-04-26 20:03:32 +00:00
naskya
faf9b6e5a2 fix an instance ticker bug 2023-04-27 03:29:07 +09:00
ThatOneCalculator
a7d2eb79b1 posts 2023-04-25 19:05:29 -07:00
ThatOneCalculator
c02217c6ae rm todo 2023-04-25 18:40:10 -07:00
ThatOneCalculator
17af43301a use chartLimit 2023-04-25 18:34:04 -07:00
ThatOneCalculator
565630fff0 mmm matrix math yummy 2023-04-25 18:31:04 -07:00
ThatOneCalculator
af4a2f2313 see if this works 2023-04-25 18:21:15 -07:00
ThatOneCalculator
8a159502a5 typo 2023-04-25 18:16:14 -07:00
ThatOneCalculator
aaccb9f989 feat: heatmap option for activity widget 2023-04-25 18:06:21 -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
ThatOneCalculator
49e0399881 chore: up pakcages 2023-04-23 15:34:50 -07:00
fruye
2ef30e0152 feat: Implement reading Announcements from MastoAPI 2023-04-23 22:17:02 +02:00
ThatOneCalculator
8790303669 chore: formatting 2023-04-22 17:22:53 -07:00
Free
9f4a000361 Notes refactoring (?) + new CW design (#9888)
Moved a lot of the duplicated code in the different note components into the SubNoteContent component

I've also replaced the detailed note stuff with just the MkNote component

Co-authored-by: Freeplay <Freeplay@duck.com>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9888
Co-authored-by: Free <freeplay@duck.com>
Co-committed-by: Free <freeplay@duck.com>
2023-04-23 00:21:38 +00:00
tinaxd
60bd7eaf44 fix: ドライブアップロードで413が返ってきたときにエラーメッセージを表示 (#10680) 2023-04-22 17:19:52 -07: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
naskya
def5075bb5 feat: make it toggleable whether to disable emojis in notifications (#9880)
I talked about feature #9865 on my fedi account and received a comment like, "I don't care about emoji reactions in my timelines, but I do care what reactions I get!"

Adding too many options is bad, but I agreed that making it toggleable whether to disable emojis in notifications is helpful, so I added this feature. This allows you to check emoji reactions to your posts in notifications while using the simple UI. I'd say this provides an experience that neither Mastodon nor Misskey has.

The new setting item shows up only when you disable emoji reactions.

Co-authored-by: naskya <m@naskya.net>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9880
Co-authored-by: naskya <naskya@noreply.codeberg.org>
Co-committed-by: naskya <naskya@noreply.codeberg.org>
2023-04-20 07:57:36 +00:00
ThatOneCalculator
f1fa00f962 chore: update summaly 2023-04-19 21:28:43 -07:00
ThatOneCalculator
dbc25ce574 email styling 2023-04-19 21:26:49 -07:00
ThatOneCalculator
05de2f8a82 chore: formatting 2023-04-19 21:06:05 -07:00
ThatOneCalculator
67d6c74087 fix header tabs 2023-04-19 21:05:41 -07:00
ThatOneCalculator
5c0af1fda5 why was the order reversed? 2023-04-19 21:02:12 -07:00
ThatOneCalculator
98d4765615 fix tag on explore 2023-04-19 21:00:01 -07:00
ThatOneCalculator
45b3e5635d reaction settings auto reload 2023-04-19 20:46:37 -07:00
naskya
914d8fa9db feat: add an option to disable emoji reactions (#9878)
Closes: #9865
Co-authored-by: naskya <m@naskya.net>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9878
Co-authored-by: naskya <naskya@noreply.codeberg.org>
Co-committed-by: naskya <naskya@noreply.codeberg.org>
2023-04-20 02:53:28 +00:00
naskya
40ac16afba Fix the search bar bug on iOS 2023-04-20 04:21:28 +09:00
ThatOneCalculator
f80ac68035 gallery styling 2023-04-18 11:58:04 -07:00
ThatOneCalculator
cc73ec8d62 Revert "update locales for calckey"
This reverts commit 8ab6a4c442175630e1e32d2a3d2d478878a4600e.
2023-04-17 15:37:05 -07:00
daikei
ebb93328d5 [Fix] Properly replace koa-fix-trailing-slashes with inhouse script (#9870)
This follows up #9869, with an awaited ``next()``, fixing the script.

> I'm looking to remove another 5kb package, replacing it with an in-house script. The commit i'm proposing translates the entire job of koa-remove-trailing-slashes into a 206 byte script that gets the job done well.

(just to show the code does work)
![](https://s3.kitsunes.club/storage/41c7854d-d01e-4f4c-94dd-8b651e2d7367.gif)

Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9870
Co-authored-by: daikei <daikei@noreply.codeberg.org>
Co-committed-by: daikei <daikei@noreply.codeberg.org>
2023-04-17 22:36:22 +00:00
ThatOneCalculator
230ca29a1d update locales for calckey 2023-04-17 03:07:07 -07:00
ThatOneCalculator
5856a3c3a5 chore: formatting 2023-04-17 01:47:53 -07:00
ThatOneCalculator
79d9b1bf13 Revert "[Fix] remove-trailing-slashes with inhouse script (#9869)"
This reverts commit 07db141fc0f1d0c55a930378f3adc81f23dbda44.
2023-04-17 01:22:31 -07:00
ThatOneCalculator
4a7a79c3d5 Revert "formatting"
This reverts commit b32e1b56fa0acda38a91f2851aea398204d02417.
2023-04-17 01:22:25 -07:00
ThatOneCalculator
e006d96aac formatting 2023-04-17 01:03:56 -07:00
daikei
1df7458d4e [Fix] remove-trailing-slashes with inhouse script (#9869)
I'm looking to remove another 5kb package, replacing it with an in-house script. The commit i'm proposing translates the entire job of `koa-remove-trailing-slashes` into a 206 byte script that gets the job done well.

Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9869
Co-authored-by: daikei <daikei@noreply.codeberg.org>
Co-committed-by: daikei <daikei@noreply.codeberg.org>
2023-04-17 08:02:29 +00:00
ThatOneCalculator
ca7f24617b MkNumber for data in MkUserInfo 2023-04-16 19:26:57 -07:00
ThatOneCalculator
1678add210 style announcement image 2023-04-16 19:04:28 -07:00
ThatOneCalculator
098d19cae1 move hover to entire ticker 2023-04-16 17:52:14 -07:00
ThatOneCalculator
772272a476 remove duplicate styles 2023-04-16 17:51:34 -07:00
ThatOneCalculator
6d47c9d555 capitalize string 2023-04-16 17:50:05 -07:00
ThatOneCalculator
61ce6fd0ea feat: software name on hover icon in instance ticker 2023-04-16 17:35:10 -07:00
Kaity A
6636e19e41 Add continuation for thread reply level (#9821)
I think this will solve the continuation issue in threads where the reply level reaches 12 deep in the conversation thread, without getting to indent depth 5.

Co-authored-by: Kaity A <kaity@theallans.com.au>
Co-authored-by: Kaity A <supakaity@blahaj.zone>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9821
Co-authored-by: Kaity A <supakaity@noreply.codeberg.org>
Co-committed-by: Kaity A <supakaity@noreply.codeberg.org>
2023-04-15 21:56:17 +00:00
ThatOneCalculator
aef1c1582d Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-04-15 13:16:17 -07:00
ThatOneCalculator
e7c17bd8d8 read messages with dialog 2023-04-15 13:16:13 -07:00
naskya
f7203b738c fix: disable "Search" keyword (#9856)
Related: #9816 #9830
I was so careless that I didn't know "Search" was also a keyword. I disabled that and fixed a minor bug.

Co-authored-by: naskya <m@naskya.net>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9856
Co-authored-by: naskya <naskya@noreply.codeberg.org>
Co-committed-by: naskya <naskya@noreply.codeberg.org>
2023-04-15 17:53:17 +00:00
naskya
569f754d85 feat: rename workspaces 2023-04-16 01:05:18 +09:00
ThatOneCalculator
24c23c6474 chore: formatting 2023-04-14 15:35:18 -07:00
Kainoa Kanter
b91f09b004 Merge pull request '[feat] Replace Koa-FavICO with a smaller router' (#9853) from daikei/calckey:modularize-favico into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9853
2023-04-14 22:33:49 +00:00
naskya
ec96805ddc change regex priority 2023-04-15 01:41:49 +09:00
naskya
3ecd3cf6a1 fix a bug 2023-04-15 01:37:53 +09:00
daikei
2aa0fa37cf remove koa-favicon 2023-04-14 16:20:27 +00:00
daikei
74a43b7478 replace koa-favicon with a small patch of code
This should remove a needless dependency and replace it with a tiny, simple koa router
2023-04-14 16:18:50 +00:00
naskya
d73a87b1b9 prevent crashes due to timezone === null 2023-04-15 01:01:36 +09:00
naskya
4fc833c84c allow acute accent 2023-04-15 01:00:43 +09:00
naskya
818bdcbd18 improve city search 2023-04-15 00:40:13 +09:00
ThatOneCalculator
4de7c51623 only show index posts action if admin 2023-04-13 20:11:39 -07:00
ThatOneCalculator
3d56921727 fix: 🔒 don't show notes with CW on welcome screen
Closes #9849
2023-04-13 19:46:52 -07:00
ThatOneCalculator
3ec3be9abe Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-04-13 09:43:22 -07:00
ThatOneCalculator
224fdf4dc5 chore: up swc 2023-04-13 09:43:13 -07:00
naskya
5300129357 Change boost button labels 2023-04-13 11:58:42 +09:00
naskya
9751de9820 chore: update mfm-js version (#9844)
This resolves #9757.

Co-authored-by: naskya <m@naskya.net>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9844
Co-authored-by: naskya <naskya@noreply.codeberg.org>
Co-committed-by: naskya <naskya@noreply.codeberg.org>
2023-04-13 00:33:53 +00:00
ThatOneCalculator
9ba0a3df24 Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-04-12 17:19:17 -07:00
ThatOneCalculator
b62549cf69 chore: formatting 2023-04-12 17:19:14 -07:00
naskya
845285fad6 correct position 2023-04-12 20:24:54 +09:00
naskya
58b3950680 Allow to mute my own boosts 2023-04-12 15:52:46 +09:00
ThatOneCalculator
3b251e3a46 fix lookup instance 2023-04-11 10:32:51 -07:00
ThatOneCalculator
53b21cd455 feat: lookup post action 2023-04-11 10:12:17 -07:00
ThatOneCalculator
fce8b16144 feat: index posts action 2023-04-11 10:07:03 -07:00
ThatOneCalculator
b1e1c1957c Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-04-11 10:03:31 -07:00
ThatOneCalculator
9b65711193 feat: admin lookup files/instance 2023-04-11 10:03:25 -07:00
naskya
9abd49bc88 Partially disable search MFM (#9830)
Honestly, this workaround is pure garbage when this can be achieved by deleting a small piece of code from mfm-js, but this closes #9816 anyway 😅

Co-authored-by: naskya <m@naskya.net>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9830
Co-authored-by: naskya <naskya@noreply.codeberg.org>
Co-committed-by: naskya <naskya@noreply.codeberg.org>
2023-04-10 05:42:17 +00:00
Kainoa Kanter
5f0103dff1 fix chat metadata 2023-04-08 00:18:37 -07:00
Kainoa Kanter
ce9c671816 fix 2023-04-08 00:10:16 -07:00
Kainoa Kanter
a9a1f91658 Merge branch 'develop' of https://codeberg.org/calckey/calckey into develop 2023-04-07 23:56:06 -07:00
Kainoa Kanter
ca0189f1fd feat: mark all as read action in chat 2023-04-07 23:56:02 -07:00
Kainoa Kanter
9be3fca2b8 feat: messaging room banner 2023-04-07 23:55:42 -07:00
Kainoa Kanter
5f6358c4bd Merge pull request 'fix: retrieve remote user again when migrating' (#9826) from nmkj/calckey:fix-alsoknownas into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9826
2023-04-08 06:15:27 +00:00
Kainoa Kanter
6d5129c938 move hidden hashtag menu 2023-04-07 22:54:25 -07:00
Kainoa Kanter
79ae442ba3 back button 2023-04-07 22:46:41 -07:00
Kainoa Kanter
1affde0a8c chore: formatting 2023-04-07 22:46:10 -07:00
Namekuji
f2cf92aea1 fetch person again 2023-04-08 01:44:50 -04:00
naskya
0ef179e35f feat: per-user boost muting (#9825)
Cherry-picked from FoundKey/c414f24a2c ([commit](c414f24a2c))

This allows us to hide specified users' boosts from the timelines (the boosts will still be visible on their user page).

Co-authored-by: Hélène <pleroma-dev@helene.moe>
Co-authored-by: naskya <m@naskya.net>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9825
Co-authored-by: naskya <naskya@noreply.codeberg.org>
Co-committed-by: naskya <naskya@noreply.codeberg.org>
2023-04-08 05:44:36 +00:00
amy bones
d562f0c3c8 feat: add hidden hashtags management page
This simply adds a basic admin UI to blocklist some hashtags from displaying in
the trending widget. The facility existed already in the backend, but there was
no UI to manipulate the list save for executing raw SQL or API calls.
2023-04-07 18:57:52 -07:00
Kainoa Kanter
8cb98945e4 hotfix: fix crash 2023-04-07 17:58:29 -07:00
Kainoa Kanter
799ac84ee3 Revert "Revert "Incorporate calckey-js into calckey repository (#9820)""
This reverts commit 8033492c7c4827fbff05782d08ae65bc3440c080.
2023-04-07 17:44:27 -07:00
Kainoa Kanter
a5c4d0a7bd Revert "Incorporate calckey-js into calckey repository (#9820)"
This reverts commit 37c0423da6bce9b86b8f4f9a5b78f640166dd3d5.
2023-04-07 17:35:10 -07:00
Kainoa Kanter
4cf87ca92f fix: typo 2023-04-07 17:25:24 -07:00
Kainoa Kanter
0c17baa47f Merge pull request 'fix: followers transfer via account migration' (#9822) from nmkj/calckey:fix-move into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9822
2023-04-08 00:06:08 +00:00
Kainoa Kanter
8f35b66bbb fix: format script; chore: format 2023-04-07 17:01:42 -07:00
Kainoa Kanter
1309bafb07 chore: rome formatting 2023-04-07 16:47:04 -07:00
Namekuji
a5468a8204 fix move inbox 2023-04-07 17:48:25 -04:00
Kaity A
21905514d4 Incorporate calckey-js into calckey repository (#9820)
Closes #9712.

Co-authored-by: Kaity A <kaity@theallans.com.au>
Co-authored-by: Ken Allan <ken@norganna.com>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9820
Co-authored-by: Kaity A <supakaity@noreply.codeberg.org>
Co-committed-by: Kaity A <supakaity@noreply.codeberg.org>
2023-04-07 14:25:22 +00:00
Namekuji
177e9a50b2 fix id of move activity 2023-04-07 06:39:29 -04:00
Kainoa Kanter
07180d073b menu opts 2023-04-06 23:02:07 -07:00
Kainoa Kanter
dac3b02a3f days for featured 2023-04-06 22:48:07 -07:00
Kainoa Kanter
ae53b4e5d3 refactor 2023-04-06 22:28:44 -07:00
Kainoa Kanter
7b3993c83e feat: blur muted text 2023-04-06 22:11:10 -07:00
Kainoa Kanter
37d82c3b75 Merge pull request 'feat: give reason for soft word mutes' (#9815) from amybones/calckey:feat_soft_mute_reasons into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9815
2023-04-07 05:07:24 +00:00
Kainoa Kanter
d92cfb8cdf formatting 2023-04-06 18:56:46 -07:00
amy bones
3819e921cc feat: give reason for soft mutes
Bad UX when a post is muted and it just says "Some chick said something". Now
provide some context too to help people decide if they want to view something
potentially triggering.
2023-04-05 21:28:26 -07:00
Nya Candy
98e95d79b7 fix(client): userpage ui (#9179)
* fix(unverified): clip pages ui

* fix(unverified): user page width

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-04-05 15:45:16 -07:00
ThatOneCalculator
ada9d8206c Revert "mkv13 media list"
This reverts commit c2ac53c66b5cade26afd5622ad800bec7edffa92.
2023-04-04 23:58:55 -07:00
ThatOneCalculator
6718b7e26b typo 2023-04-04 22:59:41 -07:00
ThatOneCalculator
6e032b5203 oops 2023-04-04 22:55:36 -07:00
ThatOneCalculator
6d247bbdac chore: back button in more places 2023-04-04 22:52:41 -07:00
ThatOneCalculator
0c44ffcca2 chore: back button in control panel 2023-04-04 22:49:17 -07:00
ThatOneCalculator
a47a8afa56 final fix? 2023-04-04 22:41:57 -07:00
ThatOneCalculator
20c33e9cdf import i18n 2023-04-04 22:22:35 -07:00
ThatOneCalculator
6ce03980c0 more fix 2023-04-04 22:12:55 -07:00
ThatOneCalculator
4d04fc68e5 fix 2023-04-04 22:03:24 -07:00
ThatOneCalculator
45b6449106 display back button in note 2023-04-04 21:59:35 -07:00
ThatOneCalculator
29799e36aa back button in settings 2023-04-04 21:59:11 -07:00
ThatOneCalculator
c030a227e5 dont change state 2023-04-04 21:53:17 -07:00
ThatOneCalculator
6c2bafe062 mkv13 media list 2023-04-04 21:47:30 -07:00
amybones
89e27d8418 fix: toggling the blocking state from the instance-info admin view (#9809)
Because the admin meta information was never loaded on this page, no amount of toggling the block or suspend sliders on the instance-info page (e.g. `https://calckey.example.com/instance-info/instance.tld`) will result in the instance actually being added to the blocklist. You could still do it from the bulk blocklist management page, but that can get unwieldy quickly if you just want to do a quick block of an instance.

Co-authored-by: amy bones <amy@spookygirl.boo>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9809
Co-authored-by: amybones <amybones@noreply.codeberg.org>
Co-committed-by: amybones <amybones@noreply.codeberg.org>
2023-04-04 03:46:23 +00:00
ThatOneCalculator
3e7d64ac4b feat: push notifs button
Co-authored-by: Tamania <tamaina@hotmail.co.jp>
2023-04-03 20:36:59 -07:00
ThatOneCalculator
13bae2e165 fix: 🐛 go to last timeline selected 2023-04-03 16:02:09 -07:00
ThatOneCalculator
3bf522db1e fix: buttons not showing 2023-04-03 10:03:35 -07:00
Kainoa Kanter
8cdadd70ba Merge pull request 'Require timeline endpoints to return the requested limit of notes.' (#9805) from supakaity/hajkey:hk/notes-pagination into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9805
2023-04-03 17:02:01 +00:00
Kaity A
d7e253eb62 Requested limit to be fulfilled if possible 2023-04-04 02:50:53 +10:00
amy bones
3f3bf0a9e7 fix: changing passwords, 2fa, and password resets.
The argon2 usage was only implemented for sign-ins which broke a bunch of other
endpoints and features.
2023-04-03 05:14:50 -07:00
Free
6d8d5bc5aa note-improvements (#9799)
Boop!

Co-authored-by: Freeplay <Freeplay@duck.com>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9799
Co-authored-by: Free <freeplay@duck.com>
Co-committed-by: Free <freeplay@duck.com>
2023-04-02 21:39:25 +00:00
Kaity A
eaa6bc2da3 Separate cat-avatar mode and speak-as-cat nyanification 2023-04-02 21:24:12 +10:00
ThatOneCalculator
461678394e styling 2023-04-02 01:00:40 -07:00
ThatOneCalculator
4b770363f5 remove console.log 2023-04-02 00:42:35 -07:00
ThatOneCalculator
de75999833 attempt fix 2023-04-02 00:21:43 -07:00
ThatOneCalculator
eb6b4b83fd correct color for help button 2023-04-02 00:13:26 -07:00
ThatOneCalculator
1576c4ff64 fix: dialogs not coming up 2023-04-02 00:07:48 -07:00
ThatOneCalculator
b98c8c526c fix button alignments 2023-04-01 23:53:31 -07:00
ThatOneCalculator
db77425eac don't show delete button if profile is default 2023-04-01 23:44:59 -07:00
ThatOneCalculator
261b71dac5 style 2023-04-01 23:34:02 -07:00
ThatOneCalculator
c5522d0207 fix import 2023-04-01 23:28:55 -07:00
ThatOneCalculator
a4540eb708 don't need extra template 2023-04-01 21:39:48 -07:00
ThatOneCalculator
33718bdd5d chore: 🎨 format 2023-04-01 21:10:31 -07:00
ThatOneCalculator
cb1b13e879 fix: 🛂 no longer need 2fa for webauthn 2023-04-01 21:04:22 -07:00
ThatOneCalculator
6f79abbcfc fix help button alignment iconsOnly 2023-04-01 16:18:01 -07:00
ThatOneCalculator
d13dbe060d fix #9784 2023-04-01 16:14:11 -07:00
ThatOneCalculator
3b726e73b4 Revert "fix: 🐛 make recently used group"
This reverts commit 806591cb35d3155177ed86883a7412dfd08c3141.
2023-04-01 12:22:46 -07:00
ThatOneCalculator
cab3a19d0a fix: 🐛 make recently used group
Closes #9784
2023-04-01 12:19:27 -07:00
ThatOneCalculator
7522cdf445 fix migration 2023-04-01 12:14:54 -07:00
ThatOneCalculator
cc02298f8e add top margin to help button 2023-04-01 12:05:27 -07:00
ThatOneCalculator
64d6b987ab chore: add cleanup migration 2023-04-01 12:03:49 -07:00
ThatOneCalculator
711ef03f39 feat: help menu in navbar 2023-04-01 11:56:43 -07:00
ThatOneCalculator
58afaee630 fix search import 2023-04-01 11:39:27 -07:00
ThatOneCalculator
f07bcf2c5a feat: search now searches posts and users 2023-04-01 11:28:34 -07:00
Kainoa Kanter
e583bd9665 Merge pull request 'fix: another bug in KaTeX macro expander' (#9795) from naskya/calckey:fix/katex-macro-2 into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9795
2023-04-01 16:28:48 +00:00
Kaitlyn Allan
52f06a2e14 Clarify variable names 2023-04-01 22:49:14 +10:00
naskya
928c539440 Fix a bug in macro expander 2023-04-01 21:18:55 +09:00
Kaitlyn Allan
a86f8d4911 Improve performance of charts
Fix some undefined !== deleted issues
2023-04-01 21:42:03 +10:00
naskya
55cf59667b feat: add option to boost with Home and Followers-only visibility (#9788)
Closes: #9777

This pull request includes UI changes (please check the attached images).

Co-authored-by: naskya <m@naskya.net>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9788
Co-authored-by: naskya <naskya@noreply.codeberg.org>
Co-committed-by: naskya <naskya@noreply.codeberg.org>
2023-04-01 06:53:29 +00:00
ThatOneCalculator
1f6fcdad69 audio on mobile fix 2023-03-31 22:06:21 -07:00
kabo2468
021f667976 fix: don't nyaize quoted text 2023-03-31 23:30:57 +09:00
ThatOneCalculator
df83d4c211 add argon 2023-03-30 19:19:09 -07:00
ThatOneCalculator
19c4a59513 formatting 2023-03-30 19:10:03 -07:00
ThatOneCalculator
5be627b869 feat: 🔒 add argon2 support
Passwords will be automatically re-hashed on sign-in. All new password hashes will be argon2 by default.  This uses argon2id and is not configurable. In the very unlikely case someone has more specific needs, a fork is recommended.  ChangeLog: Added  Co-authored-by: Chloe Kudryavtsev <code@toast.bunkerlabs.net>

Breaks Calckey -> Misskey migration, but fixes Foundkey -> Calckey migration
2023-03-30 19:09:44 -07:00
s1idewhist1e
981d3ee725 Refactor: use rust for native mastodon id conversion (#9786)
This uses [napi-rs](https://napi.rs/) to allow for automatic generation of node bindings for the native code.

I also changed the `isolatedModules` TS flag to false to allow for `static enum` to be shared across modules. It doesn't seem to be necessary for the build system that CK uses.

Currently this method does not work with ID generators with longer IDs. Likely the best solution is to add another key in the database.

Some benchmarks for 1 million conversions:

```
	node, x1_000_000: 2.847s
	rust, x1_000_000: 1.265s
```

There are still optimizations that can be made, but I think this is a good starting point and a good way to bring rust into the CK stack.

Co-authored-by: s1idewhist1e <trombonedude05@gmail.com>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9786
Co-authored-by: s1idewhist1e <s1idewhist1e@noreply.codeberg.org>
Co-committed-by: s1idewhist1e <s1idewhist1e@noreply.codeberg.org>
2023-03-31 01:58:28 +00:00