paricafe/packages/backend/src/server/api/endpoints/i
romaboo 054417354c
feat: user-level instance mute (#7712)
* Update ja-JP.yml

* Added settable config for muted instances

* added psql query for removal of muted notes

* Added filtering and trimming for instance mutes

* cleaned up filtering of bad instance mutes and added a refresh at the end for the list on the client

* Added notification & streaming timeline muting

* Updated changelog

* Added missing semicolon

* Apply japanese string suggestions from robflop

Co-authored-by: Robin B. <robflop98@outlook.com>

* Changed Ja-JP instance mute title string to one suggested by sousuke

Co-authored-by: sousuke0422 <sousuke20xx@gmail.com>

* Update ja-JP instanceMuteDescription based on sousuke's suggestion

Co-authored-by: sousuke0422 <sousuke20xx@gmail.com>

* added notification mute

* added notification and note children muting

* Fixed a bug where local notifications were getting filtered on cold start

* Fixed instance mute imports

* Fixed not saving/loading instance mutes

* removed en-US translations for instance mute

* moved instance mute migration to js

* changed settings index back to spaces

* removed destructuring assignment from notification stream in instance mute check call

Co-authored-by: tamaina <tamaina@hotmail.co.jp>

* added .note accessor for checking note data instead of notification data

* changed note to use Packed<'Note'> instead of any and removed usage of snake case

Co-authored-by: tamaina <tamaina@hotmail.co.jp>

* changed notification mute check to check specifically for notification host

* changed to using single quotes

* moved @click to the end for the linter

* revert unnecessary changes

* restored newlines

* whitespace removal

Co-authored-by: syuilo <syuilotan@yahoo.co.jp>
Co-authored-by: Robin B. <robflop98@outlook.com>
Co-authored-by: sousuke0422 <sousuke20xx@gmail.com>
Co-authored-by: puffaboo <emilis@jigglypuff.club>
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2021-12-09 21:38:56 +09:00
..
2fa fix lint errors 2021-11-12 10:52:10 +09:00
gallery refactoring 2021-11-12 02:02:25 +09:00
registry refactoring 2021-11-12 02:02:25 +09:00
apps.ts refactoring 2021-11-12 02:02:25 +09:00
authorized-apps.ts refactoring 2021-11-12 02:02:25 +09:00
change-password.ts refactoring 2021-11-12 02:02:25 +09:00
delete-account.ts refactoring 2021-11-12 02:02:25 +09:00
export-blocking.ts update ms to 3.0.0 2021-11-12 19:47:04 +09:00
export-following.ts update ms to 3.0.0 2021-11-12 19:47:04 +09:00
export-mute.ts update ms to 3.0.0 2021-11-12 19:47:04 +09:00
export-notes.ts update ms to 3.0.0 2021-11-12 19:47:04 +09:00
export-user-lists.ts update ms to 3.0.0 2021-11-12 19:47:04 +09:00
favorites.ts refactoring 2021-11-12 02:02:25 +09:00
get-word-muted-notes-count.ts refactoring 2021-11-12 02:02:25 +09:00
import-blocking.ts update ms to 3.0.0 2021-11-12 19:47:04 +09:00
import-following.ts update ms to 3.0.0 2021-11-12 19:47:04 +09:00
import-muting.ts update ms to 3.0.0 2021-11-12 19:47:04 +09:00
import-user-lists.ts update ms to 3.0.0 2021-11-12 19:47:04 +09:00
notifications.ts feat: user-level instance mute (#7712) 2021-12-09 21:38:56 +09:00
page-likes.ts refactoring 2021-11-12 02:02:25 +09:00
pages.ts refactoring 2021-11-12 02:02:25 +09:00
pin.ts refactoring 2021-11-12 02:02:25 +09:00
read-all-messaging-messages.ts refactoring 2021-11-12 02:02:25 +09:00
read-all-unread-notes.ts refactoring 2021-11-12 02:02:25 +09:00
read-announcement.ts refactoring 2021-11-12 02:02:25 +09:00
regenerate-token.ts refactoring 2021-11-12 02:02:25 +09:00
revoke-token.ts refactoring 2021-11-12 02:02:25 +09:00
signin-history.ts refactoring 2021-11-12 02:02:25 +09:00
unpin.ts refactoring 2021-11-12 02:02:25 +09:00
update-email.ts update ms to 3.0.0 2021-11-12 19:47:04 +09:00
update.ts feat: user-level instance mute (#7712) 2021-12-09 21:38:56 +09:00
user-group-invites.ts refactoring 2021-11-12 02:02:25 +09:00