Commit Graph

3314 Commits

Author SHA1 Message Date
ThatOneCalculator d493665922
Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-04-29 19:15:47 -07:00
ThatOneCalculator d1c1d75388
Revert "keyboard accessibility (#9725)"
This reverts commit c1d5922acb.
2023-04-29 19:14:36 -07:00
Kaitlyn Allan 461fdd1408
Remove eslint from calckey-js (use rome) 2023-04-30 11:33:45 +10:00
Kaity A 914355c644
Add Libre Translate support 2023-04-30 11:09:51 +10:00
ThatOneCalculator 2b3191b6cd
Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-04-29 15:32:38 -07:00
ThatOneCalculator 41151ca918
new logos 2023-04-29 15:32:33 -07:00
Free c1d5922acb 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 11b93d2d9a
chore: upgrade megalodon 2023-04-29 13:28:24 -07:00
naskya 6cfb83660f 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 544e4bab51 a 2023-04-29 09:56:28 -04:00
Freeplay 1ee8b7285e Merge branch 'develop' of https://codeberg.org/calckey/calckey into keyboard-accessability 2023-04-29 09:48:10 -04:00
naskya cc0a478b65
chore: update icons on post form 2023-04-29 14:08:11 +09:00
Freeplay 0b758321ba a 2023-04-28 23:47:13 -04:00
Freeplay 5e01581d06 outline fixes 2023-04-28 23:26:19 -04:00
Freeplay ca68d4fd28 classic view fixes 2023-04-28 23:18:01 -04:00
Freeplay 9392d84625 widgets 2023-04-28 22:50:32 -04:00
Freeplay cb017d1006 sidebar focus 2023-04-28 22:40:23 -04:00
Freeplay 70c8690623 fix 2023-04-28 22:24:40 -04:00
Freeplay c55b521e57 a 2023-04-28 22:19:02 -04:00
Freeplay af62073544 focus to media 2023-04-28 22:17:39 -04:00
Freeplay 1389dd9000 make folder dropdown focusable 2023-04-28 22:04:35 -04:00
Freeplay 4bda4ffffc Make accounts in account management page focusable 2023-04-28 21:49:41 -04:00
Freeplay 3a49c3eb37 Fix focusing avatars in weird places 2023-04-28 21:39:48 -04:00
Freeplay 609f4cff5b fix subnote 2023-04-28 21:22:29 -04:00
Freeplay 253ba164e5 consistency + fix 2023-04-28 21:18:00 -04:00
Freeplay 81121533b0 focus last element on bg click 2023-04-28 20:52:09 -04:00
Freeplay db692fcf83 fixes? 2023-04-28 20:47:57 -04:00
Freeplay 23beca49e3 fixes 2023-04-28 20:26:10 -04:00
Kainoa Kanter 8cb321b110 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 3be2147397 add the focus trap thingies again 2023-04-28 19:57:19 -04:00
Freeplay 6498a90dc1 Fix focusing inside of CW's 2023-04-28 19:28:25 -04:00
Freeplay a39802cf92 Merge branch 'develop' of https://codeberg.org/calckey/calckey into keyboard-accessability 2023-04-28 19:06:21 -04:00
Freeplay 3cc7979aad Add show more button to notifications + make show more button into its own component 2023-04-28 18:18:09 -04:00
Kainoa Kanter 68172bc599 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 6157c41ffb 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 cff9276f2a Add documentation for various MFM functions 2023-04-28 16:01:09 -04:00
Essem 1de71cd440
Fix dot menu in welcome page 2023-04-28 13:19:57 -05:00
fruye a18e1cccc6 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 1865a9c204 Revert "[Fix] Properly replace koa-fix-trailing-slashes with inhouse script (#9870)"
This reverts commit 2cdaad588c.
2023-04-27 16:32:37 -07:00
Kainoa Kanter 431a08d06e Revert "Merge pull request '[feat] Replace Koa-FavICO with a smaller router' (#9853) from daikei/calckey:modularize-favico into develop"
This reverts commit 4f6cae7643, reversing
changes made to 64a737d001.
2023-04-27 16:25:13 -07:00
fruye f8178a9535 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 e5fcde758f 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 dd58a9a3ff 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 bd8d8af9ac add additional information & show more button in user preview popup 2023-04-27 08:16:25 -04:00
ThatOneCalculator 0fdb5c4230
hide for now 2023-04-27 01:22:50 -07:00
ThatOneCalculator 9db2930f68
it's always pleroma 2023-04-27 01:17:09 -07:00
ThatOneCalculator 8a950d6a3e
fix disabled, formatting 2023-04-27 01:16:33 -07:00
ThatOneCalculator d223007295
import formradio 2023-04-27 01:12:02 -07:00
ThatOneCalculator 17b05511aa
refactor: change import type to radio 2023-04-27 01:08:28 -07:00
ThatOneCalculator df8db1171a
fix: style email with inline styles 2023-04-26 20:21:30 -07:00
ThatOneCalculator a47d05dcda
im dumb 2023-04-26 20:10:42 -07:00
ThatOneCalculator e048d951fc
try to fix email style... 2023-04-26 20:04:58 -07:00
ThatOneCalculator ddc487cb39
mfw 2023-04-26 20:03:04 -07:00
ThatOneCalculator a44fee3aae
fix? 2023-04-26 19:58:26 -07:00
ThatOneCalculator 8e22a211d1
fix: add route 2023-04-26 19:51:25 -07:00
ThatOneCalculator 0a2335ff75
feat: frontend interface for post-account creation email verification 2023-04-26 19:44:38 -07:00
ThatOneCalculator 868489d5ac
notes -> posts 2023-04-26 19:02:38 -07:00
ThatOneCalculator 9177825990
Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-04-26 15:10:48 -07:00
ThatOneCalculator 2c98d43996
chore: more rpine for server activity widget 2023-04-26 15:10:33 -07:00
yawhn e7fe452f22 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 1bab53fed2
chore: formatting 2023-04-26 14:20:27 -07:00
ThatOneCalculator 3dfb43be84
Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-04-26 14:20:02 -07:00
ThatOneCalculator fca37cd86e
Revert "chore: update summaly"
This reverts commit b60a3b509e.
2023-04-26 14:19:55 -07:00
Namekuji eebfdf8559 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 48b8aeaf62 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 eea98cb6c2
fix an instance ticker bug 2023-04-27 03:29:07 +09:00
ThatOneCalculator 6b87d708f3
posts 2023-04-25 19:05:29 -07:00
ThatOneCalculator 47744afdbc
rm todo 2023-04-25 18:40:10 -07:00
ThatOneCalculator d2fd719cab
use chartLimit 2023-04-25 18:34:04 -07:00
ThatOneCalculator 19783a9002
mmm matrix math yummy 2023-04-25 18:31:04 -07:00
ThatOneCalculator a6761ec278
see if this works 2023-04-25 18:21:15 -07:00
ThatOneCalculator 8fa0919810
typo 2023-04-25 18:16:14 -07:00
ThatOneCalculator 221bac64db
feat: heatmap option for activity widget 2023-04-25 18:06:21 -07:00
ThatOneCalculator 9b129be524
throw different error if following is null 2023-04-25 08:31:05 -07:00
ThatOneCalculator b2e80db219
revert messaging room 2023-04-24 15:45:34 -07:00
naskya df8294bde3 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 64a1c24686
chore: up pakcages 2023-04-23 15:34:50 -07:00
fruye 1a39e7a48e feat: Implement reading Announcements from MastoAPI 2023-04-23 22:17:02 +02:00
ThatOneCalculator 591e44ccd6
chore: formatting 2023-04-22 17:22:53 -07:00
Free 29818a067b 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 4974088061
fix: ドライブアップロードで413が返ってきたときにエラーメッセージを表示 (#10680) 2023-04-22 17:19:52 -07:00
naskya 00b45ad726 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 e0d76ef8ef 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 b60a3b509e
chore: update summaly 2023-04-19 21:28:43 -07:00
ThatOneCalculator 89d2a83d7a
email styling 2023-04-19 21:26:49 -07:00
ThatOneCalculator a1f723a18e
chore: formatting 2023-04-19 21:06:05 -07:00
ThatOneCalculator 08930c6de2
fix header tabs 2023-04-19 21:05:41 -07:00
ThatOneCalculator e3e3ee8bb0
why was the order reversed? 2023-04-19 21:02:12 -07:00
ThatOneCalculator f584c460e3
fix tag on explore 2023-04-19 21:00:01 -07:00
ThatOneCalculator c6f0047aed
reaction settings auto reload 2023-04-19 20:46:37 -07:00
naskya 0a173a3c1c 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 70e4b36bd3
Fix the search bar bug on iOS 2023-04-20 04:21:28 +09:00
ThatOneCalculator 1ddb15909d
gallery styling 2023-04-18 11:58:04 -07:00
ThatOneCalculator d6a4ecb495
Revert "update locales for calckey"
This reverts commit 8ab6a4c442.
2023-04-17 15:37:05 -07:00
daikei 2cdaad588c [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 8ab6a4c442
update locales for calckey 2023-04-17 03:07:07 -07:00
ThatOneCalculator 48ff0254b1
chore: formatting 2023-04-17 01:47:53 -07:00
ThatOneCalculator c0fe351bed
Revert "[Fix] remove-trailing-slashes with inhouse script (#9869)"
This reverts commit 07db141fc0.
2023-04-17 01:22:31 -07:00
ThatOneCalculator 1ed5ff7caf
Revert "formatting"
This reverts commit b32e1b56fa.
2023-04-17 01:22:25 -07:00
ThatOneCalculator b32e1b56fa
formatting 2023-04-17 01:03:56 -07:00