Commit Graph

9344 Commits (7680af864e04896d8d89595880b0999693560fed)

Author SHA1 Message Date
Joey Hess e62b30c321 fixed 2009-03-09 14:30:27 -04:00
Joey Hess f24904b160 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-03-09 14:29:06 -04:00
Joey Hess 4ac0b29531 git: Manually decode git output from utf-8, avoids warning messages on invalidly encoded output. 2009-03-09 14:18:55 -04:00
Joey Hess 7bd0d53644 git: Fix utf-8 encoding of author names.
I guess what's happening here is that since the name
is passed to git via an environment variable, perl's normal
utf-8 IO layer stuff doesn't work. So we have to explicitly
decode the string from perl's internal representation into
utf-8.
2009-03-09 14:01:40 -04:00
Joey Hess 793e9332c3 avoid uninitialized value warnings 2009-03-09 13:52:51 -04:00
mdduck b978a5773e 2009-03-09 13:50:49 -04:00
http://madduck.net/ 0158ab41da actually use utf-8 2009-03-09 11:22:26 -04:00
http://madduck.net/ 7de791ad8e 2009-03-09 11:21:36 -04:00
http://www.cse.unsw.edu.au/~willu/ a948f6d275 Update the javascript - this now turns things on and off based on the type. It still has some display issues. 2009-03-09 08:39:42 -04:00
http://www.cse.unsw.edu.au/~willu/ 200d0fca37 Dump untested updates so that others can have a look (I wont have time for a few weeks). 2009-03-08 19:40:47 -04:00
intrigeri 0978be7aff po: fixed last unaddressed item from Joey's review, please have a look
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-03-09 00:30:19 +01:00
Joey Hess 10872b91af add news item for ikiwiki 3.07 2009-03-08 19:06:38 -04:00
Joey Hess 3520d55361 releasing version 3.07 2009-03-08 19:05:59 -04:00
Joey Hess dd2fa2efb9 When loading a template in scan mode, let preprocess know it only needs to scan.
This makes wikis such as zack's much faster in the scan pass.
In that pass, when a template contains an inline, there is no reason to
process the entire inline and all its pages. I'd forgotten to pass
along the flag to let preprocess() know it was in scan mode, leading to
much unncessary churning.
2009-03-08 18:57:47 -04:00
Joey Hess d3b4c2dbd1 avoid potential infinite loop in smiley expansion
- In 3.05, ikiwiki began expanding templates in scan mode,
  for annoying, expensive, but ultimatly necessary reasons
  of correctness.
- Smiley processing has a bug: It inserts a span for the smiley,
  and then continues searching forward in the content for more,
  starting at $end_of_smiley+1. Which means it searches for smilies
  in the span too! And if it somehow finds one, we get an infinite loop
  here.
- This bug can, probably, only be tickled if a htmllink to
  show the smiley fails, because the smiley file doesn't exist,
  or because ikiwiki doesn't know about it. In that case,
  a link will be inserted to _create_ the missing page,
  and that link will include the smiley inside the <a></a>.
- When a template is expanded in scan mode, and it contains
  an inline, the sanitize hook is run during scan mode,
  which never happened before. That causes the smiley processor
  to run, before ikiwiki is, necessarily, aware that all
  the smiley files exist (depending on scan order). So
  it inserts creation links for them, and triggers the bug.

I've put in the simple fix of jumping forward past the inserted
span, and it does fix the problem. I will need to look in a bit
more detail into why an inline nested inside a template is
fully expanded during the scan pass -- that really shouldn't
be necessary, and it makes things much slower than they need
to be.
2009-03-08 18:49:34 -04:00
Joey Hess 1edad6dca7 fix doc, prefix directives have been default for a while 2009-03-08 17:07:12 -04:00
Joey Hess 1bf100cfde configure wmd to leave text in markdown 2009-03-08 13:11:26 -04:00
Joey Hess 311182a699 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Conflicts:
	doc/todo/mdwn_preview.mdwn
