~taiite

France

http://taiite.srht.site/

~taiite/public-inbox

Last active 12 days ago
View more

Recent activity

Re: [PATCH senpai] Alphabetically sort buffer list 14 days ago

From Hubert Hirtz to ~taiite/public-inbox

Thank you for the patch!

May I ask why you want to sort the channels?

I am using senpai with soju [0], which sends JOIN grouped by upstream
network, for example:

    #soju/fn
    #senpai/fn
    #sr.ht/fn
    #arch-fr/rz
    #somechannel/rz

("fn" and "rz" being two IRC networks), sorting channels alphabetically

[PATCH v2] Implement CHATHISTORY BETWEEN 16 days ago

From Hubert Hirtz to ~emersion/soju-dev

---

Implemented BETWEEN as BEFORE or AFTER depending on the order of the
bounds.

Since both bounds are exclusive [0] there is no sane way to name them
other than "1" and "2"...

I did some light testing and found it doesn't break BEFORE.

[0] "... the returned messages MUST be counted starting from and
excluding the first message selector, while finishing on and excluding
the second"
[message trimmed]

[PATCH] Fix CHATHISTORY target not being casemapped 17 days ago

From Hubert Hirtz to ~emersion/soju-dev

---
 downstream.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/downstream.go b/downstream.go
index cf9da70..1ccad42 100644
--- a/downstream.go
+++ b/downstream.go
@@ -1819,6 +1819,7 @@ func (dc *downstreamConn) handleMessageRegistered(msg *irc.Message) error {
		if err != nil {
			return err
		}
		entity = uc.network.casemap(entity)

[message trimmed]

Re: [PATCH senpai v2] Add PHONY Makefile targets 18 days ago

From Hubert Hirtz to ~taiite/public-inbox

Thank you, I'll be pushing this!

delay is not a problem :)

Re: [PATCH senpai] Add Go and module files as Makefile deps 21 days ago

From Hubert Hirtz to ~taiite/public-inbox

Thank you for the patch!

On Fri, 19 Mar 2021 22:53:37 +0100, Galen Abell wrote:
> This ensures that running `make` will rebuild senpai if files other
> than cmd/senpai/main.go are modified.
> ---
> Resending with proper repo prefix.
> 
>  Makefile | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/Makefile b/Makefile
> index 8cc57e5..052f535 100644
> --- a/Makefile

[PATCH] Implement casemapping 27 days ago

From Hubert Hirtz to ~emersion/soju-dev

TL;DR: supports for casemapping, now logs are saved in
casemapped/canonical/tolower form
(eg. in the #channel directory instead of #Channel... or something)

== What is casemapping? ==

see <https://modern.ircdocs.horse/#casemapping-parameter>

== Casemapping and multi-upstream ==

Since each upstream does not necessarily use the same casemapping, and
since casemappings cannot coexist [0],

1. soju must also update the database accordingly to upstreams'
[message trimmed]

[PATCH v9] Implement casemapping 28 days ago

From Hubert Hirtz to ~emersion/soju-dev

TL;DR: supports for casemapping, now logs are saved in
casemapped/canonical/tolower form
(eg. in the #channel directory instead of #Channel... or something)

== What is casemapping? ==

see <https://modern.ircdocs.horse/#casemapping-parameter>

== Casemapping and multi-upstream ==

Since each upstream does not necessarily use the same casemapping, and
since casemappings cannot coexist [0],

1. soju must also update the database accordingly to upstreams'
[message trimmed]

Re: [PATCH] msgstore_fs: correctly handle timestamps a month ago

From Hubert Hirtz to ~emersion/soju-dev

On Mon, 08 Mar 2021 11:10:40 +0000, Simon Ser wrote:
> > What bug is this patch trying to fix? This computation is a bit
> > finicky IIRC.
> >
> > CC delthas
> >  
> > > ---
> > >  msgstore_fs.go | 6 ++----
> > >  1 file changed, 2 insertions(+), 4 deletions(-)
> > >
> > > diff --git a/msgstore_fs.go b/msgstore_fs.go
> > > index fdeb91c..a203ac3 100644
> > > --- a/msgstore_fs.go
> > > +++ b/msgstore_fs.go