Commit Graph

44 Commits (80d8aa72394bb9897f9c03b94ae65dcfa7110d67)

Author SHA1 Message Date
Daniel García 0b7d6bf6df
Update to rocket 0.5 and made code async, missing updating all db calls, that are currently blocking
3 years ago
BlackDex c453528dc1
Macro recursion decrease and other optimizations
3 years ago
Fabian Thies 1f0f64d961 Sort the imports in notifications.rs alphabetically
3 years ago
Fabian Thies dd98fe860b Send create, update and delete notifications for `Send`s in the correct format.
3 years ago
BlackDex ffdcafa044 Fix WebAuthn issues and some small updates
3 years ago
Daniel García 9254cf9d9c
Fix clippy lints
3 years ago
Jake Howard 3ab90259f2
Modify rustfmt file
4 years ago
Jake Howard 0af3956abd
Run `cargo fmt` on codebase
4 years ago
Jake Howard 3e5971b9db
Remove unnecessary result return types
4 years ago
Jake Howard 49af9cf4f5
Correctly camelCase acronyms
4 years ago
Jake Howard a8138be69b
Use `if let` more
4 years ago
Daniel García 8da5b99482
Send API
4 years ago
BlackDex 5860679624 Updated dependencies and small mail fixes
4 years ago
aaxdev 260ffee093 Improving code
4 years ago
aaxdev c59cfe3371 Fix MsgPack headers and support mobile SignalR
4 years ago
Daniel García 668d5c23dc
Removed try_trait and some formatting, particularly around imports
4 years ago
Daniel García 9cca64003a
Remove unused dependency and simple feature, update dependencies and fix some clippy lints
5 years ago
Jeremy Lin 862d401077 Fix WebSocket notifications
5 years ago
Daniel García 8c229920ad
Protect websocket server against panics
5 years ago
Daniel García 8d1b72b951
Collapsed log messages from 3 lines per request to 2 and hidden the ones valued as less informative.
5 years ago
Jellyfrog ebc47dc161
Remove unneeded WS logging
5 years ago
Daniel García 10756b0920
Update dependencies and fix some lints
6 years ago
Daniel García 5ee04e31e5
Updated dependencies, removed some unnecessary clones and fixed some lints
6 years ago
Daniel García 86ed75bf7c
Config can now be serialized / deserialized
6 years ago
Daniel García bef1183c49
Only send one notification per vault import and purge, improve move ciphers functions
6 years ago
Daniel García a1dc47b826
Change config to thread-safe system, needed for a future config panel.
6 years ago
Daniel García 834c847746
Implement admin JWT cookie, separate JWT issuers for each type of token and migrate admin page to handlebars template
6 years ago
Daniel García e0aec8d373
Use new i64::to_be_bytes and remove byteorder dep
6 years ago
Daniel García 30e768613b
Start using rustfmt and some style changes to make some lines shorter
6 years ago
Daniel García 738ad2127b
Fixed some clippy linting issues
6 years ago
Daniel García 94810c106a
Migrate to rust 2018 edition
6 years ago
Daniel García 2fde4e6933
Implemented proper logging, with support for file logging, timestamp and syslog (this last one is untested)
6 years ago
Daniel García f1acc1e05a
Merge branch 'master' into rocket-0.4
6 years ago
Daniel García 3d36ac4601
Remove unwrap in connection_lost
6 years ago
Daniel García c673370103
Updated bw_rs to Rocket version 0.4-rc1
6 years ago
Miroslav Prasil 2e7fa6440b Do not spawn WS thread if it's disabled
6 years ago
Miroslav Prasil 9ecc98c3cc Disable WebSockets negotiation by default
6 years ago
Daniel García 9eaa9c1a17
Add WEBSOCKET_ADDRESS config option (Fixes #199)
6 years ago
Daniel García 8651df8c2a
Fixed some lint issues
6 years ago
Daniel García 948554a20f
Added config option for websocket port, and reworked the config parsing a bit.
6 years ago
Daniel García d66d4fd87f Add error message when the proxy doesn't route websockets correctly
6 years ago
Shane A. Faulkner b6502e9e9d Add support for CipherUpdate notifications
6 years ago
Daniel García d70864ac73 Initial version of websockets notification support.
6 years ago
Daniel García 8d1ee859f2 Implemented basic support for prelogin and notification negotiation
6 years ago