Commit graph

167 commits

Author SHA1 Message Date
Mar0xy
42bf8e5e76
merge: upstream 2023-11-22 23:40:27 +01:00
Mar0xy
a3fd51d6e0
upd: change the way likes get handled 2023-11-16 23:47:44 +01:00
Mar0xy
490b249407
upd: Allow users to change default like emoji
When users change the default like emoji in reactions tab from heart to another one it will be send out as that specific emoji.

If reset back to heart it will default to the instance like emoji again which is heart by default.

Closes transfem-org/Sharkey#95
2023-11-16 00:22:12 +01:00
syuilo
3939360e55 fix(frontend): 特定の条件下でノートがnyaizeされない問題を修正
Fix #12331
2023-11-15 11:09:54 +09:00
Mar0xy
d2e403a4bd
fix: NoteDetailed using wrong value 2023-11-12 22:53:06 +01:00
Mar0xy
430a96ebdb
fix: like not being set 2023-11-12 22:40:33 +01:00
Mar0xy
f0a2ce00e7
chore: lint 2023-11-12 22:27:57 +01:00
Mar0xy
5c38e6b824
add: custom like emoji per instance, fix like
This fixes the fact that likes on mastodon didn't get federated properly and let's instance admins choose a custom emoji
2023-11-12 22:16:47 +01:00
おさむのひと
828749be64
fix #12266 (#12267)
ポップアップの表示後、MkNoteとMkNoteDetailedでそれぞれが持つfocusメソッドを呼び出していたのをやめた

Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
2023-11-06 19:26:17 +09:00
syuilo
bfca457510 enhance(frontend): improve aiscript plugin error handling 2023-11-06 11:21:43 +09:00
Mar0xy
f17f630acd
add: locales for mfm play button and dialog 2023-11-06 01:38:15 +01:00
Mar0xy
6cf811aa13
chore: add spacing between text and play mfm button 2023-11-06 00:49:08 +01:00
Mar0xy
2dfd8b2842
upd: play animated MFM button 2023-11-06 00:26:23 +01:00
Mar0xy
db29a5c2da
merge: develop 2023-11-04 21:52:12 +01:00
Mar0xy
647e76ab36
merge: upstream 2023-11-04 14:32:28 +01:00
syuilo
b7d3c5f4f0 enhance of 5e9f6a90df 2023-11-04 19:50:49 +09:00
syuilo
5e9f6a90df enhance(frontend): ノート内のカスタム絵文字をクリックすることで、コピーおよびリアクションができるように 2023-11-04 18:27:22 +09:00
Amelia Yukii
08de1f7baa
fix: icons being inconsistent and PG (#136) 2023-11-03 23:20:53 +01:00
Mar0xy
7c480424a6
merge: upstream 2023-11-03 15:35:12 +01:00
おさむのひと
39a3f4ae98
feat: チャンネル内→チャンネル外へのリノート制限機能追加 (#12230)
* チャンネル内→チャンネル外へのリノート制限機能追加

* fix CHANGELOG.md

* コメント対応(canRenoteSwitch→allowRenoteToExternal)

* コメント対応(別チャンネルへのリノート対策)

* コメント対応(canRenote->allowRenoteToExternal)

* fix comment

* Update misskey-js.api.md

* ✌️

---------

Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-11-03 17:34:23 +09:00
Amelia Yukii
77c49eacc1
Merge pull request #124 from ShittyKopper/corner-radius
Quick-and-dirty corner roundness toggle
2023-11-01 21:44:10 +01:00
Mar0xy
c490c7558f
fix: use computed instead of watch 2023-11-01 19:52:13 +01:00
Mar0xy
44a6b0dce2
fix: note text updates not showing up directly 2023-11-01 19:49:13 +01:00
ShittyKopper
ae5d052274 upd: implement radius setting
to keep things manageable i merged a lot of one off values into just a
handful of common sizes, so some parts of the ui will look different than
upstream even with the "Misskey" rounding mode
2023-11-01 21:43:26 +03:00
ShittyKopper
72204d9294 Revert "prototype: decreased rounding"
This reverts commit 7a51e2d404.
2023-11-01 21:43:26 +03:00
Mar0xy
8388b18df9
merge: upstream 2023-11-01 12:39:07 +01:00
syuilo
d6fe897923 perf(frontend): ノート表示時のMFMパース処理を減らす 2023-11-01 10:23:20 +09:00
Mar0xy
826e172746
chore: blank line lint 2023-10-31 20:08:01 +01:00
Mar0xy
cca9ea3126
chore: lint 2023-10-31 19:57:52 +01:00
Mar0xy
4dd23a3793
merge: upstream 2023-10-31 19:33:24 +01:00
syuilo
7436e0da18 lint fixes 2023-10-29 16:09:20 +09:00
taichan
e73e21851e
feat(frontend): プラグインを用いて疑似的にミュートできるようにする (#12135)
* feat: mute note using plugin

* Update CHANGELOG

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-10-28 15:50:46 +09:00
かっこかり
481db8aba4
fix(frontend): MFMパース時に意図せずnyaizeされる問題を修正 (#12161)
* Update MkMisskeyFlavoredMarkdown.ts

* Update MkMisskeyFlavoredMarkdown.ts

* Update MkMisskeyFlavoredMarkdown.ts

* Update MkNote.vue

* (fix) にゃいずをノートでのみ適用

* fix

* Fix lint
2023-10-28 12:41:17 +09:00
Mar0xy
13c5da63d7
fix: MFM overflowing out of note
Closes transfem-org/Sharkey#104
2023-10-22 22:48:49 +02:00
Mar0xy
ce83c483c6
add: view previous versions of notes
Closes transfem-org/Sharkey#103
2023-10-22 03:00:35 +02:00
syuilo
21986a2168 enhance(frontend): 投稿されてから時間が経過しているノートであることを視覚的に分かりやすく 2023-10-20 11:51:01 +09:00
atsuchan
7b361224f8
fix(frontend): Recieve Unrenote on streaming (#12079)
* fix(frontend): Recieve Unrenote

表示しているリノートがリノート解除されたらストリーミングで受信してすぐに消えるようにする

* fix(frontend): Recieve Unrenote lint fixing

* fix(frontend): Recieve Unrenote Decapture

Decapture忘れてたー
2023-10-19 19:36:18 +09:00
ShittyKopper
c8df61ed04 feat: "show content for all replies" button 2023-10-17 22:32:14 +03:00
Insert5StarName
25c7e55c54 fix: Detailed view too 2023-10-15 19:27:46 +02:00
Insert5StarName
94d2a16e89 fix: make note footer scale correctly 2023-10-15 18:58:56 +02:00
Mar0xy
48c7eeb57e
fix: prevent quoted toast to be triggered when not quoted 2023-10-15 18:03:27 +02:00
Mar0xy
26cd12f7bf
upd: add locale for quoted, add toasts and effects 2023-10-15 18:00:09 +02:00
Mar0xy
abe44793c4
chore: lint 2023-10-15 02:38:09 +02:00
Mar0xy
7e648a255f
upd: Separate quote from boost 2023-10-15 02:16:02 +02:00
Mar0xy
080450c10b
upd: rename renote to boost 2023-10-14 02:46:36 +02:00
Mar0xy
d561aae3e5
chore: lint 2023-10-13 21:54:57 +02:00
Mar0xy
cea2de6209
fix rocket-launcher 2023-10-13 21:44:10 +02:00
Mar0xy
a37da15eaf
upd: only allow one renote 2023-10-13 21:40:43 +02:00
syuilo
f6ba5cfaf4
merge: timeline 1 2023-10-13 17:58:11 +02:00
syuilo
b40329887f revert: note editing 2023-10-04 12:05:01 +09:00
Mar0xy
bf3d493d04
Revert "feat: improve tl performance" 2023-10-03 20:21:26 +02:00
Mar0xy
38e35e1472
merge: upstream 2023-10-03 15:20:49 +02:00
syuilo
6277a5545c
feat: improve tl performance (#11946)
* wip

* wip

* wip

* wip

* wip

* wip

* Update NoteCreateService.ts

* wip

* wip

* wip

* wip

* Update NoteCreateService.ts

* wip

* Update NoteCreateService.ts

* wip

* Update user-notes.ts

* wip

* wip

* wip

* Update NoteCreateService.ts

* wip

* Update timeline.ts

* Update timeline.ts

* Update timeline.ts

* Update timeline.ts

* Update timeline.ts

* wip

* Update timelines.ts

* Update timelines.ts

* Update timelines.ts

* wip

* wip

* wip

* Update timelines.ts

* Update misskey-js.api.md

* Update timelines.ts

* Update timelines.ts

* wip

* wip

* wip

* Update timelines.ts

* wip

* Update timelines.ts

* wip

* test

* Update activitypub.ts

* refactor: UserListJoining -> UserListMembership

* Update NoteCreateService.ts

* wip
2023-10-03 20:26:11 +09:00
dakkar
f31f601111 federade quote-notes a bit better
tested against the treehouse mastodon, but should work with others
2023-10-02 13:31:00 +01:00
Mar0xy
31e0e07d92
upd: use appearNote instead of props.note 2023-10-01 04:03:00 +02:00
Mar0xy
9fd66f92db
Merge branch 'icons' of https://github.com/transfem-org/Sharkey into icons 2023-10-01 01:53:38 +02:00
Mar0xy
802ad0fa02
add: like button 2023-10-01 01:53:17 +02:00
Insert5StarName
7a51e2d404 prototype: decreased rounding 2023-10-01 01:20:20 +02:00
Mar0xy
8d4e99b3a9
Merge branch 'icons' of https://github.com/transfem-org/Sharkey into icons 2023-10-01 00:52:07 +02:00
Mar0xy
2ea7e799fe
upd: add buttons to replies 2023-10-01 00:51:57 +02:00
Insert5StarName
b50c1ef9a5 upd: fix rest of icons 2023-10-01 00:46:42 +02:00
Insert5StarName
7b179d3a92 work in progress icons 2023-09-30 21:53:52 +02:00
syuilo
2438c047a7 enhance: 編集されたノートかどうか分かるように 2023-09-28 21:06:14 +09:00
Mar0xy
0c7011bd02
upd: make autoload conversation a toggle 2023-09-28 02:01:01 +02:00
Mar0xy
71a1985ba4
upd: autoload conversation 2023-09-28 01:39:58 +02:00
Mar0xy
8595a325ce
merge: upstream 2023-09-26 02:26:30 +02:00
syuilo
72075314a8 🎨 2023-09-24 11:08:51 +09:00
syuilo
ad8ddbf12f 🎨 2023-09-23 09:59:50 +09:00
Insert5StarName
dc77a90baf fix: syntax and typo 2023-09-22 22:37:10 +02:00
Insert5StarName
dc10579950 upd: add support in frontend 2023-09-22 22:33:18 +02:00
syuilo
d2ae80dd21 fix(frontend): リアクション一覧が種別ごとにフィルタできない
Fix #11865
2023-09-22 21:09:14 +09:00
Mar0xy
7111c6c90b
upd: swap bcrypt to argon2, add misskey-js to dev, auto load replies 2023-09-22 00:21:57 +02:00
syuilo
b0f6c44f36 refactor(frontend): use ESM 2023-09-19 16:37:43 +09:00
syuilo
a2d58d9f48 fix(frontend): 返信ではないノートの詳細ページが見れない(2023.9.0-beta.6) 2023-09-17 17:41:24 +09:00
syuilo
907d519da3 enhance(frontend): improve note detail page 2023-09-17 10:33:33 +09:00
syuilo
1f7a81aae7
update deps (#11764)
* update deps

* node16

* wip

* wip

* wip

* Update test-utils.ts

* wip

* Update tsconfig.json

* wip

* Update package.json

* wip

* Update following.vue

* Update followers.vue

* Update index.vue

* Update share.vue

* Update MkUserPopup.vue

* Update MkPostForm.vue

* wip

* Update MkTokenGenerateWindow.vue

* Update MkPagination.vue

* refactor

* update deps

* update deps

* Update sw.ts

* wip

* wip

* wip

* Update FetchInstanceMetadataService.ts

* Update FetchInstanceMetadataService.ts

* update node

* update deps

* 🎨
2023-09-04 13:33:38 +09:00
syuilo
9487856495
feat: refine announcement (#11497)
* wip

* Update read-announcement.ts

* wip

* wip

* wip

* Update index.d.ts

* wip

* Create 1691649257651-refine-announcement.js

* wip

* wip

* wip

* wip

* wip

* wip

* Update announcements.vue

* wip

* wip

* Update announcements.vue

* wip

* Update announcements.vue

* wip

* Update misskey-js.api.md

* Update users.ts

* Create MkAnnouncementDialog.stories.impl.ts

* wip

* wip

* Create AnnouncementService.ts
2023-08-13 20:12:29 +09:00
tamaina
8a72a05958
enhance(frontend): ユーザーメニューでスイッチでユーザーリストに追加・削除できるように (#11439)
* メニューのトグルをいい感じにする

* user list toggle!

* add changelog

* fix

* stop
2023-08-01 15:32:03 +09:00
Shun Sakai
c2370a1be6
chore: 著作権とライセンスについての情報を各ファイルに追加する (#11348)
* chore: Add the SPDX information to each file

Add copyright and licensing information as defined in version 3.0 of
the REUSE Specification.

* tweak format

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-07-27 14:31:52 +09:00
Acid Chicken (硫酸鶏)
090253c2d2
fix(frontend): replies to channel posts could change the visibility 2023-07-27 00:58:37 +09:00
syuilo
926f208fcf fix(frontend): Fix cat ears are awkward on reply modal 2023-07-26 17:24:13 +09:00
okayurisotto
d84796588c
cleanup: trim trailing whitespace (#11136)
* cleanup: trim trailing whitespace

* update(`.editorconfig`)

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-07-08 07:08:16 +09:00
Acid Chicken (硫酸鶏)
337dd97b49
perf(#10923): CSS Modules のクラス名をインライン化する (#10930)
* perf(#10923): unwind css module class name

* perf(#10923): support multiple components

* refactor: clean up

* refactor(#10923): avoid `useCssModule()`

* fix(#10923): allow direct literal class name

* fix(#10923): avoid computed class name

* fix(#10923): allow literal keys

* fix(#10923): typo

* fix(#10923): invalid class names

* chore: test

* revert: test

This reverts commit 5c7ef366eceebe8ba260efa4d5d675f6c1775c45.

* fix(#10923): hidden tale

* perf(#10923): also unwind scoped css contained components

* perf(#10923): `normalizeClass` AOT compilation

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-06-01 17:19:46 +09:00
tamaina
f8f3304164 fix(frontend/MkNoteDetailed): fix css module 2023-05-30 16:24:45 +00:00
syuilo
3097bb6c7d refactor 2023-05-29 18:22:15 +09:00
syuilo
6a5ef5b6f2 refactor 2023-05-19 13:58:09 +09:00
Namekuji
d28866f71a
enhance: account migration (#10592)
* copy block and mute then create follow and unfollow jobs

* copy block and mute and update lists when detecting an account has moved

* no need to care promise orders

* refactor updating actor and target

* automatically accept if a locked account had accepted an old account

* fix exception format

* prevent the old account from calling some endpoints

* do not unfollow when moving

* adjust following and follower counts

* check movedToUri when receiving a follow request

* skip if no need to adjust

* Revert "disable account migration"

This reverts commit 2321214c98.

* fix translation specifier

* fix checking alsoKnownAs and uri

* fix updating account

* fix refollowing locked account

* decrease followersCount if followed by the old account

* adjust following and followers counts when unfollowing

* fix copying mutings

* prohibit moved account from moving again

* fix move service

* allow app creation after moving

* fix lint

* remove unnecessary field

* fix cache update

* add e2e test

* add e2e test of accepting the new account automatically

* force follow if any error happens

* remove unnecessary joins

* use Array.map instead of for const of

* ユーザーリストの移行は追加のみを行う

* nanka iroiro

* fix misskey-js?

* ✌️

* 移行を行ったアカウントからのフォローリクエストの自動許可を調整

* newUriを外に出す

* newUriを外に出す2

* clean up

* fix newUri

* prevent moving if the destination account has already moved

* set alsoKnownAs via /i/update

* fix database initialization

* add return type

* prohibit updating alsoKnownAs after moving

* skip to add to alsoKnownAs if toUrl is known

* skip adding to the list if it already has

* use Acct.parse instead

* rename error code

* 🎨

* 制限を5から10に緩和

* movedTo(Uri), alsoKnownAsはユーザーidを返すように

* test api res

* fix

* 元アカウントはミュートし続ける

* 🎨

* unfollow

* fix

* getUserUriをUserEntityServiceに

* ?

* job!

* 🎨

* instance => server

* accountMovedShort, forbiddenBecauseYouAreMigrated

* accountMovedShort

* fix test

* import, pin禁止

* 実績を凍結する

* clean up

* ✌️

* change message

* ブロック, フォロー, ミュート, リストのインポートファイルの制限を32MiBに

* Revert "ブロック, フォロー, ミュート, リストのインポートファイルの制限を32MiBに"

This reverts commit 3bd7be35d8aa455cb01ae58f8172a71a50485db1.

* validateAlsoKnownAs

* 移行後2時間以内はインポート可能なファイルサイズを拡大

* clean up

* どうせactorをupdatePersonで更新するならupdatePersonしか移行処理を発行しないことにする

* handle error?

* リモートからの移行処理の条件を是正

* log, port

* fix

* fix

* enhance(dev): non-production環境でhttpサーバー間でもユーザー、ノートの連合が可能なように

* refactor (use checkHttps)

* MISSKEY_WEBFINGER_USE_HTTP

* Environment Variable readme

* NEVER USE IN PRODUCTION

* fix punyHost

* fix indent

* fix

* experimental

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-04-30 00:09:29 +09:00
tamaina
6798effbab
enhance(client): 投稿フォームをちょっといい感じに (#10442)
* .formラッパーを削除

* fix type of MkPostFormAttaches

* 🚀

* 🎨

* 🎨

* 🎨

* 🎨

* specifiedの時は連合なしをdisabledに

* ✌️

* set select default

* gap: 2px (max-width: 500px) / 4px

* wip

* ✌️

* 🎨

* fix maxTextLength

* 今後表示しない

* 🎨

* cache channel

* 🎨

* 連合なしにする

* use i18n.ts.neverShow

* ✌️

* refactor

* fix indent

* tweak

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-04-05 14:30:03 +09:00
syuilo
9224b6635f refactor(frontend): remove $ts and $t 2023-04-01 14:01:57 +09:00
syuilo
5f52b13325 enhance(frontend): クリップボタンをノートアクションに追加できるように 2023-03-24 16:54:37 +09:00
syuilo
dd6569a1bb
feat: Reaction acceptance (#10256)
* wip

* wip

* デフォルト設定
2023-03-08 08:56:47 +09:00
Khsmty
c34e7e6e08
enhance(client): Renote した時の表示をリップルエフェクトと toast に (#10116)
* enhance(client): Renote した時の表示を toast に

* fix: lint エラー

* enhance(client): Renote した時の表示をリップルエフェクトに

* toast も追加

* rippleeffect のタイミング変更

* toast の位置を header に被らないように
2023-03-01 14:55:57 +09:00
syuilo
a683278fb8 enhance(client): renoteした際の表示を改善
Resolve #10078
2023-02-25 09:44:35 +09:00
syuilo
ff8437c378 enhance(client): ローカルのみ -> 連合なし
Resolve #10055
2023-02-24 10:24:25 +09:00
Kagami Sascha Rosylight
63df2c851e
refactor: remove all unused imports (#9951)
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-02-16 23:09:41 +09:00
syuilo
ee5b417354 tweak 2023-02-12 11:02:11 +09:00
syuilo
73f06e591a revert: 650187deaf 2023-02-08 20:07:19 +09:00
syuilo
650187deaf perf(client): do not render custom emojis in user names
#9778
2023-02-08 17:48:02 +09:00
syuilo
452bd6db25 tweak custom emoji handling
Close #9721
2023-01-26 15:48:12 +09:00
syuilo
65cd605b73
Achievements (#9665)
* wip

* Update ja-JP.yml

* wip

* wip

* Update MkAchievements.vue

* wip

* 🎨

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip
2023-01-21 13:14:55 +09:00