Commit Graph

9422 Commits (69a814c011132bec884c405f3630f73406f74f9d)

Author SHA1 Message Date
Joey Hess a1c8520ce8 inline: Fix urls to feed when feedfile is used on an index page.
It would be better to use urlto() here, but will_render
has not yet been called on the feed files at this point, so
it won't work. (And reorganizing so it can be is tricky.)
2009-03-19 16:01:30 -04:00
Joey Hess 86956b3392 title_natural patch merged 2009-03-19 15:36:31 -04:00
Joey Hess bb258b56b2 avoid crashing if Sort::Naturally is not installed 2009-03-19 15:35:57 -04:00
chrysn 55b83cb7bd implement sort=title_natural for inline
adds a new sorting order, title_natural, that uses Sort::Naturally's
ncmp function to provide better sorting for inlines
2009-03-19 15:31:46 -04:00
Joey Hess 888e67bf4e github error and comment 2009-03-19 14:03:38 -04:00
134.226.112.43 69ca373e75 poll vote (Accept only OpenID for logins) 2009-03-19 06:50:28 -04:00
http://realid.csie.org/adam e8c4f72a24 poll vote (Accept both) 2009-03-18 02:17:30 -04:00
http://realid.csie.org/adam 6736664672 2009-03-18 01:55:10 -04:00
chrysn 35460e3153 new wishlist item, patch included 2009-03-17 21:30:26 +01:00
IanRomanick 5dd0993f64 2009-03-17 04:17:44 -04:00
IanRomanick 05647b5df9 removed 2009-03-17 04:16:13 -04:00
IanRomanick f2958327ec 2009-03-17 04:15:35 -04:00
IanRomanick 57402750bf 2009-03-17 04:13:36 -04:00
Jon Dowland ccf422e990 further thoughts 2009-03-16 11:05:56 +00:00
Joey Hess 287be196b4 add news item for ikiwiki 3.08 2009-03-15 18:25:52 -04:00
Joey Hess 42dddf6a3f releasing version 3.08 2009-03-15 18:24:57 -04:00
Joey Hess 1d9762c57c Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-03-15 17:40:37 -04:00
Joey Hess c176dcde98 Fix bug that caused weird things to appear as page types.
The problem was introduced by the recent noextension patches.
Object autovivification caused junk to get into %htmlize,
and all keys of that showed up as page types.
2009-03-15 17:39:14 -04:00
Jon Dowland 0612e5a603 managing todo lists: useful? 2009-03-15 19:33:16 +00:00
Joey Hess e95cee757a add missing parameters 2009-03-13 16:31:27 -04:00
Joey Hess f10f9e6f73 unknown option wording tweak
Because getopt::long is used in passthrough mode, if a known
option like --wikiname that needs a parameter is specified w/o
the parameter, it will not be processed, and passed on through.
So in this case the "unknown option" message is innaccurate.
Make it slightly better by noting that the problem can be a missing
parameter.
2009-03-13 16:27:24 -04:00
http://people.ee.ethz.ch/~andrmuel/openid/ 5f40c62359 added biometrische-ausweise.ch 2009-03-13 09:00:41 -04:00
intrigeri 12432198a6 formatting 2009-03-11 06:27:41 -04:00
intrigeri 50871cf4bd apache vs. passwordauth: done a bit more research 2009-03-11 06:26:25 -04:00
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