5844 Commits

Author SHA1 Message Date
leigh-mil
ade3dd083e Use translations 2019-09-10 13:54:13 -04:00
leigh-mil
ca39d7107d Remove unused nestedcheckbox vue component 2019-09-10 13:16:16 -04:00
leigh-mil
d33332034a Refactor form header and footer into macro 2019-09-10 13:08:06 -04:00
leigh-mil
dd2996f3b8 Styling for environment access section 2019-09-10 12:02:56 -04:00
leigh-mil
117a3e2162 Styling for app perms 2019-09-10 11:54:17 -04:00
leigh-mil
b32d7e1f97 Reorder form and update text 2019-09-10 11:54:17 -04:00
leigh-mil
dcb70ad925
Merge pull request #1060 from dod-ccpo/app-settings-redesign
App settings redesign
2019-09-10 11:20:38 -04:00
dandds
c4996ef201
Merge pull request #1064 from dod-ccpo/migration-fix
Fix migration chain.
2019-09-10 09:51:39 -04:00
dandds
74f012cb07 Fix migration chain. 2019-09-10 09:46:32 -04:00
leigh-mil
ebe82a3452
Merge pull request #1063 from dod-ccpo/new-member-modal-part-1
New member modal part 1
2019-09-10 09:36:36 -04:00
leigh-mil
aa45e6b2e1
Merge pull request #1059 from dod-ccpo/pop-configs
PoP validation & Contract date configs
2019-09-10 09:35:46 -04:00
dandds
07ffaae22a
Merge pull request #1061 from dod-ccpo/csp-retry-failure
Record job failures with application context.
2019-09-10 09:13:41 -04:00
leigh-mil
a02066c6f4 Styling 2019-09-09 16:54:04 -04:00
leigh-mil
4fba3ecaaf Rearrange form fields 2019-09-09 16:24:50 -04:00
leigh-mil
c7d8bc260c Add phone ext column to invites and phone ext field to new member form 2019-09-09 16:24:18 -04:00
leigh-mil
e391c3269d Remove unused route to update team roles 2019-09-09 15:23:37 -04:00
leigh-mil
a4df658857 Move cancel button in add env form 2019-09-09 15:16:43 -04:00
dandds
7010bdb09c Record job failures with application context.
AT-AT needs to be able to track which user tasks failed and why. To
accomplish this we:

- Enabled Celery's results backend, which logs task results to a data
  store; a Postgres table, in our case.
  (https://docs.celeryproject.org/en/latest/userguide/tasks.html#result-backends)
- Created tables to track the relationships between the relevant models
  (Environment, EnvironmentRole) and their task failures.
- Added an `on_failure` hook that tasks can use. The hook will add
  records to the job failure tables.

Now a resource like an `Environment` has access to it task failures
through the corresponding failure table.

Notes:
- It might prove useful to use a real foreign key to the Celery results
  table eventually. I did not do it here because it requires that we
  explicitly store the Celery results table schema as a migration and
  add a model for it. In the current implementation, AT-AT can be
  agnostic about where the results live.
- We store the task results indefinitely, so it is important to specify
  tasks for which we do not care about the results (like `send_mail`)
  via the `ignore_result` kwarg.
2019-09-09 14:54:46 -04:00
leigh-mil
3e3dfc5056 Remove inflect dependency 2019-09-09 14:51:59 -04:00
leigh-mil
09efa4f434 use lowercase for variable names and remove unused import 2019-09-09 14:33:05 -04:00
leigh-mil
3683c79ae0 Use template args for the contract start and end date
pointing to base.ini in the JS file resulted in the raw string content of base.ini to be in the JS bundle
2019-09-09 14:23:38 -04:00
leigh-mil
6dea274c0a Put showClin back into data -- removing it messed up the removeClin function 2019-09-09 14:21:20 -04:00
leigh-mil
7132edc1f1 Clean up html and move text into translations 2019-09-06 15:41:43 -04:00
leigh-mil
5c9dd71999 Update the environments section and delete unused templates 2019-09-06 15:30:53 -04:00
leigh-mil
a6caafada4 Update delete app button and section 2019-09-06 11:28:43 -04:00
leigh-mil
3428551cec Team members section read only version
- display all members in a table and list perms and environments
2019-09-06 10:43:05 -04:00
leigh-mil
d802a53db6 Only show contract date validation messages if the date has been completely filled in 2019-09-06 10:12:35 -04:00
leigh-mil
2cefe93136 Use date-fns instead of moment 2019-09-06 10:12:35 -04:00
leigh-mil
2efd2c968d Use translations and make errors look pretty 2019-09-06 10:12:35 -04:00
leigh-mil
d7b86491ae Validate PoP dates against contract dates config on the backend 2019-09-06 10:12:35 -04:00
leigh-mil
e4ca027065 Validate CLIN PoP against configurable contract start and end dates 2019-09-06 10:12:34 -04:00
leigh-mil
93e7ed9828 Update name and description section 2019-09-05 18:14:01 -04:00
leigh-mil
5dbbe8d127 Add sticky header to App settings page 2019-09-05 18:14:01 -04:00
leigh-mil
7c7624f25e Move team routes to the settings file and delete files related to applications/team 2019-09-05 16:54:16 -04:00
leigh-mil
de74c1f533 Remove route for applications.team 2019-09-05 16:18:47 -04:00
leigh-mil
50ceaa39de Move team table into app settings page 2019-09-05 16:09:26 -04:00
leigh-mil
5419e1c475
Merge pull request #1058 from dod-ccpo/cancel-clin-entry
Remove CLIN
2019-09-05 15:05:35 -04:00
leigh-mil
20871e787f Remove code related to Totals box from CLIN fields vue component 2019-09-05 10:19:12 -04:00
dandds
e948007a8b
Merge pull request #1057 from dod-ccpo/seed-sample-perms
Seed sample perms
2019-09-05 09:44:08 -04:00
leigh-mil
5d34899127 Fix hr elements -- add back in border and remove the extra hr from the totals box 2019-09-04 16:59:51 -04:00
leigh-mil
f9f0ab2575 Make x gray 2019-09-04 16:59:51 -04:00
leigh-mil
654f20e8eb Remove optional flag from required fields 2019-09-04 16:59:51 -04:00
leigh-mil
48a8a80f87 Move text to translations file 2019-09-04 16:59:51 -04:00
leigh-mil
0bf685311a Fix validation icon positioning for date picker field 2019-09-04 16:59:51 -04:00
leigh-mil
eb58612182 Add remove CLIN confirmation modal 2019-09-04 16:59:51 -04:00
leigh-mil
46345657c7 Remove unused code from the totals box functionality that has been since removed 2019-09-04 14:50:26 -04:00
leigh-mil
f5ce35187b Make sure form correctly validates after CLIN is removed 2019-09-04 14:50:26 -04:00
leigh-mil
27d3f46cc9 Make remove CLIN button work 2019-09-04 14:09:34 -04:00
leigh-mil
6f1f7f0d3d Use to-form Vue component instead of base-form in TO builder base template 2019-09-04 14:09:34 -04:00
leigh-mil
23b67ede15 Add remove CLIN button 2019-09-04 14:09:34 -04:00