index : sfrs

A Standard Notes Sync Server written in Rust

Commit message (Expand)AuthorAgeFilesLines
* README: switch mailing list to SourceHutHEADmasterPeter Cai2020-06-191-1/+1
* README: update repo and contact informationPeter Cai2020-06-191-1/+11
* add READMEPeter Cai2020-02-251-0/+61
* add AGPLv3 licensePeter Cai2020-02-241-0/+661
* main: set JSON body limit to 50MPeter Cai2020-02-241-1/+2
* add dockerfilePeter Cai2020-02-241-0/+28
* tests: make sure we test sync_tokens enc/dec algorithmPeter Cai2020-02-231-0/+35
* encrypt sync_token and cursor_tokenPeter Cai2020-02-236-7/+86
* enable busy_timeout for SQLitePeter Cai2020-02-236-54/+134
* api: items/sync: explain why we need the per-user lockPeter Cai2020-02-231-0/+13
* db: create indicies for quicker queryPeter Cai2020-02-222-0/+6
* item: better documentation on our "id"Peter Cai2020-02-221-0/+8
* api: items/sync: we don't produce uuid_conflictPeter Cai2020-02-221-15/+11
* api: rewrite conflict detection in iteratorsPeter Cai2020-02-223-34/+51
* api: use our shorthand method for returningPeter Cai2020-02-221-1/+1
* tests: add test for email formatPeter Cai2020-02-221-0/+16
* main: remove "extern crate"Peter Cai2020-02-222-7/+1
* api: validate email against regexPeter Cai2020-02-224-1/+14
* api: item/sync: use iterators and remove unnecessary mut and clonePeter Cai2020-02-221-21/+13
* api: items/sync: always set sync_token to latest IDPeter Cai2020-02-222-65/+34
* only allow one sync per user every timePeter Cai2020-02-223-1/+35
* api: item/sync: handle sync_token behind cursor_tokenPeter Cai2020-02-221-4/+33
* api: rewrite some comments on synchronization algorithmPeter Cai2020-02-211-8/+13
* item: remove TODO (implemented in api.rs)Peter Cai2020-02-211-1/+0
* api: items/sync: make sure we don't go beyond sync_tokenPeter Cai2020-02-211-5/+14
* items/sync: implement conflicts properlyPeter Cai2020-02-212-26/+116
* api: just return error on db failurePeter Cai2020-02-211-12/+3
* api: always update `updated_at` when insertingPeter Cai2020-02-211-1/+7
* drop JWT and use database-based session tokensPeter Cai2020-02-2111-122/+144
* api: item/sync: fix cursor_token and sync_token logicPeter Cai2020-02-212-16/+33
* api: retry twice for insertPeter Cai2020-02-211-4/+9
* api: return old tokens by defaultPeter Cai2020-02-211-2/+2
* item: stop handling date ourselvesPeter Cai2020-02-215-48/+14
* add user uuid and return it in auth response to match official implPeter Cai2020-02-217-9/+124
* change pw_cost to integer to match official implPeter Cai2020-02-214-6/+6
* main: add rocket_cors middlewarePeter Cai2020-02-213-5/+90
* try to implement items/syncPeter Cai2020-02-217-8/+268
* user: auth header should have Bearer prefixPeter Cai2020-02-212-3/+7
* user: implement authorization guardPeter Cai2020-02-213-5/+87
* add items table schemaPeter Cai2020-02-213-0/+35
* tests: add more test cases for auth APIPeter Cai2020-02-211-0/+87
* add global RwLock for SQLitePeter Cai2020-02-212-15/+48
* write some tests (they fail)Peter Cai2020-02-217-9/+140
* implement server-side scrypt to protect passwords betterPeter Cai2020-02-204-8/+216
* user: use iat instead of nbf (iat = issued-at)Peter Cai2020-02-201-2/+2
* api: implement auth/change_pwPeter Cai2020-02-202-0/+37
* implement auth/sign_inPeter Cai2020-02-205-4/+57
* api: implement auth/paramsPeter Cai2020-02-201-1/+30
* users: add shorthand for UserOpErrorPeter Cai2020-02-201-4/+10
* initial commitPeter Cai2020-02-2012-0/+1378