Skip to content

Conversation

@Kamilcuk
Copy link

@Kamilcuk Kamilcuk commented Dec 4, 2023

Try to implement #22 .

I needed/wanted to refactor a lot to have common code paths instead of separate. The frivolous usage of global namespace and pollution of symbols will bite in the long run. I added some comments, but the code is anyway a long way from mediocre.

I added "add" page for adding passwords from the ui. The fields is filled with the first matched pattern and secrets group to ease up filling. I use only a single secrets group.

This requires testing if it works correctly for all users, if errors are properly handled. Also needs to be tested with multiple secrets directory, I use only one. Thanks.

Kamil Cukrowski added 3 commits December 4, 2023 17:25
Move more function to common.js
Fix passing double // without subPath when making connection to vault
resulting in a lot of 301 redirections.
Add comments.
@mulbc
Copy link
Owner

mulbc commented Dec 5, 2023

Thanks for investing effort to refactor and improve the code. If possible, please split your work into one PR that refactors and then a second PR that adds functionality. That way it's much easier for me to review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants