Commit Graph

246 Commits

Author SHA1 Message Date
Dirkjan Ochtman
702f1f50b2 hgweb: move HTTP content types out of header templates
This removes the ability for templates to add custom HTTP headers, which can
easily be re-added if someone needs it. Thanks to asak for repeatedly reviewing
this patch and helping to iron out the quirks.
2008-01-22 10:45:55 +01:00
Dirkjan Ochtman
4de316f884 hgweb: fast path for sending raw files 2008-01-18 19:53:38 +01:00
Jesse Glick
500b64344a Issue #880: Simple misspelling ('occured') in web error message. 2008-01-05 15:35:46 -05:00
Kevin Christen
07b2b0a32c Fix XHTML validation error on file diff page.
Replaces <div>, a block level element, with <span>, it's inline
counterpart, in <pre>, which is also an inline element.
2008-01-08 21:12:30 -06:00
Kevin Christen
9e1cd09310 Fixed numerous XHTML problems that caused validation errors and warnings.
Link elements for Atom and RSS feeds had no end tag.  <div> block element
inside <a> in-line element isn't right and caused rendering problems on
Safari.  Spurious </div> tag in search forms.  Branch entry missing closing
</a> tag.
2008-01-07 21:29:40 -06:00
Kevin Christen
1b023c6158 Fixed XHTML validation errors 2008-01-03 13:39:26 -06:00
Thomas Arendsen Hein
fdf4576462 Obfuscate (instead of just escape) contact/owner in gitweb summary.
This could contain an email address.
2008-01-01 17:12:37 +01:00
Jesse Glick
09abfa016d Atom/RSS logo display problem using min font size.
Using Minimum Font Size = 18 on Firefox, the Atom and RSS logos in a changeset
web page look crushed together. No need to specify an absolute width for text;
just use sensible padding instead.
2007-12-20 07:05:40 -05:00
Bryan O'Sullivan
53b644c083 hgweb: make notfound templates more informative 2007-11-28 08:38:06 -08:00
Bryan O'Sullivan
adfac2beda hgweb: flesh out raw templates 2007-11-28 08:37:33 -08:00
Patrick Mezard
cbf322b12c cmdutil: make "files" list all files, add "file_mods" for modified files 2007-11-24 20:16:59 +01:00
Patrick Mezard
8f3f01adea cmdutil: always expose "files_add", "files_del" and "manifest" templater properties 2007-11-24 17:56:15 +01:00
Adam Hupp
8fafdc321a extension for synax highlighting in the hgweb file revision view
Depends on the pygments syntax highlighting library:
http://pygments.org/
2007-11-10 17:54:57 -05:00
Thomas Arendsen Hein
23916758e6 hgweb: Show date of last change for each file in manifest 2007-08-31 11:18:29 +02:00
Robert Bachmann
39aeb8022a Atom support: replaced xhtml namespace prefix with default namespace 2007-08-30 18:55:56 +02:00
Robert Bachmann
ecb337b8cb Added support for the Atom syndication format 2007-08-30 16:42:17 +02:00
Brendan Cully
9924dc69e3 gitweb: add notfound template 2007-07-05 19:47:04 -07:00
Markus F.X.J. Oberhumer
43b8992e98 gitweb: do not mix shortlog and changelog in summary page. 2007-06-25 14:46:20 +02:00
Matt Mackall
0e05064142 gitweb: hide email addresses in shortlog with |person 2007-06-25 11:35:40 -05:00
Matt Mackall
e9f9dbad44 Make shortlog the default page in hgweb 2007-06-25 11:35:14 -05:00
Matt Mackall
840be93118 hgweb: improve shortlog formatting
shorten author with |person
don't shrink font (default font is presumed to be preferred reading size)
set widths based on font ems rather than page percents.
2007-06-25 11:30:05 -05:00
Thomas Arendsen Hein
3019bb7a0b Kill trailing spaces 2007-06-21 09:25:49 +02:00
Josef "Jeff" Sipek
066eaf6a84 gitweb: Display branch and tag labels
Pages which display labels:
- summary
- shortlog
- changelog
- changeset
- search
2007-06-01 19:56:39 -04:00
Thomas Arendsen Hein
d5b47506f2 merge with stable 2007-06-04 22:08:42 +02:00
Thomas Arendsen Hein
12e05b20f0 Obfuscate author in gitweb shortlog (issue578) 2007-06-04 22:05:47 +02:00
Thomas Arendsen Hein
0a5e6f77d2 Add archive download links to hgweb search template 2007-06-01 13:03:21 +02:00
Josef "Jeff" Sipek
77b18ca042 gitweb: Fixed-up search template
It seems that the search template has been forgoten over time, and needed
major revamping.
2007-05-31 20:12:40 -04:00
Josef "Jeff" Sipek
4e35e4bffc gitweb: Add search box to the summary page 2007-05-31 19:59:02 -04:00
Josef "Jeff" Sipek
fa8b3358b4 gitweb: file diff: Display metadata in same order as changeset does 2007-05-29 06:52:40 -04:00
Josef "Jeff" Sipek
82ea78db9e gitweb: file annotate: Display metadata in same order as changeset does 2007-05-29 11:16:57 -04:00
Josef "Jeff" Sipek
da522aa30f gitweb: file rev template: Display metadata in same order as changeset does 2007-05-29 11:10:28 -04:00
Josef "Jeff" Sipek
f714cffe12 gitweb: changeset template: remove manifest link from cset metadata 2007-05-29 11:07:33 -04:00
Josef "Jeff" Sipek
ceacc5e184 gitweb: shortlog: display nav links near the bottom 2007-05-29 07:00:36 -04:00
Josef "Jeff" Sipek
03896dcd20 gitweb: file log: display nav links near the bottom 2007-05-29 07:00:26 -04:00
Josef "Jeff" Sipek
64af18129f gitweb: file log template: removed excesive whitespace 2007-05-29 06:35:45 -04:00
Josef "Jeff" Sipek
0e1bc7bd9a hgweb: manifest: pass parity for the '[up]' link 2007-05-29 05:08:01 -04:00
Josef "Jeff" Sipek
402bb29e51 gitweb: manifest template: do not include trailing slash in directory names 2007-05-29 04:57:12 -04:00
Josef "Jeff" Sipek
34f3b8c299 gitweb: Add title separator to tags template 2007-05-29 03:37:03 -04:00
Josef "Jeff" Sipek
5b9b857015 gitweb: changelog template: removed excessive whitespace 2007-05-29 15:31:29 +02:00
Josef "Jeff" Sipek
4279b478ed gitweb: shortlog template: removed excessive whitespace, added title bar.
The title bar is currently empty, this is just a preparation for filling it
with content.
2007-05-29 15:30:40 +02:00
Josef "Jeff" Sipek
70e1ff4e8f gitweb: Fixed manifest template opening an extra div tag 2007-05-29 03:27:02 -04:00
Josef "Jeff" Sipek
0d97a1222b gitweb: Fix summary page ellipsis line colspans 2007-05-29 03:19:45 -04:00
Matt Mackall
e2dfe968ea Merge with stable 2007-04-16 12:37:30 -05:00
Alexis S. L. Carvalho
62e2a7bfb7 command line templates: add formatnode filter
This will print a full hash node with --debug and a short one otherwise.

Use it with some default templates and in map-cmdline.default to print
the parents.  This should fix issue538.
2007-04-16 13:00:23 -03:00
Alexis S. L. Carvalho
d6886d1abf hgweb: don't display heads in gitweb-style summary page 2007-03-27 01:41:25 -03:00
greg@maptuit.com
889f908913 hgweb: display named branches in gitweb-style summary page 2007-03-16 17:55:42 -04:00
Alexis S. L. Carvalho
b95f1add5a hgweb: allow static files to be served directly by the HTTP server 2007-02-15 08:51:32 -02:00
Brendan Cully
fa88c0d825 gitweb: prevent wrapping of "changeset | manifest" links 2007-01-27 15:43:16 -08:00
Benoit Boissinot
774b73b308 hgweb: add raw template to hgwebdir 2007-01-12 14:27:59 +01:00
Edouard Gomez
fa16bdc53b Send encoding information in rss header 2006-12-21 20:41:56 +01:00