Commit Graph

125 Commits

Author SHA1 Message Date
Dorian a038ee22c9 Issue 28: Fix YAML syntax error in circleci config. 2016-11-30 10:47:12 -05:00
Dorian c9278d859e Issue 28: Update changelog documentation. 2016-11-29 17:49:43 -05:00
Dorian d7d8e07930 Issue 28: Bring in uwsgi server startup inside invoke script.
Make uwsgi a requirement of the Rookeries API.
2016-11-29 17:48:08 -05:00
Dorian 044f99a67b Update the changelog with fix. 2016-11-29 17:33:32 -05:00
Dorian 7a35518599 Fix error handling and upgrade to the latest version of Flask. 2016-11-29 17:31:20 -05:00
Dorian 90243d5002 Filter by API keys on site views. 2016-11-23 23:47:48 -05:00
Dorian 688d9684a2 Make sure webapp adds the API key when calling the API server. 2016-11-23 23:45:07 -05:00
Dorian 7763985217 Add enforcement to check API keys in requests in API.
Speed up build of webapp Docker image.
Ensure rebuilding of the container whenever the database is bootstrapped.
2016-11-23 22:12:42 -05:00
Dorian d29bd7f9f7 Add in second site into samples to act as a way to test site API functionality. 2016-11-23 08:31:31 -05:00
Dorian fbed252028 Make terminology consistent for sites and pages. 2016-11-22 10:47:24 -05:00
Dorian 6ced790023 Transition endpoints to something more uniform for apps and menus. 2016-11-22 09:53:04 -05:00
Dorian 4be213b8f3 Migrate site information to database. Update app appropriately. 2016-11-22 08:51:17 -05:00
Dorian b229400557 Fix relationships between site and the menu models.
Make strings consistent across API.
2016-11-21 23:56:15 -05:00
Dorian 6520e57696 Add initial model setup for a site. 2016-11-21 20:31:36 -05:00
Dorian fddeee1cc5 Migrate site specific views to separate module for further development. 2016-11-20 15:59:02 -05:00
Dorian accb9536c9 Rename journal to pages to be consistent with new terminology.
Simplify pip requirements into a single file.
2016-11-20 14:55:08 -05:00
Dorian b2fd7ec7eb Update documentation and build to only mention PostgreSQL rather than CouchDB. 2016-11-19 10:12:42 -05:00
Dorian bdeda86c92 Add in requests as a requirement. 2016-11-18 22:53:31 -05:00
Dorian 9387a89393 Migrate loading and saving of pages to use postgres. 2016-11-18 22:38:48 -05:00
Dorian 1917f7448d Start working creating a sample database for the server tests. 2016-11-18 08:56:19 -05:00
Dorian 303b338804 Update test database to connect to postgres instead of couchdb. 2016-11-17 14:56:35 -05:00
Dorian dcc8fa02ef Update db connection string passing to tasks in API. 2016-11-17 10:55:17 -05:00
Dorian 8cd78220be Initial setup of Postgres as a replacement for CouchDB. 2016-11-16 21:07:39 -05:00
Dorian be2a3a20da Fix issue with access token not being encodeable because it was a byte string. 2016-11-16 19:53:30 -05:00
Dorian 1531fd68f0 Add dumb-init to better control started services.
Update documentation to reflect work.
2016-11-16 19:42:05 -05:00
Dorian 3072faa2e3 Fix unit tests for API. 2016-11-16 17:42:53 -05:00
Dorian cdc6f95af8 Fix issue with traceback call. 2016-11-16 14:36:54 -05:00
Dorian 3a1526e8d8 Fix test failures following port to Python 3. 2016-11-16 13:44:17 -05:00
Dorian 7f1945bd6c Migrate Rookeries api to Python 3.5 2016-11-16 08:38:30 -05:00
Dorian 3cd59501bd Add pdbpp to help with debugging issues. 2016-11-12 23:09:21 -05:00
Dorian 0b4ec7b62c Add invalid credentials functional tests. 2016-11-12 23:01:25 -05:00
Dorian 96c1247ef3 Add user authentication tests. 2016-11-09 08:06:24 -05:00
Dorian 9f202798e0 Remove future potential functionality.
Migrate flake8 settings to command line.
2016-11-08 19:03:48 -05:00
Dorian 3fbcb5d198 Fix up copyright notices, and minor documentation fixes. 2016-11-07 17:52:49 -05:00
Dorian 0dadc8b83f Fix functional test assertion. 2016-11-07 17:41:13 -05:00
Dorian e307d29202 Work around when step not producing an appropriately usable fixture. 2016-11-07 17:33:39 -05:00
Dorian 345cea11cd Fix use of wrong port for API functional test. 2016-11-07 10:31:33 -05:00
Dorian b50c53052f Fix issue with calling user auth in API webtest. 2016-11-07 10:16:23 -05:00
Dorian 4f603e0c70 Update API functional tests to test against API rather than browser. 2016-11-07 08:59:26 -05:00
Dorian f41e816732 Remove unused import for pexpect. 2016-11-06 23:26:27 -05:00
Dorian 0929f05f51 Remove start of test server in API functional tests. 2016-11-06 21:58:15 -05:00
Dorian e0947e4c36 Merge branch 'master' into enable-feature-tests
# Conflicts:
#	api/requirements-dev.txt
#	api/tasks/test.py
#	circle.yml
2016-11-06 21:47:55 -05:00
Dorian 371276666f Clean up functional test setup.
Remove splinter based functional tests.
Migrate JS tests appropriately.
2016-11-06 21:44:53 -05:00
Dorian 6402a3b3dc Revert to older working CouchDB. 2016-11-05 09:10:55 -04:00
Dorian a470286326 Make sure to use right CouchDB Docker image name. Minor documentation fixes. 2016-11-04 22:38:32 -04:00
Dorian fd715535cd Upgrade to use latest stable version of couchdb. 2016-11-04 22:19:57 -04:00
Dorian 46c2b7da2d Fix issue with landing page erroring out. 2016-11-04 21:03:33 -04:00
Dorian 53189dc40e Release the long awaited version 0.5.0. 2016-11-04 02:40:45 -04:00
Dorian 8b2f15c25d Add more logging and error handling around page retrieval. 2016-11-03 23:47:51 -04:00
Dorian e192245683 Fix log disabling behaviour, and increase logging for application. 2016-11-03 22:11:19 -04:00
Dorian 22eb45dcde Add basic logging to the application. Needs more work to debug issue. 2016-11-03 18:58:11 -04:00
Dorian ed24779f7e Add additional logging to Rookeries. 2016-11-03 08:16:41 -04:00
Dorian d66f5aa017 Bring in changes from the enable feature tests. 2016-10-31 23:59:59 -04:00
Dorian 8e7f1f7deb Attempt to use newer version of saucelabs connect to resolve issue. 2016-10-31 18:56:56 -04:00
Dorian 97065d1116 Update dependencies to keep in sync with project developments, and to potentially fix SauceLab issues. 2016-10-29 10:40:19 -04:00
Dorian 3cb28e6977 Update security to be changeable via env variables. 2016-10-26 08:50:22 -04:00
Dorian 51b8a3a63c Remove tasks for deployment and testing of tasks. 2016-10-25 19:17:42 -04:00
Dorian 8972c1c9f3 Remove vagrant and frontend tasks from API service.
Update the README.
2016-10-25 17:42:56 -04:00
Dorian 597e73a753 Add changelog entry for version 0.5.0. 2016-10-25 15:28:56 -04:00
Dorian 0f44a88ade Fix bug in the tasks. 2016-10-24 20:33:41 -04:00
Dorian 49c860c9c0 Fix minor flake8 style issue. 2016-10-24 13:50:49 -04:00
Dorian b55d2a3dbb Fix bootstrapping of API database. 2016-10-24 08:37:56 -04:00
Dorian d6a9b6c554 Add ability to forward calls to api in frontend. 2016-10-24 04:04:24 -04:00
Dorian 3d24d4d5e0 Move docs down to api to allow for building of sample content. 2016-10-23 17:30:31 -04:00
Dorian 918a5bf2fe Fix invoking npm tests.
Fix import issue with API server tests.
2016-10-22 11:11:41 -04:00
Dorian d9c3b58174 Fix API test setup and parallelize CI builds.
Enable proper building of frontend.
2016-10-22 10:47:32 -04:00
Dorian 8c04ce61c9 Fix up Rookeries API to work off its own installed directory instead. 2016-10-22 00:57:39 -04:00
Dorian 31904879e1 Make Dockerfile builds quieter.
Update README to show use of CircleCI.
2016-10-21 23:43:25 -04:00
Dorian afbfb41f12 Fix Dockerfile for the API. 2016-10-21 21:19:28 -04:00
Dorian e2067dc9de Migrate tasks into API component.
Remove unused make and CI configurations.
2016-10-21 20:58:29 -04:00
Dorian d4688bbb4d Fix invoke task runner setup. 2016-09-06 18:04:21 -04:00
Dorian fe186c93df Fix imports for Rookeries API component.
Separate API from frontend in Docker components.
2016-09-06 15:25:50 -04:00
Dorian 76c177aa2e Readd tasks back into the project. 2016-09-06 08:56:33 -04:00
Dorian a06ee69cf1 Add tests back. 2016-09-06 08:38:43 -04:00
Dorian 24b35834e3 Split up project into separate API and frontend server components. 2016-09-06 08:37:41 -04:00