Commit Graph

125 Commits

Author SHA1 Message Date
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 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
Dorian 99d404a3f0 Resolve issues with flask-jwt using a vendored patch of project.
Also resolve issues with dict.
2017-02-24 23:07:54 -05:00
Dorian 274a996125 Remove autocommit by adding proper transactions for initial data import. 2017-02-24 21:59:04 -05:00
Dorian a95e8c9d2e Add autocommit to the database to fix some issues. 2017-02-24 19:46:52 -05:00
Dorian e4e57a5b09 Attempt to fix user table issue.
Add logging to app configuration.
2017-02-24 09:02:38 -05:00
Dorian e7062bb9bb Start work on users json et cetera. 2017-02-06 08:58:06 -05:00
Dorian 0c622bc18e Document states and visibilities of content. 2017-02-06 08:52:54 -05:00
Dorian d56e6fd867 Document concepts and ideas behind Rookeries sites, users, content, etc. 2017-02-06 08:47:58 -05:00
Dorian 8882d198bc Add notes about what to figure out next. 2017-02-02 09:36:08 -05:00
Dorian 41f45b7d40 Transition user into a database model. 2017-02-01 23:42:20 -05:00
Dorian 05cdfc00e7 Add JWT authentication to endpoints and update tests for user management. 2017-02-01 08:40:26 -05:00
Dorian dfbfc32c27 Add initial attempt at user management endpoint.
Fix issue with marking tests.
2017-02-01 07:49:32 -05:00
Dorian de81f28dcc Add support for running individual marked tests. 2017-01-31 17:34:04 -05:00
Dorian 958945f5fa Fix flake8 issues. 2017-01-31 14:58:10 -05:00
Dorian 9f009cc3e2 Start creation of models and views related to user management. 2017-01-31 08:25:53 -05:00
Dorian fa3d54a103 Merge up from master. 2016-12-30 13:39:41 -05:00
Dorian 7aa553b715 Update changelog with updating to Python 3.6 2016-12-29 22:58:53 -05:00
Dorian 14041f9cd5 Convert format template strings into new embedded format string. 2016-12-29 22:39:51 -05:00
Dorian 3ab5a34954 Upgrade to Python 3.6 2016-12-29 22:07:14 -05:00
Dorian d7f6d694f2 Change test steps to be closer to bdd test capabilities. 2016-12-22 17:14:09 -05:00
Dorian 786b867dd1 Create initial steps for creating an admin user. 2016-12-22 08:51:40 -05:00
Dorian f7d44cac2f Add functional tests for user management. 2016-12-21 17:53:51 -05:00
Dorian 4f8de8e4a7 Bring branch up to date with master. 2016-12-21 09:03:51 -05:00
Dorian b1a435fd27 Remove Rote based build setup, update docs and remove need for storing saucelabs assets in the home directory. 2016-12-16 21:34:20 -05:00
Dorian 732b5a7ad6 Fix makefile issue and update changelog. 2016-12-14 09:29:44 -05:00
Dorian 0a9ba1f45c Issue 30: Improve user authentication test to assert JWT token validity. 2016-12-05 20:53:18 -05:00
Dorian b2f48d2648 Issue 30: Improve test configuration and initial setup of tests of the site management. 2016-12-02 09:18:22 -05:00
Dorian e1061150f1 Issue 30: Improve functional tests for site management and update docs. 2016-12-02 08:27:57 -05:00
Dorian 7e2c937db5 Issue 30: Create an outline of the tests for the management of the site. 2016-12-01 17:51:17 -05:00
Dorian 4a71baf642 Issue 30: Ensure test documentation is consistent with test type naming. 2016-11-30 22:02:12 -05:00
Dorian a0890d9096 Issue 30: Refactor the functional tests fixture into a single fixture. 2016-11-30 21:44:20 -05:00
Dorian 0c429b6c15 Issue 28: Fix issue with bad bash syntax error causing uwsgi to fail at startup. 2016-11-30 11:07:33 -05:00