KMY
8e5fe5ccb9
Merge remote-tracking branch 'parent/main' into upstream-20240806
2024-08-06 08:16:16 +09:00
Emelia Smith
f55099fea3
Increase maximum page size for Admin Domain Management APIs ( #31253 )
2024-08-02 06:54:48 +00:00
KMY
a99f174d98
Merge commit ' 9e04007020
' into upstream-20240725
2024-07-25 13:06:26 +09:00
Matt Jankowski
0397df9bef
Resolve TODO
in api/v1/admin/domain_*
controllers ( #31067 )
2024-07-19 15:32:42 +00:00
KMY
aa2cdc898a
Merge remote-tracking branch 'parent/main' into upstream-20240618
2024-06-18 07:43:33 +09:00
Matt Jankowski
978601a0ae
Extract permitted params constant in v1/admin/tags ( #30652 )
2024-06-11 15:29:41 +00:00
KMY
8927b1444b
Merge remote-tracking branch 'parent/main' into upstream-20240604
2024-06-04 08:02:05 +09:00
Matt Jankowski
85d9053b36
Move pagination_params
into API::BaseController
( #28845 )
2024-05-30 14:56:48 +00:00
KMY
80789a603a
Merge remote-tracking branch 'parent/main' into upstream-20240503
2024-05-03 11:17:22 +09:00
Claire
253ead3aa7
Fix not being able to block a subdomain of an already-blocked domain through the API ( #30119 )
2024-05-02 20:56:21 +00:00
KMY
76598bd542
Merge remote-tracking branch 'parent/main' into upstream-20240319
2024-03-19 09:15:20 +09:00
Matt Jankowski
b5115850bb
Move repeated insert_pagination_headers
method to api base class ( #29606 )
2024-03-18 10:11:53 +00:00
Matt Jankowski
9754967d5f
Move pagination_max_id
and pagination_since_id
into api/base controller ( #28844 )
2024-03-13 08:51:44 +00:00
KMY(雪あすか)
76b24193c4
Remove: #608 ドメインブロック「リプライを拒否」 ( #624 )
2024-03-01 12:03:31 +09:00
KMY
05e52a09a8
Merge remote-tracking branch 'parent/main' into upstream-20230209
2024-02-09 12:53:59 +09:00
Matt Jankowski
4cf07ed78c
Add missing action logging to api/v1/admin/reports#update
( #29044 )
2024-02-06 11:34:11 +00:00
KMY(雪あすか)
8793bc286e
Add: #40 拡張ドメインブロックに「トレンドに掲載しない」を追加 ( #492 )
2024-01-22 09:06:05 +09:00
KMY(雪あすか)
407a53aa33
Remove: メディアを配送しない設定の削除 ( #445 )
2024-01-11 09:16:59 +09:00
KMY(雪あすか)
92a16218c9
Remove: #372 削除予定のドメインブロック項目をいったん削除 ( #444 )
...
* Remove: #372 削除予定のドメインブロック項目をいったん削除
* Fix test
2024-01-10 19:04:49 +09:00
KMY(雪あすか)
7694c62bc6
Add: #437 ドメインブロックで「未ログインユーザーに非公開」の設定を「非公開」にコピーするマイグレーションコード ( #439 )
...
* Add: #437 ドメインブロックで「未ログインユーザーに非公開」の設定を「非公開」にコピーするマイグレーションコード
* Fix test for LTS
* Fix test
2024-01-09 16:19:23 +09:00
KMY
a0a3d1b101
Merge remote-tracking branch 'parent/main' into upstream-20230105
2024-01-05 10:01:36 +09:00
Claire
dfdadb92e8
Add ability to require approval when users sign up using specific email domains ( #28468 )
2024-01-04 09:07:05 +00:00
KMY(雪あすか)
87e858a202
Add: フレンドサーバー ( #61 )
...
* Fix mastodon version
* テーブル作成
* Wip: フレンドサーバーフォローの承認を受信
* Wip: フレンド申請拒否を受信
* Wip: フォローリクエストを受理
* Wip: 相手からのフォロー・アンフォローを受理
* 普通のフォローとフレンドサーバーのフォローを区別するテストを追加
* ドメインブロックによるフォロー拒否
* ドメインブロックしたあと、申請中のフォロリクを取り下げる処理
* スタブに条件を追加
* Wip: 相手からのDelete信号に対応
* DB定義が消えていたので修正
* Wip: ローカル公開投稿をフレンドに送信する処理など
* Wip: 未収載+誰でもの投稿をフレンドに送る設定
* Wip: ローカル公開をそのまま送信する設定を考慮
* Fix test
* Wip: 他サーバーからのローカル公開投稿の受け入れ
* Wip: Web画面作成
* Fix test
* Wip: ローカル公開を連合TLに流す
* Wip: フレンドサーバーの削除ボタン
* Wip: メール通知や設定のテストなど
* Wip: 翻訳を作成
* Fix: 却下されたあとフォローボタンが表示されない問題
* Wip: 編集できない問題
* 有効にしていないフレンドサーバーをリストで無効表示
2023-10-09 11:51:15 +09:00
KMY
fbb1a69a65
Merge remote-tracking branch 'parent/main' into kb_migration
2023-09-13 22:08:20 +09:00
Robert R George
20666482ef
Added admin api for managing tags ( #26872 )
2023-09-13 11:22:53 +02:00
KMY
d29b71bfd9
Add instance info support
2023-08-05 09:10:55 +09:00
KMY
1daa5d9096
Merge remote-tracking branch 'parent/main' into kb_migration
2023-05-23 09:34:55 +09:00
Daniel M Brasil
ce8b5899ae
Fix POST /api/v1/admin/domain_allows
returning 200 when no domain is specified ( #24958 )
2023-05-22 13:44:49 +02:00
KMY
4f115c7d62
Merge commit ' 433ab0c9a3
' into kb_migration_development
2023-05-12 22:50:21 +09:00
KMY
3fa8efaf93
Add domainblocks to reject_reply_exclude_followers
2023-05-12 21:46:28 +09:00
Daniel M Brasil
433ab0c9a3
Fix uncaught NoMethodError error in /api/v1/admin/canonical_email_blocks/test
( #24947 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-05-12 13:46:16 +02:00
KMY
3a1a6ba39e
Merge commit ' 15fd712464
' into kb_migration
2023-05-01 15:05:34 +09:00
KMY
9fa468a4bf
Merge branch 'kb_development' into kb_migration
2023-05-01 14:02:02 +09:00
KMY
7d3d93e9a4
Add reject public unlisted subscription configs
2023-04-30 21:36:49 +09:00
Matt Jankowski
6e226f5a32
Fix Rails/ActionOrder cop ( #24692 )
2023-04-30 06:46:39 +02:00
KMY
c4367544d7
Merge branch 'kb_development' into kb_migration
2023-04-28 14:33:09 +09:00
KMY
9ad92e6a09
Addo domein block extra supports
2023-04-28 13:31:02 +09:00
Robert R George
4db8230194
Add trend management to admin API ( #24257 )
2023-04-18 11:33:30 +02:00
Nick Schonning
e2a3ebb271
Autofix Rubocop Style/IfUnlessModifier ( #23697 )
2023-02-18 12:37:47 +01:00
Claire
b034dc42be
Fix /api/v1/admin/trends/tags using wrong serializer ( #18943 )
...
* Fix /api/v1/admin/trends/tags using wrong serializer
Fix regression from #18641
* Only use `REST::Admin::TagSerializer` when the user can `manage_taxonomies`
* Fix admin trending hashtag component to not link if `id` is unknown
2023-01-18 16:28:18 +01:00
Claire
8556a649d5
Fix changing domain block severity not undoing individual account effects ( #22135 )
...
* Fix changing domain block severity not undoing individual account effects
Fixes #22133
* Add tests
2022-12-15 17:45:02 +01:00
Francis Murillo
f6492a7c4d
Log admin approve and reject account ( #22088 )
...
* Log admin approve and reject account
* Add unit tests for approve and reject logging
2022-12-07 00:25:18 +01:00
Eugen Rochko
276b85bc91
Fix admin APIs returning deleted object instead of empty object upon delete ( #19479 )
...
Fix #19153
2022-10-30 02:43:57 +02:00
Eugen Rochko
2a7766dcc9
Add admin API for managing e-mail domain blocks ( #19066 )
2022-08-28 03:37:55 +02:00
Eugen Rochko
c556c3a0d1
Add admin API for managing canonical e-mail blocks ( #19067 )
2022-08-28 03:31:54 +02:00
Eugen Rochko
b399d79545
Add admin API for managing IP blocks ( #19065 )
2022-08-27 20:56:47 +02:00
Eugen Rochko
44b2ee3485
Add customizable user roles ( #18641 )
...
* Add customizable user roles
* Various fixes and improvements
* Add migration for old settings and fix tootctl role management
2022-07-05 02:41:40 +02:00
Claire
35588d09e2
Add /api/v1/admin/domain_allows ( #18668 )
...
- `GET /api/v1/admin/domain_allows` lists allowed domains
- `GET /api/v1/admin/domain_allows/:id` shows one by ID
- `DELETE /api/v1/admin/domain_allows/:id` deletes a given domain from the list
of allowed domains
- `POST /api/v1/admin/domain_allows` to allow a new domain:
if that domain is already allowed, the existing DomainAllow will be returned
2022-06-23 23:12:01 +02:00
Claire
28329ba62f
Add /api/v1/admin/domain_blocks ( #18247 )
...
* Add /api/v1/admin/domain_blocks
Fixes #18140
- `GET /api/v1/admin/domain_blocks` lists domain blocks
- `GET /api/v1/admin/domain_blocks/:id` shows one by ID
- `DELETE /api/v1/admin/domain_blocks/:id` deletes a given domain block
- `POST /api/v1/admin/domain_blocks` to create a new domain block:
if it conflicts with an existing one, returns an error with
an attribute `existing_domain_block` with the rendered domain block
* Simplify conflict handling as suggested in review
2022-06-01 17:31:36 +02:00
Claire
3906dd67ed
Fix extremely rare race condition when deleting a toot or account ( #17994 )
2022-04-08 19:17:37 +02:00