Commit graph

118 commits

Author SHA1 Message Date
Rachid Mrad
f4f89ef705
linting 2023-09-19 14:38:21 -04:00
Rachid Mrad
01bcde2586
lint 2023-09-19 14:33:57 -04:00
Rachid Mrad
03e7e9d67d
use public_sire_url helper in application_wizard error alert 2023-09-19 14:17:17 -04:00
Rebecca Hsieh
6965d593f5
Compressing Nicolle and Alysia migrations with mine to be the one migration that rules them all 2023-09-13 15:28:01 -07:00
Rebecca H
9622c58c52
Revert "446 - Change Type Of Work to About Your Organization" 2023-09-13 14:58:50 -07:00
Rebecca Hsieh
7c1520a0c2
Fix reformatting issues 2023-09-12 17:10:32 -07:00
Rebecca Hsieh
2f6799c62b
Remove comment and update error message wording 2023-09-12 16:58:24 -07:00
Rebecca Hsieh
84ea4920a0
Fix reformatting 2023-09-07 09:46:32 -07:00
Rebecca Hsieh
34a2f39fdf
Fix linting and tets 2023-09-06 16:40:57 -07:00
Rebecca Hsieh
696941aba7
Model update and migration and subsequent variable and wording changes 2023-09-06 15:58:57 -07:00
Rebecca Hsieh
370480572e
Fix double star required bug 2023-09-06 09:28:19 -07:00
Rebecca Hsieh
a4adb5ed46
Changes but with comments this time 2023-09-04 12:07:57 -07:00
Rebecca Hsieh
28a80ace36
Reverting back to step 1 where we are just changing the information within the form 2023-09-04 11:34:46 -07:00
igorkorenfeld
5d504de2de
Update field for alternate domains 2023-06-15 14:07:47 -04:00
Seamus Johnston
7a3e1bcb2c
Create a DraftDomain model for requested domains 2023-05-26 08:15:25 -05:00
rachidatecs
5450ac97a5
Add a missing ., add unit tests for char limits 2023-05-11 11:08:24 -04:00
rachidatecs
4da408cf68
Fix formating issue 2023-05-09 15:12:18 -04:00
rachidatecs
d8df2877f4
Fix validation on character count, increase charater count to 1000 on textareas, increase textarea height on desktop 2023-05-09 13:15:09 -04:00
Michelle Rago
789ac91eeb
Mr/request form edits (#465)
* Update "current website" text

* Update tribal gov text about needing more info

* Add more context about current domains being used

* RM text saying we'll email other contacts about the request

* RM reference to emailing other contacts

* Fix linter and test failures

* Updated wait time to 20 business days

---------

Co-authored-by: Seamus Johnston <seamus.johnston@gsa.gov>
2023-03-17 13:03:37 -04:00
Michelle Rago
3cd3869c93
Mr/text updates (#444)
* Updated error message text

* Updated field labels, intro text

* Tidy up thank you page

* Removed reference to managing a domain

* Update test language to match form language

* Fix linting error (hopefully)

* Fix linting and tests

---------

Co-authored-by: Neil Martinsen-Burrell <neil.martinsen-burrell@gsa.gov>
2023-03-08 12:09:13 -05:00
Michelle Rago
a8115a5778
Mr/legal (#439)
* Update application_wizard.py

* Newer, slimmer version of legal content

* Update form section labels

* Updated text for request for info from tribal govs

* Added text to clarify that managing elections should be primary purpose of office

* Added question about audience to align with new requirements

* Fix link in error message, tests and linting

---------

Co-authored-by: Neil Martinsen-Burrell <neil.martinsen-burrell@gsa.gov>
2023-02-28 12:37:01 -05:00
Jon Roberts
e213c7388b
Merge branch 'main' into jon/425 2023-02-27 13:24:06 -07:00
Seamus Johnston
36b8fe99ef
Fix line length 2023-02-27 13:18:22 -06:00
Jon Roberts
ecaa870005
Cleaning up a little more 2023-02-27 10:54:36 -07:00
Jon Roberts
1441044415
Process of removal security email from the codes 2023-02-27 10:12:30 -07:00
Michelle Rago
f6deb85e39
Update application_wizard.py 2023-02-23 13:06:03 -05:00
Seamus Johnston
ab34629a7b
Place no other contacts reason box on own page 2023-02-22 10:24:02 -06:00
Michelle Rago
5b069e60d3
Mr/form updates (#409)
* Text updates

* Text updates

* Text updates
2023-02-14 14:14:50 -05:00
Seamus Johnston
ffedcac439
Update key personnel language 2023-02-06 16:03:40 -06:00
Seamus Johnston
b3784776d7
Respond to PR feedback 2023-02-03 15:39:32 -06:00
Seamus Johnston
456cab6cee
Enable domain availability checker 2023-02-03 14:22:01 -06:00
Seamus Johnston
0e3f68622f
Bypass Django internal form rendering
The purpose of this change is to allow direct use of Django templates
to make edits to how form fields and labels are rendered, while
retaining the validation logic provided by Django's extensive field and
widget library.

This commit additional contains:
 - Remove `REQUIRED_SUFFIX`, as it is handled by the templates now
 - Remove `required=True` from form fields, as this is the default
 - Remove `required=False` from fields where it was added as workaround
   for conditionally required questions which Django form wizard
   couldn't handle
 - Replace `clean_is_policy_acknowledged` with `error_messages` dict
 - Remove duplicate nil entry for Federal Agency dropdown
 - Update `DOMAIN_REGEX` to match whole string
 - Subtle changes to `is_valid` and `get_forms` in ApplicationWizard to
   reduce database calls and use form object's initial data correctly
2023-02-02 15:06:23 -06:00
Neil Martinsen-Burrell
d4ac5d92f1
Add form test and fix linting/test merge errors 2023-01-30 14:54:09 -06:00
Neil Martinsen-Burrell
b36dbf8ec1
Revert "Unrecognized tribal government more explanation"
This reverts commit 2cd53dc4c8.
2023-01-30 11:20:59 -06:00
Neil Martinsen-Burrell
c5ada0437f
Merge branch 'main' into nmb/tribal-question 2023-01-25 11:45:49 -06:00
Neil Martinsen-Burrell
2cd53dc4c8
Unrecognized tribal government more explanation 2023-01-24 13:24:06 -06:00
Seamus Johnston
0f87d9ea9a
Respond to PR feedback 2023-01-24 10:09:36 -06:00
Seamus Johnston
f6c70f88a9
Add more code comments
Co-authored-by: Neil MartinsenBurrell <neil.martinsen-burrell@gsa.gov>
2023-01-24 10:03:42 -06:00
Seamus Johnston
f54276d82b
Implement dynamic questions with formsets 2023-01-24 10:03:39 -06:00
Neil Martinsen-Burrell
2c66b3728e
Tribal government question, still needs follow-up 'more information' page 2023-01-23 15:04:24 -06:00
Michelle Rago
76d2810a8a
Mr/error messages (#369)
* Make error messages match google doc.

* Update application_wizard.py

* Update application_wizard.py

* Update application_wizard.py

* Update application_wizard.py

* Update application_wizard.py

* Update application_wizard.py

* Update application_wizard.py

* Fix tests and re-format source code

* Update application_wizard.py

* Re-format code to make tests pass

Co-authored-by: Neil MartinsenBurrell <neil.martinsen-burrell@gsa.gov>
2023-01-20 15:03:45 -05:00
Neil Martinsen-Burrell
fc6bff611b
Review feedback: required questions 2023-01-12 10:28:55 -06:00
Neil Martinsen-Burrell
c0ae800d31
Fix linting errors 2023-01-10 15:09:55 -06:00
Neil Martinsen-Burrell
8b76490794
Add Type of Work section for special districts/interstate orgs 2023-01-10 14:52:24 -06:00
Neil Martinsen-Burrell
0a3c3ec9f5
Fix failing test 2023-01-10 09:08:55 -06:00
Neil Martinsen-Burrell
dc7c782050
Fix issues from merge 2023-01-09 14:03:00 -06:00
Neil Martinsen-Burrell
8d3991614e
Merge branch 'main' into nmb/field-validation 2023-01-09 13:19:24 -06:00
Neil Martinsen-Burrell
beb9a298d4
Review feedback: more required instructions 2023-01-06 13:32:26 -06:00
Seamus Johnston
607f181819
Respond to PR feedback 2023-01-06 11:45:29 -06:00
Neil Martinsen-Burrell
29d8f4b23d
Fix linting errors 2023-01-06 10:58:17 -06:00