Skip to content

Commit

Permalink
Revert "Revert "Feature/appeals 27311" (#20343)"
Browse files Browse the repository at this point in the history
This reverts commit 084cd98.
  • Loading branch information
HunJerBAH authored and craigrva committed Jan 24, 2024
1 parent c85f851 commit 4fed7d2
Show file tree
Hide file tree
Showing 175 changed files with 11,141 additions and 78 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ gem "redis-namespace"
gem "redis-rails", "~> 5.0.2"
gem "request_store"
gem "roo", "~> 2.7"
gem "ruby_claim_evidence_api", git: "https://github.com/department-of-veterans-affairs/ruby_claim_evidence_api.git", ref: "f1686404d448e1d8d13e533400817bcab175ed65"
# Use SCSS for stylesheets
gem "sass-rails", "~> 5.0"
# Error reporting to Sentry
Expand Down
17 changes: 17 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,19 @@ GIT
nokogiri (>= 1.11.0.rc4)
savon (~> 2.12)

GIT
remote: https://github.com/department-of-veterans-affairs/ruby_claim_evidence_api.git
revision: f1686404d448e1d8d13e533400817bcab175ed65
ref: f1686404d448e1d8d13e533400817bcab175ed65
specs:
ruby_claim_evidence_api (0.0.1)
activesupport
base64
faraday
faraday-multipart
httpi
railties

GIT
remote: https://github.com/department-of-veterans-affairs/sniffybara.git
revision: 351560b5789ca638ba7c9b093c2bb1a9a6fda4b3
Expand Down Expand Up @@ -153,6 +166,7 @@ GEM
aws-sdk-core (= 2.10.112)
aws-sigv4 (1.0.2)
backport (1.2.0)
base64 (0.2.0)
benchmark-ips (2.7.2)
bootsnap (1.7.5)
msgpack (~> 1.0)
Expand Down Expand Up @@ -290,6 +304,8 @@ GEM
multipart-post (>= 1.2, < 3)
faraday-http-cache (2.4.1)
faraday (>= 0.8)
faraday-multipart (1.0.4)
multipart-post (~> 2)
faraday_middleware (0.13.1)
faraday (>= 0.7.4, < 1.0)
fast_jsonapi (1.5)
Expand Down Expand Up @@ -814,6 +830,7 @@ DEPENDENCIES
ruby-debug-ide
ruby-oci8 (~> 2.2)
ruby-prof (~> 1.4)
ruby_claim_evidence_api!
sass-rails (~> 5.0)
scss_lint
sentry-raven
Expand Down
5 changes: 5 additions & 0 deletions Makefile.example
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,11 @@ realclean: clean ## TODO
rm -rf client/node_modules
rm -f client/package-lock.json

precompile: ## Precompiles assets for testing
bundle exec rake assets:precompile

yeet: clean precompile ## Cleans and precompiles assets for testing

facols-bash: ## Connect to the docker FACOLS instance
docker exec --tty -i VACOLS_DB bash

Expand Down
5 changes: 5 additions & 0 deletions app/controllers/appeals_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,11 @@ def update
end
end

def active_evidence_submissions
appeal = Appeal.find(params[:appeal_id])
render json: appeal.evidence_submission_task
end

private

# :reek:DuplicateMethodCall { allow_calls: ['result.extra'] }
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class ApplicationController < ApplicationBaseController
before_action :set_raven_user
before_action :verify_authentication
before_action :set_paper_trail_whodunnit
before_action :deny_vso_access, except: [:unauthorized, :feedback]
before_action :deny_vso_access, except: [:unauthorized, :feedback, :under_construction]
before_action :set_no_cache_headers

rescue_from StandardError do |e|
Expand Down
1 change: 1 addition & 0 deletions app/controllers/concerns/explain_timeline_concern.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ module ExplainTimelineConcern
# :reek:FeatureEnvy
def timeline_data
return "(LegacyAppeals are not yet supported)".to_json if legacy_appeal?
return "(Correspondences are not yet supported)".to_json if correspondence?

(tasks_timeline_data + intake_timeline_data + hearings_timeline_data).map(&:as_json)
end
Expand Down
Loading

0 comments on commit 4fed7d2

Please sign in to comment.