5717 Commits

Author SHA1 Message Date
dandds
883947b75f Enable debug mode in tests.
Debug mode allows route integration tests to raise explicit exceptions on
errors, instead of returning error pages. Some portions of the test
suite need to be able to ignore exceptions (the response is not under
test) so they use a separate pytest fixture version of the app and
client that are configured with debug disabled, as it would be in
production.
2019-08-30 15:32:57 -04:00
graham-dds
094e44a6b0
Merge pull request #1045 from dod-ccpo/bugfix-remove-member
Bugfix: Use correct path to full_name
2019-08-29 10:08:41 -04:00
richard-dds
b3e48aa6e7
Merge pull request #1033 from dod-ccpo/ajax-uploads
Get presigned cloud upload token through an ajax call
2019-08-29 10:07:40 -04:00
graham-dds
3e9c082ac5 Use correct path to full_name
The full_name property is on the portfolio_role, not an intermidiate
user property
2019-08-29 09:20:24 -04:00
richard-dds
e03e98095b Re-render Vue test templates 2019-08-28 15:56:55 -04:00
richard-dds
d775bce3b7 Fix incorrect this in azure upload 2019-08-28 15:56:55 -04:00
richard-dds
f54e673520 Remove unused imports 2019-08-28 15:56:55 -04:00
richard-dds
bb9d76dd09 Fix Vue tests 2019-08-28 15:56:55 -04:00
richard-dds
11c1c37d7f Remove unnecessary macro and Vue props 2019-08-28 15:56:55 -04:00
richard-dds
67a4bb602d Require portfolio id in upload-token
It's necessary for the authz decorator
2019-08-28 15:56:55 -04:00
richard-dds
0566b525f6 Fix secrets file 2019-08-28 15:56:50 -04:00
richard-dds
0e593a77f1 Add permission check to upload_token route 2019-08-28 15:06:20 -04:00
richard-dds
c324cde3b3 Update secrets baseline 2019-08-28 15:06:20 -04:00
richard-dds
85ba61b97b Formatting 2019-08-28 15:06:20 -04:00
richard-dds
de090a319b Pass objectName into upload constructor 2019-08-28 15:06:20 -04:00
richard-dds
27e0e16707 Require auth on upload-token 2019-08-28 15:06:20 -04:00
richard-dds
7d1dfa1d0e Get presigned upload token via ajax request 2019-08-28 15:06:13 -04:00
graham-dds
2a265e4eba
Merge pull request #1043 from dod-ccpo/fix-modal-width
Fix modal width bug
2019-08-28 13:04:15 -04:00
graham-dds
aca2eaada3 Add a width attr to modal__dialog 2019-08-28 11:58:10 -04:00
graham-dds
3213ea11da
Merge pull request #1042 from dod-ccpo/delete-envrc
Delete .envrc
2019-08-28 10:38:57 -04:00
graham-dds
cdd772bda3 Delete .envrc 2019-08-28 10:06:53 -04:00
dandds
b7f8152cc1
Merge pull request #1038 from dod-ccpo/raise-session-limit
Raise default session lifetime to 30 minutes.
2019-08-22 14:23:27 -04:00
dandds
5f0ff137d3 Raise default session lifetime to 30 minutes. 2019-08-21 14:44:55 -04:00
dandds
a5de7d8122
Merge pull request #1037 from dod-ccpo/quick-vue-fix
Fix Vue bug in CCPO new user confirmation.
2019-08-21 13:32:33 -04:00
tomdds
650deb6f34
Merge pull request #1035 from dod-ccpo/new-user-dev-readme
Add documentation for dev new user endpoint to README
2019-08-21 13:17:58 -04:00
dandds
cc689a7e39 Fix Vue bug in CCPO new user confirmation.
The submit button for the page contained a Vue directive, but the button
is not nested in an appropriate Vue component. The directive and
associated behavior are unnecessary in this case, so I removed the
directive.
2019-08-21 13:04:35 -04:00
tomdds
c979c62228 Document dod_id dev login path 2019-08-21 10:22:50 -04:00
tomdds
87a03b7380 Add documentation for dev new user endpoint to README 2019-08-21 10:22:50 -04:00
dandds
31f36b46ee
Merge pull request #1036 from dod-ccpo/fix-crl-tests
Fix more tests broken by expiring CRL.
2019-08-21 09:42:33 -04:00
dandds
caa633c3db Fix more tests broken by expiring CRL.
There are still a few tests that rely on physical certificate files.
These are slightly more complicated to replace with pytest fixtures.
Updated the script for generating a CRL chain so that the CRL is good
for roughly ten years and regenerated the certs and CRL.
2019-08-21 05:47:54 -04:00
dandds
9578670ade
Merge pull request #1034 from dod-ccpo/ie11-modal-fix
Center modals in ie11
2019-08-20 09:32:45 -04:00
leigh-mil
0cbd971c11
Merge pull request #1032 from dod-ccpo/dont-include-last-login-update-in-auditlog
Do not create AuditEvent if updating the User.last_login
2019-08-19 11:26:36 -04:00
leigh-mil
6c29566383 add align-items so modals are centered in ie11 2019-08-19 11:19:59 -04:00
leigh-mil
96a2520e0c Don't use domain methods in tests 2019-08-19 10:39:16 -04:00
richard-dds
a6f925e080
Merge pull request #1030 from dod-ccpo/file-upload-fixes
File upload fixes
2019-08-19 10:36:10 -04:00
leigh-mil
491b7c76ab
Merge pull request #1029 from dod-ccpo/validation-on-admin-pages
Remove validation icons on app settings and portfolio admin pages
2019-08-19 10:35:14 -04:00
leigh-mil
666f237002 Update text input vue component so that it only shows the validation icon on mount when the form is not a form that is inset into a page 2019-08-19 10:28:20 -04:00
leigh-mil
2776926dea Move custom audit log logic into the User class 2019-08-19 10:25:26 -04:00
richard-dds
64b2f206cb Update the copy displaying the PDF size limit 2019-08-19 10:14:42 -04:00
leigh-mil
75ab8436b0
Merge pull request #1027 from dod-ccpo/ie11-fix-add-ccpo-user
Render new CCPO user form in IE11
2019-08-19 09:44:34 -04:00
leigh-mil
725a45aea7
Merge pull request #1026 from dod-ccpo/team-settings-styling
Styling Bugs
2019-08-19 09:44:14 -04:00
leigh-mil
1efe9cb5e4
Merge pull request #1023 from dod-ccpo/csp-links
Env roles bug fix
2019-08-19 09:43:54 -04:00
dandds
156025fb46
Merge pull request #1024 from dod-ccpo/167299614-deleted-app
Application members should not see deleted applications.
2019-08-19 05:38:58 -04:00
leigh-mil
0d6f7aa3cc Do not create AuditEvent if updating the User.last_login 2019-08-16 16:41:58 -04:00
Jay R. Newlin (PromptWorks)
4ea77c89e5
Merge pull request #1031 from dod-ccpo/readme-fix-entr
URL changed for the entr tool
2019-08-16 15:54:29 -04:00
leigh-mil
4a54602cc6
Merge pull request #1025 from dod-ccpo/center-modals
Center all modals
2019-08-16 15:27:31 -04:00
Jay R. Newlin (PromptWorks)
e4ce9d02e4 URL changed for the entr tool 2019-08-16 15:13:22 -04:00
leigh-mil
ecedb319d7
Merge pull request #1028 from dod-ccpo/disabled-save-button-functionality
Use Disabled save button functionality across the site
2019-08-16 14:00:00 -04:00
richard-dds
9b7186c94f Formatting 2019-08-16 13:49:50 -04:00
richard-dds
db73a12e95 Limit size of uploaded files 2019-08-16 13:30:03 -04:00