Commit Graph

6288 Commits (02ec92c6cb0cfb86fb9a0b65addbd8c0934869c7)

Author SHA1 Message Date
Joey Hess 6cea3a0b03 response 2008-09-25 19:08:21 -04:00
Joey Hess 6535c61746 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-09-25 18:27:10 -04:00
Joey Hess 965f7310fe git: Fix handling of utf-8 filenames in recentchanges.
Seems that the problem is that once the \nnn coming from git is converted
to a single character, decode_utf8 decides that this is a standalone
character, and not part of a multibyte utf-8 sequence, and so does nothing.
I tried playing with the utf-8 flag, but that didn't work. Instead, use
decode("utf8"), which doesn't have the same qualms, and successfully
decodes the octets into a utf-8 character.

Rant:

Think for a minute about fact that any and every program that parses git-log,
or git-show, etc output to figure out what files were in a commit needs to
contain this snippet of code, to convert from git-log's wacky output to a
regular character set:

if ($file =~ m/^"(.*)"$/) {
	($file=$1) =~ s/\\([0-7]{1,3})/chr(oct($1))/eg;
}

(And it's only that "simple" if you don't care about filenames with
embedded \n or \t or other control characters.)

Does that strike anyone else as putting the parsing and conversion in the
wrong place (ie, in gitweb, ikiwiki, etc, etc)? Doesn't anyone who actually
uses git with utf-8 filenames get a bit pissed off at seeing \xxx\xxx
instead of the utf-8 in git-commit and other output?
2008-09-25 18:26:42 -04:00
test1 d6d3f3a36b 2008-09-25 18:17:05 -04:00
Joey Hess a4215312d0 response 2008-09-25 17:11:29 -04:00
Joey Hess e1ba137317 attachment: Add admin() pagespec to test if the uploading user is a wiki admin. 2008-09-25 16:49:30 -04:00
http://ptecza.myopenid.com/ 0720a6f5fb * Response to response to response ;) 2008-09-25 04:42:05 -04:00
Joey Hess 9e55aa7f17 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-09-24 21:29:29 -04:00
Joey Hess 3f35e2abbe document silent=yes parameter. 2008-09-24 21:28:59 -04:00
http://www.cse.unsw.edu.au/~willu/ 8e68780b96 Response to response 2008-09-24 21:03:08 -04:00
Joey Hess 9b4c4835c1 add news item for ikiwiki 2.65 2008-09-24 18:49:05 -04:00
http://ptecza.myopenid.com/ 8b762f8868 * Response 2008-09-24 04:52:26 -04:00
http://www.cse.unsw.edu.au/~willu/ 3c65e5dc93 Add alternate patch 2008-09-24 00:45:03 -04:00
http://www.cse.unsw.edu.au/~willu/ 6036a954a0 Comments 2008-09-23 22:39:21 -04:00
http://www.cse.unsw.edu.au/~willu/ a6769bf663 Response 2008-09-23 22:13:07 -04:00
http://ptecza.myopenid.com/ 9a7a83caa1 * Ping 2008-09-23 18:01:41 -04:00
Joey Hess dfa9556480 responses 2008-09-23 16:17:09 -04:00
Joey Hess dfe55e8956 Add keepextension parameter to htmlize hook. (Willu) 2008-09-23 13:39:21 -04:00
Joey Hess 9cbcda14ac Print a debug message if a page has multiple source files. 2008-09-23 13:32:41 -04:00
Joey Hess 7280d84c1c merged 2008-09-23 12:47:36 -04:00
http://ptecza.myopenid.com/ 338f0fde60 * Response 2008-09-23 08:34:43 -04:00
chrysn 88beb46def bug report on funny characters in the name 2008-09-23 04:58:35 -04:00
http://smcv.pseudorandom.co.uk/ ba1b9f8562 bug report with patch 2008-09-22 18:36:26 -04:00
http://smcv.pseudorandom.co.uk/ b44ca17f93 2008-09-22 18:29:48 -04:00
http://smcv.pseudorandom.co.uk/ c4fde75f46 Reference patches to beautify redirection URLs 2008-09-22 18:28:39 -04:00
http://smcv.pseudorandom.co.uk/ 2587137775 interesting, I could use this for photo galleries 2008-09-22 18:11:18 -04:00
chrysn b42fdcbaa3 added wishlist item with work-in-progress plugin 2008-09-22 13:12:38 -04:00
http://dmarti.myopenid.com/ cd5e1e76f6 2008-09-22 13:10:05 -04:00
Blanko 3816df7d18 Adding two CSS / themes 2008-09-22 10:31:21 -04:00
http://smcv.pseudorandom.co.uk/ 8ff9430a7d Reference and describe my implementation 2008-09-21 18:12:08 -04:00
http://www.cse.unsw.edu.au/~willu/ 2f3b93a55a Add second, related, patch. 2008-09-21 06:04:37 -04:00
http://www.cse.unsw.edu.au/~willu/ 85a0c9ad8d Update patch: Add /s to end of regexps to handle multi-line pagespecs. Simplify match_link(). Simplify pagespec_match(). 2008-09-21 05:27:54 -04:00
http://www.cse.unsw.edu.au/~willu/ 57682e72d9 Add patch 2008-09-21 04:30:28 -04:00
http://www.cse.unsw.edu.au/~willu/ a32f0a64fe Add patch 2008-09-21 02:20:05 -04:00
http://www.cse.unsw.edu.au/~willu/ 1cdc1e9d84 Add patch 2008-09-21 00:58:55 -04:00
http://www.cse.unsw.edu.au/~willu/ cc4f0aa335 Link to new bug and old todo 2008-09-21 00:50:38 -04:00
http://www.cse.unsw.edu.au/~willu/ e255e8ecbf Add a new bug when using source highlighting 2008-09-21 00:49:11 -04:00
Joey Hess bd9686c19a close 2008-09-20 23:06:03 -04:00
Joey Hess c0d7c60b9f Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-09-20 20:06:54 -04:00
http://www.cse.unsw.edu.au/~willu/ f08189c7fa Revert change now that listdirectives is enabled 2008-09-20 17:11:12 -04:00
Joey Hess 6088ad861c revert colon part of change 2008-09-20 16:21:04 -04:00
Joey Hess a6fc3b411f edittemplate patch from Willu
* edittemplate: Default new page file type to the same type as the template.
  (willu)
