Commit Graph

139 Commits

Author SHA1 Message Date
05a1137828 Move backend checks to build.rs to fail fast, and updated dependencies 2019-07-09 17:26:34 +02:00
12af32b9ea Don't print DB URL 2019-06-02 13:39:16 +02:00
62a461ae15 remove syslog from ci, make features flag more clear 2019-05-30 22:19:58 +02:00
4859932d35 fixed typo 2019-05-28 07:48:17 +02:00
dc36f0cb6c re-added sqlite check_db code, cleanup 2019-05-27 22:58:52 +02:00
ff759397f6 initial mysql support 2019-05-26 23:03:05 +02:00
ab95a69dc8 Rework migrations for MySQL 2019-05-20 21:12:41 +02:00
85c8a01f4a Merge branch 'master' of github.com:Skeen/bitwarden_rs 2019-05-20 19:53:18 +02:00
42af7c6dab MySQL database 2019-05-20 19:53:14 +02:00
874f5c34bd Formatting 2019-04-26 22:08:26 +02:00
c5832f2b30 With the latest fern, syslog can be a config option instead of a build flag 2019-03-29 20:27:20 +01:00
2475c36a75 Implement log_level config option 2019-03-25 14:23:14 +01:00
c384f9c0ca Set default log level to Info, we don't use debug anyway and it just fills the logs with other crates info. 2019-03-25 14:21:50 +01:00
d156170971 Minor typo fix conect => connect 2019-02-24 16:08:38 -08:00
b50c27b619 Print a warning when an env variable is being overriden by the config file, and reorganize the main file a bit.
Modified the JWT key generation, now it should also show the output of OpenSSL in the logs.
2019-02-20 20:59:37 +01:00
4df686f49e Add an option to not enable WAL (should help in #399) 2019-02-18 10:48:48 +00:00
a744b9437a Implemented multiple U2f keys, key names, and compromised checks 2019-02-16 23:07:48 +01:00
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 2019-02-13 00:03:16 +01:00
0f0a87becf Add version to initial message 2019-02-12 22:47:00 +01:00
3db815b969 Implemented config form and fixed config priority 2019-02-06 17:34:30 +01:00
f42ac5f2c0 Update web vault error message 2019-01-29 21:45:25 +01:00
9657463717 Added better favicon downloader. 2019-01-27 15:39:19 +01:00
a1dc47b826 Change config to thread-safe system, needed for a future config panel.
Improved some two factor methods.
2019-01-25 18:24:57 +01:00
ce42b07a80 Update Diesel to 1.4 and other dependencies 2019-01-21 15:29:52 +01:00
bfd93e5b13 Show organizations in admin panel, implement reload templates option 2019-01-20 17:43:56 +01:00
6cbb683f99 Rename admin templates to match email 2019-01-19 22:59:32 +01:00
92bbb98d48 Created base template 2019-01-19 22:12:52 +01:00
834c847746 Implement admin JWT cookie, separate JWT issuers for each type of token and migrate admin page to handlebars template 2019-01-19 21:41:49 +01:00
97aa407fe4 Move email templates to subfolder 2019-01-19 17:40:18 +01:00
4bf32af60e Fix folder notifications, enable template strict mode and add missing option to env template 2019-01-15 15:28:47 +01:00
0e4a746eeb Added SMTP_FROM_NAME 2019-01-15 15:28:47 +01:00
2fe919cc5e Embed the default templates 2019-01-15 15:28:46 +01:00
bcd750695f Default to $data_folder/templates and remove dev option (use TEMPLATES_FOLDER=src/static/templates instead) 2019-01-15 15:28:46 +01:00
19b6bb0fd6 Initial stab at templates 2019-01-15 15:28:46 +01:00
de51bc782e Updated dependencies, removing need for yubico fork 2019-01-12 15:23:46 +01:00
c5aef60bd7 Implement unofficial warning message 2019-01-11 14:20:42 +01:00
5f49ecd7f3 Updated dependencies to use u2f crate directly, and some style changes 2019-01-04 00:25:38 +01:00
30e768613b Start using rustfmt and some style changes to make some lines shorter 2018-12-30 23:34:31 +01:00
adb8052689 Updated Error to implement Display and Debug, instead of using custom methods 2018-12-30 21:43:56 +01:00
acb9d1b3c6 Remove config option for admin email, embdedded admin page, managed IO::Error, and added security and cache headers globally 2018-12-30 21:43:56 +01:00
6a99849a1e Implemented proper error handling, now we can do user.save($conn)?; and it works.
In the future, maybe we can do the same with the `find_by_id` methods that return an Option.
2018-12-30 21:31:12 +01:00
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. 2018-12-30 21:31:11 +01:00
5fecf09631 Initial version of admin panel, list users and reload user list works. No serious auth method yet, password is 'token123' 2018-12-30 21:31:11 +01:00
ec715d78fb Change log timestamp format so fail2ban can parse it 2018-12-26 11:54:31 -05:00
848cd1dbec add environment variables for ICON_CACHE_TTL and ICON_CACHE_NEGTTL
These aren't used yet, but will be utilized by the icon caching service
in a subsequent patch.

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
2018-12-18 13:33:31 -08:00
19754c967f More changes to the push token, and filtered multipart logs 2018-12-07 18:25:18 +01:00
94810c106a Migrate to rust 2018 edition 2018-12-07 02:05:45 +01:00
2fde4e6933 Implemented proper logging, with support for file logging, timestamp and syslog (this last one is untested) 2018-12-06 20:35:25 +01:00
f71f10eac6 Implemented key rotation with the latest vault 2018-11-24 23:00:41 +01:00
5edbd0e952 Merge branch 'master' into rocket-0.4
# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	src/api/core/mod.rs
2018-11-19 19:52:43 +01:00