7398 Commits

Author SHA1 Message Date
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
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
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
leigh-mil
4afdc62329
Merge pull request #1415 from dod-ccpo/unsigned-tos
Open unsigned TOs in TO builder
2020-02-13 14:06:53 -05:00
b256214f95 Merge branch 'state-machine-error-handling' of https://github.com/dod-ccpo/atst into state-machine-error-handling 2020-02-13 14:01:14 -05:00
e41fd63c2d state machine fix failing test 2020-02-13 14:00:47 -05:00
leigh-mil
a13597381a
Merge branch 'staging' into unsigned-tos 2020-02-13 13:49:26 -05:00
tomdds
7775ee6419
Merge branch 'staging' into state-machine-error-handling 2020-02-13 13:30:35 -05:00
077c68ce87 state machine test corrected 2020-02-13 13:22:28 -05:00
leigh-mil
86341186db
Merge pull request #1417 from dod-ccpo/fix-duplicate-form-submission
Actually fix double submissions
2020-02-13 13:21:26 -05:00
89d56d55a1 merge staging 2020-02-13 12:49:29 -05:00
leigh-mil
1f70313054
Merge branch 'staging' into fix-duplicate-form-submission 2020-02-13 11:53:07 -05:00
graham-dds
6af28ed655
Merge pull request #1423 from dod-ccpo/notify-ppoc
Notify PPOC when portfolio is provisioned
2020-02-13 11:20:26 -05:00
graham-dds
9b25a4b907 Move 'onmicrosoft.com' to an app constant 2020-02-13 10:56:01 -05:00
graham-dds
8f52443b5d Send email to PPOC when portfolio is provisioned
When a portfolio state machine transitions to the COMPLETED state, an
email is sent to the PPOC letting them know it's ready, and provides
them with their username needed to create a password.
2020-02-13 10:55:47 -05:00
graham-dds
c8991a95bf Add copy for "portfolio is ready" email 2020-02-13 10:55:47 -05:00
leigh-mil
4917cde22d Fix styling to account for removed columns 2020-02-13 10:49:43 -05:00
leigh-mil
0b1628008f Include unsigned TOs in the is_draft property 2020-02-13 10:45:03 -05:00
leigh-mil
4802880cdb Prevent double submitting in multi-step forms by updating the submitted property in handleSubmit 2020-02-13 10:44:38 -05:00
leigh-mil
4fb8d37746
Merge pull request #1422 from dod-ccpo/reupload-files
Enable re-uploading files after an error
2020-02-13 10:43:51 -05:00
leigh-mil
fc0af1558d Remove all references to funds expended on a TO level 2020-02-13 10:27:39 -05:00
leigh-mil
f5437b40b8
Merge branch 'staging' into reupload-files 2020-02-13 10:22:16 -05:00
88b3df7906 csp provider tests requests.HTTPError exceptions 2020-02-12 21:32:48 -05:00
leigh-mil
839aa6829e
Merge pull request #1424 from dod-ccpo/highlight-portfolio-sidenav
Highlight portfolio name in sidenav
2020-02-12 15:01:11 -05:00