Commit Graph

3621 Commits

Author SHA1 Message Date
Namekuji a1645ddc5b
can overlap with blocked hosts 2023-04-30 09:04:29 -04:00
Namekuji 51858ae473
add toggler 2023-04-30 09:01:42 -04:00
Namekuji 9bc872dc00
format 2023-04-30 08:08:45 -04:00
Namekuji 151b30c53d
rename and comment 2023-04-30 07:58:03 -04:00
Namekuji ba734a9f3c
instance silence 2023-04-30 07:27:55 -04:00
ThatOneCalculator 7373fc625a
Merge remote-tracking branch 'weblate/develop' into develop 2023-04-29 19:52:43 -07:00
ThatOneCalculator f6c5a52106
Revert "Merge pull request 'Add show more button to notifications' (#9942) from Freeplay/calckey:notifications into develop"
This reverts commit 8cb321b110, reversing
changes made to 133391122b.
2023-04-29 19:38:26 -07:00
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
daikei 07db141fc0 [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 ca5d9377a1
MkNumber for data in MkUserInfo 2023-04-16 19:26:57 -07:00
ThatOneCalculator d2a1c947a4
style announcement image 2023-04-16 19:04:28 -07:00
ThatOneCalculator 8a80dd0438
move hover to entire ticker 2023-04-16 17:52:14 -07:00
ThatOneCalculator 57a4360165
remove duplicate styles 2023-04-16 17:51:34 -07:00
ThatOneCalculator dfd20a3a22
capitalize string 2023-04-16 17:50:05 -07:00
ThatOneCalculator 2a8b9dc92a
feat: software name on hover icon in instance ticker 2023-04-16 17:35:10 -07:00
Kaity A 011b482e98 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 0a3259993b
Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-04-15 13:16:17 -07:00
ThatOneCalculator 1ecc91b0d3
read messages with dialog 2023-04-15 13:16:13 -07:00
naskya f7602be0e7 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 dde2679875
feat: rename workspaces 2023-04-16 01:05:18 +09:00
ThatOneCalculator 1824b27e16
chore: formatting 2023-04-14 15:35:18 -07:00
Kainoa Kanter 4f6cae7643 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 429b926fcf
change regex priority 2023-04-15 01:41:49 +09:00
naskya f531ed2ab2
fix a bug 2023-04-15 01:37:53 +09:00
daikei c959d4185c remove koa-favicon 2023-04-14 16:20:27 +00:00
daikei 1b9a776220 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 a2e56314fe
prevent crashes due to timezone === null 2023-04-15 01:01:36 +09:00
naskya 4d0245f1a5
allow acute accent 2023-04-15 01:00:43 +09:00
naskya afa8f06ef6
improve city search 2023-04-15 00:40:13 +09:00
ThatOneCalculator 9501e8a882
only show index posts action if admin 2023-04-13 20:11:39 -07:00
ThatOneCalculator 25f45f8b4b
fix: 🔒 don't show notes with CW on welcome screen
Closes #9849
2023-04-13 19:46:52 -07:00
ThatOneCalculator 4125e3704e
Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-04-13 09:43:22 -07:00
ThatOneCalculator 4694e30573
chore: up swc 2023-04-13 09:43:13 -07:00
naskya d5ce896bd2
Change boost button labels 2023-04-13 11:58:42 +09:00
naskya daf07089b4 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 8f7c136f48
Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-04-12 17:19:17 -07:00
ThatOneCalculator 7f9d3f9d54
chore: formatting 2023-04-12 17:19:14 -07:00
naskya e8566b95aa
correct position 2023-04-12 20:24:54 +09:00
naskya 46864916d9
Allow to mute my own boosts 2023-04-12 15:52:46 +09:00
ThatOneCalculator 07b9e17665
fix lookup instance 2023-04-11 10:32:51 -07:00
ThatOneCalculator 6b359071be
feat: lookup post action 2023-04-11 10:12:17 -07:00
ThatOneCalculator b6d2b15948
feat: index posts action 2023-04-11 10:07:03 -07:00
ThatOneCalculator 0979ba6b8f
Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-04-11 10:03:31 -07:00
ThatOneCalculator c5b0b07027
feat: admin lookup files/instance 2023-04-11 10:03:25 -07:00
naskya c3431b928a 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 63c35871b2 fix chat metadata 2023-04-08 00:18:37 -07:00
Kainoa Kanter 8491a757bc fix 2023-04-08 00:10:16 -07:00
Kainoa Kanter ee83b5b1a3 Merge branch 'develop' of https://codeberg.org/calckey/calckey into develop 2023-04-07 23:56:06 -07:00
Kainoa Kanter 0717454d49 feat: mark all as read action in chat 2023-04-07 23:56:02 -07:00
Kainoa Kanter 594ee74324 feat: messaging room banner 2023-04-07 23:55:42 -07:00
Kainoa Kanter 306fcb63d4 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 4a1a954386 move hidden hashtag menu 2023-04-07 22:54:25 -07:00
Kainoa Kanter e6c1090cdc back button 2023-04-07 22:46:41 -07:00
Kainoa Kanter 437a6e29a5 chore: formatting 2023-04-07 22:46:10 -07:00
Namekuji 67dbb2318a fetch person again 2023-04-08 01:44:50 -04:00
naskya a624aeebe3 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 cb68498fcb
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 ec807fc1bd hotfix: fix crash 2023-04-07 17:58:29 -07:00
Kainoa Kanter 621be91cdb Revert "Revert "Incorporate calckey-js into calckey repository (#9820)""
This reverts commit 8033492c7c.
2023-04-07 17:44:27 -07:00
Kainoa Kanter 8033492c7c Revert "Incorporate calckey-js into calckey repository (#9820)"
This reverts commit 37c0423da6.
2023-04-07 17:35:10 -07:00
Kainoa Kanter 4fb7f4634f fix: typo 2023-04-07 17:25:24 -07:00
Kainoa Kanter 49c44771e5 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 6bf1cbc0ef fix: format script; chore: format 2023-04-07 17:01:42 -07:00
Kainoa Kanter aeb0839da9 chore: rome formatting 2023-04-07 16:47:04 -07:00
Namekuji 62a439c693 fix move inbox 2023-04-07 17:48:25 -04:00
Kaity A 37c0423da6 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 b03479c7b4 fix id of move activity 2023-04-07 06:39:29 -04:00
Kainoa Kanter 3b9d9cb635 menu opts 2023-04-06 23:02:07 -07:00
Kainoa Kanter 0f6e7056b7 days for featured 2023-04-06 22:48:07 -07:00
Kainoa Kanter df7c71b1b4 refactor 2023-04-06 22:28:44 -07:00
Kainoa Kanter c2097f9244 feat: blur muted text 2023-04-06 22:11:10 -07:00
Kainoa Kanter 1d57a0da15 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 7fb130b06e formatting 2023-04-06 18:56:46 -07:00
amy bones 15b1109947
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 73b778de2a 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 2d7f227de7
Revert "mkv13 media list"
This reverts commit c2ac53c66b.
2023-04-04 23:58:55 -07:00
ThatOneCalculator 881acf9e26
typo 2023-04-04 22:59:41 -07:00
ThatOneCalculator ba67fa6ed6
oops 2023-04-04 22:55:36 -07:00
ThatOneCalculator 0135dcc016
chore: back button in more places 2023-04-04 22:52:41 -07:00
ThatOneCalculator 0b72aa748b
chore: back button in control panel 2023-04-04 22:49:17 -07:00
ThatOneCalculator 48d00217c9
final fix? 2023-04-04 22:41:57 -07:00
ThatOneCalculator f78cdb9c60
import i18n 2023-04-04 22:22:35 -07:00
ThatOneCalculator 3f48a9926b
more fix 2023-04-04 22:12:55 -07:00
ThatOneCalculator bcd5779a9d
fix 2023-04-04 22:03:24 -07:00
ThatOneCalculator 9879bbe38e
display back button in note 2023-04-04 21:59:35 -07:00
ThatOneCalculator c88627fc88
back button in settings 2023-04-04 21:59:11 -07:00
ThatOneCalculator 3b5b90879c
dont change state 2023-04-04 21:53:17 -07:00
ThatOneCalculator c2ac53c66b
mkv13 media list 2023-04-04 21:47:30 -07:00
amybones 006bfbd42b 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 daba80177a
feat: push notifs button
Co-authored-by: Tamania <tamaina@hotmail.co.jp>
2023-04-03 20:36:59 -07:00
ThatOneCalculator 4478468256
fix: 🐛 go to last timeline selected 2023-04-03 16:02:09 -07:00
ThatOneCalculator b7fc6117b6
fix: buttons not showing 2023-04-03 10:03:35 -07:00
Kainoa Kanter 3e334dea24 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 3d93458d8b
Requested limit to be fulfilled if possible 2023-04-04 02:50:53 +10:00
amy bones b28ba9f82f
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 8bd64c89a4 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 a66eac0e5b
Separate cat-avatar mode and speak-as-cat nyanification 2023-04-02 21:24:12 +10:00
ThatOneCalculator 9581c0df1b
styling 2023-04-02 01:00:40 -07:00
ThatOneCalculator 4496de2040
remove console.log 2023-04-02 00:42:35 -07:00
ThatOneCalculator e10fc6b8ec
attempt fix 2023-04-02 00:21:43 -07:00
ThatOneCalculator 34613771e5
correct color for help button 2023-04-02 00:13:26 -07:00
ThatOneCalculator 38ade38f3f
fix: dialogs not coming up 2023-04-02 00:07:48 -07:00
ThatOneCalculator 565493b56f
fix button alignments 2023-04-01 23:53:31 -07:00
ThatOneCalculator 79ecd7184b
don't show delete button if profile is default 2023-04-01 23:44:59 -07:00
ThatOneCalculator 0b02be7343
style 2023-04-01 23:34:02 -07:00
ThatOneCalculator bb6d04f9c3
fix import 2023-04-01 23:28:55 -07:00
ThatOneCalculator ed35e28a2c
don't need extra template 2023-04-01 21:39:48 -07:00
ThatOneCalculator e9b45260b5
chore: 🎨 format 2023-04-01 21:10:31 -07:00
ThatOneCalculator 4e843f2949
fix: 🛂 no longer need 2fa for webauthn 2023-04-01 21:04:22 -07:00
ThatOneCalculator c3ee953e92
fix help button alignment iconsOnly 2023-04-01 16:18:01 -07:00
ThatOneCalculator 8668525bf5
fix #9784 2023-04-01 16:14:11 -07:00
ThatOneCalculator e516685cbc
Revert "fix: 🐛 make recently used group"
This reverts commit 806591cb35.
2023-04-01 12:22:46 -07:00
ThatOneCalculator 806591cb35
fix: 🐛 make recently used group
Closes #9784
2023-04-01 12:19:27 -07:00
ThatOneCalculator 93867ec927
fix migration 2023-04-01 12:14:54 -07:00
ThatOneCalculator a707788c31
add top margin to help button 2023-04-01 12:05:27 -07:00
ThatOneCalculator 33ae0ca6fd
chore: add cleanup migration 2023-04-01 12:03:49 -07:00
ThatOneCalculator 8cc7d11fa4
feat: help menu in navbar 2023-04-01 11:56:43 -07:00
ThatOneCalculator 02870df588
fix search import 2023-04-01 11:39:27 -07:00
ThatOneCalculator d3d8bc34d0
feat: search now searches posts and users 2023-04-01 11:28:34 -07:00
Kainoa Kanter d3ccf27af7 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 a3fa0a2f9c Clarify variable names 2023-04-01 22:49:14 +10:00
naskya 671f6f93a0
Fix a bug in macro expander 2023-04-01 21:18:55 +09:00
Kaitlyn Allan b96fe57793 Improve performance of charts
Fix some undefined !== deleted issues
2023-04-01 21:42:03 +10:00
naskya 0e8fe41aaa 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 f70c5da0bd
audio on mobile fix 2023-03-31 22:06:21 -07:00
kabo2468 b717f6d6ff
fix: don't nyaize quoted text 2023-03-31 23:30:57 +09:00
ThatOneCalculator 7b2a34a364
add argon 2023-03-30 19:19:09 -07:00
ThatOneCalculator acfc88389a
formatting 2023-03-30 19:10:03 -07:00
ThatOneCalculator 12769bd1ab
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 c58ce6c53b 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
naskya fe9ed9fcba
Fix a bug in the macro expander 2023-03-31 06:31:18 +09:00
cutestnekoaqua 01b9dad61d
send vlaue 2023-03-30 18:05:39 +02:00
cutestnekoaqua 021e86a0ab
make sure its not checked for akkoma 2023-03-30 17:52:38 +02:00
cutestnekoaqua 897b5f928d
check for signatures while post import 2023-03-30 17:52:17 +02:00
cutestnekoaqua 09aeb6e2f5
nyaa 2023-03-30 17:31:29 +02:00
Cleo 00dc860574 remove debug msgs 2023-03-30 09:30:38 +00:00
Cleo a3c0d56600 „packages/backend/src/server/api/endpoints/i/import-posts.ts“ ändern
Signed-off-by: Cleo <cutestnekoaqua@noreply.codeberg.org>
2023-03-30 09:12:51 +00:00
Cleo 0a79b6b9f0 Yeet mentions 2023-03-30 08:40:20 +00:00
naskya 82db61ede0 fix: direct boost (#9783)
Sorry to create PR multiple times. I should have included this in #9778.

Co-authored-by: naskya <m@naskya.net>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9783
Co-authored-by: naskya <naskya@noreply.codeberg.org>
Co-committed-by: naskya <naskya@noreply.codeberg.org>
2023-03-30 03:15:06 +00:00
naskya 9489543180 feat: custom KaTeX macro (#9779)
Closes: #9759
Co-authored-by: naskya <m@naskya.net>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9779
Co-authored-by: naskya <naskya@noreply.codeberg.org>
Co-committed-by: naskya <naskya@noreply.codeberg.org>
2023-03-30 03:11:57 +00:00
ThatOneCalculator ab9476ea27
fix sounds settings 2023-03-29 13:38:59 -07:00
ThatOneCalculator f33eb43ea5
typo 2023-03-29 13:35:10 -07:00
ThatOneCalculator 32dd494424
feat: button in admin dash to index posts 2023-03-29 13:30:02 -07:00
ThatOneCalculator 48e0333e71
fix: 🐛 formlink -> button
fixes notifications and drive in settings
2023-03-29 12:53:07 -07:00
ThatOneCalculator 5f5caf1ef4
better icons 2023-03-29 12:47:25 -07:00
ThatOneCalculator e518e86a79
Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-03-29 12:39:17 -07:00
ThatOneCalculator 9a56764fe0
Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-03-29 12:38:55 -07:00
cutestnekoaqua eed9c63247
get post details from object 2023-03-29 21:38:52 +02:00
ThatOneCalculator bae4bce8c3
header icon for queue page 2023-03-29 12:38:38 -07:00
cutestnekoaqua 4181bee43c
catch text parsing error 2023-03-29 21:25:28 +02:00
cutestnekoaqua 2398aab82b
add info 2023-03-29 21:16:45 +02:00
cutestnekoaqua 66429527ca
catch errors 2023-03-29 21:15:06 +02:00
cutestnekoaqua 21c7f93d7a
handle mastodon style posts 2023-03-29 21:10:01 +02:00
cutestnekoaqua 7650c60cdf
dont ping users 2023-03-29 20:01:56 +02:00
cutestnekoaqua 12698bf1e8
actually increase line num 2023-03-29 19:37:31 +02:00
cutestnekoaqua 82f342cf45
update post job 2023-03-29 19:36:23 +02:00
cutestnekoaqua 220b022461
note import debug logs 2023-03-29 19:23:37 +02:00
cutestnekoaqua 50aa4667bb
temporary set import limit to infinity for debug 2023-03-29 19:16:39 +02:00
naskya 6b8be4ddb7 Merge branch 'develop' into fix/followers-only-boost 2023-03-29 02:24:21 +00:00
cutestnekoaqua 450f798f12
why is this git ignored? 2023-03-29 00:09:31 +02:00
cutestnekoaqua 99b471d43b
why is this git ignored? 2023-03-28 23:48:27 +02:00
cutestnekoaqua d5c80e74de
feat: experimental post import 2023-03-28 23:33:16 +02:00
Kagami Sascha Rosylight 7acb2b7c09
fix: allow announces with followers visibility 2023-03-29 04:55:16 +09:00
naskya 492a81104a
Try to fix calckey/calckey#9770 2023-03-28 03:59:07 +09:00
Free 83c7dd177b note-improvements (#9768)
Fixes #9745, quote icon, note spacing adjustments, border radius's in noGap

Co-authored-by: Freeplay <Freeplay@duck.com>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9768
Co-authored-by: Free <freeplay@duck.com>
Co-committed-by: Free <freeplay@duck.com>
2023-03-26 03:33:44 +00:00
cutestnekoaqua 1278200ae7
[PATCH] set workers to reduce their processing priority
Authored-by: Kaitlyn Allan <kaitlyn.allan@enlabs.cloud>
2023-03-25 12:35:30 +01:00
ThatOneCalculator 5b575c67ed
fix? 2023-03-24 13:14:41 -07:00
ThatOneCalculator 8acf3833fa
Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-03-24 12:45:32 -07:00
ThatOneCalculator 35bf174273
dev15 2023-03-24 12:45:25 -07:00
Namekuji 86e5a19971 fix callback url 2023-03-24 06:55:23 -04:00
ThatOneCalculator 765c61bf52
don't show buttons if mobile 2023-03-24 00:42:36 -07:00
ThatOneCalculator a1efc980d4
fix 2023-03-24 00:34:13 -07:00
ThatOneCalculator 9ca00d73b5
fix 2023-03-24 00:04:00 -07:00
ThatOneCalculator 25d44f500b
console log 2023-03-23 23:59:42 -07:00
ThatOneCalculator b7a5799698
feat: new chat button on mobile 2023-03-23 23:51:59 -07:00
ThatOneCalculator 434e2f24e9
feat: post metadata uses full @
Closes #9660
2023-03-23 18:03:50 -07:00
ThatOneCalculator 765d90b789
chore: 📦 upgrade megalodon 2023-03-23 16:20:21 -07:00
ThatOneCalculator f80dcca6d5
feat: masto api add display name 2023-03-23 16:16:27 -07:00
ThatOneCalculator 94640486c5
Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-03-23 09:07:25 -07:00
ThatOneCalculator d5cafde7d1
Revert "refactor: nyaize on the frontend"
This reverts commit aff90b3ef2.
2023-03-23 09:06:32 -07:00
yawhn df68d5ffff feat: swap home timeline with social's functionality (#9597)
The Home timeline functionality is swapped with social's. Meaning that Home timeline now consists of followee's and local posts. Social from now on will contain only followee's posts. See more info in the attached ticket.

Some changes applied in english locales as well. Probably the rest of the languages need to be fixed though.

This PR closes the ticket: https://codeberg.org/calckey/calckey/issues/9552

Co-authored-by: yawhn <kordaris@gmail.com>
Co-authored-by: ThatOneCalculator <kainoa@t1c.dev>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9597
Co-authored-by: yawhn <yawhn@noreply.codeberg.org>
Co-committed-by: yawhn <yawhn@noreply.codeberg.org>
2023-03-23 16:02:37 +00:00
amy bones c5de597079
fix: relay signature handling
A change sometime ago moved to setting some signature fields in the incoming
object to undefined as opposed to deleting them. The trouble is that downstream
code checks against existence, not undefinedness and rejects the message.

Resolves: #9665
2023-03-22 17:32:49 -07:00
ThatOneCalculator d05ab9bf46
fix color in follow button 2023-03-22 14:29:07 -07:00
ThatOneCalculator 18eed9607b
Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-03-22 12:24:45 -07:00
yawhn 25c72943c7
fix: a bug in ads 2023-03-22 12:24:37 -07:00
Kainoa Kanter 8243b635f4 Merge pull request 'fix: max user profile length to db field length' (#9750) from amybones/calckey:fix-profile-length into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9750
2023-03-22 18:58:32 +00:00
ThatOneCalculator 3a412b955d
fix: 🐛 no nyaizing undefined text
Closes #9752
2023-03-22 11:54:38 -07:00
Free 4b1af35b39 Allows ctrl+clicking internal links (#9603) (#9743)
Co-authored-by: Freeplay <Freeplay@duck.com>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9743
Co-authored-by: Free <freeplay@duck.com>
Co-committed-by: Free <freeplay@duck.com>
2023-03-22 18:50:30 +00:00
cutestnekoaqua 4714e966f1
Masto api :) 2023-03-22 17:43:05 +01:00
cutestnekoaqua 30bc16daba
allow client credentials not just for tapbots 2023-03-22 14:40:59 +01:00
amy bones 1f840aa7b9
fix: max user profile length to db field length
Resolves: #9749
2023-03-22 02:10:43 -07:00
Free bcd0488cf1 note-improvements (#9742)
Increases the limit of the replies loaded above the focused post from 10 to 30

Co-authored-by: Freeplay <Freeplay@duck.com>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9742
Co-authored-by: Free <freeplay@duck.com>
Co-committed-by: Free <freeplay@duck.com>
2023-03-21 04:41:50 +00:00
naskya 49d3df43d3
fix: local time for users 2023-03-21 08:24:02 +09:00
Free 74bb79792d note-improvements (#9739)
fixes #9735, translations, plus other tweaks

Co-authored-by: Freeplay <Freeplay@duck.com>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9739
Co-authored-by: Free <freeplay@duck.com>
Co-committed-by: Free <freeplay@duck.com>
2023-03-20 20:26:05 +00:00
ThatOneCalculator 14201f465b
typo 2023-03-19 20:19:40 -07:00
ThatOneCalculator 4ce8e83d3e
fix: make sure cw button is on new line 2023-03-19 20:15:49 -07:00
ThatOneCalculator 43bca8ed38
validate blank messages on backend 2023-03-19 20:03:49 -07:00
ThatOneCalculator 4c4c641804
fix: 🐛 can't send blank messages
Closes #9661
2023-03-19 20:02:14 -07:00
ThatOneCalculator 2de02cf655
Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-03-19 19:59:36 -07:00
ThatOneCalculator aff90b3ef2
refactor: nyaize on the frontend 2023-03-19 19:59:00 -07:00
Free c2df136dda note-improvements (#9734)
Not sure if this is the best way to jump to the post

This also lets you select text w/out clicking to the post (and clicking normally on top of the text opens the post)

Co-authored-by: Freeplay <Freeplay@duck.com>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9734
Co-authored-by: Free <freeplay@duck.com>
Co-committed-by: Free <freeplay@duck.com>
2023-03-20 02:31:02 +00:00
ThatOneCalculator d75a4e56e3
change follow button background, finally 2023-03-19 19:30:08 -07:00
ThatOneCalculator b18864946a
theme names 2023-03-19 18:49:25 -07:00
ThatOneCalculator 710a89d343
feat: more themes! 2023-03-19 18:44:08 -07:00
ThatOneCalculator 28c1419612
generic color for online user count 2023-03-19 16:58:54 -07:00
ThatOneCalculator f73ff912f1
fix: repo url 2023-03-19 16:53:49 -07:00
cutestnekoaqua 16ef00b6fe
chore: add emoji aliases 2023-03-20 00:37:49 +01:00
cutestnekoaqua d81bfd30ef
Revert "fix: unicode aliases"
This reverts commit 989b497588.
2023-03-20 00:30:05 +01:00
cutestnekoaqua 989b497588
fix: unicode aliases 2023-03-20 00:24:33 +01:00
Kainoa Kanter 60a5c4012c Merge pull request 'bug: Fix error saving drive file caption > 512 chars' (#9729) from supakaity/hajkey:hk/fix-9728 into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9729
2023-03-19 21:54:38 +00:00
kakkokari-gtyih 27fedf9d6e
fix: don't show smartphone UI when settings icon is double-clicked 2023-03-19 21:43:07 +09:00
Kaitlyn Allan 1b134467ed Fix error saving drive file caption > 512 chars 2023-03-19 20:06:24 +10:00
ThatOneCalculator 749117a2ce
cli images 2023-03-19 02:33:44 -07:00
ThatOneCalculator 0fa22b8598
fix cli more 2023-03-19 02:08:08 -07:00
ThatOneCalculator 2dcf88b732
feat: spruce up CLI 2023-03-19 01:59:33 -07:00
Kaity A 706b4ae602 Add sonic full-text search support (#9714)
This pull request adds support for the [sonic](https://github.com/valeriansaliou/sonic) full text indexing server into Calckey.

In addition to this, a stateful endpoint has been added that will completely (re-)index all notes into any (elasticsearch and/or sonic) indexing server defined in your config at `/api/admin/search/index-all`. It can (optionally) take input data to define the starting point, such as:

```
{"cursor": "9beg3lx6ad"}
```

Currently if both sonic and elasticsearch are defined in the config, sonic will take precedence for searching, but both indexes will continue to be updated for new note creations. Future enhancements may include the ability to choose which indexer to use (or combine multiple).

Co-authored-by: Kaitlyn Allan <kaitlyn.allan@enlabs.cloud>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9714
Co-authored-by: Kaity A <supakaity@noreply.codeberg.org>
Co-committed-by: Kaity A <supakaity@noreply.codeberg.org>
2023-03-19 08:26:47 +00:00
ThatOneCalculator 77912ae7b5
Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-03-19 00:26:32 -07:00
ThatOneCalculator 76935a91e1
feat: compile time compression 2023-03-19 00:26:26 -07:00
naskya 1c0d4546f7 feat: set license information for custom emojis (#9719)
Closes: #9711 (please check this issue first)

I cherry-picked two commits ([1](8ae9d2eaa8), [2](ed51209172)) from [Misskey](https://github.com/misskey-dev/misskey) and made a few changes.
「ライセンス」should be written as "License" in the following screenshots, but it has not yet been translated.

It would be nice if we could include multiple lines of text, but I just ported what's been implemented so far in Misskey not to mess things up.

This is my first pull request (aside from typo correction). Feel free to point out any issues!

![](https://cdn.discordapp.com/attachments/823878222897741868/1086372711841935440/2023-03-18_042011.png)
![](https://cdn.discordapp.com/attachments/823878222897741868/1086373178214981853/01.png)
![](https://cdn.discordapp.com/attachments/823878222897741868/1086373336709341246/2023-03-18_042629.png)

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Co-authored-by: naskya <m@naskya.net>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9719
Co-authored-by: naskya <naskya@noreply.codeberg.org>
Co-committed-by: naskya <naskya@noreply.codeberg.org>
2023-03-19 07:22:28 +00:00
ThatOneCalculator c5d9f3bf59
Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-03-19 00:14:08 -07:00
ThatOneCalculator 2117977d88
fix: when count is actually 0 2023-03-19 00:13:30 -07:00
Free b2bc51a4ee note-improvements (#9721)
boop

Co-authored-by: Freeplay <Freeplay@duck.com>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9721
Co-authored-by: Free <freeplay@duck.com>
Co-committed-by: Free <freeplay@duck.com>
2023-03-19 07:13:02 +00:00
ThatOneCalculator 681cefcda5
Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-03-19 00:12:33 -07:00
ThatOneCalculator 2ea458e2db
fix: mobile button alignment 2023-03-19 00:12:24 -07:00
Kainoa Kanter dbe45e1838 Merge pull request 'Don't show channel edit button unless owner' (#9722) from supakaity/hajkey:hk-channel-owner-edit into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9722
2023-03-18 23:11:47 +00:00
cutestnekoaqua 025f149440
pass auth to metadata 2023-03-18 13:06:49 +01:00
cutestnekoaqua 04c1b395b4
fix: intermediarily convert ids 2023-03-18 12:23:03 +01:00
cutestnekoaqua 624d3c399f
add 404 as replacements 2023-03-18 12:09:43 +01:00
cutestnekoaqua 7a500ed836
chore: update megalodon 2023-03-18 11:52:18 +01:00
Kaitlyn Allan 53d482d209 Don't show channel edit button unless owner 2023-03-18 18:27:56 +10:00
Free 9e1fdeaf39 note-improvements (#9720)
Co-authored-by: Free <freeplay@duck.com>
Co-committed-by: Free <freeplay@duck.com>
2023-03-18 00:44:00 +00:00
ThatOneCalculator 3066d6079a
Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-03-17 09:31:47 -07:00
ThatOneCalculator d3d21aa8ea
fix: send button 2023-03-17 09:31:39 -07:00
fruye 1239db9ac8 fix: Parse mastoAPI `limit` argument in more places & Improve converting arguments to boolean (#9716)
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9716
Authored-by: fruye <fruye@unix.dog>
Signed-off-by: Cleo John <waterdev@galaxycrow.de>
Co-authored-by: fruye <fruye@unix.dog>
Co-committed-by: fruye <fruye@unix.dog>
2023-03-17 13:58:01 +00:00
Cleo 177f36a2f2 Merging 'New thread view + other post improvements' (#9648) from Freeplay/calckey:note-improvements courtesy Freeplay
Signed-of-by: Cleo John <waterdev@galaxycrow.de>
2023-03-17 13:48:09 +00:00
s1idewhist1e 36281ec413 feat: Make follower counts for remote users correct (#9705)
#9293

Not sure if this is the right approach for this

Co-authored-by: s1idewhist1e <trombonedude05@gmail.com>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9705
Co-authored-by: s1idewhist1e <s1idewhist1e@noreply.codeberg.org>
Co-committed-by: s1idewhist1e <s1idewhist1e@noreply.codeberg.org>
2023-03-17 01:16:31 +00:00
ThatOneCalculator 4c263cfbcc
better border color 2023-03-16 15:37:49 -07:00
Freeplay bca45c5868 fix deck view margins 2023-03-15 22:29:48 -04:00
Freeplay f79ac3d361 Change reply icon (also align the icon in the posting form) 2023-03-15 21:24:12 -04:00
Freeplay 1be55c9685 *actually* fix the line alignment 2023-03-15 20:26:13 -04:00
Freeplay 4b391424ae fix line alignment in smaller windows 2023-03-15 19:53:22 -04:00
Freeplay 4cabd725a0 fix line in boosted text 2023-03-15 19:18:26 -04:00
Freeplay b7b853f970 fix footer icons 2023-03-15 18:58:35 -04:00
Freeplay 23727bae92 Merge branch 'develop' of https://codeberg.org/calckey/calckey into note-improvements 2023-03-15 18:40:21 -04:00
fruye fcbee6d3f5 fix: Run to boolean conversion in mastoAPI public and hashtag timelines
The `only_media` query parameter in `/api/v1/timelines/public` and
`/api/v1/timelines/tag/:hashtag` was previously passed directly as-is to
the Misskey API, which made it pretty upset because it was receiving a
string named 'true' instead of the value 'true'.

Needed for pleromaFE to display a timeline.
2023-03-15 23:09:19 +01:00
fruye 0e2a5b3093 fix: Isolate unicode characters in display names (#9702)
This fixes a 'Follows you' badge on a profile page and account addresses in threads from being drawn backwards when an account has some special Unicode characters that change the direction of text in their name (i.e. U+202E RIGHT-TO-LEFT OVERRIDE).

Co-authored-by: fruye <fruye@unix.dog>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9702
Co-authored-by: fruye <fruye@noreply.codeberg.org>
Co-committed-by: fruye <fruye@noreply.codeberg.org>
2023-03-15 07:18:18 +00:00
ThatOneCalculator 86db886199
fix: mona is free 2023-03-14 16:23:40 -07:00
ThatOneCalculator 3a13c5ea59
Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-03-14 16:21:01 -07:00
ThatOneCalculator e25e36d3eb
apps: mona 2023-03-14 16:20:46 -07:00
Cleo John 111bf8b77d webhook mastodon fixes 2023-03-14 17:18:30 +01:00
Kainoa Kanter 8d50cb2391 Further Masto API work, focus on Ivory compatibility (#9703) 2023-03-13 07:25:17 +00:00
Luna e198a34cd0 Small fix to Masto ID conversion code 2023-03-13 00:44:38 -04:00
ThatOneCalculator c2c0e5b76c
chore: up icons 2023-03-12 13:43:37 -07:00
Luna 7236aa4a3a Sorta kinda handle client_credentials auth flow 2023-03-11 23:19:17 -05:00
ThatOneCalculator 0c34b1bd48
how did vscode not catch these? 2023-03-11 13:59:36 -08:00
ThatOneCalculator 01d26a389d
forgot about the fill icons 2023-03-11 13:52:11 -08:00
ThatOneCalculator 11e1977a21
chore: phosphor 2.0.2
adds woff2 as of 2.0.2 (my pr)
2023-03-11 13:44:57 -08:00
ThatOneCalculator 731b761e16
style: inlie-flex on ph-fw 2023-03-11 13:36:40 -08:00
ThatOneCalculator cf44b7de48
rm unessicary file 2023-03-11 13:29:18 -08:00
ThatOneCalculator 8721fbe8b5
fix? 2023-03-11 13:07:51 -08:00
Luna c81d6ecc1e
Proxy object IDs for Mastodon API to prevent Calckey ID format incompatibilities 2023-03-11 16:02:35 -05:00
Luna 5e79069c4a
Clean up auth.vue 2023-03-11 16:02:35 -05:00
Luna e2ebe83238
Convert limit parameter to int for certain Mastodon account endpoints 2023-03-11 16:02:35 -05:00
Luna b7ffa05848
Enable multipart for masto oauth endpoints to fix Ivory 2023-03-11 16:02:35 -05:00
ThatOneCalculator 3de967393b
icons 2023-03-11 13:01:04 -08:00
ThatOneCalculator 90969b7512
refactor: ⬆️ phosphor 2, sorta
thank you sammy
2023-03-11 13:00:52 -08:00
ThatOneCalculator 7449b8b840
chore: apps 2023-03-11 12:22:54 -08:00
Kaity A a432661e3c Expand caption limit to 1500 characters 2023-03-05 16:51:44 +10:00
Kaity A 5433603440 Set movedToUri & alsoKnownAs null when undefined 2023-03-04 08:24:22 +00:00
Kainoa Kanter edaf7dbb61 chore: notes --> posts 2023-03-03 22:12:11 -08:00
Kainoa Kanter f46445038a fix mobile navbar 2023-03-03 22:09:57 -08:00
Kainoa Kanter 1120818f47 fix: post button text alignment 2023-03-03 22:01:08 -08:00
Kainoa Kanter f2ce0ef273 Merge pull request 'Add divider to header' (#9678) from Freeplay/calckey:a into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9678
2023-03-04 03:25:49 +00:00
cutestnekoaqua 980d447561
parse full multipart data to media endpoints 2023-03-01 15:53:40 +01:00
cutestnekoaqua c74f4942d3
fix import 2023-03-01 15:07:35 +01:00
cutestnekoaqua 548381734a
some quick fixes 2023-03-01 15:04:01 +01:00
Freeplay 0ceb272fbf Add divider to header 2023-02-28 17:12:29 -05:00
Cleo John 7ffd99497c fix errors 2023-02-28 17:38:48 +01:00
Cleo John 05acb51da2 more mastodon work 2023-02-28 17:23:04 +01:00
Freeplay aaaa58a8db change continue thread text 2023-02-27 09:42:11 -05:00
Freeplay f4449cfafd Don't think that needed a reverse 2023-02-27 09:32:24 -05:00
Freeplay 1763e2083f Only use regular reply icon 2023-02-26 11:33:38 -05:00
Freeplay c2dde63813 fix indents on this ? 2023-02-25 21:51:37 -05:00
Freeplay 790dcccc6e don't know why that was like that oops 2023-02-25 21:49:41 -05:00
Freeplay 5c1ca3ac29 fix small window sizes 2023-02-25 21:22:23 -05:00
Freeplay f8d26e3e3d Tweak reaction animation 2023-02-25 20:36:00 -05:00
Freeplay 4278bd1e54 fix subnote body clip area™ 2023-02-25 20:22:17 -05:00
Freeplay 1310fa277e increase clip area of subnote body 2023-02-25 20:08:53 -05:00
Freeplay a0720231a8 padding tweaks 2023-02-25 19:59:58 -05:00
Freeplay 8cb3a25245 change line height 2023-02-25 19:48:10 -05:00
Freeplay 404f7986e1 remove unneeded bit 2023-02-25 15:51:51 -05:00
Freeplay a538b2ea84 a 2023-02-25 15:38:36 -05:00
Freeplay 1c57ba6242 Only animate in if newly added 2023-02-25 15:36:35 -05:00
Freeplay 5d391bd198 add some animations to reactions 2023-02-25 13:50:24 -05:00
Freeplay 233408569b style fixes 2023-02-25 12:36:57 -05:00
Freeplay 65de7b89e7 Remove content-visibility oh god that did not work as I expected 2023-02-25 12:15:35 -05:00
Freeplay be15764e2d sort of fix replies count ? 2023-02-25 11:57:16 -05:00
Freeplay 0914a7fbd9 fix line alignment 2023-02-25 11:10:48 -05:00
Freeplay 161594d4bc Fix 'close' button in posts not sticking to bottom
thanmk you overlfow clip
2023-02-25 01:18:21 -05:00
Freeplay 5177fdeef1 allow mfm to overflow w/out it blocking any buttons 2023-02-25 01:15:42 -05:00
Freeplay de97032eab add footer hover thingy to subnote too 2023-02-25 00:39:43 -05:00