Commit Graph

3478 Commits

Author SHA1 Message Date
MeiMei 9a3eb859bc
(partially) cherry-picked from misskey/10e526b
fix: Escape SQL LIKE

* SQL LIKE escape

* CHANGELOG
2023-05-07 09:16:46 +09:00
naskya 27d1d96c9d
Modify backend for Calckey 2023-05-07 09:13:37 +09:00
Kaity A cd3cfe4203
Add support for CW boosting 2023-05-07 09:26:24 +10:00
naskya baef1b8ca9
Use phosphor icons 2023-05-07 08:08:07 +09:00
naskya 8a2135ba28
format 2023-05-07 08:05:18 +09:00
たーびん 54f6876c9c
feat: チャンネルの検索用ページとAPIの追加
* add channel search

* move  channel search to channel list page

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Co-authored-by: atsuchan <83960488+atsu1125@users.noreply.github.com>
Co-authored-by: Masaya Suzuki <15100604+massongit@users.noreply.github.com>
Co-authored-by: Kagami Sascha Rosylight <saschanaz@outlook.com>
Co-authored-by: taiy <53635909+taiyme@users.noreply.github.com>
Co-authored-by: xianon <xianon@hotmail.co.jp>
Co-authored-by: kabo2468 <28654659+kabo2468@users.noreply.github.com>
Co-authored-by: YS <47836716+yszkst@users.noreply.github.com>
Co-authored-by: Khsmty <me@khsmty.com>
Co-authored-by: Soni L <EnderMoneyMod@gmail.com>
Co-authored-by: mei23 <m@m544.net>
Co-authored-by: daima3629 <52790780+daima3629@users.noreply.github.com>
Co-authored-by: Windymelt <1113940+windymelt@users.noreply.github.com>
2023-05-07 08:00:30 +09:00
trollo 8a51c73fe7 fix: hidden post federation 2023-05-06 18:27:42 +02:00
Kainoa Kanter 0a9da8fa45 Merge pull request 'fix tiny text on mobile' (#10037) from Freeplay/calckey:notes into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10037
2023-05-06 03:28:21 +00:00
ThatOneCalculator 52ab21e737
chore: formatting 2023-05-05 18:37:13 -07:00
ThatOneCalculator 0d7ddf532d
patrons as span, not div 2023-05-05 18:32:00 -07:00
Froggo c9d57e5d49 Remove clutter from repost dialog by removing repost icon for non-default visibility (#10015)
The repost dialog is pretty cluttered, and the extra repeat icon next to the visibility icon seems to be a source of the clutter. This PR removes those icons next to the visibility icon, making it so that only the icon correlating to the visibility will show.

Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10015
Co-authored-by: Froggo <froggo@noreply.codeberg.org>
Co-committed-by: Froggo <froggo@noreply.codeberg.org>
2023-05-06 00:43:34 +00:00
ThatOneCalculator 695cb87052
chore: format 2023-05-05 13:29:39 -07:00
ThatOneCalculator fe499ccf9d
Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-05-05 13:28:39 -07:00
ThatOneCalculator 8f85f2c58f
re-enable post imports 2023-05-05 13:27:52 -07:00
naskya 4b119caffe Merge branch 'develop' into fix/word-mutes 2023-05-05 19:05:32 +00:00
ThatOneCalculator 88f9f8609d
fix: only show signupsDisabled if signups disabled 2023-05-05 12:04:13 -07:00
naskya 069c789a78 Merge branch 'develop' into fix/word-mutes 2023-05-05 14:01:14 +00:00
April John dd777935cb fix: dont stream hidden posts over websocket 2023-05-05 15:53:05 +02:00
April John 6b6e5dfcdf hide hidden posts in websocket streams 2023-05-05 15:50:50 +02:00
April John 3800eb8980 Feat: new internal post visibility "hidden" 2023-05-05 15:16:10 +02:00
April John 5fd6690755 Fix: properly handle timeline db errors 2023-05-05 14:30:08 +02:00
naskya db273318b8
Remove the code snippets which didn't work 2023-05-05 16:58:42 +09:00
naskya 52f521941c
I believe I finally solved the boost hard mute issue (took 3 hours) 2023-05-05 15:32:47 +09:00
naskya e617463ea7 Merge branch 'develop' into fix/word-mutes 2023-05-05 06:31:16 +00:00
ThatOneCalculator 7c1e1d336f
spaces 2023-05-04 23:19:32 -07:00
naskya 86dc71b201
oops 2023-05-05 12:49:34 +09:00
naskya 95f04a1c3c
Fix regex hard mutes 2023-05-05 12:36:17 +09:00
naskya ba1e96a020
Fix non-ASCII word soft mutes 2023-05-05 12:23:44 +09:00
naskya d1ab75beed
Fix dirty duplicated code 2023-05-05 10:38:56 +09:00
naskya 1baf760c4c
Merge branch 'fix/word-mutes' of https://codeberg.org/naskya/calckey into fix/word-mutes 2023-05-05 09:47:17 +09:00
naskya 1601676d55
Show the correct username 2023-05-05 09:46:47 +09:00
naskya c713563a2e
Boosts should be prioritized 2023-05-05 08:17:45 +09:00
naskya 8bfe67c031
Fix missing import 2023-05-05 08:14:16 +09:00
naskya edf47d390b
Fix channel bug 2023-05-05 07:47:03 +09:00
naskya 3b3da42763
clean up 2023-05-05 06:16:23 +09:00
naskya 48b5865507
Merge branch 'fix/word-mutes' of https://codeberg.org/naskya/calckey into fix/word-mutes 2023-05-05 05:48:55 +09:00
naskya 7113735212
Use original (Misskey's) implementation for hard mutes as muted reason isn't needed 2023-05-05 05:48:31 +09:00
naskya 19524b1010 Merge branch 'develop' into fix/word-mutes 2023-05-04 20:33:11 +00:00
naskya ffea68ad8d
I was confused 2023-05-05 05:26:59 +09:00
naskya e46cac02e3
Fix missing return, typo 2023-05-05 05:22:32 +09:00
naskya fc3296d64f
Fix missing arguments 2023-05-05 05:17:16 +09:00
ThatOneCalculator 597ce41081
margin top 2023-05-04 10:24:31 -07:00
ThatOneCalculator d4e048999d
move button outside form 2023-05-04 10:20:27 -07:00
ThatOneCalculator d6983f7864
fix: external link 2023-05-04 10:10:02 -07:00
ThatOneCalculator a2588aaed8
Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-05-04 10:03:02 -07:00
ThatOneCalculator 61214d0464
feat: show message if signups are disabled 2023-05-04 10:02:53 -07:00
Freeplay b5b577e001 fix tiny text on mobile 2023-05-04 08:30:28 -04:00
naskya ebfd07628e
format 2023-05-04 14:41:18 +09:00
naskya 137cef81b6 Merge branch 'develop' into fix/word-mutes 2023-05-04 05:36:29 +00:00
naskya d9553e73af
Differentiate soft mutes and hard mutes 2023-05-04 14:20:06 +09:00
naskya cdd876ba03
Refactor soft word mutes 2023-05-04 14:13:13 +09:00
naskya 075e5a1c7a
Refactor hard word mutes 2023-05-04 13:17:37 +09:00
Kainoa Kanter 68c9ba5403 Merge pull request 'fix: Don't increment boost counts of non-person actors' (#10023) from nmkj/calckey:fix-boostcount into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10023
2023-05-03 21:57:48 +00:00
ThatOneCalculator eb7ccfed71
panos 2023-05-03 13:51:49 -07:00
Namekuji 49e9fb9001
don't update if renoted by bot 2023-05-03 16:16:34 -04:00
ThatOneCalculator 45528e3630
Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-05-02 15:15:05 -07:00
ThatOneCalculator 4999b4f1a6
add catppuccin latte 2023-05-02 15:14:44 -07:00
ThatOneCalculator 8a69b48351
Revert "chore: theme refactor"
This reverts commit 6953fceade.
2023-05-02 15:14:12 -07:00
Kainoa Kanter ad41adb24e Merge pull request 'notes' (#10008) from Freeplay/calckey:notes into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10008
2023-05-02 22:05:48 +00:00
ThatOneCalculator 087f3aaaa2
fix: correctly display links to self instance URL
Closes #9270

Co-authored-by: GitHub <futchitwo>
2023-05-02 14:45:09 -07:00
Freeplay 9727a03f05 Add tooltips to visibility icons (#9598) 2023-05-02 15:07:46 -04:00
Freeplay f34fd4991f fix translation box 2023-05-02 14:52:05 -04:00
Freeplay 5b03b21ba3 Fix line color (#9997) 2023-05-02 14:50:22 -04:00
Kaity A ad181a10c3
Readd deepClone and move updated into note capture 2023-05-02 22:42:33 +10:00
Kaity A 69bf975b58
allow upstream note updates to propogate 2023-05-02 19:32:36 +10:00
Kaity A 3e2c8f490e
allow upstream note updates to propogate 2023-05-02 19:30:05 +10:00
Kaity A a7c9400a42
Merge remote-tracking branch 'origin/develop' into hk/edit-federation 2023-05-02 18:24:54 +10:00
Kaity A 389c531b2c
update file sensitivity on note edit 2023-05-02 18:22:42 +10:00
Kaitlyn Allan 61dde4c0b0
updates to include alt text editing 2023-05-02 17:47:16 +10:00
ThatOneCalculator 169d61f0ad
disable post imports for now 2023-05-01 23:08:35 -07:00
ThatOneCalculator bf262b972f
max import posts twice a month 2023-05-01 21:54:15 -07:00
ThatOneCalculator bbc4d83414
import correctly 2023-05-01 21:09:48 -07:00
ThatOneCalculator eac64dad5b
how in the world does this keep getting reversed 2023-05-01 20:54:02 -07:00
ThatOneCalculator ad969a28cc
chore: formatting 2023-05-01 20:32:18 -07:00
Namekuji aaa8083740
fix db migration 2023-05-01 18:11:56 -04:00
Freeplay f34c224a10 bring back Show More component 2023-05-01 17:02:43 -04:00
Kainoa Kanter 93309db051 Merge pull request 'Fix: 500 server error when attempting to fetch followers-only reply as guest' (#9983) from s1idewhist1e/calckey:issue/9075 into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9983
2023-05-01 19:38:16 +00:00
Kainoa Kanter 9722b7bafe Merge pull request 'Fix: email validation' (#9984) from s1idewhist1e/calckey:issue/9268 into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9984
2023-05-01 19:37:56 +00:00
Cleo 455c7273ee Fixing post visibility patch
Co-authored-by: Laura Hausmann <laura@hausmann.dev>
2023-05-01 15:42:27 +00:00
s1idewhist1e 8d1251b977
fix email validation 2023-04-30 22:57:10 -07:00
s1idewhist1e 6f32efd898
Wrap note fetching in a try/catch 2023-04-30 22:11:15 -07:00
Namekuji 93dc237835
Merge branch 'develop' into instance-silence 2023-04-30 22:02:04 -04:00
Namekuji fe96578b14
enforce follow-request from silenced users 2023-04-30 21:43:56 -04:00
Namekuji 784f632b99
suppress notification from silenced users and instances 2023-04-30 21:35:10 -04:00
ThatOneCalculator 6953fceade
chore: theme refactor 2023-04-30 17:57:04 -07:00
ThatOneCalculator 69b62fa2c0
favicon 2023-04-30 17:14:04 -07:00
Namekuji 9535bbcf89
do not notify if the target is not following 2023-04-30 19:46:02 -04:00
Namekuji 5338185605
format 2023-04-30 18:01:06 -04:00
Namekuji 5b62f110d1
add db migration 2023-04-30 18:00:19 -04:00
Namekuji 74b1bead52
Merge branch 'develop' into instance-silence 2023-04-30 17:52:05 -04:00
Namekuji 441bf2842f
add silenced colour 2023-04-30 17:45:45 -04:00
Namekuji 631aa3de41
fix params 2023-04-30 17:32:14 -04:00
Namekuji d8e139a21f
fix meta fetch 2023-04-30 17:06:43 -04:00
ThatOneCalculator 121ddedce8
chore: format 2023-04-30 13:27:27 -07:00
ThatOneCalculator 4b1fa90c8f
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 3533f6b481
chore: up browser-image-resizer 2023-04-30 13:13:43 -07:00
Kainoa Kanter c4a4d4c881 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 51a61ef39e 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 c3d747e42d 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 6eed038028
fix poll voting causing edit revisions. 2023-05-01 03:17:38 +10:00
Freeplay 842b38aff6 Merge branch 'develop' of https://codeberg.org/calckey/calckey into keyboard-accessability 2023-04-30 12:31:41 -04:00
Kaity A 627a71701f
Implement inbound note edit federation 2023-05-01 02:29:50 +10:00
Freeplay fcd9fa4adc 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 c89bed41b0
use tab instead of page header 2023-04-30 11:47:39 -04:00
naskya fb3a43aeba
use new styling method 2023-04-30 23:28:17 +09:00
naskya be58c08337
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 518ae2f089
add blockMath 2023-04-30 23:18:39 +09:00
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