Drew Short
26c9c33bc7
Adding documentation about the note and expirationTime login options
6 years ago
Drew Short
49c712ab50
Allow login to define created token properties
* Changed the header to be Authorization: Bearer <Token>
* Hedged the deserializer to return empty models on empty json
6 years ago
Drew Short
cb6caf4ac1
Adding sphinxjsondomain to document json objects
6 years ago
Drew Short
747ebed08b
Added paginated user endpoint
* Updated User API documentation
6 years ago
Drew Short
dfc0a550ab
Updating API documentation with json object notation
6 years ago
Drew Short
9168fa9ca0
Updating the user api documentation to have the correct success meanings
6 years ago
Drew Short
25796148b9
Adding GitLab pages integration
6 years ago
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
7 years ago
Drew Short
99412dc7a2
Attempting to resolve differences between CI and dev environment
7 years ago
Drew Short
b483ec3d54
Fix pipenv dev dependencies and address pylint complaints
7 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
7 years ago
Drew Short
ba9c6aa3f6
Patching service backed by validation service.
7 years ago
Drew Short
013130e064
Fix returned exception for invalid token
7 years ago
Drew Short
54ec24f327
Simple patching service. Missing full validation.
7 years ago
Drew Short
cfa367a9d4
Standardize serialization around db.Model and adjust raised errors
7 years ago
Drew Short
64bd6190cd
Simplify registering transformers
* Added a test to assert the error for registering the same model twice
7 years ago
Drew Short
828ee35096
Added a hierarchical Role system and lookup for the authentication.
7 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
7 years ago
Drew Short
62febebe8a
Fix a pycodestyle violation
7 years ago
Drew Short
e2de2699fd
Allow transformation service to handle serialization and deserialization
7 years ago
Drew Short
897b7154e3
Disable sessions
7 years ago
Drew Short
8fed7b57ba
Add serializer for UserToken and update tests
7 years ago
Drew Short
c6648080da
Fix a naming issue with the API response
7 years ago
Drew Short
ff600b56a0
Adding basic model serialization and a simple User api
7 years ago
Drew Short
a682a13cac
Address renamed atheneum application
7 years ago
Drew Short
d2ddef20c8
Fix pydocstyle complaints
7 years ago
Drew Short
f7b6586a61
Working on integrating pylint and pydocstyle into the build process
7 years ago
Drew Short
5f792429a6
Adding example mocking tests
7 years ago
Drew Short
5dcbb89d79
Added a simple bash script to run codestyle, mypy, pytest, and coverage
7 years ago
Drew Short
ffed367e2a
Address mypy complaints
7 years ago
Drew Short
3282608ef6
Address pycodestyle complaints with tests
7 years ago
Drew Short
21e5daacbd
Adding mypy validations and validating codestyle in tests
7 years ago
Drew Short
207c72fe54
Address pycodestyle complaints
7 years ago
Drew Short
72a032f880
Adding codestyle enforcement
7 years ago
Drew Short
7af6b9b8f9
Add coverage reporting
7 years ago
Drew Short
334efca0b5
Pushing tests and updating the pipfile.lock
7 years ago
Drew Short
43fc990ddc
Adding some simple tests for the login/bump/logout features
7 years ago
Drew Short
54960ee284
Adding missing files
7 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
7 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