Commit graph

196 commits

Author SHA1 Message Date
38f6447681
fix: Show the totp code in get command
Fixes: #46
2024-05-17 22:44:46 +03:00
02bf53b2a1
fix: Validate all fields in add & edit
Fixes: #47
2024-05-17 22:22:58 +03:00
40e49bffe4
fix: Overflow in utils::vault_by_index_or_name function
Fixes: #48
2024-05-17 22:22:58 +03:00
7f8e80c645
chore(docs): Add just task to deploy the book 2024-05-17 22:22:58 +03:00
f9d36a2dd7
feat: Lprs docs (#49)
All checks were successful
Write changelog / write-changelog (push) Successful in 3s
Rust CI / Rust CI (push) Successful in 1m59s
Reviewed-on: #49
Co-authored-by: Awiteb <a@4rs.nl>
Co-committed-by: Awiteb <a@4rs.nl>
2024-05-17 01:29:37 +03:00
forgejo-actions
0a238dc336 chore(changelog): Update changelog 2024-05-16 20:41:33 +00:00
ced363a37f feat: Support changing master password (#50)
All checks were successful
Write changelog / write-changelog (push) Successful in 3s
Rust CI / Rust CI (push) Successful in 2m3s
Reviewed-on: #50
Co-authored-by: Awiteb <a@4rs.nl>
Co-committed-by: Awiteb <a@4rs.nl>
2024-05-16 22:41:20 +02:00
forgejo-actions
4b5928a5a9 chore(changelog): Update changelog 2024-05-12 06:14:01 +00:00
6f83bcccf9
feat: Support TOTP
All checks were successful
Rust CI / Rust CI (pull_request) Successful in 2m28s
Write changelog / write-changelog (push) Successful in 3s
Rust CI / Rust CI (push) Successful in 2m3s
2024-05-12 09:07:43 +03:00
3f72e8a26a
chore(deps): Add totp-lite & base32 2024-05-11 13:55:52 +03:00
835504eeb9
chore: Add base32 error 2024-05-11 13:53:37 +03:00
00128a7957
chore: Add a reserved custom fields prefix 2024-05-11 13:00:32 +03:00
47318142b8
chore: Rename utils::user_password to user_secret 2024-05-11 12:54:43 +03:00
forgejo-actions
c2fafd87e6 chore(changelog): Update changelog 2024-05-11 05:43:11 +00:00
d8350e636e
feat: Ability to edit & remove by name (not index only)
All checks were successful
Rust CI / Rust CI (pull_request) Successful in 3m20s
Write changelog / write-changelog (push) Successful in 3s
Rust CI / Rust CI (push) Successful in 1m49s
2024-05-11 08:38:48 +03:00
6e8c214b9e
chore: Use new util to get the vault by index or name 2024-05-10 17:59:51 +03:00
31afe4fd58
chore: Trim the added vault name 2024-05-10 17:58:59 +03:00
forgejo-actions
095aa37219 chore(changelog): Update changelog 2024-05-10 13:14:31 +00:00
a7ad8b4682
feat: Add --json flag to the list command
All checks were successful
Rust CI / Rust CI (pull_request) Successful in 1m58s
Write changelog / write-changelog (push) Successful in 3s
Rust CI / Rust CI (push) Successful in 1m54s
2024-05-10 16:08:16 +03:00
forgejo-actions
21befeaa58 chore(changelog): Update changelog 2024-05-10 11:56:31 +00:00
add008416b feat: Force flag for edit and add commands (#42)
All checks were successful
Write changelog / write-changelog (push) Successful in 3s
Rust CI / Rust CI (push) Successful in 1m53s
Reviewed-on: #42
Co-authored-by: Awiteb <a@4rs.nl>
Co-committed-by: Awiteb <a@4rs.nl>
2024-05-10 13:56:28 +02:00
8371e144a1
chore: Update the lprs description
All checks were successful
Write changelog / write-changelog (push) Successful in 2s
Rust CI / Rust CI (push) Successful in 1m52s
2024-05-10 14:06:56 +03:00
forgejo-actions
d1222b1d6b chore(changelog): Update changelog 2024-05-10 11:02:51 +00:00
f022574631
feat: Support completion generating
All checks were successful
Rust CI / Rust CI (pull_request) Successful in 1m57s
Write changelog / write-changelog (push) Successful in 3s
Rust CI / Rust CI (push) Successful in 1m56s
Fixes: #20
2024-05-10 13:47:16 +03:00
ece9f886ee
chore(deps): Add clap_complete to the dependencies 2024-05-10 13:46:00 +03:00
forgejo-actions
2bf856b9a4 chore(changelog): Update changelog 2024-05-10 10:14:51 +00:00
62d4060bb8
feat: Ability to pass the master password as option
All checks were successful
Rust CI / Rust CI (pull_request) Successful in 2m1s
Write changelog / write-changelog (push) Successful in 3s
Rust CI / Rust CI (push) Successful in 2m7s
2024-05-10 13:11:34 +03:00
forgejo-actions
a38c91c328 chore(changelog): Update changelog 2024-05-10 07:00:21 +00:00
f9fbf1a0b7
feat: Add get command
All checks were successful
Rust CI / Rust CI (pull_request) Successful in 2m47s
Write changelog / write-changelog (push) Successful in 3s
Rust CI / Rust CI (push) Successful in 2m8s
Fixes: #32
2024-05-10 09:12:59 +03:00
8cf83c2775
chore: Use print! to print the password 2024-05-10 05:08:48 +03:00
44b5b3e09b
remove: Remove --get option from list command
BREAKING-CHANGE: The deletion was in favor `get` command, which is better
2024-05-09 18:20:33 +03:00
forgejo-actions
4882cff6d2 chore(changelog): Update changelog 2024-05-09 12:54:21 +00:00
da568ab5e9
feat: Support custom fields
All checks were successful
Rust CI / Rust CI (pull_request) Successful in 2m22s
Write changelog / write-changelog (push) Successful in 3s
Rust CI / Rust CI (push) Successful in 1m59s
2024-05-09 15:40:30 +03:00
0b020a1cb6
chore: Create new utils for custom fields
Is `get_duplicated_field` and `apply_custom_fields` utils
2024-05-09 15:18:31 +03:00
71ca10e865
chore: A clap parser to parse key value args 2024-05-09 15:18:26 +03:00
4b87dd0770
chore: Add ArgParse error 2024-05-09 13:25:44 +03:00
e19c8bad19
chore(CI): Remove git-sumi workflow
All checks were successful
Write changelog / write-changelog (push) Successful in 2s
Rust CI / Rust CI (push) Successful in 1m43s
2024-05-08 06:08:27 +03:00
forgejo-actions
bc7316a6d3 chore(changelog): Update changelog 2024-05-08 03:06:41 +00:00
a6483cf333
feat: Support export and import with different password
Some checks failed
Check PR title / check_pr_title (pull_request) Failing after 5s
Rust CI / Rust CI (pull_request) Successful in 2m12s
Write changelog / write-changelog (push) Successful in 3s
Rust CI / Rust CI (push) Has been cancelled
2024-05-08 05:02:33 +03:00
5d1398832c
chore: Pass the prompt message as an argument to the user_password function 2024-05-08 05:02:32 +03:00
914222976c
chore: Encrypt the exported json with the given key 2024-05-08 05:02:32 +03:00
bc2257cdaf
chore: Derive Eq and PartialEq to Format 2024-05-08 05:02:32 +03:00
621ec6a07a
chore: Create user_password function and use it 2024-05-08 05:02:32 +03:00
forgejo-actions
e8ed50dd6a chore(changelog): Update changelog 2024-05-07 05:55:51 +00:00
127f3779f8 feat: Make the name option in edit & add as argument (#29)
All checks were successful
Write changelog / write-changelog (push) Successful in 3s
Rust CI / Rust CI (push) Successful in 1m48s
Reviewed-on: #29

BREAKING-CHANGE: Change the `name` option to argument in `name` and `edit` commands
Co-authored-by: Awiteb <a@4rs.nl>
Co-committed-by: Awiteb <a@4rs.nl>
2024-05-07 07:55:39 +02:00
3436e616f8
chore: Reformat the codebase with the new configration
All checks were successful
Rust CI / Rust CI (pull_request) Successful in 1m52s
Write changelog / write-changelog (push) Successful in 3s
Rust CI / Rust CI (push) Successful in 1m49s
2024-05-07 00:16:53 +03:00
c2ce56a7c3
chore(DX): Add `rustfmt.toml 2024-05-07 00:16:52 +03:00
09396c7a76
chore(CI): Dont check the PR title if the PR are WIP 2024-05-07 00:16:52 +03:00
17974ce74b
chore(lint): Impl the clippy lints 2024-05-07 00:16:52 +03:00
e24f33facd
chore(lints): Add rust/clippy lints
This will improve the DX, and make the codebase easy to figuring out
2024-05-07 00:16:52 +03:00