Commit Graph

1762 Commits

Author SHA1 Message Date
Dorian eb58c5b1f6 Add test randomization to flesh out tests. 2017-03-08 21:54:25 -05:00
Dorian 6f0ed08d0c Refactor user authentication tests. 2017-03-08 21:40:28 -05:00
Dorian 8446354b59 Refactor user authentication tests. 2017-03-08 21:25:23 -05:00
Dorian bba746b984 Simplifying the API server tasks. 2017-03-08 21:20:08 -05:00
Dorian 136e9c7fed Remove unused utility code. 2017-03-08 21:13:22 -05:00
Dorian f0edc6ebbf Remove manually past in DB connection.
Rely on environment variables instead.
2017-03-08 21:08:29 -05:00
Dorian 247136fd6f Fix where git info from container gets stored. 2017-03-08 08:26:38 -05:00
Dorian 282ecdddcb Release version 0.6.1 as a quick hotfix to version numbers. 2017-03-07 23:10:04 -05:00
Dorian 55cb3d9fcd Update changelog before tagging new version of Rookeries. 2017-03-07 17:29:55 -05:00
Dorian a59e942c0f Merged in issue-34-add-git-info-to-status (pull request #18)
Issue 34 add git info to status

Approved-by: Dorian Pula
2017-03-07 21:13:46 +00:00
Dorian 55e0ed513c Update changelog with work. 2017-03-07 15:56:08 -05:00
Dorian 496ac04cf0 Remove unused testing function for Flask. 2017-03-07 15:54:15 -05:00
Dorian f1f4c9cf01 Add git revision to the status endpoint. 2017-03-07 15:53:09 -05:00
Dorian 9c83de3225 Merged in issue-27-add-multi-user-support (pull request #17)
Issue 27 add multi user support

Approved-by: Dorian Pula
2017-03-07 13:24:49 +00:00
Dorian 2fb465ebec Update changelog with feature work. 2017-03-07 08:24:20 -05:00
Dorian da8aba962c Implement modification of users. 2017-03-07 01:01:03 -05:00
Dorian 7dc600755c Implement creation of users. 2017-03-06 18:21:04 -05:00
Dorian f4d22c8796 Add tests for attempting to create users with improper data. 2017-03-06 17:44:36 -05:00
Dorian b225b27e5d Add initial request checking and deserialization of users. 2017-03-06 09:04:02 -05:00
Dorian a3a43f7742 Replace code for changing ID to self link for user. 2017-03-05 20:57:12 -05:00
Dorian 1461ce281c Initial work on user creation. 2017-03-05 20:51:32 -05:00
Dorian 43a43eb48b Implement deletion of users. 2017-03-05 20:39:06 -05:00
Dorian 55a4e28cf4 Add links to user resource. 2017-03-05 18:38:39 -05:00
Dorian ea0c21a0a7 Add support and tests for user profiles. 2017-03-04 15:38:37 -05:00
Dorian 8aa2d4dd95 Build out assertion for existing user model. 2017-03-03 17:43:02 -05:00
Dorian 103d11b654 Add tests for getting own user accounts. 2017-03-02 21:09:29 -05:00
Dorian b2f115498b Improve the tests for user management. 2017-03-02 18:18:07 -05:00
Dorian 24ad951685 Notes to self. 2017-03-02 00:03:17 -05:00
Dorian 189bf0e19d Enable automatic generation of scenarios. 2017-03-01 23:58:05 -05:00
Dorian ce04805856 Add support to not allow unauthorized access of users dependent on roles. 2017-03-01 22:34:23 -05:00
Dorian 0eb3aaa776 Simplify models by using Flask-SQLAlchemy paradigms. 2017-03-01 13:39:53 -05:00
Dorian 9c20d5c251 Simplify views by using Flask-SQLAlchemy paradigms. 2017-03-01 13:37:12 -05:00
Dorian f412090a99 Migrate to using Flask-SQLAlchemy to be root of database entities. 2017-03-01 13:04:27 -05:00
Dorian f802f73b33 Fix flake8 issue. 2017-03-01 09:32:16 -05:00
Dorian 4aff4a8973 Significantly improve the error code. 2017-03-01 09:18:44 -05:00
Dorian d362883d72 Remove separate initialization of database. 2017-02-28 22:23:21 -05:00
Dorian bf1fca5bbf Add concept of a role to users. 2017-02-28 19:30:55 -05:00
Dorian 9c86d9f53b Abstract test user creation to simplify tests. 2017-02-28 17:43:08 -05:00
Dorian d48b1ad2b8 Reduce the number of options passed into API tests. 2017-02-28 17:32:35 -05:00
Dorian 9a26e4295c Remove use of sample site, and simplify tests for serving pages. 2017-02-28 17:26:58 -05:00
Dorian 0ad77413a6 Migrate test page into relevant test out of sample fixture.
Simplify test setup.
2017-02-28 14:19:55 -05:00
Dorian 095500c4c3 Migrate test admin user into relevant test out of sample fixture. 2017-02-28 11:54:43 -05:00
Dorian f5470f82e9 Fix issue and migrate setup of test user into module. 2017-02-28 10:53:23 -05:00
Dorian 6af113795a Use responses and separate user for testing user authentication. 2017-02-28 08:36:31 -05:00
Dorian 601eda7594 Add in support of db connections inside test fixtures.
Centralize the default database connection.
2017-02-28 08:25:27 -05:00
Dorian 91b98a7227 Bring DB connection into API testing setup, to prep migration away from sample site fixture setup. 2017-02-28 08:10:52 -05:00
Dorian 6d542a9a15 Merge API tests into a single command and category. 2017-02-26 23:26:49 -05:00
Dorian fe42964dd2 Update functional tests. 2017-02-25 16:51:39 -05:00
Dorian be99836182 Fix JWT setup and make sure tests pass. 2017-02-25 16:51:09 -05:00
Dorian 0cf031308b Enable tests for getting admin user by an admin user. 2017-02-25 16:03:23 -05:00