Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ gem "jbuilder", "~> 2.0"

gem "devise", "~> 4.9.4"
gem "draper"
gem "kt-paperclip", "~> 7.1.1"
gem "aws-sdk-s3"

gem "puma", "~> 6.0" # Add Puma as the web server
Expand Down
19 changes: 0 additions & 19 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ GEM
chartkick (5.2.1)
childprocess (5.1.0)
logger (~> 1.5)
climate_control (0.2.0)
cocoon (1.2.15)
coderay (1.1.3)
concurrent-ruby (1.3.6)
Expand Down Expand Up @@ -278,12 +277,6 @@ GEM
thor (>= 0.14, < 2.0)
json (2.18.1)
jwt (1.2.1)
kt-paperclip (7.1.1)
activemodel (>= 4.2.0)
activesupport (>= 4.2.0)
marcel (~> 1.0.1)
mime-types
terrapin (~> 0.6.0)
language_server-protocol (3.17.0.5)
launchy (3.1.1)
addressable (~> 2.8)
Expand Down Expand Up @@ -315,10 +308,6 @@ GEM
http (>= 4.3, < 6.0)
maxmind-db (~> 1.4)
method_source (1.1.0)
mime-types (3.7.0)
logger
mime-types-data (~> 3.2025, >= 3.2025.0507)
mime-types-data (3.2026.0203)
mini_magick (5.3.1)
logger
mini_mime (1.1.5)
Expand Down Expand Up @@ -725,8 +714,6 @@ GEM
stimulus-rails (1.3.4)
railties (>= 6.0.0)
stringio (3.2.0)
terrapin (0.6.0)
climate_control (>= 0.0.3, < 1.0)
thor (1.5.0)
timeout (0.6.0)
treetop (1.6.18)
Expand Down Expand Up @@ -815,7 +802,6 @@ DEPENDENCIES
jquery-rails
json (>= 2.6, < 3)
jwt (~> 1.2.1)
kt-paperclip (~> 7.1.1)
launchy
listen
maxmind-geoip2 (~> 1.5, >= 1.5.1)
Expand Down Expand Up @@ -890,7 +876,6 @@ CHECKSUMS
capybara (3.40.0) sha256=42dba720578ea1ca65fd7a41d163dd368502c191804558f6e0f71b391054aeef
chartkick (5.2.1) sha256=2848d7de87189f30f28d077eb0bbdebc8a1f0f6f81de1ded95008fe564369949
childprocess (5.1.0) sha256=9a8d484be2fd4096a0e90a0cd3e449a05bc3aa33f8ac9e4d6dcef6ac1455b6ec
climate_control (0.2.0) sha256=51f6a7f6a3e7b94f400592c298b32b91467400ec4580065ccc26efa522d82160
cocoon (1.2.15) sha256=d08f14e69653287d7a060ee43389b8c824e55191dffbca0c5c586f38ef491f0d
coderay (1.1.3) sha256=dc530018a4684512f8f38143cd2a096c9f02a1fc2459edcfe534787a7fc77d4b
concurrent-ruby (1.3.6) sha256=6b56837e1e7e5292f9864f34b69c5a2cbc75c0cf5338f1ce9903d10fa762d5ab
Expand Down Expand Up @@ -952,7 +937,6 @@ CHECKSUMS
jquery-rails (4.6.1) sha256=619f3496cdcdeaae1fd6dafa52dbac3fc45b745d4e09712da4184a16b3a8d9c0
json (2.18.1) sha256=fe112755501b8d0466b5ada6cf50c8c3f41e897fa128ac5d263ec09eedc9f986
jwt (1.2.1) sha256=b0cfc9e85b2f851aa49931a4c07156127888fbf003e7ef971d4d6c2e91f98661
kt-paperclip (7.1.1) sha256=b9b3cedd8722c24abaf144f2fa28906e93ea666b103660fda4760ad1e855cf22
language_server-protocol (3.17.0.5) sha256=fd1e39a51a28bf3eec959379985a72e296e9f9acfce46f6a79d31ca8760803cc
launchy (3.1.1) sha256=72b847b5cc961589dde2c395af0108c86ff0119f42d4648d25b5440ebb10059e
lint_roller (1.1.0) sha256=2c0c845b632a7d172cb849cc90c1bce937a28c5c8ccccb50dfd46a485003cc87
Expand All @@ -966,8 +950,6 @@ CHECKSUMS
maxmind-db (1.4.0) sha256=0765c79329847fe92687a7f215a6bae843121a09ac7c8d8d9930856bcb849052
maxmind-geoip2 (1.5.1) sha256=d1397e379367921409bf1618a4d07b667492ea0e86fcee5e062dedfbff1fe7c7
method_source (1.1.0) sha256=181301c9c45b731b4769bc81e8860e72f9161ad7d66dd99103c9ab84f560f5c5
mime-types (3.7.0) sha256=dcebf61c246f08e15a4de34e386ebe8233791e868564a470c3fe77c00eed5e56
mime-types-data (3.2026.0203) sha256=54353d693af028847391c28361c07d4b8b689cad78c3e1cc272fb1205c6d2a2f
mini_magick (5.3.1) sha256=29395dfd76badcabb6403ee5aff6f681e867074f8f28ce08d78661e9e4a351c4
mini_mime (1.1.5) sha256=8681b7e2e4215f2a159f9400b5816d85e9d8c6c6b491e96a12797e798f8bccef
minitest (6.0.1) sha256=7854c74f48e2e975969062833adc4013f249a4b212f5e7b9d5c040bf838d54bb
Expand Down Expand Up @@ -1113,7 +1095,6 @@ CHECKSUMS
sprockets-rails (3.2.2) sha256=62862bce136e31d7497eededde5f7730d4096bc8ef33ef7037c41423ccf89557
stimulus-rails (1.3.4) sha256=765676ffa1f33af64ce026d26b48e8ffb2e0b94e0f50e9119e11d6107d67cb06
stringio (3.2.0) sha256=c37cb2e58b4ffbd33fe5cd948c05934af997b36e0b6ca6fdf43afa234cf222e1
terrapin (0.6.0) sha256=c9fea9f13a40dc7c75212d1b9d4ee7e4542ffe7811bf700a38ba30900b70285c
thor (1.5.0) sha256=e3a9e55fe857e44859ce104a84675ab6e8cd59c650a49106a05f55f136425e73
timeout (0.6.0) sha256=6d722ad619f96ee383a0c557ec6eb8c4ecb08af3af62098a0be5057bf00de1af
treetop (1.6.18) sha256=a3043f32f1c652aa2abdf3a3848edb2d2f69897257af2675516ac61355c183da
Expand Down
227 changes: 0 additions & 227 deletions app/controllers/image_migration_audit_controller.rb

This file was deleted.

12 changes: 6 additions & 6 deletions app/controllers/monthly_reports_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
class MonthlyReportsController < ApplicationController
def monthly_select_type
authorize! :monthly_report, to: :monthly_select_type?
check_feature_fag
check_feature_flag
end

def monthly
authorize! :monthly_report, to: :monthly?
check_feature_fag
check_feature_flag
return if performed?

build_month_and_year
Expand All @@ -29,7 +29,7 @@ def monthly
end

def create
check_feature_fag
check_feature_flag
build_new_report
authorize! @report

Expand Down Expand Up @@ -60,7 +60,7 @@ def create
end

def edit
check_feature_fag
check_feature_flag
build_month_and_year
find_form_builder
@report = Report.find(params[:id])
Expand All @@ -76,7 +76,7 @@ def edit
end

def update
check_feature_fag
check_feature_flag
@report = MonthlyReport.find params[:id]
authorize! @report

Expand Down Expand Up @@ -175,7 +175,7 @@ def build_new_report
@report.date = build_date
end

def check_feature_fag
def check_feature_flag
redirect_to "/" if show_feature?(:no_monthly_reports)
end

Expand Down
2 changes: 0 additions & 2 deletions app/models/thumbnail_asset.rb

This file was deleted.

Loading