Commit Graph

188 Commits (8f05a90b96adfe06722d01510923759fe61a8bd6)

Author SHA1 Message Date
thelittlefireman 4ab9362971 Add Emergency contact feature
3 years ago
Daniel García e3a2dfffab
Formatting
3 years ago
Daniel García 46e0f3c43a
Load RSA keys as pem format directly, and using openssl crate, backported from async branch
3 years ago
Daniel García c380d9c379
Support for webauthn and u2f->webauthn migrations
4 years ago
BlackDex f270f2ed65 Updated icon fetching and crates.
4 years ago
Daniel García 7b5d5d1302
Rename references to the discourse forum
4 years ago
Daniel García 34ea10475d
Project renaming
4 years ago
Jake Howard 994669fb69
Merge remote-tracking branch 'origin/master' into fmt
4 years ago
Jeremy Lin d77333576b Add support for auto-deleting trashed items
4 years ago
Jeremy Lin 73ff8d79f7 Add a generic job scheduler
4 years ago
Jake Howard 0af3956abd
Run `cargo fmt` on codebase
4 years ago
Jake Howard 49af9cf4f5
Correctly camelCase acronyms
4 years ago
Jake Howard ea57dc3bc9
Use `matches` macro
4 years ago
Daniel García 1fc6c30652
Send deletion thread and updated users revision
4 years ago
Jeremy Lin 513056f711 Check for data folder on startup
4 years ago
Daniel García 8b660ae090
Swap structopt for a simpler alternative
4 years ago
BlackDex 5860679624 Updated dependencies and small mail fixes
4 years ago
BlackDex 235ff44736 Updated the admin interface
4 years ago
BlackDex 48baf723a4 Updated icon downloading
4 years ago
BlackDex 6faaeaae66 Updated email processing.
4 years ago
Daniel García 729c9cff41
Retry initial db connection, with adjustable option
4 years ago
Daniel García 0365b7c6a4
Add support for multiple simultaneous database features by using macros.
4 years ago
Jeremy Lin f83a8a36d1 Track favorites on a per-user basis
4 years ago
Daniel García 93b7ded1e6
Remove unneccessary shim for backtrace
4 years ago
Jeremy Lin d348f12a0e Add config option for log timestamp format
4 years ago
Daniel García 1e950c7dbc
Replace IP support in preparation for compiling on stable, included some tests to check that the code matches the unstable implementation
4 years ago
Daniel García 668d5c23dc
Removed try_trait and some formatting, particularly around imports
4 years ago
Daniel García a87646b8cb
Some format changes to main.rs
5 years ago
Robert Kaussow afbf1db331 add back openssl crate
5 years ago
Jeremy Lin 322a08edfb Update startup banner to direct usage/config questions to the forum
5 years ago
Daniel García 9cca64003a
Remove unused dependency and simple feature, update dependencies and fix some clippy lints
5 years ago
Daniel García 7a6a3e4160
Set the cargo version and allow changing it during build time with BWRS_VERSION.
5 years ago
BlackDex 35f30088b2 Fixing issue #759 by disabling Foreign Key Checks.
5 years ago
Daniel García dce054e632
Merge pull request #912 from ymage/openssl_as_default
5 years ago
Ymage ba725e1c25 Make openssl crate as default (non feature-flipped)
5 years ago
BlackDex bd09fe1a3d Updated code so backtraces are logged also.
5 years ago
BlackDex bcbe6177b8 Merge branch 'master' of https://github.com/dani-garcia/bitwarden_rs into log-panics
5 years ago
Daniel García 70f3ab8ec3
Migrate lazy_static to once_cell, less macro magic and slightly faster
5 years ago
zethra cc404b4edc
Added command line flags for help and version
5 years ago
BlackDex 7439aeb63e Make panics logable (as warn)
5 years ago
Jeremy Lin 29a0795219 Add backend support for alternate base dir (subdir/subpath) hosting
5 years ago
Richard Huang d592323e39
minor typo conect -> connect
5 years ago
Daniel García 36ae946655
Avoid some to_string in the request logging and include message to disable web vault when not found.
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
BlackDex 0ff7fd939e Next attempt for issue #709 fix
5 years ago
Daniel García fccc0a4b05
Update rocket to latest master
5 years ago
BlackDex 9124d8a3fb Updated icon blacklisting.
5 years ago
Michael Powers f5f9861a78
Adds support for PostgreSQL which resolves #87 and is mentioned in #246.
5 years ago
vpl 16d88402cb Initial version of CORS support
5 years ago
Daniel García 05a1137828
Move backend checks to build.rs to fail fast, and updated dependencies
5 years ago
Daniel García 12af32b9ea
Don't print DB URL
6 years ago
Nils Domrose 62a461ae15 remove syslog from ci, make features flag more clear
6 years ago
Nils Domrose 4859932d35 fixed typo
6 years ago
Nils Domrose dc36f0cb6c re-added sqlite check_db code, cleanup
6 years ago
Nils Domrose ff759397f6 initial mysql support
6 years ago
Emil Madsen ab95a69dc8 Rework migrations for MySQL
6 years ago
Emil Madsen 85c8a01f4a Merge branch 'master' of github.com:Skeen/bitwarden_rs
6 years ago
Emil Madsen 42af7c6dab MySQL database
6 years ago
Daniel García 874f5c34bd
Formatting
6 years ago
Daniel García c5832f2b30
With the latest fern, syslog can be a config option instead of a build flag
6 years ago
Daniel García 2475c36a75
Implement log_level config option
6 years ago
Daniel García c384f9c0ca
Set default log level to Info, we don't use debug anyway and it just fills the logs with other crates info.
6 years ago
Frank Petrilli d156170971
Minor typo fix conect => connect
6 years ago
Daniel García b50c27b619
Print a warning when an env variable is being overriden by the config file, and reorganize the main file a bit.
6 years ago
Miroslav Prasil 4df686f49e Add an option to not enable WAL (should help in #399)
6 years ago
Daniel García a744b9437a
Implemented multiple U2f keys, key names, and compromised checks
6 years ago
Daniel García d3773a433a
Removed list of mounted routes at startup by default, with option to add it back. This would get annoying when starting the server frequently, because it printed ~130 lines of mostly useless info
6 years ago
Daniel García 0f0a87becf
Add version to initial message
6 years ago
Daniel García 3db815b969
Implemented config form and fixed config priority
6 years ago
Daniel García f42ac5f2c0
Update web vault error message
6 years ago
BlackDex 9657463717 Added better favicon downloader.
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 ce42b07a80
Update Diesel to 1.4 and other dependencies
6 years ago
Daniel García bfd93e5b13
Show organizations in admin panel, implement reload templates option
6 years ago
Daniel García 6cbb683f99
Rename admin templates to match email
6 years ago
Daniel García 92bbb98d48
Created base template
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 97aa407fe4
Move email templates to subfolder
6 years ago
Daniel García 4bf32af60e
Fix folder notifications, enable template strict mode and add missing option to env template
6 years ago
Daniel García 0e4a746eeb
Added SMTP_FROM_NAME
6 years ago
Daniel García 2fe919cc5e
Embed the default templates
6 years ago
Daniel García bcd750695f
Default to $data_folder/templates and remove dev option (use `TEMPLATES_FOLDER=src/static/templates` instead)
6 years ago
Daniel García 19b6bb0fd6
Initial stab at templates
6 years ago
Daniel García de51bc782e
Updated dependencies, removing need for yubico fork
6 years ago
Daniel García c5aef60bd7
Implement unofficial warning message
6 years ago
Daniel García 5f49ecd7f3
Updated dependencies to use u2f crate directly, and some style changes
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 adb8052689
Updated Error to implement Display and Debug, instead of using custom methods
6 years ago
Daniel García acb9d1b3c6
Remove config option for admin email, embdedded admin page, managed IO::Error, and added security and cache headers globally
6 years ago
Daniel García 6a99849a1e
Implemented proper error handling, now we can do `user.save($conn)?;` and it works.
6 years ago
Daniel García 1b5134dfe2
Fixed delete user when 2FA is enabled, implemented delete user for admin panel, and the front-end part for invite user. Secured admin panel behind a configurable token.
6 years ago
Daniel García 5fecf09631
Initial version of admin panel, list users and reload user list works. No serious auth method yet, password is 'token123'
6 years ago
Nick Fox ec715d78fb
Change log timestamp format so fail2ban can parse it
6 years ago
Steven Noonan 848cd1dbec
add environment variables for ICON_CACHE_TTL and ICON_CACHE_NEGTTL
6 years ago
Daniel García 19754c967f
More changes to the push token, and filtered multipart logs
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 f71f10eac6
Implemented key rotation with the latest vault
6 years ago
Daniel García 5edbd0e952
Merge branch 'master' into rocket-0.4
6 years ago
Stepan Fedorko-Bartos 2433d39df5 Allows Custom Yubico OTP Server
6 years ago