Commit Graph

3237 Commits

Author SHA1 Message Date
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