~gjabell

Berlin

https://galenabell.com

~gjabell/public-inbox

Last active 4 years ago

~gjabell/mfn-devel

Last active 4 years ago

~gjabell/mfn-announce

Last active 4 years ago
View more

Recent activity

[PATCH] Show error when searching if unsupported 2 years ago

From Galen Abell to ~delthas-alt/senpai-dev

It's confusing to search for something and have no results show if the
server doesn't support the soju.im/search capability.
---
 commands.go | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/commands.go b/commands.go
index 03e999a..404d85c 100644
--- a/commands.go
+++ b/commands.go
@@ -596,6 +596,8 @@ func commandDoSearch(app *App, args []string) (err error) {
	s := app.sessions[netID]
	if s == nil {
		return errOffline
[message trimmed]

[PATCH] Show error when searching if unsupported 2 years ago

From Galen Abell to ~delthas/senpai-dev

It's confusing to search for something and have no results show if the
server doesn't support the soju.im/search capability.
---
 commands.go | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/commands.go b/commands.go
index 03e999a..404d85c 100644
--- a/commands.go
+++ b/commands.go
@@ -596,6 +596,8 @@ func commandDoSearch(app *App, args []string) (err error) {
	s := app.sessions[netID]
	if s == nil {
		return errOffline
[message trimmed]

[PATCH senpai] Fix default highlight command path not being used 2 years ago

From Galen Abell to ~taiite/public-inbox

---
This fixes the highlight command not being called if one is not
specified.
 app.go | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/app.go b/app.go
index 1144560..17d9e69 100644
--- a/app.go
+++ b/app.go
@@ -864,11 +864,11 @@ func (app *App) notifyHighlight(buffer, nick, content string) {
	}

	netID, curBuffer := app.win.CurrentBuffer()
[message trimmed]

[PATCH hub.sr.ht] webhooks: Don't fail if there is no todo.sr.ht 2 years ago

From Galen Abell to ~sircmpwn/sr.ht-dev

---
 hubsrht/blueprints/webhooks.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/hubsrht/blueprints/webhooks.py b/hubsrht/blueprints/webhooks.py
index fe7b9f7..cb9a53a 100644
--- a/hubsrht/blueprints/webhooks.py
+++ b/hubsrht/blueprints/webhooks.py
@@ -123,7 +123,7 @@ _ticket_url_re = re.compile(
    $
    """,
    re.VERBOSE,
)
) if _todosrht else None
[message trimmed]

[PATCH sr.ht-apkbuilds] builds.sr.ht: Add missing initd dependencies 3 years ago

From Galen Abell to ~sircmpwn/sr.ht-dev

---
 sr.ht/builds.sr.ht/builds.sr.ht-worker.initd | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/sr.ht/builds.sr.ht/builds.sr.ht-worker.initd b/sr.ht/builds.sr.ht/builds.sr.ht-worker.initd
index f2b6930..cec6543 100755
--- a/sr.ht/builds.sr.ht/builds.sr.ht-worker.initd
+++ b/sr.ht/builds.sr.ht/builds.sr.ht-worker.initd
@@ -11,6 +11,13 @@ command_args="$EXTRA_ARGS"
command_user="$BUILDS_USER:$BUILDS_USER"
pidfile="/run/${RC_SVCNAME}.pid"

depend() {
	need net
[message trimmed]

[PATCH sr.ht-docs] builds.sr.ht: Runner requires rw on task table 3 years ago

From Galen Abell to ~sircmpwn/sr.ht-dev

---
 builds.sr.ht/configuration.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/builds.sr.ht/configuration.md b/builds.sr.ht/configuration.md
index e0488ff..b04a641 100644
--- a/builds.sr.ht/configuration.md
@@ -52,7 +52,7 @@ runner if you prefer). They need the following permissions:

- **master** should have ownership over the database and full read/write/alter
  access to all table
- **runner** should have read/write access to the job table and artifact table,
- **runner** should have read/write access to the job, artifact and task tables,
[message trimmed]

[PATCH meta.sr.ht] API: Don't attempt to parse IPv6 as a hostname 3 years ago

From Galen Abell to ~sircmpwn/sr.ht-dev

Fixes a crash that occurs when the remote address is an IPv6 address.
The address should only be parsed as a hostport string if it also cannot
be parsed as a normal IP address.
---
 api/graph/resolver.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/api/graph/resolver.go b/api/graph/resolver.go
index c18a8fe..8cc7e93 100644
--- a/api/graph/resolver.go
+++ b/api/graph/resolver.go
@@ -58,7 +58,7 @@ func recordAuditLog(ctx context.Context, eventType, details string) {
	database.WithTx(ctx, nil, func(tx *sql.Tx) error {
		var err error
[message trimmed]

[PATCH sxmo-utils] Don't echo pmos-tweaks path in config menu 3 years ago

From Galen Abell to ~mil/sxmo-devel

---
Small fix so the pmos-tweaks path isn't printed in the menu along with
the menu entry.

 scripts/core/sxmo_appmenu.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/core/sxmo_appmenu.sh b/scripts/core/sxmo_appmenu.sh
index f7abbfb..a8014f9 100755
--- a/scripts/core/sxmo_appmenu.sh
+++ b/scripts/core/sxmo_appmenu.sh
@@ -151,7 +151,7 @@ programchoicesinit() {
			$icon_ror Rotate                     ^ 1 ^ sxmo_rotate.sh rotate
			$icon_upc Upgrade Pkgs               ^ 0 ^ sxmo_terminal.sh sxmo_upgrade.sh
[message trimmed]

[PATCH sxmo-utils] Add context menu for cmus 3 years ago

From Galen Abell to ~mil/sxmo-devel

Requires the `set_term_title` in cmus to be set to false, otherwise cmus
will set the WM_TITLE to the currently playing song / album, which makes
it hard to determine that the current app is cmus.
---
 scripts/core/sxmo_appmenu.sh | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/scripts/core/sxmo_appmenu.sh b/scripts/core/sxmo_appmenu.sh
index eebaaf8..f4bca4c 100755
--- a/scripts/core/sxmo_appmenu.sh
+++ b/scripts/core/sxmo_appmenu.sh
@@ -359,6 +359,20 @@ programchoicesinit() {
				$icon_phn Call           ^ 0 ^ sxmo_modemdial.sh $number
			"
[message trimmed]

[PATCH] filetype: Set "groovy" for Jenkinsfile 3 years ago

From Galen Abell to ~martanne/devel

---
 lua/plugins/filetype.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua
index bf80a89..3cd234e 100644
--- a/lua/plugins/filetype.lua
+++ b/lua/plugins/filetype.lua
@@ -176,7 +176,7 @@ vis.ftdetect.filetypes = {
		ext = { "%.go$" },
	},
	groovy = {
		ext = { "%.groovy$", "%.gvy$" },
		ext = { "%.groovy$", "%.gvy$", "^Jenkinsfile$" },
[message trimmed]