[Apache Bloodhound] New user registration: toto
New user registration for user toto -- Apache Bloodhound https://issues.apache.org/bloodhound/ The Apache Bloodhound issue tracker
Re: [Apache Bloodhound] #695: Add support for the CommitTicketUpdater component
#695: Add support for the CommitTicketUpdater component --+--- Reporter: bsmithers| Owner: Type: enhancement | Status: review Priority: major| Milestone: Component: trac core|Version: 0.7.0 Resolution: | Keywords: vcs hooks --+--- Comment (by olemis): Note: We could propose for backporting into Trac the changes submitted in both [attachment:t695/t695_r1545950_twill_write_html.diff] as well as the portions of [attachment:t695_r1534486_commit_ticket_update.tests.func.diff] extending the signature of functional test env's `svn_*` methods. -- Ticket URL: https://issues.apache.org/bloodhound/ticket/695#comment:9 Apache Bloodhound https://issues.apache.org/bloodhound/ The Apache Bloodhound issue tracker
svn commit: r1551371 - in /bloodhound/trunk/bloodhound_theme/bhtheme: templates/bh_changeset.html theme.py
Author: rjollos Date: Mon Dec 16 22:03:29 2013 New Revision: 1551371 URL: http://svn.apache.org/r1551371 Log: 0.8dev: Copied `changeset.html` to `bh_changeset.html`, and added it to the template map. Added: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_changeset.html (with props) Modified: bloodhound/trunk/bloodhound_theme/bhtheme/theme.py Added: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_changeset.html URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_changeset.html?rev=1551371view=auto == --- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_changeset.html (added) +++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_changeset.html Mon Dec 16 22:03:29 2013 @@ -0,0 +1,219 @@ +!DOCTYPE html +PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN +http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd; +html xmlns=http://www.w3.org/1999/xhtml; + xmlns:py=http://genshi.edgewall.org/; + xmlns:i18n=http://genshi.edgewall.org/i18n; + xmlns:xi=http://www.w3.org/2001/XInclude; + xi:include href=layout.html / + head +title$title/title +script type=text/javascript + jQuery(document).ready(function($) { +$(.trac-toggledeleted).show().click(function() { + $(this).siblings().find(.trac-deleted).toggle(); + return false; +}).click(); +$(#content).find(li.entry h2 a).parent().addAnchor(_(Link to this diff)); + }); +/script + /head + + body +div id=content class=changeset + div id=title py:choose= py:with= + cset_href = href.changeset(new_rev, reponame); + old_cset_href = href.changeset(old_rev, reponame); + log_href = href.log(reponame, new_path, rev=new_rev, stop_rev=old_rev); + new_href = href.browser(reponame, new_path, rev=new_rev); + old_href = href.browser(reponame, old_path, rev=old_rev); + old_drev = display_rev(old_rev); + new_drev = display_rev(new_rev); + +py:when test=reponame + py:choose +h1 py:when=changeset and restricted i18n:msg=new_rev, reponame, new_path + Changeset a title=Show full changeset href=$cset_href$new_drev/a in $reponame + for a title=Show entry in browser href=$new_href$new_path/a +/h1 +h1 py:when=not changeset and restricted i18n:msg=new_path, old_rev, new_rev, reponame + Changes in a title=Show entry in browser href=$new_href$new_path/a + a title=Show revision log href=$log_href[$old_drev:$new_drev]/a in $reponame +/h1 +h1 py:when=not changeset and not restricted i18n:msg=reponame, old_path, old_rev, new_path, new_rev + Changes in $reponame + from a title=Show entry in browser href=$old_href$old_path/a + at a title=Show full changeset href=$old_cset_hrefr$old_drev/a + to a title=Show entry in browser href=$new_href$new_path/a + at a title=Show full changeset href=$cset_hrefr$new_drev/a +/h1 +h1 py:otherwise= i18n:msg=new_rev, reponame + Changeset a py:strip=not annotated href=$cset_href$new_drev/a in $reponame +/h1 + /py:choose +/py:when +py:otherwise + py:choose +h1 py:when=changeset and restricted i18n:msg=new_rev, new_path + Changeset a title=Show full changeset href=$cset_href$new_drev/a + for a title=Show entry in browser href=$new_href$new_path/a +/h1 +h1 py:when=not changeset and restricted i18n:msg=new_path, old_rev, new_rev + Changes in a title=Show entry in browser href=$new_href$new_path/a + a title=Show revision log href=$log_href[$old_drev:$new_drev]/a +/h1 +h1 py:when=not changeset and not restricted i18n:msg=old_path, old_rev, new_path, new_rev + Changes + from a title=Show entry in browser href=$old_href$old_path/a + at a title=Show full changeset href=$old_cset_hrefr$old_drev/a + to a title=Show entry in browser href=$new_href$new_path/a + at a title=Show full changeset href=$cset_hrefr$new_drev/a +/h1 +h1 py:otherwise= i18n:msg=new_rev + Changeset a py:strip=not annotated href=$cset_href$new_drev/a +/h1 + /py:choose +/py:otherwise + /div + + form py:if=not xhr and (has_diffs or diff.options.ignoreblanklines or diff.options.ignorecase or +diff.options.ignorewhitespace) +id=prefs action= +div + py:if test=not changeset +input type=hidden name=old_path value=${'/' + pathjoin(reponame, old_path)} / +input
svn commit: r1551372 - /bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_changeset.html
Author: rjollos Date: Mon Dec 16 22:03:59 2013 New Revision: 1551372 URL: http://svn.apache.org/r1551372 Log: 0.8dev: Add some basic layout to the changeset page. Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_changeset.html Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_changeset.html URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_changeset.html?rev=1551372r1=1551371r2=1551372view=diff == --- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_changeset.html (original) +++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_changeset.html Mon Dec 16 22:03:59 2013 @@ -20,8 +20,8 @@ /head body -div id=content class=changeset - div id=title py:choose= py:with= +div id=content class=changeset row + div id=title class=span12 py:choose= py:with= cset_href = href.changeset(new_rev, reponame); old_cset_href = href.changeset(old_rev, reponame); log_href = href.log(reponame, new_path, rev=new_rev, stop_rev=old_rev); @@ -78,7 +78,7 @@ form py:if=not xhr and (has_diffs or diff.options.ignoreblanklines or diff.options.ignorecase or diff.options.ignorewhitespace) -id=prefs action= +id=prefs class=span12 action= div py:if test=not changeset input type=hidden name=old_path value=${'/' + pathjoin(reponame, old_path)} / @@ -131,69 +131,71 @@ /py:with /py:def - dl id=overview -py:if test=changeset - dt class=property timeTimestamp:/dt - dd class=time py:choose=datetime.now(utc) - changeset.date lt; timedelta(0, 3600) - ${format_datetime(changeset.date)} - py:when test=True(less than one hour ago)/py:when - py:otherwisei18n:msg params=age(${dateinfo(changeset.date)} ago)/i18n:msg/py:otherwise - /dd - dt class=property authorAuthor:/dt - dd class=author${authorinfo(changeset.author)}/dd - py:for each=prop in properties py:choose= -py:when test=prop.rendered - dt py:attrs=prop.rendered.name_attributes py:content=prop.rendered.name / - dd py:attrs=prop.rendered.content_attributes py:content=prop.rendered.content / -/py:when -py:otherwise - dt class=property$prop.name:/dt - dd$prop.value/dd -/py:otherwise - /py:for - dt class=property messageMessage:/dt - dd class=message searchable py:choose= xml:space=preserve -py:when test=not len(changeset.message.strip()) -nbsp; -/py:when -py:when test=wiki_format_messages - ${wiki_to_html(context, changeset.message, escape_newlines=True)} -/py:when -py:otherwisepre${changeset.message}/pre/py:otherwise + div class=span12 +dl id=overview + py:if test=changeset +dt class=property timeTimstamp:/dt +dd class=time py:choose=datetime.now(utc) - changeset.date lt; timedelta(0, 3600) + ${format_datetime(changeset.date)} + py:when test=True(less than one hour ago)/py:when + py:otherwisei18n:msg params=age(${dateinfo(changeset.date)} ago)/i18n:msg/py:otherwise +/dd +dt class=property authorAuthor:/dt +dd class=author${authorinfo(changeset.author)}/dd +py:for each=prop in properties py:choose= + py:when test=prop.rendered +dt py:attrs=prop.rendered.name_attributes py:content=prop.rendered.name / +dd py:attrs=prop.rendered.content_attributes py:content=prop.rendered.content / + /py:when + py:otherwise +dt class=property$prop.name:/dt +dd$prop.value/dd + /py:otherwise +/py:for +dt class=property messageMessage:/dt +dd class=message searchable py:choose= xml:space=preserve + py:when test=not len(changeset.message.strip()) + nbsp; + /py:when + py:when test=wiki_format_messages +${wiki_to_html(context, changeset.message, escape_newlines=True)} + /py:when + py:otherwisepre${changeset.message}/pre/py:otherwise +/dd + /py:if + py:if test=location +dt class=property locationLocation:/dt +dd class=searchablea href=${href.browser(reponame, location, rev=new_rev)}$location/a/dd + /py:if + dt class=property files +${ngettext('File:', 'Files:', num=len(files)) if files else _('(No files)')} + /dt + dd class=files +div class=legend id=file-legend py:if=filestats +