7477 Commits

Author SHA1 Message Date
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
leigh-mil
5130d16064 Check the global portfolio to highlight the active portfolio.
Change arg name from other_portfolio to portfolio.
2020-02-12 14:07:40 -05:00
leigh-mil
4634477179 Enable reuploading files after an error 2020-02-12 13:36:51 -05:00
tomdds
787abcaf4e
Merge pull request #1419 from dod-ccpo/state-machine-complete-trigger
state machine last CREATED state transition to COMPLETED
2020-02-12 11:12:53 -05:00
tomdds
6f700cc07e
Merge branch 'staging' into state-machine-complete-trigger 2020-02-12 10:37:31 -05:00
graham-dds
ae0439afa3
Merge pull request #1418 from dod-ccpo/SPACE-FORCE
SPACE FORCE 🚀 (and other branches)
2020-02-12 10:07:52 -05:00
graham-dds
21aa515b60
Merge branch 'staging' into SPACE-FORCE 2020-02-12 09:49:10 -05:00
4569066024 state machine last CREATED state transition to COMPLETED 2020-02-12 09:31:52 -05:00
efe042fac3 merge staging. update create_create_billing_owner azure csp tests 2020-02-11 16:57:37 -05:00
dandds
18c26a0c0e
Merge pull request #1406 from dod-ccpo/billing-owner
Create billing owner
2020-02-11 16:19:43 -05:00
dandds
285021de7c
Merge branch 'staging' into billing-owner 2020-02-11 16:01:27 -05:00
5df1d80c46 removed unused import 2020-02-11 15:57:47 -05:00
3163c73a0d resolve merge conflict 2020-02-11 15:40:15 -05:00
41e2ae5253 azure csp tests catch exceptions resulting from raised requests exceptions 2020-02-11 15:32:47 -05:00
dandds
ceb8cdc198 update state machine enum 2020-02-11 15:18:45 -05:00
graham-dds
f8433fb7ef Add branches that are not space force 2020-02-11 15:14:57 -05:00
graham-dds
099e95c7e3 SPACE FORCE 🚀 2020-02-11 15:09:23 -05:00
graham-dds
bad916dfb0
Merge pull request #1416 from dod-ccpo/reporting-integration
Bugfix: Accurately report Total Portfolio Value
2020-02-11 14:53:16 -05:00
dandds
facaae5cb1 Merge branch 'staging' into billing-owner 2020-02-11 14:50:11 -05:00
graham-dds
321b0a9cd4 Fix upcoming TO PoP bug in seed_sample
Some kwargs were in the wrong places
2020-02-11 14:27:30 -05:00
graham-dds
68e7c27aed portfolio value should include upcoming $obligated
Previously, we were displaying the total_portfolio_value as just
currently obligated funds. Instead, this value should be obligated funds
in current task orders and signed, upcoming task orders
2020-02-11 14:27:29 -05:00
graham-dds
e553a673b1 Tests for total_obligated_funds portfolio prop 2020-02-11 14:27:29 -05:00