cutestnekoaqua
b1e3c2e1c7
feat: ✨ v1 Mastodon API
...
This commit adds (maybe unstable) support for Mastodons v1 api
also some v2 endpoints, maybe I miss stuff, I dont know.
We will need to test this but it should be kinda stable
and work like (old) butter.
Co-authored-by: Natty <natty.sh.git@gmail.com>
Co-authored-by: cutls <web-pro@cutls.com>
2023-02-09 23:21:50 +01:00
cutestnekoaqua
029eb6a521
fix: reactions using unicode weren't processed
2023-02-05 12:37:01 +01:00
ThatOneCalculator
9afe5424c0
chore: formatting
2023-02-04 12:41:25 -08:00
cutestnekoaqua
cc594a68aa
fix: Use ❤️ instead of ♥️
2023-02-04 02:30:43 +01:00
ThatOneCalculator
619b925d12
fix: 🐛 signin with ipv6
...
co-authored-by: Syuilo
2023-01-24 15:13:25 -08:00
ThatOneCalculator
a71dab09a5
Revert "hopefully this fixed chat updates"
...
This reverts commit bbbfbc1061fbced2c8ccf4879597305ab0d89157.
2023-01-19 16:33:14 -08:00
ThatOneCalculator
be05847383
fix: heart reaction
2023-01-19 16:17:20 -08:00
ThatOneCalculator
1da7464ee7
clean up w/ rome
2023-01-16 11:19:20 -08:00
cutestnekoaqua
1b43766322
chore: change code commit of pictogram to emoji
2023-01-13 19:40:49 +01:00
cutestnekoaqua
f8d901179c
fix: return only first emoji but fully
2023-01-13 18:49:10 +01:00
ThatOneCalculator
bb61a9684b
Remove usused eslint files
2023-01-12 22:27:17 -08:00
ThatOneCalculator
cca9a7d7cf
Revert "fix: heart reactions"
...
This reverts commit 620dedab47bfee796e7de0f9cfb85288c4539a8e.
2023-01-12 21:41:43 -08:00
ThatOneCalculator
ac64087a1e
no more eslint
2023-01-12 20:54:33 -08:00
ThatOneCalculator
2aab2de38d
refactor: 🎨 rome
2023-01-12 20:40:33 -08:00
cutestnekoaqua
43b0e3f76e
fix: heart reactions
2023-01-12 23:14:45 +01:00
ThatOneCalculator
d371857f15
improve note summary
2023-01-10 09:39:48 -08:00
Kainoa Kanter
d9d124cbf0
Admin set default reactions ( #9404 )
...
Co-authored-by: ThatOneCalculator <kainoa@t1c.dev>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9404
2023-01-05 04:06:48 +00:00
ThatOneCalculator
a6324564e2
fixes
2023-01-03 09:12:26 -08:00
Daikei!
79776677a1
add .js to the end of two type-scripts, fixing a critical error that crashes calckey
2022-12-27 15:38:05 +00:00
Francis Dinh
8ff259f573
Block subdomains of blocked hosts
2022-12-24 14:46:09 -05:00
ThatOneCalculator
f6eec87c50
Merge branch 'develop' into account_migration
2022-12-06 15:34:50 -08:00
Kaity A
1f6f139ca1
Remove deadtime optimisation in skippedInstances check
2022-12-06 13:53:39 +00:00
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
tamaina
66ef4f1ebe
refactor: APIエンドポイントファイルの定義を良い感じにする ( #8154 )
...
* Fix API Schema Error
* Delete SimpleSchema/SimpleObj
and Move schemas to dedicated files
* Userのスキーマを分割してみる
* define packMany type
* add ,
* Ensure enum schema and Make "as const" put once
* test?
* Revert "test?"
This reverts commit 97dc9bfa70851bfb7d1cf38e883f8df20fb78b79.
* Revert "Fix API Schema Error"
This reverts commit 21b6176d974ed8e3eb73723ad21a105c5d297323.
* ✌️
* clean up
* test?
* wip
* wip
* better schema def
* ✌️
* fix
* add minLength property
* wip
* wip
* wip
* anyOf/oneOf/allOfに対応? ~ relation.ts
* refactor!
* Define MinimumSchema
* wip
* wip
* anyOf/oneOf/allOfが動作するようにUnionSchemaTypeを修正
* anyOf/oneOf/allOfが動作するようにUnionSchemaTypeを修正
* Update packages/backend/src/misc/schema.ts
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
* fix
* array oneOfをより正確な型に
* array oneOfをより正確な型に
* wip
* ✌️
* なんかもういろいろ
* remove
* very good schema
* api schema
* wip
* refactor: awaitAllの型定義を変えてみる
* fix
* specify types in awaitAll
* specify types in awaitAll
* ✌️
* wip
* ...
* ✌️
* AllowDateはやめておく
* 不必要なoptional: false, nullable: falseを廃止
* Packedが展開されないように
* 続packed
* wip
* define note type
* wip
* UserDetailedをMeDetailedかUserDetailedNotMeかを区別できるように
* wip
* wip
* wip specify user type of other schemas
* ok
* convertSchemaToOpenApiSchemaを改修
* convertSchemaToOpenApiSchemaを改修
* Fix
* fix
* ✌️
* wip
* 分割代入ではなくallOfで定義するように
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2022-01-18 22:27:10 +09:00
syuilo
da8e2891cc
refactor: more common name
2022-01-16 10:45:48 +09:00
syuilo
9117fd7a06
bye reversi
2022-01-12 17:34:53 +09:00
syuilo
2fd17e91aa
refactor
2021-12-26 01:42:06 +09:00
syuilo
5f6b4d4f41
feat: カスタム絵文字エクスポート
2021-12-10 18:24:26 +09:00
syuilo
9b8d526ed0
fix lint
2021-12-09 23:58:30 +09:00
romaboo
27db3b99d2
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
xianon
8f55ef86df
fix: 画像ファイルの縦横サイズの取得で Exif Orientation を考慮する ( #8014 )
...
* 画像ファイルの縦横サイズの取得で Exif Orientation を考慮する
* test: Add rotate.jpg test
* Webpublic 画像を返す時のみ Exif Orientation を考慮して縦横サイズを返す
* test: Support orientation
2021-12-03 11:19:28 +09:00
syuilo
30a7f8bad1
fix for lint
2021-11-13 19:10:14 +09:00
syuilo
713ff43e9b
fix lint errors
2021-11-12 10:52:10 +09:00
syuilo
14148f6c4a
refactoring
...
Resolve #7779
2021-11-12 02:02:25 +09:00