Kainoa Kanter
29c1b81f12
Merge pull request 'develop' ( #9178 ) from develop into account_migration
...
Reviewed-on: https://codeberg.org/thatonecalculator/calckey/pulls/9178
2022-12-04 06:26:26 +00:00
cutestnekoaqua
db52926594
Implement recieve moveTo
...
Untested, hopefully it works..
Signed-off-by: cutestnekoaqua <waterdev@galaxycrow.de>
2022-12-03 01:23:02 +01:00
syuilo
bf87e9586b
improve performance (merge deepClone from Misskey dev)
2022-11-18 17:28:58 -08:00
ThatOneCalculator
f3f63a5dc1
AVIF support
2022-11-14 18:53:38 -08:00
Johann150
98682a45ea
server: reduce dead instance detection to 7 days
2022-11-09 17:19:49 -08:00
Johann150
49686050cc
backend: fix lint "no-throw-literal"
2022-08-04 13:36:37 -07:00
Johann150
d6faae48f2
fix spelling error
2022-08-04 13:34:18 -07:00
Johann150
dc793c86f8
fix lints
2022-07-27 19:46:56 -07:00
Chloe Kudryavtsev
7459dc0819
backend: improve mutes and blocks
...
Mutes and blocks now also apply recursively to replies and renotes.
Furthermore, any mentioned user being muted or blocked will also apply.
2022-07-27 19:46:26 -07:00
Johann150
fed2085138
Merge: enhance privacy of notes
...
https://akkoma.dev/FoundKeyGang/FoundKey/pulls/14
2022-07-25 13:36:44 -07:00
ThatOneCalculator
7d91257317
Less cluttered notifications
2022-07-23 21:30:42 -07:00
Acid Chicken (硫酸鶏)
bfce689abc
fix(server): make sure getFileInfo
doesn't fail if detectSensitivity
ever fails ( #9020 )
2022-07-19 17:09:21 +09:00
syuilo
da51152662
enhance(server): tweak identicon generation
2022-07-09 13:22:35 +09:00
syuilo
ed5d81859f
feat: auto nsfw detection ( #8840 )
...
* feat: auto nsfw detection
* ✌️
* Update ja-JP.yml
* Update ja-JP.yml
* ポルノ判定のしきい値を高めに
* エラーハンドリングちゃんとした
* Update ja-JP.yml
* 感度設定を強化
* refactor
* feat: add video support for auto nsfw detection
* rename: image -> media
* .js
* fix: add missing error handling
* fix: use valid pathname instead of using filename due to invalid usage
* perf(nsfw-detection): decode frames
* disable detection of video for some reasons
* perf(nsfw-detection): streamify detection process for video
* disable disallowUploadWhenPredictedAsPorn option
* fix(nsfw-detection): improve reliability
* fix(nsfw-detection): use Math.ceil instead of Math.round
* perf(nsfw-detection): delete tmp frames after used
* fix(nsfw-detection): FSWatcher does not emit ready event
* perf(nsfw-detection): skip black frames
* refactor: strip exists check
* Update package.json
* めっちゃ変えた
* lint
* Update COPYING
* オプションで動画解析できるように
* Update yarn.lock
* Update CHANGELOG.md
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2022-07-07 21:06:37 +09:00
Johann150
746f17450f
refactor: remove duplicate code ( #8895 )
2022-06-27 21:48:10 +09:00
Johann150
d78b20ba07
fix lints
2022-06-24 12:44:22 +02:00
Johann150
6c244d452e
enhance: word mute checks CW ( #8873 )
2022-06-23 20:26:47 +09:00
tamaina
566e0d2bea
feat: Add Badge Image to Push Notification ( #8012 )
...
* 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
* ✌️
* 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
* ✌️
* 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
* ✌️
* 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>
2022-06-20 00:33:46 +09:00
Johann150
537e3176ea
fix: tmpdir cleanup removes contained files ( #8826 )
2022-06-14 23:00:10 +09:00
MeiMei
f59e364a85
Fix IP address rate limit ( #8758 )
...
* Fix IP address rate limit
* CHANGELOG
* Tune getIpHash
2022-05-31 17:44:22 +09:00
Johann150
c2ddc5286c
refactor: temporary files ( #8713 )
...
* simplify temporary files for thumbnails
Because only a single file will be written to the directory, creating a
separate directory seems unnecessary. If only a temporary file is created,
the code from `createTemp` can be reused here as well.
* refactor: deduplicate code for temporary files/directories
To follow the DRY principle, the same code should not be duplicated
across different files. Instead an already existing function is used.
Because temporary directories are also create in multiple locations,
a function for this is also newly added to reduce duplication.
* fix: clean up identicon temp files
The temporary files for identicons are not reused and can be deleted
after they are fully read. This condition is met when the stream is closed
and so the file can be cleaned up using the events API of the stream.
* fix: ensure cleanup is called when download fails
* fix: ensure cleanup is called in error conditions
This covers import/export queue jobs and is mostly just wrapping all
code in a try...finally statement where the finally runs the cleanup.
* fix: use correct type instead of `any`
2022-05-25 16:50:22 +09:00
iwata
ac23bd4667
test: e2eテストがCIで失敗していた問題をいくつか修正 ( #8642 )
...
* test: indexeddbをテスト毎に初期化するように
* fix: metaが無いときにfetch-metaを同時に呼ぶと死ぬことがある問題を修正
* test: ログイン後のクライアント側処理を待たずにリロードされてログイン出来ないことがあったのを修正
2022-05-14 15:16:45 +09:00
Johann150
91100f94b5
perf: fix caching ( #8660 )
...
The cache implementation did previously not store the results of the
computation and was thus not a cache at all. This can cause a significant
number of database queries each time someone with a large number of
followers does something that causes an activity to be federated.
2022-05-14 13:28:27 +09:00
tamaina
83096440cc
enhance: ドライブに画像ファイルをアップロードするときオリジナル画像を破棄してwebpublicのみ保持するオプション ( #8216 )
...
* wip
* Update packages/client/src/os.ts
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
* メニューをComposition API化、switchアイテム追加
クライアントサイド画像圧縮の準備
* メニュー型定義を分離 (TypeScriptの型支援が効かないので)
* disabled
* make keepOriginal to follow setting value
* ✌️
* fix
* fix
* ✌️
* WEBP
* aaa
* ✌️
* webp
* lazy load browser-image-resizer
* rename
* rename 2
* Fix
* clean up
* add comment
* clean up
* jpeg, pngにもどす
* fix
* fix name
* webpでなくする ただしサムネやプレビューはwebpのまま (テスト)
* 動画サムネイルはjpegに
* エラーハンドリング
* ✌️
* v2.2.1-misskey-beta.2
* browser-image-resizer#v2.2.1-misskey.1
* ✌️
* fix alert
* update browser-image-resizer to v2.2.1-misskey.2
* lockfile
Co-authored-by: mei23 <m@m544.net>
Co-authored-by: MeiMei <30769358+mei23@users.noreply.github.com>
2022-04-28 11:14:03 +09:00
tamaina
2860b82590
Fix #8535 Excessive stack ... 'SchemaTypeDef<?>' ( #8547 )
...
* Fix #8535 Excessive stack ... 'SchemaTypeDef<?>'
Co-authored-by: acid-chicken <root@acid-chicken.com>
* add comment
* clean up
Co-authored-by: acid-chicken <root@acid-chicken.com>
2022-04-27 10:49:00 +09:00
tamaina
cce6bce024
fix: Fix schema key type error #8517 ( #8538 )
2022-04-24 11:43:15 +09:00
syuilo
b2bc3a020f
refactor
...
Resolve #8467
2022-04-17 20:58:37 +09:00
syuilo
45a1149655
refactoe
2022-04-16 17:19:30 +09:00
syuilo
2e9afc526d
fix types
2022-04-03 16:30:22 +09:00
syuilo
f4f6a76ecc
chore: fix lint
2022-04-03 15:33:22 +09:00
syuilo
8b2a0a5773
feat: Webhook ( #8457 )
...
* feat: introduce webhook
* wip
* wip
* wip
* Update CHANGELOG.md
2022-04-02 15:28:49 +09:00
syuilo
aaafb26b56
fix query
2022-03-27 16:16:13 +09:00
syuilo
54e1c7f60e
perf(server): use cached user info in getUserFromApId
2022-03-26 19:09:57 +09:00
syuilo
523ee14a73
refactor: migrate to typeorm 3.0 ( #8443 )
...
* wip
* wip
* wip
* Update following.ts
* wip
* wip
* wip
* Update resolve-user.ts
* maxQueryExecutionTime
* wip
* wip
2022-03-26 15:34:00 +09:00
syuilo
921299b02f
perf(server): refactor and performance improvements
2022-03-25 16:27:41 +09:00
syuilo
a32a3bc5c9
perf(server): disable some antenna features to improve performance
2022-03-22 00:07:43 +09:00
syuilo
4c2d4d76e6
perf(server): reduce db query
2022-03-21 01:22:00 +09:00
dogcraft
5cf8a1141a
Fix bug : "IPCIDR is not a constructor" ( #8400 )
2022-03-12 19:23:57 +09:00
syuilo
e11337c443
update deps
2022-03-07 23:51:34 +09:00
syuilo
a02e37b2e1
fix
2022-02-27 14:10:31 +09:00
syuilo
94228778c9
refactor: Use ESM ( #8358 )
...
* wip
* wip
* fix
* clean up
* Update tsconfig.json
* Update activitypub.ts
* wip
2022-02-27 11:07:39 +09:00
syuilo
44bb08454a
fix: better language settings
...
Fix #8359
Fix #7968
2022-02-26 15:13:44 +09:00
tamaina
706c1b054d
SchemaTypeの型計算量を削減 ( #8332 )
...
* schema typeの型計算量を削減
* reduce some type error
* wip
* fix
* clean up
* more shrink
2022-02-19 23:21:28 +09:00
syuilo
81c7db0744
refactor: use ajv instead of cafy ( #8324 )
...
* wip
* wip
* Update abuse-user-reports.ts
* Update files.ts
* Update list-remote.ts
* Update list.ts
* Update show-users.ts
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* Update update.ts
* Update search.ts
* Update reactions.ts
* Update search.ts
* wip
* wip
* wip
* wip
* Update update.ts
* Update relation.ts
* Update available.ts
* wip
* wip
* wip
* Update packages/backend/src/server/api/define.ts
Co-authored-by: Johann150 <johann.galle@protonmail.com>
* Update define.ts
* Update define.ts
* typo
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* Update update.ts
* wip
* Update signup.ts
* Update call.ts
* minimum for limit
* type
* remove needless annotation
* wip
* Update signup.ts
* wip
* wip
* fix
* Update create.ts
Co-authored-by: Johann150 <johann.galle@protonmail.com>
2022-02-19 14:05:32 +09:00
Johann150
84c409a52b
fix: regular expressions in word mutes ( #8254 )
...
* fix: handle regex exceptions for word mutes
* add i18n strings
Co-authored-by: rinsuki <428rinsuki+git@gmail.com>
* stricter input validation in backend
* add migration for hard mutes
* fix
* use correct regex library in migration
* use query builder to avoid SQL injection
Co-authored-by: Robin B <robflop98@outlook.com>
Co-authored-by: rinsuki <428rinsuki+git@gmail.com>
2022-02-10 19:47:46 +09:00
syuilo
71f817d9aa
refactor
2022-02-04 11:10:53 +09:00
syuilo
591f53fd06
refactor
2022-02-03 21:20:25 +09:00
syuilo
5e31350552
update deps
2022-02-03 21:09:15 +09:00
syuilo
dcd2a3037f
refactor
2022-02-03 02:41:22 +09:00
syuilo
e1b9c22874
enhance: convert svg to png of custom emojis
2022-01-21 18:47:02 +09:00