~nhanb

Vietnam

https://hi.imnhan.com

Trackers

~nhanb/mcross

Last active 1 year, 6 months ago

~nhanb/pytaku

Last active 1 year, 10 months ago

#361 REST API: POST /api/repos no longer accepts lowercase visibility option 5 months ago

Ticket created by ~nhanb on ~sircmpwn/git.sr.ht

Reproduction:

$ curl -X POST 'https://git.sr.ht/api/repos' -d '{"name": "foo1", "visibility": "public"}' -H 'Content-Type: application/json' -H "Authorization: Bearer $SRHT_TOKEN"
# expected: creates new repo
# got:
{"errors": [{"reason": "public is not a valid Visibility"}]}

Example in API spec uses lowercase, and the API had been working that way until recently. I'm sure because this broke a mirroring script of mine that used to work just fine.

#8 Handle sites trying to be cute with troublesome emojis 1 year, 6 months ago

Comment by ~nhanb on ~nhanb/mcross

Do I have to just update Tcl/Tk systemwise, yes?

Yeah, all I had to do on Arch was a simple pacman -Syu to get the latest tk package.

#8 Handle sites trying to be cute with troublesome emojis 1 year, 6 months ago

Comment by ~nhanb on ~nhanb/mcross

Another test case: gemini://makeworld.gq/about.gmi

Looks like tcl/tk 8.6.11 no longer crashes, but selection behavior is wonky (extra blank space out of nowhere):

#9 Keyboard navigation for links in page 1 year, 9 months ago

Comment by ~nhanb on ~nhanb/mcross

That makes sense. I'll look into it.

#3 Missing "tkinter" dependency ? 1 year, 9 months ago

Comment by ~nhanb on ~nhanb/mcross

It's actually already mentioned in the README, but I've tried to improve it just now.

#8 Handle sites trying to be cute with troublesome emojis 1 year, 9 months ago

Ticket created by ~nhanb on ~nhanb/mcross

Seems like an upstream tk thing: https://stackoverflow.com/questions/60982547/when-a-user-enters-an-emoji-into-the-tkinter-entry-widget-an-exception-is-throw

Test case: gemini://mozz.us

Since it's an upstream thing, will probably need to sanitize content before passing it to tkinter at all.

#6 Smarter UpdateOutdatedTitles 1 year, 10 months ago

todo added by ~nhanb on ~nhanb/pytaku

#6 Smarter UpdateOutdatedTitles 1 year, 10 months ago

Ticket created by ~nhanb on ~nhanb/pytaku

  • Only update followed titles
  • Pre-download new chapters of followed titles (probably involves reworking the proxy thingy)

#5 Scheduled worker to pre-download new chapters of followed titles 1 year, 11 months ago

todo added by ~nhanb on ~nhanb/pytaku

#5 Scheduled worker to pre-download new chapters of followed titles 1 year, 11 months ago

Ticket created by ~nhanb on ~nhanb/pytaku