7419 Commits

Author SHA1 Message Date
d627031902 mock csp disable user test correct variable names 2020-02-26 08:56:52 -05:00
e9d120ecae rename csp method disable_user arg 2020-02-25 13:46:09 -05:00
08ca093eda azure disable_user update url, assignment id 2020-02-20 14:22:05 -05:00
bbd2914824 azure disable user call 2020-02-20 13:51:38 -05:00
tomdds
08ca8eac79
Merge pull request #1433 from dod-ccpo/state-machine-unit-tests
state machine unit tests
2020-02-20 10:39:23 -05:00
tomdds
be53a1fd1a
Merge branch 'staging' into state-machine-unit-tests 2020-02-20 10:21:41 -05:00
leigh-mil
57ba7d5979
Merge pull request #1420 from dod-ccpo/update-clins
Update CLINs
2020-02-20 10:19:52 -05:00
leigh-mil
0bda0c481e Explicitly pass in kwargs instead of splatting clin and portfolio data 2020-02-19 16:07:45 -05:00
leigh-mil
5c7dfc428e Add new tests and refactor existing tests 2020-02-19 16:07:44 -05:00
leigh-mil
4dc5f2aa91 Add beat task to queue 2020-02-19 16:07:44 -05:00
leigh-mil
6ef3265cb5 Create celery task for create_billing_instruction 2020-02-19 16:03:30 -05:00
leigh-mil
aa2d353260 Add query for finding new CLINs that have not been sent.
Use fixtures in tests.
2020-02-19 15:59:24 -05:00
1f58f40cb0 state machine unit tests csp data factory 2020-02-19 14:43:56 -05:00
dandds
b0f946dd35
Merge pull request #1432 from dod-ccpo/ci-fix-again
Set shell for failing docker login command.
2020-02-19 14:19:30 -05:00
dandds
478a5b3e0b
Merge branch 'staging' into ci-fix-again 2020-02-19 13:53:50 -05:00
graham-dds
ad08160bfb
Merge pull request #1434 from dod-ccpo/bugfix/171243757-fix-report-header-inconsistency
Tweak what "total portfolio value" represents
2020-02-19 13:43:33 -05:00
graham-dds
a3e9400a0d Tweak what "total portfolio value" represents
On the reports page, "total portfolio value" should represent the sum of
obligated funds for active task orders.
2020-02-19 13:21:39 -05:00
leigh-mil
a6b8c673e2
Merge pull request #1430 from dod-ccpo/schedule-dispatch-send-to
Schedule celery task for dispatch_send_task_order_files
2020-02-19 13:18:54 -05:00
leigh-mil
1d8bb2811d Update name of function 2020-02-19 12:25:34 -05:00
leigh-mil
b8bf106a96 Move dispatch_send_task_order_files tests into a test class 2020-02-19 12:25:34 -05:00
leigh-mil
411f0477e9 Schedule celery task for dispatch_send_task_order_files 2020-02-19 12:25:34 -05:00
leigh-mil
0bb23a74ec
Merge pull request #1427 from dod-ccpo/new-portfolio-styling--v2
portfolio form styling
2020-02-19 12:10:08 -05:00
leigh-mil
437ed6d9b9 Update portfolio styling and move DoD component help text 2020-02-19 11:42:03 -05:00
leigh-mil
151d3f7454 Fix input width in TO form 2020-02-19 11:42:03 -05:00
leigh-mil
c5e31975e2 Fix inputs in member modal forms 2020-02-19 11:42:03 -05:00
leigh-mil
2665094136 Apply max width to all input elements.
Update form class with better name and add form-conrainer--narrow class.
2020-02-19 11:42:03 -05:00
leigh-mil
bd14955a6a
Merge pull request #1425 from dod-ccpo/email-notification-new-app-role
Email notification for new app role
2020-02-19 11:41:07 -05:00
leigh-mil
0deca6afcb Refactor tests 2020-02-19 11:12:24 -05:00
leigh-mil
207c34e536 Send email to user when App Role is created 2020-02-19 11:12:24 -05:00
tomdds
f956b41f98 Fully set up portfolio fixture for state machine tests
Also fixes some formatting problems
2020-02-19 10:40:06 -05:00
graham-dds
c3c9f23e53
Merge pull request #1429 from dod-ccpo/calculator-link
Azure cloud method to get a url to the pricing calculator
2020-02-18 16:32:22 -05:00
graham-dds
237848c2c9 Azure cloud method to get a url to the calculator 2020-02-18 16:15:07 -05:00
dandds
ce9540d755 Set shell for failing docker login command.
On my last PR to fix this, I didn't notice that CircleCI was setting the
shell to execute with `/bin/sh -eo pipefail`, which means that the
commands will fail if any part of the command exits with 1, regardless
of whether the result is being piped anywhere else. This updates the
shell that that section of the config uses.

