*
I'm a programmer interested in creative & non-commercial applications of free software.
From Kevin Schoon to ~kevinschoon/ayllu-dev
> Just a small patch to fix the two dead links in the README.md file.
First, thank you for the contribution and apologies for the long delay,
we haven't had any patches sent to sourcehut yet and I missed this.
tree-sitter-amalgamation was something I hacked together to overcome the
lack of system tree-sitter packages. I archived it though as both the
distribution packages for both Alpine and Arch have improved and so
tree-sitter-amalgamation is no longer needed.
I have updated the README to remove the mention of
tree-sitter-amalgamation entirely.
Thank you anyway for the patch though, it is appreciated.
From Kevin Schoon to ~sircmpwn/sr.ht-dev
Most services across sr.ht limit pagination to 15 items per page[1]. This makes for a good viewing experience on FHD screens and should continue to be the default. On larger displays or FHD displays with vertical orientation it leaves a bit to be desired since you loose half or more of your screen real estate. I'd like to add the ability to specify a default pagination configuration between 10, 15 (default), 30, and 45. The setting would globally effect all pages that return paginated items from the server .e.g git.sr.ht, lists.sr.ht, etc. Here are several approaches that could be taken for an implementation: 1. Add a default configuration option in `/etc/sr.ht/config.ini` with a configuration section such as:
From Kevin Schoon to ~sircmpwn/sr.ht-dev
This change adds a new sr.ht configuration option `graphql-debugging` which when enabled logs each request and response object to and from the server for the purposes of debugging. Because enabling this for a production environment could expose sensitive information I have added a check and a warning for it when the server starts up. Additionally the graphql package has been updated to no longer use the deprecated `handler` package and instead uses `graphql/handler`. --- server/debugging.go | 48 +++++++++++++++++++++++++++++++++++++++++++++ server/server.go | 40 +++++++++++++++++++++++++++++++------ 2 files changed, 82 insertions(+), 6 deletions(-) create mode 100644 server/debugging.go [message trimmed]