Commit Graph

246 Commits

Author SHA1 Message Date
Benoit Boissinot
88cc0dc818 hgweb/templates: no need to escape the '<' '>' and '&' in raw templates 2006-02-03 11:54:12 +01:00
Peter van Dijk
7ab6d5942d add rss link to tags page 2006-02-03 11:23:34 +01:00
Peter van Dijk
9e3427d564 implement entriesnotip for tags in hgweb.py ; change entries to entriesnotip in templates/tags-rss.tmpl 2006-02-03 02:21:28 +01:00
Peter van Dijk
d48a492803 tags-rss support; still shows tip 2006-02-02 12:00:45 +01:00
Matt Mackall
d2f2e55e1e hgweb: show copy/rename links in file history 2006-01-29 17:10:38 +13:00
Peter van Dijk
c8cea7f5b8 unbreak templates/summary-gitweb.tmpl 2006-01-29 00:31:11 +01:00
Peter van Dijk
45d8535751 changed template escape filter, added urlescape filter; audited all templates for insertion bugs; added note to manifest.py about newlines in filenames 2006-01-29 00:18:52 +01:00
Matt Mackall
266a9b9bd7 [hgweb] Prevent search engine bots from indexing the entire repository 2006-01-23 16:36:44 +13:00
Guy Brand
43d131ffe0 Added archives links to gitweb template 2006-01-10 13:12:13 +01:00
Muli Ben-Yehuda
5ff82e08cd - duplicate the parent link logic to show child links
- don't show trivial parent or children links
2005-12-29 14:51:29 -06:00
Josef "Jeff" Sipek
7a4b76edd8 [hgweb] Remove reference to a non-existing file 2005-12-12 01:25:24 -05:00
Josef "Jeff" Sipek
a5509a7933 [hgweb] Fixed up bad link 2005-12-10 00:26:32 -05:00
Josef "Jeff" Sipek
fbf7f8e5da File log and some FIXMEs 2005-12-10 00:09:13 -05:00
Josef "Jeff" Sipek
b376621df0 [hgweb] gitweb style: File annotate converted, file revision made more like the deafault style
Namespace polution prevention (manifest vs. tagmanifest - shouldn't be a problem yet)
File annotate updated
File revision now has commit info
2005-12-05 07:07:40 -05:00
Josef "Jeff" Sipek
cd4c9644dd [hgweb] More gitweb style related fixes
Fixed manifest link on tags page
Fixed changeset link on manifest page
2005-12-05 05:01:28 -05:00
Josef "Jeff" Sipek
888b62b098 File revision style fixed 2005-12-05 04:49:37 -05:00
Josef "Jeff" Sipek
5786e36aca [hgweb] Initial import of the "gitweb" style 2005-12-05 04:30:47 -05:00
Thomas Arendsen Hein
efdab2b6e8 Catch IOErrors and RepoErrors when serving repositories via hgweb. 2005-11-17 19:38:57 +01:00
Thomas Arendsen Hein
6d25a1683a Always escape repository name in hgweb, very important in notfound.tmpl. 2005-11-17 19:11:13 +01:00
TK Soh
aed1cbf84d hgweb: remove redundant rstrip filter 2005-11-08 10:35:00 -08:00
Thomas Arendsen Hein
fe54904242 hgweb: Added archive download buttons to manifest page. 2005-11-03 18:45:27 +01:00
TK Soh
b81e3092eb hgweb: add strip and rstrip filters to handle summary 2005-10-25 14:57:14 -07:00
TK Soh
3d707867b0 hgweb: a couple of fixes on search page
- show search string in the bottom search box
- wrap search boxes within paragraphs, this also puts
  some space between last changeset and bottom
  search box in firefox.
2005-10-24 17:54:06 -07:00
TK Soh
073d6ec307 hgweb: fix broken filelog->changelog link 2005-10-24 14:55:46 -07:00
TK Soh
be1258aa3a hgweb: fix broken search->changelog link 2005-10-24 14:55:34 -07:00
TK Soh
3b9b77f616 hgweb: improve look-n-feel of changelog nagivation 2005-10-24 14:53:25 -07:00
Matt Mackall
d6ea54aec8 hgweb: fix broken tags->changelog link 2005-10-21 00:15:55 -07:00
Matt Mackall
f36b3ac27d hgweb: add a mercurial link to the footer 2005-10-20 00:26:24 -07:00
Benoit Boissinot
4066fd89f5 hgweb: hide trivial parent (like in show_changeset) 2005-10-19 20:54:46 -07:00
Matt Mackall
3334f94a60 hgweb: fix too short manifest link 2005-10-18 23:58:00 -07:00
Matt Mackall
5c58c23164 hgweb: make viewing of non-text work in hgweb
We use mimetypes.guess_type to guess file types and util.binary to determine
whether a file is displayable as text.

This lets us display displayable text files in our normal source view.
Files that appear to be binary will be displayed as something like
"(binary:image/gif)".

Clicking on raw view will send the raw file with an appropriate MIME
type. Thus things like GIFs will now be viewable inside hgweb without
making a mess. Further, things like postscript files that are text
should show source in the normal view and a browser can launch a
postscript viewer for the raw view.
2005-10-18 23:50:55 -07:00
Matt Mackall
53102ac984 hgweb: shorten all the URLs in the standard templates
A URL like this:

http://www.selenic.com/hg/?cmd=changeset;node=508f0bbee11b595bcba6f255aeb93fe10e78af85

is now presented as:

http://www.selenic.com/hg/?cs=5010207c352

(though the old style still works, of course)
2005-10-18 23:08:35 -07:00
Matt Mackall
40dfb0cd7e hgweb: remove various manifest and file hashes from display 2005-10-01 13:11:48 -07:00
TK Soh
d433b1666f hgweb file: fixed left-justified line numbers on IE v6.0
IE (v6.0) seemed to squash the spaces surrounding the line
numbers, making them appeared as left- instead of being
right-justified.

Testing with IE v6.0 and Firefox 1.0.6.
2005-09-23 17:19:35 -07:00
TK Soh
f8b496eeec hgweb: fixed IE display problem on changelog page
IE (v6.0) didn't seemed to comply to the 15% width on the
left column of changelog display.

Tested with IE v6.0 and Firefox 1.0.6.
2005-09-23 17:15:10 -07:00
Thomas Arendsen Hein
455a56454d Cleanup of tabs and trailing spaces. 2005-09-21 07:56:19 +02:00
Ollivier Robert
3161d67dbc Remove the link from the template as there no real way to have it always be correct. 2005-08-28 19:18:39 +02:00
Thomas Arendsen Hein
f1b6c5859a Completed renaming author to contact in hgwebdir:
Prefer [web] contact = foo instead of author, but still accept the old name.
Adjusted template to show obfuscated contact. Drop bogus <i>email</i> entry.
2005-08-28 18:13:28 +02:00
Ollivier Robert
7b63c2d000 Add RSS link to the repository index.
Index: hg/templates/index.tmpl
===================================================================
2005-08-27 23:45:27 -07:00
Ollivier Robert
eae416acf0 Add the template. 2005-08-27 23:44:26 -07:00
Ollivier Robert
2f777bc14b Use a template for the error message. 2005-08-27 23:44:15 -07:00
mpm@selenic.com
e243599beb Various cleanups for tarball support
s/tarball/archive/
query config rather than maintaining a list
default all archive support to off
use changeset nodes rather than manifest nodes
use web:name for archive name
don't use rev number in filename, it's not portable
refactor manifest lookup bits
use finally: clause to delete tmpfile
2005-08-26 20:52:31 -07:00
Wojciech Milkowski
3273ff69eb tarball support v0.3 pt 2 2005-08-26 20:51:48 -07:00
Wojciech Milkowski
340ba8e86e tarball support v0.3
Hello,

I'm slowly improving support for tarballs in Mercurial. Attached patch
is made against current tip in Matt's repository - c582763bc7fd, and
contains everything done so far.

Changes:
- gzip and bzip2 tarballs are sent immediately without writing to
temporary files (I was wrong Matt, it can be done very easy)
- hgrc customization, you can choose which type (if any) you will support

There's no easy way to support compression levels, since TarFile open()
assume that it is 9. I tried to use gzopen(), and bz2open() methods
instead, but it seems that headers of generated archives, are missing or
wrong. We could eventually try to rewrite tarfile.py and include our own
version into Mercurial, but I don't know if it's good idea...

Wojtek
2005-08-26 20:51:34 -07:00
mpm@selenic.com
6e9378253b hgwebdir index: change "author" to "contact" 2005-08-26 13:59:14 -07:00
mpm@selenic.com
731055ffd1 Add web:style option 2005-08-21 15:00:02 -07:00
mpm@selenic.com
d28b01e2d7 hgweb: fix RSS and raw for new % scheme 2005-08-21 13:18:45 -07:00
mpm@selenic.com
386d6f39d6 hgweb: convert index entries to list expansion style 2005-08-20 13:11:36 -07:00
mpm@selenic.com
ba08a3d105 Merge with jeffpc 2005-08-20 13:08:07 -07:00
mpm@selenic.com
e827a5700c Add a multi-repository server
This merges a bunch of the ideas for a multi-repository CGI script and
simplifies things a bit.

It uses PATH_INFO so it generally wants paths of the form:

http://host/hg.cgi/virtualpath

This gets mapped via a simple config file to the real path. All info
about the repo is read from the repo's hgrc.
2005-08-19 16:38:25 -08:00
Josef "Jeff" Sipek
8d47ab93e3 hgweb: Changed manifest page to list format syntax 2005-08-17 22:32:47 -05:00
Josef "Jeff" Sipek
e93ee68c7d hgweb: Changed file revision page to list format syntax 2005-08-17 22:08:15 -05:00
Josef "Jeff" Sipek
648fbc401f hgweb: Changed annotate page to list format syntax 2005-08-17 22:03:28 -05:00
Josef "Jeff" Sipek
1fb176c855 hgweb: Changed file page to list format syntax 2005-08-17 21:59:02 -05:00
Josef "Jeff" Sipek
2e63eb1703 hgweb: Changed changelog page to list format syntax 2005-08-17 21:45:44 -05:00
Josef "Jeff" Sipek
0977c5f04b Added support for #foo%bar# syntax
This required moving template() into the templater class
2005-08-17 21:14:20 -05:00
Jeff Sipek
aebe0b9925 [PATCH] Move default page name into map file
Move default page name from code into the map file. This way, different
hgweb styles/themes are free to select their default (no cmd in args)
page.
2005-08-08 19:49:48 -08:00
mpm@selenic.com
f5f3b18058 Wrap RSS description in CDATA
Problem spotted by Ollivier Robert
2005-07-27 07:35:36 -08:00
Thomas Arendsen Hein
f82882a913 Use changelogentry.tmpl for search results, too.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Use changelogentry.tmpl for search results, too.
Since both are lists of changelog entries, they don't need to look different.
This fixes a bug where only changelogentry was updated, but searchentry not.

manifest hash: 9bfe7a3dd4512d3ee4e5538f369371bce6d55520
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFC13zrW7P1GVgWeRoRAghNAJ9Agd+uPQ2iGdHAnjebr2R/RzAzUACdEyWq
+yKY7wp16TD72ls6Q49LHJg=
=9aSM
-----END PGP SIGNATURE-----
2005-07-15 10:07:55 +01:00
Edouard Gomez
1a4ff4aee9 More IE friendly diff output related templates.
# HG changeset patch
# User Edouard Gomez <ed.gomez@free.fr>
# Node ID 6eee9b54c53c41643192c7920db642c984a00a21
# Parent  25ad877710029dfa51e14ac88ff498cf0a98c0f2
More IE friendly diff output related templates.

I thought i could use CSS to render properly the diff blocks in IE.
But i was obviously too optmistic and didn't realized that IE only
renders preformated text for pre tag content...

So i had to rollback some of my changes to accomodate to this IE
bug/limitation. A diff blocks become pre tags, and diff lines
become span again. Hopefully, the pages continue validating.
2005-07-10 16:14:28 -08:00
kreijack@inwind.REMOVEME.it
605fa025a7 Add rss tag in the changelog/filelog html template.
# HG changeset patch
# User kreijack@inwind.REMOVEME.it
# Node ID 20edcc82038fce8460076ca5723fbbb919016356
# Parent  5155a0b6300820be38eb7e04d26525be39307df2
Add rss tag in the changelog/filelog html template.
This patch add rss tags in the changelog/filelog template
html pages. This tags permit the browser to detect the rss feed.
2005-07-10 15:59:26 -08:00
Matt Mackall
6ce7b423e3 Fix quoting for RSS links
Spotted by Mikael Berthe <mikael.berthe@lilotux.net>
2005-07-05 18:15:38 -08:00
mpm@selenic.com
364654fefb Various HTML cleanups
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Various HTML cleanups

From: Edouard Gomez <ed.gomez@free.fr>

Cleaned up the changeset summary table differentiating title cells
from data cells using th and td. Added semantic classes.

Changed the big pre tag into a div that mimics pre tag style
(that is monospace font and white space preformated). This is
required because pre is an inline element, and thus cannot
be the parent of block elements as div (diffblock). I replaced
all these div blocks by a series ul lists as patches can be
seen as lists of changes in versioned files.

If someone has a better semantic to propose, i'd be pleased he
drops me an email about this patch.

- --

Cleaned up the filediff summary table differentiating title cells
from data cells using th and td. Added semantic classes.

- --

Keep style unchanged for changeset template

As promised no changes in style. This one got through my eyes
+ brain checking... sorry.

manifest hash: 68dd5c1ac71aa6a5932fb209d48df5fc0c78643b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCyLwfywK+sNU5EO8RAtE9AJ0cxl80eF3zpBWLn8OkoSs7dkZOTgCgtYto
j7T/iRk0Hq4Q0mjdos7FvYU=
=KOP2
-----END PGP SIGNATURE-----
2005-07-03 20:33:35 -08:00
mpm@selenic.com
bf1b300c82 Add globals to templater/fixup RSS
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Add globals to templater/fixup RSS

This removes a bunch of duplicate header() and footer() bits and makes
url and reponame available to all templates.

Fix up RSS bits to use url
Fix strftime call

manifest hash: 63e616e4c7f517a630d80429336817d64e900b68
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCyLlRywK+sNU5EO8RAj9IAJkBDzMQaOwRmF0q8tRmVRnzHCjShACfSTCj
dbfAWg1crv/mUuRZlWL6Tc4=
=Z331
-----END PGP SIGNATURE-----
2005-07-03 20:21:37 -08:00
mpm@selenic.com
f1ebc0d231 [PATCH] Add RSS support to hgweb
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[PATCH] Add RSS support to hgweb

From: Goffredo Baroncelli <kreijack@libero.it>

with the two small patches below, now hgweb can act as feed source.
Two kinds ofobjects can be tracked: the changelong and the files. This
can be useful if anyone would track the changes of a file ( and
because git has it, mercurial have to has ).

To check the changelog the url is
http://127.0.0.1:8000/pippo.pluto?cmd=changelog;style=rss

To check a file ( the mercurial/hgweb.py for examples ) the url is
http://127.0.0.1:8000/?cmd=filelog;file=mercurial/hgweb.py;filenode=0;style=rss

The first patch adds a new filter for the template: the filter is
named rfc822date, and translates the date from the touple format to a
rfc822 style date. The second patch adds the templates needed to
create the rss pages.

Tested with akgregator ( kde ).

[tweaked by mpm:

 add Content-type: text/xml
 add support for URL to header()
 add header with link and content type
 add RSS links on the normal pages]

manifest hash: 170c03d50490d7160097f59abdde1a5073d2ba82
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCyFmLywK+sNU5EO8RApkrAKCYF/vZ3DwdMXPBds2LxGEX8+tK5QCfTeOc
ZhPN8Xjt2cD3wMbNXMcoNSo=
=COlM
-----END PGP SIGNATURE-----
2005-07-03 13:32:59 -08:00
mpm@selenic.com
4acd72ad9f [PATCH 4/5]: cleaning the template parent management in hgweb
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[PATCH 4/5]: cleaning the template parent management in hgweb

From: Goffredo Baroncelli <kreijack@libero.it>

Now the patch remove every use of the tag p1/p2/p1rev/p2rev from the
code ( even+the ones not used ), replacing everywhere with the tag
parent ( even where the previous +tag are not use ), so the
information to the templates is still given.

manifest hash: ede1f299e9201fdad2ecf48e63314350acbb047e
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCyEqxywK+sNU5EO8RAjc5AJ9o8AU6/YRuERblO/0kgWwDN4rqQQCgkVj/
UBtzW5x0yD65mK6rb4f+bQk=
=07yG
-----END PGP SIGNATURE-----
2005-07-03 12:29:37 -08:00
mpm@selenic.com
a6df11250c [PATCH] Tags template cleanup
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[PATCH] Tags template cleanup

From: Edouard Gomez <edouard.gomez@gmail.com>

Tags template cleanup

This page lists all tags, thus using divs doesn't structure well
the information. Better use a list (ul). Each tag becomes a li
element. The li element also carries the parity information.

As font style tags are highly deprecated in newer HTML variants
get rid of the tt element, relaced by a simple span that gets
a CSS class that mimics tt default style (monospaced text)

Added CSS classes required to match old style.

manifest hash: f8943b8270e20966a04111e7205deefedd8b7075
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCx1ijywK+sNU5EO8RAjaAAJoCVaD37YUC6DueL6Kd5D9aoCF8bQCfSWw0
xFVkpEtnr6ST4eyJjR8K17U=
=nphb
-----END PGP SIGNATURE-----
2005-07-02 19:16:51 -08:00
mpm@selenic.com
c2fed80967 [PATCH] Changelogentry template cleanup
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[PATCH] Changelogentry template cleanup
From: Edouard Gomez <edouard.gomez@gmail.com>

Changelogentry template cleanup

Removed unuseful outside div (was probably used to carry the
parity class, it's no use, multiple css classes can be assigned
to the inner table instead)

Removed all hardwired styles in html tags. The style has been
externalized to equivalent CSS classes.

The inner table is now assigned the parity CSS class.

Changed all relevant table cells from td to th.

Added classes to all cells in order to give some semantic rationale
to these table cells.

manifest hash: 2835217df09be445961b865be166c2470173ba58
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCx1g5ywK+sNU5EO8RAhKGAKCWAHrx+lLMAXjd4/vgvG7vmfSkAACfTZ+m
/EyUsDVaYeVcGzFsp8liReI=
=vt2N
-----END PGP SIGNATURE-----
2005-07-02 19:15:05 -08:00
mpm@selenic.com
cd39b0077c [PATCH 2] ChangeLog template conformance fixes.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[PATCH 2] ChangeLog template conformance fixes.

From: Edouard Gomez <edouard.gomez@gmail.com>

# HG changeset patch
# User ed.gomez@free.fr
# Node ID e0661b00c613fa2bf1b670db1c9097423b4a107f
# Parent  b2e9146c237d84a1dd24af9a08bfb031bcc3a523

ChangeLog template conformance fixes.

As per: http://www.w3.org/TR/html401/interact/forms.html#h-17.3
form element MUST have action attribute

As per: http://www.w3.org/TR/html401/interact/forms.html#h-17.4
input has no length attribute, replace by size (i don't couple this
with maxlength because a tag may be used in future versions and no
length limit might be required ?).

manifest hash: c8dccb4805167a47f159094fc5f57500caec4951
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCx1fdywK+sNU5EO8RAliGAJ4iBaSn2D9rRXVmreEYUwNvDyxMlQCeLxMU
HcVHU0wRJDAbiXngOINk7GA=
=FyPC
-----END PGP SIGNATURE-----
2005-07-02 19:13:33 -08:00
mpm@selenic.com
408332a498 [PATCH] Hide style from non conformant agents
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[PATCH] Hide style from non conformant agents

From: Edouard Gomez <edouard.gomez@gmail.com>

Hide style from non conformant agents

manifest hash: a5bab168fece5c570b84987faee8eed944ce3fab
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCx1cWywK+sNU5EO8RAm9LAKCcVq6I71gE+SR97ebX4hgm3+1L6QCgtUF6
qWADsVpZhU5xVipYn0SpE9Y=
=btY1
-----END PGP SIGNATURE-----
2005-07-02 19:10:14 -08:00
mpm@selenic.com
7376d96b33 [PATCH 3/5]: cleaning the template parent management in hgweb
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[PATCH 3/5]: cleaning the template parent management in hgweb

From: Goffredo Baroncelli <kreijack@libero.it>

the filediff template use the old style p1/p2 and p1rev/p2rev
inteface; the patch removes this old stuff, and update the code to the
new style

manifest hash: 29536b6ee71f03a48bceb7336040070ecd0d2b9e
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCxvplywK+sNU5EO8RApW4AKCrTLHofr8jELtvNRpoNJHc0sjEfgCfaY2q
/H96T6BMMXA4VLFVxzOBHCo=
=u4El
-----END PGP SIGNATURE-----
2005-07-02 12:34:45 -08:00
mpm@selenic.com
5c93c1becd [PATCH 2/5]: cleaning the template parent management in hgweb
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[PATCH 2/5]: cleaning the template parent management in hgweb

From: Goffredo Baroncelli <kreijack@libero.it>

hgweb: rename #parent1# and #parent2# to #parent# in the template managment

manifest hash: c7da29f029a1c875127989bb6635007a90f8f59c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCxvmkywK+sNU5EO8RAnREAKCXuVAU054xkYsfQLug3y/u4tpGxQCfdnKA
QkX42FSUBN1EwFyzrzC6vs0=
=o8VK
-----END PGP SIGNATURE-----
2005-07-02 12:31:32 -08:00
mpm@selenic.com
6b7d3a80e3 [PATCH] Add tags to hgweb
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[PATCH] Add tags to hgweb

From: Goffredo Baroncelli <kreijack@libero.it>

manifest hash: 3a59c363799c974b042dbb55f943d830feb1b34f
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCxcfHywK+sNU5EO8RAgEKAJ40SRMOyBOkbS8QU2MIBUzBnhu5AwCbBDjR
M+gaWyqzqOBzO1r+9zpb37k=
=l1pL
-----END PGP SIGNATURE-----
2005-07-01 14:46:31 -08:00
mpm@selenic.com
bfb94728dd Add parent revision numbers back to hgweb
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Add parent revision numbers back to hgweb

From: Goffredo Baroncelli <kreijack@libero.it>

manifest hash: 9f81492df935e94e7c544b071aa9caac3b102190
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCxccYywK+sNU5EO8RAkW7AJ9aXTUZ9JnbZMrxCrcuXozYzkdw/gCfT8IO
qnqe966Mvapr2jULeXldQW4=
=XiV5
-----END PGP SIGNATURE-----
2005-07-01 14:43:36 -08:00
mpm@selenic.com
70952fe5b2 Add multiple keyword search to hgweb
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Add multiple keyword search to hgweb

People kept pestering me about this one. Now it's done.

If you type a tag/id/rev in the search box, it takes you to that entry
in the changelog.

If you type some other random keywords, it does a case-insensitive
search through the history and returns the most recent N items.

It's not super-fast, but it's serviceable.

manifest hash: e8fa980dee92cf78c04051d3028da9b07a45f3de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCxO6JywK+sNU5EO8RArAwAKCq+9qO/OL0mQxa1J7C77Z6AcZoWgCfbiDC
AZ5KllldwBtdRRREn7HH6go=
=sIy0
-----END PGP SIGNATURE-----
2005-06-30 23:19:37 -08:00
mpm@selenic.com
d208532351 hgweb: missed a long hash
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hgweb: missed a long hash

manifest hash: b027f73ea9252f2833525f4885e2aa40e717616d
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCsQurywK+sNU5EO8RAvfEAKCgUYzKeSzKwGKuyVhnJP+A7UrfMQCgo4BP
GAdHa6jMtH+wifOHz7kIfL8=
=z0wj
-----END PGP SIGNATURE-----
2005-06-15 21:18:35 -08:00
mpm@selenic.com
7b7db9ddb1 Show nice short hashes in hgweb
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Show nice short hashes in hgweb

manifest hash: c73a8e32a823af7ea7440d1db2b0c022a4366bb5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCsQpkywK+sNU5EO8RAmSIAJ40aYEFBi07drKuPLuofXNaUkEFtgCghC9g
mG8mmhucbBe4hcZWL0AdG8I=
=Khp7
-----END PGP SIGNATURE-----
2005-06-15 21:13:08 -08:00
mpm@selenic.com
91c58aba0f hgweb: add file permissions
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hgweb: add file permissions

From: Goffredo Baroncelli <kreijack@libero.it>

Show permissions in hgweb

Tweaked by mpm

manifest hash: f11361c6da21f3ba60c5e6a173396754c36efb1d
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCsHFqywK+sNU5EO8RAoqFAJ44P8kZoZDiY5Fw8LWpL/3ArXNE2QCeO3z4
0zV5rXWa/r/xgf+AVTLeQ/4=
=FzLj
-----END PGP SIGNATURE-----
2005-06-15 10:20:26 -08:00
Thomas Arendsen Hein
056f087f66 Removed extra closing brace from date string. 2005-06-02 09:23:44 +01:00
Thomas Arendsen Hein
0058a0f0ff Obfuscate author in all HTML templates. 2005-06-02 09:14:12 +01:00
Thomas Arendsen Hein
7121d9e369 Add missing > to </td> in templates. 2005-06-02 07:05:56 +01:00
mpm@selenic.com
c6171242df hgweb: add template filters, template style maps, and raw pages
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hgweb: add template filters, template style maps, and raw pages

Template filters:

in templates, you can now specify a chain of filters like

#desc|firstline|escape#
#desc|escape|addbreaks#
#date|age#

to specify how you'd like raw text (or whatever) to be transformed.

Template style maps:

add ;style=foo to a URL and we'll use templates/map-foo if it exists.

Raw output:

Together, these two features make it east to implement raw
downloadable files and patches. Simply link to the same page with
style=raw and present the output as unfiltered text/plain with that
template.

manifest hash: 5954a648b3d6b4e6dc2dcd1975f96b4b0178da2a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCnUMyywK+sNU5EO8RAkKjAJ9h9JElSCbWBPUnL+koCSDxgo38AwCgrccM
0qwyKdh/fUNglICxSh3HBNA=
=Svlo
-----END PGP SIGNATURE-----
2005-05-31 21:10:10 -08:00
mpm@selenic.com
d5d19174b2 hgweb: make navigation of changesets a bit nicer 2005-05-26 22:47:43 -08:00
mpm@selenic.com
1dd7e5c920 hgweb: alternating colors for multifile diffs 2005-05-26 20:37:05 -08:00
mpm@selenic.com
bea0b877e3 hgweb: actually commit the tags template 2005-05-26 13:02:04 -08:00
mpm@selenic.com
546aa0fdbb hgweb: add tags links and manifest links
This adds a simple new tags page to browse by tag, adds the tag link
everywhere, and adds manifest links to the tags and changelog pages.
2005-05-26 12:24:01 -08:00
mpm@selenic.com
e687fa3c97 Hide most revision numbers in hgweb 2005-05-26 11:15:05 -08:00
mpm@selenic.com
7ac7091e05 Add tag/rev/node search to hgweb 2005-05-26 10:08:47 -08:00
mpm@selenic.com
2424ff846c Fix some broken parent links in hgweb 2005-05-25 09:04:38 -08:00
jake@edge2.net
579f538a2d fixed problem with head/body tags, added dtd, fixed table attributes
add quotes around all attributes (w3c recommendation)
pages pass w3c validator
2005-05-24 16:08:09 -07:00
jake@edge2.net
8778053fe5 changed pos to rev for changelog cmd, changed & to ; 2005-05-24 07:42:05 -07:00
mpm@selenic.com
27835c58e5 Fix pos in navbar
Fix bad parent link in changelog
2005-05-23 21:15:36 -08:00
mpm@selenic.com
e4397937b5 Prettify the web interface
Add header, footer templates
Add null parent handling
Combine files and directories
Add parity flag for alternating line colors
Add line numbers to filerevision
2005-05-23 20:57:48 -08:00
mpm@selenic.com
61d83d35a2 Revamped templated hgweb 2005-05-23 16:00:02 -08:00
jake@edge2.net
74291d2018 added annotate
fixed error page to get tmpl_dir
2005-05-21 22:43:14 -07:00
jake@edge2.net
318e83d25f added template support for some hgweb output, also, template files for
the parts that have been converted
2005-05-21 16:13:42 -07:00