aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/mercurial.pm
Commit message (Collapse)AuthorAge
* cloak user PII when making commits etc, and let cloaked PII be used in ↵Joey Hess2015-05-14
| | | | | | | | | | | | | | banned_users This was needed due to emailauth, but I've also wrapped all IP address exposure in cloak(), although the function doesn't yet cloak IP addresses. (One IP address I didn't cloak is the one that appears on the password reset email template. That is expected to be the user's own IP address, so ok to show it to them.) Thanks to smcv for the pointer to http://xmlns.com/foaf/spec/#term_mbox_sha1sum
* URI escape filename when generating the diffurl.Joey Hess2012-03-13
| | | | | ikiwiki source files can contain at least one character that needs to be escaped in an url: +
* mercurial: fix date parsing so test suite passesJoey Hess2011-07-30
|
* fix mercurial commit with session but without nicknameJoey Hess2011-07-30
|
* mercurial: Implement rcs_diff. (Daniel Andersson)Joey Hess2011-07-19
|
* mercurial: Make both rcs_getctime and rcs_getmtime fast. (Daniel Andersson)Joey Hess2011-07-19
|
* apply the big mercurial patchJoey Hess2011-07-19
| | | | | | | | * mercurial: openid nicknames are now used when committing. (Daniel Andersson) * mercurial: implement rcs_commit_staged so comments, attachments, etc can be used. (Daniel Andersson) * mercurial: fix viewing of a diff containing non-utf8 changes. (Daniel Andersson)
* Add a second parameter to the rcs_diff hook, and avoid bloating memory ↵Joey Hess2010-12-29
| | | | reading in enormous commits.
* rcs_getctime and rcs_getmtime take relative filenamesJoey Hess2010-06-23
| | | | | | | | | | There was some confusion about whether the filename was relative to srcdir or not. Some test cases, and the bzr plugin assumed it was relative to the srcdir. Most everything else assumed it was absolute. Changed it to relative, for consistency with the rest of the rcs_ functions.
* rcs_commit and rcs_commit_staged api changesJoey Hess2010-06-23
| | | | | | | | | | | Using named parameters for these is overdue. Passing the session in a parameter instead of passing username and IP separately will later allow storing other session info, like username or part of the email. Note that these functions are not part of the exported API, and the prototype change will catch (most) skew, so I am not changing API versions. Any third-party plugins that call them will need updated though.
* API: rcs_commit and rcs_commit_staged are passed a new parameterJoey Hess2010-06-23
| | | | | that may contain the username component of the email address of the user making the commit.
* mercurial: Fix buggy getctime code.Joey Hess2010-06-18
| | | | | | | The file passed to rcs_getctime is already absolute, and it was trying to stick the srcdir on the front. Also, eliminated potentially unsafe shelling.
* --gettime revampJoey Hess2010-04-16
| | | | | | | | * Rename --getctime to --gettime. (The old name still works for backwards compatability.) * --gettime now also looks up last modification time. * Add rcs_getmtime to plugin API; currently only implemented for git.
* Group related plugins into sections in the setup file, and drop unused rcs ↵Joey Hess2010-02-11
| | | | plugins from the setup file.
* fix rcs_getctime to return first, not last, change timeJoey Hess2009-03-20
| | | | | This was being buggy and returning the file's last change time, not its creation time.
* use short names in comittypeJoey Hess2009-01-17
| | | | | | Use mtn for monontone and hg for mercurial. The long names cause ugly formatting in recentchanges, which has CSS that only allows a few characters for the commit type column.
* Coding style change: Remove explcit vim folding markers.Joey Hess2008-12-17
|
* add plugin safe/rebuild info (part 1 of 2)Joey Hess2008-08-03
| | | | too many plugins.. brain exploding..
* show unsafe options (RO) by defaultJoey Hess2008-08-02
| | | | | Small data leak, but only to admins, and I think it's worth it to see the stuff that cannot be configured.
* rcs plugin loading reorgJoey Hess2008-08-01
| | | | | | Move rcs plugin load to loadplugins; move duplicate rcs detection logic out of individual plugins and into loadplugins. Avoids checkconfig failing when run twice.
* add guard against enabling multiple rcs pluginsJoey Hess2008-07-30
|
* avoid clobbering example diffurlJoey Hess2008-07-27
|
* finish with rcs plugin conversionJoey Hess2008-07-26
|
* Version control backends promoted to first-class pluginsJoey Hess2008-07-26