167 Commits (29ffb5a74bc4ca7960e1555b00e3220d87242451)

Author SHA1 Message Date
Tom Hacohen f5c31a3dbe Add views for actual collection items.
I.e calendar events and address book content.
7 years ago
Tom Hacohen 8c20687a72 Split away the journal list item view from the jorunal view. 7 years ago
Tom Hacohen e92a9c9961 Improve presentation of journal log. 7 years ago
Tom Hacohen 8087f2d3f4 Fix to previous commit: fix redirect to entries page. 7 years ago
Tom Hacohen d4c49c1f55 Load the actual journal from the journal page.
This fixes viewing journals with version != 1.
7 years ago
Tom Hacohen 25bf249d9f Improve journal page. 7 years ago
Tom Hacohen af921e1b28 Move the header back outside of the internal components. 7 years ago
Tom Hacohen 132f63e2a6 Move all of the etesync context to a separate place.
This means that encryption key derivation and token access
are not called as often.
7 years ago
Tom Hacohen 6f9c783159 Cleanup the route resolver a bit. 7 years ago
Tom Hacohen 7dd8248aab Added a hacky journal view.
A lot of code duplication.
7 years ago
Tom Hacohen 557e5ec0b4 Add basic routing. 7 years ago
Tom Hacohen b9798f1b13 Switch to the hash router for security.
This is needed to avoid accidentally leaking urls to the server.
7 years ago
Tom Hacohen bba3282def Add a basic journal list view. 7 years ago
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.
7 years ago
Tom Hacohen 11aa1ffd94 API: first verify, then try to decrypt! 7 years ago
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.
7 years ago
Tom Hacohen 3a60a35a99 Initial commit. 7 years ago