Daniel García and GitHub
08c55f636a
Mention HTTPS needed for Chrome
2019-01-08 21:51:09 +01:00
Daniel García
0dc5d1a1c6
Of course I forgot the year...
2019-01-08 20:39:46 +01:00
Daniel García
1b11445bb2
Update dependencies and web vault
2019-01-08 20:28:17 +01:00
Daniel García
1596e1d4c5
Update README
2019-01-08 20:27:55 +01:00
Daniel García
320266606e
Implement put collections
2019-01-08 20:27:28 +01:00
Daniel García
a0a08c4c5a
Include IP in invalid admin token error
2019-01-08 16:17:18 +01:00
Daniel García
4309df8334
Only create invitations when SMTP is disabled, and ignore invitations if we have a token.
...
Disallow users from accepting invitation twice
2019-01-08 15:42:26 +01:00
Daniel García
f1161c65fb
Make sure an invitation is created when reinviting
2019-01-08 14:05:05 +01:00
Daniel García
50eeb4f651
Remove whitespace before processing tokens
2019-01-07 20:37:14 +01:00
Daniel García
21b85b78b1
Changed reinvite check and removed obsolete comment
2019-01-07 15:29:57 +01:00
Daniel García
673adde9f1
Make the admin retype the user name before deleting
2019-01-07 14:48:10 +01:00
Daniel García
c9063a06b4
Print unauthorized error message
2019-01-07 02:18:51 +01:00
Daniel García
62b8500aae
Fix missing .env error in Dockerfile, the .env file is not needed for the Docker images
2019-01-07 01:43:37 +01:00
Daniel García
f645e5381c
Rename included .env file to .env.template and ignored .env
2019-01-06 22:50:30 +01:00
Daniel García and GitHub
5e37471488
Merge pull request #323 from njfox/invite_accepted_email
...
Send email notifications when invitations are accepted/confirmed
2019-01-06 14:12:24 +01:00
Daniel García and GitHub
94adf063ad
Merge pull request #326 from mprasil/vault_2.8.0
...
Update Vault to 2.8.0
2019-01-05 19:16:34 +01:00
Daniel García
5f49ecd7f3
Updated dependencies to use u2f crate directly, and some style changes
2019-01-04 00:25:38 +01:00
Daniel García and GitHub
c8af62ed48
Merge pull request #321 from njfox/migrate_readme_to_wiki
...
Remove redundant information from README after moving it to the wiki
2019-01-01 23:41:39 +01:00
Daniel García
b8326a15a3
Add build.rs to dockerfile
2018-12-31 14:07:12 +01:00
Daniel García
a6631c2ea8
Update documentation for admin page
2018-12-30 23:47:20 +01:00
Daniel García
30e768613b
Start using rustfmt and some style changes to make some lines shorter
2018-12-30 23:34:31 +01:00
Daniel García
72ed05c4a4
Add build script to get some Git info to later show in admin panel, and add some metadata to Cargo.toml
2018-12-30 21:43:57 +01:00
Daniel García
adb8052689
Updated Error to implement Display and Debug, instead of using custom methods
2018-12-30 21:43:56 +01:00
Daniel García
1483829c94
Removed invalid todo
2018-12-30 21:43:56 +01:00
Daniel García
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
Daniel García
301919d9d4
Modified navigation bar and corrected some comments
2018-12-30 21:43:55 +01:00
Daniel García
2bb0b15e04
Implemented better errors for JWT
2018-12-30 21:43:55 +01:00
Daniel García
250a2b340f
Use new Errors in latest changes
2018-12-30 21:43:55 +01:00
Daniel García
b2fc0499f6
Finish invite functionality, and remove virtual organization
2018-12-30 21:40:26 +01:00
Daniel García
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
Daniel García
172f1770cf
Embed the icon in the binary, no need to download when it's not going to change
2018-12-30 21:31:12 +01:00
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.
2018-12-30 21:31:11 +01:00
Daniel García
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
Daniel García
9a8cae836b
Remove vault patch file, and point users to the vault builds repo for the patch
2018-12-30 21:31:03 +01:00
Daniel García and GitHub
7d7d8afed9
Merge pull request #318 from njfox/reinvite_endpoint
...
Add email reinvite endpoint
2018-12-30 21:22:26 +01:00
Daniel García and GitHub
004a3f891f
Merge pull request #315 from aksdb/master
...
Restrict join on users_collections to current user (fixes #313 )
2018-12-28 21:06:30 +01:00
Daniel García and GitHub
e197f372b5
Merge pull request #314 from mprasil/find_by_user_uuid
...
Rewrite find_by_user_uuid to use one query
2018-12-28 15:47:31 +01:00
Daniel García and GitHub
9f0357ce82
Merge pull request #312 from njfox/logging_timestamp
...
Change logging timestamp format so fail2ban can parse it
2018-12-26 20:20:50 +01:00
Daniel García and GitHub
3f5df3ef8d
Merge pull request #311 from njfox/update_documentation
...
Document new features and update outdated parts of README
2018-12-26 17:27:10 +01:00
Daniel García and GitHub
00bc355220
Merge pull request #308 from njfox/invite_existing_user_fix
...
Fix email invitations for existing users and update README
2018-12-23 22:31:00 +01:00
Daniel García and GitHub
2b24b17609
Merge pull request #295 from njfox/invite_emails
...
Add Email Invite Functionality
2018-12-21 16:04:19 +01:00
Daniel García and GitHub
b3ec8f2611
Merge pull request #302 from tycho/icon-cache-ttl
...
implement TTLs for icon cache
2018-12-18 23:34:16 +01:00
Daniel García and GitHub
149e69414f
Merge pull request #293 from dheimerl/patch-1
...
Update web.rs
2018-12-18 19:00:43 +01:00
Daniel García and GitHub
1f4edb38e6
Add extra headers to Nginx ( #303 )
2018-12-17 19:29:07 +01:00
Daniel García and GitHub
371017b547
Merge pull request #294 from i-ghost/feature/add-systemd-notes
...
Add systemd setup instructions to README.md
2018-12-16 23:55:56 +01:00
Daniel García and GitHub
37a6da3443
Merge pull request #296 from jeslinmx/docsupdate
...
updated fail2ban setup to match changes in logformat for 1.5.0
2018-12-16 20:06:46 +01:00
Daniel García and GitHub
53bd169462
Merge pull request #297 from mprasil/vault_2.7.1
...
Update vault to 2.7.1
2018-12-16 20:06:15 +01:00
Daniel García
5a9aab1a32
Implement fromform, and ignore case and underscores, fixes #298
2018-12-16 20:00:16 +01:00
Daniel García and GitHub
a335bcd682
Merge pull request #291 from mqus/patch-1
...
Add memory usage note to the vault build documentation
2018-12-14 22:56:44 +01:00
Daniel García and GitHub
65e36e2931
Merge pull request #289 from mprasil/alpine-fix
...
Fix failing alpine build
2018-12-14 12:33:17 +01:00
Daniel García
d3e4fb88ee
Fix wrong folder name
2018-12-13 18:30:01 +01:00
Daniel García
7ebba736cb
Updated dockerfiles to use compiled vaults
2018-12-13 18:19:26 +01:00
Daniel García
a1272c7190
Merge branch 'rocket-0.4'
2018-12-13 17:49:55 +01:00
Daniel García and GitHub
0a6b4e9961
Update BUILD.md
2018-12-13 17:46:08 +01:00
Daniel García and GitHub
e66edc1ce9
Merge pull request #285 from itr6/master
...
Add line for people using docker commands instead of docker-compose
2018-12-13 01:07:17 +01:00
Daniel García
4e827e4f8a
Implement better retry and use it while saving device
2018-12-12 22:15:54 +01:00
Daniel García and GitHub
f713e2e092
Merge pull request #284 from Algebro7/log_successful_logins
...
Close #264 . Username and IP address is logged on successful authentication
2018-12-11 22:24:04 +01:00
Daniel García
f2ab25085d
Updated dependencies, and dockerfiles to use NodeJS 10 LTS
2018-12-11 16:42:52 +01:00
Daniel García
7adc045b80
Updated IP logging to use client_ip, to match old remote behavior.
...
Improved error logging, now it won't show a generic error message in some situations.
Removed delete device, which is not needed as it will be overwritten later.
Logged more info when an error occurs saving a device.
Added orgmanager to JWT claims.
2018-12-09 17:58:38 +01:00
Daniel García
19754c967f
More changes to the push token, and filtered multipart logs
2018-12-07 18:25:18 +01:00
Daniel García
738ad2127b
Fixed some clippy linting issues
2018-12-07 15:01:29 +01:00
Daniel García
cb930a0858
Remove some required values during login, now uses default values
2018-12-07 14:32:40 +01:00
Daniel García
94810c106a
Migrate to rust 2018 edition
2018-12-07 02:05:45 +01:00
Daniel García
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
Daniel García
259a2f2982
Updated rocket to final release
2018-12-06 20:15:22 +01:00
Daniel García
dc1bb6de20
Update device push token methods to more closely follow the official server response
2018-12-06 16:28:36 +01:00
Daniel García
e34f75c267
Make sure the dockerfile builds the project, instead of assuming the cached dummy is valid
2018-12-04 13:55:37 +01:00
Daniel García
2129946d14
Updated deps and web vault to 2.6.1
2018-12-03 20:28:13 +01:00
Daniel García
bdcdb08fc1
Merge branch 'master' into rocket-0.4
2018-12-01 14:58:39 +01:00
Daniel García
8b5d97790f
Updated rocket to rc2 and rest of dependencies
2018-12-01 14:29:19 +01:00
Daniel García and GitHub
cac7fb145b
Merge pull request #274 from itr6/master
...
Fail2Ban Setup & Walkthrough
2018-11-29 23:20:30 +01:00
Daniel García
e177160ee9
Update web vault to 2.6.0
2018-11-27 17:29:09 +01:00
Daniel García
6364c05789
Fix attachments during key rotation, add individual attachment key
2018-11-27 17:24:12 +01:00
Daniel García
f71f10eac6
Implemented key rotation with the latest vault
2018-11-24 23:00:41 +01:00
Daniel García and GitHub
0f6ab01f77
Merge pull request #268 from mprasil/master
...
fix bad path in Alpine Dockerfile
2018-11-22 03:06:26 +01:00
Daniel García and GitHub
e86cac984a
Merge pull request #263 from mprasil/master
...
Update dockerfile for alpine, armv7 and aarch64
2018-11-21 15:57:11 +01:00
Daniel García
f1acc1e05a
Merge branch 'master' into rocket-0.4
2018-11-21 15:35:34 +01:00
Daniel García
3d36ac4601
Remove unwrap in connection_lost
2018-11-21 15:07:18 +01:00
Daniel García
9ecb29883c
Merge branch 'master' into rocket-0.4
...
# Conflicts:
# Cargo.lock
2018-11-19 20:59:41 +01:00
Daniel García
8b3e87cfe0
Update lockfile to fix yubico error
2018-11-19 20:58:59 +01:00
Daniel García
e5af230315
Merge branch 'master' into rocket-0.4
...
# Conflicts:
# Cargo.toml
2018-11-19 20:45:42 +01:00
Daniel García
a1da82c868
Add online feature to yubico
2018-11-19 20:45:11 +01:00
Daniel García
981a324027
Merge branch 'master' into rocket-0.4
...
# Conflicts:
# src/api/core/mod.rs
2018-11-19 20:30:19 +01:00
Daniel García
00abd4c853
Add create endpoint, fixes #253 , fixes #261
2018-11-19 20:27:49 +01:00
Daniel García
a4550e51ea
Update dependencies and add /ciphers/create
2018-11-19 20:21:02 +01:00
Daniel García
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
Daniel García and GitHub
1d4944b88e
Merge pull request #258 from Bruceforce/master
...
Update backup section of README.md
2018-11-19 19:36:10 +01:00
Daniel García and GitHub
17052b665f
Merge pull request #257 from Step7750/fix-nfc-mobile
...
Fixes NFC Response for Mobile Yubikey OTP Login
2018-11-17 15:28:41 +01:00
Daniel García and GitHub
c5c9e3fd65
Merge pull request #254 from Step7750/master
...
Adds Yubikey OTP Support
2018-11-16 20:39:03 +01:00
Daniel García and GitHub
f9ecb7201b
Merge pull request #256 from mprasil/fix_accepted_sync
...
Prevent accepted user from seeing ciphers until confirmed (fixes #196 )
2018-11-16 16:17:21 +01:00
Daniel García
f84cbeaaf8
Merge branch 'master' into rocket-0.4
...
# Conflicts:
# src/db/models/organization.rs
2018-11-14 16:14:49 +01:00
Daniel García and GitHub
3cb911a52f
Merge pull request #243 from mprasil/vault_2.5.0
...
Bump vault version to 2.5.0 [wip]
2018-11-14 16:12:18 +01:00
Daniel García and GitHub
dd00591082
Add info about how to fix #176
2018-11-09 16:24:45 +01:00
Daniel García
4638786507
Merge branch 'master' into rocket-0.4
...
# Conflicts:
# src/api/core/mod.rs
2018-11-09 16:06:24 +01:00
Daniel García and GitHub
1e9dd2fd4e
Merge pull request #244 from RomanHargrave/multiple-u2f
...
Make U2F work with vault 2.4.0 changes
2018-11-09 15:47:29 +01:00
Daniel García
6eb1c3d638
Fixed change in organizations header, now Request::get_param() are indexed by segment, not dynamic parameter.
2018-11-06 16:53:34 +01:00
Daniel García and GitHub
8f5bfe7938
Merge pull request #240 from mprasil/balenalib
...
Switch from resin to balenalib
2018-11-03 14:48:38 +01:00
Daniel García
e844f41abc
Make the docker images use port 80 (instead of 8000, which is the default in rocket 0.4)
2018-11-01 19:25:10 +01:00
Daniel García
bc532f54d5
Improve login query parsing
2018-11-01 19:25:10 +01:00
Daniel García
c673370103
Updated bw_rs to Rocket version 0.4-rc1
2018-11-01 19:25:09 +01:00