BlackDex
6faaeaae66
Updated email processing.
...
- Added an option to enable smtp debugging via SMTP_DEBUG. This will
trigger a trace of the smtp commands sent/received to/from the mail
server. Useful when troubleshooting.
- Added two options to ignore invalid certificates which either do not
match at all, or only doesn't match the hostname.
- Updated lettre to the latest alpha.4 version.
4 years ago
Daniel García
63acc8619b
Update dependencies
4 years ago
Daniel García
c577ade90e
Updated dependencies
4 years ago
Daniel García
ab4355cfed
Updated web vault, dependencies and base docker images
4 years ago
Eduardo Sánchez Muñoz
2f7fbde789
Add `vendored_openssl` feature.
...
This feature enables the `vendored` feature from the `openssl` crate and build a statically linked version of openssl.
4 years ago
Daniel García
dbc082dc75
Update web vault to 2.16.0 and dependencies
4 years ago
BlackDex
844cf70345
Updated lettre (and other crates) and workflow.
...
General:
- Updated several dependancies
Lettre:
- Updateded lettere and the workflow
- Changed encoding to base64
- Convert unix newlines to dos newlines for e-mails.
- Created custom e-mail boundary (auto generated could cause errors)
Tested the e-mails sent using several clients (Linux, Windows, MacOS, Web).
Run msglint (https://tools.ietf.org/tools/msglint/ ) on the generated e-mails until all errors were gone.
Lettre has changed quite some stuff compared between alpha.1 and alpha.2, i haven't noticed any issues sending e-mails during my tests.
4 years ago
Daniel García
0365b7c6a4
Add support for multiple simultaneous database features by using macros.
...
Diesel requires the following changes:
- Separate connection and pool types per connection, the generate_connections! macro generates an enum with a variant per db type
- Separate migrations and schemas, these were always imported as one type depending on db feature, now they are all imported under different module names
- Separate model objects per connection, the db_object! macro generates one object for each connection with the diesel macros, a generic object, and methods to convert between the connection-specific and the generic ones
- Separate connection queries, the db_run! macro allows writing only one that gets compiled for all databases or multiple ones
4 years ago
Jeremy Lin
d9684bef6b
Generate tokens more simply and uniformly
4 years ago
Daniel García
171b174ce9
Update dependencies
4 years ago
Daniel García
32cfaab5ee
Updated dependencies and changed rocket request imports
4 years ago
Daniel García
1e950c7dbc
Replace IP support in preparation for compiling on stable, included some tests to check that the code matches the unstable implementation
4 years ago
Daniel García
fb6f96f5c3
Updated dependencies
4 years ago
Jeremy Lin
a28ebcb401
Use local time in email notifications for new device logins
...
In this implementation, the `TZ` environment variable must be set
in order for the formatted output to use a more user-friendly
time zone abbreviation (e.g., `UTC`). Otherwise, the output uses
the time zone's UTC offset (e.g., `+00:00`).
4 years ago
Daniel García
596c9b8691
Add option to set name during HELO in email settings
4 years ago
Daniel García
d4357eb55a
Updated dependencies ans web vault version
4 years ago
Daniel García
b34d548246
Update dependencies
4 years ago
Daniel García
a2411eef56
Updated dependencies
5 years ago
Daniel García
5e802f8aa3
Update lettre to alpha release instead of git commit, and update the rest of dependencies while we are at it
5 years ago
Daniel García
80d4061d14
Update dependencies
5 years ago
Daniel García
6c5e35ce5c
Change the mails content types to more closely match what we sent before
5 years ago
Daniel García
63cbd9ef9c
Update lettre to latest master
5 years ago
Daniel García
9cca64003a
Remove unused dependency and simple feature, update dependencies and fix some clippy lints
5 years ago
Daniel García
4be8dae626
Make web vault show a more informative error when browsers block WebCrypto in insecure contexts and update dependencies
5 years ago
Daniel García
ccf6ee79d0
Update dependencies, mainly diesel and sqlite
5 years ago
Daniel García
7d9c7017c9
Merge pull request #911 from BlackDex/upgrade-rocket
...
Upgrade rocket
5 years ago
BlackDex
bd09fe1a3d
Updated code so backtraces are logged also.
5 years ago
BlackDex
3ce0c3d1a5
Update dependencies
...
Primarily updating rocket, which needed some dependencies
Latest versions of:
- ring
- time
- jsonwebtoken
- yubico
- rocket (git)
5 years ago
BlackDex
1b4b40c95d
Updated reqwest to the latest version.
...
- Use the blocking client (no async).
- Disabled gzip.
- use_sys_proxy is now default.
5 years ago
Daniel García
70f3ab8ec3
Migrate lazy_static to once_cell, less macro magic and slightly faster
5 years ago
Daniel García
b6612e90ca
Update dependencies
5 years ago
zethra
cc404b4edc
Added command line flags for help and version
...
Signed-off-by: zethra <benaagoldberg@gmail.com>
5 years ago
Daniel García
def174a517
Convert email domains to punycode
5 years ago
Daniel García
ff7b4a3d38
Update handlebars to 3.0 which included performance improvements.
...
Updated lettre to newer git revision, which should give better error messages now.
5 years ago
Daniel García
84ed185579
Update u2f to 0.2, which requires OpenSSL but also might solve the problems we've had with certificates.
...
The rust image doesn't need installing curl or tar, so removed. Also collapsed ENV lines.
5 years ago
Daniel García
9ebca99290
Update dependencies
5 years ago
Daniel García
c058a1d63c
Make sure handlebars is not updated, as the next patch version has breaking changes
5 years ago
Daniel García
95dd1cd7ad
Use rmp upstream version
5 years ago
Daniel García
4cec502f7b
Update docker images to alpine 3.11 and rust 1.40
5 years ago
Daniel García
f09996a21d
Updated dependencies
5 years ago
Daniel García
a5aa4d9b54
Updated dependencies
5 years ago
Daniel García
1e224220a8
Updated deps and fixed some lints
5 years ago
Daniel García
607521c88f
Updated dependencies
5 years ago
BlackDex
b209c1bc4d
Add an option to fetch and parse href="data:image"
...
Some sites are using base64 encoded inline images for favicons.
This will try to match those with some sane checks and return that.
These icons will have lower prio then the icons with a normal URL.
5 years ago
Daniel García
cbadf00941
Update web vault to fix twofactorauth.org integration
...
Update dependencies and toolchain
Update included equivalent domains with upstream changes
5 years ago
BlackDex
cbb92bcbc0
Updated dependencies
...
Updated some dependencies and used a git patch for lettre addressing
timeouts.
5 years ago
BlackDex
3442eb1b9d
Trying to fix issue #687
...
- Using an older commit from rocket repo
5 years ago
Daniel García
72a46fb386
Update dependencies
5 years ago
Daniel García
fccc0a4b05
Update rocket to latest master
...
Downgrade rust version to fix cargo issue
Set rustup profile to minimal
5 years ago
Daniel García
57b1d3f850
Update dependencies and docker base images
5 years ago
Daniel García
83fd44eeef
Update rust version and use minimal profile for CI
5 years ago
Daniel García
d3bd2774dc
Update dependencies to use newer SQLite
5 years ago
Daniel García
662bc27523
Updated dependencies and fixed disable_admin_token description
5 years ago
Daniel García
b73ff886c3
Use upstream rmp
5 years ago
Michael Powers
f5f9861a78
Adds support for PostgreSQL which resolves #87 and is mentioned in #246 .
...
This includes migrations as well as Dockerfile's for amd64.
The biggest change is that replace_into isn't supported by Diesel for the
PostgreSQL backend, instead requiring the use of on_conflict. This
unfortunately requires a branch for save() on all of the models currently
using replace_into.
5 years ago
Daniel García
df8114f8be
Updated client kdf iterations to 100000 and fixed some lints
5 years ago
Daniel García
469318bcbd
Updated dependencies and web vault version
5 years ago
Daniel García
9101d6e48f
Update dependencies
5 years ago
Daniel García
c9c3f07171
Updated dependencies and fixed panic getting icons
5 years ago
Daniel García
05a1137828
Move backend checks to build.rs to fail fast, and updated dependencies
5 years ago
Nick Fox
2e300da057
Fix #468 - Percent-encode the email address in invite link
5 years ago
Daniel García
76f38621de
Update dependencies and remove unwraps from Cipher::to_json
6 years ago
Daniel García
9add8e19eb
Update dependencies and remove travis unused feature
6 years ago
Nils Domrose
ee277de707
include libsqlite3-sys optionally, removed non common features
6 years ago
Nils Domrose
c11f47903a
revert include libsqlite3-sys optionally
6 years ago
Nils Domrose
6a5f1613e7
include libsqlite3-sys optionally
6 years ago
Nils Domrose
dc36f0cb6c
re-added sqlite check_db code, cleanup
6 years ago
Nils Domrose
ff759397f6
initial mysql support
6 years ago
Emil Madsen
ab95a69dc8
Rework migrations for MySQL
6 years ago
Daniel García
c0b2877da3
Update deps and swap back to official u2f crate again
6 years ago
Daniel García
95f833aacd
Update dependencies to use new ring
6 years ago
Daniel García
4f45cc081f
Update ring to 0.14, jwt to 6.0, and u2f
6 years ago
Daniel García
2a4cd24c60
Updated web vault to hide org plans again and updated dependencies
6 years ago
Daniel García
eadab2e9ca
Updated dependencies
6 years ago
Daniel García
621f607297
Update dependencies and fix some warnings
6 years ago
Daniel García
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.
6 years ago
Daniel García
3bb46ce496
Make the syslog crate non-optional when available
6 years ago
Daniel García
c5832f2b30
With the latest fern, syslog can be a config option instead of a build flag
6 years ago
BlackDex
6b686c18f7
Fixed long e-mail message extending 1000 lines.
...
- Added quoted_printable crate to encode the e-mail messages.
- Change the way the e-mail gets build to use custom part headers.
6 years ago
Daniel García
349cb33fbd
Updated dependencies
6 years ago
Daniel García
084bc2aee3
Use final release of lettre and update dependencies
6 years ago
Daniel García
a25bfdd16d
Remove unused features from multipart (integration with other servers)
6 years ago
Daniel García
27872f476e
Update dependencies
6 years ago
Daniel García
10756b0920
Update dependencies and fix some lints
6 years ago
Daniel García
5ee04e31e5
Updated dependencies, removed some unnecessary clones and fixed some lints
6 years ago
Daniel García
274ea9a4f2
Use the latest fast_chemail crate directly, with the fix
6 years ago
Daniel García
ff2fbd322e
Update deps and fix email check
6 years ago
Daniel García
3db815b969
Implemented config form and fixed config priority
6 years ago
Daniel García
20d8d800f3
Updated dependencies
6 years ago
BlackDex
9657463717
Added better favicon downloader.
6 years ago
Daniel García
a1dc47b826
Change config to thread-safe system, needed for a future config panel.
...
Improved some two factor methods.
6 years ago
Daniel García
9d027b96d8
Update web-vault to fix U2F NotTrustedAnchor error
6 years ago
Daniel García
ce42b07a80
Update Diesel to 1.4 and other dependencies
6 years ago
Daniel García
e0aec8d373
Use new i64::to_be_bytes and remove byteorder dep
...
(https://doc.rust-lang.org/stable/std/primitive.i64.html#method.to_be_bytes )
6 years ago
Daniel García
19b6bb0fd6
Initial stab at templates
6 years ago
Daniel García
60f6a350be
Update yubico to fix OpenSSL error
6 years ago
Daniel García
f571df7367
Revert yubikey feature, not needed anymore
6 years ago
Daniel García
de51bc782e
Updated dependencies, removing need for yubico fork
6 years ago
Daniel García
1d034749f7
Fix AArch64 build by disabling yubico
6 years ago
Daniel García
1b11445bb2
Update dependencies and web vault
6 years ago