Commit Graph

1030 Commits

Author SHA1 Message Date
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
Dorian 54b0caef16 Workaround issues with CircleCI btrfs volume issues. 2017-02-25 12:25:31 -05:00
Dorian 9c6753b143 Attempt to work around CircleCI issues by upgrading docker-compose. 2017-02-25 11:51:53 -05:00
Dorian f6948ec465 Remove external database port from docker-compose. 2017-02-24 23:29:08 -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 1ea3bbee66 Workaround error in CircleCI builds. 2017-01-31 14:12:11 -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 Pula 6e74a74d57 Merged in issue-32-python-3-6-upgrade (pull request #16)
Upgrade to Python 3.6
2016-12-29 22:56:29 -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 Pula 79c2a3a484 Merged in issue-30-add-api-support-for-site-manipulation (pull request #15)
Issue 30 add api support for site manipulation
2016-12-21 09:04:59 -05:00
Dorian 4f8de8e4a7 Bring branch up to date with master. 2016-12-21 09:03:51 -05:00
Dorian ef6fd03b26 Fix README badges. 2016-12-16 23:16:16 -05:00
Dorian b8b86a5527 Fix README badges. 2016-12-16 23:13:53 -05:00
Dorian Pula 237a7b2569 Merged in migrate-to-make (pull request #14)
Migrate to make
2016-12-16 22:56:09 -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