~tristan957

Austin, Texas

https://tristan.partin.io

Software developer experienced in open-source communities, device drivers, application software, web development, and data modeling.

~tristan957/vscode-postgres-discuss

Last active 5 months ago

~tristan957/vscode-postgres-devel

Last active 5 months ago

~tristan957/public-inbox

Last active 3 years ago

~tristan957/vscode-sr-ht-discuss

Last active 3 years ago

~tristan957/vscode-sr-ht-devel

Last active 3 years ago

~tristan957/vscode-sr-ht-announce

Last active 3 years ago

~tristan957/noteriety-discuss

Last active 3 years ago

~tristan957/noteriety-devel

Last active 3 years ago

~tristan957/noteriety-announce

Last active 3 years ago

~tristan957/pigeon-discuss

Last active 4 years ago
View more

Recent activity

[RFC aerc v2] jmap: fetch entire threads 3 days ago

From Tristan Partin to ~rjarry/aerc-devel

JMAP was missing good thread support, especially when compared to Gmail.
This will fetch entire threads when possible.

Signed-off-by: Tristan Partin <tristan@partin.io>
---
 worker/jmap/cache/gob.go    |   2 +
 worker/jmap/cache/state.go  |  13 +++
 worker/jmap/cache/thread.go |  35 +++++++
 worker/jmap/fetch.go        | 179 +++++++++++++++++++++++++++++-------
 worker/jmap/state.go        |  26 ++++++
 5 files changed, 223 insertions(+), 32 deletions(-)
 create mode 100644 worker/jmap/cache/thread.go

diff --git a/worker/jmap/cache/gob.go b/worker/jmap/cache/gob.go
[message trimmed]

[RFC aerc v1] jmap: fetch entire threads 3 days ago

From Tristan Partin to ~rjarry/aerc-devel

JMAP was missing good thread support, especially when compared to Gmail.
This will fetch entire threads when possible.

Signed-off-by: Tristan Partin <tristan@partin.io>
---
 worker/jmap/cache/gob.go   |   2 +
 worker/jmap/cache/state.go |  13 +++
 worker/jmap/fetch.go       | 166 +++++++++++++++++++++++++++++--------
 worker/jmap/state.go       |  26 ++++++
 4 files changed, 174 insertions(+), 33 deletions(-)

diff --git a/worker/jmap/cache/gob.go b/worker/jmap/cache/gob.go
index f1b8be33..8b153c50 100644
--- a/worker/jmap/cache/gob.go
[message trimmed]

[PATCH go-jmap v1] jmap: expose ID::Valid() function 3 days ago

From Tristan Partin to ~rockorager/go-jmap-devel

A consumer cannot be aware of whether or not an ID is valid otherwise.

Signed-off-by: Tristan Partin <tristan@partin.io>
---
 jmap.go      | 16 +++++++++++++---
 jmap_test.go | 31 +++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+), 3 deletions(-)
 create mode 100644 jmap_test.go

diff --git a/jmap.go b/jmap.go
index b074f2c..30edec2 100644
--- a/jmap.go
+++ b/jmap.go
@@ -20,12 +20,22 @@ type ID string
[message trimmed]

[PATCH aerc v2] jmap: invalidate cache if mailbox state is not consistent 4 days ago

From Tristan Partin to ~rjarry/aerc-devel

We weren't checking if the cached state was the same as the remote state
before reading it. This led to aerc not knowing about new mailboxes on
the remote.

Signed-off-by: Tristan Partin <tristan@partin.io>
---
 worker/jmap/directories.go | 39 +++++++++++++++++++++++++++-----------
 worker/jmap/state.go       | 29 ++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+), 11 deletions(-)
 create mode 100644 worker/jmap/state.go

diff --git a/worker/jmap/directories.go b/worker/jmap/directories.go
index bc47e691..2b253975 100644
--- a/worker/jmap/directories.go
[message trimmed]

Re: [PATCH aerc v1] jmap: invalidate cache if mailbox state is not consistent 10 days ago

From Tristan Partin to ~rjarry/aerc-devel

On Sat May 11, 2024 at 2:15 PM CDT, Tristan Partin wrote:
> We weren't checking if the cached state was the same as the remote state
> before reading it. This led to aerc not knowing about new mailboxes on
> the remote.
>
> Signed-off-by: Tristan Partin <tristan@partin.io>
> ---
>  worker/jmap/directories.go | 39 +++++++++++++++++++++++++++-----------
>  worker/jmap/state.go       | 29 ++++++++++++++++++++++++++++
>  2 files changed, 57 insertions(+), 11 deletions(-)
>  create mode 100644 worker/jmap/state.go
>
> diff --git ./worker/jmap/directories.go incoming/worker/jmap/directories.go
> index bc47e691..eac63398 100644

[PATCH aerc v1] jmap: invalidate cache if mailbox state is not consistent 12 days ago

From Tristan Partin to ~rjarry/aerc-devel

We weren't checking if the cached state was the same as the remote state
before reading it. This led to aerc not knowing about new mailboxes on
the remote.

Signed-off-by: Tristan Partin <tristan@partin.io>
---
 worker/jmap/directories.go | 39 +++++++++++++++++++++++++++-----------
 worker/jmap/state.go       | 29 ++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+), 11 deletions(-)
 create mode 100644 worker/jmap/state.go

diff --git ./worker/jmap/directories.go incoming/worker/jmap/directories.go
index bc47e691..eac63398 100644
--- ./worker/jmap/directories.go
[message trimmed]

[PATCH aerc v1] quit: add :q alias 2 months ago

From Tristan Partin to ~rjarry/aerc-devel

This used to work, but after f3a61a34 (where :query) was added, we had
two commands which then started with q. So, the automatic alias stopped
working.

Changelog-added: Specify a ":q" alias for quit.
Signed-off-by: Tristan Partin <tristan@partin.io>
---
 commands/quit.go | 2 +-
 doc/aerc.1.scd   | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/commands/quit.go b/commands/quit.go
index aa996422..e17200ef 100644
--- a/commands/quit.go
[message trimmed]

[PATCH aerc v3] detach: add glob support 2 months ago

From Tristan Partin to ~rjarry/aerc-devel

This matches the behavior of :attach.

Changelog-added: The `:detach` command now understands globs similar to
 `:attach`.
Signed-off-by: Tristan Partin <tristan@partin.io>
Reviewed-by: Moritz Poldrack <moritz@poldrack.dev>
Reviewed-by: Robin Jarry <robin@jarry.cc>

---

This includes a reworded commit message and the removal of an
unnecessary "if err return err else return nil."

---
[message trimmed]

[PATCH aerc v2] detach: add glob support 2 months ago

From Tristan Partin to ~rjarry/aerc-devel

This matches the behavior of :attach.

Changelog-added: The `:detach` command now understands globs similar to
 `:attach`.
Signed-off-by: Tristan Partin <tristan@partin.io>
Reviewed-by: Moritz Poldrack <moritz@poldrack.dev>
Reviewed-by: Robin Jarry <robin@jarry.cc>
---
 commands/compose/detach.go | 46 ++++++++++++++++++++++++++++++++++++--
 doc/aerc.1.scd             |  3 ++-
 2 files changed, 46 insertions(+), 3 deletions(-)

diff --git a/commands/compose/detach.go b/commands/compose/detach.go
index 36c7c314..cdd6ed1a 100644
[message trimmed]

Re: [PATCH aerc] ui: update vaxis 2 months ago

From Tristan Partin to ~rjarry/aerc-devel

For the v2 as discussed in IRC.

Tested-by: Tristan Partin <tristan@partin.io>

-- 
Tristan Partin
https://tristan.partin.io