Commit Graph

607 Commits (f372f36005204c8cf6b0d518496f04c75b5f98f0)

Author SHA1 Message Date
Tom Hacohen 557e5ec0b4 Add basic routing. 2017-12-01 15:44:38 +00:00
Tom Hacohen b9798f1b13 Switch to the hash router for security.
This is needed to avoid accidentally leaking urls to the server.
2017-12-01 15:34:07 +00:00
Tom Hacohen bba3282def Add a basic journal list view. 2017-12-01 15:33:30 +00:00
Tom Hacohen 9fd1b31299 Fix journal not having version set.
This commit also cleans up the sharing between the json from the API and
the internal state of the object.
2017-12-01 15:16:36 +00:00
Tom Hacohen 11aa1ffd94 API: first verify, then try to decrypt! 2017-12-01 14:10:58 +00:00
Tom Hacohen e0cc13cfd2 Initial code import of the etesync encryption and service module
This will be a small library in the end, but at the moment it's in this
repo for convenience. It includes the etesync service, crypto and tests
to cover them.

The tests require a running debug etesync server.

To create one, just create a server from:
https://github.com/etesync/server-skeleton/

Set DEBUG to True, and create a test user with the credentials that are
listed in the test files.
2017-12-01 12:05:29 +00:00
Tom Hacohen 3a60a35a99 Initial commit. 2017-11-30 11:06:15 +00:00