Commit Graph

165 Commits

Author SHA1 Message Date
ViViDboarder
60699e6f5a Ignore consecutive run statement in hadolint 2021-11-29 10:47:33 -08:00
ViViDboarder
85511d8dc9 Update rust build to 1.56.1 and alpine rust version to 1.51.0 2021-11-29 10:22:52 -08:00
ViViDboarder
db03a5299f Fix new linting error (thanks clippy!) 2021-09-20 17:01:52 -07:00
ViViDboarder
96d7483d31 More descriptive errors when failing to parse a config file 2021-09-20 17:01:27 -07:00
ViViDboarder
94d82a827f Bump version to v0.6.1 2021-07-23 15:53:23 -07:00
ViViDboarder
21a50a1ee0 Fix alpine build 2021-07-23 15:52:34 -07:00
ViViDboarder
5682eab8dc Update Readme to describe how to configure using env variables 2021-07-23 15:33:43 -07:00
ViViDboarder
556a8edbe7 Bump release v0.6.0 2021-07-23 15:29:49 -07:00
ViViDboarder
0ea5eadd71 Make running integration tests easier 2021-07-23 15:28:19 -07:00
ViViDboarder
5fd947f127 Clean up of env config PR 2021-07-23 15:27:45 -07:00
Tobias Florek
f25278ea3c implement loading config from environment
This still has the bug, that envy conflicts with serde's
deny_unknown_fields option.

For the time being use e.g.
```
env -i VAULTWARDEN_URL=https://example.com vaultwarden_ldap
```
2021-07-23 15:09:30 -07:00
ViViDboarder
5238bc1b60 Slim final image
Using an intermediate image for building. Could possibly slim further by making the `RUN_TAG` a slim variant
2021-06-21 13:38:36 -07:00
ViViDboarder
08dcdd2bba Bump minor version 2021-06-13 20:22:30 -07:00
ViViDboarder
a1a69617e3 Use correct image name 2021-06-13 20:00:15 -07:00
ViViDboarder
80a16664e8 Update Dockerfile.alpine to pass hadolint 2021-06-13 19:50:05 -07:00
ViViDboarder
13e0775d56 Add GitHub Actions
Using GHA for builds rather than Docker Hub
2021-06-13 19:07:02 -07:00
ViViDboarder
77919aa3d4 Improved error handling
Massive refactor of error handling to make messages easier to debug
2021-06-13 18:09:43 -07:00
Ian
c090fb5a52
Merge pull request #32 from ibotty/log-uid
also log uid when email not found
2021-05-20 17:34:17 -07:00
ViViDboarder
231f9036fb Add --build flag to example compose 2021-05-20 17:33:30 -07:00
ViViDboarder
adf460c05e Add some additional configs for easier testing 2021-05-20 17:29:45 -07:00
Tobias Florek
8be4057e3b also log uid when email not found 2021-05-20 09:09:50 +02:00
ViViDboarder
2f6ecc6860 Bump version for vaultwarden release 2021-05-07 12:58:48 -07:00
ViViDboarder
a0bb9152ee Rebrand vaultwarden 2021-05-07 12:55:29 -07:00
ViViDboarder
e05929765c Bump version to v0.3.1 to fix alpine build 2021-03-02 10:15:58 -08:00
ViViDboarder
8d0f48f00c alpine: Bump ca-certificates to fix build 2021-03-02 10:01:57 -08:00
ViViDboarder
1d07357a97 Bump to v0.3.0 2020-12-27 17:08:46 -05:00
ViViDboarder
d5dd5903b1 Merge branch 'starttls' into master 2020-12-27 17:04:07 -05:00
ViViDboarder
c2ae9c1e93 Update pre-commit hooks 2020-12-27 11:21:35 -05:00
ViViDboarder
b47d279ca9 Update readme with starttls documentation 2020-12-27 11:19:14 -05:00
Ian
402fff84fd Add support for starttls
Fixes #18
2020-12-27 11:15:53 -05:00
ViViDboarder
be227a638d Bump version to v0.2.1 2020-09-29 10:40:56 -07:00
ViViDboarder
b04ee3a60a Update rust to 1.46
Should add support for TLS 1.3

Also, this fixes the Alpine builds
2020-09-28 14:58:23 -07:00
ViViDboarder
d19a0efae7 Bump version to v0.2.0 2020-07-12 09:35:45 -07:00
ViViDboarder
d41b93d3b9 Update compose target for bitwarden_rs 2020-07-12 09:35:25 -07:00
Ian
7b3a814ce7
Merge pull request #13 from jerhat/master
Added optional bitwarden_root_cert config to trust an additional root certificate...
2020-07-12 09:01:04 -07:00
jerhat
f5b94ee792 renamed bitwarden_root_cert into bitwarden_root_cert_file
separate get_root_cert() function
formatting (rustfmt)
2020-07-10 11:14:12 +08:00
ViViDboarder
91d70e6bb8 Add linting, formatting and other checks
This adds pre-commit hooks installable using the provided Makefile as
well as a new check to validate the version in the Cargo file matches
the git tag. This will be useful as a check before pushing releases.
2020-07-09 12:09:19 -07:00
jerhat
acf8165bed added instructions to expose the cert to container when using docker 2020-07-09 16:32:06 +08:00
jerhat
78be951474 Added optional ldap_no_tls_verify config that allows bypassiung ldap ssl certification check 2020-07-09 14:24:36 +08:00
jerhat
9d7f226c8e Added optional bitwarden_root_cert config to trust an additional root certificate when connecting to the bitwarden_rs instance. This can be useful in corporate environments where certificates are issued by a local CA (or for self-signed certificates) 2020-07-09 14:02:10 +08:00
ViViDboarder
2e5c4c5b55 Bump version to v0.1.2 2020-03-05 13:15:04 -08:00
ViViDboarder
7f35c2a989 Make checking for existing users case insensitive
Email addresses are not case case sensitive, so when we check for an
existing user, we should make sure we do it in a way that is not
sensitive to case.

Fixes #8
2020-03-05 13:09:37 -08:00
ViViDboarder
42489d39e1 Fix a few compile warnings 2020-03-05 13:09:23 -08:00
ViViDboarder
76e803a472 Update Cargo.lock with new version
I don't think this actually matters. Just fixes a matter
of annoyance that every build results in a changed lock file
2019-11-13 16:32:13 -08:00
ViViDboarder
ecddb2bf1d Bump version to v0.1.1 2019-10-02 15:07:55 -07:00
Ian
c493366efd Fix invalid email field error
Instead of crashing with a cryptic message, instead we print an error
message.

Also, as a bonus, better testing instructions!

Fixes #3
Fixes #2
2019-10-02 15:04:32 -07:00
ViViDboarder
829ed5585c Add alpine base option 2019-04-18 18:13:31 -07:00
ViViDboarder
233e040668 Lock down registration in sample config 2019-04-18 17:15:29 -07:00
ViViDboarder
f94f5ae7e0 Fix disabled check 2019-04-15 09:58:19 -07:00
ViViDboarder
b6c9cae8f3 Update Readme 2019-04-12 16:49:14 -07:00