Show More
@@ -6,7 +6,7 b'' | |||||
6 | # This software may be used and distributed according to the terms |
|
6 | # This software may be used and distributed according to the terms | |
7 | # of the GNU General Public License, incorporated herein by reference. |
|
7 | # of the GNU General Public License, incorporated herein by reference. | |
8 |
|
8 | |||
9 | import os, cgi, sys |
|
9 | import os, cgi, sys, urllib | |
10 | from demandload import demandload |
|
10 | from demandload import demandload | |
11 | demandload(globals(), "mdiff time re socket zlib errno ui hg ConfigParser") |
|
11 | demandload(globals(), "mdiff time re socket zlib errno ui hg ConfigParser") | |
12 | demandload(globals(), "zipfile tempfile StringIO tarfile BaseHTTPServer util") |
|
12 | demandload(globals(), "zipfile tempfile StringIO tarfile BaseHTTPServer util") | |
@@ -163,7 +163,8 b' class templater(object):' | |||||
163 | return |
|
163 | return | |
164 |
|
164 | |||
165 | common_filters = { |
|
165 | common_filters = { | |
166 | "escape": cgi.escape, |
|
166 | "escape": lambda x: cgi.escape(x, True), | |
|
167 | "urlescape": urllib.quote, | |||
167 | "strip": lambda x: x.strip(), |
|
168 | "strip": lambda x: x.strip(), | |
168 | "age": age, |
|
169 | "age": age, | |
169 | "date": lambda x: util.datestr(x), |
|
170 | "date": lambda x: util.datestr(x), |
@@ -108,6 +108,8 b' class manifest(revlog):' | |||||
108 | files = map.keys() |
|
108 | files = map.keys() | |
109 | files.sort() |
|
109 | files.sort() | |
110 |
|
110 | |||
|
111 | % if this is changed to support newlines in filenames, | |||
|
112 | % be sure to check the templates/ dir again (especially *-raw.tmpl) | |||
111 | text = ["%s\000%s%s\n" % |
|
113 | text = ["%s\000%s%s\n" % | |
112 | (f, hex(map[f]), flags[f] and "x" or '') |
|
114 | (f, hex(map[f]), flags[f] and "x" or '') | |
113 | for f in files] |
|
115 | for f in files] |
@@ -11,7 +11,7 b'' | |||||
11 |
|
11 | |||
12 | <form action="#"> |
|
12 | <form action="#"> | |
13 | <div class="search"> |
|
13 | <div class="search"> | |
14 | <input type="hidden" name="repo" value="#repo#" /> |
|
14 | <input type="hidden" name="repo" value="#repo|escape#" /> | |
15 | <input type="hidden" name="style" value="gitweb" /> |
|
15 | <input type="hidden" name="style" value="gitweb" /> | |
16 | <input type="hidden" name="cmd" value="changelog" /> |
|
16 | <input type="hidden" name="cmd" value="changelog" /> | |
17 | <input type="text" name="rev" /> |
|
17 | <input type="text" name="rev" /> |
@@ -8,7 +8,7 b'' | |||||
8 | <i>#author|obfuscate# [#date|rfc822date#]</i><br/> |
|
8 | <i>#author|obfuscate# [#date|rfc822date#]</i><br/> | |
9 | </div> |
|
9 | </div> | |
10 | <div class="log_body"> |
|
10 | <div class="log_body"> | |
11 | #desc|addbreaks# |
|
11 | #desc|escape|addbreaks# | |
12 | <br/> |
|
12 | <br/> | |
13 | <br/> |
|
13 | <br/> | |
14 | </div> |
|
14 | </div> |
@@ -28,7 +28,7 b'' | |||||
28 | </table></div> |
|
28 | </table></div> | |
29 |
|
29 | |||
30 | <div class="title_text"> |
|
30 | <div class="title_text"> | |
31 | #desc|addbreaks# |
|
31 | #desc|escape|addbreaks# | |
32 | </div> |
|
32 | </div> | |
33 |
|
33 | |||
34 | <div class="title_text"> |
|
34 | <div class="title_text"> |
@@ -10,10 +10,10 b'' | |||||
10 | </div> |
|
10 | </div> | |
11 |
|
11 | |||
12 | <div class="page_nav"> |
|
12 | <div class="page_nav"> | |
13 | <a href="?cmd=summary;style=gitweb">summary</a> | <a href="?cmd=changelog;style=gitweb">changelog</a> | <a href="?cmd=tags;style=gitweb">tags</a> | <a href="?cmd=manifest;manifest=#manifest#;path=#path#;style=gitweb">manifest</a> | <a href="?cmd=changeset;node=#node#;style=gitweb">changeset</a> | <a href="?cmd=file;file=#file#;filenode=#filenode#;style=gitweb">file</a> | <a href="?cmd=filelog;file=#file#;filenode=#filenode#;style=gitweb">revisions</a> | annotate<br/> |
|
13 | <a href="?cmd=summary;style=gitweb">summary</a> | <a href="?cmd=changelog;style=gitweb">changelog</a> | <a href="?cmd=tags;style=gitweb">tags</a> | <a href="?cmd=manifest;manifest=#manifest#;path=#path|urlescape#;style=gitweb">manifest</a> | <a href="?cmd=changeset;node=#node#;style=gitweb">changeset</a> | <a href="?cmd=file;file=#file|urlescape#;filenode=#filenode#;style=gitweb">file</a> | <a href="?cmd=filelog;file=#file|urlescape#;filenode=#filenode#;style=gitweb">revisions</a> | annotate<br/> | |
14 | </div> |
|
14 | </div> | |
15 |
|
15 | |||
16 | <div class="title">#file#</div> |
|
16 | <div class="title">#file|escape#</div> | |
17 |
|
17 | |||
18 | <table> |
|
18 | <table> | |
19 | <tr> |
|
19 | <tr> |
@@ -1,5 +1,5 b'' | |||||
1 | #header# |
|
1 | #header# | |
2 | <title>#repo|escape#: #file# annotate</title> |
|
2 | <title>#repo|escape#: #file|escape# annotate</title> | |
3 | </head> |
|
3 | </head> | |
4 | <body> |
|
4 | <body> | |
5 |
|
5 | |||
@@ -7,12 +7,12 b'' | |||||
7 | <a href="?cl=#rev#">changelog</a> |
|
7 | <a href="?cl=#rev#">changelog</a> | |
8 | <a href="?tags=">tags</a> |
|
8 | <a href="?tags=">tags</a> | |
9 | <a href="?cs=#node|short#">changeset</a> |
|
9 | <a href="?cs=#node|short#">changeset</a> | |
10 | <a href="?mf=#manifest|short#;path=#path#">manifest</a> |
|
10 | <a href="?mf=#manifest|short#;path=#path|urlescape#">manifest</a> | |
11 | <a href="?f=#filenode|short#;file=#file#">file</a> |
|
11 | <a href="?f=#filenode|short#;file=#file|urlescape#">file</a> | |
12 | <a href="?fl=#filenode|short#;file=#file#">revisions</a> |
|
12 | <a href="?fl=#filenode|short#;file=#file|urlescape#">revisions</a> | |
13 | </div> |
|
13 | </div> | |
14 |
|
14 | |||
15 | <h2>Annotate #file#</h2> |
|
15 | <h2>Annotate #file|escape#</h2> | |
16 |
|
16 | |||
17 | <table> |
|
17 | <table> | |
18 | <tr> |
|
18 | <tr> |
@@ -1,5 +1,5 b'' | |||||
1 | #header# |
|
1 | #header# | |
2 | <title>#repo|escape#: #file# diff</title> |
|
2 | <title>#repo|escape#: #file|escape# diff</title> | |
3 | </head> |
|
3 | </head> | |
4 | <body> |
|
4 | <body> | |
5 |
|
5 | |||
@@ -7,13 +7,13 b'' | |||||
7 | <a href="?cl=#rev#">changelog</a> |
|
7 | <a href="?cl=#rev#">changelog</a> | |
8 | <a href="?tags=">tags</a> |
|
8 | <a href="?tags=">tags</a> | |
9 | <a href="?cs=#node|short#">changeset</a> |
|
9 | <a href="?cs=#node|short#">changeset</a> | |
10 | <a href="?f=#filenode|short#;file=#file#">file</a> |
|
10 | <a href="?f=#filenode|short#;file=#file|urlescape#">file</a> | |
11 | <a href="?fl=#filenode|short#;file=#file#">revisions</a> |
|
11 | <a href="?fl=#filenode|short#;file=#file|urlescape#">revisions</a> | |
12 | <a href="?fa=#filenode|short#;file=#file#">annotate</a> |
|
12 | <a href="?fa=#filenode|short#;file=#file|urlescape#">annotate</a> | |
13 | <a href="?fd=#node|short#;file=#file#;style=raw">raw</a> |
|
13 | <a href="?fd=#node|short#;file=#file|urlescape#;style=raw">raw</a> | |
14 | </div> |
|
14 | </div> | |
15 |
|
15 | |||
16 | <h2>#file#</h2> |
|
16 | <h2>#file|escape#</h2> | |
17 |
|
17 | |||
18 | <table id="filediffEntry"> |
|
18 | <table id="filediffEntry"> | |
19 | <tr> |
|
19 | <tr> |
@@ -10,7 +10,7 b'' | |||||
10 | </div> |
|
10 | </div> | |
11 |
|
11 | |||
12 | <div class="page_nav"> |
|
12 | <div class="page_nav"> | |
13 | <a href="?cmd=summary;style=gitweb">summary</a> | <a href="?cmd=changelog;style=gitweb">changelog</a> | <a href="?cmd=tags;style=gitweb">tags</a> | <a href="?cmd=file;file=#file#;filenode=#filenode#;style=gitweb">file</a> | revisions | <a href="?cmd=annotate;file=#file#;filenode=#filenode#;style=gitweb">annotate</a> | <a href="?fl=#filenode|short#;file=#file#;style=rss">rss</a><br/> |
|
13 | <a href="?cmd=summary;style=gitweb">summary</a> | <a href="?cmd=changelog;style=gitweb">changelog</a> | <a href="?cmd=tags;style=gitweb">tags</a> | <a href="?cmd=file;file=#file|urlescape#;filenode=#filenode#;style=gitweb">file</a> | revisions | <a href="?cmd=annotate;file=#file|urlescape#;filenode=#filenode#;style=gitweb">annotate</a> | <a href="?fl=#filenode|short#;file=#file|urlescape#;style=rss">rss</a><br/> | |
14 | </div> |
|
14 | </div> | |
15 |
|
15 | |||
16 | <table> |
|
16 | <table> |
@@ -1,6 +1,6 b'' | |||||
1 | #header# |
|
1 | #header# | |
2 | <title>#repo|escape#: #file# history</title> |
|
2 | <title>#repo|escape#: #file|escape# history</title> | |
3 | <description>#file# revision history</description> |
|
3 | <description>#file|escape# revision history</description> | |
4 | #entries%filelogentry# |
|
4 | #entries%filelogentry# | |
5 | </channel> |
|
5 | </channel> | |
6 | </rss> No newline at end of file |
|
6 | </rss> |
@@ -1,7 +1,7 b'' | |||||
1 | #header# |
|
1 | #header# | |
2 | <title>#repo|escape#: #file# history</title> |
|
2 | <title>#repo|escape#: #file|escape# history</title> | |
3 | <link rel="alternate" type="application/rss+xml" |
|
3 | <link rel="alternate" type="application/rss+xml" | |
4 | href="?fl=0;file=#file#;style=rss" title="RSS feed for #repo|escape#:#file#"> |
|
4 | href="?fl=0;file=#file|urlescape#;style=rss" title="RSS feed for #repo|escape#:#file#"> | |
5 | </head> |
|
5 | </head> | |
6 | </head> |
|
6 | </head> | |
7 | <body> |
|
7 | <body> | |
@@ -9,12 +9,12 b'' | |||||
9 | <div class="buttons"> |
|
9 | <div class="buttons"> | |
10 | <a href="?cl=tip">changelog</a> |
|
10 | <a href="?cl=tip">changelog</a> | |
11 | <a href="?tags=">tags</a> |
|
11 | <a href="?tags=">tags</a> | |
12 | <a href="?f=#filenode|short#;file=#file#">file</a> |
|
12 | <a href="?f=#filenode|short#;file=#file|urlescape#">file</a> | |
13 | <a href="?fa=#filenode|short#;file=#file#">annotate</a> |
|
13 | <a href="?fa=#filenode|short#;file=#file|urlescape#">annotate</a> | |
14 | <a type="application/rss+xml" href="?fl=0;file=#file#;style=rss">rss</a> |
|
14 | <a type="application/rss+xml" href="?fl=0;file=#file|urlescape#;style=rss">rss</a> | |
15 | </div> |
|
15 | </div> | |
16 |
|
16 | |||
17 | <h2>#file# revision history</h2> |
|
17 | <h2>#file|escape# revision history</h2> | |
18 |
|
18 | |||
19 | #entries%filelogentry# |
|
19 | #entries%filelogentry# | |
20 |
|
20 |
@@ -1,6 +1,6 b'' | |||||
1 | <item> |
|
1 | <item> | |
2 | <title>#desc|strip|firstline|strip|escape#</title> |
|
2 | <title>#desc|strip|firstline|strip|escape#</title> | |
3 | <link>#url#?f=#filenode|short#;file=#file#</link> |
|
3 | <link>#url#?f=#filenode|short#;file=#file|urlescape#</link> | |
4 | <description><![CDATA[#desc|strip|escape|addbreaks#]]></description> |
|
4 | <description><![CDATA[#desc|strip|escape|addbreaks#]]></description> | |
5 | <author>#author|obfuscate#</author> |
|
5 | <author>#author|obfuscate#</author> | |
6 | <pubDate>#date|rfc822date#</pubDate>> |
|
6 | <pubDate>#date|rfc822date#</pubDate>> |
@@ -4,9 +4,9 b'' | |||||
4 | <td><b><a href="?cs=#node|short#">#desc|strip|firstline|escape#</a></b></td></tr> |
|
4 | <td><b><a href="?cs=#node|short#">#desc|strip|firstline|escape#</a></b></td></tr> | |
5 | <tr> |
|
5 | <tr> | |
6 | <td align="right">revision #filerev#: </td> |
|
6 | <td align="right">revision #filerev#: </td> | |
7 | <td><a href="?f=#filenode|short#;file=#file#">#filenode|short#</a> |
|
7 | <td><a href="?f=#filenode|short#;file=#file|urlescape#">#filenode|short#</a> | |
8 | <a href="?fd=#node|short#;file=#file#">(diff)</a> |
|
8 | <a href="?fd=#node|short#;file=#file|urlescape#">(diff)</a> | |
9 | <a href="?fa=#filenode|short#;file=#file#">(annotate)</a> |
|
9 | <a href="?fa=#filenode|short#;file=#file|urlescape#">(annotate)</a> | |
10 | </td></tr> |
|
10 | </td></tr> | |
11 | <tr> |
|
11 | <tr> | |
12 | <td align="right">author: </td> |
|
12 | <td align="right">author: </td> |
@@ -10,10 +10,10 b'' | |||||
10 | </div> |
|
10 | </div> | |
11 |
|
11 | |||
12 | <div class="page_nav"> |
|
12 | <div class="page_nav"> | |
13 | <a href="?cmd=summary;style=gitweb">summary</a> | <a href="?cmd=changelog;style=gitweb">changelog</a> | <a href="?cmd=tags;style=gitweb">tags</a> | <a href="?mf=#manifest|short#;path=#path#;style=gitweb">manifest</a> | <a href="?cmd=changeset;node=#node#;style=gitweb">changeset</a> | file | <a href="?cmd=filelog;file=#file#;filenode=#filenode#;style=gitweb">revisions</a> | <a href="?cmd=annotate;file=#file#;filenode=#filenode#;style=gitweb">annotate</a> | <a href="?cmd=file;file=#file#;filenode=#filenode#;style=raw">raw</a><br/> |
|
13 | <a href="?cmd=summary;style=gitweb">summary</a> | <a href="?cmd=changelog;style=gitweb">changelog</a> | <a href="?cmd=tags;style=gitweb">tags</a> | <a href="?mf=#manifest|short#;path=#path|urlescape#;style=gitweb">manifest</a> | <a href="?cmd=changeset;node=#node#;style=gitweb">changeset</a> | file | <a href="?cmd=filelog;file=#file|urlescape#;filenode=#filenode#;style=gitweb">revisions</a> | <a href="?cmd=annotate;file=#file|urlescape#;filenode=#filenode#;style=gitweb">annotate</a> | <a href="?cmd=file;file=#file|urlescape#;filenode=#filenode#;style=raw">raw</a><br/> | |
14 | </div> |
|
14 | </div> | |
15 |
|
15 | |||
16 | <div class="title">#file#</div> |
|
16 | <div class="title">#file|escape#</div> | |
17 |
|
17 | |||
18 | <table> |
|
18 | <table> | |
19 | <tr> |
|
19 | <tr> |
@@ -1,5 +1,5 b'' | |||||
1 | #header# |
|
1 | #header# | |
2 | <title>#repo|escape#:#file#</title> |
|
2 | <title>#repo|escape#:#file|escape#</title> | |
3 | </head> |
|
3 | </head> | |
4 | <body> |
|
4 | <body> | |
5 |
|
5 | |||
@@ -7,13 +7,13 b'' | |||||
7 | <a href="?cl=#rev#">changelog</a> |
|
7 | <a href="?cl=#rev#">changelog</a> | |
8 | <a href="?tags=">tags</a> |
|
8 | <a href="?tags=">tags</a> | |
9 | <a href="?cs=#node|short#">changeset</a> |
|
9 | <a href="?cs=#node|short#">changeset</a> | |
10 | <a href="?mf=#manifest|short#;path=#path#">manifest</a> |
|
10 | <a href="?mf=#manifest|short#;path=#path|urlescape#">manifest</a> | |
11 | <a href="?fl=#filenode|short#;file=#file#">revisions</a> |
|
11 | <a href="?fl=#filenode|short#;file=#file|urlescape#">revisions</a> | |
12 | <a href="?fa=#filenode|short#;file=#file#">annotate</a> |
|
12 | <a href="?fa=#filenode|short#;file=#file|urlescape#">annotate</a> | |
13 | <a href="?f=#filenode|short#;file=#file#;style=raw">raw</a> |
|
13 | <a href="?f=#filenode|short#;file=#file|urlescape#;style=raw">raw</a> | |
14 | </div> |
|
14 | </div> | |
15 |
|
15 | |||
16 | <h2>#file#</h2> |
|
16 | <h2>#file|escape#</h2> | |
17 |
|
17 | |||
18 | <table> |
|
18 | <table> | |
19 | <tr> |
|
19 | <tr> |
@@ -18,7 +18,7 b'' | |||||
18 | <table cellspacing="0"> |
|
18 | <table cellspacing="0"> | |
19 | <tr class="light"> |
|
19 | <tr class="light"> | |
20 | <td style="font-family:monospace">drwxr-xr-x</td> |
|
20 | <td style="font-family:monospace">drwxr-xr-x</td> | |
21 | <td><a href="?cmd=manifest;manifest=#manifest#;path=#up#;style=gitweb">[up]</a></td> |
|
21 | <td><a href="?cmd=manifest;manifest=#manifest#;path=#up|urlescape#;style=gitweb">[up]</a></td> | |
22 | <td class="link"> </td> |
|
22 | <td class="link"> </td> | |
23 | </tr> |
|
23 | </tr> | |
24 | #dentries%manifestdirentry# |
|
24 | #dentries%manifestdirentry# |
@@ -10,12 +10,12 b'' | |||||
10 | #archives%archiveentry# |
|
10 | #archives%archiveentry# | |
11 | </div> |
|
11 | </div> | |
12 |
|
12 | |||
13 | <h2>manifest for changeset #node|short#: #path#</h2> |
|
13 | <h2>manifest for changeset #node|short#: #path|escape#</h2> | |
14 |
|
14 | |||
15 | <table cellpadding="0" cellspacing="0"> |
|
15 | <table cellpadding="0" cellspacing="0"> | |
16 | <tr class="parity1"> |
|
16 | <tr class="parity1"> | |
17 | <td><tt>drwxr-xr-x</tt> |
|
17 | <td><tt>drwxr-xr-x</tt> | |
18 | <td><a href="?mf=#manifest|short#;path=#up#">[up]</a> |
|
18 | <td><a href="?mf=#manifest|short#;path=#up|urlescape#">[up]</a> | |
19 | #dentries%manifestdirentry# |
|
19 | #dentries%manifestdirentry# | |
20 | #fentries%manifestfileentry# |
|
20 | #fentries%manifestfileentry# | |
21 | </table> |
|
21 | </table> |
@@ -3,16 +3,16 b' header = header.tmpl' | |||||
3 | footer = footer.tmpl |
|
3 | footer = footer.tmpl | |
4 | search = search.tmpl |
|
4 | search = search.tmpl | |
5 | changelog = changelog.tmpl |
|
5 | changelog = changelog.tmpl | |
6 | naventry = "<a href="?cl=#rev#">#label#</a> " |
|
6 | naventry = "<a href="?cl=#rev#">#label|escape#</a> " | |
7 | filedifflink = "<a href="?fd=#node|short#;file=#file#">#file#</a> " |
|
7 | filedifflink = "<a href="?fd=#node|short#;file=#file|urlescape#">#file|escape#</a> " | |
8 | filenodelink = "<a href="?f=#filenode|short#;file=#file#">#file#</a> " |
|
8 | filenodelink = "<a href="?f=#filenode|short#;file=#file|urlescape#">#file|escape#</a> " | |
9 | fileellipses = "..." |
|
9 | fileellipses = "..." | |
10 | changelogentry = changelogentry.tmpl |
|
10 | changelogentry = changelogentry.tmpl | |
11 | searchentry = changelogentry.tmpl |
|
11 | searchentry = changelogentry.tmpl | |
12 | changeset = changeset.tmpl |
|
12 | changeset = changeset.tmpl | |
13 | manifest = manifest.tmpl |
|
13 | manifest = manifest.tmpl | |
14 | manifestdirentry = "<tr class="parity#parity#"><td><tt>drwxr-xr-x</tt> <td><a href="?cmd=manifest;manifest=#manifest#;path=#path#">#basename#/</a>" |
|
14 | manifestdirentry = "<tr class="parity#parity#"><td><tt>drwxr-xr-x</tt> <td><a href="?cmd=manifest;manifest=#manifest#;path=#path|urlescape#">#basename|escape#/</a>" | |
15 | manifestfileentry = "<tr class="parity#parity#"><td><tt>#permissions|permissions#</tt> <td><a href="?f=#filenode|short#;file=#file#">#basename#</a>" |
|
15 | manifestfileentry = "<tr class="parity#parity#"><td><tt>#permissions|permissions#</tt> <td><a href="?f=#filenode|short#;file=#file|urlescape#">#basename|escape#</a>" | |
16 | filerevision = filerevision.tmpl |
|
16 | filerevision = filerevision.tmpl | |
17 | fileannotate = fileannotate.tmpl |
|
17 | fileannotate = fileannotate.tmpl | |
18 | filediff = filediff.tmpl |
|
18 | filediff = filediff.tmpl | |
@@ -26,23 +26,23 b' difflineat = "<span class="atline">#line' | |||||
26 | diffline = "#line|escape#" |
|
26 | diffline = "#line|escape#" | |
27 | changelogparent = "<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="?cs=#node|short#">#node|short#</a></td></tr>" |
|
27 | changelogparent = "<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="?cs=#node|short#">#node|short#</a></td></tr>" | |
28 | changesetparent = "<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="?cs=#node|short#">#node|short#</a></td></tr>" |
|
28 | changesetparent = "<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="?cs=#node|short#">#node|short#</a></td></tr>" | |
29 | filerevparent = "<tr><td class="metatag">parent:</td><td><a href="?f=#node|short#;file=#file#">#node|short#</a></td></tr>" |
|
29 | filerevparent = "<tr><td class="metatag">parent:</td><td><a href="?f=#node|short#;file=#file|urlescape#">#node|short#</a></td></tr>" | |
30 | fileannotateparent = "<tr><td class="metatag">parent:</td><td><a href="?fa=#filenode|short#;file=#file#">#node|short#</a></td></tr>" |
|
30 | fileannotateparent = "<tr><td class="metatag">parent:</td><td><a href="?fa=#filenode|short#;file=#file|urlescape#">#node|short#</a></td></tr>" | |
31 | changesetchild = "<tr><th class="child">child #rev#:</th><td class="child"><a href="?cs=#node|short#">#node|short#</a></td></tr>" |
|
31 | changesetchild = "<tr><th class="child">child #rev#:</th><td class="child"><a href="?cs=#node|short#">#node|short#</a></td></tr>" | |
32 | changelogchild = "<tr><th class="child">child #rev#:</th><td class="child"><a href="?cs=#node|short#">#node|short#</a></td></tr>" |
|
32 | changelogchild = "<tr><th class="child">child #rev#:</th><td class="child"><a href="?cs=#node|short#">#node|short#</a></td></tr>" | |
33 | filerevchild = "<tr><td class="metatag">child:</td><td><a href="?f=#node|short#;file=#file#">#node|short#</a></td></tr>" |
|
33 | filerevchild = "<tr><td class="metatag">child:</td><td><a href="?f=#node|short#;file=#file|urlescape#">#node|short#</a></td></tr>" | |
34 | fileannotatechild = "<tr><td class="metatag">child:</td><td><a href="?fa=#filenode|short#;file=#file#">#node|short#</a></td></tr>" |
|
34 | fileannotatechild = "<tr><td class="metatag">child:</td><td><a href="?fa=#filenode|short#;file=#file|urlescape#">#node|short#</a></td></tr>" | |
35 | tags = tags.tmpl |
|
35 | tags = tags.tmpl | |
36 | tagentry = "<li class="tagEntry parity#parity#"><span class="node">#node#</span> <a href="?cs=#node|short#">#tag#</a></li>" |
|
36 | tagentry = "<li class="tagEntry parity#parity#"><span class="node">#node#</span> <a href="?cs=#node|short#">#tag|escape#</a></li>" | |
37 | diffblock = "<pre class="parity#parity#">#lines#</pre>" |
|
37 | diffblock = "<pre class="parity#parity#">#lines#</pre>" | |
38 | changelogtag = "<tr><th class="tag">tag:</th><td class="tag">#tag#</td></tr>" |
|
38 | changelogtag = "<tr><th class="tag">tag:</th><td class="tag">#tag|escape#</td></tr>" | |
39 | changesettag = "<tr><th class="tag">tag:</th><td class="tag">#tag#</td></tr>" |
|
39 | changesettag = "<tr><th class="tag">tag:</th><td class="tag">#tag|escape#</td></tr>" | |
40 | filediffparent = "<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="?cs=#node|short#">#node|short#</a></td></tr>" |
|
40 | filediffparent = "<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="?cs=#node|short#">#node|short#</a></td></tr>" | |
41 | filelogparent = "<tr><td align="right">parent #rev#: </td><td><a href="?f=#node|short#;file=#file#">#node|short#</a></td></tr>" |
|
41 | filelogparent = "<tr><td align="right">parent #rev#: </td><td><a href="?f=#node|short#;file=#file|urlescape#">#node|short#</a></td></tr>" | |
42 | filediffchild = "<tr><th class="child">child #rev#:</th><td class="child"><a href="?cs=#node|short#">#node|short#</a></td></tr>" |
|
42 | filediffchild = "<tr><th class="child">child #rev#:</th><td class="child"><a href="?cs=#node|short#">#node|short#</a></td></tr>" | |
43 | filelogchild = "<tr><td align="right">child #rev#: </td><td><a href="?f=#node|short#;file=#file#">#node|short#</a></td></tr>" |
|
43 | filelogchild = "<tr><td align="right">child #rev#: </td><td><a href="?f=#node|short#;file=#file|urlescape#">#node|short#</a></td></tr>" | |
44 | indexentry = "<tr class="parity#parity#"><td><a href="#url#">#name#</a></td><td>#shortdesc#</td><td>#contact|obfuscate#</td><td>#lastupdate|age# ago</td><td><a href="#url#?cl=tip;style=rss">RSS</a></td></tr>" |
|
44 | indexentry = "<tr class="parity#parity#"><td><a href="#url#">#name|escape#</a></td><td>#shortdesc|escape#</td><td>#contact|obfuscate#</td><td>#lastupdate|age# ago</td><td><a href="#url#?cl=tip;style=rss">RSS</a></td></tr>" | |
45 | index = index.tmpl |
|
45 | index = index.tmpl | |
46 | archiveentry = "<a href="?ca=#node|short#;type=#type#">#type#</a> " |
|
46 | archiveentry = "<a href="?ca=#node|short#;type=#type|urlescape#">#type|escape#</a> " | |
47 | notfound = notfound.tmpl |
|
47 | notfound = notfound.tmpl | |
48 | error = error.tmpl |
|
48 | error = error.tmpl |
@@ -5,17 +5,17 b' search = search-gitweb.tmpl' | |||||
5 | changelog = changelog-gitweb.tmpl |
|
5 | changelog = changelog-gitweb.tmpl | |
6 | summary = summary-gitweb.tmpl |
|
6 | summary = summary-gitweb.tmpl | |
7 | error = error-gitweb.tmpl |
|
7 | error = error-gitweb.tmpl | |
8 | naventry = "<a href="?cmd=changelog;rev=#rev#;style=gitweb">#label#</a> " |
|
8 | naventry = "<a href="?cmd=changelog;rev=#rev#;style=gitweb">#label|escape#</a> " | |
9 | navshortentry = "<a href="?cmd=shortlog;rev=#rev#;style=gitweb">#label#</a> " |
|
9 | navshortentry = "<a href="?cmd=shortlog;rev=#rev#;style=gitweb">#label|escape#</a> " | |
10 | filedifflink = "<a href="?cmd=filediff;node=#node#;file=#file#;style=gitweb">#file#</a> " |
|
10 | filedifflink = "<a href="?cmd=filediff;node=#node#;file=#file|urlescape#;style=gitweb">#file|escape#</a> " | |
11 | filenodelink = "<tr class="light"><td><a class="list" href="">#file#</a></td><td></td><td class="link"><a href="?cmd=file;filenode=#filenode#;file=#file#;style=gitweb">file</a> | <!-- FIXME: <a href="?fd=#filenode|short#;file=#file#;style=gitweb">diff</a> | --> <a href="?cmd=filelog;filenode=#filenode|short#;file=#file#;style=gitweb">revisions</a></td></tr>" |
|
11 | filenodelink = "<tr class="light"><td><a class="list" href="">#file|escape#</a></td><td></td><td class="link"><a href="?cmd=file;filenode=#filenode#;file=#file|urlescape#;style=gitweb">file</a> | <!-- FIXME: <a href="?fd=#filenode|short#;file=#file|urlescape#;style=gitweb">diff</a> | --> <a href="?cmd=filelog;filenode=#filenode|short#;file=#file|urlescape#;style=gitweb">revisions</a></td></tr>" | |
12 | fileellipses = "..." |
|
12 | fileellipses = "..." | |
13 | changelogentry = changelogentry-gitweb.tmpl |
|
13 | changelogentry = changelogentry-gitweb.tmpl | |
14 | searchentry = changelogentry-gitweb.tmpl |
|
14 | searchentry = changelogentry-gitweb.tmpl | |
15 | changeset = changeset-gitweb.tmpl |
|
15 | changeset = changeset-gitweb.tmpl | |
16 | manifest = manifest-gitweb.tmpl |
|
16 | manifest = manifest-gitweb.tmpl | |
17 | manifestdirentry = "<tr class="parity#parity#"><td style="font-family:monospace">drwxr-xr-x</td><td><a href="?mf=#manifest|short#;path=#path#;style=gitweb">#basename#/</a></td><td class="link"><a href="?mf=#manifest|short#;path=#path#;style=gitweb">manifest</a></td></tr>" |
|
17 | manifestdirentry = "<tr class="parity#parity#"><td style="font-family:monospace">drwxr-xr-x</td><td><a href="?mf=#manifest|short#;path=#path|urlescape#;style=gitweb">#basename|escape#/</a></td><td class="link"><a href="?mf=#manifest|short#;path=#path|urlescape#;style=gitweb">manifest</a></td></tr>" | |
18 | manifestfileentry = "<tr class="parity#parity#"><td style="font-family:monospace">#permissions|permissions#</td><td class="list"><a class="list" href="?f=#filenode|short#;file=#file#;style=gitweb">#basename#</a></td><td class="link"><a href="?f=#filenode|short#;file=#file#;style=gitweb">file</a> | <a href="?fl=#filenode|short#;file=#file#;style=gitweb">revisions</a> | <a href="?fa=#filenode|short#;file=#file#;style=gitweb">annotate</a></td></tr>" |
|
18 | manifestfileentry = "<tr class="parity#parity#"><td style="font-family:monospace">#permissions|permissions#</td><td class="list"><a class="list" href="?f=#filenode|short#;file=#file|urlescape#;style=gitweb">#basename|escape#</a></td><td class="link"><a href="?f=#filenode|short#;file=#file|urlescape#;style=gitweb">file</a> | <a href="?fl=#filenode|short#;file=#file|urlescape#;style=gitweb">revisions</a> | <a href="?fa=#filenode|short#;file=#file|urlescape#;style=gitweb">annotate</a></td></tr>" | |
19 | filerevision = filerevision-gitweb.tmpl |
|
19 | filerevision = filerevision-gitweb.tmpl | |
20 | fileannotate = fileannotate-gitweb.tmpl |
|
20 | fileannotate = fileannotate-gitweb.tmpl | |
21 | filelog = filelog-gitweb.tmpl |
|
21 | filelog = filelog-gitweb.tmpl | |
@@ -28,22 +28,22 b' difflineat = "<div class="pre" style="co' | |||||
28 | diffline = "<div class="pre">#line|escape#</div>" |
|
28 | diffline = "<div class="pre">#line|escape#</div>" | |
29 | changelogparent = "<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="?cmd=changeset;node=#node#;style=gitweb">#node|short#</a></td></tr>" |
|
29 | changelogparent = "<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="?cmd=changeset;node=#node#;style=gitweb">#node|short#</a></td></tr>" | |
30 | changesetparent = "<tr><td>parent</td><td style="font-family:monospace"><a class="list" href="?cmd=changeset;node=#node|short#;style=gitweb">#node|short#</a></td></tr>" |
|
30 | changesetparent = "<tr><td>parent</td><td style="font-family:monospace"><a class="list" href="?cmd=changeset;node=#node|short#;style=gitweb">#node|short#</a></td></tr>" | |
31 | filerevparent = "<tr><td class="metatag">parent:</td><td><a href="?cmd=file;file=#file#;filenode=#node#;style=gitweb">#node|short#</a></td></tr>" |
|
31 | filerevparent = "<tr><td class="metatag">parent:</td><td><a href="?cmd=file;file=#file|urlescape#;filenode=#node#;style=gitweb">#node|short#</a></td></tr>" | |
32 | fileannotateparent = "<tr><td class="metatag">parent:</td><td><a href="?cmd=annotate;file=#file#;filenode=#node#;style=gitweb">#node|short#</a></td></tr>" |
|
32 | fileannotateparent = "<tr><td class="metatag">parent:</td><td><a href="?cmd=annotate;file=#file|urlescape#;filenode=#node#;style=gitweb">#node|short#</a></td></tr>" | |
33 | changelogchild = "<tr><th class="child">child #rev#:</th><td class="child"><a href="?cmd=changeset;node=#node#;style=gitweb">#node|short#</a></td></tr>" |
|
33 | changelogchild = "<tr><th class="child">child #rev#:</th><td class="child"><a href="?cmd=changeset;node=#node#;style=gitweb">#node|short#</a></td></tr>" | |
34 | changesetchild = "<tr><td>child</td><td style="font-family:monospace"><a class="list" href="?cmd=changeset;node=#node|short#;style=gitweb">#node|short#</a></td></tr>" |
|
34 | changesetchild = "<tr><td>child</td><td style="font-family:monospace"><a class="list" href="?cmd=changeset;node=#node|short#;style=gitweb">#node|short#</a></td></tr>" | |
35 | filerevchild = "<tr><td class="metatag">child:</td><td><a href="?cmd=file;file=#file#;filenode=#node#;style=gitweb">#node|short#</a></td></tr>" |
|
35 | filerevchild = "<tr><td class="metatag">child:</td><td><a href="?cmd=file;file=#file|urlescape#;filenode=#node#;style=gitweb">#node|short#</a></td></tr>" | |
36 | fileannotatechild = "<tr><td class="metatag">child:</td><td><a href="?cmd=annotate;file=#file#;filenode=#node#;style=gitweb">#node|short#</a></td></tr>" |
|
36 | fileannotatechild = "<tr><td class="metatag">child:</td><td><a href="?cmd=annotate;file=#file|urlescape#;filenode=#node#;style=gitweb">#node|short#</a></td></tr>" | |
37 | tags = tags-gitweb.tmpl |
|
37 | tags = tags-gitweb.tmpl | |
38 | tagentry = "<tr class="parity#parity#"><td><i>#date|age# ago</i></td><td><a class="list" href="?cmd=changeset;node=#node|short#;style=gitweb"><b>#tag#</b></a></td><td class="link"><a href="?cmd=changeset;node=#node|short#;style=gitweb">changeset</a> | <a href="?cmd=changelog;rev=#node|short#;style=gitweb">changelog</a> | <a href="?mf=#tagmanifest|short#;path=/;style=gitweb">manifest</a></td></tr>" |
|
38 | tagentry = "<tr class="parity#parity#"><td><i>#date|age# ago</i></td><td><a class="list" href="?cmd=changeset;node=#node|short#;style=gitweb"><b>#tag|escape#</b></a></td><td class="link"><a href="?cmd=changeset;node=#node|short#;style=gitweb">changeset</a> | <a href="?cmd=changelog;rev=#node|short#;style=gitweb">changelog</a> | <a href="?mf=#tagmanifest|short#;path=/;style=gitweb">manifest</a></td></tr>" | |
39 | diffblock = "#lines#" |
|
39 | diffblock = "#lines#" | |
40 | changelogtag = "<tr><th class="tag">tag:</th><td class="tag">#tag#</td></tr>" |
|
40 | changelogtag = "<tr><th class="tag">tag:</th><td class="tag">#tag|escape#</td></tr>" | |
41 | changesettag = "<tr><td>tag</td><td>#tag#</td></tr>" |
|
41 | changesettag = "<tr><td>tag</td><td>#tag|escape#</td></tr>" | |
42 | filediffparent = "<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="?cmd=changeset;node=#node#;style=gitweb">#node|short#</a></td></tr>" |
|
42 | filediffparent = "<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="?cmd=changeset;node=#node#;style=gitweb">#node|short#</a></td></tr>" | |
43 | filelogparent = "<tr><td align="right">parent #rev#: </td><td><a href="?cmd=file;file=#file#;filenode=#node#;style=gitweb">#node|short#</a></td></tr>" |
|
43 | filelogparent = "<tr><td align="right">parent #rev#: </td><td><a href="?cmd=file;file=#file|urlescape#;filenode=#node#;style=gitweb">#node|short#</a></td></tr>" | |
44 | filediffchild = "<tr><th class="child">child #rev#:</th><td class="child"><a href="?cmd=changeset;node=#node#;style=gitweb">#node|short#</a></td></tr>" |
|
44 | filediffchild = "<tr><th class="child">child #rev#:</th><td class="child"><a href="?cmd=changeset;node=#node#;style=gitweb">#node|short#</a></td></tr>" | |
45 | filelogchild = "<tr><td align="right">child #rev#: </td><td><a href="?cmd=file;file=#file#;filenode=#node#;style=gitweb">#node|short#</a></td></tr>" |
|
45 | filelogchild = "<tr><td align="right">child #rev#: </td><td><a href="?cmd=file;file=#file|urlescape#;filenode=#node#;style=gitweb">#node|short#</a></td></tr>" | |
46 | shortlog = shortlog-gitweb.tmpl |
|
46 | shortlog = shortlog-gitweb.tmpl | |
47 | shortlogentry = "<tr class="parity#parity#"><td><i>#date|age# ago</i></td><td><a class="list" href="?cmd=changeset;node=#node|short#;style=gitweb"><b>#desc|firstline|escape#</b></a></td><td class="link"><a href="?cmd=changeset;node=#node|short#;style=gitweb">changeset</a> | <a href="?cmd=manifest;manifest=#manifest|short#;path=/;style=gitweb">manifest</a></td></tr>" |
|
47 | shortlogentry = "<tr class="parity#parity#"><td><i>#date|age# ago</i></td><td><a class="list" href="?cmd=changeset;node=#node|short#;style=gitweb"><b>#desc|firstline|escape#</b></a></td><td class="link"><a href="?cmd=changeset;node=#node|short#;style=gitweb">changeset</a> | <a href="?cmd=manifest;manifest=#manifest|short#;path=/;style=gitweb">manifest</a></td></tr>" | |
48 | filelogentry = "<tr class="parity#parity#"><td><i>#date|age# ago</i></td><td><a class="list" href="?cmd=changeset;node=#node|short#;style=gitweb"><b>#desc|firstline|escape#</b></a></td><td class="link"><!-- FIXME: <a href="?fd=#node|short#;file=#file#;style=gitweb">diff</a> | --> <a href="?fa=#filenode|short#;file=#file#;style=gitweb">annotate</a></td></tr>" |
|
48 | filelogentry = "<tr class="parity#parity#"><td><i>#date|age# ago</i></td><td><a class="list" href="?cmd=changeset;node=#node|short#;style=gitweb"><b>#desc|firstline|escape#</b></a></td><td class="link"><!-- FIXME: <a href="?fd=#node|short#;file=#file|urlescape#;style=gitweb">diff</a> | --> <a href="?fa=#filenode|short#;file=#file|urlescape#;style=gitweb">annotate</a></td></tr>" | |
49 | archiveentry = " | <a href="?ca=#node|short#;type=#type#">#type#</a> " |
|
49 | archiveentry = " | <a href="?ca=#node|short#;type=#type|urlescape#">#type|escape#</a> " |
@@ -1,15 +1,15 b'' | |||||
1 | header = header-raw.tmpl |
|
1 | header = header-raw.tmpl | |
2 | footer = "" |
|
2 | footer = "" | |
3 | changeset = changeset-raw.tmpl |
|
3 | changeset = changeset-raw.tmpl | |
4 | annotateline = "<tr class="parity#parity#"><td class="annotate"><a href="?cmd=changeset;node=#node#">#author#@#rev#</a></td><td><pre>#line#</pre></td></tr>" |
|
4 | annotateline = "<tr class="parity#parity#"><td class="annotate"><a href="?cmd=changeset;node=#node#">#author#@#rev#</a></td><td><pre>#line|escape#</pre></td></tr>" | |
5 | difflineplus = "#line#" |
|
5 | difflineplus = "#line|escape#" | |
6 | difflineminus = "#line#" |
|
6 | difflineminus = "#line|escape#" | |
7 | difflineat = "#line#" |
|
7 | difflineat = "#line|escape#" | |
8 | diffline = "#line#" |
|
8 | diffline = "#line|escape#" | |
9 | changesetparent = "# parent: #node#" |
|
9 | changesetparent = "# parent: #node#" | |
10 | changesetchild = "# child: #node#" |
|
10 | changesetchild = "# child: #node#" | |
11 | filenodelink = "#file#" |
|
11 | filenodelink = "#file|urlescape#" | |
12 | filerevision = filerevision-raw.tmpl |
|
12 | filerevision = filerevision-raw.tmpl | |
13 | fileline = "#line#" |
|
13 | fileline = "#line|escape#" | |
14 | diffblock = "#lines#" |
|
14 | diffblock = "#lines#" | |
15 | filediff = filediff-raw.tmpl |
|
15 | filediff = filediff-raw.tmpl |
@@ -14,14 +14,14 b' summary | <a href="?cmd=changelog;style=' | |||||
14 |
|
14 | |||
15 | <div class="title"> </div> |
|
15 | <div class="title"> </div> | |
16 | <table cellspacing="0"> |
|
16 | <table cellspacing="0"> | |
17 | <tr><td>description</td><td>#desc#</td></tr> |
|
17 | <tr><td>description</td><td>#desc|escape#</td></tr> | |
18 | <tr><td>owner</td><td>#owner#</td></tr> |
|
18 | <tr><td>owner</td><td>#owner|escape#</td></tr> | |
19 | <!-- <tr><td>last change</td><td>#lastchange|rfc822date#</td></tr> --> |
|
19 | <!-- <tr><td>last change</td><td>#lastchange|rfc822date#</td></tr> --> | |
20 | </table> |
|
20 | </table> | |
21 |
|
21 | |||
22 | <div><a class="title" href="?cmd=changelog;style=gitweb">changes</a></div> |
|
22 | <div><a class="title" href="?cmd=changelog;style=gitweb">changes</a></div> | |
23 | <table cellspacing="0"> |
|
23 | <table cellspacing="0"> | |
24 | #shortlog# |
|
24 | #shortlog|escape# | |
25 | <tr class="light"><td colspan="3"><a class="list" href="?cmd=changelog;style=gitweb">...</a></td></tr> |
|
25 | <tr class="light"><td colspan="3"><a class="list" href="?cmd=changelog;style=gitweb">...</a></td></tr> | |
26 | </table> |
|
26 | </table> | |
27 |
|
27 |
General Comments 0
You need to be logged in to leave comments.
Login now