summaryrefslogtreecommitdiff
path: root/packages/backend/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* migrate parse5 to 7.0.0 (#8916)MeiMei2022-07-011-4/+6
| | | | | * migrate parse5 to 7.0.0 * fix
* use parse5 6.0.1syuilo2022-07-011-1/+1
| | | | Fix #8914
* fix typoJohann1502022-06-301-1/+1
| | | | Co-authored-by: mei23 <m@m544.net>
* update depssyuilo2022-07-011-4/+4
|
* chore(client): tweak uisyuilo2022-06-301-2/+3
|
* fix(server): cannot show userssyuilo2022-06-301-20/+1
|
* chore(client): tweak clientsyuilo2022-06-301-0/+10
|
* improve instance doughnut chartssyuilo2022-06-281-3/+18
|
* fix(api): fix instance schemasyuilo2022-06-281-0/+4
|
* feat(api): add federation/stats endpointsyuilo2022-06-282-0/+51
|
* fix(api): add missing themeColor property of instancesyuilo2022-06-281-0/+1
|
* feat: make possible to delete an account by adminsyuilo2022-06-274-17/+59
| | | | Resolve #8830
* refactor: remove duplicate code (#8895)Johann1502022-06-2712-64/+41
|
* fix: mocha テストが動かないのを修正 v2 (#8892)MeiMei2022-06-261-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | * on push * Fix mute test * fix note test * api * inc timeout * uploadUrl * Revert "on push" This reverts commit 778a58df61ff9a22421f8ec5dcce96b364eab38d. * lint * waitFire * Wrap connectStream * return
* fix #8894syuilo2022-06-261-1/+1
|
* enhance(client): Enhance boot error display (#8879)tamaina2022-06-261-14/+21
| | | | | | | | | * Change boot error message * fix * :v: * fix
* feat: allow GET for some endpointssyuilo2022-06-2516-16/+82
| | | | Resolve #8263
* fix: always respect instance mutes (#8854)Johann1502022-06-258-73/+71
| | | | | | | | | * fix: muted user query also checks instances This way it can be ensured that the instance mute is used everywhere it is required without checking the whole codebase again. Muted users and muted instances should be used together anyways. * fix lint
* feat: ↵syuilo2022-06-241-9/+14
| | | | 管理者が特定ユーザーのアップロードしたファイル一覧を見れるように
* fix lintsJohann1502022-06-244-4/+2
|
* enhance: Redisをioredisに統一してIPv6サポート (#8869)MeiMei2022-06-245-14/+20
| | | | | | | | | | | | | | | | | | | | | | | | | * Use ioredis, Supports IPv6 host https://github.com/misskey-dev/misskey/issues/8862 * Fix import * order * a * i * fix * flushdb * family * CHANGELOG * redis_version Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* refactor: simplify ap/show with DbResolver (#8838)Johann1502022-06-231-99/+33
| | | | | | Using the existing code in DbResolver we can avoid separate code for parsing the URIs in this endpoint. Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* enhance: word mute checks CW (#8873)Johann1502022-06-231-3/+5
|
* tweak clientsyuilo2022-06-212-0/+7
|
* fix(server): faviconUrl of federated instance is missingsyuilo2022-06-212-0/+6
|
* feat: Add Badge Image to Push Notification (#8012)tamaina2022-06-203-5/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix * nanka iroiro * wip * wip * fix lint * fix loginId * fix * refactor * refactor * remove follow action * clean up * Revert "remove follow action" This reverts commit defbb416480905af2150d1c92f10d8e1d1288c0a. * Revert "clean up" This reverts commit f94919cb9cff41e274044fc69c56ad36a33974f2. * remove fetch specification * renoteの条件追加 * apiFetch => cli * bypass fetch? * fix * refactor: use path alias * temp: add submodule * remove submodule * enhane: unison-reloadに指定したパスに移動できるように * null * null * feat: ログインするアカウントのIDをクエリ文字列で指定する機能 * null * await? * rename * rename * Update read.ts * merge * get-note-summary * fix * swパッケージに * add missing packages * fix getNoteSummary * add webpack-cli * :v: * remove plugins * sw-inject分離したがテストしてない * fix notification.vue * remove a blank line * disconnect intersection observer * disconnect2 * fix notification.vue * remove a blank line * disconnect intersection observer * disconnect2 * fix * :v: * clean up config * typesを戻した * backend/src/web/index.ts * notification-badges * add scripts * change create-notification.ts * Update packages/client/src/components/notification.vue Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com> * disconnect * oops * Failed to load the script unexpectedly回避 sw.jsとlib.tsを分離してみた * truncate notification * Update packages/client/src/ui/_common_/common.vue Co-authored-by: syuilo <Syuilotan@yahoo.co.jp> * clean up * clean up * refactor * キャッシュ対策 * Truncate push notification message * fix * クライアントがあったらストリームに接続しているということなので通知しない判定の位置を修正 * components/drive-file-thumbnail.vue * components/drive-select-dialog.vue * components/drive-window.vue * merge * fix * Service Workerのビルドにesbuildを使うようにする * return createEmptyNotification() * fix * fix * i18n.ts * update * :v: * remove ts-loader * fix * fix * enhance: Service Workerを常に登録するように * pollEnded * pollEnded * URLをsw.jsに戻す * clean up * fix lint * changelog * alpha-test * also with twemoji * add isMimeImage function * catch * Colour => Color * char2file => char2filePath * Update autocomplete.vue * remove clone? Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com> Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* Improve: unclip (#8823)futchitwo2022-06-182-0/+59
| | | | | | | | | | | | | | | | | | | | | | | * Refactor clip page to use Composition API * Refactor clip page * Refactor clip page * Refactor clip page * Improve: unclip * Fix unclip * Fix unclip * chore: better type and name * Fix * Fix clipPage vue provider Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* fix: render empty note content correctlyJohann1502022-06-161-3/+2
| | | | Instead of coercing to `null`, coercing to an empty string should simplify handling.
* fix: correctly render note textJohann1502022-06-161-1/+1
| | | | Fix a regression from #8787 that was previously fixed in #8440.
* fix: GenerateVideoThumbnail (#8825)MeiMei2022-06-141-7/+5
| | | | | | | | | | | * fix: GenerateVideoThumbnail * CHANGELOG * fix cleanup * Revert "fix cleanup" This reverts commit d54cf8262ac01a3deb6b8dd7689ec144d4d09ea8.
* fix: tmpdir cleanup removes contained files (#8826)Johann1502022-06-141-4/+9
|
* enhance(server): ↵syuilo2022-06-141-1/+1
| | | | モデレーターであってもレートリミットを有効に
* fix: add limit to i/notifications (#8836)tamaina2022-06-141-0/+5
| | | | | | | * fix: add limit to i/notifications * ms * remove ms
* fix(docs): use correct description propertyJohann1502022-06-141-5/+2
|
* fix: remove unused parameterJohann1502022-06-141-1/+1
|
* lint fixessyuilo2022-06-1490-201/+201
|
* fix: missing file name parameter (#8820)Johann1502022-06-131-1/+1
|
* fix: some fixes of multiple notification read (#8819)tamaina2022-06-122-1/+7
| | | | | | | * fix: limit multiple notification read * fix * fix
* chore: synchronize visibility checks (#8687)Johann1502022-06-112-6/+9
| | | | | | | | | | | | | | * 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
* Merge branch 'develop' of https://github.com/misskey-dev/misskey into developsyuilo2022-06-1052-3/+244
|\
| * enhance(federation): use ActivityPub defined property in favour of ↵Johann1502022-06-103-3/+20
| | | | | | | | | | | | | | proprietary property. (#8787) * add activitypub `source` property * parse MFM from new `source` attribute
| * enhance: improve documentation for `/users/` endpoints (#8790)Johann1502022-06-1049-0/+224
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * docs: category & description for reset password * docs: category & description for testing * docs: descriptions for groups endpoints * docs: descriptions for drive file endpoints * docs: descriptions for sw endpoints * docs: descriptions for user list endpoints * docs: descriptions & result type for gallery posts * docs: descriptions & result type for user endpoints * docs: add return type for stats
* | chore: tweak logosyuilo2022-06-101-3/+1
|/
* refactor: use awaitAll to reduce duplication (#8791)Johann1502022-06-081-61/+25
| | | | | | | * refactor: use awaitAll to reduce duplication * fix lint * fix typo
* fix(test): make chart tests workingsyuilo2022-06-052-1/+21
|
* use node 16syuilo2022-06-043-5/+11
|
* fix bugsyuilo2022-06-041-3/+3
|
* fix: add id for activitypub follows (#8689)Johann1502022-06-045-15/+63
| | | | | | | | | | | | | | | | | * add id for activitypub follows * fix lint * fix: follower must be local, followee must be remote Misskey will only use ActivityPub follow requests for users that are local and are requesting to follow a remote user. This check is to ensure that this endpoint can not be used by other services or instances. * fix: missing import * render block with id * fix comment
* fix: ensure resolver does not fetch local resources via HTTP(S) (#8733)Johann1502022-06-042-50/+115
| | | | | | | | | | | | | | | | | | | | | * refactor: parseUri types and checks The type has been refined to better represent what it actually is. Uses of parseUri are now also checking the parsed object type before resolving. * cannot resolve URLs with fragments * also take remaining part of URL into account Needed for parsing the follows URIs. * Resolver uses DbResolver for local * remove unnecessary use of DbResolver Using DbResolver would mean that the URL is parsed and handled again. This duplicated processing can be avoided by querying the database directly. * fix missing property name
* fix: correctly render empty note text (#8746)Johann1502022-06-032-7/+5
| | | | | | | | | | | | | | | Ensure that the _misskey_content attribute will always exist. Because the API endpoint does not require the existence of the `text` field, that field may be `undefined`. By using `?? null` it can be ensured that the value is at least `null`. Furthermore, the rendered HTML of a note with empty text will also be the empty string. From git blame it seems that this behaviour was added because of a Mastodon bug that might have previously existed. Hoever, this seems to be no longer the case as I can find mastodon posts that have empty content. The code could be made a bit more succinct by using the null coercion operator.