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
leigh-mil
f226f88ab3
Merge pull request #452 from dod-ccpo/fix-phone-ext
...
Fix input field to limit to 10 digits
2018-11-26 15:39:37 -05:00
montana-mil
4db7102626
Merge pull request #446 from dod-ccpo/add-ws-role-changes-to-audit-log
...
Add ws role changes to audit log
2018-11-26 11:13:38 -05:00
leigh-mil
46855c9de0
Fix input field to limit to 10 digits
2018-11-21 15:31:25 -05:00
Montana
21827891f7
Fixups from rebase
2018-11-21 14:36:17 -05:00
Montana
7532dff978
Re-enable system log events
2018-11-21 14:28:41 -05:00
Montana
78f3495c3f
formatting
2018-11-21 14:25:23 -05:00
Montana
8cc9a21770
Fix audit event query
2018-11-21 14:25:23 -05:00
Montana
67a6fe4556
Make sure the WorkspaceRoleFactory is only flushing to the DB
2018-11-21 14:25:22 -05:00
Montana
3b2594283f
Use WorkspaceRoleFactory in tests
2018-11-21 14:24:54 -05:00
Montana
e73690986a
Set default workspace_role status
2018-11-21 14:24:54 -05:00
Montana
8b172ba3e2
wip for safety
2018-11-21 14:24:41 -05:00
Montana
c071945b3b
Spelling error and better name use
2018-11-21 14:23:37 -05:00
leigh-mil
49ed02ad04
wip - Add tests for status change
2018-11-21 14:23:37 -05:00
leigh-mil
f35d0add55
Minor fixes
2018-11-21 14:23:35 -05:00
Montana
b903336707
Add comment to mysterious function
2018-11-21 14:22:13 -05:00
leigh-mil
88eda7cd92
Update test assertion
2018-11-21 14:22:11 -05:00
Montana
3f6e13f33d
Refactor code duplication
2018-11-21 14:20:49 -05:00
Montana
e51de11a28
capture status and no history cases on workspace role model
2018-11-21 14:20:05 -05:00
leigh-mil
adad5adfa6
Update template and add migration
2018-11-21 14:20:05 -05:00
leigh-mil
82868728ba
Fix errors from last commit
2018-11-21 14:20:05 -05:00
Montana
3b6d745955
Add audit event attributes to workspace role model
2018-11-21 14:20:04 -05:00
leigh-mil
ae3113f011
Get previous role when workspace role updates
2018-11-21 14:20:04 -05:00
Montana
75dd25e2dc
Update AuditLog to handle workspace role update events
2018-11-21 14:20:04 -05:00
richard-dds
b9bb960152
Merge pull request #451 from dod-ccpo/jester
...
Run JS tests with Jest + vue-test-utils
2018-11-21 10:48:52 -05:00
Patrick Smith
476a95a3f4
Add notes on js testing to readme
2018-11-20 11:45:34 -05:00
richard-dds
b8abeeb1cf
Merge pull request #448 from dod-ccpo/save-form-state
...
Save user's form state for later when their session expires before submission
2018-11-20 11:34:24 -05:00
Patrick Smith
c3c675ceba
Run js test coverage on CI
2018-11-20 11:26:50 -05:00
Patrick Smith
9b60ac596f
Add yarn command to run tests in watch mode
2018-11-20 11:09:09 -05:00
Patrick Smith
d5270fa97d
Add additional snapshot test
2018-11-20 10:02:17 -05:00
Patrick Smith
fae3aa12e1
Add babel-core to fix compilation issues
2018-11-19 21:03:52 -05:00
Patrick Smith
75155f5297
Add initial component test
2018-11-19 21:02:11 -05:00
Patrick Smith
4149a4f1d5
Add dependencies to run jest
2018-11-19 21:02:11 -05:00
richard-dds
3215cfca32
Rename to CacheableForm
2018-11-19 14:37:24 -05:00
richard-dds
26cd9b4cb0
Automatically use cached form data
2018-11-19 14:35:02 -05:00
richard-dds
1d5bfed556
Exactract "formCache' into form_cache.PARAM_NAME
2018-11-19 11:46:21 -05:00
richard-dds
de12aee163
.read() should return an ImmutableMultiDict
2018-11-19 11:45:52 -05:00
richard-dds
e6ca9d3b7e
Merge pull request #444 from dod-ccpo/paginate-audit-log
...
Paginate audit log
2018-11-19 10:58:07 -05:00
richard-dds
5807eac898
Better style on small screens
2018-11-19 10:26:25 -05:00
richard-dds
29f9520dda
Use json instead of pickle
2018-11-16 14:12:42 -05:00
richard-dds
af105e08bc
Use more secure sha256
2018-11-16 14:02:10 -05:00
richard-dds
7d78ba4d65
Use form_cache.from_request
2018-11-16 13:20:55 -05:00
richard-dds
2f04571767
Use app's form_cache
2018-11-16 13:17:31 -05:00
richard-dds
5447be8b52
Use FormCache everywhere
2018-11-16 11:42:33 -05:00
richard-dds
6177f46587
Use FormCache
2018-11-16 11:38:58 -05:00
richard-dds
cd4a5df2d6
Reset finver form to prevent UII nonsense
2018-11-16 10:59:11 -05:00
richard-dds
365a600152
Cache new request form data
2018-11-15 16:03:40 -05:00
richard-dds
a475cb3156
FormCache class
2018-11-15 16:03:29 -05:00