~taiite

France

http://git.sr.ht/~taiite

~taiite/public-inbox

Last active 2 months ago
View more

Recent activity

[PATCH v6] Implement casemapping a day 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 v5] Implement casemapping a day 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 v2] Request invite-notify to upstreams 7 days ago

From Hubert Hirtz to ~emersion/soju-dev

... and do not forward INVITEs to downstreams that do not support the
capability.

The downstream capability can be permanent because there is no way for a
client to get the list of people invited to a channel, thus no state can
be corrupted.

---

Sorry for the stupid v1

Also note: please don't apply the current casemapping patch AND this
patch, i'll send another version since this patch compares two nicknames
[message trimmed]

[PATCH] Correctly handle empty IRC messages 8 days ago

From Hubert Hirtz to ~emersion/soju-dev

A new version of go-irc includes a fix that makes irc.Conn.ReadMessage
ignore empty messages. This fixes soju closing connections on an empty
message.
---
 go.mod | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/go.mod b/go.mod
index 462d99c..e3b1457 100644
--- a/go.mod
+++ b/go.mod
@@ -11,6 +11,6 @@ require (
	github.com/pires/go-proxyproto v0.2.0
	golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897
[message trimmed]

[PATCH v2] Request invite-notify to upstreams 9 days ago

From Hubert Hirtz to ~emersion/soju-dev

... and do not forward INVITEs to downstreams that do not support the
capability.

The downstream capability can be permanent because there is no way for a
client to get the list of people invited to a channel, thus no state can
be corrupted.
---
 downstream.go | 13 +++++++------
 upstream.go   |  4 ++++
 2 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/downstream.go b/downstream.go
index 200345f..e2824d2 100644
--- a/downstream.go
[message trimmed]

[PATCH] Request invite-notify to upstreams 9 days ago

From Hubert Hirtz to ~emersion/soju-dev

... and do not forward INVITEs to downstreams that do not support the
capability.
---
 upstream.go | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/upstream.go b/upstream.go
index 6cf035d..61aa2df 100644
--- a/upstream.go
+++ b/upstream.go
@@ -27,6 +27,7 @@ var permanentUpstreamCaps = map[string]bool{
	"away-notify":      true,
	"batch":            true,
	"extended-join":    true,
[message trimmed]

[PATCH v4] Implement casemapping 9 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]

Hand-made parser? 10 days ago

From Hubert Hirtz to ~cdv/public-inbox

Would you accept a patch that'd replace peg with a hand-made parser?

The main reason to do so is to let go of a somewhat large dependency
(it depends on multiple crates and especially proc-macro2).

I've started an impl and from how it's going the parser would be ~200
lines without comments.

Cheers

[PATCH] Don't forward batch tags 21 days ago

From Hubert Hirtz to ~emersion/soju-dev

We don't want to have the batch tag when calling uc.produce, otherwise
downstream will end up with junk batch ids.

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

diff --git a/upstream.go b/upstream.go
index 5621086..6cf035d 100644
--- a/upstream.go
+++ b/upstream.go
@@ -373,6 +373,7 @@ func (uc *upstreamConn) handleMessage(msg *irc.Message) error {
		if label == "" {
			label = msgBatch.Label
[message trimmed]

[PATCH v3] Implement casemapping a month 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]