~araspik

~araspik/public-inbox

Last active a day ago

~araspik/blabe

Last active 14 days ago

~araspik/statme

Last active 6 months ago
View more

Recent activity

[PATCH v3] Add support for :rmdir 2 months ago

From ARaspiK to ~sircmpwn/aerc

The `:rmdir` command removes the current directory (`-f` is required if
the directory is not empty).

This is not supported on the notmuch backend.

An issue with the maildir backend is that some sync programs (e.g.
offlineimap) may recover the directory after it is deleted.  They need
to specifically be configured to accept deletions, or special commands
need to be executed (e.g. `offlineimap --delete-folder`) to properly
delete folders.

A danger of using this on the IMAP backend is that it is possible for a
new message to be added to the directory and for aerc to not show it
immediately (due to a slow connection) - using `:rmdir` at this moment
[message trimmed]

Re: [PATCH v2] Add support for :rmdir 2 months ago

From ARaspiK to ~sircmpwn/aerc

Whoops, sorry, I misunderstood.  I'll fix it.

Re: [PATCH v2] Add support for :rmdir 2 months ago

From ARaspiK to ~sircmpwn/aerc

On Mon Aug 17, 2020 at 7:39 PM WAT, Reto wrote:
> Please add a case for the unsupported type, notmuch will return it and
> while you mention it in the manpage it would be nice to get a visual
> feedback

I thought I had?  The notmuch backend should automatically report an
unsupported error for unrecognized actions.  I didn't add support for
:rmdir to it, so it should just work.

[PATCH v2] Add support for :rmdir 2 months ago

From ARaspiK to ~sircmpwn/aerc

The `:rmdir` command removes the current directory (`-f` is required if
the directory is not empty).

This is not supported on the notmuch backend.

An issue with the maildir backend is that some sync programs (e.g.
offlineimap) may recover the directory after it is deleted.  They need
to specifically be configured to accept deletions, or special commands
need to be executed (e.g. `offlineimap --delete-folder`) to properly
delete folders.

A danger of using this on the IMAP backend is that it is possible for a
new message to be added to the directory and for aerc to not show it
immediately (due to a slow connection) - using `:rmdir` at this moment
[message trimmed]

[PATCH] Add support for :rmdir 2 months ago

From ARaspiK to ~sircmpwn/aerc

The `:rmdir` command removes the current directory (`-f` is required if
the directory is not empty).

This is not supported on the notmuch backend.

This is not yet supported on the maildir backend (blocking on
https://github.com/emersion/go-maildir/pull/8).  Once that PR is merged,
a few lines can be un-commented to add support.

A danger of using this on the IMAP backend is that it is possible for a
new message to be added to the directory and for aerc to not show it
immediately (due to a slow connection) - using `:rmdir` at this moment
(with `-f` if the directory already contains messages) would delete the
directory and the new message that just arrived (and all other
[message trimmed]

[WIP v2] Add proper encryption support 2 months ago

From ARaspiK to ~sircmpwn/aerc

THIS IS A WORK IN PROGRESS.

This provides a database containing PGP keys, along with new structures
to easily deal with PGP entities, keys, and identities.

A keyring type is also provided so that keys can be used through
go-pgpmail - however, changes may be made in the future which could
include some go-pgpmail functionality, so that the new key structures
can be used.

This patch is still missing user-side support for dealing with the
database - in particular, UI commands (e.g. :reload-keys), IPC commands
(e.g. aerc --import-keys).  In particular, it is still not possible to
actually encrypt messages (although all the pieces are now there to
[message trimmed]

Re: [WIP] Add proper encryption support 2 months ago

From ARaspiK to ~sircmpwn/aerc

On Tue Aug 11, 2020 at 2:38 PM WAT, Simon Ser wrote:
>
> Why is there a need for adding Encrypt and Sign functions? Are the
> versions of these functions in the lib not good enough?

It turns out that the versions in the lib are implemented on entities as
a whole, whereas it is actually possible for encryption and signing to
occur with specific subkeys.  I ended up copy/pasting a lot of that code
and essentially changing which key is selected (still feels worth it).

With this method, the user can choose a specific key, or not choose one
at all (so that the default one is used).  I use subkeys often myself,
and wanted such a feature.

[WIP] Add proper encryption support 2 months ago

From ARaspiK to ~sircmpwn/aerc

THIS IS A WORK IN PROGRESS.

This adds new types for OpenPGP keys, identities, and entities, along
with new operations upon them (such as for signing and encrypting data).

The new types include additional aerc-specific data; in particular, they
reference a keystore database, which will contain all OpenPGP data known
to aerc.

This patch will later include functionality for opening, closing,
querying, and updating the keystore database, and new functionality upon
keys, identities, and entities, for syncing them with the database.
---
I'm sharing this so that I can get some feedback on whether I'm heading
[message trimmed]

Re: [PATCH v2] Add `oauthbearer` support for SMTP 2 months ago

From ARaspiK to ~sircmpwn/aerc

On Tue Aug 11, 2020 at 9:56 AM WAT, Reto wrote:
>
> Did anyone test the patch below?
> I personally don't use oauth for my server.
>
> Any feedback would be appreciated.

I just tested it (on gmail), and can confirm that it works (although it
did once fail, for no apparent reason; retrying it then worked).

[PATCH man.sr.ht v1] Fix broken links in rendering markdown 3 months ago

From ARaspiK to ~sircmpwn/sr.ht-dev

It turns out that the core.sr.ht markdown function expects the
link_prefix to refer to the directory containing files for relative
URLs, but man.sr.ht would often set link_prefix to refer to files within
the relevant directory. This fixes the issue.
---
Candidate fix for https://todo.sr.ht/~sircmpwn/sr.ht/253.

 mansrht/blueprints/html.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/mansrht/blueprints/html.py b/mansrht/blueprints/html.py
index 5248cb3..269bcf8 100644
--- a/mansrht/blueprints/html.py
+++ b/mansrht/blueprints/html.py
[message trimmed]