Commit Graph

727 Commits (109013e9ec2f6126624344657fa91cd14f105ac9)

Author SHA1 Message Date
Tom Hacohen ef92632885 Change to the production API and allow setting a custom server. 2017-12-04 14:45:01 +00:00
Tom Hacohen 0a05095da2 Home: redirect to the journals view. 2017-12-04 14:45:01 +00:00
Tom Hacohen d7c90ccb0a Move to material-ui. 2017-12-04 14:45:01 +00:00
Tom Hacohen 295867a439 Login form: add a missing prevent default. 2017-12-04 13:28:55 +00:00
Tom Hacohen 07c986b01d Add a very basic login page and cache the keys in session storage. 2017-12-03 23:49:16 +00:00
Tom Hacohen 2947607a45 Update type definitions for ICAL and fix type errors. 2017-12-03 22:30:42 +00:00
Tom Hacohen bd077ac996 Move to our own sjcl with everything built in. 2017-12-03 20:22:52 +00:00
Tom Hacohen f5c31a3dbe Add views for actual collection items.
I.e calendar events and address book content.
2017-12-03 20:06:53 +00:00
Tom Hacohen 8c20687a72 Split away the journal list item view from the jorunal view. 2017-12-03 13:44:23 +00:00
Tom Hacohen e92a9c9961 Improve presentation of journal log. 2017-12-03 13:27:32 +00:00
Tom Hacohen 8087f2d3f4 Fix to previous commit: fix redirect to entries page. 2017-12-03 12:59:03 +00:00
Tom Hacohen d4c49c1f55 Load the actual journal from the journal page.
This fixes viewing journals with version != 1.
2017-12-01 18:37:33 +00:00
Tom Hacohen 25bf249d9f Improve journal page. 2017-12-01 18:15:08 +00:00
Tom Hacohen af921e1b28 Move the header back outside of the internal components. 2017-12-01 17:58:27 +00:00
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.
2017-12-01 17:42:57 +00:00
Tom Hacohen 6f9c783159 Cleanup the route resolver a bit. 2017-12-01 16:26:11 +00:00
Tom Hacohen 7dd8248aab Added a hacky journal view.
A lot of code duplication.
2017-12-01 16:18:11 +00:00
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 778999861e Add warning to TODO. 2017-12-01 12:16:14 +00:00
Tom Hacohen cdbcf83791 Add license and update README. 2017-12-01 12:08:52 +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 2d6628038d Adjust a few of the defaults. 2017-11-30 11:08:47 +00:00
Tom Hacohen 3a60a35a99 Initial commit. 2017-11-30 11:06:15 +00:00