Commit graph

2303 commits

Author SHA1 Message Date
Claire
bbf46cc418
Fix error and incorrect URLs in /api/v1/accounts/:id/featured_tags for remote accounts (#27459) 2023-10-27 08:35:21 +00:00
Jeong Arm
8f998cd96a
Handle featured collections without items (#27581) 2023-10-27 02:36:22 +00:00
KMY(雪あすか)
1d8862712a
Add: #62 ローカルタイムラインを無効にする管理者向け設定 (#179)
* Bump version to 8.0

* Add: 他のサーバーに公開する情報に、制限設定などを追加

* Fix: `quote_of_id`のインデックス

* Fix: #172 他のサーバーからの相乗り絵文字削除が反映されない

* Test: #166 リモートから自分の絵文字を受け取った時、ライセンスが上書きされないことを確認するテスト

* Add: #62 ローカルタイムラインを無効にする管理者設定(内部挙動のみ)

* Add: 画面部分を追加
2023-10-27 08:08:50 +09:00
KMY
5448bcf276 Merge remote-tracking branch 'parent/main' into kb-upstream-20231026 2023-10-26 20:24:34 +09:00
KMY(雪あすか)
551a9e8216
Merge pull request #159 from kmycode/upstream-20231021
Upstream 20231021
2023-10-26 10:07:09 +09:00
KMY(雪あすか)
e2bc9be0e8 Merge pull request from GHSA-c7p6-c688-fhgp
* FixSec: スタンプを経由してカスタム絵文字のデータを改竄できる問題

* Fix: 相乗り絵文字が受け取れない問題とテスト

* Change: 相乗りスタンプは常にオリジナルの情報を参照

* Fix: uriまで偽装した場合に対応
2023-10-26 08:52:14 +09:00
KMY
491816133a Test: #166 リモートから自分の絵文字を受け取った時、ライセンスが上書きされないことを確認するテスト 2023-10-26 08:52:14 +09:00
KMY
dd6db1f337 Fix: #172 他のサーバーからの相乗り絵文字削除が反映されない 2023-10-26 08:52:14 +09:00
Claire
49b8433c56
Fix confusing screen when visiting a confirmation link for an already-confirmed email (#27368) 2023-10-25 21:33:44 +00:00
Matt Jankowski
e93a75f1a1
Rails 7.1 update (#25963) 2023-10-23 17:58:29 +00:00
Daniel M Brasil
26d2a2a0cc
Migrate to request specs in /api/v1/media (#25543) 2023-10-23 15:46:21 +00:00
Claire
bcae744275
Fix some link anchors being recognized as hashtags (#27271) 2023-10-23 14:19:38 +02:00
KMY
46a1e62dc4 Merge remote-tracking branch 'parent/main' into upstream-20231021 2023-10-23 18:48:26 +09:00
Matt Jankowski
b0213472df
Validate allowed schemes on preview card URLs (#27485) 2023-10-23 09:50:02 +02:00
KMY
b992e673c7 Merge branch 'kb_development' into upstream-20231021 2023-10-22 14:42:08 +09:00
KMY(雪あすか)
eb52b72152
Fix: 他のサーバー同士のスタンプでemoji_reaction_policyが適用される問題 (#165)
* Fix: 他のサーバー同士のスタンプで`emoji_reaction_policy`が適用される問題

* こっちに変更

* #161 テストを追加

* テスト修正
2023-10-22 09:46:19 +09:00
KMY(雪あすか)
4f37ede886
Fix: #162 編集/他のサーバーからの編集で、フォローしていない相手からのメンションに関するNGワードに対応 (#163)
* Fix: #162 フォローしていないアカウントへのメンションのNGワードが編集で有効にならない問題

* Fix: 他のサーバーから来た編集についても適用
2023-10-22 09:40:20 +09:00
KMY(雪あすか)
76edf82499
Fix: ブーストが1つでもあると投稿のエクスポート時にエラーが出る問題 (#149)
* Fix: ブーストが1つでもあるとバックアップ時にエラーが出る問題

* Test: 限定投稿の扱い
2023-10-21 21:40:34 +09:00
KMY
f9eaaec4e7 Merge remote-tracking branch 'parent/main' into upstream-20231021 2023-10-21 10:32:06 +09:00
KMY(雪あすか)
d789304e19
Add: #136 自分が引用した投稿が編集されたときに通知 (#157) 2023-10-21 10:16:10 +09:00
Matt Jankowski
ab0fb81479
Configure brakeman to ignore url safe preview card urls (#25883) 2023-10-20 15:32:16 +02:00
Claire
13688539bc
Fix processing LDSigned activities from actors with unknown public keys (#27474) 2023-10-20 10:45:46 +02:00
KMY(雪あすか)
42c613b1a2
#150 ローカルユーザーの投稿にもメンションのNGワードを適用 (#151) 2023-10-20 08:49:52 +09:00
Matt Jankowski
9f218c9924
Refactor appeal partial to avoid brakeman XSS warning (#25880) 2023-10-19 17:25:54 +02:00
Matt Jankowski
bcd0171e5e
Fix Lint/UselessAssignment cop (#27472) 2023-10-19 16:55:06 +02:00
Daniel M Brasil
7bc8f03162
Add test coverage for Mastodon::CLI::Accounts#migrate (#25284) 2023-10-19 16:11:15 +02:00
KMY(雪あすか)
3a2030dfc8
Add: #43 フォローしていないアカウントからのリプライのNGワード (#148)
* Add: フォローしていないアカウントからのリプライのNGワード

* Test: ハッシュタグ使用量
2023-10-19 12:12:00 +09:00
Matt Jankowski
a1b27d8b61
Fix Naming/VariableNumber cop (#27447) 2023-10-18 14:26:22 +02:00
Emelia Smith
7c3fea7275
Feature: Allow token introspection without read scope (#27142) 2023-10-18 14:10:07 +02:00
Daniel M Brasil
091a21e1bc
Add test coverage for Mastodon::CLI::Accounts#prune (#25204) 2023-10-18 10:20:50 +02:00
Claire
e9dc30cdba
Fix duplicate github annotations for rspec failures (#27450) 2023-10-18 10:18:34 +02:00
KMY
527ded889d Merge remote-tracking branch 'parent/main' into kb-upstream-20231018 2023-10-18 11:13:56 +09:00
KMY(雪あすか)
9972dfae61 Revert "Merge"
This reverts commit 84eae6fac9.
2023-10-18 11:11:01 +09:00
KMY
84eae6fac9 Merge 2023-10-18 11:09:56 +09:00
KMY(雪あすか)
1d9c77063e
Fix: 他のサーバーの同じ絵文字を複数つけられる問題 (#141)
* スタンプ機能のリファクタリング、投稿の反応者へも配送

* Fix: 他のサーバーの絵文字を複数つけられる問題
2023-10-18 10:56:21 +09:00
KMY(雪あすか)
b73eb1b847
Test: API呼び出しによってスタンプをつけるテスト (#139)
* Test: API呼び出しによってスタンプをつけるテスト

* Fix: スタンプ削除APIで`emoji`パラメータを指定していないときに投稿が自由閲覧できる問題

* Test: さっきの問題のテストを追加
2023-10-18 10:34:53 +09:00
KMY(雪あすか)
d62a135806
スタンプ機能のリファクタリング、投稿の反応者へも配送 (#140) 2023-10-18 10:23:17 +09:00
KMY(雪あすか)
9b1821d001
Test: UnEmojiReactServiceのテスト (#138) 2023-10-18 10:09:15 +09:00
Nick Schonning
5ef26d8fd5
Add RSpec GitHub annotations gem (#24040) 2023-10-17 18:28:09 +02:00
Matt Jankowski
71447ab19f
Fix Capybara/ClickLinkOrButtonStyle cop in spec/features/admin area (#27445) 2023-10-17 16:57:19 +02:00
Matt Jankowski
2528a0721f
Update rubocop-capybara to version 2.19.0 (#26982) 2023-10-17 16:10:50 +02:00
Claire
b34a2b1b33
Fix errors in CLI specs (#27399) 2023-10-17 15:30:12 +02:00
Victor Lee
c4bddc9855
Add spec for poll model (#23399)
Co-authored-by: Nick Schonning <nschonni@gmail.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-10-17 14:56:24 +02:00
Matt Jankowski
12bb7be8b5
Spec speed ups on AccountsController spec (#25391) 2023-10-17 13:32:10 +02:00
Matt Jankowski
d54fec24e5
Add coverage for CLI::PreviewCards#remove command (#27441) 2023-10-17 13:06:16 +02:00
Matt Jankowski
19900f647e
Add coverage for UnreservedUsernameValidator (#25590) 2023-10-17 13:05:28 +02:00
Matt Jankowski
72d18cb16d Expand spec coverage of CLI::Media (#27437) 2023-10-17 09:27:11 +09:00
Matt Jankowski
e9e0af9d50 Extract shared example for cacheable response in specs (#25388) 2023-10-17 09:27:11 +09:00
Matt Jankowski
7537837ad8 Misc coverage improvements for Admin:: and Settings:: controllers (#25346) 2023-10-17 09:27:11 +09:00
Daniel M Brasil
49663315e7 Migrate to request specs in /api/v1/notifications (#25553) 2023-10-17 09:27:11 +09:00