From d7956a9c514af9b0df1d31553ff2aa666be4514a Mon Sep 17 00:00:00 2001 From: dadachi Date: Fri, 6 Mar 2026 17:35:03 +0900 Subject: [PATCH 1/2] Add CHANGELOG.md Co-Authored-By: Claude Opus 4.6 --- CHANGELOG.md | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..0f09c8c --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,41 @@ +# Changelog + +## [Unreleased] + +- Update Rails from 7.1.5.1 to 7.2.3 +- Update Brakeman from 7.0.2 to 7.1.2 +- Add brakeman.ignore for mass assignment false positive +- Add comprehensive test coverage for models, policies, serializers, and controllers (205 tests) +- Update app icons with transparent backgrounds +- Add Active Storage migrations and Rails 7.2 framework defaults +- Add static error pages (404, 406, 500) +- Fix RuboCop offenses in Active Storage migrations +- Add CLAUDE.md for Claude Code guidance + +## 2025-06-21 + +- Update Brakeman gem + +## 2025-03-06 + +- Fix item_tag uniqueness error + +## 2025-03-01 + +- Add item_tags table +- Remove BundleAssets + +## 2025-02-08 + +- Migrate from Sprockets to Propshaft +- Update Madmin + +## 2025-02-07 + +- Update Ruby and gems +- Update Brakeman gem +- Fix fail updating shopkeeper + +## 2024-10-30 + +- First commit From ade9ec58c618fce7b4be112e1d1e42d581395b70 Mon Sep 17 00:00:00 2001 From: dadachi Date: Fri, 6 Mar 2026 17:36:16 +0900 Subject: [PATCH 2/2] Add allow_browser :modern and clean up assets initializer Co-Authored-By: Claude Opus 4.6 --- app/controllers/non_api_application_controller.rb | 1 + config/initializers/assets.rb | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/app/controllers/non_api_application_controller.rb b/app/controllers/non_api_application_controller.rb index 131ab5f..79a4f1b 100644 --- a/app/controllers/non_api_application_controller.rb +++ b/app/controllers/non_api_application_controller.rb @@ -1,3 +1,4 @@ class NonApiApplicationController < ActionController::Base + allow_browser versions: :modern protect_from_forgery with: :exception end diff --git a/config/initializers/assets.rb b/config/initializers/assets.rb index 2eeef96..4873244 100644 --- a/config/initializers/assets.rb +++ b/config/initializers/assets.rb @@ -5,8 +5,3 @@ # Add additional assets to the asset load path. # Rails.application.config.assets.paths << Emoji.images_path - -# Precompile additional assets. -# application.js, application.css, and all non-JS/CSS in the app/assets -# folder are already added. -# Rails.application.config.assets.precompile += %w( admin.js admin.css )