~ecs

https://ecs.d2evs.net


#340 500 on blame of files within git modules 4 months ago

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

Should be a 404 instead. Reproduces both on my git.sr.ht instance and the hosted instance. Traceback from my instance:

Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/flask/app.py", line 2447, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/lib/python3.8/site-packages/flask/app.py", line 1952, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/lib/python3.8/site-packages/flask/app.py", line 1821, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/lib/python3.8/site-packages/flask/_compat.py", line 39, in reraise
    raise value
  File "/usr/lib/python3.8/site-packages/flask/app.py", line 1950, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/lib/python3.8/site-packages/flask/app.py", line 1936, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/usr/lib/python3.8/site-packages/gitsrht/blueprints/repo.py", line 319, in blame
    orig_commit, ref, path, blob, entry = resolve_blob(git_repo, ref, path)
  File "/usr/lib/python3.8/site-packages/gitsrht/blueprints/repo.py", line 277, in resolve_blob
    if part not in tree:
TypeError: argument of type 'NoneType' is not iterable

#51 gmnlm: <n>| command... 7 months ago

Comment by ~ecs on ~sircmpwn/gmni

Implemented in f5d540bc5d0112895376aebe6bf54adb32545d6e

#52 gmnlm: do not break lines in the middle of unicode codepoints 7 months ago

Comment by ~ecs on ~sircmpwn/gmni

This is a duplicate of #21

#46 gmnisrv: "freeze" when a cgi-enabled URI is accessed with missing index file 8 months ago

Comment by ~ecs on ~sircmpwn/gmni

Fixed in cb042d6263a0f6800b298373b24a64b407aaf2f0

That strange handling is in order to support $PATH_INFO, the fix was to abort the request if S_ISDIR and stat(real_path) != 0 after appending index.gmi

#25 Make port number configurable 8 months ago

on ~martijnbraam/among-sus

REPORTED RESOLVED FIXED

#12 Fix text/plain display 9 months ago

Comment by ~ecs on ~sircmpwn/gmni

Fixed in afab58cb64f205ce9f469a328a7477b808b0c76c

#5 gmnlm: handle non-text mimetypes 9 months ago

Comment by ~ecs on ~sircmpwn/gmni

Implemented in fa78663748958eebb442f03d0406f42f6190522a and fc6d4a6f69e305627d06955da27b8e8c4c5af6e0

#9 Disable movement notifications for ghosts 9 months ago

on ~martijnbraam/among-sus

REPORTED RESOLVED FIXED

#8 Don't allow ghosts to press the emergency button 9 months ago

on ~martijnbraam/among-sus

REPORTED RESOLVED FIXED

#6 Make it impossible to find the bodies of ejected people 9 months ago

on ~martijnbraam/among-sus

REPORTED RESOLVED FIXED