Commit graph

150 commits

Author SHA1 Message Date
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
5459181901
fix: typo 2023-10-01 04:04:13 +02:00
Mar0xy
31e0e07d92
upd: use appearNote instead of props.note 2023-10-01 04:03:00 +02:00
Mar0xy
e92137e662
fix: minus button 2023-10-01 03:16:20 +02:00
Mar0xy
3d8414e499
fix: like button opening post view, remove tabler 2023-10-01 02:34:07 +02:00
Mar0xy
ba4ab40b0e
fix: like button class 2023-10-01 02:20:51 +02:00
Mar0xy
f82f2cc3e1
upd: add like button to normal note component 2023-10-01 02:16:05 +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
Mar0xy
8595a325ce
merge: upstream 2023-09-26 02:26:30 +02:00
Mar0xy
7149d0ffd9
chore: change positioning 2023-09-23 03:59:17 +02:00
Mar0xy
508650c41b
fix: make avatar clickable 2023-09-23 03:33:26 +02:00
Mar0xy
7f0863a96e
fix: buttons opening post view 2023-09-23 01:26:57 +02:00
Insert5StarName
9c78524118 fix: fix reply button 2023-09-23 00:52:45 +02:00
Insert5StarName
0bed6ec08e fix: actual fix for click 2023-09-23 00:49:23 +02:00
Insert5StarName
212c6a5e22 fix: buttons in posts 2023-09-23 00:37:33 +02:00
Mar0xy
d869d7aa05
upd: View post on click 2023-09-22 23:35:09 +02: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
3085739e0e 🎨
Resolve #11867
2023-09-22 21:10:54 +09:00
syuilo
b0f6c44f36 refactor(frontend): use ESM 2023-09-19 16:37:43 +09:00
syuilo
907d519da3 enhance(frontend): improve note detail page 2023-09-17 10:33:33 +09:00
anatawa12
4c3935bf80
chore(frontend): renote of note in sensitive channel is now home renote by default. (#11476)
* chore(frontend): renote of note in sensitive channel is now home renote by default.

* docs: センシティブチャンネルのNoteのReNoteはデフォルトでHome TLに流れるようになりました

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-09-07 16:48:47 +09:00
anatawa12
b0eae49eaa
feat(frontend): remove renote with by admin privilege (#11789) 2023-09-05 19:29:52 +09:00
anatawa12
46b0eb46b3
feat(frontend): Report renote abuse (#11466)
* chore: add way to show renote in window / tab

* feat: report abuse for renote

* docs: Renote自体を通報できるように

* revert: make renote time link

* chore: add copy renote menu

* chore: remove copy/report renote from note menu

* fix: abuse menu without actual selection shown

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-09-05 17:25:08 +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
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
kabo2468
a8cd8ed99e
enhance: 自動でたたまれる機能が返信先や引用RNにも適用されるように (#10989)
* 返信、引用RNでMFMがあったら自動で隠すように

* Update CHANGELOG.md

* Update MkSubNoteContent.vue

* refactor: avoid `Boolean`

* docs: update CHANGELOG.md

---------

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2023-07-21 09:58:57 +00:00
anatawa12
e6db7b9fa7
feat(frontend): Renote時に公開範囲のデフォルト設定が適用されるように (#11240)
* chore: use saved visibility on renote

* chore: use saved localOnly on renote

* docs: add comment about why smallerVisibility accepts string

* docs(changelog): add Renote時に公開範囲のデフォルト設定が適用されるように

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-07-18 19:17:17 +09:00
anatawa12
2606167f0d
chore: collapse renote of my note (#11166)
* chore(frontend): 自分のnoteのrenoteも省略するように

Co-authored-by: madorama <madorama999@gmail.com>

* docs(changelog): add 見たことのあるRenoteを省略して表示をオンのときに自分のnoteのrenoteを省略するように

---------

Co-authored-by: madorama <madorama999@gmail.com>
2023-07-07 20:05:11 +09:00
mappi
a7abf941c0
fix:vue-plyr廃止追加対応(Audio要素のコンテキストメニューをブラウザデフォルトに) (#10940)
* wip

* add comment

* fix quotes
2023-06-02 16:31:25 +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
kabo2468
aba0755880
enhance(client): MFMのx2, scale, positionが含まれていたらノートをたたむようにした (#10165)
* enhance(client): MFMのx2, scale, positionが含まれていたらノートをたたむようにした

* Update CHANGELOG.md

---------

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-05-31 12:57:40 +09:00
syuilo
6a5ef5b6f2 refactor 2023-05-19 13:58:09 +09:00
tamaina
44ba2fd7cb fix(client): Fix #10746
NSFWメディアの上に表示された「もっと見る」ボタンが押しづらい問題を修正
2023-05-07 12:37:11 +00:00
syuilo
d535ec21a2 feat: チャンネルに色を設定できるように 2023-05-02 09:36:40 +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
happo31
dffefdad95
fix: #9998 MkNote.vue, MkNoteDetailed.vue で、特定のMFMによってフッターのボタンが押せなくなる (#9999)
* fix(client): add `overflow: clip;`

* fix(client): add `overflow: clip;`

* Revert "fix(client): add `overflow: clip;`"

This reverts commit c43226afde4741d61088192cbbab09fe97e1f2fb.

Revert "fix(client): add `overflow: clip;`"

This reverts commit c7225151056ff15b953aae806e7a07fa13fab746.

* feat(client): add z-index to .footer
2023-04-13 15:43:10 +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
9bc5d52e41 feat: チャンネルにノートをピン留めできるように
Resolve #7740
2023-03-31 15:01:56 +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
syuilo
dad915e522 enhance(client): provide sticktyFooter 2023-03-02 18:40:43 +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
78d66d3806 🎨 2023-03-01 14:54:02 +09:00
syuilo
44f041587c 🎨 2023-03-01 14:46:53 +09:00
syuilo
064a6bf065 🎨 2023-03-01 10:56:51 +09:00
syuilo
7c3a390763 enhance(client): ノートの操作部をホバー時のみ表示するオプション 2023-02-28 20:53:32 +09:00
syuilo
86eab355c6 🎨 2023-02-25 17:49:54 +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
syuilo
fb7e5a3fac enhance(client): tweak renote collapsing logic 2023-02-23 08:08:17 +09:00
kabo2468
a7f464147d
enhance(client): MFMのx3, x4が含まれていたらノートをたたむようにした (#10012) 2023-02-21 10:45:53 +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
taiy
5cf5b66696
fix(client): use tabler icons (#9915) 2023-02-14 13:17:00 +09:00
syuilo
ee5b417354 tweak 2023-02-12 11:02:11 +09:00
syuilo
2f48d109dd enhance(client): make possible to in-channel renote/quote 2023-02-12 10:59:22 +09:00
syuilo
784fc7b3f5 🎨 2023-02-12 10:46:14 +09:00
syuilo
e1d41063cd enhance(client): make renote collapsing optional
Resolve #9891
2023-02-12 08:18:22 +09:00
tamaina
6f33be6c75
enhance(client): MkNoteのリアクションの表示数は16に制限 (#9841)
* enhance(client): MkNoteのリアクションの表示数は16に制限・リアクションの横の?ボタンでリアクション詳細

* info-circleにする

* - Layout Shiftが起こらないように
- 自分のリアクションは必ずつける

* https://github.com/misskey-dev/misskey/pull/9841#issuecomment-1423786235

* remove logger

* refactor

* refactor

Co-authored-by: acid-chicken <root@acid-chicken.com>

* Revert "https://github.com/misskey-dev/misskey/pull/9841#issuecomment-1423786235"

This reverts commit ec1315b1fb207e0c5b2a5f2f4a00de7379c7a29b.

* wip

* wip

* 🎨

* fix

* fix

* fix

* 🎨

* wip

* remove extras from MkNoteDetailed

* もっと!

* no v-if

* dashed

---------

Co-authored-by: acid-chicken <root@acid-chicken.com>
2023-02-11 13:05:36 +09:00
syuilo
3004fe573d enhance(client): URLが4つ以上添付されている場合折りたたむように 2023-02-11 13:01:56 +09:00
syuilo
5cc0219ff2 tweak MkNote 2023-02-11 10:27:59 +09:00
syuilo
4a0b0b135a enhance(client): 添付ファイルが5つ以上あるときは折りたたむように 2023-02-11 10:25:33 +09:00
syuilo
8bd2d6328a enhance(client): 一度見たノートのRenoteは省略して表示するように
Resolve #1792
2023-02-11 09:41:54 +09:00
syuilo
a1b8cd15c4 fix(client): register_note_view_interruptor not working
Fix #9826
2023-02-08 20:11:53 +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
syuilo
77e491f52c refactor 2023-01-16 14:18:11 +09:00
syuilo
bb7867351c typo 2023-01-15 09:03:07 +09:00
syuilo
6783178dc3 tweak css 2023-01-10 11:19:56 +09:00
syuilo
f3c0af7e23 refactor(client): use css modules 2023-01-10 08:48:37 +09:00
syuilo
4df43a9107 fix style 2023-01-10 05:40:51 +09:00
syuilo
c1cd018626 tweak style 2023-01-10 05:22:47 +09:00
syuilo
06f55ffb37 refactor(client): use css modules 2023-01-10 05:17:54 +09:00
syuilo
dfee79f841 🎨
Resolve #9498
2023-01-09 13:32:48 +09:00
syuilo
8524e9d735 tweak client 2023-01-09 09:04:35 +09:00
syuilo
91356b1805 tweak 2023-01-08 11:12:11 +09:00
syuilo
49f3090edd tweak note componsnt 2023-01-08 10:48:44 +09:00
syuilo
4594fb11de 🎨 2023-01-08 10:32:37 +09:00
syuilo
c550dafb81 tweak note component 2023-01-08 10:20:28 +09:00
syuilo
3500e035cd refactor 2023-01-03 14:21:32 +09:00
syuilo
c93f091ba8 perf(client): use shallowRef instead of ref for template reference 2023-01-03 13:37:32 +09:00
syuilo
2184240ef1 perf(client): use shallowRef for html element ref 2023-01-03 10:12:37 +09:00
tamaina
46c2706b7e
perf: use overflow: clip instead of overflow: hidden (#9443)
* use overflow: clip

* revert
2023-01-02 12:15:26 +09:00
syuilo
2244cf2995 refactor 2022-12-30 13:56:22 +09:00
syuilo
912791b3ab
refactor: 絵文字URLを引き回すのをやめる (#9423) 2022-12-29 10:14:44 +09:00
syuilo
13677ff2b0 remove v-size directive 2022-12-28 09:32:22 +09:00
syuilo
4f15b6f7c2 Revert "perf?(client): remove needless scoped annotation for style"
This reverts commit ada04c1932.
2022-12-27 18:29:39 +09:00
syuilo
ada04c1932 perf?(client): remove needless scoped annotation for style 2022-12-27 18:01:06 +09:00
syuilo
9384f5399d rename: client -> frontend 2022-12-27 14:36:33 +09:00
Renamed from packages/client/src/components/MkNote.vue (Browse further)