log mercurial/hgweb/common.py @ 45658:6569b2371240

age author description
Mon, 03 Aug 2020 23:41:50 -0700 Martin von Zweigbergk hgweb: minimize scope of a try-block in staticfile()
Mon, 03 Aug 2020 23:38:50 -0700 Martin von Zweigbergk hgweb: ignore web.templates config when guessing mime type for static content
Sat, 22 Aug 2020 16:03:44 -0700 Martin von Zweigbergk hgweb: let staticfile() look up path from default location unless provided
Mon, 03 Aug 2020 22:15:45 -0700 Martin von Zweigbergk hgweb: simplify staticfile() now that we always pass it a single directory
Thu, 05 Dec 2019 11:15:19 -0500 Augie Fackler merge with stable
Sat, 30 Nov 2019 02:53:39 -0500 Matt Harbison hgweb: fix a few `str` type conditional for py3 stable
Fri, 08 Nov 2019 11:19:20 -0800 Augie Fackler cleanup: remove pointless r-prefixes on single-quoted strings
Sun, 06 Oct 2019 16:55:18 -0400 Gregory Szorc py3: manually import getattr where it is needed
Sun, 06 Oct 2019 13:28:56 -0400 Gregory Szorc py3: manually import pycompat.open into files that need it
Sun, 06 Oct 2019 09:48:39 -0400 Augie Fackler formatting: byteify all mercurial/ and hgext/ string literals
Sun, 06 Oct 2019 09:45:02 -0400 Augie Fackler formatting: blacken the codebase
Tue, 10 Sep 2019 12:32:07 -0400 Connor Sheehan hgweb: add a `message` attribute to `hgweb.common.ErrorResponse`
Fri, 12 Oct 2018 19:49:02 +0200 Gregory Szorc py3: r'' prefix default values for mimetypes.guess_mime()
Thu, 11 Oct 2018 21:47:39 +0200 Gregory Szorc py3: pass str and return bytes from mimetypes.guess_type()
Fri, 13 Apr 2018 21:01:17 -0400 Augie Fackler hgweb: these strings should be sysstrs, not bytes
Fri, 13 Apr 2018 16:32:33 -0400 Matt Harbison lfs: update the HTTP status codes in error cases
Sat, 17 Mar 2018 01:53:44 -0400 Matt Harbison lfs: add support for serving blob files
Sat, 17 Mar 2018 01:23:01 -0400 Matt Harbison lfs: add basic routing for the server side wire protocol processing
Sat, 10 Mar 2018 18:19:27 -0800 Gregory Szorc hgweb: transition permissions hooks to modern request type (API)
Sat, 10 Mar 2018 15:46:29 -0800 Gregory Szorc hgweb: port static file handling to new response API
Sat, 10 Mar 2018 14:19:27 -0800 Gregory Szorc hgweb: inline caching() and port to modern mechanisms
Sat, 10 Mar 2018 10:47:30 -0800 Gregory Szorc hgweb: document continuereader
Mon, 05 Mar 2018 12:30:20 -0500 Augie Fackler cleanup: use stat_result[stat.ST_MTIME] instead of stat_result.st_mtime
Sat, 03 Mar 2018 12:36:05 -0500 Yuya Nishihara py3: make os.curdir a bytes
Sat, 03 Mar 2018 12:34:35 -0500 Yuya Nishihara py3: make os.pardir a bytes
Mon, 26 Feb 2018 00:49:33 -0500 Augie Fackler hgweb: pass exception message to builtin Exception ctor as sysstr
Sat, 24 Feb 2018 16:20:55 +0530 Pulkit Goyal py3: use '//' for integer division in hgweb/common.py
Sun, 18 Feb 2018 00:03:27 -0500 Augie Fackler hgweb: header dict entries are native strings
Thu, 19 Oct 2017 11:46:41 +0200 David Demelier config: rename allow_push to allow-push
Sat, 14 Oct 2017 10:47:29 -0400 Augie Fackler hgweb: mimetype guessing needs a unicode path
Wed, 11 Oct 2017 21:24:32 -0700 Jun Wu hgweb: do not import uuid immediately to avoid its side effect
Wed, 11 Oct 2017 03:29:09 +0200 Boris Feld configitems: register the 'web.push_ssl' config
Thu, 05 Oct 2017 14:17:50 -0400 Augie Fackler hgweb: produce native string for etag value
Tue, 22 Aug 2017 20:03:07 -0400 Augie Fackler python3: wrap all uses of <exception>.strerror with strtolocal
Fri, 31 Mar 2017 21:47:26 -0700 Gregory Szorc hgweb: extract path traversal checking into standalone function
Fri, 31 Mar 2017 22:30:38 -0700 Gregory Szorc hgweb: use context manager for file I/O
Wed, 15 Mar 2017 15:11:04 -0700 Pierre-Yves David hgweb: explicitly tests for None
Mon, 26 Dec 2016 16:55:47 -0700 Gregory Szorc hgweb: don't use mutable default argument value
Tue, 10 Jan 2017 23:37:08 -0800 Gregory Szorc hgweb: support Content Security Policy
Sun, 18 Dec 2016 01:54:36 +0530 Pulkit Goyal py3: replace os.environ with encoding.environ (part 3 of 5)
Sun, 18 Dec 2016 01:17:12 +0530 Pulkit Goyal py3: replace os.altsep with pycompat.altsep
Sat, 17 Dec 2016 20:14:24 +0530 Pulkit Goyal py3: replace os.sep with pycompat.ossep (part 3 of 4)
Wed, 13 Jul 2016 23:38:29 +0530 Pulkit Goyal py3: conditionalize BaseHTTPServer, SimpleHTTPServer and CGIHTTPServer import
Sat, 09 Jul 2016 03:26:24 +0800 Anton Shestakov hgweb: emit a valid, weak ETag
Sat, 31 Oct 2015 22:07:40 +0900 Yuya Nishihara hgweb: use absolute_import
Sun, 01 Nov 2015 15:07:08 +0900 Yuya Nishihara hgweb: import BaseHTTPServer as module at top level
Tue, 08 Sep 2015 14:56:29 -0400 timeless hgweb: remove ErrorResponse.message
Fri, 03 Jul 2015 10:07:51 -0700 Pierre-Yves David hgweb: drop the default argument for get_stat
Tue, 23 Jun 2015 22:20:08 -0700 Gregory Szorc global: mass rewrite to use modern exception syntax
Sat, 27 Sep 2014 21:59:55 +0900 Anton Shestakov hgweb: refresh hgweb.repo on phase change (issue4061) stable
Thu, 24 Oct 2013 01:49:56 +0800 Mads Kiilerich spelling: random spell checker fixes stable
Mon, 15 Apr 2013 18:57:04 -0300 Wagner Bruna hgweb: refactor checks for granting and revoking user permissions
Sun, 10 Feb 2013 18:24:29 +0100 Mads Kiilerich hgweb: simplify internal staticfile return codes
Tue, 15 Jan 2013 01:07:03 +0100 Mads Kiilerich hgweb: pass the actual response body to request.response, not just the length
Wed, 05 Sep 2012 23:59:27 +0900 Yuya Nishihara hgweb: respond 403 forbidden for ssl required error
Sat, 12 May 2012 16:00:58 +0200 Brodie Rao cleanup: "raise SomeException()" -> "raise SomeException"
Sat, 30 Apr 2011 13:47:22 +0200 Martin Geisler hgweb: initialize permhooks at definition time
Tue, 19 Apr 2011 15:19:54 +0200 Martin Geisler merge with stable
Tue, 19 Apr 2011 15:15:56 +0200 Martin Geisler hgweb: detect change based on changelog size too stable
Mon, 14 Mar 2011 15:28:56 -0500 Matt Mackall hgweb: drop use of super() for Exception base class
Sat, 12 Mar 2011 15:51:39 +0100 Dirkjan Ochtman don't depend on features of Exception as much
Sat, 06 Feb 2010 04:27:28 -0600 Augie Fackler hgweb: add support for 100-continue as recommended by PEP 333.
Mon, 21 Feb 2011 00:52:26 +0100 Mads Kiilerich hgweb: give ErrorResponse a descriptive string/Exception representation stable
Fri, 24 Dec 2010 15:23:01 +0100 Dan Villiom Podlaski Christiansen explicitly close files
Wed, 08 Sep 2010 15:23:48 +0200 Dirkjan Ochtman hgweb: support very simple caching model (issue1845)
Tue, 19 Jan 2010 22:45:09 -0600 Matt Mackall Merge with stable
Tue, 19 Jan 2010 22:20:08 -0600 Matt Mackall Update license to GPLv2+ stable
Tue, 15 Dec 2009 12:33:04 -0800 Brendan Cully hgweb: Make get_mtime use repository to find store path.
Mon, 23 Nov 2009 11:03:55 +0100 Sune Foldager hgweb: add support for extension-provided permission hooks
Mon, 02 Nov 2009 10:20:04 +0100 Sune Foldager hgweb: send proper error messages to the client
Sun, 05 Jul 2009 11:01:30 +0200 Alejandro Santos compat: use open() instead of file() everywhere
Tue, 09 Jun 2009 09:25:17 -0400 timeless Generally replace "file name" with "filename" in help and comments.
Sun, 26 Apr 2009 01:08:54 +0200 Martin Geisler updated license to be explicit about GPL version 2
Sat, 04 Apr 2009 17:46:11 +0200 Dirkjan Ochtman templater: move stylemap function from hgweb to templater
Mon, 09 Feb 2009 11:31:52 +0100 Sune Foldager hgweb: support custom http headers in ErrorResponse
Mon, 03 Nov 2008 20:41:48 +0100 Dirkjan Ochtman hgweb: move the diffs() generator into webutil
Tue, 28 Oct 2008 22:24:17 -0700 Brendan Cully Allow per-file shadowing of static directory in templatepath
Fri, 17 Oct 2008 11:34:31 -0700 Brendan Cully Allow hgweb to search for templates in more than one path.
Fri, 05 Sep 2008 17:28:37 +0200 Rocco Rutte hgweb: Respond with HTTP 403 for disabled archive types instead of 404
Tue, 22 Jul 2008 18:23:20 +0200 Dirkjan Ochtman hgweb: raise ErrorResponses to communicate protocol errors
Tue, 22 Jul 2008 18:21:37 +0200 Dirkjan Ochtman hgweb: generate error message only if nothing is passed
Fri, 15 Feb 2008 19:44:54 +0100 Thomas Arendsen Hein merged Edward Lee's line anchors patch
Tue, 04 Sep 2007 22:25:37 -0500 Edward Lee Add line anchors to annotate, changeset, diff, file views for hgweb
Fri, 01 Feb 2008 10:31:13 +0100 Dirkjan Ochtman hgweb: explicit response status
Wed, 23 Jan 2008 14:28:25 +0100 Dirkjan Ochtman send conservatively capitalized HTTP headers
Tue, 01 Jan 2008 17:07:15 +0100 Thomas Arendsen Hein Don't let ui.username override web.contact (issue900)
Sat, 29 Dec 2007 19:49:48 +0100 Thomas Arendsen Hein Removed tabs and trailing whitespace in python files
Wed, 28 Nov 2007 09:39:17 -0800 Bryan O'Sullivan hgweb: fix breaking tests on Python < 2.5
Wed, 28 Nov 2007 08:38:42 -0800 Bryan O'Sullivan hgweb: return meaningful HTTP status codes instead of nonsense
Tue, 29 May 2007 16:42:05 +0200 Thomas Arendsen Hein hgweb: use generator to count parity of horizontal stripes for easier reading.
Thu, 18 Jan 2007 22:16:26 -0200 Alexis S. L. Carvalho Don't use ints in HTTP headers
Wed, 13 Dec 2006 13:27:09 -0600 Matt Mackall Replace demandload with new demandimport
Fri, 01 Dec 2006 13:34:09 +0100 Benoit Boissinot switch to the .hg/store layout, fix the tests
Fri, 06 Oct 2006 18:28:50 +0200 Thomas Arendsen Hein hgweb: Search templates in templatepath/style/map, too, using a common function.
Wed, 04 Oct 2006 18:06:03 +0200 Wojciech Milkowski Fix static file serving over HTTP on Windows.
Sat, 12 Aug 2006 12:30:02 -0700 Vadim Gelfer update copyrights.
Tue, 27 Jun 2006 09:33:12 -0700 Eric Hopper Really fix http headers for web UI and issue 254.
Fri, 02 Jun 2006 08:05:01 -0700 Eric Hopper Fixing up comment headers for split up code.
Wed, 31 May 2006 10:42:44 -0700 Eric Hopper Final stage of the hgweb split up. base mercurial/hgweb/__init__.py@ad69b4b3c950