~bitfehler

https://bitfehler.net

~bitfehler/names.sr.ht-dev

Last active 8 days ago

~bitfehler/vomit

Last active 12 days ago

~bitfehler/names.sr.ht-discuss

Last active 22 days ago

~bitfehler/public-inbox

Last active 3 months ago
View more

Recent activity

Re: Problems with git send-email 8 days ago

From Conrad Hoffmann to ~sircmpwn/sr.ht-discuss

On 3/17/23 14:34, Hugo Sales wrote:
> Hello,
> 
> I've been trying to use `git send-email` to email a patch to git. I keep getting
> 
> `Command unknown: 'AUTH' at ./git-send-email line 1698.`
> 
> However, following the tutorial on https://git-send-email.io/ totally works.

That sounds a bit like your SMTP configuration is either not global or 
it gets overwritten by that repo somehow.

When in the offending repo, do the values of

Re: Suggestion in "summary" in git projects 8 days ago

From Conrad Hoffmann to ~sircmpwn/sr.ht-discuss

On 3/16/23 21:03, Xavier B. wrote:
> As you can see in my project [1] the summary is divided in several
> lines. I think it's because you use `class="col-md-6"` in CSS. Can
> you change that stylesheet in order to `summary` fits all the
> horizontal space available?

I think for small, concrete changes like this you'd get the best 
feedback by submitting a patch.

> I think this could improve readability.

True in that case, but I will say: in my opinion, your description is 
way too long. I think of the repo description the same way that I think 
of the short package description that one can see when searching the

[PATCH todo.sr.ht 2/2] Send all emails via meta.sr.ht sendEmail mutation 12 days ago

From Conrad Hoffmann to ~sircmpwn/sr.ht-dev

This removes all usage of `srht.send_email` from todo.sr.ht.
---
 todosrht/email.py | 33 +++++++++++++++------------------
 1 file changed, 15 insertions(+), 18 deletions(-)

diff --git a/todosrht/email.py b/todosrht/email.py
index 1d1bc46..b841aea 100644
--- a/todosrht/email.py
+++ b/todosrht/email.py
@@ -1,11 +1,9 @@
import os
import textwrap
from string import Template
from srht.config import cfg, cfgi
[message trimmed]

[PATCH todo.sr.ht 1/2] api: use only `sendEmail` mutation to send mails 12 days ago

From Conrad Hoffmann to ~sircmpwn/sr.ht-dev

Unify all sending of notification emails in the newly added meta.sr.ht
`sendEmail` mutation, which works for both registered users and email
paritcipants.
---
 api/graph/events.go | 48 +++++++++++----------------------------------
 1 file changed, 11 insertions(+), 37 deletions(-)

diff --git a/api/graph/events.go b/api/graph/events.go
index de143f6..ab88280 100644
--- a/api/graph/events.go
+++ b/api/graph/events.go
@@ -272,30 +272,14 @@ func (builder *EventBuilder) InsertNotifications(eventID int, commentID *int) {
	}
}
[message trimmed]

Re: Support for Maildir? 12 days ago

From Conrad Hoffmann to ~bitfehler/vomit

Hey,

On 3/11/23 11:33, Hugo Osvaldo Barrera wrote:
> Hi,
> 
> I've been using `offlineimap` for years, but it's terribly buggy. It often
> freezes and has to be killed, and every once it a while its internal state
> breaks and I have to delete everything and re-sync from scratch. I've never
> been able to debug what's broken, and I've been looking for a replacement (and
> dreaming of writing one) for a long time now.
> 
> I've come across `vmt-sync`, which is very close to being a replacement for it.
> The main difference is that I want to sync IMAP into a directory which contains
> Maildir, and not Maildir++. I have other tools (e.g.: `mutt`) that rely on

Re: First contact about a similar project 12 days ago

From Conrad Hoffmann to ~bitfehler/vomit

Hi,

first of all, thanks for reaching out!

On 3/10/23 10:49, soywod wrote:
> Hi there,
> 
> I am the author of the [Pimalaya] project. Our aim is to provide better
> tools for managing your [Personal Information], which includes emails
> (in fact we started the project with emails, there is nothing else for
> now). In September, 2022 we received funds from the [NGI Assure] program
> of the European Commission via the [nlnet] foundation, and we may
> receive other funds in September, 2023.
> 

[PATCH sr.ht-pkgbuilds] Remove dependency on weasyprint 12 days ago

From Conrad Hoffmann to ~sircmpwn/sr.ht-packages

PDF generation is now handled in Go code.
---
 meta.sr.ht/PKGBUILD | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta.sr.ht/PKGBUILD b/meta.sr.ht/PKGBUILD
index 51f12ab..65e1f0c 100644
--- a/meta.sr.ht/PKGBUILD
+++ b/meta.sr.ht/PKGBUILD
@@ -18,7 +18,6 @@ depends=(
)
optdepends=(
	"python-stripe: for billing"
	"python-weasyprint: for billing"
[message trimmed]

[PATCH sr.ht-apkbuilds] Remove dependency on weasyprint 12 days ago

From Conrad Hoffmann to ~sircmpwn/sr.ht-packages

PDF generation is now handled in Go code. According to git history,
py3-html5lib was a dependency of weasyprint, so remove it as well.
---
 sr.ht/meta.sr.ht/APKBUILD | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sr.ht/meta.sr.ht/APKBUILD b/sr.ht/meta.sr.ht/APKBUILD
index a4bcb23..5fc7808 100644
--- a/sr.ht/meta.sr.ht/APKBUILD
+++ b/sr.ht/meta.sr.ht/APKBUILD
@@ -59,7 +59,7 @@ package() {
}

_billing() {
[message trimmed]

[PATCH meta.sr.ht] Remove obsolete weasyprint import 12 days ago

From Conrad Hoffmann to ~sircmpwn/sr.ht-dev

---
 metasrht/blueprints/billing.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/metasrht/blueprints/billing.py b/metasrht/blueprints/billing.py
index 5de80aa..ddd5d68 100644
--- a/metasrht/blueprints/billing.py
+++ b/metasrht/blueprints/billing.py
@@ -14,7 +14,6 @@ from srht.database import db
from srht.flask import session
from srht.oauth import current_user, loginrequired, freshen_user
from srht.validation import Validation
from weasyprint import HTML, CSS

[message trimmed]

[PATCH meta.sr.ht] billing: fix param passthrough to API 12 days ago

From Conrad Hoffmann to ~sircmpwn/sr.ht-dev

---
Sorry, not sure how this passed testing in the first place.

 metasrht/blueprints/billing.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/metasrht/blueprints/billing.py b/metasrht/blueprints/billing.py
index 6016c08..5de80aa 100644
--- a/metasrht/blueprints/billing.py
+++ b/metasrht/blueprints/billing.py
@@ -221,7 +221,7 @@ def invoice_POST(invoice_id):
        **encrypt_request_authorization(user=current_user),
    }
    r = requests.post(f"{origin}/query/invoice/{invoice_id}",
[message trimmed]