1987 Commits

Author SHA1 Message Date
dandds
42f95eb17d resolve migration chain 2018-08-29 11:45:14 -04:00
dandds
46f2a00ee3 move pe number ingestion for setup into a migration 2018-08-29 11:13:54 -04:00
patricksmithdds
10aff81b99
Merge pull request #228 from dod-ccpo/update-secret-key
Fix PDF uploading
2018-08-29 11:13:46 -04:00
ktran
ac4c975964 Adding the encrypted token to the yml file 2018-08-29 11:12:16 -04:00
dandds
474b3b2f50 update script should ensure uploads directory is present 2018-08-29 11:01:50 -04:00
andrewdds
5c09c05ec9
Merge pull request #227 from dod-ccpo/member-roles
Member roles
2018-08-29 10:49:12 -04:00
Patrick Smith
501caf767b Upload with a temp file instead of streaming
Using a stream is a no-go due to a bug in libcloud: https://issues.apache.org/jira/browse/LIBCLOUD-935?focusedCommentId=16152982&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-16152982

Instead, write the uploaded file to a named tempfile and pass that to
the uploader.
2018-08-29 10:40:04 -04:00
Andrew Croce
38380ac369 mock environment-role selector on member-edit screen 2018-08-29 09:55:43 -04:00
Andrew Croce
b4a5956a73 Modifications to block list and modal styles to accomodate selectable block list in modal 2018-08-29 09:55:14 -04:00
Patrick Smith
4e16346ed4 Don't verify hash of uploaded files
I believe this is a bug in `libcloud`. We're passing an iterator (as
required by libcloud --
https://github.com/apache/libcloud/blob/trunk/libcloud/storage/base.py#L592)
for the stream, but when verifying the hash of the uploaded file,
  `libcloud` goes through the stream twice: https://github.com/apache/libcloud/blob/trunk/libcloud/storage/base.py#L614-L621

After the sending the file stream as an upload, when generating the
hash, the iterator has already been iterated through so the second
go-through returns an empty iterator. Thus, the hash will never match
unless an empty file is uploaded.

This change reaches into the container's driver so that we can pass the
`verify_hash` kwarg, which cannot be specified on the container's
methods.
2018-08-28 20:35:31 -04:00
luis cielak
5ce9355ccf Add hover state to list item 2018-08-28 16:33:30 -04:00
luis cielak
eaa8113f95 Add radio button to list item 2018-08-28 16:28:49 -04:00
luis cielak
ab828c8d4b Add placeholder radio buttons 2018-08-28 16:20:53 -04:00
Patrick Smith
1594103847 Update secret key for atst-config-ini 2018-08-28 16:14:51 -04:00
luis cielak
a332d67210 Revert to previous action group 2018-08-28 16:06:06 -04:00
montana-mil
06968940b8
Merge pull request #218 from dod-ccpo/no-projects
Empty states and some permissions
2018-08-28 13:46:54 -04:00
dandds
792114b063
Merge pull request #219 from dod-ccpo/pdf-uploads-#159940565
Pdf uploads
2018-08-28 13:26:01 -04:00
Montana
a5f3061d99 Tests for viewing Add Project and Add Member buttons 2018-08-28 13:00:00 -04:00
Andrew Croce
7509ee9cfc formatting magic 2018-08-28 13:00:00 -04:00
Andrew Croce
6317580350 False not false 2018-08-28 13:00:00 -04:00
Andrew Croce
63dd4da80b Only display add new member button if user has permissions 2018-08-28 13:00:00 -04:00
Andrew Croce
e90769fbd9 Modify members empty state depending on permissions 2018-08-28 13:00:00 -04:00
Andrew Croce
0af5b6a1b4 remove unnecessary vars being set 2018-08-28 13:00:00 -04:00
Andrew Croce
e60cf16170 Empty stat message and submessage styles 2018-08-28 13:00:00 -04:00
Andrew Croce
8539238566 Only show "Add New Project" subnav if user has permissions to do so 2018-08-28 13:00:00 -04:00
Andrew Croce
0dd350112c Display Empty State component on workspace project
Adjust button and message depending on user permissions
2018-08-28 13:00:00 -04:00
Andrew Croce
2c5bad75a5 use camel case 2018-08-28 13:00:00 -04:00
Andrew Croce
8c6785f0f1 use camel case 2018-08-28 13:00:00 -04:00
Andrew Croce
8d8b769673 Add sub_message to EmptyState component
Change params to camel case
2018-08-28 13:00:00 -04:00
Andrew Croce
610a7898bb create a user_can method in template context, to check against user permissions
add user permissions list to template context
2018-08-28 12:59:54 -04:00
luis cielak
08a607edb2 Reduce padding 2018-08-28 12:48:54 -04:00
andrewdds
9c951f3864
Merge pull request #226 from dod-ccpo/internet-explorer-fixes
IE fixes, et al
2018-08-28 11:57:34 -04:00
andrewdds
e026db0624
Merge pull request #223 from dod-ccpo/ui/meter-fix
Ui/meter fix
2018-08-28 11:57:08 -04:00
dandds
389a5f50e7 remove extraneous monkeypatching in tests 2018-08-28 11:27:25 -04:00
dandds
2bfdf33ac3 rename JSON filter for PDF file upload 2018-08-28 11:22:16 -04:00
patricksmithdds
8c267eea5d
Merge pull request #225 from dod-ccpo/update-navbar-link
Update link in navbar
2018-08-28 11:13:46 -04:00
patricksmithdds
c7e6d2a894
Merge pull request #224 from dod-ccpo/fix-unauthorized-error
Handle unauthorized error in workspace context
2018-08-28 11:13:05 -04:00
Andrew Croce
2a2cc6b143 Put the endif in the right place. Not technically an IE bug, its just IE doesn't "correct" the mismatched tags as well as other browsers. 2018-08-28 09:43:11 -04:00
Patrick Smith
6d04702dad Handle unauthorized error in workspace context
Previously, an `UnauthorizedError` raised when attempting to view an
workspace that you are not authorized for would show an error instead of
the "not found" page since a second `UnauthorizedError` would be raised
evaluating the context for the "not found" page.
2018-08-28 09:33:18 -04:00
Andrew Croce
f229c594c1 updated yarn lock, these are not dependencies 2018-08-28 09:17:51 -04:00
Andrew Croce
56685d3288 Dont use pseudo elements on meter elements, they're not supported in most browsers 2018-08-28 09:16:41 -04:00
Patrick Smith
74b2267b7f Update link in navbar context 2018-08-28 07:50:31 -04:00
andrewdds
1fb43a9fd6
Merge pull request #204 from dod-ccpo/internet-explorer-fixes
Internet explorer fixes
2018-08-27 16:59:31 -04:00
luis cielak
5f2b60c53a Update button type 2018-08-27 16:44:47 -04:00
luis cielak
d29ef974b1 Add support for tabbing through the form input and buttons 2018-08-27 16:44:47 -04:00
luis cielak
5bc9d8daa1 Update project creation text 2018-08-27 16:44:47 -04:00
luis cielak
e309526f82 Change text from 72 hours to 3 business days 2018-08-27 16:44:47 -04:00
luis cielak
ee4bf8589e Add masking and and placeholders 2018-08-27 16:08:31 -04:00
richard-dds
e32926d6ce Formatting 2018-08-27 16:08:31 -04:00
richard-dds
6a681fc54a New view for creating a new workspace member 2018-08-27 16:08:31 -04:00