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

WebインストーラでSodium拡張のチェックを行う #5934

Merged
merged 3 commits into from
Feb 15, 2023

Conversation

chihiro-adachi
Copy link
Contributor

@chihiro-adachi chihiro-adachi commented Feb 7, 2023

概要(Overview・Refs Issue)

WebインストーラでSodium拡張のチェックを行うよう対応しました。

  • システム要件の必須ライブラリのチェックにsodiumを追加
  • APIプラグインがインストール済&sodium拡張がない場合、APIプラグインをアンインストールする

方針(Policy)

実装に関する補足(Appendix)

git cloneしたec-cubeで動作確認する場合は、以下の手順で環境をセットアップしてください。

1) パッケージから、src/Eccube/Resource/doctrine/import_csv/ja/dtb_plugin.csvを配置しておく

2) EC-CUBEのインストール
bin/console eccube:install

3) プラグインのインストール
bin/console eccube:composer:require "ec-cube/api42"

4) .envを削除し、webインストーラを起動可能にする
rm .env
rm -rf var/cache

5) フロント画面にアクセスし、インストーラを表示

テスト(Test)

テスト用のパッケージを以下で作成しています。
https://github.com/chihiro-adachi/ec-cube/releases/tag/4.2.1-sodium

相談(Discussion)

事象が発生しているレンタルサーバで、試してみていただけるとありがたいです。

マイナーバージョン互換性保持のための制限事項チェックリスト

  • 既存機能の仕様変更はありません
  • フックポイントの呼び出しタイミングの変更はありません
  • フックポイントのパラメータの削除・データ型の変更はありません
  • twigファイルに渡しているパラメータの削除・データ型の変更はありません
  • Serviceクラスの公開関数の、引数の削除・データ型の変更はありません
  • 入出力ファイル(CSVなど)のフォーマット変更はありません

レビュワー確認項目

  • 動作確認
  • コードレビュー
  • E2E/Unit テスト確認(テストの追加・変更が必要かどうか)
  • 互換性が保持されているか
  • セキュリティ上の問題がないか
    • 権限を超えた操作が可能にならないか
    • 不要なファイルアップロードがないか
    • 外部へ公開されるファイルや機能の追加ではないか
    • テンプレートでのエスケープ漏れがないか

その他

@chihiro-adachi chihiro-adachi added the improvement 機能改善 label Feb 7, 2023
@chihiro-adachi chihiro-adachi added this to the 4.2.1 milestone Feb 7, 2023
@chihiro-adachi
Copy link
Contributor Author

結合試験項目書を修正
EC-CUBE/eccube-specification#107

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement 機能改善
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants