Commit Graph

816 Commits

Author SHA1 Message Date
leigh-mil
72cc12f195 Update todo formatting 2019-04-25 10:47:39 -04:00
leigh-mil
99a3534d03 Update route to include environment_id 2019-04-25 10:47:39 -04:00
leigh-mil
8680c10017 Change file name to settings 2019-04-25 10:47:39 -04:00
leigh-mil
addd1c07c3 Add TODO about handling form validation failures 2019-04-25 10:47:39 -04:00
leigh-mil
c6cf4d7641 change variable name to be more clear 2019-04-25 10:47:39 -04:00
leigh-mil
9b426bbde4 Add post route for env roles form 2019-04-25 10:47:39 -04:00
leigh-mil
f6577c0cd6 Update name of env form 2019-04-25 10:47:39 -04:00
leigh-mil
fbd9c9db66 Create form in view route for application settings 2019-04-25 10:47:39 -04:00
Montana
422021e5ce Only show active members for ppoc update dropdown 2019-04-22 14:32:50 -04:00
dandds
78ba6afba0 rename and rearrange some portfolio route functions 2019-04-22 07:20:08 -04:00
dandds
782a532c32 reorganize task order routes 2019-04-22 07:20:07 -04:00
dandds
849c5d4b58 Rearrange and rename application routes.
- move application routes to their own Flask blueprint
- squash application routes to be resource-specific
- reorganize application routes
2019-04-22 07:19:30 -04:00
dandds
ed25078c39 move portfolio context processor to generic location 2019-04-22 07:15:18 -04:00
rachel-dtr
a815e97203 Merge pull request #776 from dod-ccpo/to-language
Updating language throughout TO process
2019-04-18 11:46:07 -04:00
rachel-dtr
193d5c2a43 Updating language throughout TO process 2019-04-18 11:31:33 -04:00
dandds
c223bff09c Remove unused portfolio routes 2019-04-18 09:50:53 -04:00
montana-mil
2710cbad31 Merge pull request #772 from dod-ccpo/do-not-include-ppoc-on-dropdown
Only show Non-PPOC Portfolio Members in Update PPOC Dropdown
2019-04-17 16:35:56 -04:00
George Drummond
882998e1d7 Merge pull request #748 from dod-ccpo/display-app-users
Display app users
2019-04-17 15:28:28 -04:00
Montana
9edea53361 Only show non-ppoc portfolio members in update ppoc dropdown 2019-04-17 15:02:32 -04:00
dandds
24764fbe85 Merge pull request #773 from dod-ccpo/view-application-settings
portfolio user can view application settings page
2019-04-17 14:54:11 -04:00
dandds
4a1e5e61b3 portfolio user can view application settings page 2019-04-17 14:49:14 -04:00
leigh-mil
882152f142 Set order of port members in the route 2019-04-17 14:13:24 -04:00
George Drummond
2014926809 Don't need to pass portfolio to the template 2019-04-17 13:56:24 -04:00
George Drummond
e814f8904d Use correct scoping 2019-04-17 13:37:28 -04:00
George Drummond
769867c6a9 Display app users view only table 2019-04-17 13:25:45 -04:00
Montana
d9c3cf340f Pass users' roles to the template 2019-04-17 11:06:37 -04:00
dandds
c1df245800 Scope access to applications, task orders, and environment roles.
These resources should be scoped to the portfolio when accessed from
route functions.
2019-04-16 14:18:53 -04:00
dandds
5ea70a486a Do not pass portfolio to render_template calls in portfolio context.
The context processor in the init file for the portfolio routes takes
care of this. Also eliminates any unnecessary portfolio lookups in the
route functions.
2019-04-16 14:18:53 -04:00
George Drummond
13a16dc83f Merge pull request #761 from dod-ccpo/environment-lists
Environment lists
2019-04-16 09:44:38 -04:00
George Drummond
9c89a8e7a5 Rename get_environments_obj_for_app method 2019-04-16 09:41:48 -04:00
dandds
dac764ab82 route for deleting an application 2019-04-15 15:58:38 -04:00
George Drummond
5bf8022a51 Fix specs 2019-04-15 13:50:29 -04:00
Montana
1d46ecebd1 Add environments-table component 2019-04-11 15:54:56 -04:00
Montana
7c484f6a90 Send template an environments object 2019-04-11 15:54:56 -04:00
leigh-mil
51a5929b52 Check if member is PPoC before updating perms 2019-04-09 08:42:35 -04:00
George Drummond
090e13f083 Update Point of Contact 2019-04-08 13:31:00 -04:00
leigh-mil
f1c6717a1e Merge pull request #733 from dod-ccpo/add-last-login-timestamp
Add last login timestamp
2019-04-03 13:10:52 -04:00
George Drummond
48d9506f96 Merge pull request #730 from dod-ccpo/archive-portfolio-member
Remove Portfolio User
2019-04-03 13:06:41 -04:00
leigh-mil
610aef428d Add user's last login to the session data 2019-04-03 12:24:02 -04:00
George Drummond
83b071bf20 Get changes working with merged PRs 2019-04-03 10:32:03 -04:00
George Drummond
bcfc8ee8e1 Remove double import 2019-04-03 09:48:30 -04:00
George Drummond
5cc8c05dbd Return correct error code 2019-04-03 09:43:40 -04:00
George Drummond
6f1eb43de4 Remove Portfolio User 2019-04-03 09:43:39 -04:00
Montana
92302b2a22 If user is MO and an officer of the TO, do not render resend invite link 2019-04-03 09:43:34 -04:00
montana-mil
91c3cc665f Merge pull request #728 from dod-ccpo/edit-perms-pf-members
Edit Portfolio Members Access Levels
2019-04-02 11:14:02 -04:00
Montana
3cfac9e95e Validate the form 2019-04-02 10:38:18 -04:00
Montana
c46746d43d No need to manually check for update or flash 2019-04-02 10:37:50 -04:00
Montana
d84eccbc83 Only update when permissions are different 2019-04-02 10:17:16 -04:00
Montana
25563cf06a Add helper function 2019-04-02 10:17:16 -04:00
Montana
d70332836b Only flash when permissions change 2019-04-02 10:17:16 -04:00