~xenrox

Recent activity

[PATCH builds.sr.ht v2] Add basic git config to all images 14 hours ago

From Thorben Günther to ~sircmpwn/sr.ht-dev

---
Fixed typo for Arch Linux

 images/alpine/genimg                       |  6 ++++++
 images/archlinux/genimg                    |  6 ++++++
 images/debian/genimg                       |  6 ++++++
 images/fedora/genimg                       |  6 ++++++
 images/freebsd/genimg                      |  6 ++++++
 images/nixos/base-system-configuration.nix | 12 ++++++++++++
 images/openbsd/genimg                      |  6 ++++++
 images/ubuntu/genimg                       |  6 ++++++
 8 files changed, 54 insertions(+)

diff --git a/images/alpine/genimg b/images/alpine/genimg
[message trimmed]

[PATCH core.sr.ht v2] Redirect users to hub instead of their meta profile 14 hours ago

From Thorben Günther to ~sircmpwn/sr.ht-dev

---
 srht/templates/nav.html | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srht/templates/nav.html b/srht/templates/nav.html
index dd5509c..3b86c16 100644
--- a/srht/templates/nav.html
+++ b/srht/templates/nav.html
@@ -34,7 +34,12 @@
  {% if current_user %}
  <span class="navbar-text">
    Logged in as
    {% set hubsrht = get_origin("hub.sr.ht", external=True, default=None) %}
    {% if hubsrht %}
[message trimmed]

[PATCH hub.sr.ht] Add `Edit account profile` button to hub profile 17 hours ago

From Thorben Günther to ~sircmpwn/sr.ht-dev

---
For https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/14351
My design decision skills are a bit bad.

 hubsrht/templates/profile.html | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/hubsrht/templates/profile.html b/hubsrht/templates/profile.html
index 36b6e8d..789c22f 100644
--- a/hubsrht/templates/profile.html
+++ b/hubsrht/templates/profile.html
@@ -24,6 +24,15 @@
    {% if user.bio %}
    <p>{{user.bio | md}}</p>
[message trimmed]

[PATCH builds.sr.ht] Add basic git config to all images 17 hours ago

From Thorben Günther to ~sircmpwn/sr.ht-dev

---
 images/alpine/genimg                       |  6 ++++++
 images/archlinux/genimg                    |  6 ++++++
 images/debian/genimg                       |  6 ++++++
 images/fedora/genimg                       |  6 ++++++
 images/freebsd/genimg                      |  6 ++++++
 images/nixos/base-system-configuration.nix | 12 ++++++++++++
 images/openbsd/genimg                      |  6 ++++++
 images/ubuntu/genimg                       |  6 ++++++
 8 files changed, 54 insertions(+)

diff --git a/images/alpine/genimg b/images/alpine/genimg
index 9fe0de2..817eeaa 100755
--- a/images/alpine/genimg
[message trimmed]

Re: [PATCH builds.sr.ht v5] Add basic git config to remaining images. 17 hours ago

From Thorben Günther to ~sircmpwn/sr.ht-dev

On Sat Oct 24, 2020 at 4:29 PM CEST, Drew DeVault wrote:
> Can we just go with this approach for all of the images? It seems
> simpler and less brittle.
Sure will send a new version now. But what about NixOS? I do not think
that there is an easy way instead of home-manager.

[PATCH core-go] Print IP with "invalid source IP" authError a day ago

From Thorben Günther to ~sircmpwn/sr.ht-dev

---
I played around with the graphql API and this information would have
made debugging a bit easier.

 auth/middleware.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/auth/middleware.go b/auth/middleware.go
index 3383fcb..a8bda2a 100644
--- a/auth/middleware.go
+++ b/auth/middleware.go
@@ -267,7 +267,7 @@ func internalAuth(internalNet []*net.IPNet, payload []byte,
		}
	}
[message trimmed]

[PATCH builds.sr.ht v5] Add basic git config to remaining images. 2 days ago

From Thorben Günther to ~sircmpwn/sr.ht-dev

---
 images/debian/genimg                       | 10 ++++++++++
 images/fedora/genimg                       | 10 ++++++++++
 images/freebsd/genimg                      | 10 ++++++++++
 images/nixos/base-system-configuration.nix | 12 ++++++++++++
 images/openbsd/genimg                      |  7 +++++++
 images/ubuntu/genimg                       | 10 ++++++++++
 6 files changed, 59 insertions(+)

diff --git a/images/debian/genimg b/images/debian/genimg
index 055bf27..1b54062 100755
--- a/images/debian/genimg
+++ b/images/debian/genimg
@@ -88,6 +88,13 @@ run_root() {
[message trimmed]

[PATCH builds.sr.ht v4] Add basic git config to remaining images. 3 days ago

From Thorben Günther to ~sircmpwn/sr.ht-dev

---
Sorry for the spam, seems like an update broke my $EDITOR.

 images/debian/genimg                       | 10 ++++++++++
 images/fedora/genimg                       | 10 ++++++++++
 images/freebsd/genimg                      | 10 ++++++++++
 images/nixos/base-system-configuration.nix | 12 ++++++++++++
 images/openbsd/genimg                      |  7 +++++++
 images/ubuntu/genimg                       | 10 ++++++++++
 6 files changed, 59 insertions(+)

diff --git a/images/debian/genimg b/images/debian/genimg
index 055bf27..1b54062 100755
--- a/images/debian/genimg
[message trimmed]

[PATCH builds.sr.ht v3] Add basic git config to remaining images. 3 days ago

From Thorben Günther to ~sircmpwn/sr.ht-dev

---
 images/debian/genimg                       | 10 ++++++++++
 images/fedora/genimg                       | 10 ++++++++++
 images/freebsd/genimg                      | 10 ++++++++++
 images/nixos/base-system-configuration.nix | 12 ++++++++++++
 images/openbsd/genimg                      |  7 +++++++
 images/ubuntu/genimg                       | 10 ++++++++++
 6 files changed, 59 insertions(+)

diff --git a/images/debian/genimg b/images/debian/genimg
index 055bf27..1b54062 100755
--- a/images/debian/genimg
+++ b/images/debian/genimg
@@ -88,6 +88,13 @@ run_root() {
[message trimmed]

[PATCH builds.sr.ht v2] Add basic git config to remaining images. 3 days ago

From Thorben Günther to ~sircmpwn/sr.ht-dev

---
 images/alpine/genimg                       |  4 ++--
 images/debian/genimg                       | 10 ++++++++++
 images/fedora/genimg                       | 10 ++++++++++
 images/freebsd/genimg                      | 10 ++++++++++
 images/nixos/base-system-configuration.nix | 12 ++++++++++++
 images/openbsd/genimg                      |  7 +++++++
 images/ubuntu/genimg                       | 10 ++++++++++
 7 files changed, 61 insertions(+), 2 deletions(-)

diff --git a/images/alpine/genimg b/images/alpine/genimg
index d8e6b98..fa5fa42 100755
--- a/images/alpine/genimg
+++ b/images/alpine/genimg
[message trimmed]