19 Commits

Author SHA1 Message Date
dandds
43ea922218 Simplify environment role updates in app settings.
Use ApplicationRole.id instead of User.id in forms. This eliminates the
need for the function that checks whether a user is in a given
application, because looking up the application role will raise an error
if the user is not.
2019-05-24 13:35:00 -04:00
dandds
815632ed00 Handle setting no access for user environment roles:
- use constant for no access string
- update no access constant
- update language and permissions for rendering remove app member button
2019-05-17 14:00:45 -04:00
leigh-mil
4206aa8a59 Use member.role_name in template and JS
change name of data from roles to rolesCategory to make less confusing
2019-05-14 11:00:14 -04:00
leigh-mil
3a2e2aa878 Wip tests 2019-05-14 11:00:14 -04:00
George Drummond
736079cf18
Update js test snapshot 2019-03-13 13:45:27 -04:00
Patrick Smith
d3e6b7fbab Remove no longer used js components 2019-02-25 14:54:14 -05:00
George Drummond
a7aaec3cc2
Take leap years into account 2019-01-28 09:42:15 -05:00
George Drummond
454d7f10df
Add in VUE date picker component 2019-01-25 14:20:43 -05:00
George Drummond
619bc9fe59
Prettier format all js files 2019-01-24 09:38:43 -05:00
Patrick Smith
800fa94363 Handle sorting with unsubmitted requests 2018-11-29 12:19:16 -05:00
Patrick Smith
924b234d28 Merge branch 'master' into show-sort-indicators 2018-11-28 13:23:46 -05:00
Patrick Smith
30aa5f375b Clarify testing of sorting by number of envs 2018-11-28 11:46:54 -05:00
Patrick Smith
6195b4369e Add default sort by submission time to request listing 2018-11-27 16:41:22 -05:00
Patrick Smith
d6d417e8f9 Add default column sort on members list table 2018-11-27 16:02:56 -05:00
Patrick Smith
1feaa726d2 Add another test to ensure csrf token added correctly 2018-11-27 11:13:23 -05:00
Patrick Smith
178892c62e Use localVue to squash missing custom element error 2018-11-27 11:00:51 -05:00
Patrick Smith
fd6b0f9b24 Add vue component for confirmation popover
Have the confirmation popover in a separate Vue component fixes a bug in
IE that was causing the `form` element in the popover to be ignored.

Since `form`s cannot be nested, the `form` element in the popover was
being discarded by IE and the revoke/resend invitation buttons did
nothing.

Breaking the functionality into a Vue component moves the `form` into a
separate template. When the popover is displayed, the component is added
to the DOM at the end, so the `form` is properly not-nested.
2018-11-27 10:22:02 -05:00
Patrick Smith
d5270fa97d Add additional snapshot test 2018-11-20 10:02:17 -05:00
Patrick Smith
75155f5297 Add initial component test 2018-11-19 21:02:11 -05:00