Commit Graph

20 Commits

Author SHA1 Message Date
Mads Kiilerich
f9812d5b5f hgwebdir: allow pure relative globs in paths
This allows the (to me, in some setups) obvious configuration:
  [paths]
  / = *
or
  / = **

Relative paths used to work with [collections] even though it isn't documented.
Perhaps it should be documented?
2010-07-21 22:22:28 +02:00
Yuya Nishihara
a626e66806 hgweb: fix broken URLs of RSS/Atom feeds (issue1772)
This fixes doubled URL, e.g. http://example.orghttp://example.org/...,
which appears on RSS/Atom feeds served by hgwebdir.

It splits baseurl to update SERVER_NAME, SERVER_PORT and SCRIPT_NAME,
according to RFC 3875.

Updated the test output since SCRIPT_NAME becomes not to contain
http://host:port part.
2010-03-11 00:28:27 +09:00
Dan Villiom Podlaski Christiansen
aa6c457f70 templates: rename `Last change' column in hgwebdir repository list.
This patch changes column headers in the templates that previously
said `Last change' to `Last modified'. Neither code nor functionality
are changed other than that.

For some time now, I have been annoyed by the fact the `Last change'
column didn't list the age of the youngest changeset in the
repository, or at least tip. It just occurred to me that this is
because the wording is slightly misleading; what the column in fact
lists is when the repository was last *modified*, that is, when
changesets was last added or removed from it.

The word `change' can be understood as referring to the changeset
itself. Using `changed' would be ever so slightly less
amigous. However, the standard nomenclature in this case is
`modification date' and `Last modified', which is incidentally entirely
unambigous. Hence, `Last modified' is the wording used.
2010-01-24 20:51:53 +01:00
Dirkjan Ochtman
cc8f0501e9 hgweb: keep original order from hgwebdir config files (issue1535) 2009-11-05 15:06:35 +01:00
Raoul Bhatia [IPAX]
20e457f4b0 use short identifiers in atom feed 2009-10-09 16:27:05 +02:00
Dirkjan Ochtman
d96058fd14 hgweb: add web.descend configuration variable 2009-08-19 12:47:04 +02:00
Bryan O'Sullivan
9a780e99c8 Fix issue1679: path reconstruction in hgwebdir was mangling things badly 2009-07-22 15:26:27 -07:00
Dirkjan Ochtman
1d29e68744 change wiki/bts URLs to point to new hostname 2009-06-24 15:32:37 +02:00
Martin Geisler
264d2453c3 paper: break long lines in map file 2009-05-13 22:40:49 +02:00
Dirkjan Ochtman
9acb549bd6 tests: add tests for styled hgwebdir pages 2009-04-27 11:35:18 +02:00
Matt Mackall
e31a8bb788 atom: fix URLs used in entry GUIDs 2009-03-16 17:21:06 -05:00
Dirkjan Ochtman
600f058f30 hgweb: mq repos should be in non-recursive collections, too 2008-12-19 18:24:49 +01:00
Benoit Allard
6edf6273f0 hgweb: recurse down collections only if ** in [paths]
collections: direct child repos only
paths *: direct child repos only (like collections)
paths **: recursive discovery

When ** is used, the mq repository (if any) is also shown.
2008-12-18 22:32:48 +01:00
Patrick Mezard
1ab0600f40 util: disable walkrepo() recursive behaviour
Revert b1aea76f700 and c6d3b233571e for performances reasons. Traversing
checkout working directories may be too expensive.
2008-12-10 00:16:12 +01:00
Patrick Mezard
9b8cb99ec1 hgweb: extend [paths] syntax to match repositories recursively (issue852)
This feature somehow duplicates [collections] but it is simpler to use and has
less issues under Windows where using absolute path as configuration file key
is not supported.

Suggested by Dirkjan Ochtman <dirkjan@ochtman.nl>
2008-12-01 14:20:20 +01:00
Dirkjan Ochtman
adb2a35499 tests: add more testing for webdir nesting 2008-10-22 18:32:17 +02:00
Dirkjan Ochtman
056bb10b17 hgweb: better error messages 2008-03-23 23:08:18 +01:00
Dirkjan Ochtman
5cda3f99f4 hgwebdir: split out makeindex function, facilitate test failure diagnosis 2007-12-03 18:40:37 +01:00
Dirkjan Ochtman
2aa00c9c81 Add tests for hgwebdir repository names with slashes in them. 2007-12-01 19:10:00 +01:00
Bryan O'Sullivan
e19dabc11f hgweb: return meaningful HTTP status codes instead of nonsense 2007-11-28 08:38:42 -08:00