Commit Graph

9644 Commits (0b2791ccc7c56783aceb63fe3bbb1dbf048bedb1)

Author SHA1 Message Date
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 f4a1732b0e Merge commit 'upstream/master' into prv/po 2009-03-09 00:32:10 +01: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
intrigeri cc5be82b8b revert exposing of %backlinks and $backlinks_calculated
This change was introduced in 85f865b5d9 and
c3af3840a2 ; it may be necessary for the meta-po
integration, but the po branch alone is supposed to work without it.

Signed-off-by: intrigeri <intrigeri@boum.org>
2009-03-09 00:16:39 +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 27e7b7ed3c po doc: po4a 0.35 has been released, eventually 2009-03-08 16:12:43 +01:00
intrigeri 5e60e13a20 details 2009-03-08 11:05:47 -04:00
intrigeri 8fed4206cb brought back checkcontent hook full-content compat.
This modification was initially done in editpage, in commit
a3726968bc, but was then lost while merging
upstream/master branch.

Signed-off-by: intrigeri <intrigeri@boum.org>
2009-03-08 16:02:10 +01:00
intrigeri f4ae4c0b09 implemented Joey's solution 2009-03-08 15:50:48 +01:00
intrigeri 1efb182d56 rename: remove duplicates that hook functions may have added to @torename
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-03-08 15:47:50 +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
intrigeri 1bf21d2a37 rename: moved subpages addition to a rename hook
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-03-08 12:52:49 +01:00
intrigeri 8cfe428a28 rename hook: run once per file to be renamed
... as Joey suggested on todo/need_global_renamepage_hook

This hook is applied recursively to returned additional rename
hashes, so that it handles the case where two plugins use the hook:
plugin A would see when plugin B adds a new file to be renamed.

The full set of rename hashes can no longer be changed by hook functions, that
are only allowed to return any additional rename hashes it wants to add.
Rationale: the correct behavior of the recursion would be hard, if not
impossible, to define, if already considered pages were changing on the run.

Signed-off-by: intrigeri <intrigeri@boum.org>
2009-03-08 11:44:00 +01:00
intrigeri ae474d8e14 Merge commit 'upstream/master' into prv/po
Conflicts:

	IkiWiki/Plugin/editpage.pm
	debian/control
	debian/copyright
	doc/todo/need_global_renamepage_hook.mdwn

Signed-off-by: intrigeri <intrigeri@boum.org>
2009-03-08 09:50:27 +01:00