Commit Graph

18587 Commits (c0a69a7fc0013733ed4cde148e2413ced515b289)

Author SHA1 Message Date
Simon McVittie 26d62b386e edittemplate: use unambiguous RFC 3339 datestamps
These take into account the timezone offset (and convert it to UTC+0000)
rather than being in an unspecified timezone.
2014-09-01 09:01:07 +01:00
Simon McVittie d4b116d3bf Indicate how the UUID is likely to be used 2014-09-01 08:59:13 +01:00
Simon McVittie 6806ddfdff Only provide time, not formatted_time, to edittemplate templates
I'm not sure what the use-case is for formatted_time, and chrysn
pointed out that for display in HTML, [[!date "<TMPL_VAR time>"]]
would be nicer.
2014-09-01 08:58:12 +01:00
Jonathon Anderson 9adee0a222 Provide the current time to edittemplate.
The `time` variable contains a fixed-format time, guaranteed suitable
for parsing by timedate.

The `formatted_time` variable contains the same time formatted by
IkiWiki::formattime.
2014-09-01 08:54:37 +01:00
Simon McVittie eb87dd177a Use Linux uuid facility instead of an external library if possible 2014-09-01 08:54:37 +01:00
Simon McVittie 4a11dc4d16 edittemplate: only generate a UUID on-demand
If the template doesn't use <TMPL_VAR UUID> there's no point in
incurring any cost.
2014-09-01 08:54:37 +01:00
Jonathon Anderson 7aa10a2952 Provide a UUID in edittemplate templates.
I want to make GUIDs for my RSS feeds that don't change when I move
pages around.  To that end, I've used UUID::Tiny to generate a
version 4 (random) UUID that is presented in a `uuid` variable in
the template.

At that point, you can do something like this:

    [[!meta guid="urn:uuid:<TMPL_VAR uuid>"]]
2014-09-01 08:54:37 +01:00
smcv 18441e8ee0 apply one of my own suggestions 2014-09-01 03:52:02 -04:00
Simon McVittie d55d06ea88 use readfile() instead of reinventing it
This avoids potential action-at-a-distance from locally redefining $/
but never reaching the end of the redefinition's scope.
2014-09-01 08:40:54 +01:00
Joey Hess d5f5313925 add news item for ikiwiki 3.20140831 2014-08-31 14:21:36 -07:00
Joey Hess 6057107d71 update 2014-08-31 14:19:17 -07:00
Joey Hess 230749ad15 prep release 2014-08-31 14:17:49 -07:00
https://www.google.com/accounts/o8/id?id=AItOawmfcr1X7TXwuCju7vCBG6vii455SX1Qxro 9fa4bfea45 Added a comment 2014-08-30 13:53:56 -04:00
Mesar Hameed 1b18e412d3 Updated personal page with link to new ikiwiki instance. 2014-08-30 18:49:24 +01:00
Joey Hess 40d6ccbadb Make --no-gettime work in initial build. Closes: #755075 2014-08-28 19:08:09 -07:00
Amitai Schlair 1c89ba2995 xref my mandoc plugin from this wishlist item 2014-08-24 20:05:00 -04:00
Amitai Schlair 312547a5ee update pkgsrc and MacPorts status (the usual) 2014-08-24 15:19:08 -04:00
demo 0e26ab2574 test ~~~~ 2014-08-21 16:18:17 -04:00
Amitai Schlair ebf5437ba5 note reverted spam 2014-08-19 22:10:39 -04:00
Amitai Schlair 9091d62b07 revert last two commits (both spam) 2014-08-19 22:00:46 -04:00
https://pypi.python.org/id/tlevine 104c6061ff aoe 2014-08-19 12:31:12 -04:00
https://www.google.com/accounts/o8/id?id=AItOawnO6NxsiqDMNHCMugqNKPwCWmTAQ7v_2Fs e3376ce0c2 Added a comment: Why can not access with proxy 2014-08-19 05:55:11 -04:00
chrysn 2008740ecc note about implementation 2014-08-15 18:58:58 -04:00
Joey Hess e48dae48b0 add news item for ikiwiki 3.20140815 2014-08-15 13:20:58 -04:00
Joey Hess ff3c38fa2b rename so linitian can find the unminified versions 2014-08-15 13:11:32 -04:00
Joey Hess 174efbfa9c typo 2014-08-15 13:05:59 -04:00
Joey Hess 29f9c2b5ba add build deps needed by some tests in the test suite 2014-08-15 13:02:14 -04:00
Joey Hess 9ade0db518 prep release 2014-08-15 12:58:36 -04:00
Joey Hess e1c686467f close 2014-08-15 12:58:07 -04:00
Joey Hess a05eca4545 Merge remote-tracking branch 'bremner/master' 2014-08-15 12:54:30 -04:00
Christopher Baines be392bc060 Respond to smcv on the album discussion 2014-08-10 16:29:27 +01:00
bremner 8fa04f56fc 2014-08-09 15:42:04 -04:00
chrysn c9872afd9c comment about legality of whitespace in urls and %20 2014-08-08 11:06:02 -04:00
bremner 004f177c61 2014-08-06 22:03:10 -04:00
David Bremner adbc9cb8d6 Plugins::highlight: replace use of langdefdir with searchFile
In recent versions of highlight there can be more than one langdefdir.
This patch fixes the ensuing hilarity when the user adds a single
highlight lang definition and highlight.pm expects all definitions to
be in the same place.
2014-08-06 22:29:25 -03:00
David Bremner a55a20f5f8 cope with missing getConfDir in 3.18+ of highlight.
Unfortunately we have to try a couple things since the API changed
between 3.9 and 3.18
2014-08-06 22:28:32 -03:00
162.212.57.52 18977ae3c7 poll vote (Accept only OpenID for logins) 2014-07-31 03:59:50 -04:00
Jonathan Dowland e70d46051d no auto-merge that branch; bad patch 2014-07-28 21:47:40 +01:00
Jonathan Dowland 46dda48fe7 response: wiki_file_chars 2014-07-28 14:17:28 +01:00
Jonathan Dowland 5c0d692e36 remove accident C&P of another item into this page! 2014-07-28 14:15:15 +01:00
Jonathan Dowland 4f8c1e4ef4 new feature request: remove (and rename) in action list (initial patches) 2014-07-28 14:13:19 +01:00
https://pypi.python.org/id/tlevine 5b000cda7e 2014-07-27 12:10:22 -04:00
Jonathan Dowland 3f1b471e54 response 2014-07-24 16:00:34 +01:00
smcv 534797d719 syntax seems weird, thoughts on an alternative 2014-07-23 15:40:08 -04:00
smcv 93ecef2167 doc/git.mdwn calls this remote "jon" 2014-07-23 15:13:28 -04:00
Jonathan Dowland fd458422b1 document gitbranch where patch is 2014-07-23 16:09:55 +01:00
http://jmtd.net/ 00a8ae09cc support multi-row table headers 2014-07-23 11:07:14 -04:00
smcv c017a190dd 2014-07-21 16:20:01 -04:00
smcv 425f22e0f2 Added a comment 2014-07-21 16:16:16 -04:00
smcv 1d6fb7e913 Added a comment 2014-07-21 16:15:14 -04:00