836 Commits

Author SHA1 Message Date
Patrick Smith
880d40d5ec Use hidden input to track environment names
Since we're using ally.js for modals, when the modal is open, other
elements are disabled. Since the form is submitted when the "Create"
button is clicked and browsers do not submit disabled form fields, the
form was not submitting environment names when creating a project.

This workaround creates hidden inputs to track the environment names.
Since they're hidden, they are not disabled by ally.js, so the fields
are properly submitted.

This should be the only form affected, since this is the only form
submitted via a modal button.
2018-10-24 16:39:21 -04:00
leigh-mil
ae2c1f8918 Fix from merge conflict 2018-10-23 13:45:04 -04:00
leigh-mil
0dd9ab9684 Move Enviroment error message div to New Project form 2018-10-23 13:43:13 -04:00
leigh-mil
4bd42a7bc0 Remove v-on:submit attribute since form is no longer hooked into Vue 2018-10-23 13:43:13 -04:00
leigh-mil
86cf568e5b Formatting 2018-10-23 13:43:13 -04:00
leigh-mil
2455618268 Remove unused imports 2018-10-23 13:43:13 -04:00
leigh-mil
92fc5e6e76 Add in environment section to Edit Project Page 2018-10-23 13:43:13 -04:00
leigh-mil
c5bc10d8c3 Refactory Edit Project Form to simplify and use Edit Project fragment 2018-10-23 13:43:13 -04:00
leigh-mil
6de48837fa Refactor New Project Form to remove conditional logic and include fields relevant to new project 2018-10-23 13:43:13 -04:00
leigh-mil
8fe9c464bd Refactor Edit Project Form fragment to only include form fields that are shared in new and edit forms 2018-10-23 13:43:04 -04:00
leigh-mil
3040115162 Remove WIP alert 2018-10-23 13:41:20 -04:00
leigh-mil
b9a2d667f6 Only show environment fields in form when a new project is created 2018-10-23 13:41:20 -04:00
andrewdds
9fe7d877ba
Merge pull request #395 from dod-ccpo/dropdown-keyboard-access
Dropdown selector keyboard accessibility
2018-10-23 08:08:21 -04:00
Andrew Croce
29ec31d8d8 Add up-arrow key to open
Add escape key to revert
Remove automatic-closing behavior
2018-10-19 10:55:53 -04:00
Andrew Croce
8da22f5941 Use buttons rather than links for js-clickable elements
Add some missing attributes for correct behavior/accessibility
2018-10-18 10:00:38 -04:00
Andrew Croce
c531680b44 add ID to modal 2018-10-18 09:59:31 -04:00
andrewdds
c4fcd9540c
Merge pull request #389 from dod-ccpo/workspaces-dropdown
Workspaces dropdown
2018-10-17 16:17:05 -04:00
Andrew Croce
c4cc411953 Refactor selector component to allow keyboard accessibility 2018-10-17 15:58:05 -04:00
dandds
b6c5f89784
Merge pull request #384 from dod-ccpo/mailer
Mailer
2018-10-17 15:25:06 -04:00
dandds
b733884c30
Merge pull request #386 from dod-ccpo/edit-user-#160268937
Edit user #160268937
2018-10-17 15:04:15 -04:00
patricksmithdds
a05d226401
Merge pull request #391 from dod-ccpo/csrf-error
Redirect to login page when CSRF error occurs
2018-10-17 10:12:01 -04:00
Patrick Smith
c7d5015942 Redirect to login page when CSRF error occurs 2018-10-16 17:23:09 -04:00
Andrew Croce
3535af3af5 attempting to add keyboard accessibility to selector component 2018-10-16 17:16:10 -04:00
Montana
f9d910efd7 Fix new lines 2018-10-16 16:45:13 -04:00
dandds
d25ee2fe99 more explicit route name form user form action 2018-10-16 16:37:32 -04:00
dandds
f04f52c3d9 add error alert for validation errors on user edit page 2018-10-16 16:34:45 -04:00
Montana
a50c3d92f9 Style the modal description 2018-10-16 15:41:15 -04:00
Montana
77b88b0b3c Add a description to env roles modal 2018-10-16 14:44:38 -04:00
dandds
65bc05d214 display success alert when user updates profile info 2018-10-16 13:33:39 -04:00
Andrew Croce
20ff49c8dd Always show menu, show a message if there are no other workspaces 2018-10-16 11:59:00 -04:00
Andrew Croce
687f07525a Add menu to topbar, if theres more than one workspace 2018-10-16 11:39:32 -04:00
dandds
ab42245797 display DOD ID on user update page 2018-10-16 09:18:13 -04:00
dandds
f3c3332127 user can update profile 2018-10-16 09:18:13 -04:00
dandds
ec7504fb20 add update method to Users repo 2018-10-16 09:18:13 -04:00
dandds
e7a117be33 move user edit routes into their own module and blueprint 2018-10-16 09:18:13 -04:00
dandds
18bb5b24fd basic mailer implementation 2018-10-15 11:35:20 -04:00
richard-dds
76854acf81
Merge pull request #376 from dod-ccpo/auth-patterns
Standardize auth patterns
2018-10-09 11:06:22 -04:00
montana-mil
4e24666f16
Merge pull request #377 from dod-ccpo/email-not-unique
Handle AlreadyExistsError on user creation with non-unique email
2018-10-09 10:24:24 -04:00
Montana
f36446efac Add a default error message to the error template 2018-10-09 09:55:11 -04:00
richard-dds
ac2ecf5f64 Remove Authorization.can_view_audit_log as well 2018-10-08 12:05:15 -04:00
Montana
3c95063293 Handle AlreadyExistsError on user creation with non-unique email 2018-10-08 10:36:40 -04:00
andrewdds
1793c71bca
Merge pull request #371 from dod-ccpo/project-submit-enter
Handle new-project submission with Enter key
2018-10-05 08:05:21 -04:00
Andrew Croce
cb3947962c handleCancelSubmit method, which falsifies readyToSubmit 2018-10-04 14:11:22 -04:00
Andrew Croce
aba2eb28ed make modalName a component prop, rather than passing it into methods 2018-10-04 14:10:49 -04:00
patricksmithdds
becfe4817f
Merge pull request #373 from dod-ccpo/fin-ver-tabs-#160939324
Update template variable request to jedi_request for financial verifi…
2018-10-04 10:18:26 -04:00
Andrew Croce
456c5307c7 button type 2018-10-04 09:40:51 -04:00
Andrew Croce
b6b03e73bc handle submission by the form's on-submit 2018-10-04 09:36:21 -04:00
dandds
16c803a5cd Update template variable request to jedi_request for financial verification review menu (thanks to Leigh) 2018-10-03 14:33:36 -04:00
Andrew Croce
a0c302ef43 getting started help doc 2018-10-03 13:58:56 -04:00
Andrew Croce
46bcda32d5 jedi cloud help 2018-10-03 13:58:32 -04:00