Commit Graph

  • 03fdf36bf9 Fixed purging organization vault janost 2019-04-14 22:06:08 +02:00
  • fdcc32beda Validate Duo credentials when custom Daniel García 2019-04-14 22:05:05 +02:00
  • bf20355c5e Merge branch 'duo' Daniel García 2019-04-14 22:02:55 +02:00
  • 0136c793b4 Implement better user status API, in the future we'll probably want a way to disable users. We should migrate from the empty password hash to a separate column then. Daniel García 2019-04-13 00:01:52 +02:00
  • 2e12114350 Always create the user when inviting from admin panel Daniel García 2019-04-12 23:42:42 +02:00
  • f25ab42ebb Merge pull request #455 from ViViDboarder/get_users Daniel García 2019-04-11 20:42:44 +02:00
  • d3a8a278e6 Add new endpoint for retrieving all users ViViDboarder 2019-04-05 11:49:58 -07:00
  • 8d9827c55f Implement selection between global config and user settings for duo keys. Daniel García 2019-04-11 18:40:03 +02:00
  • cad63f9761 Auto generate akey Daniel García 2019-04-11 16:08:26 +02:00
  • bf446f44f9 Enable DATA_FOLDER to affect default CONFIG_FILE path Daniel García 2019-04-11 15:41:13 +02:00
  • 621f607297 Update dependencies and fix some warnings Daniel García 2019-04-11 15:32:38 +02:00
  • d89bd707a8 Update vault release to show duo button Daniel García 2019-04-07 18:58:32 +02:00
  • 754087b990 Add global duo config and document options in .env template Daniel García 2019-04-07 18:58:15 +02:00
  • cfbeb56371 Implement user duo, initial version TODO: - At the moment each user needs to configure a DUO application and input the API keys, we need to check if multiple users can register with the same keys correctly and if so we could implement a global setting. - Sometimes the Duo frame doesn't load correctly, but canceling, reloading the page and logging in again seems to fix it for me. Daniel García 2019-04-05 22:09:53 +02:00
  • 3bb46ce496 Make the syslog crate non-optional when available Daniel García 2019-04-02 22:35:22 +02:00
  • c5832f2b30 With the latest fern, syslog can be a config option instead of a build flag Daniel García 2019-03-29 20:27:20 +01:00
  • d9406b0095 Update to web vault 2.10.0 Daniel García 2019-03-25 23:49:12 +01:00
  • 2475c36a75 Implement log_level config option Daniel García 2019-03-25 14:12:41 +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. Daniel García 2019-03-25 13:55:21 +01:00
  • afbfebf659 Merge pull request #440 from BlackDex/mail-encoding Daniel García 2019-03-25 13:09:51 +01:00
  • 6b686c18f7 Fixed long e-mail message extending 1000 lines. BlackDex 2019-03-25 09:48:19 +01:00
  • 349cb33fbd Updated dependencies 1.8.0 Daniel García 2019-03-23 19:48:22 +01:00
  • d7542b6818 Merge pull request #437 from njfox/fix-smtp-error Daniel García 2019-03-21 14:22:57 +01:00
  • 7976d39d9d Adjust whitespace Nick Fox 2019-03-20 23:29:29 -04:00
  • 5ee9676941 Break up long line to stop SMTP from breaking Nick Fox 2019-03-20 23:24:30 -04:00
  • 4b40cda910 Added domain blacklist regex for icons service and improved valid domain check. Reorganized the icons code a bit. Daniel García 2019-03-18 22:12:39 +01:00
  • 4689ed7b30 Changed uppercase deserializer to avoid a clone. Daniel García 2019-03-18 22:02:37 +01:00
  • 084bc2aee3 Use final release of lettre and update dependencies Daniel García 2019-03-17 14:43:22 +01:00
  • 6d7e15b2fd Use web vault 2.9.0 release Daniel García 2019-03-14 13:29:03 +01:00
  • 61515160a7 Allow changing error codes and create an empty error. Return 404 instead of 400 when no accounts breached. Daniel García 2019-03-14 00:17:36 +01:00
  • a25bfdd16d Remove unused features from multipart (integration with other servers) Daniel García 2019-03-13 15:57:00 +01:00
  • e93538cea9 Add option to use wrapped TLS in email, instead of STARTTLS upgrade Daniel García 2019-03-10 14:44:42 +01:00
  • b4244b28b6 Update admin page scripts and fixed broken tooltip Daniel García 2019-03-09 14:41:34 +01:00
  • 43f9038325 Add option to force resync clients in admin panel Daniel García 2019-03-07 21:08:33 +01:00
  • 27872f476e Update dependencies Daniel García 2019-03-07 20:22:08 +01:00
  • 339044f8aa Add warning about config panel values overriding env vars. Daniel García 2019-03-07 20:22:02 +01:00
  • 0718a090e1 Trim spaces from admin token during authentication and validate that the admin panel token is not empty Daniel García 2019-03-07 20:21:50 +01:00
  • 9e1f030a80 Explicitly close SMTP connection in case of error. Daniel García 2019-03-07 20:21:10 +01:00
  • 04922f6aa0 Some formatting and dependency updates Daniel García 2019-03-03 16:11:55 +01:00
  • 7d2bc9e162 Added option to force 2fa at logins and made some changes to two factor code. Added newlines to config options to keep them a reasonable length. Daniel García 2019-03-03 16:09:15 +01:00
  • c6c00729e3 Update vault to new version. No need to wait for a release when even the official web vault is already using it Daniel García 2019-02-27 17:28:04 +01:00
  • 10756b0920 Update dependencies and fix some lints Daniel García 2019-02-27 17:21:04 +01:00
  • 1eb1502a07 Merge pull request #416 from mprasil/armv6 Daniel García 2019-02-25 18:26:53 +01:00
  • 30e72a96a9 Symlink missing ld-linux file Miroslav Prasil 2019-02-25 16:17:34 +00:00
  • 2646db78a4 Merge pull request #414 from FrankPetrilli/patch-1 Daniel García 2019-02-25 14:21:28 +01:00
  • f5358b13f5 Add Dockerfile for armv6 Miroslav Prasil 2019-02-25 12:17:22 +00:00
  • d156170971 Minor typo fix conect => connect Frank Petrilli 2019-02-24 16:08:38 -08:00
  • d9bfe847db Merge pull request #410 from gdamjan/remove-uneeded-mutability Daniel García 2019-02-22 22:52:53 +01:00
  • 473f8b8e31 remove some unneeded mutability Дамјан Георгиевски 2019-02-22 20:25:50 +01:00
  • aeb4b4c8a5 Remove verbose, otherwise the logs get filled with useless info Daniel García 2019-02-22 16:16:07 +01:00
  • 980a3e45db Set up CI with Azure Pipelines Daniel García 2019-02-22 15:51:30 +01:00
  • 5794969f5b Merge pull request #406 from shauder/feature/disable-admin-token Daniel García 2019-02-20 23:06:52 +01:00
  • 8b5b06c3d1 Allow the Admin token to be disabled in the advanced menu Shane Faulkner 2019-02-20 14:44:35 -06: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. Daniel García 2019-02-20 20:59:37 +01:00
  • 5ee04e31e5 Updated dependencies, removed some unnecessary clones and fixed some lints Daniel García 2019-02-20 17:54:18 +01:00
  • bf6ae91a6d Remove margins on small devices Daniel García 2019-02-18 20:43:34 +01:00
  • 828e3a5795 Add extra padding when the toolbar collapses in small devices Daniel García 2019-02-18 20:33:32 +01:00
  • 7b5bcd45f8 Show read-only options in the config panel and the env variable names in the tooltips Daniel García 2019-02-18 19:25:33 +01:00
  • 72de16fb86 Merge pull request #404 from mprasil/disable_wal Daniel García 2019-02-18 16:10:16 +01:00
  • 0b903fc5f4 Extended the template file and refer to wiki Miroslav Prasil 2019-02-18 14:57:21 +00:00
  • 4df686f49e Add an option to not enable WAL (should help in #399) Miroslav Prasil 2019-02-18 10:48:48 +00:00
  • d7eeaaf249 Escape user data from admin panel when calling JS Daniel García 2019-02-17 15:22:27 +01:00
  • 84fb6aaddb Set correct MIME type TheMardy 2019-02-17 01:08:24 +01:00
  • a744b9437a Implemented multiple U2f keys, key names, and compromised checks Daniel García 2019-02-14 02:03:37 +01:00
  • 6027b969f5 Delete old devices when deauthorizing user sessions Daniel García 2019-02-16 23:06:26 +01:00
  • 93805a5d7b Fix Yubikeys deleted on error Daniel García 2019-02-16 21:30:55 +01:00
  • 71da961ecd Merge pull request #402 from mprasil/version_in_docker Daniel García 2019-02-16 12:20:25 +01:00
  • dd421809e5 Include git repo in build so we get version Miroslav Prasil 2019-02-16 08:50:16 +00:00
  • 8526055bb7 Added images to email templates TheMardy 2019-02-16 03:48:23 +01:00
  • a79334ea4c Added static email image routes TheMardy 2019-02-16 03:44:30 +01:00
  • 274ea9a4f2 Use the latest fast_chemail crate directly, with the fix Daniel García 2019-02-15 14:39:30 +01:00
  • 8743d18aca Update travis image and remove now-ignored sudo tag Daniel García 2019-02-13 18:50:45 +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 Daniel García 2019-02-13 00:03:16 +01:00
  • 0f0a87becf Add version to initial message Daniel García 2019-02-12 22:47:00 +01:00
  • 4b57bb8eeb Merge pull request #394 from BlackDex/icon-timeout Daniel García 2019-02-12 22:00:12 +01:00
  • 3b27dbb0aa Added config option for icon download timeout BlackDex 2019-02-12 21:56:28 +01:00
  • ff2fbd322e Update deps and fix email check Daniel García 2019-02-12 15:01:02 +01:00
  • 9636f33fdb Implement constant time equal check for admin, 2fa recover and 2fa remember tokens Daniel García 2019-02-11 23:45:55 +01:00
  • bbe2a1b264 Merge pull request #391 from TheMardy/master Daniel García 2019-02-10 22:03:20 +01:00
  • 79fdfd6524 Add missing url parameter Daniel García 2019-02-10 21:40:20 +01:00
  • d086a99e5b Implemented HTML emails with text alternative Daniel García 2019-02-10 19:12:34 +01:00
  • 22b0b95209 Added HTML templates (+14 squashed commit) TheMardy 2019-02-10 15:50:40 +01:00
  • 28d1588e73 Show version in admin panel Daniel García 2019-02-10 15:46:51 +01:00
  • f3b1a5ff3e Error when admin panel is disabled Daniel García 2019-02-10 15:26:19 +01:00
  • 330e90a6ac Hide secrets in config panel Daniel García 2019-02-08 20:49:04 +01:00
  • 8fac72db53 Mention relation between DOMAIN and mail settings in .env template 1.7.0 Daniel García 2019-02-08 19:21:48 +01:00
  • 820c8b0dce Change use of deserialize_with for Option iterator Daniel García 2019-02-08 19:12:08 +01:00
  • 8b4a6f2a64 Fixed some clippy lints and changed update_uuid_revision to only use one db query Daniel García 2019-02-08 18:45:07 +01:00
  • ef63342e20 Add reset user config button Daniel García 2019-02-06 17:32:13 +01:00
  • 89840790e7 Fix .env path traversal issue Daniel García 2019-02-06 14:54:39 +01:00
  • a72809b225 Yubico and SMTP enable/disable master switches Daniel García 2019-02-06 00:38:57 +01:00
  • 9976e4736e Add groups Daniel García 2019-02-05 22:17:02 +01:00
  • dc92f07232 Added env variable to select config file. Initial work towards groups and added tooltips with descriptions and nicer names Daniel García 2019-02-04 01:37:25 +01:00
  • 3db815b969 Implemented config form and fixed config priority Daniel García 2019-02-03 00:22:18 +01:00
  • ade293cf52 Save config Daniel García 2019-02-02 17:45:25 +01:00
  • 877408b808 Implement basic config loading and updating. No save to file yet. Daniel García 2019-02-02 16:47:27 +01:00
  • 86ed75bf7c Config can now be serialized / deserialized Daniel García 2019-02-02 01:09:21 +01:00
  • 20d8d800f3 Updated dependencies Daniel García 2019-02-01 23:39:14 +01:00
  • 7ce06b3808 Merge pull request #387 from mprasil/collections_edit_revision Daniel García 2019-02-06 17:33:03 +01:00
  • 08ca47cadb Update revision when adding or removing cipher from collection Miroslav Prasil 2019-02-06 14:47:47 +00:00