28 Commits (5cdf5d5563be1f2ca35f282ceeed8b0fdc04e436)

Author SHA1 Message Date
Tom Hacohen 73897700d9 Automatically create the default journals if there are none. 6 years ago
Tom Hacohen c25ac2d6c0 Improve error handling. 7 years ago
Tom Hacohen 5842b7074a Login form: show a better error message. 7 years ago
Tom Hacohen cf823f5efe Implement fetching userInfo and opening shared journals. 7 years ago
Tom Hacohen 80e9805d22 AsymmetricCrypto: we actually using pkcs8 not 1. 7 years ago
Tom Hacohen 12b578d44c UserInfo: Fix the HMAC calculation function. 7 years ago
Tom Hacohen 00045d7cb0 CryptoManager: Add an option to load an already derived key. 7 years ago
Tom Hacohen 9a8f1cd33f Add AsymmetricCryptoManager for asymmetric encryption. 7 years ago
Tom Hacohen 3353b21162 CryptoManager: fix decrypt/encrypt bits type. 7 years ago
Tom Hacohen 1f961fbad1 UserInfo: implement setting and getting the keypair. 7 years ago
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