* edittemplate: Add "silent" parameter. (Willu)
* edittemplate: Link to template, to allow creating it. (Willu)
2008-09-20 16:19:09 -04:00
Joey Hess 66c589fa81 response 2008-09-20 13:57:56 -04:00
http://www.cse.unsw.edu.au/~willu/ d8ed0007e6 Links for various features 2008-09-20 06:58:21 -04:00
http://www.cse.unsw.edu.au/~willu/ d0e7cc409b Update to use edittemplate rather than patch. Add justification. 2008-09-19 22:35:44 -04:00
http://www.cse.unsw.edu.au/~willu/ c9d4540117 mark done. 2008-09-19 22:23:11 -04:00
http://www.cse.unsw.edu.au/~willu/ b1946cb8ec Add link to edittemplate 2008-09-19 22:22:02 -04:00
http://www.cse.unsw.edu.au/~willu/ 3e69e6c8b6 Yet another patch 2008-09-19 22:17:28 -04:00
http://www.cse.unsw.edu.au/~willu/ cf9336a7af response 2008-09-19 16:55:58 -04:00
http://schmonz.livejournal.com/ 72261774d2 2008-09-19 14:14:44 -04:00
Joey Hess fde2682548 response 2008-09-19 14:11:28 -04:00
http://schmonz.livejournal.com/ bb630febdb probably fine maybe? 2008-09-19 14:06:55 -04:00
Joey Hess 07df0ddea9 response 2008-09-19 13:59:18 -04:00
http://schmonz.livejournal.com/ 07693b60f4 response 2008-09-19 13:48:25 -04:00
Joey Hess 87ece1837d response 2008-09-19 13:15:59 -04:00
Joey Hess 343117daf2 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-09-19 13:12:38 -04:00
Joey Hess f22313b111 response 2008-09-19 13:10:44 -04:00
Joey Hess 779c5214f3 progress: Display an error if the progress cannot be parsed, and allow the percent parameter to only optionally end with "%". 2008-09-19 13:09:50 -04:00
Joey Hess cc3b946c8f response 2008-09-19 13:00:58 -04:00
Joey Hess 89c965e79e already present 2008-09-19 12:59:21 -04:00
Joey Hess 424362dc38 wishlist 2008-09-19 12:56:44 -04:00
http://schmonz.livejournal.com/ 4bbc7fbdc2 new problem 2008-09-19 12:56:40 -04:00
Joey Hess b96f068831 question 2008-09-19 12:56:24 -04:00
http://schmonz.livejournal.com/ 5e7ebb7d24 2008-09-19 12:36:26 -04:00
http://ptecza.myopenid.com/ b203b58f48 * Addition 2008-09-19 10:13:55 -04:00
http://ptecza.myopenid.com/ f5b0ea73b5 * Response 2008-09-19 09:48:56 -04:00
AlexandreDupas 72b2cba709 Adding a deprecated tag for plugins? 2008-09-19 09:24:07 -04:00
http://www.cse.unsw.edu.au/~willu/ 68531e1239 Response 2008-09-19 08:28:38 -04:00
http://www.cse.unsw.edu.au/~willu/ 17733ed06a Response and question 2008-09-19 08:20:28 -04:00
http://www.cse.unsw.edu.au/~willu/ 2ad0296611 Add updated bug tracking example. 2008-09-19 08:10:09 -04:00
tschwinge fa6b4efc94 Sign. 2008-09-19 07:09:08 -04:00
tschwinge 8bab13dbf9 Suggest to use already existing in-house means instead of a patch. 2008-09-19 07:08:07 -04:00
http://ptecza.myopenid.com/ 72b8c09843 * More clear about my upgrade 2008-09-19 06:00:29 -04:00
http://ptecza.myopenid.com/ 538168d869 * No progress 2008-09-19 05:43:10 -04:00
http://www.cse.unsw.edu.au/~willu/ 53b2f15510 Update patch 2008-09-19 01:50:35 -04:00
http://www.cse.unsw.edu.au/~willu/ ec15e15983 Add patch 2008-09-19 01:36:52 -04:00
http://www.cse.unsw.edu.au/~willu/ a07acf4b4d Add TODO 2008-09-19 00:09:26 -04:00
http://www.cse.unsw.edu.au/~willu/ ca6bd275f7 Add TODO 2008-09-19 00:02:08 -04:00
http://www.cse.unsw.edu.au/~willu/ dc8a7dbfc9 New TODO 2008-09-18 23:29:32 -04:00
http://www.cse.unsw.edu.au/~willu/ b4216c5a09 Er, and actually make it work... 2008-09-18 21:54:40 -04:00
http://www.cse.unsw.edu.au/~willu/ 1861190e21 Include a list of all directives if we don't have a list of currently enabled directives 2008-09-18 21:52:38 -04:00
http://smcv.pseudorandom.co.uk/ edab887e8a Demote existing heading so the precedence makes sense 2008-09-18 11:24:53 -04:00
http://smcv.pseudorandom.co.uk/ 0b3368cb6b Make it a bit clearer what's going on by adding some headings 2008-09-18 11:23:21 -04:00
http://smcv.pseudorandom.co.uk/ 5e093d13aa Mention that I've started a different implementation 2008-09-18 11:21:00 -04:00
http://www.cse.unsw.edu.au/~willu/ 6d22987b4e Update patch. 2008-09-18 08:58:56 -04:00
http://schmonz.livejournal.com/ db2178d5ae yup yup 2008-09-17 22:46:15 -04:00
Joey Hess c940cabee5 response 2008-09-17 18:20:51 -04:00
http://schmonz.livejournal.com/ 39fc9a37da not quite there yet 2008-09-17 16:37:03 -04:00
Joey Hess 6a90f5cb3f Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-09-17 15:57:42 -04:00
Joey Hess 1cb4154bc8 aggregate: Support atom feeds with only a summary element, and no content elements. 2008-09-17 15:56:58 -04:00
http://schmonz.livejournal.com/ 6ca4038f37 add basic websetup support 2008-09-17 15:52:35 -04:00
http://schmonz.livejournal.com/ 0ca6aef1e9 2008-09-17 15:01:18 -04:00
http://schmonz.livejournal.com/ 0205a78dba response to response 2008-09-17 14:52:50 -04:00
Joey Hess da7c6eb1b4 editdiff: Broken since 2.62 due to wrong syntax, now fixed. 2008-09-17 14:34:02 -04:00
Joey Hess b540b263de aggregate: Allow expirecount to work on the first pass. (expireage still needs to wait for the pages to be rendered though) 2008-09-17 14:27:31 -04:00
Joey Hess fa4f735ad7 response 2008-09-17 13:49:03 -04:00
Joey Hess 8c6d363eb6 response 2008-09-17 13:45:57 -04:00
http://schmonz.livejournal.com/ 2c2f2b0096 not seeing the Edit button, help? 2008-09-17 12:07:17 -04:00
http://schmonz.livejournal.com/ 16504524c9 incomplete aggregation (no bodies) 2008-09-17 12:00:37 -04:00
http://dmarti.myopenid.com/ 196d600adf 2008-09-16 21:18:24 -04:00
http://thewordnerd.info/ 65120e433d 2008-09-16 08:19:41 -04:00
WillDioneda 25a9066133 2008-09-16 02:28:33 -04:00
WillDioneda a7ec4582da 2008-09-16 02:15:27 -04:00
http://josephturian.blogspot.com/ 17af48adca 2008-09-15 23:07:19 -04:00
http://josephturian.blogspot.com/ 0254bbb5e8 2008-09-15 23:06:04 -04:00
Joey Hess 293c69ae95 user error 2008-09-15 17:38:25 -04:00
Joey Hess 7ad8c467c6 close 2008-09-15 17:38:25 -04:00
AlexandreDupas 07d7ec1955 typo 2008-09-15 11:32:36 -04:00
AlexandreDupas d1a9e6b6e8 add link on lighttpd configuration with the apache one 2008-09-15 11:31:46 -04:00
AlexandreDupas 2986f8f3c6 Tips on configuring lighttpd to enable ikiwiki.cgi 2008-09-15 11:29:57 -04:00
intrigeri 06f13e5551 2008-09-15 10:36:00 -04:00
bremner f1722d75ac hopefully answer Peter's question 2008-09-15 08:42:47 -04:00
bremner 25b17aa1c0 2008-09-15 08:39:12 -04:00
Joey Hess 93ebd04e29 add news item for ikiwiki 2.64 2008-09-14 17:16:06 -04:00
Joey Hess 591bfd69ea fix links 2008-09-14 17:05:28 -04:00
Joey Hess c8f1fe835e fix links 2008-09-14 17:03:34 -04:00
Joey Hess e6d6a3d4eb fix link 2008-09-14 17:02:45 -04:00
Joey Hess 02ec8b2338 fix link 2008-09-14 17:01:57 -04:00
Joey Hess f555778069 fix links 2008-09-14 17:01:05 -04:00
pesco 974a8d0dff add combined/extended darcs plugin 2008-09-14 14:09:57 -04:00
Joey Hess ee94407891 rootpage is not a pagespec
So ./posts won't be interpreted right. Just "posts" should do, I think.
2008-09-14 13:50:34 -04:00
Joey Hess 1e4c9e6733 cannot reproduce 2008-09-14 13:43:27 -04:00
Joey Hess 3d67c4b9af rm 2008-09-14 12:44:13 -04:00
http://www.cse.unsw.edu.au/~willu/ 8ad716d92c Add another trial approach for structured data 2008-09-14 07:04:55 -04:00
http://www.cse.unsw.edu.au/~willu/ eee22b3c51 preliminary plugin 2008-09-14 01:43:51 -04:00
tumble 6e7943a2e7 2008-09-13 10:27:05 -04:00
http://madduck.net/ c984a572c8 new bug about parsing recentchanges diffs 2008-09-13 08:29:55 -04:00
bremner 834489a56a share my fumblings in calling IkiWiki::Setup 2008-09-13 08:28:52 -04:00
Joey Hess 97b71834bb fix IkiWiki::Setup::load docs 2008-09-12 21:20:34 -04:00
Joey Hess f1e29d04a6 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2008-09-12 21:19:35 -04:00
bremner ec6cd6fff8 more difficulties with IkiWiki::Setup::load 2008-09-12 21:09:50 -04:00
Joey Hess a7f91dfd2c update 2008-09-12 16:21:00 -04:00
Joey Hess 0bad1ad9ac reorder 2008-09-12 16:12:37 -04:00
Joey Hess 2ec6db95d2 clarify 2008-09-12 15:00:16 -04:00
bremner 739d929348 change name of repo 2008-09-12 10:58:28 -04:00
bremner 9cf779de2f update repo name 2008-09-12 10:50:39 -04:00
bremner 70c8007650 question about filter hook 2008-09-12 10:38:56 -04:00
http://dmarti.myopenid.com/ 7c4b6060cb 2008-09-12 08:56:25 -04:00
http://dmarti.myopenid.com/ 2b55cbd308 2008-09-12 08:54:16 -04:00
http://dmarti.myopenid.com/ 568deafab6 2008-09-12 08:50:13 -04:00
http://www.cse.unsw.edu.au/~willu/ ead3c9caa4 Reword slightly 2008-09-11 23:18:23 -04:00
http://www.cse.unsw.edu.au/~willu/ 3452763d2c Mark done. 2008-09-11 23:13:57 -04:00
http://www.cse.unsw.edu.au/~willu/ 66fc3ec38f Add link between related TODOs. Mark as done. 2008-09-11 23:09:40 -04:00
http://www.cse.unsw.edu.au/~willu/ 0513a37f02 Note that this is almost done. Just need to add listdirectives to goodstuff. 2008-09-11 23:04:09 -04:00
http://www.cse.unsw.edu.au/~willu/ fc2a0ba230 Fix typo 2008-09-11 23:02:02 -04:00
http://thewordnerd.myopenid.com/ 25629d7621 2008-09-11 20:26:56 -04:00
Joey Hess a0636fd5f8 two more links to blog 2008-09-11 20:13:57 -04:00
Joey Hess 9152042aea fix cpan links 2008-09-11 19:40:41 -04:00
Joey Hess 135628f6d4 move inline docs to ikiwiki/directive/inline
ikiwiki/blog will be going away
2008-09-11 19:39:35 -04:00
Joey Hess 8a3d15141c remove dead link 2008-09-11 19:38:18 -04:00
Joey Hess e22a18e82f fix tag 2008-09-11 19:37:23 -04:00
Joey Hess b50fc63208 fix link 2008-09-11 19:37:00 -04:00
Joey Hess ad7f5febf3 fix link 2008-09-11 19:36:35 -04:00
Joey Hess 17e742a6eb move inline documentation from blog to directive/inline 2008-09-11 19:23:14 -04:00
Joey Hess 5fa5b137fd fix link text on links to plugins 2008-09-11 19:17:31 -04:00
Joey Hess d7b389b820 update 2008-09-11 19:08:37 -04:00
Joey Hess 96acc32173 fix broken link in basewiki 2008-09-11 18:56:11 -04:00
Joey Hess 1d650e7810 wording
Specifically, places that refer to "plugin" when they're really talking
about a directive.
2008-09-11 18:51:23 -04:00
Joey Hess bc7381c4f9 listdirectives: Enable use of the directives underlay. 2008-09-11 18:46:32 -04:00
Joey Hess 9921a4a8a1 Move the directive documentation into its own underlay, separate from basewiki, since it's sorta large compared to the rest of basewiki. 2008-09-11 18:41:26 -04:00
Joey Hess 5e4767a594 misc minor changes 2008-09-11 18:29:07 -04:00
Joey Hess eb92d09360 squash redundant text
A lot of text was copies from templates to directive/template.
Remove most of it and have each page link to the other.
2008-09-11 18:23:32 -04:00
Joey Hess 15c768c1c0 reword after reorg
There was a duplicated paragraph, an example on the wrong page, and some
rewording needed after will's reorg.
2008-09-11 18:14:26 -04:00
Joey Hess 701720198f move demo back to plugin page 2008-09-11 18:00:25 -04:00
Joey Hess d48e55c3d9 move back demo and add example 2008-09-11 17:53:21 -04:00
Joey Hess aa37d64d6a move demo back to plugin and add example 2008-09-11 17:51:27 -04:00
Joey Hess 798034ad46 re-add demo, was lost in will's changes 2008-09-11 17:44:46 -04:00
Joey Hess bb9e397c08 move example 2008-09-11 17:41:33 -04:00
Joey Hess 5409da80df move example back 2008-09-11 17:31:26 -04:00
Joey Hess 1b55d78794 move example back to plugin 2008-09-11 17:29:08 -04:00
Joey Hess c3d77f9ce9 reorg from will's changes
The info about the cron job was lost (!), as was a paragraph about what
pages the calendar links to.