https://circleci.com/docs/2.0/configuration-reference/#default-shell-options
2020-02-18 15:57:19 -05:00
daf4a0ba68 state machine unit tests 2020-02-18 15:56:01 -05:00
tomdds
e3397390d3
Merge pull request #1389 from dod-ccpo/state-machine-error-handling
state machine triggers for resuming progress from a failed state
2020-02-18 15:35:27 -05:00
tomdds
b7d044b3b1
Merge branch 'staging' into state-machine-error-handling 2020-02-18 13:08:33 -05:00
dandds
69754bbbd1
Merge pull request #1431 from dod-ccpo/ci-temp-fix
Update Azure CLI login to container registry.
2020-02-18 12:48:20 -05:00
dandds
9e501c1067 Update Azure CLI login to container registry.
The Azure CLI now returns an exit code of "1" if there are any warnings
when logging into a container registry. Since our longterm goal is to
move away from CircleCI, I chose to fix this in-place rather than
integrate a credentials store or pass more config values to a `docker
login` command. Instead, this just grep the output from the Azure CLI
command to ensure it succeeded.
2020-02-18 11:55:19 -05:00
leigh-mil
697efc92bc
Merge pull request #1414 from dod-ccpo/fix-view-only-in-ff
Fix portfolio header in FF
2020-02-18 09:51:14 -05:00
leigh-mil
541aa965fb Center portfolio name vertically 2020-02-17 16:54:36 -05:00
leigh-mil
b6b093850a Add div with col class around the div.row that contains the header links.
Remove display:table from the .col styling
2020-02-17 16:54:36 -05:00
leigh-mil
611672d449
Merge pull request #1428 from dod-ccpo/content-updates
Content updates
2020-02-17 16:48:47 -05:00
leigh-mil
40be760fa0 Update optional tag 2020-02-17 14:50:57 -05:00
leigh-mil
a13716e7ed update copy 2020-02-17 14:50:57 -05:00
graham-dds
09dfc7d9da
Merge pull request #1426 from dod-ccpo/datetime-to-pendulum
Use Pendulum for datetime operations when possible
2020-02-17 14:29:39 -05:00
graham-dds
061af339e0
Merge branch 'staging' into datetime-to-pendulum 2020-02-17 14:12:08 -05:00
leigh-mil
273ea6d114
Merge pull request #1421 from dod-ccpo/remove-invoiced-from-task-orders
Remove references to expended funds from task orders
2020-02-17 11:27:56 -05:00
graham-dds
108f65f928 Use pendulum for datetime operations when possible
Currently, we use both Python's built-in datetime library and Pendulum
to do datetime operations. For the sake of consistency, we should try to
stick to one library for datetimes. We could have used either, but
Pendulum has a more ergonomic API, so I decided to go with it when
possible.

The places where were we didn't / couldn't replace datetime are:
- checking instances of datetimes. Pendulum's objects are subclasses of
  python native datetime objects, so it's still useful to import
  datetime in those cases of using is_instance()
- WTForms date validators expect datetime style string formats --
  Pendulum has its own format for formatting/ parsing strings. As such,
  our custom validator DateRange needs to use datetime.stptime() to
  account for this format.
2020-02-17 10:38:52 -05:00
tomdds
ccc8fbb233
Merge branch 'staging' into state-machine-error-handling 2020-02-13 14:23:50 -05:00
leigh-mil
876cddbfe3
Merge branch 'staging' into remove-invoiced-from-task-orders 2020-02-13 14:07:14 -05:00