Drew Short
9b91964fb9
Finish documentation work for 2018.8.1
* Added a delete method for the user_api
* Added a password strength verification
* Allow the registration of a user to include a desired password
* Raised validation errors instead of value errors
* Added a 404 error handler to return a json APIMessage alongside the 404
6 years ago
Drew Short
3377a17146
Add basic sphinx documentation scaffold
6 years ago
Drew Short
3991bb45ea
Removing links
6 years ago
Drew Short
c128778e7f
Adding links to files
6 years ago
Drew Short
b91dff8b97
Added basic repository documentation
6 years ago
Drew Short
1a74b7a02b
Pinned dev resources.
* Make sure to run pipenv update --dev to have the latest linters
* Ignored the useless-return for the session blocker
6 years ago
Drew Short
99412dc7a2
Attempting to resolve differences between CI and dev environment
6 years ago
Drew Short
b483ec3d54
Fix pipenv dev dependencies and address pylint complaints
6 years ago
Drew Short
c811849e77
Validated patch mechanism works on User
* Fixed datetime deserializer
* Changed patch functionality to be the intersection of passed in keys and attributes from the model
* This prevents None attributes on patch model from being set on the original model, unless a null was passed in with the key for that attribute
* Nullable field validators need to be automatically generated on the model
* Updated tests to accommodate changes
* Added iso8601 library to handle parsing incoming rfc3339 datetimes
6 years ago
Drew Short
ba9c6aa3f6
Patching service backed by validation service.
6 years ago
Drew Short
013130e064
Fix returned exception for invalid token
6 years ago
Drew Short
54ec24f327
Simple patching service. Missing full validation.
6 years ago
Drew Short
cfa367a9d4
Standardize serialization around db.Model and adjust raised errors
6 years ago
Drew Short
64bd6190cd
Simplify registering transformers
* Added a test to assert the error for registering the same model twice
6 years ago
Drew Short
828ee35096
Added a hierarchical Role system and lookup for the authentication.
6 years ago
Drew Short
1bccbc413c
Added error handlers to return APIResponse objects as JSON
* Added endpoint to register users
* Added decorator to require roles for endpoints
* Refactored and cleaned up code
6 years ago
Drew Short
62febebe8a
Fix a pycodestyle violation
6 years ago
Drew Short
e2de2699fd
Allow transformation service to handle serialization and deserialization
6 years ago
Drew Short
897b7154e3
Disable sessions
6 years ago
Drew Short
8fed7b57ba
Add serializer for UserToken and update tests
6 years ago
Drew Short
c6648080da
Fix a naming issue with the API response
6 years ago
Drew Short
ff600b56a0
Adding basic model serialization and a simple User api
6 years ago
Drew Short
a682a13cac
Address renamed atheneum application
6 years ago
Drew Short
d2ddef20c8
Fix pydocstyle complaints
6 years ago
Drew Short
f7b6586a61
Working on integrating pylint and pydocstyle into the build process
6 years ago
Drew Short
5f792429a6
Adding example mocking tests
6 years ago
Drew Short
5dcbb89d79
Added a simple bash script to run codestyle, mypy, pytest, and coverage
6 years ago
Drew Short
ffed367e2a
Address mypy complaints
6 years ago
Drew Short
3282608ef6
Address pycodestyle complaints with tests
6 years ago
Drew Short
21e5daacbd
Adding mypy validations and validating codestyle in tests
6 years ago
Drew Short
207c72fe54
Address pycodestyle complaints
6 years ago
Drew Short
72a032f880
Adding codestyle enforcement
6 years ago
Drew Short
7af6b9b8f9
Add coverage reporting
6 years ago
Drew Short
334efca0b5
Pushing tests and updating the pipfile.lock
6 years ago
Drew Short
43fc990ddc
Adding some simple tests for the login/bump/logout features
6 years ago
Drew Short
54960ee284
Adding missing files
6 years ago
Drew Short
695c2456de
Major quality of life changes
* Refactored code and modules for consistency/readability
* Updated primary migration script
* Impletmented rudimentary User and UserToken services
* Started work on adding testing
* Broke API into blueprints, starting with authentication
* Added a simple cli manage.py utility
* Added a Dockerfile to create a runnable Atheneum instance
6 years ago
Drew Short
080263cca6
server: Working migrations with alembic
7 years ago
Drew Short
9d38c982fa
server: Return a dict for the login
7 years ago
Drew Short
e9dd55a35f
server: fix return_json method return values
7 years ago
Drew Short
0412f92a5a
server: initial commit with simple API for login, login_bump, logout
7 years ago