The CSS docs seems to fit better in the plugin page than the directive
page, moved it back.
2008-09-11 17:21:14 -04:00
Joey Hess 01485d9074 move demo back to plugin page
We don't want expensive demos in the directives pages. Add an example of
its use instead.

Also, some minor rewording.
2008-09-11 17:17:10 -04:00
Joey Hess 7e6fa968c7 reword 2008-09-11 17:14:32 -04:00
Joey Hess f33af231d2 remove special case for shortcuts
If shortcuts are enabled, the shortcut directive will appear on the list,
and I think that's good enough.
2008-09-11 17:08:26 -04:00
William Uther c69a7f7585 patch plugin documentation to refer to directive pages 2008-09-11 17:05:51 -04:00
Joey Hess 595b035915 thought 2008-09-11 16:15:22 -04:00
Joey Hess 0933fde58c reword 2008-09-11 15:56:34 -04:00
Joey Hess e12daf3d98 updates, document using git post-merge hook since it's available now 2008-09-11 15:52:34 -04:00
Joey Hess 7df02fe9ff response 2008-09-11 15:31:38 -04:00
Joey Hess 1fbd0ba699 response 2008-09-11 15:20:45 -04:00
Joey Hess 09efddfba3 response 2008-09-11 15:18:17 -04:00
http://www.cse.unsw.edu.au/~willu/ fb4a4e8633 Thoughts on structured data 2008-09-11 08:27:47 -04:00
http://www.cse.unsw.edu.au/~willu/ 91bb11721c Thoughts on ACLs 2008-09-11 07:53:07 -04:00
jpritikin d02411bac0 2008-09-11 07:13:45 -04:00
jpritikin cf3ef66c63 2008-09-11 07:09:17 -04:00
http://ptecza.myopenid.com/ fed0740703 2008-09-11 04:03:00 -04:00
Joey Hess 20ad20a87b response 2008-09-10 16:47:19 -04:00
jpritikin 62df83b57c 2008-09-10 12:53:29 -04:00
PaulePanter 5a99a5db96 new topic in forum 2008-09-10 06:45:58 -04:00
Joey Hess e44d829efe plans 2008-09-09 16:13:58 -04:00
Joey Hess d9d783c4bc goodstuff update
* goodstuff: Remove otl plugin from the bundle since it needs a significant
  external dependency and is not commonly used. If you use otl, make sure
  you explicitly enable it now.
* goodstuff: Add more, progress, and table plugins to the bundle.
2008-09-09 16:11:16 -04:00
Joey Hess 5d53fab853 img: Support sizes like 200x. Closes: #475149 2008-09-09 15:20:06 -04:00
Joey Hess 7a680431ed Add allow_symlinks_before_srcdir to config so websetup doesn't eat it. 2008-09-09 14:50:37 -04:00
Joey Hess 6f46cc3b31 progress: New plugin to generate progress bars (willu) 2008-09-09 14:44:58 -04:00
jpritikin 848d0d0a3b 2008-09-09 14:27:47 -04:00
http://josephturian.blogspot.com/ c46ad96fb8 2008-09-09 14:01:48 -04:00
Joey Hess 2b53de66a0 ddate: Stop clobbering timeformat when not enabled. 2008-09-08 19:40:23 -04:00
http://smcv.pseudorandom.co.uk/ f50622f136 amusing collision between ddate and websetup 2008-09-08 18:31:35 -04:00
JoshTriplett 944ab58598 Add details on field pagespecs. 2008-09-08 16:47:40 -04:00
Joey Hess 94bd69c9b6 add news item for ikiwiki 2.63 2008-09-08 12:31:15 -04:00