Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

自動承認するドメインのリストを、サーバー設定から独自のテーブルを作ってそこに移す #591

Closed
kmycode opened this issue Feb 18, 2024 · 2 comments · Fixed by #689

Comments

@kmycode
Copy link
Owner

kmycode commented Feb 18, 2024

挙動を変更してほしい機能や動作

設定「新規ユーザーを自動承認するドメイン 」のデータ保存先

現在の挙動

Form::AdminSettings

変更してほしい新しい挙動

データベース上に独自のテーブルを新しく作って、そこにドメインのリストを保存する

必要性

運用によってはこのドメインリストが膨大になりかねないので、DB上に保存・取り込みができる状態があったほうがよい
AdminSettings保存時にエラーが発生した時、ドメインリストが壊れるか全部消える可能性がある。テーブルを作って1行ずつドメインを保存する形式であれば、データの破損リスクを確実に減らせる

@kmycode kmycode added this to the kb11.next milestone Feb 18, 2024
kmycode added a commit that referenced this issue Feb 29, 2024
* Add: #591 リモート保留中アカウントからメンションが来た場合にuriを記録し、承認時にフェッチしに行く処理

* Rename fetch_remove_status_worker.rb to fetch_remote_status_worker.rb

* Wip

* Add lock code
@kmycode
Copy link
Owner Author

kmycode commented Mar 5, 2024

それなりに規模が大きくなりそうなので、バージョン12に延期します

@kmycode kmycode modified the milestones: kb11.next, kb12.0 Mar 5, 2024
@kmycode
Copy link
Owner Author

kmycode commented Mar 7, 2024

ホワイトリスト用の新しい設定画面を作ったほうがよりシンプルになりそう

プロフィール編集画面のように、画面上部にナビゲーションバーを新設してNGワード設定のサブページとして実装するのが良さそうな気がします

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant