From Ersei Saggi to ~misterio/public-inbox
This is because sourcehut misrendered the link to include the trailing parenthesis and caused the link to point to "https://m7.rs)" instead of m7.rs proper. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fc2e2dca..723b16e5 100644 --- a/README.md +++ b/README.md @@ -118,7 +118,7 @@ Some of the services I host: - navidrome - deluge [message trimmed]
From Ersei Saggi to ~sircmpwn/sr.ht-dev
I'll go and send v2 patches for those eventually (after break). As for the files, that's certainly going to be interesting. I think that the files should remain as LTR? If we use dir=auto on the file display view, then it would mess with the column limit bar. I don't think there's an elegant way to do this, as W3C didn't envision a way to have dir=auto propagate to every element. Running the auto direction code would be best done client-side, but I doubt that is in line with Sourcehut's ethos. I'll have to identify all elements in the templates that render user-controlled text and insert dir=auto for those. As for the files, I think they should remain LTR for now until a solution can be found for the column limits.
From Ersei Saggi to ~sircmpwn/sr.ht-dev
DO NOT MERGE Superseded by https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/47409
From Ersei Saggi to ~sircmpwn/sr.ht-dev
In conjunction with the rest of the patches, and the patch that removes
the beautifulsoup integration that sets dir="auto" programmatically,
rendering files with many lines on Sourcehut will go from ~4.5 seconds
to ~300ms (the 4.5 seconds was reduced from 6.5 before my patch that
improves template rendering).
This patch depends on:
https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/47341
The following patches depend on the patch above:
https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/47343
https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/47344
https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/47345
https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/47346
[message trimmed]
From Ersei Saggi to ~sircmpwn/sr.ht-dev
Same changes from the patches sent to git.sr.ht with an external line counter and other small changes as well as a 512KB limit on file sizes being rendered --- pastesrht/blueprints/public.py | 8 +++++++- pastesrht/templates/new-paste.html | 2 ++ pastesrht/templates/paste.html | 30 +++++++++++++++++++++++++----- pastesrht/templates/pastes.html | 1 + 4 files changed, 35 insertions(+), 6 deletions(-) diff --git a/pastesrht/blueprints/public.py b/pastesrht/blueprints/public.py index 08debee..497914e 100644 --- a/pastesrht/blueprints/public.py +++ b/pastesrht/blueprints/public.py [message trimmed]
From Ersei Saggi to ~sircmpwn/sr.ht-dev
--- buildsrht/templates/jobs.html | 1 + buildsrht/templates/secret_share.html | 1 + buildsrht/templates/secrets.html | 2 ++ 3 files changed, 4 insertions(+) diff --git a/buildsrht/templates/jobs.html b/buildsrht/templates/jobs.html index 1d5496a..a6fe69b 100644 --- a/buildsrht/templates/jobs.html @@ -25,6 +25,7 @@ <input name="search" type="text" [message trimmed]
From Ersei Saggi to ~sircmpwn/sr.ht-dev
--- listssrht/templates/archive.html | 1 + listssrht/templates/create-mirror.html | 3 +++ listssrht/templates/create.html | 2 ++ listssrht/templates/settings-access.html | 1 + listssrht/templates/settings-info.html | 2 ++ listssrht/templates/user-lists.html | 1 + 6 files changed, 10 insertions(+) diff --git a/listssrht/templates/archive.html b/listssrht/templates/archive.html index 95c934e..d8fd2ac 100644 --- a/listssrht/templates/archive.html +++ b/listssrht/templates/archive.html @@ -127,6 +127,7 @@ [message trimmed]
From Ersei Saggi to ~sircmpwn/sr.ht-dev
--- todosrht/templates/edit-comment.html | 1 + todosrht/templates/edit_ticket.html | 2 ++ todosrht/templates/ticket.html | 2 ++ todosrht/templates/tracker-access.html | 1 + todosrht/templates/tracker-create.html | 2 ++ todosrht/templates/tracker-details.html | 2 ++ todosrht/templates/tracker-label-edit.html | 1 + todosrht/templates/tracker-labels.html | 1 + todosrht/templates/tracker.html | 3 +++ todosrht/templates/trackers.html | 2 ++ 10 files changed, 17 insertions(+) diff --git a/todosrht/templates/edit-comment.html b/todosrht/templates/edit-comment.html [message trimmed]
From Ersei Saggi to ~sircmpwn/sr.ht-dev
--- hubsrht/templates/dashboard.html | 1 + hubsrht/templates/mailing-list-new.html | 3 +++ hubsrht/templates/mailing-lists-manage.html | 1 + hubsrht/templates/profile.html | 1 + hubsrht/templates/project-config.html | 4 ++++ hubsrht/templates/project-create.html | 1 + hubsrht/templates/project-index.html | 1 + hubsrht/templates/project-summary.html | 1 + hubsrht/templates/projects.html | 1 + hubsrht/templates/resource-list.html | 1 + hubsrht/templates/sources-manage.html | 1 + hubsrht/templates/sources-select.html | 3 +++ hubsrht/templates/tracker-new.html | 3 +++ [message trimmed]
From Ersei Saggi to ~sircmpwn/sr.ht-dev
--- mansrht/templates/create.html | 1 + mansrht/templates/select.html | 1 + mansrht/templates/user.html | 1 + 3 files changed, 3 insertions(+) diff --git a/mansrht/templates/create.html b/mansrht/templates/create.html index 6bc8132..adb86d3 100644 --- a/mansrht/templates/create.html +++ b/mansrht/templates/create.html @@ -17,6 +17,7 @@ <label for="name">Name</label> <input type="text" [message trimmed]