1174 Commits

Author SHA1 Message Date
dandds
b8feb96644 error pages should not show navigation 2018-08-07 10:39:54 -04:00
dandds
7dbce11dd0 use DOD_SDN from mocks 2018-08-07 10:39:54 -04:00
dandds
79a344b70f remove logger statement 2018-08-07 10:39:54 -04:00
dandds
a75cb707f9 apply authentication to the whole app, track exceptions 2018-08-07 10:39:54 -04:00
richard-dds
cb3d94537b Name unique constrains on User model 2018-08-07 10:39:54 -04:00
dandds
d7d7fdcf6b better test name 2018-08-07 10:39:54 -04:00
dandds
2cd684ec3c fix bug in login-dev endpoint; set current_user on login 2018-08-07 10:39:54 -04:00
dandds
2c606f7d00 implement CRL checking from authnid 2018-08-07 10:39:54 -04:00
dandds
2d5651a21d apply auth requirement to virtually all endpoints 2018-08-07 10:39:54 -04:00
dandds
ed1e8bffd1 fix workspace_members template 2018-08-07 10:39:54 -04:00
dandds
b8fe460ccd extract get_current_user, fix tests 2018-08-07 10:39:54 -04:00
dandds
e867415600 implement authentication redirect 2018-08-07 10:39:54 -04:00
dandds
39319010c2 reimplement dev login 2018-08-07 10:39:54 -04:00
dandds
2b70f36272 401 unauthorized page for bad logins 2018-08-07 10:39:53 -04:00
dandds
bcb5d9dbda fix session config (d'oh) 2018-08-07 10:39:53 -04:00
richard-dds
132c82de80 Implement log_in_user 2018-08-07 10:39:53 -04:00
richard-dds
1548df6346 Add Users.get_by_dod_id 2018-08-07 10:39:53 -04:00
richard-dds
57cfcd9702 Simplify method signatures in Users 2018-08-07 10:39:53 -04:00
richard-dds
38a4b1bc86 Convert Users, Roles, WorkspaceUsers, TaskOrders to use classmethods 2018-08-07 10:39:53 -04:00
richard-dds
9bb9dbb070 Install pytest-flask as a dev package 2018-08-07 10:39:53 -04:00
dandds
b11971d50b import authnid sdn utils 2018-08-07 10:39:53 -04:00
dandds
3aff566583 add CRL functionality from authnid 2018-08-07 10:39:53 -04:00
dandds
c7d042adb8 import user model changes from authnid 2018-08-07 10:39:53 -04:00
Patrick Smith
a62d55e093 Compile assets before starting server 2018-08-07 10:39:53 -04:00
Patrick Smith
19ae2646fd Add redishost when running tests 2018-08-07 10:39:53 -04:00
Patrick Smith
21f132d34d Configure CI redis URI 2018-08-07 10:39:53 -04:00
Patrick Smith
8548f9c17d Startup redis similar to postgres 2018-08-07 10:39:53 -04:00
Patrick Smith
e1841e021b Remove quotes from base config 2018-08-07 10:39:53 -04:00
Patrick Smith
0143cc3659 Remove unused import 2018-08-07 10:39:53 -04:00
Patrick Smith
380e5cec6e Import Icon in options input 2018-08-07 10:39:53 -04:00
Patrick Smith
8d2fe8ca9c Specify public URL for parcel builds 2018-08-07 10:39:53 -04:00
Patrick Smith
e2be6d05f4 Add note to README on running yarn watch 2018-08-07 10:39:53 -04:00
Patrick Smith
8109cbdb5a Clean up some example JS code 2018-08-07 10:39:53 -04:00
Patrick Smith
55ff2cf9f2 Compile assets before running CI tests 2018-08-07 10:39:53 -04:00
Patrick Smith
4f21c39be5 Run tests on CI with the CI env 2018-08-07 10:39:53 -04:00
Patrick Smith
793f8acb74 Update scriptz to use correct database name 2018-08-07 10:39:53 -04:00
Patrick Smith
6937d88361 Revert "Revert "CI should use the test database""
This reverts commit 94cf6a21dd25d464c383647089b5523a0509ff07.
2018-08-07 10:39:53 -04:00
Andrew Croce
8472c678ea ignore static/assets 2018-08-07 10:37:35 -04:00
Andrew Croce
64b40c0cf3 Reorganize macros into separate component files
Replace a few old UI Module instances with  macros
2018-08-07 10:37:35 -04:00
Patrick Smith
a0082a2ae2 Revert "CI should use the test database"
CI needs to use the regular databse during setup and should use the test
database when running tests only

This reverts commit 9bc64ba269c99ab6da24dca475d0d5ff22c9474d.
2018-08-07 10:37:35 -04:00
Patrick Smith
51161dce3d Resolve conflicts in pipfile.lock after adding flask-wtf back 2018-08-07 10:37:35 -04:00
dandds
2a3e62e66e CI should use the test database 2018-08-07 10:37:35 -04:00
dandds
c468b01855 have test script to reset test database 2018-08-07 10:37:35 -04:00
Andrew Croce
d45b4354f9 Remove styles and js from assets 2018-08-07 10:36:08 -04:00
Andrew Croce
d7d1345001 Add ending script tag 2018-08-07 10:36:08 -04:00
Andrew Croce
434fe69f2a use a consistent filename for output 2018-08-07 10:36:08 -04:00
Andrew Croce
1ec82cd6ea move styles and js to the root directory 2018-08-07 10:36:08 -04:00
Patrick Smith
dacb950349 Add flask-wtf dependency back 2018-08-07 10:36:08 -04:00
Patrick Smith
bf9e7e11d4 Resolve lint warning 2018-08-07 10:36:08 -04:00
richard-dds
5754514c08 Use Flask-Sessions for session management 2018-08-07 10:36:08 -04:00