Commit Graph

26000 Commits

Author SHA1 Message Date
dakkar a3dd61dec4 fix logging 2023-12-23 21:27:48 +00:00
dakkar e6c02909c7 fix typo
thanks @Marie
2023-12-23 20:11:53 +00:00
Marie 53365159e8 merge: real-time updates on note detail view (#246)
Closes #223

Reviewed-on: https://git.joinsharkey.org/Sharkey/Sharkey/pulls/246
Reviewed-by: Marie <marie@kaifa.ch>
2023-12-23 21:00:00 +01:00
Marie eb036d558f fix: note footer not properly resizing 2023-12-23 19:21:37 +01:00
Marie 978ee64fd1 Merge: always use black shadow in SK instance ticker (#254)
Closes #223
2023-12-23 18:57:38 +01:00
dakkar e14a06cd16 always use black shadow in instance ticker #238
we know this looks decent because it's what the MkInstanceTicker
already does
2023-12-23 15:31:19 +00:00
dakkar 477cda0b63 authorized fetch: log when things go wrong 2023-12-23 15:26:42 +00:00
dakkar 1984416e3e authorized fetch: let /@instance.actor through
this is probably never actually used, but it still looks like a good
idea (also, FireFish does it)

thanks @ShittyKoper for noticing!
2023-12-23 15:26:42 +00:00
dakkar e5ea882ed7 authorized fetch #217
the implementation is copied from the other places we already check
HTTP signatures, and cross-checked with Firefish's implementation
2023-12-23 15:26:42 +00:00
Marie 6526968f2d fix: check 2023-12-23 16:08:04 +01:00
dakkar fea6428245 add missing `.value` 2023-12-23 14:47:14 +00:00
dakkar 576a87118c real-time update: adjust replyCount up/down
this also fixes the connecting lines in the Sk-style view

thanks @ShittyKopper for reporting the bug!

NOTE: at this point, the `isDeletedRef` boolean is pretty much
useless, because we're directly removing deleted notes from the
`replies` array and therefore from the DOM (we were just hiding them,
before); I'm intentionally not touching `isDeletedRef` to simplify
merges from upstream
2023-12-23 14:09:52 +00:00
dakkar d06939bd25 real-time update: hide deleted replies 2023-12-23 14:09:52 +00:00
dakkar 683b4aafb2 real-time updates on note detail view
`useNoteCapture` already subscribes to all updates for a note, so
we can tell it when a note gets replied to, too

Since I'm not actually adding any extra subscription in the client,
just an extra callback, there should be no overhead when replies are
not coming in.

Also, all the timelines already call `useNoteCapture` for each note
displayed, so we know the whole `GlobalEventService` thing works fine.

Many thanks to VueJS for taking care of all the DOM complications
2023-12-23 14:09:51 +00:00
Marie b3b89567ee merge: upstream 2023-12-23 14:26:24 +01:00
syuilo 471c8ec050 Update CHANGELOG.md 2023-12-23 19:59:27 +09:00
anatawa12 2f425aa03f
fix: ブロックされててもpure RNできる (#12758)
なぜかわからないけど元々Quoteはできるようなのでそれに戻しました
2023-12-23 17:55:34 +09:00
syuilo e852f4b60d Revert "fix(backend): renote判定がおかしい"
This reverts commit f43599552f.
2023-12-23 17:55:27 +09:00
syuilo f43599552f fix(backend): renote判定がおかしい 2023-12-23 17:54:29 +09:00
syuilo 8caf2b0a4a
New Crowdin updates (#12748)
* New translations ja-jp.yml (Korean)

* New translations ja-jp.yml (French)

* New translations ja-jp.yml (Chinese Traditional)
2023-12-23 16:43:06 +09:00
syuilo 59b47b8623 Update CHANGELOG.md 2023-12-23 16:40:31 +09:00
皐月なふ (Nafu Satsuki) 30cf5c3ab0
chore(frontend): API設定項目の名前をきちんとサービスの名前で表記する (#12753) 2023-12-23 15:32:53 +09:00
おさむのひと 1716c6562c
fix: .npmrcによりpackage.json記載のnodeバージョンに満たない場合はビルドに失敗するようにする (#12755) 2023-12-23 15:32:31 +09:00
syuilo 6e4894c165 lint 2023-12-23 14:39:01 +09:00
おさむのひと 98734af9a7
fix: 2023.12.0のNoteの一部文言を修正 (#12754) 2023-12-23 14:30:39 +09:00
Marie 166a940f02 chore: lint 2023-12-23 04:26:23 +01:00
Marie 6c8f994e6f chore: update locale
Closes #250
2023-12-23 04:22:47 +01:00
syuilo 2c7d07bca6 Update CHANGELOG.md 2023-12-23 12:15:10 +09:00
GrapeApple0 5b5a537f56
feat: 登録を拒否するメールアドレスのドメインを手動で設定できるように (#12740)
* feat: 使い捨てアドレスのドメインを手動で設定できるように

* Update CHANGELOG.md

* disposableEmailDomains -> bannedEmailDomains

* isBlockedHostを使うように
2023-12-23 12:06:22 +09:00
Nya Candy b3c4f7eddc
fix: email verify enable logic (#12743) 2023-12-23 11:00:14 +09:00
Marie 220344c552 fix: email validation 2023-12-23 02:15:12 +01:00
Marie 5db583a3eb merge: upstream 2023-12-23 02:09:23 +01:00
syuilo 6254954957
Update CHANGELOG.md 2023-12-22 21:50:40 +09:00
Marie e0155cffae add: Custom MOTDs
This works almost exactly like FF's custom MOTDs with the only difference being that they get defined in the config file for performance reasons.

Closes #86
2023-12-22 13:10:21 +01:00
syuilo 9c04749359 2023.12.0 2023-12-22 20:59:28 +09:00
syuilo 6b7a810b8e Update CHANGELOG.md 2023-12-22 20:57:59 +09:00
ikasoba 5eb944ecde
enhance: チャンネルに新規の投稿がある場合にバッジを表示させる (#12690)
* 多分できたかも

* 不要なpropsを削除

* 不要なimportを削除

* 縁を付けた

* 枠線の位置を端に寄せた

* やっぱり内側へ寄せることにした

* できたかも

* 修正

* 修正

* クラスにまとめた

* 微調整

* 直せたかも

* importを付け足し

* 多分できたかも

* Update channel.vue

* Update MkMenu.vue

* Update channel.vue

* Update CHANGELOG.md

---------

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-12-22 20:41:42 +09:00
Marie 8536e22cfe fix: change way url example gets displayed on page editor
Closes #212
2023-12-22 12:19:39 +01:00
かっこかり 3d4af18327
[Hub Next] Misskey Hubのリンクを変更 (#12699)
* misskey hub のリンクを変更

* misskey-hub.net -> assets.misskey-hub.net
Related to misskey-dev/misskey-hub-next#57
2023-12-22 20:16:31 +09:00
syuilo 179cb1d813 fix type 2023-12-22 20:14:20 +09:00
Marie b71e5cf2fb fix: avatar decoration role not working
Closes #150
2023-12-22 11:51:43 +01:00
syuilo 6d4aa316ac
New Crowdin updates (#12732)
* New translations ja-jp.yml (Chinese Traditional)

* New translations ja-jp.yml (Korean)

* New translations ja-jp.yml (French)

* New translations ja-jp.yml (Catalan)

* New translations ja-jp.yml (Catalan)

* New translations ja-jp.yml (English)
2023-12-22 18:05:41 +09:00
zyoshoka d68214bd46
fix(i18n): ロールが付与された際の通知のローカライゼーションが一部欠けているのを修正 (#12745) 2023-12-22 15:38:27 +09:00
Marie 5979a3f8d9 upd(ci): add tag for stable 2023-12-22 06:22:40 +01:00
anatawa12 52b94dbc4a
fix: 引用RNがpure RNとして連合され、pure RNが引用RNとして連合される (#12744)
* fix: quote notes are rendered as pure renote

* fix: filesが指定されてて空配列のときにQuote扱いされる

* chore: isQuoteの仕様をmisc/is-quote.tsと揃える

* docs: is-quote.tsの方にNoteCreateService.isQuoteのことを書いて更新忘れを防ぐ
2023-12-22 14:03:39 +09:00
Marie 5e78464918 upd(ci): stable docker builds with version and latest tag 2023-12-22 01:25:30 +01:00
おさむのひと 433d46e57f
fix(backend): テストが死んでいるのを修正 (#12738)
* fix test

* fix test

* fix test

* fix test

* fix test
2023-12-22 09:06:13 +09:00
Marie 043f26c895 upd: improve performance for checking if instance is marked as NSFW on images 2023-12-21 23:15:49 +01:00
Marie 4ca3c05487 upd: make new posts be marked as NSFW if instance is marked as NSFW
Closes #226
2023-12-21 23:15:03 +01:00
Marie 9c6a7aed98 fix: websocket for timelines not checking following for muted instance users
Closes #233
2023-12-21 22:42:06 +01:00