Commit graph

179 commits

Author SHA1 Message Date
Niels Andriesse
dbe6412b14 Fix compact polling auth token handling 2021-04-22 15:42:21 +10:00
nielsandriesse
97432ef524 cargo fmt failed on a whitespace character 2021-04-21 13:08:38 +10:00
nielsandriesse
062e448bd3 Merge branch 'main' of github.com:nielsandriesse/session-open-group-server into main 2021-04-21 13:01:27 +10:00
nielsandriesse
728654bfc8 Fix comment 2021-04-21 12:57:42 +10:00
Niels Andriesse
8af47cb4c0 Debug compact polling 2021-04-20 10:28:21 +10:00
Niels Andriesse
10d02b014b Clean 2021-04-19 11:00:03 +10:00
Niels Andriesse
9dda9fb5df Implement compact polling 2021-04-16 15:02:43 +10:00
Niels Andriesse
fcc25d6ded Add compact polling skeleton code 2021-04-16 14:34:32 +10:00
Niels Andriesse
5b0ad2f253 Fix file pruning 2021-04-09 13:07:18 +10:00
Niels Andriesse
1e5e3e9f16 Use nanosecond precision for file timestamps 2021-04-09 11:35:09 +10:00
Maxim Shishmarev
43d6ebaf03 More idiomatic tests 2021-04-07 09:30:06 +10:00
Niels Andriesse
023d134067 Make file handling async 2021-04-01 10:32:25 +11:00
Niels Andriesse
57ea49e30e Use appropriate log levels 2021-04-01 09:55:47 +11:00
nielsandriesse
4a97d61dac Merge branch 'logging' of github.com:msgmaxim/rust-session-open-group-server into main 2021-03-31 15:45:26 +11:00
nielsandriesse
acc81729ef Fix remaining misleading async usage 2021-03-31 15:12:32 +11:00
nielsandriesse
a6ec21d1e2 Merge branch 'remove-async' of github.com:msgmaxim/rust-session-open-group-server into main 2021-03-31 15:05:23 +11:00
nielsandriesse
7643438327 Run private endpoints on port 3030 2021-03-31 14:16:54 +11:00
Maxim Shishmarev
3e28962645 remove unnecessary async 2021-03-31 14:15:28 +11:00
nielsandriesse
46574cf9ab Add logs 2021-03-31 13:51:40 +11:00
nielsandriesse
45609d6ee7 Add logs 2021-03-31 13:45:51 +11:00
nielsandriesse
2101891749 Clean 2021-03-31 13:34:18 +11:00
nielsandriesse
8c1fd7e1ba Implement management of rooms and moderators using CLI 2021-03-31 11:46:54 +11:00
Maxim Shishmarev
745e6d4ed9 Use log4rs to log to stdout and (optionally) to a file 2021-03-31 11:25:58 +11:00
nielsandriesse
d99a5e3df6 Serve certain endpoints on localhost 2021-03-31 11:00:02 +11:00
Niels Andriesse
6f1364f1d3 Make X25519 key pair path a command line argument 2021-03-30 16:13:50 +11:00
Niels Andriesse
0e76aaf52a Don't require auth for group image endpoint 2021-03-30 15:33:33 +11:00
Niels Andriesse
ce1a06916d Add println 2021-03-30 15:29:17 +11:00
Niels Andriesse
2e261d59ee Add comment 2021-03-30 15:26:34 +11:00
Niels Andriesse
db8f2aa913 Switch command line defaults 2021-03-30 15:25:10 +11:00
Niels Andriesse
5fbf648ac8 Add delete room endpoint 2021-03-30 14:01:59 +11:00
Niels Andriesse
c4983c9b1c Clean 2021-03-30 11:04:27 +11:00
Niels Andriesse
f12b0087c4 Fix auth issue 2021-03-30 10:24:19 +11:00
Niels Andriesse
192e3b4ac1 Add group image endpoint 2021-03-29 16:11:56 +11:00
Niels Andriesse
eeed203282 Return existing pending token if there is one 2021-03-29 15:53:57 +11:00
Niels Andriesse
c23d332966 Fix database pool handling 2021-03-29 15:26:49 +11:00
Niels Andriesse
07819e0ae3 Update comment 2021-03-29 10:09:34 +11:00
Niels Andriesse
46f0837439 Implement modes 2021-03-29 10:06:56 +11:00
nielsandriesse
5993b21eb8 Add TODOs 2021-03-27 09:10:07 +11:00
Niels Andriesse
cf6e66c1b2 Add make moderator endpoint 2021-03-26 16:10:16 +11:00
Niels Andriesse
9d6c7f8566 Use integer IDs for files 2021-03-26 15:24:02 +11:00
Niels Andriesse
7ee9714846 Distinguish between forbidden & unauthorized 2021-03-26 13:49:38 +11:00
Niels Andriesse
d5409eefbc Make room setup easier 2021-03-26 11:01:44 +11:00
Niels Andriesse
0872281b78 Include message timestamp 2021-03-26 10:21:08 +11:00
Niels Andriesse
02671b4a0a Include room ID in response 2021-03-26 10:02:48 +11:00
Niels Andriesse
9e3a4c0559 Add TODO 2021-03-25 16:16:55 +11:00
Niels Andriesse
5d51137b97 Fix database pool handling 2021-03-25 14:11:45 +11:00
Niels Andriesse
52e986ae72 Add get all rooms endpoint 2021-03-25 14:05:46 +11:00
Niels Andriesse
42e2e0df41 Add get room info endpoint 2021-03-25 13:56:26 +11:00
Niels Andriesse
f9ffd8c463 Don't use nightly 2021-03-25 11:38:06 +11:00
Niels Andriesse
72b6a9c414 Fix tests 2021-03-25 11:21:45 +11:00