cherrypick/packages/backend
Johann150 7db09103e7
chore: synchronize visibility checks (#8687)
* reuse single meId parameter

* unify code style

Use template string to avoid having to use escaped quote marks.

* fix: follower only notes are visible to mentioned users

This synchronizes the visibility rules with the Notes.isVisibleForMe
method from packages/backend/src/models/repositories/note.ts

* add comment
2022-06-11 16:14:44 +09:00
..
.vscode Update settings.json 2022-04-15 21:33:00 +09:00
assets feat: use instance icon for splash screen 2022-03-09 23:00:28 +09:00
migration hotfix: uniform color migration fix 2022-05-19 15:42:55 +02:00
src chore: synchronize visibility checks (#8687) 2022-06-11 16:14:44 +09:00
test fix(test): make chart tests working 2022-06-05 20:37:24 +09:00
.eslintignore use eslint 2021-11-12 10:35:41 +09:00
.eslintrc.cjs test: __dirnameはESModuleでは使えないので置き換えた (#8626) 2022-05-14 16:09:47 +09:00
.mocharc.json Update .mocharc.json 2022-06-05 19:46:52 +09:00
.npmrc
.yarnrc use eslint 2021-11-12 10:35:41 +09:00
jsconfig.json use eslint 2021-11-12 10:35:41 +09:00
ormconfig.js refactor: migrate to typeorm 3.0 (#8443) 2022-03-26 15:34:00 +09:00
package.json update deps 2022-06-10 15:06:42 +09:00
tsconfig.json update node to 18 2022-04-23 12:37:44 +09:00
watch.mjs implement dev command 2021-11-19 14:48:59 +09:00
yarn.lock update deps 2022-06-10 15:06:42 +09:00