Commit Graph

  • 1b11445bb2 Update dependencies and web vault Daniel García 2019-01-08 20:28:17 +01:00
  • 1596e1d4c5 Update README Daniel García 2019-01-08 20:27:55 +01:00
  • 320266606e Implement put collections Daniel García 2019-01-08 20:27:28 +01:00
  • a0a08c4c5a Include IP in invalid admin token error Daniel García 2019-01-08 16:16:58 +01:00
  • 4309df8334 Only create invitations when SMTP is disabled, and ignore invitations if we have a token. Disallow users from accepting invitation twice Daniel García 2019-01-08 15:11:16 +01:00
  • f1161c65fb Make sure an invitation is created when reinviting Daniel García 2019-01-08 14:05:05 +01:00
  • 50eeb4f651 Remove whitespace before processing tokens Daniel García 2019-01-07 20:37:14 +01:00
  • 21b85b78b1 Changed reinvite check and removed obsolete comment Daniel García 2019-01-07 15:29:57 +01:00
  • 673adde9f1 Make the admin retype the user name before deleting Daniel García 2019-01-07 14:48:10 +01:00
  • c9063a06b4 Print unauthorized error message Daniel García 2019-01-07 02:18:51 +01:00
  • 62b8500aae Fix missing .env error in Dockerfile, the .env file is not needed for the Docker images Daniel García 2019-01-07 01:36:01 +01:00
  • f645e5381c Rename included .env file to .env.template and ignored .env Daniel García 2019-01-06 22:50:30 +01:00
  • 5e37471488 Merge pull request #323 from njfox/invite_accepted_email Daniel García 2019-01-06 14:12:24 +01:00
  • 0a74e79cea Refactor generate_invite_claims, make org_name and org_id optional Nick Fox 2019-01-05 23:03:49 -05:00
  • 7db66f73f0 Refactor invited_by_email check Nick Fox 2019-01-05 13:46:45 -05:00
  • 2f5bdc23f6 Fix formatting and add vault link to notification emails Nick Fox 2019-01-05 13:36:08 -05:00
  • 94adf063ad Merge pull request #326 from mprasil/vault_2.8.0 Daniel García 2019-01-05 19:16:34 +01:00
  • 77cada4085 Update Vault to 2.8.0 Miroslav Prasil 2019-01-05 18:54:59 +01:00
  • cec28a85ac Update admin page to work with new invitation flow Nick Fox 2019-01-04 10:32:51 -05:00
  • 5f49ecd7f3 Updated dependencies to use u2f crate directly, and some style changes Daniel García 2019-01-04 00:25:38 +01:00
  • 736c0e62f2 Send emails to inviters/invitees when invites are accepted/confirmed Nick Fox 2019-01-02 22:20:39 -05:00
  • 43eb064351 Replace invite/reinvite email functions with generic send_email Nick Fox 2019-01-02 22:19:44 -05:00
  • c8af62ed48 Merge pull request #321 from njfox/migrate_readme_to_wiki Daniel García 2019-01-01 23:41:39 +01:00
  • 6e47535c2e Remove redundant docs files Nick Fox 2019-01-01 16:33:19 -05:00
  • 0448d98afc Remove redundant information from README after moving it to the wiki Nick Fox 2018-12-31 21:03:06 -05:00
  • b8326a15a3 Add build.rs to dockerfile Daniel García 2018-12-31 14:07:12 +01:00
  • a6631c2ea8 Update documentation for admin page Daniel García 2018-12-30 23:47:20 +01:00
  • 30e768613b Start using rustfmt and some style changes to make some lines shorter Daniel García 2018-12-30 23:34:31 +01:00
  • 72ed05c4a4 Add build script to get some Git info to later show in admin panel, and add some metadata to Cargo.toml Daniel García 2018-12-30 00:04:22 +01:00
  • adb8052689 Updated Error to implement Display and Debug, instead of using custom methods Daniel García 2018-12-29 01:01:58 +01:00
  • 1483829c94 Removed invalid todo Daniel García 2018-12-23 22:46:00 +01:00
  • acb9d1b3c6 Remove config option for admin email, embdedded admin page, managed IO::Error, and added security and cache headers globally Daniel García 2018-12-23 22:37:02 +01:00
  • 301919d9d4 Modified navigation bar and corrected some comments Daniel García 2018-12-21 22:27:35 +01:00
  • 2bb0b15e04 Implemented better errors for JWT Daniel García 2018-12-21 22:08:04 +01:00
  • 250a2b340f Use new Errors in latest changes Daniel García 2018-12-24 00:27:12 +01:00
  • b2fc0499f6 Finish invite functionality, and remove virtual organization Daniel García 2018-12-19 22:51:08 +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. Daniel García 2018-12-19 21:52:53 +01:00
  • 172f1770cf Embed the icon in the binary, no need to download when it's not going to change Daniel García 2018-12-19 00:57:45 +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. Daniel García 2018-12-18 18:52:58 +01:00
  • 5fecf09631 Initial version of admin panel, list users and reload user list works. No serious auth method yet, password is 'token123' Daniel García 2018-12-18 01:53:21 +01:00
  • 9a8cae836b Remove vault patch file, and point users to the vault builds repo for the patch Daniel García 2018-12-17 22:21:18 +01:00
  • 7d7d8afed9 Merge pull request #318 from njfox/reinvite_endpoint Daniel García 2018-12-30 21:22:26 +01:00
  • f20c4705d9 Refactor invite claims and disallow reinvites to virtual_org Nick Fox 2018-12-30 00:19:01 -05:00
  • 3142d8d01f Add more detail to invitation not found error Nick Fox 2018-12-29 23:28:19 -05:00
  • 84fa5a4ed6 Implement reinvite endpoint Nick Fox 2018-12-29 23:24:38 -05:00
  • 004a3f891f Merge pull request #315 from aksdb/master Daniel García 2018-12-28 21:06:30 +01:00
  • e197f372b5 Merge pull request #314 from mprasil/find_by_user_uuid Daniel García 2018-12-28 15:47:31 +01:00
  • e7ea5097f4 Restrict join on users_collections to current user (fixes #313) Andreas Schneider 2018-12-28 15:25:51 +01:00
  • 8451a70de6 Rewrite find_by_user_uuid to use one query Miroslav Prasil 2018-12-27 18:56:01 +01:00
  • 9f0357ce82 Merge pull request #312 from njfox/logging_timestamp Daniel García 2018-12-26 20:20:50 +01:00
  • cd6e4a0ebd Remove reference to syslog Nick Fox 2018-12-26 12:14:54 -05:00
  • 473740c13a Update fail2ban documentation for new logging format Nick Fox 2018-12-26 12:07:16 -05:00
  • ec715d78fb Change log timestamp format so fail2ban can parse it Nick Fox 2018-12-26 11:54:31 -05:00
  • 3f5df3ef8d Merge pull request #311 from njfox/update_documentation Daniel García 2018-12-26 17:27:10 +01:00
  • f694d6f839 Add missing trailing slash Nick Fox 2018-12-26 10:30:21 -05:00
  • b20516d645 Update ToC with Logging section Nick Fox 2018-12-26 10:28:46 -05:00
  • c04300651a Document new logging setup Nick Fox 2018-12-25 23:00:50 -05:00
  • 2f058d3ff5 Remove old/incorrect statement about SMTP not being implemented Nick Fox 2018-12-25 22:30:35 -05:00
  • 582f967a59 Update invitations documentation for new email invitations Nick Fox 2018-12-25 22:29:31 -05:00
  • 00bc355220 Merge pull request #308 from njfox/invite_existing_user_fix Daniel García 2018-12-23 22:31:00 +01:00
  • e3395ee910 Mention that invite links are valid for 5 days only Nick Fox 2018-12-23 15:25:05 -05:00
  • cb78ba9bb2 Document domain/email invitation requirements Nick Fox 2018-12-23 15:21:19 -05:00
  • b0ac640d8b Use JWT to validate existing user invites Nick Fox 2018-12-23 15:15:44 -05:00
  • 2b24b17609 Merge pull request #295 from njfox/invite_emails Daniel García 2018-12-21 16:04:19 +01:00
  • 2cd736ab81 Validate JWT if a user registers with SMTP invites enabled Nick Fox 2018-12-20 22:16:41 -05:00
  • 99256b9b3a Prefix unused params with underscore Nick Fox 2018-12-20 21:37:03 -05:00
  • 26bf7bc12f Use upstream jslib invite/registration workflow Nick Fox 2018-12-18 23:16:03 -05:00
  • b3ec8f2611 Merge pull request #302 from tycho/icon-cache-ttl Daniel García 2018-12-18 23:34:16 +01:00
  • a55c048a62 icons: implement positive/negative cache TTLs Steven Noonan 2018-12-18 13:33:32 -08:00
  • 848cd1dbec add environment variables for ICON_CACHE_TTL and ICON_CACHE_NEGTTL Steven Noonan 2018-12-18 13:33:31 -08:00
  • 149e69414f Merge pull request #293 from dheimerl/patch-1 Daniel García 2018-12-18 19:00:43 +01:00
  • 9a7d3634d5 Changed frame-ancestors to use 'self' dheimerl 2018-12-18 10:19:35 -06:00
  • 7f7c936049 Fixed web.rs dheimerl 2018-12-17 22:59:53 -06:00
  • 9479108fb7 Remove CONFIG.email_invitations Nick Fox 2018-12-17 17:10:09 -05:00
  • 042c1072d9 Remove CONFIG.email_invitation option Nick Fox 2018-12-17 17:02:15 -05:00
  • 1f4edb38e6 Add extra headers to Nginx (#303) Daniel García 2018-12-17 19:29:07 +01:00
  • 371017b547 Merge pull request #294 from i-ghost/feature/add-systemd-notes 1.5.0 Daniel García 2018-12-16 23:55:56 +01:00
  • bc20592712 Revise per dani-garcia/bitwarden_rs#294 i-ghost 2018-12-16 21:09:59 +00:00
  • 37a6da3443 Merge pull request #296 from jeslinmx/docsupdate Daniel García 2018-12-16 20:06:46 +01:00
  • 53bd169462 Merge pull request #297 from mprasil/vault_2.7.1 Daniel García 2018-12-16 20:06:15 +01:00
  • 5a9aab1a32 Implement fromform, and ignore case and underscores, fixes #298 Daniel García 2018-12-16 20:00:16 +01:00
  • 23eadf2c9a Update vault t o2.7.1 Miroslav Prasil 2018-12-16 16:00:51 +00:00
  • d5dfda8905 updated fail2ban setup to match changes in logformat for 1.5.0 jes 2018-12-16 22:30:25 +08:00
  • e245e965ba Fix broken rebase Nick Fox 2018-12-15 22:45:39 -05:00
  • ce15c7ffba Add systemd setup instructions to README.md i-ghost 2018-12-15 22:25:17 +00:00
  • 037eb0b790 Update web.rs dheimerl 2018-12-15 13:23:07 -06:00
  • 4910b14d57 Implement email invitations and registration workflow Nick Fox 2018-12-14 21:56:00 -05:00
  • d428120ec6 Add email_invitations config option Nick Fox 2018-12-14 21:54:44 -05:00
  • e2907f4250 Add invite email functionality Nick Fox 2018-12-14 21:54:03 -05:00
  • 680f5e83d8 Add Invite JWT struct and supporting functions Nick Fox 2018-12-14 21:52:16 -05:00
  • a335bcd682 Merge pull request #291 from mqus/patch-1 Daniel García 2018-12-14 22:56:44 +01:00
  • 76c510c5b6 move memory note mqus 2018-12-14 20:32:11 +01:00
  • 4635d62e2c Add memory usage note to vault build process mqus 2018-12-14 15:04:46 +01:00
  • 65e36e2931 Merge pull request #289 from mprasil/alpine-fix Daniel García 2018-12-14 12:33:17 +01:00
  • 063dfcf487 FIx failing alpine build Miroslav Prasil 2018-12-13 23:16:36 +00:00
  • d3e4fb88ee Fix wrong folder name Daniel García 2018-12-13 18:30:01 +01:00
  • 7ebba736cb Updated dockerfiles to use compiled vaults Daniel García 2018-12-13 18:19:26 +01:00
  • a1272c7190 Merge branch 'rocket-0.4' Daniel García 2018-12-13 17:49:55 +01:00
  • 0a6b4e9961 Update BUILD.md Daniel García 2018-12-13 17:46:08 +01:00
  • e66edc1ce9 Merge pull request #285 from itr6/master Daniel García 2018-12-13 01:07:17 +01:00