index
: sfrs
A Standard Notes Sync Server written in Rust
about
summary
refs
log
tree
commit
diff
Commit message (
Expand
)
Author
Age
Files
Lines
*
README: switch mailing list to SourceHut
HEAD
master
Peter Cai
2020-06-19
1
-1
/
+1
*
README: update repo and contact information
Peter Cai
2020-06-19
1
-1
/
+11
*
add README
Peter Cai
2020-02-25
1
-0
/
+61
*
add AGPLv3 license
Peter Cai
2020-02-24
1
-0
/
+661
*
main: set JSON body limit to 50M
Peter Cai
2020-02-24
1
-1
/
+2
*
add dockerfile
Peter Cai
2020-02-24
1
-0
/
+28
*
tests: make sure we test sync_tokens enc/dec algorithm
Peter Cai
2020-02-23
1
-0
/
+35
*
encrypt sync_token and cursor_token
Peter Cai
2020-02-23
6
-7
/
+86
*
enable busy_timeout for SQLite
Peter Cai
2020-02-23
6
-54
/
+134
*
api: items/sync: explain why we need the per-user lock
Peter Cai
2020-02-23
1
-0
/
+13
*
db: create indicies for quicker query
Peter Cai
2020-02-22
2
-0
/
+6
*
item: better documentation on our "id"
Peter Cai
2020-02-22
1
-0
/
+8
*
api: items/sync: we don't produce uuid_conflict
Peter Cai
2020-02-22
1
-15
/
+11
*
api: rewrite conflict detection in iterators
Peter Cai
2020-02-22
3
-34
/
+51
*
api: use our shorthand method for returning
Peter Cai
2020-02-22
1
-1
/
+1
*
tests: add test for email format
Peter Cai
2020-02-22
1
-0
/
+16
*
main: remove "extern crate"
Peter Cai
2020-02-22
2
-7
/
+1
*
api: validate email against regex
Peter Cai
2020-02-22
4
-1
/
+14
*
api: item/sync: use iterators and remove unnecessary mut and clone
Peter Cai
2020-02-22
1
-21
/
+13
*
api: items/sync: always set sync_token to latest ID
Peter Cai
2020-02-22
2
-65
/
+34
*
only allow one sync per user every time
Peter Cai
2020-02-22
3
-1
/
+35
*
api: item/sync: handle sync_token behind cursor_token
Peter Cai
2020-02-22
1
-4
/
+33
*
api: rewrite some comments on synchronization algorithm
Peter Cai
2020-02-21
1
-8
/
+13
*
item: remove TODO (implemented in api.rs)
Peter Cai
2020-02-21
1
-1
/
+0
*
api: items/sync: make sure we don't go beyond sync_token
Peter Cai
2020-02-21
1
-5
/
+14
*
items/sync: implement conflicts properly
Peter Cai
2020-02-21
2
-26
/
+116
*
api: just return error on db failure
Peter Cai
2020-02-21
1
-12
/
+3
*
api: always update `updated_at` when inserting
Peter Cai
2020-02-21
1
-1
/
+7
*
drop JWT and use database-based session tokens
Peter Cai
2020-02-21
11
-122
/
+144
*
api: item/sync: fix cursor_token and sync_token logic
Peter Cai
2020-02-21
2
-16
/
+33
*
api: retry twice for insert
Peter Cai
2020-02-21
1
-4
/
+9
*
api: return old tokens by default
Peter Cai
2020-02-21
1
-2
/
+2
*
item: stop handling date ourselves
Peter Cai
2020-02-21
5
-48
/
+14
*
add user uuid and return it in auth response to match official impl
Peter Cai
2020-02-21
7
-9
/
+124
*
change pw_cost to integer to match official impl
Peter Cai
2020-02-21
4
-6
/
+6
*
main: add rocket_cors middleware
Peter Cai
2020-02-21
3
-5
/
+90
*
try to implement items/sync
Peter Cai
2020-02-21
7
-8
/
+268
*
user: auth header should have Bearer prefix
Peter Cai
2020-02-21
2
-3
/
+7
*
user: implement authorization guard
Peter Cai
2020-02-21
3
-5
/
+87
*
add items table schema
Peter Cai
2020-02-21
3
-0
/
+35
*
tests: add more test cases for auth API
Peter Cai
2020-02-21
1
-0
/
+87
*
add global RwLock for SQLite
Peter Cai
2020-02-21
2
-15
/
+48
*
write some tests (they fail)
Peter Cai
2020-02-21
7
-9
/
+140
*
implement server-side scrypt to protect passwords better
Peter Cai
2020-02-20
4
-8
/
+216
*
user: use iat instead of nbf (iat = issued-at)
Peter Cai
2020-02-20
1
-2
/
+2
*
api: implement auth/change_pw
Peter Cai
2020-02-20
2
-0
/
+37
*
implement auth/sign_in
Peter Cai
2020-02-20
5
-4
/
+57
*
api: implement auth/params
Peter Cai
2020-02-20
1
-1
/
+30
*
users: add shorthand for UserOpError
Peter Cai
2020-02-20
1
-4
/
+10
*
initial commit
Peter Cai
2020-02-20
12
-0
/
+1378