~amk

program writer for a respectable software company

~amk/public-inbox

Last active 5 days ago
View more

Recent activity

[PATCH gamja] Add support for uploading files with FILEHOST 2 months ago

From Alex McGrath to ~emersion/public-inbox

---
 components/app.js           | 41 +++++++++++++++++++++++++++++++++++++
 components/buffer-header.js | 25 +++++++++++++++++++---
 lib/irc.js                  |  4 ++++
 3 files changed, 67 insertions(+), 3 deletions(-)

diff --git a/components/app.js b/components/app.js
index a27c915..db3d713 100644
--- a/components/app.js
+++ b/components/app.js
@@ -226,6 +226,7 @@ export default class App extends Component {
		this.handleVerifyClick = this.handleVerifyClick.bind(this);
		this.handleVerifySubmit = this.handleVerifySubmit.bind(this);
		this.handleOpenSettingsClick = this.handleOpenSettingsClick.bind(this);
[message trimmed]

[PATCH soju v3] Add CORS headers in fileUploadHandler 2 months ago

From Alex McGrath to ~emersion/soju-dev

---

This also allows the content-disposition header, unfortunately '*'
doesnt seem to work for CORS headers when the authorization
header is set.

 cmd/soju/main.go         |  7 +++--
 fileupload/fileupload.go | 66 ++++++++++++++++++++++++++++++++++++++--
 2 files changed, 67 insertions(+), 6 deletions(-)

diff --git a/cmd/soju/main.go b/cmd/soju/main.go
index 7dfed44..04de78b 100644
--- a/cmd/soju/main.go
+++ b/cmd/soju/main.go
[message trimmed]

[PATCH soju v2] Add CORS headers in fileUploadHandler 2 months ago

From Alex McGrath to ~emersion/soju-dev

---

Adds a missing cors header to expose the 'Location' header to the
browser

 cmd/soju/main.go         |  7 +++--
 fileupload/fileupload.go | 66 ++++++++++++++++++++++++++++++++++++++--
 2 files changed, 67 insertions(+), 6 deletions(-)

diff --git a/cmd/soju/main.go b/cmd/soju/main.go
index 7dfed44..04de78b 100644
--- a/cmd/soju/main.go
+++ b/cmd/soju/main.go
@@ -159,9 +159,10 @@ func main() {
[message trimmed]

[PATCH] Add CORS headers in fileUploadHandler 2 months ago

From Alex McGrath to ~emersion/soju-dev

---
 cmd/soju/main.go         |  7 +++--
 fileupload/fileupload.go | 65 ++++++++++++++++++++++++++++++++++++++--
 2 files changed, 66 insertions(+), 6 deletions(-)

diff --git a/cmd/soju/main.go b/cmd/soju/main.go
index 7dfed44..04de78b 100644
--- a/cmd/soju/main.go
+++ b/cmd/soju/main.go
@@ -159,9 +159,10 @@ func main() {
	fileUploadHandler := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
		cfg := srv.Config()
		h := fileupload.Handler{
			Uploader: cfg.FileUploader,
[message trimmed]

[PATCH kimchi] Include query parameters when using the 'redirect' directive 1 year, 4 months ago

From Alex McGrath to ~emersion/public-inbox

---
 directives.go | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/directives.go b/directives.go
index 9a57ff4..8891d9e 100644
--- a/directives.go
+++ b/directives.go
@@ -229,7 +229,16 @@ var backends = map[string]parseBackendFunc{
		if err := dir.ParseParams(&to); err != nil {
			return nil, err
		}
		return http.RedirectHandler(to, http.StatusFound), nil

[message trimmed]

[PATCH] community/tllist: upgrade to 1.1.0 1 year, 8 months ago

From Alex McGrath to ~sircmpwn/alpine-aports

---
 community/tllist/APKBUILD | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/community/tllist/APKBUILD b/community/tllist/APKBUILD
index b862c6053f..76d5c74560 100644
--- a/community/tllist/APKBUILD
+++ b/community/tllist/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Alex McGrath <amk@amk.ie>
pkgname=tllist
pkgver=1.0.5
pkgver=1.1.0
pkgrel=0
[message trimmed]

[PATCH] community/fcft: upgrade to 3.1.2 1 year, 11 months ago

From Alex McGrath to ~sircmpwn/alpine-aports

---
 community/fcft/APKBUILD | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/community/fcft/APKBUILD b/community/fcft/APKBUILD
index c678be31b2..ef5fd7b03e 100644
--- a/community/fcft/APKBUILD
+++ b/community/fcft/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Alex McGrath <amk@amk.ie>
pkgname=fcft
pkgver=3.1.1
pkgrel=1
pkgver=3.1.2
[message trimmed]

[PATCH] community/py3-mpv: upgrade to 1.0.1 1 year, 11 months ago

From Alex McGrath to ~sircmpwn/alpine-aports

---
 community/py3-mpv/APKBUILD | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/community/py3-mpv/APKBUILD b/community/py3-mpv/APKBUILD
index 2f46ffde67..60d52295b4 100644
--- a/community/py3-mpv/APKBUILD
+++ b/community/py3-mpv/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Alex McGrath <amk@amk.ie>
# Maintainer: Alex McGrath <amk@amk.ie>
pkgname=py3-mpv
pkgver=0.5.2
pkgrel=2
[message trimmed]

[PATCH] gracefully fail when no messages are selected for deletion or moving 1 year, 11 months ago

From Alex McGrath to ~migadu/alps-devel

---
 plugins/base/routes.go | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/plugins/base/routes.go b/plugins/base/routes.go
index 255faa5..52d1681 100644
--- a/plugins/base/routes.go
+++ b/plugins/base/routes.go
@@ -1024,6 +1024,11 @@ func handleMove(ctx *alps.Context) error {
		return echo.NewHTTPError(http.StatusBadRequest, err)
	}

	if len(uids) == 0 {
		ctx.Session.PutNotice("No messages selected.")
[message trimmed]

[PATCH] community/fcft: upgrade to 3.1.1 1 year, 11 months ago

From Alex McGrath to ~sircmpwn/alpine-aports

---
 community/fcft/APKBUILD | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/community/fcft/APKBUILD b/community/fcft/APKBUILD
index 612207362a..d4d3deb96d 100644
--- a/community/fcft/APKBUILD
+++ b/community/fcft/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Alex McGrath <amk@amk.ie>
pkgname=fcft
pkgver=3.0.1
pkgver=3.1.1
pkgrel=0
[message trimmed]