Commit graph

4447 commits

Author SHA1 Message Date
anatawa12
7015cc937b
fix(backend): We can renote pure renote (#12171)
* chore: make pure renote detection an function

* fix: we can renote pure renote

* docs(changelog): リノートをリノートできるのを修正

* fix: remaining debug log

* chore: move isPureRenote to misc

* chore: make isPureRenote type guard

* chore: use isPureRenote in other places

* fix CHANGELOG

* style: fix lint

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-10-30 13:48:22 +09:00
syuilo
50b16e36c7 enhance(frontend): URL入力フォームのtypeをurlに
Resolve #12137
2023-10-30 13:41:40 +09:00
syuilo
e512f8c56d fix(frontend): 標準テーマと同じIDを使用してインストールできてしまう問題を修正
Fix #12188
2023-10-30 13:38:03 +09:00
Mar0xy
e24a57402b
chore: lint 2023-10-30 01:47:24 +01:00
Mar0xy
81def9457b
upd: allow updating of fields 2023-10-30 01:32:48 +01:00
_
c239058624
feat(frontend): スワイプやボタンでタイムラインを再読込する機能 (#12113)
* pc reloading

* add: disable TL websocket option

* fix: stream disconnect when reload

* add: pull to refresh

* fix: pull to refresh

* add changelog

* fact: change to disableStreamingTimeline

* lint

* remove: en-US text

* refactor

* refactor

* add license identifier

* tweak

* Update MkPullToRefresh.vue

* Update MkPullToRefresh.vue

* change name timeoutHeartBeat

* tweak

* 🎨

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-10-30 09:12:20 +09:00
Mar0xy
c88fbe843a
upd: remove debug lines, fix header not being detected 2023-10-30 01:04:55 +01:00
Mar0xy
d942d4d0d0
upd: change resolving of _request.files 2023-10-30 00:57:12 +01:00
Mar0xy
be7d3859c3
test: update debug lines 2023-10-30 00:45:38 +01:00
Mar0xy
e8e4bafa64
upd: remove host lookup on file updating 2023-10-30 00:34:19 +01:00
Mar0xy
2aa7c1ae34
upd: remove Bearer from auth when looking up token 2023-10-30 00:29:58 +01:00
Mar0xy
b57ec5e2eb
test: avatar and header uploading 2023-10-30 00:27:04 +01:00
かっこかり
117db08880
fix(backend): プロフィールの自己紹介欄のMFMを連合するように(実装漏れ) (#12185)
* (refactor) eliminate nested ternary operation

* fix lint

* Jissou more
2023-10-30 08:20:32 +09:00
おさむのひと
2de4d3329d
Fix: フォローしたユーザが、自分のフォローしていないチャンネルにノートを投稿した時、そのノートがHTLで見えてしまう (#12186)
* #12181 の問題に対処
「ユーザー・チャンネルともにフォローあり」のときの絞り込みに不備があり、フォローしているユーザの投稿であればチャンネルのフォロー関係なく通過するようになってしまっていた

* fix CHANGELOG.md

---------

Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
2023-10-30 08:19:27 +09:00
yupix
d9cfea8b10
fix: 個人カードのemojiがバッテリーになっている #12189 (#12190) 2023-10-30 08:17:42 +09:00
Mar0xy
8736560e5f
fix: reply edits not staying attached 2023-10-29 21:51:12 +01:00
Mar0xy
cd1083cc30
fix: relationships not working on some clients 2023-10-29 14:31:26 +01:00
Mar0xy
b596a4978f
upd: add quoteUri resolving and correct reblog/quote handling 2023-10-29 12:49:41 +01:00
Mar0xy
c53323d237
upd: add history endpoint, make sure all areas use new convertAccount 2023-10-29 12:18:18 +01:00
かっこかり
59cc101752
fix(backend): プロフィールの自己紹介欄のMFMを連合するように (#12184)
* (fix) federate user description mfm

* fix

* Update Changelog
2023-10-29 19:33:35 +09:00
syuilo
aefc941df3 typo 2023-10-29 16:28:32 +09:00
まっちゃてぃー
2da55f70a7
Feat: リモートユーザーの更新をできるように (#12172)
* Feat: リモートユーザーの更新をできるように

Signed-off-by: mattyatea <mattyacocacora0@gmail.com>

* Update packages/frontend/src/scripts/get-user-menu.ts

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>

* Update packages/frontend/src/scripts/get-user-menu.ts

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>

---------

Signed-off-by: mattyatea <mattyacocacora0@gmail.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-10-29 16:14:48 +09:00
syuilo
0fc36d11d7 fix(backend): STLにGTLの投稿が混ざる問題を修正
Fix #12169
2023-10-29 16:13:30 +09:00
syuilo
7436e0da18 lint fixes 2023-10-29 16:09:20 +09:00
おさむのひと
a161a9c1e7
Fix: notes/timelineにフォローしているチャンネルのノートを含める (#12179)
* notes/timelineにフォローしているチャンネルのノートを含める

* fix CHANGELOG.md

---------

Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
2023-10-29 14:16:36 +09:00
かっこかり
1a8243f1ca
MkCodeのパースエンジンをShikiに変更 (#12102)
* (swap) prism -> shiki

* fix styles

* (bump) aiscript-vscode to v0.0.5

* refactor

* replace prism-editor (beta)

* Update scratchpad.vue

* (enhance) MkCodeEditor自動インデント改行

* (fix) lint

* (add) scratchpad: MkStickyContainer

* Update CHANGELOG.md

* clean up

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-10-29 14:12:40 +09:00
syuilo
feedad7d8b enhance(frontend): tweak about-misskey page 2023-10-29 13:49:26 +09:00
syuilo
2a61a0c026 Update .eslintrc.js 2023-10-29 13:07:49 +09:00
Mar0xy
8fd669ff7d
fix: statuses using wrong emojis 2023-10-29 03:30:35 +01:00
Mar0xy
d8b0078ffa
fix: emojis not loading on local statuses 2023-10-29 03:23:09 +01:00
yupix
5887c5da6c
feat: チャンネルの作成・更新時にapiWithDialogを使うように (#12142)
* feat: チャンネル作成、更新時にapiWithDialogを使うように

* chore: 不要なsuccessの呼び出しを削除

* chore: 誤って削除した必要なコードを元通りに
2023-10-29 11:10:01 +09:00
Mar0xy
549bcf70db
upd: convertAccount now fetches info from the DB 2023-10-29 02:59:36 +01:00
Mar0xy
95bcfd8ef3
fix: followers and following not being able to load 2023-10-29 02:23:43 +02:00
Mar0xy
90b666e626
fix: await all results on favourites and reblogged 2023-10-29 02:20:05 +02:00
Mar0xy
43f27a639f
upd: simplify importing of mastoconverter, fix bug
Lets you import stuff into mastoconverter without needing to also import them everywhere else
Fixes not being able to get statuses on accounts
2023-10-29 02:06:19 +02:00
Mar0xy
82c10de265
upd: change deps, fix a few bugs, update converter
Fixes User and Notes count bug (transfem-org/Sharkey#113)
Fixes build issues due to types (transfem-org/Sharkey#111)
Return accounts and notes like Iceshrimp
Use MFM class from Iceshrimp to fix HTML output for mastodon
2023-10-29 00:50:00 +02: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
syuilo
a8dc6d08b1 update deps 2023-10-28 12:31:18 +09:00
かっこかり
abe78a277a
enhance(frontend): データセーバー有効時はGIFアバターを停止 (#12165)
* (enhance) データセーバーモード有効時はGIFアバターを停止

* Update Changelog

* Update CHANGELOG.md

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-10-28 08:00:00 +09:00
かっこかり
aa31b6c65b
fix(frontend): MkGoogleのクエリを正しくエンコードできるように修正 (#12164)
* (fix)MkGoogleで一部キーワードのURLエンコードに失敗する

* Update Changelog

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-10-28 07:57:10 +09:00
かっこかり
c37616de72
fix(frontend): Intlが対応していない言語の場合はフォールバックする (#12163)
* (fix) Intlが対応していない言語の場合はフォールバックする

* Update Changelog
2023-10-28 07:56:24 +09:00
かっこかり
e5ff8d8445
enhance: プラグイン削除時にアクセストークンも削除する (#12167)
* (enhance) プラグイン削除時にトークンも削除

* update changelog
2023-10-28 07:54:06 +09:00
taichan
8a2309ba7d
fix(backend): ハッシュタグのランキングの問い合わせ結果がないときのエラー修正 (#12145)
* fix(backend): undefined result error

* Update Changelog

* Update packages/backend/src/core/FeaturedService.ts

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-10-27 18:37:17 +09:00
おさむのひと
a8ee67cace
Fix: チャンネルのフォロー・アンフォローの反映速度を改善 (#12149)
* チャンネルのフォロー・アンフォローの反映速度を改善

* fix lint

* userFollowingChannelsCacheの場所をCacheServiceからChannelFollowingServiceに移動

---------

Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
2023-10-27 18:34:02 +09:00
NoriDev
5e76675a0c
fix(frontend): ユーザーページの ノート > ファイル付き タブにリプライが表示されてしまう (#12148) 2023-10-27 18:25:04 +09:00
Lya
1d9b5ae1ba
chore(frontend): 絵文字名のフィールドでautocapitalizeしないように (#12139) 2023-10-25 21:20:36 +09:00
ikasoba
dc0582739f
Fix: STLでフォローしていないチャンネルが表示される問題を修正 (#12143)
* タイムラインをpostgresから取得する際にフォローしていないチャンネルが取得されるのを修正

* CHANGELOGに追記
2023-10-25 21:19:43 +09:00
かっこかり
024546206d
feat(AiScript): Mk:nyaize() を追加 (#12136)
* feat(AiScript): Mk:nyaize

* Update Changelog

* Fix relative path
2023-10-25 17:46:04 +09:00
syuilo
4dd4a11cef Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-10-24 14:38:18 +09:00
syuilo
afb37f0b03 🎨 2023-10-24 14:38:15 +09:00
yukineko
0c730968a3
fix: RedisへのTLキャッシュが有効の場合にHTL/LTL/STL/リストが空になることがある問題を修正 (#12088) (#12124)
* fix: RedisTimelineが有効の場合にHTLがリセットされた状態になる問題を修正

* add: CHANGELOG.md

* fix: LTL, STLでもTLが空になることがある問題を修正

* update: CHANGELOG.md

* fix: DBへのフォールバック時にwithRenotesが考慮されていないのを修正

* feat: リストにもDBフォールバックを実装

* fix: リストのDBフォールバック時の挙動を修正

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-10-24 14:34:32 +09:00
MomentQYC
9caae8a10a
feat: Facilitates the rollback of migration operations (#12109)
* Update package.json

* Update package.json
2023-10-23 16:42:54 +09:00
atsuchan
9d0648ed35
enhance(server): Improve user block (Renote Part) (#12089) 2023-10-23 16:42:26 +09:00
woxtu
4a832e87c0
Replace deprecated MediaQueryList.addListener() (#12112) 2023-10-23 15:32:10 +09:00
syuilo
9dcccbc8e1 fix(backend): 自分のフォローしているユーザーの自分のフォローしていないユーザーの visibility: followers な投稿への返信がストリーミングで流れてくる問題を修正
Fix #12117
2023-10-23 15:29:42 +09:00
syuilo
e6c54de814 enhance(backend): RedisへのTLのキャッシュをオフにできるように 2023-10-23 15:17:25 +09:00
syuilo
5a39c1a8eb fix type 2023-10-23 11:07:27 +09:00
syuilo
c9ae5d0e51 fix type 2023-10-23 09:24:13 +09:00
syuilo
805a2c027e Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-10-23 09:20:57 +09:00
syuilo
fdeee5dd05 update deps 2023-10-23 09:20:55 +09:00
かっこかり
796265fc50
(fix) ページキャッシュが効く問題を修正 (#12105) 2023-10-23 09:14:36 +09:00
syuilo
9221cbf42b fix(backend): fix i/signin-history response 2023-10-23 08:59:05 +09:00
Mar0xy
b0a7fd6ddb
Merge branch 'develop' of https://github.com/transfem-org/Sharkey into develop 2023-10-22 22:48:58 +02:00
Mar0xy
13c5da63d7
fix: MFM overflowing out of note
Closes transfem-org/Sharkey#104
2023-10-22 22:48:49 +02:00
Marie
38412eef18
merge: partially un-hash CSS class names (#109) 2023-10-22 19:51:38 +02:00
ShittyKopper
4a4fd70180 upd: partially un-hash CSS class names
intended to allow easier creation of custom CSS modifications. the last
4 chars of class names should be static as long as files don't move, but
just in case modifications might prefer to use prefix selectors such as
[class^=MkWhatever] instead of .MkWhatever-1234
2023-10-22 20:39:38 +03:00
Mar0xy
6d290225ef
fix: not checking for renotes during packing of note
Closes transfem-org/Sharkey#108
2023-10-22 19:20:06 +02:00
Mar0xy
d49099baeb
upd: add additional checks 2023-10-22 19:19:44 +02:00
Marie
b43402519f
merge: nicer file type search (#107) 2023-10-22 14:46:39 +02:00
Mar0xy
16f671c0f4
Merge branch 'develop' of https://github.com/transfem-org/Sharkey into develop 2023-10-22 14:43:31 +02:00
dakkar
1dc5623713 use block comment 2023-10-22 13:43:19 +01:00
Mar0xy
7c922dc39b
fix: wakelock error causing site to not load 2023-10-22 14:43:15 +02:00
dakkar
b74fd71d67 nicer file type search
* the previous one could allow a SQL injection, since the
  `opts.filetype` value came straight from the browser

* this more precise regex match will not produce spurious
  matches (which were very unlikely, true, but still, let's be
  precise) (`video/movingimages` would have matched `%image%`!)
2023-10-22 13:35:11 +01:00
Amelia Yukii
aaf55cf937
revert: atempt pull to reload 2023-10-22 14:14:02 +02:00
Mar0xy
83be996a3d
upd: store old date and use it in previous versions 2023-10-22 14:07:04 +02:00
Mar0xy
2706b6b618
fix: date formatting in previous note view 2023-10-22 13:36:34 +02:00
Mar0xy
d50e81e475
upd: improve note edit table & improve previous version view
Closes transfem-org/Sharkey#105
2023-10-22 13:16:30 +02:00
syuilo
5dc0463323 fix(backend): ローカルタイムラインに投稿者自身の投稿への返信が含まれない問題を修正 2023-10-22 16:23:50 +09:00
syuilo
8091e8b900 🎨 2023-10-22 16:16:02 +09:00
syuilo
1aeae6217e chore(frontend): tweak settings ui 2023-10-22 16:12:01 +09:00
syuilo
5cd98804a2 🎨 2023-10-22 16:08:41 +09:00
syuilo
7e80b3d4d4 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-10-22 16:05:36 +09:00
syuilo
18fb7a2080 enhance(frontend): アイコンのデコレーションを非表示にできるように 2023-10-22 16:05:32 +09:00
zyoshoka
983b1e63df
fix(frontend): 投稿フォームでのユーザー変更がプレビューに反映されるように修正 (#12022)
* fix(frontend): 投稿フォームでのユーザー変更がプレビューに反映されるように修正

* Update CHANGELOG.md
2023-10-22 15:51:48 +09:00
syuilo
ce09a35b03 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2023-10-22 13:02:27 +09:00
syuilo
4eaa02d25f enhance: improve avatar decoration 2023-10-22 13:02:24 +09:00
Acid Chicken (硫酸鶏)
4b295088fd
Update schemas.ts (#12103) 2023-10-22 10:52:06 +09:00
syuilo
72327716ca fix(backend): リストTLに自分のフォロワー限定投稿が含まれない問題を修正
Fix #12110
2023-10-22 10:40:53 +09:00
Mar0xy
6b3b805a3e
chore: remove debug from versions menu 2023-10-22 03:01:51 +02:00
Mar0xy
ce83c483c6
add: view previous versions of notes
Closes transfem-org/Sharkey#103
2023-10-22 03:00:35 +02:00
syuilo
fd8d253e1e 🎨 2023-10-22 09:43:55 +09:00
syuilo
845713bdbf Update about-misskey.vue 2023-10-22 09:28:59 +09:00
Mar0xy
a74c7f60b5
upd: search filters 2023-10-22 00:13:08 +02:00
Mar0xy
d392edbc6b
test: more search options 2023-10-21 22:03:19 +02:00
Mar0xy
4a90464f03
fix: tabs not working on profile overview for notes 2023-10-21 18:43:34 +02:00
Mar0xy
b930b89b3c
upd: send email on new pending approval 2023-10-21 18:39:13 +02:00
Amelia Yukii
aaf5adad08
fix: add blur to MkDonation 2023-10-21 13:51:07 +02:00
Mar0xy
9eb094aeb9
fix: decrement happening on normal renotes 2023-10-21 12:48:39 +02:00
Mar0xy
1608e32ed7
Merge branch 'develop' of https://github.com/transfem-org/Sharkey into develop 2023-10-21 12:40:17 +02:00
Mar0xy
01a142f777
fix: increment and decrement of note count 2023-10-21 12:40:08 +02:00
かっこかり
f51bca41c5
Feat: 外部サイトからテーマ・プラグインのインストールができるように (#12034)
* Feat: 外部サイトからテーマ・プラグインのインストールができるように

* Update Changelog

* Change Changelog

* Remove unnecessary imports

* Update fetch-external-resources.ts

* Update CHANGELOG.md

* Update CHANGELOG.md
2023-10-21 18:41:12 +09:00
anatawa12
722584bf72
すべてのフォロー中の人のwithRepliesを変える機能 (#12049)
* feat: endpoint to update all following

* feat(frontend): change show replies for all

* docs(changelog): すでにフォローしたすべての人の返信をTLに追加できるように

* fix: cancel not working
2023-10-21 18:39:19 +09:00
CyberRex
12fe09c6e7
プロフィールのURL認証をrel=meで可能に (#12100) 2023-10-21 18:38:51 +09:00
syuilo
2c0a139da6
feat: Avatar decoration (#12096)
* wip

* Update ja-JP.yml

* Update profile.vue

* .js

* Update home.test.ts
2023-10-21 18:38:07 +09:00
woxtu
e6873fb259
Switch avatar images that depend on the animation setting (#12097) 2023-10-21 13:31:16 +09:00
Natsuki Ikeguchi
f4970c7d2f
fix(frontend): Use opening quote in notifications (#12082)
Signed-off-by: Natsuki Ikeguchi <me@s6n.jp>
2023-10-21 07:54:28 +09:00
shiosyakeyakini
6d6ddbc35e
fix(backend) api/iの未読のお知らせにcreatedAtを追加するように修正 (#12092)
Co-authored-by: sorairo <sorairo@shiosyakeyakini.info>
2023-10-21 07:53:57 +09:00
Marie
69ebee7e25
fix: change favicon to apple-touch-icon 2023-10-20 14:00:22 +02:00
Marie
8f7903c1a0
upd: use favicon.png instead of favicon.ico as default image on Visitor Dashboard 2023-10-20 13:57:32 +02:00
Mar0xy
33eab0d178
upd: change handling of renewkeyFailed 2023-10-20 12:54:25 +02:00
Mar0xy
c76f0f1679
fix: set boolean to true if uri doesn't match activity actor 2023-10-20 12:53:14 +02:00
Mar0xy
71b7c31958
upd: refetch user keys on signature failure
Reference: https://github.com/misskey-dev/misskey/pull/12051
2023-10-20 12:50:56 +02:00
syuilo
42a3489bcb update deps 2023-10-20 15:46:12 +09:00
syuilo
df957f7afe update test 2023-10-20 13:07:08 +09:00
syuilo
b394328eb1 fix(backend): フォロ限へのリプのリプ元が(非公開)の表示のまま
Fix #12083
2023-10-20 11:58:09 +09:00
syuilo
21986a2168 enhance(frontend): 投稿されてから時間が経過しているノートであることを視覚的に分かりやすく 2023-10-20 11:51:01 +09:00
syuilo
18af290b18 chore: tweak MkNotifications 2023-10-20 11:33:33 +09:00
syuilo
d962ea3889 add timeline tests 2023-10-20 08:15:31 +09:00
syuilo
683b71fc7e add timeline tests 2023-10-20 08:13:20 +09:00
syuilo
216b20d2db fix(backend): 自分のフォロワー限定ノートがWebsoketに乗ってこない
Fix #12081
2023-10-20 08:02:32 +09:00
syuilo
6ff5bfd2bc clean up 2023-10-20 07:48:31 +09:00
Mar0xy
4dda43d276
upd: wrap username in header
Closes transfem-org/Sharkey#90
2023-10-20 00:45:21 +02:00
Mar0xy
659574e457
upd: hide files in post form by default
Closes transfem-org/Sharkey#99
2023-10-20 00:27:24 +02:00
Mar0xy
537af45e71
chore: lint on SkApprovalUser 2023-10-20 00:13:21 +02:00
Mar0xy
fd8fa9b3de
upd: remove approvals from admin-users
Removes approvals tab in favor of the new approvals page
2023-10-20 00:09:38 +02:00
Mar0xy
142f500f4b
add: approval section in control panel 2023-10-20 00:02:01 +02:00
Mar0xy
fc5d75f8d4
fix: no translations on sub notes
Closes bug:  transfem-org/Sharkey#89
2023-10-19 22:23:27 +02:00
Insert5StarName
86f41914a6 revert: blur in container 2023-10-19 17:43:00 +02:00
Insert5StarName
456952007b fix: headers of containers 2023-10-19 14:57:42 +02:00
Insert5StarName
d6ebbf5721 fix: performance issues & respect blur option 2023-10-19 14:48:31 +02:00
syuilo
4a7c6e261a fix(backend): 管理者権限のロールを持っていても一部のAPIが使用できないことがある問題を修正 2023-10-19 20:47:23 +09:00
Mar0xy
e1e02a6dbc
fix: being able to set birthday into the future 2023-10-19 13:26:40 +02:00
syuilo
cc256f117e update deps 2023-10-19 19:51:59 +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
anatawa12
991fa054a6
chore: STLのdb fallbackでwithRepliesがtrueのときにすべてのリプライを除外しないように (#12075)
MiFollowingを見るのは実装コストが高いため現状実装していない

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-10-19 19:34:52 +09:00
A.Yamamoto
9afcdd10ed
UserLite.nameにnullが入りうるのを型で明示 (#12073)
* UserLite.nameにnullが入りうるのを型で明示

* ドキュメントの追従
2023-10-19 19:33:45 +09:00
syuilo
721cbe085b fix(frontend): fix of 30efd932a5 2023-10-19 17:42:19 +09:00
Mar0xy
c3f768181a
fix: invite code not being marked as used
Fixes an issue where if approval and invite were enabled the code would stay as unused
2023-10-19 10:42:18 +02:00
Mar0xy
059401aeab
fix: system users not being set to approved on creation 2023-10-19 10:38:46 +02:00
Mar0xy
7739278685
upd: don't show approved badge on remote users 2023-10-19 10:37:40 +02:00
anatawa12
93d3501c90
fix: replies are included even if withReplies = false in local timeline (#12074) 2023-10-19 17:29:09 +09:00
syuilo
431d8c7802 fix(backend): Redisがからのときにhybrid-timelineにwithReplies = trueでアクセスするとSQLのシンタックスエラーになる
Fix #12064
2023-10-19 16:22:19 +09:00
syuilo
30efd932a5 enhance: nyaizeはクライアントで表示時に行うように
Resolve #12030
2023-10-19 11:42:17 +09:00
syuilo
ec45db7870 refactor and perf tweak 2023-10-19 11:19:42 +09:00
syuilo
428d39a460 chore: disable debug log of fastify 2023-10-19 11:18:17 +09:00
syuilo
f9549e1f1b fix(backend): fix of 1671575d5d 2023-10-19 11:17:59 +09:00
syuilo
1671575d5d perf(backend): ノートのリアクション情報をキャッシュすることでDBへのクエリを削減 2023-10-19 09:20:19 +09:00
syuilo
4d1d25e02f perf(backend): improve my reaction population performance 2023-10-19 08:07:22 +09:00
syuilo
2dfbf97db4 refactor 2023-10-19 07:59:58 +09:00
syuilo
fcc4864080 perf(backend): reduce needless populateMyReaction calls 2023-10-19 07:56:25 +09:00
Mar0xy
e1f13f641e
fix: all users being marked as not approved on cards 2023-10-18 23:50:43 +02:00
Mar0xy
6e2eabbbc9
upd: show warning in control panel if users are awaiting approval 2023-10-18 23:39:48 +02:00
Mar0xy
961d53d0f0
upd: add color to non-approved user cards 2023-10-18 23:30:44 +02:00
Mar0xy
c79abfa8d9
fix: set remote users to approved on updates 2023-10-18 21:32:28 +02:00
Mar0xy
07b72c65b9
fix: modlog not showing text on approve 2023-10-18 21:24:34 +02:00
Mar0xy
20e0d0b2e2
upd: mark remote users as approved 2023-10-18 20:56:41 +02:00
Mar0xy
4e121892e6
add: type for approve-user endpoint 2023-10-18 19:57:03 +02:00
Mar0xy
cf6e720139
merge: branch develop 2023-10-18 19:56:42 +02:00
Mar0xy
bb54909d8e
upd: filter fallback to db for silenced users 2023-10-18 19:51:10 +02:00
Mar0xy
4b230d792c
merge: upstream changes 2023-10-18 19:48:03 +02:00
Mar0xy
5ddf7e008d
add: locales for toggles 2023-10-18 19:01:50 +02:00
Mar0xy
1e3e50ae0f
fix: type for nsfw endpoint 2023-10-18 13:35:38 +02:00
Mar0xy
a4a1b8bb8b
add: isSilenced handling to user and timeline 2023-10-18 13:34:16 +02:00
syuilo
5b244cc6eb update test 2023-10-18 17:20:43 +09:00
syuilo
ae1e276085 fix of 6cc02fee99 2023-10-18 17:17:56 +09:00
syuilo
6b5ee43800 enhance(backend): improve fanout tl for stl 2023-10-18 15:51:50 +09:00
syuilo
6b7efb6f1d fix(backend): fix admin/get-user-ips error 2023-10-18 15:32:35 +09:00
Marie
95b2689a21
fix: default for bottrending in model 2023-10-18 07:31:08 +02:00
Mar0xy
c21d255604
add: Bot Trending Toggle, Hide Bot in Timeline client option 2023-10-18 07:29:16 +02:00
Mar0xy
fa5cf36602
fix: reports not sending email
Closes transfem-org/Sharkey#81
2023-10-18 06:14:12 +02:00
Marie
182bf7e7d6
Merge branch 'develop' into feature/approval 2023-10-18 05:40:32 +02:00
Mar0xy
cb9bd6a004
add: mark all media from user as NSFW
Closes transfem-org/Sharkey#69
2023-10-18 05:32:47 +02:00
syuilo
6cc02fee99 enhance(backend): improve fanout tl
Resolve #11958
Resolve #12061
2023-10-18 12:26:16 +09:00
syuilo
2a88d8ee2d refactor(backend): rename service 2023-10-18 12:07:18 +09:00
Mar0xy
288fa1143d
upd: display correct approval_required value on masto instance endpoint 2023-10-18 04:32:40 +02:00
Mar0xy
cab0ec5de1
upd: add Not Approved state sorter to Users tab 2023-10-18 03:40:51 +02:00
Mar0xy
32fc540df4
upd: handle email signups properly with approval enabled 2023-10-18 03:21:06 +02:00
syuilo
52a82ac193 Update about-misskey.vue 2023-10-18 10:07:21 +09:00
Mar0xy
3f0cc256dc
add: locales for approval feature 2023-10-18 03:00:48 +02:00
taichan
f6e1ee1d40
users/notesでDBから参照した際にチャンネル投稿のみ取得される問題を修正 (#12056)
* fix(backend): ユーザーのノート取得でDBにfallbackした際にチャンネルノートのみになる

* Update CHANGELOG

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-10-18 09:55:15 +09:00
woxtu
0bddd0ceae
Remove unnecessary nullish coalescing (#12058) 2023-10-18 09:54:18 +09:00
かっこかり
53099cad5a
fix: admin/update-meta が保存できない (#12057)
* Fix: invalid param impressumUrl

* Update CHANGELOG.md
2023-10-18 09:48:49 +09:00
syuilo
145c5c8b2b update deps 2023-10-18 09:43:59 +09:00
Mar0xy
2f2d88dcfc
add: Require Approval for Signup 2023-10-18 02:41:36 +02:00
Mar0xy
5c7f517895
chore: change some misskey references to sharkey 2023-10-17 23:55:53 +02:00
Marie
715dea9414
upd: remove cutting off the description on relays 2023-10-17 22:51:05 +02:00
Marie
97d9510ce6
merge: "show content for all CWs" button (#83) 2023-10-17 21:34:14 +02:00
ShittyKopper
c8df61ed04 feat: "show content for all replies" button 2023-10-17 22:32:14 +03:00
Mar0xy
6cac291d3d
fix: relays not getting accepted 2023-10-17 21:08:15 +02:00
Marie
f73e56ca2c
fix: invalid param impressumUrl 2023-10-17 19:39:48 +02:00
anatawa12
5a3c6575dd
新規にフォローした人のwithRepliesをtrueにする機能を追加 (#12048)
* feat: add defaultWithReplies to MiUser

* feat: use defaultWithReplies when creating MiFollowing

* feat: update defaultWithReplies from API

* feat: return defaultWithReplies as a part of $i

* feat(frontend): configure defaultWithReplies

* docs(changelog): 新規にフォローした人のをデフォルトでTL二追加できるように

* fix: typo

* style: fix lint failure

* chore: improve UI text

* chore: make optional params of  UserFollowingService.follow() object

* chore: UserFollowingService.follow() accept withReplies

* chore: add withReplies to MiFollowRequest

* chore: process withReplies for follow request

* feat: accept withReplies on 'following/create' endpoint

* feat: store defaultWithReplies in client store

* Revert "feat: return defaultWithReplies as a part of $i"

This reverts commit f2cc4fe6

* Revert "feat: update defaultWithReplies from API"

This reverts commit 95e3cee6

* Revert "feat: add defaultWithReplies to MiUser"

This reverts commit 9f5ab14d7063532de2b049bc2ed40a15658168f5.

* feat: configuring withReplies in import-following

* feat(frontend): configure withReplies

* fix(frontend): incorrectly showRepliesToOthersInTimeline can be shown

* fix(backend): withReplies of following/create not working

* fix(frontend): importFollowing error

* fix: withReplies is not working with follow import

* fix(frontend): use v-model

* style: fix lint

---------

Co-authored-by: Sayamame-beans <61457993+sayamame-beans@users.noreply.github.com>
Co-authored-by: syuilo <syuilotan@yahoo.co.jp>
2023-10-17 20:56:17 +09:00
Insert5StarName
4d71afa884 fix: move background into seperate element to prevent it from being funny 2023-10-17 08:23:10 +02:00
Mar0xy
6f46dfa7bb
upd: change top size on background css
Closes transfem-org/Sharkey#82
2023-10-17 02:12:58 +02:00
syuilo
e9db0680c4 update deps 2023-10-17 09:04:17 +09:00
syuilo
5686e1d2d0 refactor 2023-10-17 09:00:42 +09:00
Mar0xy
5710735a15
upd: icons on instance-block page 2023-10-16 23:49:30 +02:00
Mar0xy
68886b9ab5
merge: upstream performance changes & instance silencing 2023-10-16 23:38:21 +02:00
syuilo
9338ab461e update deps 2023-10-16 20:13:05 +09:00
まっちゃてぃー
5efd01ba70
feat: サーバーサイレンス機能を追加 (#12031)
* feat : サーバーサイレンスを追加

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update locale

* Update instance-info.vue

* update misskey-js.api.md

* lint fix

* migration fix

* 既存のものを使うように

* fix

* 色々直した

* Update packages/frontend/src/pages/admin/instance-block.vue

* Update packages/frontend/src/pages/admin/instance-block.vue

* Update packages/frontend/src/components/MkInstanceCardMini.vue

* Update packages/backend/src/core/entities/InstanceEntityService.ts

* Update packages/backend/src/core/entities/InstanceEntityService.ts

* Update packages/backend/src/core/entities/InstanceEntityService.ts

* Update packages/backend/src/core/UserFollowingService.ts

* Update packages/backend/src/core/UserFollowingService.ts

* fix: サイレンスされてるサーバーからの投稿は全部ホームにする

* fix: undefinedでfalseを返すようにした

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-10-16 20:11:27 +09:00
syuilo
1966876320 fix test 2023-10-16 17:42:33 +09:00
syuilo
3ebed5aa3e feat: local-only antenna
Resolve #11869
2023-10-16 15:06:00 +09:00
syuilo
6a321ba340 fix test 2023-10-16 14:35:44 +09:00
syuilo
34d1b463a4 fix tests 2023-10-16 12:58:17 +09:00
syuilo
24437a04d4 fix of 1fa1d31696 2023-10-16 12:00:56 +09:00
syuilo
1fa1d31696 perf(backend): createdAtをidから取得するように & 無駄なDateインスタンスの生成を避けるように 2023-10-16 10:45:22 +09:00
Mar0xy
b7fd84c643
upd: remove show more button effects 2023-10-16 02:05:34 +02:00
Mar0xy
6779272c81
upd: change how show more gets shown 2023-10-16 01:39:02 +02:00
Mar0xy
1eb536f086
upd: remove buggy backdrop-filter 2023-10-16 00:52:03 +02:00
Mar0xy
67c95ea646
fix: type error 2023-10-15 23:42:47 +02:00
Mar0xy
ca428977a5
merge: upstream 2023-10-15 23:36:38 +02:00
Mar0xy
cec0207b60
Merge branch 'develop' of https://github.com/transfem-org/Sharkey into develop 2023-10-15 23:19:50 +02:00
Mar0xy
88216861a9
upd: attempt at fancy blur 2023-10-15 23:19:21 +02:00
Insert5StarName
83cc9cf980 fix: pinned notes not being transparent 2023-10-15 20:26:05 +02:00
Amelia Yukii
c9d03c9ced
fix: some missing transparent elements 2023-10-15 20:18:19 +02:00
Mar0xy
870fbf9852
merge: transparency
Closes transfem-org/Sharkey#65
2023-10-15 20:07:51 +02:00
Mar0xy
85f3534b2c
fix: decrement of renotecount 2023-10-15 19:43:57 +02:00
Marie
a8d937b08e
chore: add newline between } and @media 2023-10-15 19:28:15 +02:00
Insert5StarName
25c7e55c54 fix: Detailed view too 2023-10-15 19:27:46 +02:00
Insert5StarName
a977d4316d fix: wrong scaling in notifications container 2023-10-15 19:25:59 +02:00
Mar0xy
18f7067103
upd: add locales for client settings 2023-10-15 19:25:21 +02:00
Mar0xy
2f1f463009
upd: client option for click to open posts 2023-10-15 19:16:14 +02:00
Insert5StarName
85aa0c06bc fix: make MKNoteSub scale correctly 2023-10-15 19:01:28 +02:00
Insert5StarName
94d2a16e89 fix: make note footer scale correctly 2023-10-15 18:58:56 +02:00
Mar0xy
731a686b57
fix: router issue due to click to open 2023-10-15 18:52:47 +02:00
Mar0xy
005d7b6da5
upd: uncomment activitypub section 2023-10-15 18:35:55 +02:00
Insert5StarName
42895ab326 fix: remote warning being transparent 2023-10-15 18:18:58 +02:00
Mar0xy
97df169ebe
fix: don't decrement past 0 2023-10-15 18:16:41 +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
704b93f7d6
upd: move some strings into i18n 2023-10-15 17:47:16 +02:00
Mar0xy
c904fa6b59
upd: add listenbrainz to mobile view 2023-10-15 17:18:09 +02:00
Marie
cb1585532f
upd: move icon on about sharkey page to the left slightly 2023-10-15 13:32:42 +02:00
Insert5StarName
09a764a868 chore: update assets 2023-10-15 12:18:29 +02:00
syuilo
3f4ee98405
perf(backend): improve streaming api performance (#12033)
* wip

* Update NoteEntityService.ts

* wip

* wip

* wip

* wip
2023-10-15 10:36:22 +09:00
Mar0xy
abe44793c4
chore: lint 2023-10-15 02:38:09 +02:00
Mar0xy
c50c3b3816
merge: lint 2023-10-15 02:18:52 +02:00
Mar0xy
e123236733
chore: lint 2023-10-15 02:17:00 +02:00
Mar0xy
7e648a255f
upd: Separate quote from boost 2023-10-15 02:16:02 +02:00
Mar0xy
4359a13946
fix: Boost count not decrementing on removal 2023-10-15 02:09:38 +02:00
Marie
46f1882123
fix: crop icon not being phosphor on drive/file 2023-10-14 14:59:32 +02:00
Amelia Yukii
ddd82eb831
fix: MkInfo being transparent 2x 2023-10-14 14:48:38 +02:00
Amelia Yukii
3d4c6340b9
fix: MkInfo being transparent 2023-10-14 14:01:08 +02:00
Mar0xy
e11630bdb2
merge: Nyaize post on create, Tweak performance 2023-10-14 12:11:23 +02:00
syuilo
329830e2c3 perf(backend): tweak populateMyReaction 2023-10-14 10:05:44 +09:00
syuilo
061e389340 perf(backend): nyaizeを投稿時にやる
Resolve #12030
2023-10-14 10:04:13 +09:00
Mar0xy
23e0daed4e
upd: fix getting renote for logged-in user 2023-10-14 02:53:52 +02:00
Mar0xy
080450c10b
upd: rename renote to boost 2023-10-14 02:46:36 +02:00
Mar0xy
b002848b20
upd: increase default cache max values 2023-10-14 02:19:28 +02:00
Mar0xy
d14b9af93d
chore: lint 2023-10-14 02:05:03 +02:00