Commit graph

114 commits

Author SHA1 Message Date
syuilo
917ef465a5
Use tabler icons (#9354)
* wip

* wip

* wip

* Update style.scss

* wip

* wip

* wip

* wip
2022-12-19 19:01:30 +09:00
syuilo
52cbe07a78 Revert "wip"
This reverts commit f83bd31fd5.
2022-12-19 13:54:35 +09:00
syuilo
f83bd31fd5 wip 2022-12-19 13:53:41 +09:00
Kagami Sascha Rosylight
a47d172d60
enhance(client): Compress non-animated PNG files (#9334)
* style: fix TS lint errors about `ev.target`

* enhance: compress non-animated PNG

* PNG to PNG?

* defer jest things (add it later)

* Delete jest.config.cjs

* check the compressed file size

* log compression stats

* use ??

* handle if ($i == null)

Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2022-12-18 15:40:38 +09:00
Kagami Sascha Rosylight
bb3d274db6
refactor(client): add proper types to never[] (#9340) 2022-12-18 13:13:05 +09:00
tamaina
4ecc42744c
enhance: Implement the toggle to (or not to) close push notifications when notifications or messages are read (#9219)
* create file

* wip

* fix

* wip

* tabun dekita

* ✌️

* implement subscribe push notification button to tutorial

* check-exists→show-registration

* add column sendReadMessage

* fix migration file

* sw api

* change PushNotificationService

* wip

* ✌️

* fix tutorial footer flex
2022-12-18 01:59:59 +09:00
Kagami Sascha Rosylight
8211893210
Fix lint errors (except @typescript-eslint/prefer-nullish-coalescing) (#9311)
* `yarn workspace client run lint --fix`

* `eslint-disable-next-line no-var` for service worker self

* A few more manual sw fixes

* word change
2022-12-12 19:27:47 +09:00
syuilo
6d46e5cf77 enhance: fallback option for media proxy 2022-12-08 17:16:50 +09:00
tamaina
707398b1d9
enhance: Modify MkInstanceTicker (#9236)
* fix and enhance MkNoteDetailed

* change instanceticker

* 🎨

* fix

* 🎨

* fix

* 🎨

* revert MkNoteDetailed
2022-11-27 08:57:11 +09:00
tamaina
8b9dc962ae Revert #8098 2022-11-24 18:27:05 +09:00
tamaina
c79976f9bc Merge branch 'develop' into pizzax-indexeddb 2022-11-24 17:49:49 +09:00
Ikko Ashimine
cc637015bc
Fix typo in keycode.ts (#9224)
Programatically -> Programmatically
2022-11-24 17:45:20 +09:00
tamaina
764da890b6 Merge branch 'develop' into pizzax-indexeddb 2022-11-17 23:35:55 +09:00
syuilo
d5aee2ea58 improve performance 2022-11-17 09:31:07 +09:00
nenohi
7462a1e816
ノートの詳細ボタンを...に追加 (#9166)
* noteの詳細を追加

* add detail option to note menu

* add detailed , fix typo

* delete button

Co-authored-by: Gray Olson <gray@grayolson.com>
2022-11-13 07:54:05 +09:00
syuilo
1f3b1e7074 fix(client): インスタンスティッカーのfaviconを読み込む際に偽サイト警告が出ることがあるのを修正 2022-11-12 09:39:11 +09:00
syuilo
0f7cbb5922 fix type 2022-09-24 10:39:17 +09:00
syuilo
b75184ec8e
なんかもうめっちゃ変えた 2022-09-18 03:27:08 +09:00
syuilo
786b150ea7 refactor(client): align filename to component name 2022-08-31 00:24:33 +09:00
syuilo
773139b737 enhance(client): add html color-schema support 2022-08-27 00:39:59 +09:00
syuilo
2cd70b80a2 enhance(client): improve clock widgets 2022-08-05 23:51:15 +09:00
syuilo
035ec0a874 enhance(client): add some themes 2022-07-22 00:25:56 +09:00
syuilo
d7222dd56a enhance(client): tweak ui 2022-07-17 21:06:33 +09:00
syuilo
e9fd064624 chore(client): tweak user-info routing 2022-07-16 16:52:12 +09:00
syuilo
6f45208ab6 enhance(client): RSSティッカーで表示順序をシャッフルできるように 2022-07-15 17:12:08 +09:00
syuilo
096b306bc5 lit fixes 2022-07-13 21:39:16 +09:00
Johann150
ee9bb8286e
fix: add es2017 build target (#8931)
* remove top level awaits

* add es2017 target

* refactor: use setup and ref sugar
2022-07-13 21:17:19 +09:00
syuilo
ad970dffda fix(client): fix url encoded string handling of nirax
Fix #8878
2022-07-13 18:11:54 +09:00
syuilo
05a342009f 🎨 2022-07-13 16:33:18 +09:00
yzhe819
9107de63b4
chore: fix lint errors (#8981) 2022-07-10 19:47:29 +09:00
syuilo
bbe4824955 enhance(client): update themes 2022-07-10 15:36:02 +09:00
syuilo
e560601815
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
7775eb9641
refactor: use overflow-y to determine scroll container
By using `overflow-y` instead of `overflow` using `endsWith` can be
avoided and represents the data we are actually interested in here
more accurately.
2022-07-06 19:02:39 +02:00
Kainoa Kanter
1eb504a640
chore: fix client lint errors (#8934)
* Fix client lint

* Hide no-v-html

* Ignore banned type

* Update page-editor.vue
2022-07-05 11:21:59 +09:00
Johann150
a228d1ddaa
fix lint @typescript-eslint/ban-types 2022-07-04 16:46:48 +02:00
Johann150
d748ba2c51
fix lint no-prototype-builtins 2022-07-04 16:39:04 +02:00
Johann150
f14d5886f2
fix lint padded-blocks 2022-07-04 15:59:24 +02:00
syuilo
9c6a220810 chore(client): tweak ui 2022-07-02 22:07:04 +09:00
syuilo
eccc90c843
feat: Log user ips (#8872)
* wip

* store ip and headers

* Update admin-file.vue

* require admin for view ip/headers

* IP (recent) 消した

* admin必須

* opt in

* clean ips periodically

* respect logging setting in drive/files/create
2022-07-02 15:12:11 +09:00
syuilo
7c7ce072c7 chore(client): tweak ui 2022-06-30 23:51:18 +09:00
syuilo
bffe6fb9bf tweak client 2022-06-30 10:53:40 +09:00
Johann150
7f111f4474
Prevent access to user pages when not logged in [v2] (#8904)
* do not throw error when navigating

* enhance: add loginRequired to router

This allows client pages to require logging in before displaying the
page, useful for example for user settings pages.

* add login requirements

Co-authored-by: Andreas Nedbal <git@pixelde.su>
2022-06-29 18:26:06 +09:00
syuilo
5e95a1f7af refactor(client): extract interval logic to a composable function
あと`onUnmounted`を`onMounted`内で呼んでいたりしたのを修正したりとか
2022-06-26 03:12:58 +09:00
syuilo
7be4b2145b refactor(client): extract tooltip logic of chart 2022-06-25 18:05:35 +09:00
Johann150
a5241379af
fix lints 2022-06-24 12:44:22 +02:00
syuilo
c9e9129373 fix #8861 2022-06-24 00:47:55 +09:00
Johann150
ecdaeea94f
enhance: word mute checks CW (#8873) 2022-06-23 20:26:47 +09:00
tamaina
ac93a1808b Merge branch 'develop' into pizzax-indexeddb 2022-06-21 22:36:37 +09:00
syuilo
f880d0631c tweak client 2022-06-21 17:55:38 +09:00
tamaina
f33654fb9a Merge branch 'develop' into pizzax-indexeddb 2022-06-21 07:49:52 +00:00