baarkerlounger
3deb1d09c5
Add are-you-es5 checker and transpile remaining es5 node modules ( #399 )
3 years ago
Paul Robert Lloyd
cb82ff7552
Merge pull request #405 from communitiesuk/privacy-notice-link
...
Link to privacy policy page, not old PDF
3 years ago
Paul Robert Lloyd
9b51ad13b7
Link to privacy policy page, not old PDF
3 years ago
Dushan
994f45fb96
add vday, vmonth and vyear fields ( #403 )
3 years ago
Paul Robert Lloyd
a556b6190b
Don’t let Webpack mangle static resources ( #402 )
3 years ago
Paul Robert Lloyd
dd9b1b2357
Merge pull request #400 from communitiesuk/url-audit
...
URL audit
3 years ago
Paul Robert Lloyd
45f2577805
Update tests for user account routes
3 years ago
Paul Robert Lloyd
6621d08898
Update user account routes
3 years ago
Paul Robert Lloyd
b1074b8bd5
Merge pull request #401 from communitiesuk/security-code-label-size
...
Correct size for security code label
3 years ago
Paul Robert Lloyd
e3beb1b1c4
Correct size for security code label
3 years ago
Paul Robert Lloyd
da26cba8dd
Update URL slugs for 2021/22 questions
3 years ago
baarkerlounger
6f54c0c979
Switch to JSBundling with webpack ( #392 )
...
* Switch to JSBundling with webpack
* Set babel target attempt 1
* Fix loose babel warning
* Babel target attempt 2
* Babel target attempt 3
* Maybe we need to polyfill more than just promise...
* Fix promise undefined in IE11
* Target oldest browsers possible
* Set browserlist in package.json
* Development mode browserlist and update readme
* Mode flag
* Does setting es5 web target help?
* It doesn't
* Not using ActiveStorage
* Import all of corejs
* Destructuring including in present-env already
* Just import what we need
* Add polyfill for fetch
* Stimulus polyfills
* Remove unused duplicates
* We don't use channels
* Single babel config
* Stimulus working
* Add additional polyfills for Stimulus and Turbo
* Additional polyfill for Turbo
* Make sure we also transpile our own stimulus controller code
* Add plugin-transform-spread
* Defaults are fine for most babel plugins
* Plugin ordering
* Specify which bits exactly we want to transpile
* Transpiling turbo appears to break it
* Devise logout via get so we don't rely on js
* Override public path for IE11
* Need to make DOM event triggers explicit for IE11
* Update helper spec
* Update helper spec
* Bump dependencies
3 years ago
Dushan
719f43de2e
CLDC-656 housing needs derived variable ( #398 )
...
* add housing needs derived variable
* increase clarity
3 years ago
Jon Roobottom
ed6b26ef11
Merge pull request #395 from communitiesuk/CLDC-928-data-sharing-agreement
...
Add data sharing agreement
3 years ago
roobottom
8720467d35
Link to DSA from start page
3 years ago
roobottom
25c4815422
Adding the data sharing agreement
3 years ago
kosiakkatrina
c2c49924a3
Cldc 491 rent and charges validations (part 1) ( #388 )
...
* move age validation tests to shared validation spec
* Add brent/tshortfall validation
* update period mappings
* Add scharge validation
* update num of weeks from period mapping
* fix test
* change period mappings in test
* Add tests for floats
* change error message content
* add supported housing scharge validation
* add other landlord validations
* refactor
* refactor validation and tests
* Add supcharg validations and refactor
* add total charge calculations
* move constants
* Fix tests and add missing validation messages
3 years ago
Paul Robert Lloyd
956aad0998
Outlaw underscores in URLs ( #394 )
...
* Outlaw underscores in URLs
* Use named vars
Co-authored-by: baarkerlounger <db@slothlife.xyz>
3 years ago
Paul Robert Lloyd
61429870e4
Merge pull request #393 from communitiesuk/privacy-notice
...
Privacy notice
3 years ago
Paul Robert Lloyd
ef5e33bebf
Use govuk_link_to helper for helpdesk link
3 years ago
Paul Robert Lloyd
77fb80dc14
Add link to privacy notice in footer
3 years ago
Paul Robert Lloyd
e5f69dc1a6
Add privacy notice
3 years ago
Paul Robert Lloyd
afc60d627b
Merge pull request #390 from communitiesuk/content-helper
...
Add helper to render Markdown content pages
3 years ago
Dushan
8d861f4d20
CLDC-812 rent type validation ( #391 )
...
* intermediate_rent_product_name validation
* add wrapper method
* include in case log
* review changes
3 years ago
baarkerlounger
c4c0467274
Add a request spec
3 years ago
baarkerlounger
987158b7f4
Un-anger the cop
3 years ago
Paul Robert Lloyd
f5e3b16d58
Add helper to render Markdown content pages
3 years ago
Dushan
e56830cb9c
CLDC-815-long-term-vision-validation ( #387 )
...
* add validation for condition_effects
* fixes
* review changes
* lint fixes
* update wrapper method
3 years ago
baarkerlounger
bace6dd695
Fix conditional field clearing condition ( #389 )
3 years ago
baarkerlounger
b9a5ac80c3
Update london postcode validation error message
3 years ago
baarkerlounger
ea6122fe99
CLDC-663: Weekly total shortfall derived variable ( #385 )
...
* Update HB value mappings
* Derive Weekly shortfall value
* Reset weekly total shortfall when not applicable
3 years ago
baarkerlounger
02cb31947e
Compare as float ( #384 )
3 years ago
baarkerlounger
3b477f0a3e
Host env var used in environment config rather than manually constructing URL ( #381 )
3 years ago
kosiakkatrina
b6f7a0d232
Add more options to the validation ( #383 )
3 years ago
baarkerlounger
9be4178855
Derived rent and charges variables ( #379 )
...
* Derive weekly rent
* Derive weekly charge fields
* Change method to hash constant
* Unify calculation so we can remove case statement
3 years ago
kosiakkatrina
85051a6196
fix error wording ( #382 )
3 years ago
Kat
34f236549c
change error message
3 years ago
baarkerlounger
55da3b7112
Remove dead code ( #380 )
3 years ago
baarkerlounger
1b42ab0228
Bump webpack-cli
3 years ago
baarkerlounger
ca85d1cd9e
Bump ActiveAdmin
3 years ago
baarkerlounger
044dc3dfc3
Bump webpacker
3 years ago
baarkerlounger
1f92e5914b
Bump js dependencies
3 years ago
baarkerlounger
4742ece04e
Repo url in deploy stage
3 years ago
Stéphane Meny
092365397f
CLDC-996 Login lockout ( #377 )
3 years ago
baarkerlounger
15c55f9f50
Update production pipeline repo url
3 years ago
baarkerlounger
7d3a31d4cd
CLDC-902: London location validation ( #378 )
...
* Also add london borough error message to postcode field
* Rubocop
* Test timeout rescue
3 years ago
kosiakkatrina
ac8d41b4ba
Add reason and referral validations ( #376 )
...
* Add reason and referral validations
* extract method
3 years ago
Kat
48139ab68f
lint
3 years ago
kosiakkatrina
1cb5fd43b1
Add prevten validations ( #374 )
...
* Add prevten validations
* Fix indentation and extract a case_log method
* extract refuge method
3 years ago
baarkerlounger
9cc666e0f8
Sentry fixes ( #373 )
...
* Show validation error if user email already exists instead of crashing
* Use translation strings
* When answer option is mapped just display directly
* Validate provider type presence
3 years ago