dakkar
320db585e3
pass all the options to the cache constructor
2024-06-30 11:08:21 +01:00
dakkar
8cdea537e9
cache URL previews on the server
...
we already tell browsers to cache the preview for 7 days, but each
browser will ask the server, and the server will talk to the network,
hammering the poor site that got mentioned on fedi
let's instead cache the preview on the server!
2024-06-30 10:55:13 +01:00
dakkar
6d1b1df1aa
cache-bursting for stylesheets and fonts
...
adding `?version=…` makes sure browsers get the latest files, and it
looks like they honour the caching headers we send back
2024-06-19 17:04:49 +01:00
dakkar
b525c5887f
add copyright text to all our files
2024-06-15 11:36:55 +01:00
dakkar
b2cbd507fe
Merge branch 'develop' into future-2024-05-31
2024-06-13 09:06:24 +01:00
dakkar
5c311e8a28
tweak the rate limit for notes/create
...
while fixing #467 #468 , we changed the rate limit from 300/hour to
5/minute
some people felt it was too low: they often boost notes in quick
succession
so here's a different approach: back to 300/hour, but not more than
1/second; this is the same settings that `notes/delete` has, BTW
2024-06-12 17:06:33 +01:00
dakkar
5dc8c2827c
Merge branch 'develop' into future-2024-05-31
2024-06-08 16:45:53 +01:00
Porlam Nicla
c39de769ca
配信停止したインスタンス一覧が見れなくなる問題を修正 ( #13945 )
...
* 配信停止したインスタンス一覧が見れなくなる問題を修正
* Update CHANGELOG.md
2024-06-07 22:11:13 +01:00
dakkar
079abfd713
rate limit note/reply/boost creation more tightly
...
5/minute is the same as 300/hour on average, and still high enough
that it shouldn't be a problem for most people
2024-06-07 15:10:16 +01:00
Marie
886948769e
merge: fix custom emoji pagination when searching - fixes #490 ( !489 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/489
Closes #490
Approved-by: fEmber <acomputerdog@gmail.com>
Approved-by: Marie <marie@kaifa.ch>
2024-05-31 18:39:01 +00:00
Marie
86ccbd9487
merge: Fix/fixing mastodon api search mfm ( !532 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/532
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <marie@kaifa.ch>
2024-05-31 18:32:51 +00:00
dakkar
bf710428eb
various fixes after the merge
2024-05-31 12:55:53 +01:00
dakkar
3372e0ffe1
Merge remote-tracking branch 'misskey/release/2024.5.0' into future
2024-05-31 12:26:07 +01:00
dakkar
ad8d916775
minimal fixes, thanks tests
2024-05-31 11:36:47 +01:00
dakkar
4ddee7b01e
Merge branch 'develop' into future
2024-05-31 11:24:00 +01:00
KevinWh0
1656c02536
renamed toMastoHtml to toMastoApiHtml to clear up what it does
2024-05-31 12:21:25 +02:00
zyoshoka
514a65e453
perf(backend): avoid N+1 selects from user
table when packing many entities ( #13911 )
...
* perf(backend): avoid N+1 selects from `user` table when packing many entities
* perf(backend): use `packMany` instead of mapping to `pack`
2024-05-31 15:32:42 +09:00
syuilo
be11fd7508
enhance: サーバーのお問い合わせ先URLを設定できるように
2024-05-31 10:12:23 +09:00
Marie
d7bd112b37
fix incorrect variable name
2024-05-30 13:03:54 +00:00
Marie
981975404d
Fix Visiblity issue
2024-05-30 12:08:30 +00:00
syuilo
80f3cb96b0
feat: sentry integration ( #13897 )
...
* wip
* wip
* wip
* wip
* Update CHANGELOG.md
* Update ApiCallService.ts
* Update config.ts
2024-05-28 17:06:33 +09:00
anatawa12
4579be0f54
新着ノートをサウンドで通知する機能をdeck UIに追加 ( #13867 )
...
* feat(deck-ui): implement note notification
* chore: remove notify in antenna
* docs(changelog): 新着ノートをサウンドで通知する機能をdeck UIに追加
* fix: type error in test
* lint: key order
* fix: remove notify column
* test: remove test for notify
* chore: make sound selectable
* fix: add license header
* fix: add license header again
* Unnecessary await
Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
* ファイルを選択してください -> ファイルが選択されていません
* fix: i18n忘れ
* fix: i18n忘れ
* pleaseSelectFile > fileNotSelected
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
2024-05-27 20:54:53 +09:00
かっこかり
805a11aadb
enhance(backend): プロフィールのリンク検証にtry-catchを追加 ( #13882 )
...
* enhance(backend): プロフィールのリンク検証にtry-catchを追加
* ✌️
2024-05-27 17:18:12 +09:00
かっこかり
1df8ea824e
fix(backend): /@
にアクセスするとサーバーエラーが発生する問題を修正 ( #13884 )
2024-05-27 17:15:42 +09:00
かっこかり
3ffbf6296f
feat: 個別のお知らせにリンクで飛べるように ( #13885 )
...
* feat(announcement): 個別のお知らせにリンクで飛べるように (MisskeyIO#639)
(cherry picked from commit f6bf7f992a78e54d86a4701dbd1e4fda7ef4eb27)
* fix
Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
* fix
Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
* 一覧ページではお知らせpanel全体を押せるように
* お知らせバーは個別ページに飛ばすように
* Update Changelog
* spdx
* attempt to fox test
* remove unnecessary thong
* `announcement` → `announcements/show`
* リンクを押せる場所をタイトルと日付部分のみに変更
---------
Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
2024-05-27 17:15:11 +09:00
Amelia Yukii
a9b1affdf0
merge: more timeline filters - #228 ( !455 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/455
Approved-by: fEmber <acomputerdog@gmail.com>
Approved-by: Leah <kevinlukej@gmail.com>
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
2024-05-23 21:56:28 +00:00
dakkar
d27ce442ea
more timeline filters - #228
2024-05-23 21:56:28 +00:00
かっこかり
e0b47999fa
fix(backend): read:admin:show-user
と read:admin:show-users
を統合 ( #13798 )
...
* fix(frontend): 同じdisplayNameの権限があるのを修正
* read:admin:show-user と read:admin:show-users を統合
* Update Changelog
2024-05-23 17:29:59 +09:00
anatawa12
83a9aa4533
feat: suspend instance improvements ( #13861 )
...
* feat(backend): dead instance detection
* feat(backend): suspend type detection
* feat(frontend): show suspend reason on frontend
* feat(backend): resume federation automatically if the server is automatically suspended
* docs(changelog): 配信停止まわりの改善
* lint: fix lint errors
* Update packages/frontend/src/pages/instance-info.vue
* lint: fix lint error
* chore: suspendedState => suspensionState
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-05-23 15:55:47 +09:00
Acid Chicken
611e303bab
feat(backend): add /healthz endpoint ( #13834 )
...
* feat(backend): add /healthz endpoint
* feat(backend): also check meilisearch status if available
* style: header
* chore: no-store
* chore: healthcheck.sh
* style: format
2024-05-23 15:19:52 +09:00
anatawa12
7bde630820
/tags
と /user-tags
が検索エンジンにインデックスされないように (#13847 )
...
* chore(backend): noindex for tag search pages
* docs(changelog): `/tags` と `/user-tags` が検索エンジンにインデックスされないように
* chore: base.pug内でフラグでコントロールするように
2024-05-21 11:19:33 +09:00
anatawa12
5836bd85df
fix: 複数idを指定するusers/show
が関係ないユーザを返すことがある問題を修正 ( #13765 )
...
* fix: 複数idを指定する`users/show`が関係ないユーザを返すことがある問題を修正
* test: fix misskey js test
* chore: user/showがnullを返さないように
* chore: pass lambda instead of pushVisibleUser
2024-05-20 19:25:50 +09:00
anatawa12
f6df94070b
Exclude channel notes from featured polls ( #13838 )
...
* feat(backend): add `channelId` to `MiPoll` as a Denormalized field
* feat(backend): option to exclude polls in channels
* chore: exclude channel notes from featured polls
* docs(changelog): みつけるのアンケート欄にてチャンネルのアンケートが含まれてしまう問題を修正
* fix: missing license header
2024-05-20 18:08:20 +09:00
anatawa12
4d0db37d2e
fix notification limit with exclude/include types ( #13836 )
...
* fix: /i/notificationsがsinceIdのみのときに正しく動かない問題
Fix #10902 again
* chore: use exclusive range to fetch data
* fix: フィルタによって通知が0件だった場合でもリトライするように
* docs(changelog): `/i/notifications`に includeTypes`か`excludeTypes`を指定しているとき、通知が存在するのに空配列を返すことがある問題を修正
2024-05-20 18:05:46 +09:00
dakkar
451b0ecc9b
Merge remote-tracking branch 'misskey/release/2024.5.0' into future-2024-04-25-post
2024-05-11 14:13:07 +01:00
dakkar
a81be17d69
make the linter happy
2024-05-11 13:40:28 +01:00
dakkar
30bd7768d6
Merge branch 'develop' into future-2024-04-25-post
2024-05-11 13:11:07 +01:00
dakkar
91ef2ceed7
port changes from global timeline to bubble timeline
2024-05-11 12:38:01 +01:00
dakkar
9d91196344
allow offset
in admin/emoji/list
- #490
...
also, use `skip` + `take` instead of `limit` (the TypeORM docs say so
https://github.com/typeorm/typeorm/blob/master/docs/select-query-builder.md#adding-limit-expression )
2024-05-09 21:02:34 +01:00
dakkar
f1d96b8ae8
merge: fix: incorrect type for quote property ( !480 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/480
Closes #401
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Tess K <me@thvxl.se>
2024-05-09 09:05:16 +00:00
syuilo
2b21c19362
update deps ( #13624 )
...
* update deps
* Update package.json
* update deps
* build: pass --strip-leading-paths to restore 0.2.x behavior (#13684 )
* ✌️
* ✌️
* pureimageの代わりに@napi-rs/canvasを使う (#13748 )
* pureimageの代わりに@napi-rs/canvasを使う
* remove writestream
* remove createtemp
* wip
* Update ClientServerService.ts
* update pnpm to 9.x
* update deps
* re: update pnpm to 9.x
* update node
* ✌️
---------
Co-authored-by: anatawa12 <anatawa12@icloud.com>
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2024-05-04 20:56:14 +09:00
dakkar
d0a2708f91
merge: handle non-ASCII emoji names ( !464 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/464
Approved-by: Leah <kevinlukej@gmail.com>
Approved-by: Ember <acomputerdog@gmail.com>
Approved-by: Marie <marie@kaifa.ch>
2024-05-02 21:06:10 +00:00
zyoshoka
2ff90a80d4
fix(backend): add detailed schema to fetch-rss
endpoint ( #13764 )
2024-04-29 15:36:01 +09:00
かっこかり
cb5d8bdcdd
fix(backend): ページのOGP URLが違うのを修正 ( #13749 )
...
* fix(backend): ページのOGP URLが違うのを修正
* Update Changelog
* typo
2024-04-27 18:53:28 +09:00
MeiMei
6abb8c4994
Merge pull request from GHSA-m9qf-3pfj-2r86
...
* Add Cache-Control to Bull Board
* CHANGELOG
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
2024-04-27 12:57:00 +09:00
dakkar
deb2474bdb
sync notes/edit.ts from notes/create.ts
2024-04-25 11:44:24 +01:00
dakkar
76a4ebae8a
re-instate "followed users from muted instances are not muted"
2024-04-25 11:44:24 +01:00
dakkar
4fe8a26081
Merge remote-tracking branch 'misskey/develop' into future-2024-04-25
2024-04-25 11:44:24 +01:00
dakkar
ea6629cebf
Merge branch 'develop' into future-2024-04-10-post
2024-04-25 11:18:30 +01:00
Cocoa Hoto
85339ca751
feat: improve emoji endpoint ( #13742 )
2024-04-25 11:03:34 +09:00