Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add password_command config option #552

Merged
merged 2 commits into from
Sep 16, 2024
Merged

Conversation

4e554c4c
Copy link
Contributor

closes #424

related to #551 but I don't think that fix should be done in this PR, since it the changes involved are largely orthogonal to this one.

4e554c4c added a commit to 4e554c4c/halloy that referenced this pull request Sep 13, 2024
4e554c4c added a commit to 4e554c4c/halloy that referenced this pull request Sep 13, 2024
Fixes squidowl#551
Needed for squidowl#552, squidowl#424

Test plan:
1) open halloy
2) test reloading config
3) apply patches in squidowl#552
4) observe that UI operates while long-running command is blocking the
   config from reloading
4e554c4c added a commit to 4e554c4c/halloy that referenced this pull request Sep 13, 2024
Fixes squidowl#551
Needed for squidowl#552, squidowl#424

Test plan:
1) open halloy
2) test reloading config
3) apply patches in squidowl#552
4) observe that UI operates while long-running command is blocking the
   config from reloading
4e554c4c added a commit to 4e554c4c/halloy that referenced this pull request Sep 13, 2024
Fixes squidowl#551
Needed for squidowl#552, squidowl#424

Test plan:
1) open halloy
2) test reloading config
3) apply patches in squidowl#552
4) observe that UI operates while long-running command is blocking the
   config from reloading
data/src/server.rs Outdated Show resolved Hide resolved
4e554c4c added a commit to 4e554c4c/halloy that referenced this pull request Sep 13, 2024
Fixes squidowl#551
Needed for squidowl#552, squidowl#424

Test plan:
1) open halloy
2) test reloading config
3) apply patches in squidowl#552
4) observe that UI operates while long-running command is blocking the
   config from reloading
@tarkah tarkah merged commit fdd42c9 into squidowl:main Sep 16, 2024
1 check passed
4e554c4c added a commit to 4e554c4c/halloy that referenced this pull request Sep 20, 2024
This commit builds off of squidowl#552 and allows the user to supply a command
instead of a password file anywhere that a password file is used. If the
password command ends unsuccessfully, then an error is displayed.

Trailing whitespace is now trimmed from password commands, as it is
commonplace for commands to leave a trailing newline after the password
they output.

Resolves squidowl#580
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.

password-cmd
2 participants