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