Commit Graph

323 Commits

Author SHA1 Message Date
fcf3ec7036 Refactor users management (#2)
All checks were successful
continuous-integration/drone/push Build is passing
* Create UserBackend trait
2022-11-19 18:18:46 +01:00
65d334b947 Refactor users management
All checks were successful
continuous-integration/drone/push Build is passing
* Shard `src/data/user.rs` into two different files
  * One for user data structure (same file)
  * One for user manipulation (new file: `user_file_entity.rs`)
* Isolate password hashing and verification
2022-11-19 17:52:35 +01:00
75d894d648 Simplify delete user call syntax
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-19 16:46:40 +01:00
0c35400e64 Simplify user update call syntax 2022-11-19 16:43:28 +01:00
b10c48d080 Simplify password change call syntax 2022-11-19 16:41:39 +01:00
d06c0352fc Log all user actions on stdout
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-19 13:38:24 +01:00
c242a492fc cargo update
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-19 11:00:27 +01:00
702d338c07 Merge pull request 'Update Rust crate clap to 4.0.26' (#76) from renovate/clap-4.x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #76
2022-11-19 09:53:56 +00:00
95f7bbab51 Merge pull request 'Update Rust crate chrono to 0.4.23' (#75) from renovate/chrono-0.x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #75
2022-11-19 09:53:34 +00:00
afb5229336 Merge pull request 'Update Rust crate uuid to 1.2.2' (#74) from renovate/uuid-1.x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #74
2022-11-19 09:53:18 +00:00
01c80e6e9e Merge pull request 'Update Rust crate webauthn-rs to 0.4.8' (#73) from renovate/webauthn-rs-0.x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #73
2022-11-19 09:53:07 +00:00
8f8adb46a0 Update Rust crate clap to 4.0.26
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-11-17 00:09:23 +00:00
17b4c36758 Update Rust crate webauthn-rs to 0.4.8
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-11-16 00:09:06 +00:00
20fbebed54 Update Rust crate uuid to 1.2.2
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-11-16 00:09:04 +00:00
bbf23dea15 Update Rust crate chrono to 0.4.23
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-11-16 00:08:56 +00:00
060ebe49aa Improve OTP input form
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-12 18:18:48 +01:00
5300b1a8f9 Improve OTP code input 2022-11-12 18:04:27 +01:00
bfe65b0216 Add IP location service
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-12 17:02:34 +01:00
42d2c20ce3 Merge pull request 'Bypass 2FA after successful login' (#72) from bypass_2fa_after_successful_login into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #72
2022-11-12 11:21:33 +00:00
cc4a8a962b User can delete his own 2FA login history
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-11-12 11:51:24 +01:00
7887ccaa41 Show 2FA successful login on 2FA user page 2022-11-12 11:37:15 +01:00
1fa36c0aff Automatically remove outdated 2FA successful entries 2022-11-12 11:27:19 +01:00
46bf14025b cargo clippy
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-12 11:18:40 +01:00
7e1cbb184d Can clear 2FA login history from edit_user page 2022-11-12 11:16:55 +01:00
7a3eaa944e Start to create 2FA exemption after successful 2FA login
Some checks failed
continuous-integration/drone/push Build is failing
2022-11-12 10:24:00 +01:00
c24318f6b8 Add 2FA icons to settings pages
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-11 13:26:09 +01:00
af383720b7 Merge factors type for authentication 2022-11-11 12:26:02 +01:00
8d231c0b45 Update dependencies
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-11 10:22:45 +01:00
0b988bd00c Merge pull request 'Update Rust crate clap to 4.0.22' (#71) from renovate/clap-4.x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #71
2022-11-11 09:15:06 +00:00
6756db0518 Merge pull request 'Update Rust crate serde_yaml to 0.9.14' (#69) from renovate/serde_yaml-0.x into master
Some checks reported errors
continuous-integration/drone/push Build was killed
Reviewed-on: #69
2022-11-11 09:14:34 +00:00
fd6f304796 Merge pull request 'Update Rust crate lazy-regex to 2.3.1' (#68) from renovate/lazy-regex-2.x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #68
2022-11-11 09:14:15 +00:00
19aea13c0e Merge pull request 'Update Rust crate jwt-simple to 0.11.2' (#67) from renovate/jwt-simple-0.x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #67
2022-11-11 09:13:19 +00:00
eaf2469a9d Update Rust crate lazy-regex to 2.3.1
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-11-10 00:17:06 +00:00
5885e1da18 Update Rust crate clap to 4.0.22
Some checks reported errors
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build was killed
2022-11-10 00:16:55 +00:00
b644cbb772 Update Rust crate serde_yaml to 0.9.14
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-11-04 00:30:59 +00:00
0fdf6ed6eb Update Rust crate jwt-simple to 0.11.2
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-11-04 00:30:56 +00:00
d346979cc1 Merge pull request 'Update Rust crate url to 2.3.1' (#66) from renovate/url-2-x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #66
2022-10-29 08:00:05 +00:00
45d467922a Merge pull request 'Update Rust crate serde_json to 1.0.87' (#64) from renovate/serde-json-1-x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #64
2022-10-29 07:59:20 +00:00
07f5681e31 Merge pull request 'Update Rust crate serde to 1.0.147' (#63) from renovate/serde-1-x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #63
2022-10-29 07:59:06 +00:00
2c12bfeace Merge pull request 'Update Rust crate digest to 0.10.5' (#62) from renovate/digest-0-x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #62
2022-10-29 07:58:46 +00:00
8a5296c6ff Merge pull request 'Update Rust crate clap to 4.0.18' (#61) from renovate/clap-4-x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #61
2022-10-29 07:58:31 +00:00
46ea79c2be Merge pull request 'Update Rust crate base64 to 0.13.1' (#60) from renovate/base64-0-x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #60
2022-10-29 07:58:10 +00:00
a2b34eee57 Merge pull request 'Update Rust crate futures-util to 0.3.25' (#59) from renovate/futures-util-0-x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #59
2022-10-29 07:48:04 +00:00
e229b8c965 Update Rust crate url to 2.3.1
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-10-25 00:27:40 +00:00
3b5e9ccd16 Update Rust crate serde_json to 1.0.87
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-10-25 00:27:29 +00:00
429ceb1c59 Update Rust crate serde to 1.0.147
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-10-25 00:27:24 +00:00
d3901b9537 Update Rust crate futures-util to 0.3.25
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-10-25 00:27:19 +00:00
1ea41fdb69 Update Rust crate digest to 0.10.5
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-10-25 00:27:16 +00:00
fe60ca8f99 Update Rust crate clap to 4.0.18
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-10-25 00:27:12 +00:00
9db1ef06cb Update Rust crate base64 to 0.13.1
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-10-25 00:27:09 +00:00