This extension contains functions for embeding Subversion (SVN) commit logs with automatic links to a bug tracker Related Links: Extension Overview, DekiScript Overview, Extension Demos.
Assembly: mindtouch.deki.services
SID: http://services.mindtouch.com/deki/draft/2008/02/svn
This service requires Deki Wiki 1.9.0 or later.
To enable this extension, follow these steps:
Configuration:
Before the Subversion service can be used, it must be configured.
| Config Key | Description |
| svn-uri | URI to the SVN repository. Example: https://dekiwiki.svn.sourceforge.net/svnroot/dekiwiki |
| username | Optional username for SVN repository |
| password | Optional password for SVN repository |
| path-to-svn | Path to the 'svn' binary on the file system. Default: /usr/bin/svn |
| bugs-uri | Optional URI to a bug tracker with the bug# replaced with '$1'. Example: http://bugs.opengarden.org/view.php?id=$1 |
| svn-revision-uri | Optional URI to a web based SVN revision viewer with the revision# replaced with '$1' . Example: http://dekiwiki.svn.sourceforge.net/...ev&revision=$1 |
Additional Information:
As for every extension, the subversion extension can be added several times, e.g. for different servers. To accomplish this, set the service preference "namespace". If it is set e.g. to "mysvn", the subversion service is being invoked by mysvn.table(...). If all repositories are on the same server, this is not needed, use the parameter "path" (see below) for this.
Functions:
The SVN revision log from a given path. Bug numbers mentioned in the commit messages can be automatically linked to a bug tracking system
Parameters:
| Name | Type | Description |
| path | string | optional. Path within the repository to include |
| range | string | optional. Revision ranges to include. Same syntax as described in 'svn help log' |
| limit | int | optional. Limit the number of revisions returned |
| verbose | bool | optional. Show full log message or just the first line. (Default: false) |
Samples:
| Revision | Date | Author | Message |
|---|---|---|---|
| r9961 | 8/13/2008 6:17:10 PM | maximm | Deki Extension - Subversion * Displayed date now uses the wiki's culture. 4766: SVN service: date format in subversion extension needs to use the wiki's language/culture settings Thanks http://wiki.developer.mindtouch.com/User:demonicus |
| r9748 | 8/1/2008 10:41:58 PM | steveb | Deki (trunk): DekiServices: * updated service-type in service blueprint (passive attribute that's not yet used anyway) |
| r9727 | 7/31/2008 7:11:51 PM | steveb | Deki (trunk): Services/Scripts`: * iframe.xml: new script added * updated all services/scripts to point their help URI to wiki.developer.mindtouch.com (instead of opengarden) |
| r8820 | 5/31/2008 4:07:18 PM | steveb | Deki Wiki (trunk): * redist: updated redistributable files * misc: * updated all occurrences of 'MindTouch Deki Wiki' to 'MindTouch Deki' * extended all copyright notices to 2008 |
| r8763 | 5/29/2008 6:06:42 PM | steveb | Deki Wiki (trunk): * misc: removed an extra space from the default copyright notice Tools: * DekiExt.php: added 'protocol' attribute to <uri> element * GoogleAppEngine: added sample application |
| r8290 | 4/27/2008 10:53:35 PM | steveb | Deki Wiki (trunk): * Misc: fixed xpath expressions * DekiXmlParser: * Xinha adds garbage to 'onclick', 'onblur', etc. attributes; detect it and remove it * only process edit links in main content body * remove 'class' and 'function' attributes on content before sending it to a function as input argument * PageBL: moved content validation methods to DekiScriptLibrary DekiServices: * DekiScriptService: convert script arguments to declared type * SubversionService: DON'T assume a default location for the SVN executable DekiScript: * Misc: added 'Convert()' method to convert from any DekiScriptLiteral to any other (when supported) * DekiScriptAccess: allow xpath expression on XML values * DekiScriptLibrary: * added 'safe' XHTML content definition * added 'web.checkuri' function to check for unsafe URIs * added 'web.checkstyle' function to check for unsafe styles * DekiScriptRuntime: * allow iterating over XML values * remove 'function' attribute on content before sending it to a function as input argument * xhtml-safe.txt, xhtml-unsafe.txt: allow 'function' attribute on 'img', 'ul', 'ol', and 'textarea' elements Tests: * fixed xpath expressions DesktopConnector: * fixed xpath expressions MWConverter-Test: * updated tests |
| r8192 | 4/21/2008 5:13:40 AM | steveb | DekiWiki (trunk): * updated DekiScript binary * MISC: updated all relevant SIDs to new shorter format (e.g. sid://mindtouch.com/2006/11/dekiwiki) (NOTE: old SIDS are preserved for backwards compatibility) * DekiXmlParser: evaluate attributes which have their value enclosed in double-curly braces |
| r7688 | 3/14/2008 8:37:52 PM | maximm | Deki JiraService MantisService SubversionService TracService * Updated div css classes |
| r7680 | 3/14/2008 7:18:55 PM | maximm | Deki SubversionService * Changed to css class DW-table SVN-table for the div * Added class bg1 or bg2 on the <tr> |
| r7662 | 3/12/2008 9:06:27 PM | maximm | Deki SubversionService * Added stoponcopy option. Default is true |
| r7615 | 3/6/2008 11:57:38 PM | maximm | LdapService, AdoDotNetService, SubversionService * LdapService.cs: dont kill the service if unable to contact the ldap server. * SubversionService.cs: tweaked the display of log message and bug fixes * AdoDotNetService.cs: added more verbose method descriptions |
| r7496 | 2/29/2008 12:44:35 AM | maximm | Deki Extensions Trac, Jira, Mantis, Subversion: * Added links to documentation |
| r7397 | 2/25/2008 8:15:49 PM | maximm | Deki extensions: MantisService and SubversionService MantisService: * Refactored to pass in output xdoc to inner functions to avoid Xdoc.Add calls * BuildBugLink now used for table as well as link now. Displaying reporter and handler as the hover-over title SubversionService: * Initial implementation allows "svn log" like output. * Revisions can optionally be linked to a web gui that display revision info (diffs, etc) * Bug numbers in log messages can be linked to a web based bug tracker. Bug prefixes: bug, fixes, bugfix, #123 |
"Server certificate verification failed: certificate issued for a different hostname, issuer is not trusted"
I guess I need a proper SSL certificate.
Would it be too hard to make it configurable? Or if it is, then use some kind of a standard instead of the current format, for example YYYY-MM-DD HH:MM:SS without the AM/PM or something? The current American version is unreadable for anyone who is from anywhere else than US.
However, when I use this subversion extension, the time is 3 hours behind, showing 2:40PM as the commit time. I have changed the timezone settings from the personal preferences to GMT+3. So, is Deki assuming that the server is always at GMT+0 and it's trying to adjust the date wrong or something?
Anyways, could be useful to have a configurable timezone for the Deki itself, as the server time doesn't have to mean that it's the wanted Deki timezone aswell. At least I can find a few instances where it might need to be different from the server's time.