Sunil Mohan Adapa a6167a46b0
miniflux: Fix issues with running the CLI in a pseudo-terminal
- Check the exitstatus and signalstatus as seen from the ptyprocess module.

- Avoid accessing 'log' before is it initialized.

- When creating admin user, don't expect JSON message for all other types of
errors. They are simple strings.

Tests:

- Try to modify the password of a non-existent account. Notice the error message
is shown. Modify the password of an existing account and it succeeds.

- Create an account with username that already exists. Notice that error is
shown. Otherwise, it succeeds.

- Allow the UI to enter short passwords and notice that error is shown properly
during user creation and reset password.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
2024-07-30 00:13:30 +05:30
..
2024-07-27 23:41:56 +02:00
2024-05-02 21:46:11 -07:00
2024-07-16 22:52:59 -04:00
2023-08-23 21:47:39 -04:00
2024-05-02 21:45:25 -07:00
2021-09-20 16:50:37 -04:00
2024-03-16 09:17:35 +02:00
2024-03-16 09:17:35 +02:00