rewriting models against new Modinha version with Redis persistence. incomplete.
RedisDocument mixin postExtend hook creates find methods for unique and secondary indexes. RedisDocument.create indexes unique and secondary values, and by referenced objects.
RedisDocument ensures timestamps are defined on schema
completed update to model code throughout the system; tests rewritten to make extensive use of spies and stubs; renamed models to be more developer friendly; moved custom error definitions into separate files in a new directory; eliminated dependency on oauth2orize; reorganized routes directory; way too much for one commit...
delete RedisDocument+test
updated model "replace" tests to cover replacing unknown objects
model test coverage for patching unknown objects
model test coverage for deleting unknown objects
REST PUT routes respond 404 with unknown resource
REST PATCH routes respond 404 with unknown resource
REST DELETE routes respond 404 with unknown resource
configurable redis client; redis session store; environment specific config files; corrected password grant middleware to include private values with account and get apps by key instead of id; removed unneeded object initializations in routes