~pingiun

Nijmegen, Netherlands

https://pingiun.com

~pingiun/nix-configs

Last active 19 days ago

~pingiun/fbhalve

Last active 25 days ago
View more

Recent activity

[PATCH 2/3] Add addresses argument to forward command 6 days ago

From Jelle Besseling to ~sircmpwn/aerc

---
This is not strictly necessary for this patch set, but I found it useful
anyway.
 commands/msg/forward.go | 10 +++++++++-
 doc/aerc.1.scd          |  2 +-
 widgets/compose.go      |  7 +++++++
 3 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/commands/msg/forward.go b/commands/msg/forward.go
index d7ecf66..ca29096 100644
--- a/commands/msg/forward.go
+++ b/commands/msg/forward.go
@@ -8,6 +8,7 @@ import (
 	"github.com/emersion/go-message"
[message trimmed]

[PATCH 3/3] Add forwarding as attachment feature 6 days ago

From Jelle Besseling to ~sircmpwn/aerc

This allows a single message to be forward as attachment with the
:forward -a command
---
 commands/msg/forward.go | 64 ++++++++++++++++++++++++++++++++++++++---
 doc/aerc.1.scd          |  4 ++-
 widgets/compose.go      |  9 ++++++
 3 files changed, 72 insertions(+), 5 deletions(-)

diff --git a/commands/msg/forward.go b/commands/msg/forward.go
index ca29096..a183af3 100644
--- a/commands/msg/forward.go
+++ b/commands/msg/forward.go
@@ -4,10 +4,16 @@ import (
 	"bufio"
[message trimmed]

[PATCH 1/3] Move forward command to it's own file 6 days ago

From Jelle Besseling to ~sircmpwn/aerc

The two commands did not have much code in common
---
 commands/msg/forward.go | 104 ++++++++++++++++++++++++++++++++++++++++
 commands/msg/reply.go   |  96 ++++++++++---------------------------
 2 files changed, 130 insertions(+), 70 deletions(-)
 create mode 100644 commands/msg/forward.go

diff --git a/commands/msg/forward.go b/commands/msg/forward.go
new file mode 100644
index 0000000..d7ecf66
--- /dev/null
+++ b/commands/msg/forward.go
@@ -0,0 +1,104 @@
+package msg
[message trimmed]

[PATCH 0/3] Add forwarding as attachment feature 6 days ago

From Jelle Besseling to ~sircmpwn/aerc

This partially fixes #137 but without threading support. 

https://todo.sr.ht/~sircmpwn/aerc2/136

Jelle Besseling (3):
  Move forward command to it's own file
  Add addresses argument to forward command
  Add forwarding as attachment feature

 commands/msg/forward.go | 168 ++++++++++++++++++++++++++++++++++++++++
 commands/msg/reply.go   |  96 +++++++----------------
 doc/aerc.1.scd          |   4 +-
 widgets/compose.go      |  16 ++++
 4 files changed, 213 insertions(+), 71 deletions(-)

[PATCH git.sr.ht] Update last_used value on ssh key on auth 10 days ago

From Jelle Besseling to ~sircmpwn/sr.ht-dev

Calls the meta.sr.ht api to update the last_used field on the ssh key
used for authentication.
---
This builds on a meta.sr.ht patch that I sent previously[0]. The
last_used field on ssh keys is currently not updated when the ssh key is
used (I believe). This series of patches enables updating that field for
git.sr.ht.

This is my first set of patches for the sr.ht project, I tried to follow
the code structure and conventions, however I don't fully understand
when to use the oauth API and when internal api methods can be used.
I'd like to work more on this patch even if I need to completely
restructure it.
[message trimmed]

[PATCH meta.sr.ht] Add last_used update internal api 10 days ago

From Jelle Besseling to ~sircmpwn/sr.ht-dev

Add API that can be used by scripts to update the last_used field for a
base64 ssh key.
---
This builds on a previous patch I sent for meta.sr.ht[0] that adds the
b64_key field to the SSHKey table. This new api can also be built using the
previous mechanism of using the ilike() method.

This new API can be used by the git.sr.ht scripts to update the
last_used value while only having a base64 key. (I will also send a
patch for this)

[0] https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/7502
 metasrht/blueprints/api/keys.py | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)
[message trimmed]

[PATCH meta.sr.ht] Save b64_key and key_type in SSHKey table 10 days ago

From Jelle Besseling to ~sircmpwn/sr.ht-dev

Use sshpubkeys to parse the base64 key data from the ssh key. This
allows the keys api to search the database exactly based on the base 64
data.
---
This is currently BLOCKED because it depends on my pull request on
python-sshpubkeys[0]. Alternatively we could reencode the private
_decoded_key field[1], or use the private _split_key method[2].

The split_key method could also be copied into the project as to protect
against changing private APIs.


[0] https://github.com/ojarva/python-sshpubkeys/pull/65
[1] https://github.com/ojarva/python-sshpubkeys/blob/9d6289c717a79dd8e49311af647877c95ebc41d3/sshpubkeys/keys.py#L116
[message trimmed]

[PATCH v3 1/1] Ignore scroll command when msgstore is nil 16 days ago

From Jelle Besseling to ~sircmpwn/aerc

Fixes ~sircmpwn/aerc2#205. Many functions do a nil check on the store,
so this changes Store() so it returns nil when msglist is nil.

It also places the Scroll() behind the nil check in the next-message command.

https://todo.sr.ht/~sircmpwn/aerc2/205
---
 commands/account/next.go | 4 ++--
 widgets/account.go       | 3 +++
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/commands/account/next.go b/commands/account/next.go
index 7b1f230..1ba4b1b 100644
--- a/commands/account/next.go
[message trimmed]

[PATCH v3 0/1] Return nil when msglist is nil in Store() 16 days ago

From Jelle Besseling to ~sircmpwn/aerc

My previous patch was replied to my first patch (which I now believe 
you aren't supposed to do). It was also broken because I thought I could
send the email using apple mail, but apple mail uses a quoted-printable
encoding. I'm still learning how to use git send-email correctly but I
believe this one should work fine.

Jelle Besseling (1):
  Ignore scroll command when msgstore is nil

 commands/account/next.go | 4 ++--
 widgets/account.go       | 3 +++
 2 files changed, 5 insertions(+), 2 deletions(-)

--

[PATCH v2] Ignore scroll command when msgstore is nil 17 days ago

From Jelle Besseling to ~sircmpwn/aerc

Fixes ~sircmpwn/aerc2#205. Many functions do a nil check on the store,
so this changes Store() so it returns nil when msglist is nil.

It also places the Scroll() behind the nil check in the next-message command.

https://todo.sr.ht/~sircmpwn/aerc2/205
---
This is a followup to Kevin Keuhlers comment. This implementation is a
bit cleaner than v1, because it doesn't perform the nil check in the struct
itself.

commands/account/next.go | 4 ++--
widgets/account.go       | 3 +++
2 files changed, 5 insertions(+), 2 deletions(-)