Commit Graph

1579 Commits

Author SHA1 Message Date
richard-dds
d51d5e2ca9 Root url should redirect if user is already logged in 2018-10-08 15:23:13 -04:00
richard-dds
ac2ecf5f64 Remove Authorization.can_view_audit_log as well 2018-10-08 12:05:15 -04:00
richard-dds
fcc1caca1c Move Request-specific auth checks into requests.authorization 2018-10-08 12:05:15 -04:00
Montana
3c95063293 Handle AlreadyExistsError on user creation with non-unique email 2018-10-08 10:36:40 -04:00
richard-dds
6dd8562fc1 Formatting 2018-10-04 14:38:09 -04:00
richard-dds
db1521d920 Missed an import 2018-10-04 14:37:53 -04:00
Montana
55394b65db Use workspace permissions to limit project viewability 2018-10-04 14:24:35 -04:00
patricksmithdds
becfe4817f Merge pull request #373 from dod-ccpo/fin-ver-tabs-#160939324
Update template variable request to jedi_request for financial verifi…
2018-10-04 10:18:26 -04:00
montana-mil
1d5907c5da Merge pull request #370 from dod-ccpo/model-strings-#160694209
Add Default String Representations for Models
2018-10-04 10:11:39 -04:00
dandds
16c803a5cd Update template variable request to jedi_request for financial verification review menu (thanks to Leigh) 2018-10-03 14:33:36 -04:00
Andrew Croce
612a4a4f95 helpdocs route takes a doc path and renders sub template
list of helpdocs generated by files in `help/docs`
2018-10-03 13:57:39 -04:00
Patrick Smith
8bb9c1ab8a Add __repr__ to models 2018-10-02 14:14:39 -04:00
patricksmithdds
74a5a59dad Merge pull request #369 from dod-ccpo/budget-month-dropdown
Include all of year's months in dropdown
2018-10-02 13:37:18 -04:00
Luis Cielak
5cd4bd4751 Fix formatting 2018-10-02 13:15:46 -04:00
Luis Cielak
164ccd02ed Add about page and route 2018-10-02 13:15:46 -04:00
richard-dds
8498b04af8 Include all of year's months in dropdown 2018-10-02 13:05:52 -04:00
patricksmithdds
f47255ee91 Merge pull request #365 from dod-ccpo/reduce-alerts-on-financial-form
Reduce alerts on financial form
2018-10-02 12:38:43 -04:00
richard-dds
ad49d3f71f Merge pull request #359 from dod-ccpo/task-order-expiration
Fix report display for task order with no expiration date
2018-10-02 10:11:28 -04:00
Andrew Croce
9875821248 remove extraneous line 2018-10-02 08:33:07 -04:00
Andrew Croce
8ac5a7e3b0 Add financial form prop to check if the missing TO is the only error 2018-10-02 08:31:01 -04:00
Montana
95f3b9d048 Hide Budget Report from admins and developers 2018-10-01 17:15:40 -04:00
Montana
685c0e3658 Make the requirement for dod_id explicit when creating a user 2018-10-01 17:11:36 -04:00
dandds
19d939578c Merge pull request #363 from dod-ccpo/more-zeros-#160876530
new form field for CLIN numbers to handle when data is zero
2018-10-01 16:38:39 -04:00
dandds
21222cd0f6 Merge pull request #360 from dod-ccpo/redirect-after-login-#160851186
Redirect after login #160851186
2018-10-01 16:35:44 -04:00
richard-dds
8db53f5985 Merge pull request #357 from dod-ccpo/audit-log-extra-info
Display user name and workspace name in audit log
2018-10-01 16:18:58 -04:00
dandds
509b4c55a2 more explicit naming, query param handling for login redirects 2018-10-01 16:16:30 -04:00
dandds
4eaea6c055 fix unused import 2018-10-01 16:16:30 -04:00
dandds
8a89c519eb on user login, redirect based on next query parameter if available 2018-10-01 16:16:30 -04:00
dandds
9f4b284d6c add login redirect query param to login button 2018-10-01 16:16:30 -04:00
dandds
b137a41a8f logout should redirect to root, not home 2018-10-01 16:16:30 -04:00
dandds
8b8d694abd apply destination url path as next parameter to login redirect 2018-10-01 16:16:30 -04:00
dandds
20318a2376 Merge pull request #347 from dod-ccpo/refactor-role-definitions-#160745296
put workspace role definitions in one place
2018-10-01 15:55:49 -04:00
dandds
7af7b47bc1 split atat roles and workspace roles 2018-10-01 15:38:31 -04:00
dandds
a4f51fe01d put workspace role definitions in one place 2018-10-01 15:38:31 -04:00
dandds
024108ae0e UII IDs are optional for financial verification 2018-10-01 15:26:52 -04:00
dandds
767934d633 new form field for CLIN numbers to handle when data is zero 2018-10-01 15:24:39 -04:00
richard-dds
d0f4e34263 Display request id and displayname as well 2018-10-01 14:39:33 -04:00
richard-dds
1750c268f7 Fix report display for task order with no expiration date 2018-10-01 13:32:01 -04:00
montana-mil
388ff899a2 Merge pull request #343 from dod-ccpo/more-tests-for-workspaces
Add more tests for workspaces routes
2018-10-01 13:23:47 -04:00
richard-dds
7f1e8aa277 Remove unused properties 2018-10-01 11:42:26 -04:00
richard-dds
d784c03eec Display user names in audit log 2018-10-01 11:38:53 -04:00
Patrick Smith
7b2a099ef3 Filter environments for user with given project id
Previously, calling `Environment.for_user(user, project)` would return
environments a user has access to across all projects. Now, we will only
return the relevant environements. This was the cause of a visual bug
where extra environments were shown in the project list.
2018-09-30 22:06:10 -04:00
Montana
5561bdc44c Fix deprecation warnings 2018-09-28 10:05:20 -04:00
Montana
38c855f579 Update Form to FlaskForm 2018-09-28 10:05:20 -04:00
Patrick Smith
a859af9eea Pass in request as jedi_request in request detail template
Fixes the user sessions/daily traffic fields not being shown when they
should be.
2018-09-28 09:48:41 -04:00
Patrick Smith
7d7afebede Update modal content for approval/acceptance 2018-09-28 09:48:41 -04:00
dandds
43363015fc do not set default kwarg for atat role when creating users 2018-09-27 15:21:00 -04:00
andrewdds
0c828fde1c Merge pull request #338 from dod-ccpo/make-ba-code-optional
Make BA code optional
2018-09-27 13:34:56 -04:00
Montana
5f0bfbd84c Revert test changes 2018-09-27 11:43:15 -04:00
Andrew Croce
522eeb4b99 Nope, not optional 2018-09-27 09:59:32 -04:00