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
778999861e
Add warning to TODO.
7 years ago
Tom Hacohen
cdbcf83791
Add license and update README.
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
2d6628038d
Adjust a few of the defaults.
7 years ago
Tom Hacohen
3a60a35a99
Initial commit.
7 years ago
Tom Hacohen
cea4f318ca
README: Add a note about supporting etesync.
7 years ago
Tom Hacohen
e57279149d
README: fix typo
7 years ago
Tom Hacohen
64116e58a5
Add a readme.
7 years ago
Tom Hacohen
932d3803ed
Initial commit of the actual server code.
7 years ago
Tom Hacohen
a3a1c5d186
Initial commit: add license.
7 years ago