18 Commits (45db0c12c56619561fe648dffb46750ab1af17ec)

Author SHA1 Message Date
Tom Hacohen 45db0c12c5 Crypto manager: add methods to encrypt/decrypt from/to bytes. 7 years ago
Tom Hacohen fb738622fe API: Add API to handle UserInfo. 7 years ago
Tom Hacohen 52f7d4ddd5 Base JSON: serialise should return the template type. 7 years ago
Tom Hacohen 3d9155e306 EteSync: expose journal owner. 7 years ago
Tom Hacohen cec318f41f Api: rename tsx files to ts. 7 years ago
Tom Hacohen e22b520b5a EteSync api: fill in the collection info's uid. 7 years ago
Tom Hacohen 221bdd4716 Use the sjcl random number generator for encryption. 7 years ago
Tom Hacohen 2507dfd5b3 Fix issue with sync entry being set and get differently. 7 years ago
Tom Hacohen 058bb6dca9 Persist cache in localforage 7 years ago
Tom Hacohen fe6490a098 Show raw journal items when clicked. 7 years ago
Tom Hacohen 1bf6314ac3 EteSync: fix the sync entry action constant for Delete. 7 years ago
Tom Hacohen f5c31a3dbe Add views for actual collection items.
I.e calendar events and address book content.
7 years ago
Tom Hacohen e92a9c9961 Improve presentation of journal log. 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 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