Commit graph

2295 commits

Author SHA1 Message Date
Hazelnoot
8e7cac3d77 fix import order in notes/like.ts 2025-02-04 10:41:27 -05:00
Hazelnoot
1f03acb97a fix import order in pages/delete.ts 2025-02-04 10:41:15 -05:00
Hazelnoot
8ee315a82b fix lint errors in stream/channel/bubble-timeline.ts 2025-02-04 10:41:03 -05:00
Hazelnoot
8459d6283d fix import order in stream/channel.ts 2025-02-04 10:40:47 -05:00
Hazelnoot
f65937446a fix lint errors in Connection.ts 2025-02-04 10:40:14 -05:00
Hazelnoot
5942da15da fix import order in SignupApiService.ts 2025-02-04 10:39:03 -05:00
Hazelnoot
980ea858f2 fix import order in ActivityPubServerService.ts 2025-02-04 10:38:50 -05:00
Hazelnoot
6d12bc0e7f fix import order in i/change-password.ts 2025-02-04 10:17:18 -05:00
Hazelnoot
27a8ded246 fix import order in i/2fa/update-key.ts 2025-02-04 10:16:08 -05:00
Hazelnoot
e04d38e105 fix import order in i/2fa/unregister.ts 2025-02-04 10:10:43 -05:00
Hazelnoot
3ae4356ac7 fix import order in i/2fa/remove-key.ts 2025-02-04 10:10:16 -05:00
Hazelnoot
51232dc60f fix import order in i/2fa/register-key.ts 2025-02-04 10:09:58 -05:00
Hazelnoot
4c268e4a2b fix import order in i/2fa/register.ts 2025-02-04 10:09:30 -05:00
Hazelnoot
85fbd0edf9 fix import order in i/2fa/password-less.ts 2025-02-04 10:09:07 -05:00
Hazelnoot
96334ef178 fix lint errors in i/2fa/key-done.ts 2025-02-04 10:08:42 -05:00
Hazelnoot
ea35204c9e fix import order in i/2fa/done.ts 2025-02-04 10:07:34 -05:00
Hazelnoot
294365591c fix import order in gallery/posts/delete.ts 2025-02-04 10:07:03 -05:00
Hazelnoot
f469a7b1de fix import order in flash/delete.ts 2025-02-04 10:06:25 -05:00
Hazelnoot
82345dc77a fix lint error in drive/folder.ts 2025-02-04 10:05:34 -05:00
Hazelnoot
6bb99734ad fix lint errors in drive/files.ts 2025-02-04 10:05:16 -05:00
Hazelnoot
aeed479ea0 remove unused import from drive/folders/update.ts 2025-02-04 10:04:40 -05:00
Hazelnoot
ffd1c52213 remove unused import from drive/files/update.ts 2025-02-04 10:04:19 -05:00
Hazelnoot
606d10f109 remove unused import from drive/files/delete.ts 2025-02-04 10:03:42 -05:00
Hazelnoot
b84a1542fa fix import order in channels/update.ts 2025-02-04 10:02:30 -05:00
Hazelnoot
5ff6814c74 remove unused imports from accounts/create.ts 2025-02-04 09:57:16 -05:00
Hazelnoot
47815631e4 add Sharkey endpoints to endpoint-list.ts 2025-02-03 19:20:19 -05:00
Hazelnoot
4afe01909e add FriendlyCaptcha to new captcha admin endpoints 2025-02-03 18:36:11 -05:00
Hazelnoot
a4e86758c1 merge upstream 2025-02-03 2025-02-03 14:36:09 -05:00
Hazelnoot
bd716ed837 increase the rate limit for /api/i endpoint, preventing some 429 errors if multiple tabs reload simultaneously 2025-02-01 23:56:41 -05:00
Hazelnoot
83f2d93d30 increase rate limit on federation/update-remote-user 2025-02-01 18:53:32 -05:00
かっこかり
40bfb1be09
fix(backend): お知らせのmetaタグ出力の条件が間違っていたのを修正 (#15377)
* fix(backend): お知らせのmetaタグ出力の条件が間違っていたのを修正

* Update Changelog
2025-02-01 13:36:10 +09:00
Kinetix
4d91baaa13 Adjust as per suggestions in !877 2025-01-31 10:22:13 -08:00
Kinetix
993532bc1f Adding robots.txt override via admin control panel
This is a requested low priority feature in #418 - I created the changes
to follow similarly to how the Instance Description is handled.
2025-01-28 15:57:45 -08:00
Kinetix
be075d9c5f This seems to function, doesn't include bots 2025-01-26 13:23:14 -08:00
Kinetix
326bc0a24f Merge remote-tracking branch 'upstream/develop' into nodeinfostats 2025-01-26 13:20:26 -08:00
Hazelnoot
8bf01d9731 merge: Improve my previous emoji endpoints patch. (!869)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/869

Closes #893

Approved-by: Marie <github@yuugi.dev>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-01-26 15:17:32 +00:00
饺子w (Yumechi)
ef29130057
fix(backend): ノートの閲覧にログイン必須にしてもFeedでノートが表示されてしまう問題を修正 (#15083)
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2025-01-26 06:03:42 +00:00
かっこかり
35104d87d5
revert(dev): フロントエンド・バックエンドを分離する開発モードを廃止 (#15284)
* Revert "chore: 開発モードでフロントエンドとバックエンドを独立して起動するようにする(再) (#12593)"

This reverts commit b0039f0946.

* revert dev command

* revert embed dev

* 消しすぎた

* filesをプロキシするように

* fix chromatic ci

* Revert "filesをプロキシするように"

This reverts commit 41be2548ce82ba408588c5f0dee007c97d026e55.

* fix: configのhostnameでサーバーを起動するように

* fix

* lint

* Update Changelog

* fix

---------

Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2025-01-25 20:58:39 +09:00
piuvas
1080f19e99
generalize current language so we match more broadly on fallback 2025-01-24 18:37:18 -03:00
piuvas
716f203171
requested changes 2025-01-23 22:33:19 -03:00
piuvas
62964c45f8 cleanup for linter to be happy 2025-01-20 17:26:39 -03:00
piuvas
b92a325539 use addOrderBy as not to override orderBy 2025-01-20 17:18:56 -03:00
anatawa12
8d7b1f285f
refactor: Refactor Endpoints to improve Developer Experience for adding Endpoints (#15301)
* chore: reorder endpoints to lexicographic code unit order

* refactor: import endpoints in one module and use them for generating EndpointsModule and endpoints
2025-01-20 12:15:23 +00:00
おさむのひと
f9ad127aaf
feat: 新カスタム絵文字管理画面(β)の追加 (#13473)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* fix

* fix

* fix

* fix size

* fix register logs

* fix img autosize

* fix row selection

* support delete

* fix border rendering

* fix display:none

* tweak comments

* support choose pc file and drive file

* support directory drag-drop

* fix

* fix comment

* support context menu on data area

* fix autogen

* wip イベント整理

* イベントの整理

* refactor grid

* fix cell re-render bugs

* fix row remove

* fix comment

* fix validation

* fix utils

* list maximum

* add mimetype check

* fix

* fix number cell focus

* fix over 100 file drop

* remove log

* fix patchData

* fix performance

* fix

* support update and delete

* support remote import

* fix layout

* heightやめる

* fix performance

* add list v2 endpoint

* support pagination

* fix api call

* fix no clickable input text

* fix limit

* fix paging

* fix

* fix

* support search

* tweak logs

* tweak cell selection

* fix range select

* block delete

* add comment

* fix

* support import log

* fix dialog

* refactor

* add confirm dialog

* fix name

* fix autogen

* wip

* support image change and highlight row

* add columns

* wip

* support sort

* add role name

* add index to emoji

* refine context menu setting

* support role select

* remove unused buttons

* fix url

* fix MkRoleSelectDialog.vue

* add route

* refine remote page

* enter key search

* fix paste bugs

* fix copy/paste

* fix keyEvent

* fix copy/paste and delete

* fix comment

* fix MkRoleSelectDialog.vue and storybook scenario

* fix MkRoleSelectDialog.vue and storybook scenario

* add MkGrid.stories.impl.ts

* fix

* [wip] add custom-emojis-manager2.stories.impl.ts

* [wip] add custom-emojis-manager2.stories.impl.ts

* wip

* 課題はまだ残っているが、ひとまず完了

* fix validation and register roles

* fix upload

* optimize import

* patch from dev

* i18n

* revert excess fixes

* separate sort order component

* add SPDX

* revert excess fixes

* fix pre test

* fix bugs

* add type column

* fix types

* fix CHANGELOG.md

* fix lit

* lint

* tweak style

* refactor

* fix ci

* autogen

* Update types.ts

* CSS Module化

* fix log

* 縦スクロールを無効化

* MkStickyContainer化

* regenerate locales index.d.ts

* fix

* fix

* テスト

* ランダム値によるUI変更の抑制

* テスト

* tableタグやめる

* fix last-child css

* fix overflow css

* fix endpoint.ts

* tweak css

* 最新への追従とレイアウト微調整

* ソートキーの指定方法を他と合わせた

* fix focus

* fix layout

* v2エンドポイントのルールに対応

* 表示条件などを微調整

* fix MkDataCell.vue

* fix error code

* fix error

* add comment to MkModal.vue

* Update index.d.ts

* fix CHANGELOG.md

* fix color theme

* fix CHANGELOG.md

* fix CHANGELOG.md

* fix center

* fix: テーブルにフォーカスがあり、通常状態であるときはキーイベントの伝搬を止める

* fix: ロール選択用のダイアログにてコンディショナルロールを×ボタンで除外できなかったのを修正

* fix remote list folder

* sticky footers

* chore: fix ci error(just single line-break diff)

* fix loading

* fix like

* comma to space

* fix ci

* fix ci

* removed align-center

---------

Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
Co-authored-by: Sayamame-beans <61457993+Sayamame-beans@users.noreply.github.com>
2025-01-20 11:35:37 +00:00
dakkar
b5d2aea2ac merge: Clone note when adding myReaction to streamed notes. (!854)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/854

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-01-18 16:44:56 +00:00
zyoshoka
1ef62e9e33
fix(backend): clone schema before converting to OAS schema to avoid mutation (#15294)
* fix(backend): clone schema before converting to OAS schema to avoid mutation

* Update CHANGELOG.md

* fix: use deepClone
2025-01-18 04:05:33 +00:00
Kinetix
43343d94a9 Restore activeHalfyear and activeMonth nodeinfo
With this content being cached by nginx, these queries shouldn't run
more than once every 15 minutes (or whatever your content cache is set
to), as far as I understand it. I have verified HIT/MISS via the
returned HTTP headers. Perhaps this is more of an issue on large
instances, but rather than this data just missing for all instances,
perhaps a control panel option could be added to enable/disable this?

Misskey nulled these stats as part of a performance issue:
https://github.com/misskey-dev/misskey/issues/9505 and committed changes
at c5cfbd99d0
2025-01-17 13:32:46 -08:00
果物リン
a328d52008
よくわからないリアクションに関するログが流れっぱなしなのを修正 (#15303) 2025-01-17 10:27:48 +00:00
anatawa12
145c6cf2b5
fix: node.js の punycode モジュールが使用されている場所がある問題 (#15248)
* fix: punycode.js が使用されていない場所がある問題

* fix: use punycode/punycode.js on backend

* fix: use punycode/punycode.es6.js on backend

* fix: d.ts missing declare keyword

* chore: don't use punycode.js on backend

* update pnpm-lock.yaml

* chore: remove punycode.d.ts

* chore: use punycode.js instead of punycode npm package

* chore: bump psl to 1.15.0

* chore: bump nsfwjs to 4.2.0

4.2.1 is not usable because of https://github.com/infinitered/nsfwjs/issues/904

* chore: prevent loading node-fetch from tensorflow

* chore: DOMWindow['document'] => Document

IDK why DOMWindow['document'] fails, but might be related to tsc internal complexity limit

* fix: disable --trace-deprecation

---------

Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2025-01-14 12:37:39 +00:00
かっこかり
da9e05582d
fix(backend): pages/updateのnameの重複チェックはnameプロパティがある時のみ行うように (#15104)
* fix(backend): pagesのnameの重複チェックはnameプロパティがある時のみ行うように

* Update Changelog

---------

Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2025-01-14 11:30:49 +00:00