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