Commit graph

98 commits

Author SHA1 Message Date
ThatOneCalculator
690b03979b Custom splash icons! 2022-07-27 10:25:30 -07:00
ThatOneCalculator
3efd03800d Custom MOTD! 2022-07-27 09:46:35 -07:00
Johann150
2c72acd813 enable to fetch replies recursively 2022-07-25 13:40:37 -07:00
ThatOneCalculator
ab07240b11 migration 2022-07-18 21:04:55 -07:00
nullobsi
03185aae2e Add migration for allowedHosts, secureMode, privateMode 2022-07-17 14:02:40 -07:00
syuilo
c56f14473f Update 1651224615271-foreign-key.js
#8852
2022-07-17 05:12:59 +09:00
syuilo
958260795f Update 1651224615271-foreign-key.js
#8852
2022-07-16 23:51:32 +09:00
syuilo
638f0eba12 enhance: make active email validation configurable 2022-07-09 15:05:55 +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
CyberRex
bc49a0e9be Add additional drive capacity change support (#8867)
* Add additional drive capacity change support

* Update packages/backend/src/server/api/endpoints/admin/drive-capacity-override.ts

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>

* 🎨

* show instance default capacity in placeholder

* fix

* update api/drive

* fix

* remove :

* fix lint

Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2022-07-05 00:21:01 +09:00
syuilo
e5ccfa5158 feat: moderation note 2022-07-03 00:15:03 +09:00
syuilo
e23e7de453 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
Johann150
08c119e088 hotfix: uniform color migration fix 2022-05-19 15:42:55 +02:00
Johann150
306b825ae2 enhance: uniform theme color (#8702)
* enhance: make theme color format uniform

All newly fetched instance theme colors will be uniformely formatted
as hashtag followed by 6 hexadecimal digits.

Colors are checked for validity and invalid colors are not handled.

* better input validation for own theme color

* migration to unify theme color formats

Fixes theme colors of other instances as well as the local instance.

* add changelog entry

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-05-19 09:54:45 +02:00
Johann150
79072916af chore: synchronize code and database schema (#8577)
* chore: remove default null

null is always the default value if a table column is nullable, and typeorm's
@Column only accepts strings for default.

* chore: synchronize code with database schema

* chore: sync generated migrations with code
2022-05-05 22:45: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
3b95fce051 fix federation chart 2022-03-08 22:56:46 +09:00
syuilo
e3afe9fd82 delete needless instance drive columns 2022-03-07 21:20:14 +09:00
syuilo
13dfafb1dd feat: add active to federation chart 2022-03-07 15:10:16 +09:00
syuilo
3b86bdf18c feat: アンケート終了通知
Resolve #4664
2022-03-06 16:06:27 +09:00
syuilo
17f7b41240 feat: 時限ミュート
#7677
2022-03-04 20:23:53 +09:00
syuilo
f71aa3df32 feat: instance default theme 2022-03-01 23:58:01 +09:00
syuilo
8a506acf54 fix migrations
Fix #8363
2022-03-01 00:07:03 +09:00
tamaina
13cc69fe1c Fix avatar/banner proxy (#8346)
* Fix avatar/banner proxy

Co-authored-by: mei23 <m@m544.net>

* use getAvatarUrl

* fix

* join avatar and banner to improve performance

* join

* Update hybrid-timeline.ts

* fix

Co-authored-by: mei23 <m@m544.net>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-02-27 13:59:10 +09:00
syuilo
2f83378acc feat: add pub & sub item for federation chart 2022-02-23 16:17:16 +09:00
syuilo
18ea7a1142 remove max note text length setting
Resolve #8323
2022-02-20 16:07:43 +09:00
syuilo
7069a28c15 Update 1644010796173-convert-hard-mutes.js 2022-02-11 21:17:07 +09:00
syuilo
9cd07c6eac Update 1644010796173-convert-hard-mutes.js 2022-02-11 21:06:38 +09:00
syuilo
28c859ff93 enhance(server): add indexes for following host 2022-02-11 12:47:42 +09:00
syuilo
c15cc02ab3 Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop 2022-02-10 22:01:34 +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
48fe5b1499 enhance: improve federation chart 2022-02-10 17:45:12 +09:00
syuilo
9e41714e6e feat: インスタンスのテーマカラーを設定できるように 2022-02-09 21:25:48 +09:00
syuilo
3bc6958ef0 fix: truncate user drive chart 2022-02-09 21:12:20 +09:00
syuilo
4d05c3e8a9 feat: introduce intersection calculation of charts 2022-02-09 03:46:58 +09:00
syuilo
61f855429f feat: improve federation chart 2022-02-08 23:43:51 +09:00
syuilo
756201ebef feat: notes/instance/perUserNotesチャートに添付ファイル付きノートの数を追加 2022-02-08 23:12:37 +09:00
nullobsi
92e94d688c feat: Option to show replies in timeline (rebase #7685) (#8202)
* Add an option for timeline replies. Credit to Emilis (puffaboo)

* update db on request
2022-02-06 16:02:48 +09:00
syuilo
b0da30469d imprpve active users chart 2022-02-06 06:24:06 +09:00
syuilo
eaad6e188c Improve chart engine (#8253)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update core.ts

* wip

* wip

* #7361

* delete network chart

* federationChart強化 apRequestChart追加

* tweak
2022-02-06 00:13:52 +09:00
syuilo
e1b9c22874 enhance: convert svg to png of custom emojis 2022-01-21 18:47:02 +09:00
Johann150
627e3c07b9 enhance: Forward report (#8001)
* implement sending AP Flag object

Optionally allow a user to select to forward a report about a remote
user to the other instance. This is added in a backwards-compatible way.

* add locale string

* forward report only for moderators

* add switch to moderator UI to forward report

* fix report note url

* return forwarded status from API

apparently forgot to carry this over from my testing environment

* object in Flag activity has to be an array

For correct interoperability with Pleroma the "object" property of the Flag
activity has to be an array.

This array will in the future also hold the link to respective notes, so it
makes sense to correct this on our side.

* Update get-note-menu.ts

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-01-21 03:06:38 +09:00
syuilo
3230cdaa4f feat(server): store mime type of webpublic 2022-01-20 02:40:13 +09:00
syuilo
ed7077b312 Update 1639325650583-chart-v3.js 2021-12-14 23:13:09 +09:00
syuilo
89bbcf1807 enhance(backend): improve chart engine 2021-12-14 18:12:37 +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
syuilo
a39c964847 viaMobileフラグ廃止
Close #7965
2021-11-12 15:11:20 +09:00
syuilo
14148f6c4a refactoring
Resolve #7779
2021-11-12 02:02:25 +09:00