Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
10000 commits
Select commit Hold shift + click to select a range
64a9c1c
add condition to check enrollment and product dates (#2068)
jacobkagon Sep 8, 2022
7c130ae
check existing coverage for plan selection (#2077)
RyanEddyIC Sep 8, 2022
f75c48e
update employer export rake to include osse info (#2078)
Battula Sep 9, 2022
a727882
identify standard plans in bqt (#2080)
jacobkagon Sep 9, 2022
c4f9d36
setting required attributes on evidence states on changing verificati…
harshaellanki Sep 9, 2022
026749f
sorting by enrollment subscriber (#2075)
vkghub Sep 9, 2022
2f048a7
fix premium display issue for OSSE (#2085)
Battula Sep 9, 2022
2e15ce8
terminate osse eligibility when employment is terminated (#2089)
Battula Sep 10, 2022
006e895
update aca_entities gem reference to pull CE terminated event (#2090)
Battula Sep 11, 2022
745e918
pull correct broker information status from family (#2067)
saipraveen18 Sep 12, 2022
f75c423
Add env settings for TARO (#2024)
jayreddy519 Sep 12, 2022
26e37ac
change program assistance text (#2092)
jacobkagon Sep 12, 2022
4c570f5
add standard plan display to reference plan (#2093)
jacobkagon Sep 13, 2022
6fbfdd4
fix mock plan rake to create dummy plans (#2073)
Battula Sep 13, 2022
1840e67
fix issue with error message while EE plan shopping (#2097)
Battula Sep 14, 2022
032d99a
Update provider directory link logic (#2096)
j1joey Sep 14, 2022
536e3f4
script to generate list of all 2022 latest determined applications (#…
saikumar9 Sep 14, 2022
922382f
Migration to update all active 2022 determinations with yearly_expect…
saikumar9 Sep 14, 2022
4a0d146
Transfer History page fixes (#2095)
scaustin34 Sep 15, 2022
69540cf
Application Page Gap Fixes (#2081)
scaustin34 Sep 15, 2022
cf3fb4a
enhance ivl plan shopping display to include osse subsidy (#2099)
jacobkagon Sep 15, 2022
341119f
transfer history n/a for outbound transfer_ids (#2103)
scaustin34 Sep 15, 2022
d68cbab
Incorrect Text in left nav for DC (#2106)
scaustin34 Sep 15, 2022
f3aafe0
tag flaky cucumber
markgoho Sep 16, 2022
e229c12
add osse ivl_feature_flag (#2107)
jacobkagon Sep 16, 2022
0e8802c
coverage start date recalculation on enrollment member after subscrib…
RyanEddyIC Sep 16, 2022
2f586ae
pull LCSP based on py start date (#2105)
Battula Sep 16, 2022
e75c744
fix OSSE issue for off cycle groups (#2110)
Battula Sep 16, 2022
ceae2b8
Include PersonHbxId in the o/p CSV, include FamilyId for BenchmarkPro…
saikumar9 Sep 17, 2022
737168d
create grants after successful enrollment purchase (#2101)
Battula Sep 18, 2022
83d1a0b
Fix for childcare form undefined method error (#2115)
raghuramg Sep 19, 2022
09353a4
update aca entities gem reference (#2116)
Battula Sep 19, 2022
2415add
add fpl amount to daily faa report (#2117)
jacobkagon Sep 19, 2022
cb0770d
Added trigger for PVC process on enroll (#2059)
polographer Sep 19, 2022
60dad6a
Revert back broker updates to Enrollment report (#2119)
nks2109 Sep 19, 2022
d520fe9
model changes and operations to support multi tax household(#2032)
nisanthyaganti9 Sep 20, 2022
61038fb
remove deprecated input on code scanning action
markgoho Sep 20, 2022
2fd8d84
Pediatric Dental Premiums should only be calculated for Children (#2118)
saikumar9 Sep 20, 2022
308e451
Refs #99231 updated policy xml (#2079)
raghuramg Sep 21, 2022
20a2bfd
comment out flaky rspec
markgoho Sep 21, 2022
9fca45e
comment out another flaky test
markgoho Sep 21, 2022
06c0797
remove broken cucumber
markgoho Sep 21, 2022
eff9de4
include yearly_expected_contribution in MTHH data migration. (#2128)
saikumar9 Sep 22, 2022
043b37e
only show osse eligiblility for consumer roles (#2122)
jacobkagon Sep 22, 2022
9335b4a
fix OSSE subsidy issue for 2022 SHOP enrollments (#2129)
Battula Sep 22, 2022
a0f41a7
add dotenv gem to development and test gems (#2127)
markgoho Sep 22, 2022
d82ed53
fix issue with OSSE premium display (#2131)
Battula Sep 22, 2022
4ad9e31
Update family plan child rule (#2112)
j1joey Sep 22, 2022
4c76512
pass updated family to determination operations after creating tax_ho…
harshaellanki Sep 23, 2022
085e7cb
Choose coverage medicare eligibility warning (#2120)
scaustin34 Sep 23, 2022
b46ddc0
update ivl enrollment reporting (#2130)
jacobkagon Sep 23, 2022
b071f36
New logic to determine max aptc when MTHH is enabled (#2135)
nisanthyaganti9 Sep 23, 2022
6616cda
Adjust dr3&4 notice offset days for me (#2123)
scaustin34 Sep 23, 2022
401bc99
fixing coinciding_family_members (#2136)
nisanthyaganti9 Sep 23, 2022
ebc63c4
fixing benchmark premiums on dependent reenroll (#2138)
nisanthyaganti9 Sep 23, 2022
7c2d1ea
calling main app operation from faa engine (#2140)
harshaellanki Sep 23, 2022
ac33e8c
handling member creation when benchmark premium is nil (#2141)
nisanthyaganti9 Sep 23, 2022
da91069
fixes a bug that retrieves people not active on pvc process (#2134)
polographer Sep 23, 2022
1532bf9
import ehb_apportionment_for_pediatric_dental and update Pediatric De…
saikumar9 Sep 23, 2022
064efe0
added feature switch to check enrollment while triggering hub calls (…
harshaellanki Sep 23, 2022
b1e5a09
Fixed childcare subsidy form issues (#2124)
raghuramg Sep 23, 2022
3ac644a
update shop enrollment report (#2143)
jacobkagon Sep 23, 2022
48d5d31
fix osse premium display on roster (#2137)
Battula Sep 23, 2022
d822669
update inputs and placeholders in live chat widget (#2102)
markgoho Sep 24, 2022
f56b041
#99148 IVL osse premium calculations (#2142)
raghuramg Sep 24, 2022
b6194d6
de-couple UI feature flags from year based feature flags (#2146)
Battula Sep 24, 2022
2d2fe80
adding ability to exclude enrollments to find aptc (#2147)
nisanthyaganti9 Sep 25, 2022
c91bbf3
update default qnc value based on self attested eligible immigration …
harshaellanki Sep 25, 2022
f4efa2a
updating logic to call find aptc on reinstatement (#2149)
nisanthyaganti9 Sep 25, 2022
9740f7b
display hc4cc amount on next line (#2150)
Battula Sep 26, 2022
9e1f20d
osse ivl text change (#2152)
jacobkagon Sep 26, 2022
6dc0637
RR configuration to use default values for qnc and five_year_bar deta…
harshaellanki Sep 26, 2022
3f42e6d
Remove market type from enrollments (#2145)
scaustin34 Sep 26, 2022
e87eac3
renewing mthh enrollments (#2151)
nisanthyaganti9 Sep 27, 2022
bf436ec
Migrate APTC and CSR Grants for 2022 active determinations (#2155)
saikumar9 Sep 27, 2022
5d6036b
fix issue related to 2022 enrollees getting OSSE eligibility (#2158)
Battula Sep 27, 2022
bbde567
make fields optional on live chat form (#2160)
jacobkagon Sep 27, 2022
8aec606
notice timing change for me revert (#2161)
scaustin34 Sep 28, 2022
43bac5f
resolve osse technical debt (#2159)
jacobkagon Sep 28, 2022
b06143d
Refs #99421 Added resident role osse eligibility (#2156)
raghuramg Sep 28, 2022
83c73b8
bold osse text (#2163)
jacobkagon Sep 28, 2022
d2d1304
calculate ehb_premium at member level (#2165)
saikumar9 Sep 29, 2022
783a1b5
enable oe settings for ME (#2162)
saipraveen18 Sep 29, 2022
cff0933
Member aged 19 or above needs to be considered as an Adult for Pediat…
saikumar9 Sep 29, 2022
54d1866
fix coverage information view for IVL & SHOP (#2164)
Battula Sep 29, 2022
c65cb1f
allow osse indicator for coverall accounts (#2170)
jacobkagon Sep 29, 2022
33db2ba
uncheck by default if eligible for mdcr (#2169)
scaustin34 Sep 29, 2022
0518422
CSR variant plans not appearing correctly in plan shopping or on rede…
nisanthyaganti9 Sep 29, 2022
aedd83d
Fix premium display with subsidy for coverall on enrollment tile (#2171)
raghuramg Sep 29, 2022
c839d27
choose coverage no method error bug fix (#2172)
scaustin34 Sep 30, 2022
0a93d6d
fix ivl osse selector (#2173)
jacobkagon Sep 30, 2022
7d285cd
fetching right subjects by string match (#2175)
nisanthyaganti9 Sep 30, 2022
84a436a
extracting correct csr kind on creating enrollment on redetermination…
harshaellanki Oct 1, 2022
eb45409
update DC medicaid agency contact info and text (#2178)
mdkaraman Oct 3, 2022
2cfb4a2
pass elected aptc pct while reinstating (#2179)
nisanthyaganti9 Oct 3, 2022
8523394
hide plan compare tool for dental (#2174)
jacobkagon Oct 3, 2022
84a7f6d
Added helper to display childcare eligibility form for IVL market (#2…
raghuramg Oct 3, 2022
ed2c191
do not assign left over aptc to the next enrollment in tax household …
nisanthyaganti9 Oct 3, 2022
13532cf
fix childcare subsidy display in census employee view (#2181)
jacobkagon Oct 4, 2022
89048a6
fix osse indicator issue for 2022 (#2185)
Battula Oct 4, 2022
36575ef
updates BQT contribution settings for 2023 (#2183)
Battula Oct 4, 2022
ea59f90
set premium always to zero when enrollment is osse_eligible (#2186)
raghuramg Oct 4, 2022
2466867
match census employee display with plan confirmation page (#2190)
jacobkagon Oct 4, 2022
1d7d3e4
fixing translation text for DC submit cost application page (#2188)
erubinst Oct 4, 2022
b51a6de
remove duplicate text in eligibility results view (#2193)
harshaellanki Oct 5, 2022
c9a02d9
changing text style in maine to adhere to a11y accessibility (#2187)
erubinst Oct 5, 2022
5d13522
use setup-ruby gem caching instead of custom jobs
markgoho Oct 5, 2022
2d11b0e
use services in workflow rather than marketplace actions
markgoho Oct 6, 2022
f61aba8
update bundler in devcontainer
markgoho Oct 6, 2022
460bd97
update lockfiles with latest version of bundler
markgoho Oct 6, 2022
7ed793b
update rspec split config
markgoho Oct 6, 2022
aa3f501
add missing specs to rspec config
markgoho Oct 6, 2022
b550394
update test_boosters pattern
markgoho Oct 6, 2022
c12655d
skip flaky test
markgoho Oct 6, 2022
64d7d61
formatting change on enrollment details page (#2192)
jacobkagon Oct 6, 2022
b9d4025
update ivl benefit package rake to accept current year (#2177)
utkarsh7989 Oct 6, 2022
c3cf6f2
rename taro health logo (#2197)
jacobkagon Oct 6, 2022
ae79b1b
update cv3 family to include tax household groups (#2195)
harshaellanki Oct 6, 2022
4841eae
fix for negative premium display (#2191)
raghuramg Oct 6, 2022
fd5019e
publishing events from enrollment sep query (#2196)
harshaellanki Oct 6, 2022
4b777fc
choose coverage warning fix (#2189)
scaustin34 Oct 6, 2022
72fbd0c
re-added notice timing changes for me (#2198)
scaustin34 Oct 6, 2022
3c5b009
#183470373 fetching silver products by csr, applying aptc (#2203)
nisanthyaganti9 Oct 6, 2022
1e60416
require CLIENT variable to run rails (#2200)
markgoho Oct 6, 2022
de099bf
fix osse indicator for SHOP (#2202)
Battula Oct 7, 2022
c88b0a5
notice timing change revert (#2205)
scaustin34 Oct 7, 2022
35cec89
skip flaky tests
markgoho Oct 7, 2022
9af8dc1
disable flaky cucumber
markgoho Oct 7, 2022
0ff41b1
Correct shop premium output provided to glue for OSSE. (#2206)
TreyE Oct 7, 2022
965d68f
converting money to hash to match with contracts (#2207)
harshaellanki Oct 7, 2022
b4510e2
Revert "Correct shop premium output provided to glue for OSSE. (#2206)"
TreyE Oct 7, 2022
0039eb7
Correct shop premium output provided to glue for OSSE. (#2211)
TreyE Oct 7, 2022
c8f6528
updated resource registry configuration for lowest cost silver plan 2…
raghuramg Oct 8, 2022
4d5f05f
redirect to edit page after RIDP if most recent application is draft …
mdkaraman Oct 8, 2022
eed63e7
term EE eligibility when ER is marked NO for OSSE eligibility (#2209)
Battula Oct 8, 2022
e7e37af
operations to find and publish to seed irs groups (#2214)
harshaellanki Oct 9, 2022
495ead4
disable flaky cucumber
markgoho Oct 10, 2022
4eb8dd8
dental premium issue for 3 plus child rule (#2208)
Battula Oct 10, 2022
a3bb375
Use monad value to publish an event (#2218)
saipraveen18 Oct 10, 2022
891947a
update enrollment detail permissions (#2199)
jacobkagon Oct 10, 2022
a10b325
add script to trigger OEG and OEQ notices (#2220)
kristinmerbach Oct 10, 2022
8f7ea6e
use translation placeholder text, add check for placeholder text to r…
kristinmerbach Oct 10, 2022
e3bd46b
fetch cost from slcsp info for each member (#2221)
harshaellanki Oct 10, 2022
ae1287e
add application assistance year form (#2215)
kristinmerbach Oct 10, 2022
4065631
update cucumber split config
markgoho Oct 11, 2022
4f50f75
update rspec split config (#2223)
markgoho Oct 11, 2022
9603ebc
eoy income report (#2219)
kristinmerbach Oct 11, 2022
de19d57
Calculate Dynamic SLCSP business logic and integration (#2194)
saikumar9 Oct 11, 2022
2ac6f4b
Refs #100354 Calculate sponsor costs (#2216)
raghuramg Oct 11, 2022
e465d40
update cucumber split config (#2225)
markgoho Oct 12, 2022
dddea2b
new rake that updates the user notifications from text to text and pa…
polographer Oct 12, 2022
5f137d1
make topic field required for live chat widget (#2226)
jacobkagon Oct 12, 2022
6febe18
auto-trigger ENR notice for renewals (#2213)
Battula Oct 12, 2022
a5df693
cap osse subsidy amount (#2228)
jacobkagon Oct 12, 2022
79fe3f0
Update file path (#2232)
vkghub Oct 12, 2022
0816bdb
text preference validation (#2227)
scaustin34 Oct 12, 2022
66d71b7
MTHH fix enrollment generation issue with renewals (#2230)
nisanthyaganti9 Oct 12, 2022
0798abd
add affordability question for esi (#2231)
kristinmerbach Oct 13, 2022
3cbef8f
conditinally rendering laguage on eligibility results page (#2233)
nisanthyaganti9 Oct 13, 2022
55235ad
support for create eligibility tool (#2234)
nisanthyaganti9 Oct 13, 2022
5f513dc
Fix crash on SHOP OSSE generation. (#2237)
TreyE Oct 13, 2022
4df8683
change the default value of the is_your_health_coverage_ending to no …
kristinmerbach Oct 13, 2022
3c089f1
fetch active tax_household group on plan shopping (#2235)
harshaellanki Oct 13, 2022
bf80c95
fix identify slcsapd if more than 3 children in a household (#2239)
harshaellanki Oct 13, 2022
5b13391
replace hard-coded color values with css custom properties (#2240)
markgoho Oct 13, 2022
7e99fd7
use client variable for translations seed (#2241)
markgoho Oct 13, 2022
72603c2
tag flaky cucumber
markgoho Oct 13, 2022
4f79322
update sep text in ME client (#2238)
mdkaraman Oct 13, 2022
85fcc1a
Merge branch 'trunk' of https://github.com/ideacrew/enroll into trunk
markgoho Oct 13, 2022
bf65a96
tag flaky cucumber
markgoho Oct 14, 2022
46f100a
change set-output in build image workflow (#2236)
markgoho Oct 14, 2022
a380d27
Enhance and Support IAP Application renewals 2023 (#2166)
vkghub Oct 14, 2022
78d9dbd
variable name fix in identify slcsp operation (#2242)
harshaellanki Oct 14, 2022
e3190a0
Refs#100406 osse subsidy can not exceed premium (#2243)
raghuramg Oct 14, 2022
9b90959
applying ehb premium while auto updating enrollment (#2245)
nisanthyaganti9 Oct 14, 2022
4127d72
applying rounding at grant level (#2246)
nisanthyaganti9 Oct 14, 2022
d8e6f34
new esi question ux adjustments (#2251)
kristinmerbach Oct 14, 2022
420fc93
move continue text after return button on per thh er (#2252)
kristinmerbach Oct 14, 2022
5566b2a
restrict the ability to copy prospective year applications until the …
saikumar9 Oct 14, 2022
1e2899f
slcsapd logic to calculate 4 or above children (#2254)
harshaellanki Oct 14, 2022
05d93a0
Copy renewal applications in applicants_update_required and income_ve…
saikumar9 Oct 15, 2022
0a1dcdb
Update logic to use OE dates from benefit coverage periods (#2249)
Battula Oct 15, 2022
90432ae
add dependent filing thresholds to RR (#2229)
Battula Oct 15, 2022
0f1f785
Update Query to fetch IVL Active Enrollments (#2248)
vkghub Oct 15, 2022
59cd6bd
Increase Response Wait Time (#2256)
vkghub Oct 15, 2022
d4fbfe6
revert translation update for ME client (#2257)
mdkaraman Oct 15, 2022
aed2637
pre-OE application page text update (#2255)
kristinmerbach Oct 15, 2022
0f201ed
block atp for renewal applications if flag set (#2222)
kristinmerbach Oct 15, 2022
c1bb9f9
asynchronous services calls configuration for renewal applications (#…
harshaellanki Oct 17, 2022
2b19d71
Persist Benchmark Product with application hbx_id from original param…
harshaellanki Oct 17, 2022
d826f5d
take difference of total premium after subsidy and sponsor contributi…
jacobkagon Oct 17, 2022
b2ba5e4
access to coverage display copy changes (#2260)
kristinmerbach Oct 17, 2022
1fe15f8
fixes an issue on the household coverage where errors were showing ht…
polographer Oct 17, 2022
fbc2f54
update aca entities gem reference (#2264)
Battula Oct 17, 2022
d9436d2
tag flaky cucumber
markgoho Oct 17, 2022
623af1b
disable flaky cucumber
markgoho Oct 18, 2022
28740c9
updating total ehb premium to consider only eligible members (#2262)
nisanthyaganti9 Oct 18, 2022
d29b278
add renewal changes to index with filter page in addition (#2267)
kristinmerbach Oct 18, 2022
f639f6e
apply min of ehb premium or max aptc while renewing (#2268)
nisanthyaganti9 Oct 18, 2022
02d698b
plan tile update feature flag (#2266)
mdkaraman Oct 18, 2022
b5cc69b
add required fields for create eligibility (#2270)
nisanthyaganti9 Oct 18, 2022
ca2296e
enable strict security via env variable
matt--williams Oct 19, 2022
6dcd6dc
make security settings more granular
matt--williams Oct 19, 2022
09605b9
create evidences only if blank on any application determination (#2272)
harshaellanki Oct 20, 2022
181d05e
use latest version of rubygems on pr check job
markgoho Oct 20, 2022
0be47a6
adjust transfer rake to allow prospective years (#2275)
kristinmerbach Oct 20, 2022
a14cfb9
update domestic partner rating (#2274)
j1joey Oct 20, 2022
544ad10
keep existing plan workflow should calculate osse subsidy (#2273)
raghuramg Oct 20, 2022
fcb8f27
rake task to trigger rrv and create rrv histories (#2277)
harshaellanki Oct 20, 2022
3700c4b
change sep; 'health coverage ending' text and logic (#2276)
polographer Oct 20, 2022
b362720
publish rrv events asynchronously (#2280)
harshaellanki Oct 21, 2022
8ebdf90
remove unnecessary feature flag check in JS (#2279)
polographer Oct 21, 2022
f5d91e9
Correct Outstanding Verifications View (#2271)
j1joey Oct 21, 2022
722917a
add enrollment history page (#2263)
mdkaraman Oct 21, 2022
ee3fbbc
health_plan_meets_mvs_and_affordable_question should only be displaye…
saikumar9 Oct 21, 2022
647189d
Radio button should not be editable for Esi Benefit Views (#2285)
saikumar9 Oct 21, 2022
35d883d
set FAA effective date based on its assistance year (#2284)
kristinmerbach Oct 21, 2022
e40433a
update employer costs for benefits display to consider highest cost p…
raghuramg Oct 24, 2022
d7a8e15
redirect to draft application when user is admin (#2286)
mdkaraman Oct 24, 2022
c5306af
add check for consumer role for faa popup (#2289)
jacobkagon Oct 24, 2022
ca231f8
fix helper to get latest mdcr determination (#2288)
polographer Oct 24, 2022
2400c4d
fix paramter, send year instead of the whole date (#2293)
polographer Oct 25, 2022
aa8a2de
fix to add missing parameters on the view (#2294)
polographer Oct 25, 2022
e57b8db
change sorting of mdcr possible determinations (#2295)
polographer Oct 25, 2022
0a3a72b
reference correct variable in enrollment partial call (#2296)
mdkaraman Oct 25, 2022
3960cb0
change order from newer to older (#2297)
polographer Oct 25, 2022
fe6db33
do not create active 2022 THHGs if the family already has one (#2287)
saikumar9 Oct 26, 2022
6f75edc
fix reports as per mthh updates (#2291)
nisanthyaganti9 Oct 26, 2022
5dda967
expose redis service locally when using docker
markgoho Oct 26, 2022
e69be8a
add address verification feature flag
markgoho Oct 26, 2022
4539fcb
add supporting javascript for address validation
markgoho Oct 26, 2022
b60c035
ATP transfer rake use current year rather than flag (#2299)
kristinmerbach Oct 26, 2022
6f661f1
display view all enrollments checkbox if at least one enrollment is p…
mdkaraman Oct 26, 2022
117eb31
check consumer birthdate is not after effective date (#2301)
jacobkagon Oct 27, 2022
7850c10
setting field tag of number type in create eligibility tool (#2292)
nisanthyaganti9 Oct 27, 2022
e70924b
update oe date range for DC and ME (#2303)
jacobkagon Oct 27, 2022
773f3b3
include esi details in full and review application pages (#2302)
kristinmerbach Oct 27, 2022
6bc4300
add uqhp column to unassisted report (#2305)
jacobkagon Oct 27, 2022
2fe38cb
Fix disenroll admin tool in mthh context (#2306)
nisanthyaganti9 Oct 28, 2022
54ed3c5
update hyperlink on multi-application page (#2308)
jacobkagon Oct 28, 2022
380a3ff
fix issue with individual csr update (#2307)
Battula Oct 28, 2022
8abc9d8
skip eligibility values for dental enrollment (#2290)
vkghub Oct 28, 2022
35d6316
correct maincare eligibility text (#2311)
polographer Oct 28, 2022
1cb61da
checking for tax household group presence (#2315)
nisanthyaganti9 Oct 29, 2022
e8420b0
default empty ethnicity transfers to an empty array (#2310)
kristinmerbach Oct 29, 2022
1b5e863
Revert "updating total ehb premium to consider only eligible members …
kristinmerbach Oct 30, 2022
8c15847
setting ehb_premium on enrollment for retro enrollments (#2318)
nisanthyaganti9 Oct 30, 2022
5b9f789
fix CSR finding for AI/AN members (#2320)
saikumar9 Oct 31, 2022
692c31b
183482675 Fixed continuous coverage premium display for plan shopping
raghuramg Oct 31, 2022
aee56fd
Added specs
raghuramg Oct 31, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
10 changes: 10 additions & 0 deletions .bash_history
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

history | grep dcr
rails c
bundle install
rspec spec/models/eligibilities/eligible_spec.rb
rspec spec/models/eligibilities/eligible_spec.rb
clear
rspec spec/models/eligibilities/eligible_spec.rb
clear
rspec spec/models/eligibilities/eligible_spec.rb
19 changes: 19 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# [Choice] Ruby version (use -bullseye variants on local arm64/Apple Silicon): 3, 3.1, 3.0, 2, 2.7, 2.6, 3-bullseye, 3.1-bullseye, 3.0-bullseye, 2-bullseye, 2.7-bullseye, 2.6-bullseye, 3-buster, 3.1-buster, 3.0-buster, 2-buster, 2.7-buster, 2.6-buster
ARG VARIANT=2-bullseye
FROM mcr.microsoft.com/vscode/devcontainers/ruby:0-${VARIANT}

# [Choice] Node.js version: none, lts/*, 16, 14, 12, 10
ARG NODE_VERSION="none"
RUN if [ "${NODE_VERSION}" != "none" ]; then su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi

# [Optional] Uncomment this section to install additional OS packages.
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& apt-get -y install --no-install-recommends libsodium23

# [Optional] Uncomment this line to install additional gems.
RUN gem install bundler -v 2.3.23

RUN gem update --system

# [Optional] Uncomment this line to install global node packages.
# RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && npm install -g <your-package-here>" 2>&1
43 changes: 43 additions & 0 deletions .devcontainer/base.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# [Choice] Ruby version (use -bullseye variants on local arm64/Apple Silicon): 3, 3.1, 3.0, 2, 2.7, 2.6, 3-bullseye, 3.1-bullseye, 3.0-bullseye, 2-bullseye, 2.7-bullseye, 2.6-bullseye, 3-buster, 3.1-buster, 3.0-buster, 2-buster, 2.7-buster, 2.6-buster
ARG VARIANT=2-bullseye
FROM ruby:${VARIANT}

# Copy library scripts to execute
COPY library-scripts/*.sh library-scripts/*.env /tmp/library-scripts/

# [Option] Install zsh
ARG INSTALL_ZSH="true"
# [Option] Upgrade OS packages to their latest versions
ARG UPGRADE_PACKAGES="true"
# Install needed packages and setup non-root user. Use a separate RUN statement to add your own dependencies.
ARG USERNAME=vscode
ARG USER_UID=1000
ARG USER_GID=$USER_UID
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
# Remove imagemagick due to https://security-tracker.debian.org/tracker/CVE-2019-10131
&& apt-get purge -y imagemagick imagemagick-6-common \
# Install common packages, non-root user, rvm, core build tools
&& bash /tmp/library-scripts/common-debian.sh "${INSTALL_ZSH}" "${USERNAME}" "${USER_UID}" "${USER_GID}" "${UPGRADE_PACKAGES}" "true" "true" \
&& bash /tmp/library-scripts/ruby-debian.sh "none" "${USERNAME}" "true" "true" \
&& apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/*

# [Choice] Node.js version: none, lts/*, 16, 14, 12, 10
ARG NODE_VERSION="none"
ENV NVM_DIR=/usr/local/share/nvm
ENV NVM_SYMLINK_CURRENT=true \
PATH=${NVM_DIR}/current/bin:${PATH}
RUN bash /tmp/library-scripts/node-debian.sh "${NVM_DIR}" "${NODE_VERSION}" "${USERNAME}" \
&& apt-get clean -y && rm -rf /var/lib/apt/lists/*

# Remove library scripts for final image
RUN rm -rf /tmp/library-scripts

# [Optional] Uncomment this section to install additional OS packages.
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
# && apt-get -y install --no-install-recommends <your-package-list-here>

# [Optional] Uncomment this line to install additional gems.
# RUN gem install <your-gem-names-here>

# [Optional] Uncomment this line to install global node packages.
# RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && npm install -g <your-package-here>" 2>&1
53 changes: 53 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.224.3/containers/ruby
{
"name": "Ruby",
"build": {
"dockerfile": "Dockerfile",
"args": {
// Update 'VARIANT' to pick a Ruby version: 3, 3.1, 3.0, 2, 2.7, 2.6
// Append -bullseye or -buster to pin to an OS version.
// Use -bullseye variants on local on arm64/Apple Silicon.
"VARIANT": "2.5",
// Options
"NODE_VERSION": "14"
}
},

// Set *default* container specific settings.json values on container create.
"settings": {},

// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"rebornix.Ruby",
"ms-azuretools.vscode-docker",
"mongodb.mongodb-vscode",
"streetsidesoftware.code-spell-checker",
"alexkrechik.cucumberautocomplete",
"EditorConfig.EditorConfig",
"esbenp.prettier-vscode",
"eamodio.gitlens",
"ninoseki.vscode-gem-lens"
],

// "postCreateCommand": "chmod +x ./.devcontainer/postCreateCommand.sh",

"features": {
"docker-in-docker": "latest",
"docker-from-docker": "latest"
},

"containerEnv": {
"SECRET_KEY_BASE": "c8d2b9b204fbac78081a88a2c29b28cfeb82e6ccd3664b3948b813463b5917b315dbbd3040e8dffcb5b68df427099db0ce03e59e2432dfe5d272923b00755b82",
"CLIENT": "dc"
}

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "ruby --version",

// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
// "remoteUser": "vscode"
}
2 changes: 2 additions & 0 deletions .devcontainer/postCreateCommand.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bundle install
yarn install
49 changes: 49 additions & 0 deletions .docker/base/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
########################
### app/rails config ###
########################

FROM ruby:2.5.1 AS app

LABEL author="IdeaCrew"

ARG NODE_MAJOR

RUN apt-get update && \
apt-get -yq dist-upgrade && \
apt-get install -y git gcc openssl libyaml-dev libyaml-cpp-dev libyaml-cpp0.5v5 libffi-dev libffi6 libreadline-dev libsodium-dev \
zlibc libgdbm-dev libncurses-dev autoconf fontconfig unzip zip sshpass bzip2 libxrender1 libxext6 \
build-essential ca-certificates && \
apt-get autoremove -y

# NodeJS download/config
RUN curl -sL https://deb.nodesource.com/setup_$NODE_MAJOR.x | bash -x -
RUN apt-get install nodejs -y
RUN npm install --global yarn

# Configure bundler and PATH, install bundler version
ENV LANG=C.UTF-8 \
GEM_HOME=/bundle \
BUNDLE_JOBS=4 \
BUNDLE_RETRY=3
ENV BUNDLE_PATH $GEM_HOME
ENV BUNDLE_APP_CONFIG=$BUNDLE_PATH \
BUNDLE_BIN=$BUNDLE_PATH/bin
ENV PATH $BUNDLE_BIN:$GEM_HOME/gems/bin:$PATH

ARG BUNDLER_VERSION_OVERRIDE
ENV BUNDLER_VERSION=$BUNDLER_VERSION_OVERRIDE
RUN gem update --system && gem install bundler:$BUNDLER_VERSION

# Configure app home directory
ENV HOME /enroll
RUN mkdir -p $HOME
WORKDIR $HOME
COPY . $HOME

RUN yarn install

# Adding gems
COPY Gemfile Gemfile
COPY Gemfile.lock Gemfile.lock

RUN bundle install --jobs 20 --retry 5 --without development test
5 changes: 5 additions & 0 deletions .docker/base_build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
docker build --build-arg BUNDLER_VERSION_OVERRIDE='2.0.1' \
--build-arg NODE_MAJOR='12' \
--build-arg YARN_VERSION='1.22.4' \
-f .docker/base/Dockerfile --target app -t $1:base .
docker push $1:base
31 changes: 31 additions & 0 deletions .docker/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
if nc -z localhost 15672 &> /dev/null; then
echo "RabbitMQ is running."
else
echo "RabbitMQ is not running. Please start this service to continue."
exit 1
fi

if nc -z localhost 27017 &> /dev/null; then
echo "MongoDB is running."
else
echo "MongDB is not running. Please start this service to continue."
exit 1
fi

# Get reference to sha for image tag
SHORT_SHA=$(git rev-parse HEAD | head -c7)

BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)

# Put HEAD commit into docker image for reference later
git show --quiet HEAD > release.txt

REPO=public.ecr.aws/ideacrew/enroll
TAG=${BRANCH_NAME}-${SHORT_SHA}
CLIENT=me

echo "Building image ${REPO}:${TAG}-${CLIENT}"

docker build --build-arg CLIENT=${CLIENT} -f .docker/production/Dockerfile.gha -t ${REPO}:${TAG}-${CLIENT} --network=host .

echo "Image built. Push to ECR with docker push ${REPO}:${TAG}-${CLIENT}"
7 changes: 7 additions & 0 deletions .docker/check-encryption.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
if echo 'input = {value: "Hello world"}; AcaEntities::Operations::Encryption::Encrypt.new.call(input)' | bundle exec rails c | grep -q 'Success("'; then
echo "Encryption works"
exit 0
else
echo "Encryption does not work"
exit 1
fi
Loading