2009-03-08 12:50:24 -04:00
intrigeri 5e60e13a20 details 2009-03-08 11:05:47 -04:00
intrigeri f4ae4c0b09 implemented Joey's solution 2009-03-08 15:50:48 +01:00
http://www.cse.unsw.edu.au/~willu/ ff0ae86945 License grant for my code. And note that I'll look at a more advanced version when I get time. 2009-03-08 10:39:07 -04:00
Joey Hess 1dba400c2c bug 2009-03-07 19:30:01 -05:00
Joey Hess 45129917b2 another thought 2009-03-07 19:26:46 -05:00
Joey Hess 43ebfc342c remove patch, and more comments 2009-03-07 19:23:46 -05:00
Joey Hess 9a82ef32b9 look for wmd/wmd.js
This means that the underlay needs to have a wmd/wmd/wmd.js,
which is a trifle weird, but it isolates all the wmd stuff in a
single wmd subdirectory of the built wiki. The wmd/images creating
a toplevel images directory was particularly bad.
2009-03-07 19:23:38 -05:00
Joey Hess 4e11380c75 update, add some examples 2009-03-07 19:11:34 -05:00
Joey Hess 29d387d2ba wmd stuff 2009-03-07 18:57:06 -05:00
Joey Hess 72dd9a9a04 make wmd comment support comment editing (I think) 2009-03-07 18:54:26 -05:00
Joey Hess 7ca39f49db forgot to add wmd tag here 2009-03-07 18:52:14 -05:00
Joey Hess 329f0991ef wmd copyright? 2009-03-07 18:45:55 -05:00
Joey Hess 08e4472fc4 question 2009-03-07 17:48:17 -05:00
Joey Hess 424b4602c0 note that a wmd plugin has appeared 2009-03-07 14:42:16 -05:00
Joey Hess 904b6b3e94 point at wmd plugin 2009-03-07 14:40:49 -05:00
Joey Hess e6e7e64197 comments 2009-03-07 14:38:48 -05:00
Joey Hess 029cf94493 rebuild not needed
This plugin only affects the page edit, not the compiled wiki.
2009-03-07 14:34:31 -05:00
Joey Hess e7d2da5641 wmd plugin from willu 2009-03-07 14:33:11 -05:00
Joey Hess dc4b6b1a42 Updated French translation (Jean-Luc Coulon). Closes: #518510 2009-03-06 13:36:44 -05:00
http://www.cse.unsw.edu.au/~willu/ 8333b4bbc3 Note another issue with the basic plugin. 2009-03-06 03:47:08 -05:00
http://www.cse.unsw.edu.au/~willu/ cc194fe527 Add patch for WMD plugin. This new plugin adds live preview and text controls to ikiwiki edit pages. 2009-03-06 03:40:50 -05:00
https://launchpad.net/~jelmer de695df72f 2009-03-05 16:16:54 -05:00
Joey Hess 535f70b372 Updated German translation (Kai Wasserbäch). Closes: #518377 2009-03-05 15:44:11 -05:00
http://www.cse.unsw.edu.au/~willu/ b7495e752a Notes that the wikiwyg plugin link is broken, and more. 2009-03-04 17:30:11 -05:00
Joey Hess e6298effd1 response 2009-03-04 13:58:20 -05:00
Joey Hess 6a19dacbd7 that's wikiwyg
close as dup todo
2009-03-04 13:53:34 -05:00
Joey Hess 108ad03cc8 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-03-04 13:51:55 -05:00
http://liw.fi/ 2fde5b4a6a 2009-03-04 10:19:09 -05:00
PaulePanter 2d6bbdcf3f typo and typography 2009-03-04 05:48:18 -05:00
http://sarin.myopenid.com/ 2907bec3e6 2009-03-03 21:52:36 -05:00
Víctor Moral 89bfa1e392 updated spanish translation 2009-03-03 15:08:22 -05:00
http://electropo.mp/ b3be09766b 2009-03-02 18:39:02 -05:00