Commit Graph

1518 Commits (1c03cf9ba2aaa4ac6d28eb1d13c0015809fad2c1)

Author SHA1 Message Date
Joey Hess 5cddd8a0a3 typo 2009-10-11 16:04:03 -04:00
Joey Hess 5dba91cdc8 typo 2009-10-11 13:51:23 -04:00
Jogo 22ed3f388b 2009-10-11 04:34:17 -04:00
Jogo 800d165037 2009-10-10 04:22:41 -04:00
Joey Hess 74409f940d add_depends: optimise influence calculation
I made match_* functions whose influences can vary depending on the page
matched set a special "" influence to indicate this.

Then add_depends can try just one page, and if static influences are found,
stop there.
2009-10-09 17:15:40 -04:00
Joey Hess 6f2cc5ac8c pagespec_match_list: change limit to filter 2009-10-09 13:20:41 -04:00
Joey Hess 769b78df07 pagespec_match_list allow additional pagespec limit parameters again 2009-10-09 13:02:10 -04:00
Joey Hess 5e7b2dea84 rename use_pagespec to pagespec_match_list
To avoid breaking plugins, also support the old pagespec_match_list
calling convention, with a deprecation warning.
2009-10-08 23:51:06 -04:00
Joey Hess 32cd5f0b79 inline: switch to use_pagespec
Taking advantage of every single one of its features, of course.
Even had to add one more..
2009-10-08 18:30:50 -04:00
Joey Hess 5e236f5d25 add use_pagespec and deptype functions 2009-10-08 17:53:20 -04:00
Joey Hess 5f9860e65c add type info to influence information 2009-10-07 21:52:37 -04:00
Joey Hess 4002d7c1a4 add influence info to match_*
Also update docs, test suite.
2009-10-07 20:31:13 -04:00
Joey Hess 76746c5fe6 Merge branch 'master' into dependency-types 2009-10-07 20:02:43 -04:00
Joey Hess 4528b95d25 mention that pagespec_match returns an overloaded value 2009-10-07 18:06:49 -04:00
Joey Hess ff2aa982c3 Merge branch 'master' into dependency-types 2009-10-05 16:47:40 -04:00
Joey Hess 786dcf15c4 responses, questions, ideas 2009-10-05 16:47:12 -04:00
http://smcv.pseudorandom.co.uk/ 3a188c047b thoughts about renaming the actual images to .albumimage 2009-10-05 16:08:19 -04:00
Joey Hess f7d04d1067 switch plugins page to use a map instead of an inline
A map just seems a better fit for reference, since it deliniates the
contrib plugins better, and orders better.

It also has the advantage of being less expensive, since the plugins page
does not need to update when eg, the pagecount page changes.

Only downside is, no rss feed of new plugins. Which I know a few people
were subscribed to.
2009-10-05 15:26:15 -04:00
Joey Hess dc6fab3824 syntax 2009-10-05 15:17:36 -04:00
Joey Hess fc864515b8 omit forum and javascript from list 2009-10-05 15:16:14 -04:00
Joey Hess c6bf4228d5 make links dependencies fire if broken links change 2009-10-05 15:01:05 -04:00
Joey Hess be032a7b87 rework dependency types code
Simplify, change default content depends number to 1,
change interface to make more sense.
2009-10-04 20:30:21 -04:00
Joey Hess a8af271e5a document effect of contentless dependencies on sidebar efficiency 2009-10-04 16:28:14 -04:00
Joey Hess fd9d968024 document add_depends dependency type interface 2009-10-03 15:37:57 -04:00
Joey Hess 6e133959bc fix wording here too 2009-10-02 18:47:15 -04:00
Joey Hess 4f9c5896b2 add bug about transitive dependencies 2009-10-02 15:15:23 -04:00
martin f62de29638 documentation seems inaccurate 2009-10-01 08:12:49 -04:00
http://weakish.pigro.net/ 13940c5773 [patch] add an option to determine whether put autoindex pages in repo or not 2009-10-01 05:48:09 -04:00
Joey Hess caa3818eff thoughts 2009-09-30 15:17:03 -04:00
http://smcv.pseudorandom.co.uk/ be47e501c3 reply to potential album user 2009-09-25 14:19:49 -04:00
David Riebenbauer 0b0116cb98 create myself a user page
and link from my signatures so far
2009-09-25 06:37:15 +02:00
brush bac0174b78 installation attachments q's 2009-09-22 18:49:03 -04:00
http://kaizer.se/ 5946a54ec7 see Resolve native reStructuredText links to ikiwiki pages 2009-09-17 11:33:12 -04:00
http://kaizer.se/ 36094d7674 Resolving WikiLinks in rst -- WIP 2009-09-16 23:34:27 -04:00
Amitai Schlair dad25308d2 typo 2009-09-12 01:32:29 -04:00
Joey Hess f1999df705 remove cgi exclusion
Note that a typical use of this plugin is for a static site, w/o cgi
support enabled.
2009-09-12 00:24:57 -04:00
Joey Hess 9042a86f36 update 2009-09-11 18:37:42 -04:00
Joey Hess 5b818c9f2a doc update, add --exclude ikiwiki.cgi to examples 2009-09-11 18:28:35 -04:00
Joey Hess a7d7acc0f7 resp 2009-09-11 17:47:31 -04:00
Amitai Schlair 544cedaa19 response 2009-09-11 17:34:47 -04:00
Joey Hess 412a4dd62a review 2009-09-11 14:44:32 -04:00
Joey Hess e5d9d3cc52 add rcs/cvs 2009-09-10 16:31:58 -04:00
Amitai Schlair 5ee980d77a catch up to genwrapper 2009-09-10 15:17:28 -04:00
Joey Hess 525d4cd037 new hook 2009-09-10 14:06:30 -04:00
Joey Hess 3ebd4e0b45 Add genwrapper hook, that can be used to add code into the C wrapper. 2009-09-10 14:04:46 -04:00
Amitai Schlair d2b57ae20f File::chdir is needed now 2009-09-10 00:59:05 -04:00
Amitai Schlair 689106ad3a automated tests added (and they highlight that the plugin should
probably restore the caller's working directory)
2009-09-09 23:17:15 -04:00
Amitai Schlair b7415543c1 describe current state of wrapper modification 2009-09-09 22:42:47 -04:00
Amitai Schlair 1b4c3fb551 note refactored wrapper tweakulation 2009-09-09 22:36:23 -04:00
Joey Hess 2a99ebf276 underlay: Also allow configuring additional directories to search for template files in. 2009-09-08 17:27:37 -04:00
Joey Hess 1f828d280a update 2009-09-08 14:38:57 -04:00
Joey Hess 6d170066e9 Revert spam
This reverts commit c1c933ca65.
2009-09-08 14:27:51 -04:00
WikiJeanHawkins c1c933ca65 2009-09-08 14:21:49 -04:00
Joey Hess 3813632a8f comment 2009-09-07 13:47:34 -04:00
http://schmonz.livejournal.com/ ca32904720 move apt-get comment here 2009-09-07 12:54:24 -04:00
http://schmonz.livejournal.com/ e953865045 revert previous; with pkgsrc you'd need textproc/p5-Text-CSV, but let's not proliferate that sort of thing here 2009-09-07 12:51:56 -04:00
http://hendry.iki.fi/ 8691bc006e Can't markup [[!table Error: ]] 2009-09-07 05:53:50 -04:00
Amitai Schlair 127ed4d6c7 no more IPC::Cmd or String::ShellQuote, huzzah 2009-09-04 15:08:48 -05:00
bremner f582457ea0 2009-09-03 08:18:27 -04:00
Joey Hess 6fe3c6bb5f ruther review 2009-09-02 16:10:57 -04:00
Joey Hess 9e195018a2 remove ^P's 2009-08-31 19:30:31 -04:00
martin 9492bf3158 fixed link 2009-08-31 11:03:20 -04:00
Joey Hess a86de9b1f6 update for Text::MultiMarkdown split 2009-08-30 19:17:45 -04:00
Joey Hess d678147410 Revert "po: do not inject custom bestlink function when po_link_to eq default"
This reverts commit cdc3576c8d.

Conflicts:

	IkiWiki/Plugin/po.pm

This change broke the test suite and is not strictly necessary.
2009-08-30 14:50:43 -04:00
Amitai Schlair 58cef9c3cf describe the wrapper change 2009-08-30 02:35:38 -04:00
Amitai Schlair 558873131f also need File::ReadBackwards now 2009-08-30 01:31:15 -04:00
Amitai Schlair 0721363a7a bug fixed, to-dos done 2009-08-30 01:26:57 -04:00
Amitai Schlair 6962b34597 This is in my git branch now, no need for a copy of the code here. 2009-08-29 22:17:40 -04:00
intrigeri ef69cb34c3 doc/po(test suite failures): follow-up
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-08-29 17:25:51 +02:00
Joey Hess 94727e7fcf merged 2009-08-28 19:49:22 -04:00
Joey Hess 2ba54735ce po test suite failure 2009-08-28 18:34:44 -04:00
intrigeri 6be8746125 doc/po: report problem with link() + propose patch
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-08-28 16:38:13 +02:00
intrigeri e3b5d70137 doc/po: bug report + patch proposal wrt. inline's post form's rootpage
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-08-28 15:08:02 +02:00
Joey Hess cc6000f0b9 both changes picked 2009-08-28 07:34:09 -04:00
intrigeri 8064acf87f doc/po: reported bug + patches wrt. created page type
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-08-28 13:20:33 +02:00
Joey Hess 18e4fa6539 fix merged 2009-08-27 15:54:44 -04:00
Joey Hess f8ad1bfec4 fix cherry-picked 2009-08-27 15:50:43 -04:00
Joey Hess ffcd97ce52 change cherry-picked; move to discussion 2009-08-27 15:49:12 -04:00
intrigeri eaa782a185 doc/po(self-links): follow-ups
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-08-27 20:38:36 +02:00
intrigeri 6bc3206af1 doc/po: follow-up 2009-08-27 20:21:16 +02:00
intrigeri 7d35d17f95 doc/po: follow-up
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-08-27 20:01:24 +02:00
Joey Hess 5e515b493c followups 2009-08-27 13:10:31 -04:00
Joey Hess e1acb707db cherry-picked fix for recentchanges links 2009-08-27 12:57:04 -04:00
Joey Hess 18fc71f033 unsure if this patch is enough 2009-08-27 12:56:24 -04:00
Joey Hess 4ce93af516 translation of directives 2009-08-26 13:09:43 -04:00
intrigeri d5a04b2de9 po: more TODO items comments and patches 2009-08-26 02:00:48 -04:00
intrigeri 7bd7e78e4a po: commenting some TODO items 2009-08-26 01:41:55 -04:00
intrigeri 145d89a6fc po: maybe fixed self links 2009-08-26 01:05:07 -04:00
Joey Hess 43db8269a0 response 2009-08-24 15:47:24 -04:00
http://schmonz.livejournal.com/ 8d504e6b3d response 2009-08-24 04:20:31 -04:00
http://www.cse.unsw.edu.au/~willu/ a27861c512 Comment on another possible solution to the use case. 2009-08-24 03:13:25 -04:00
Amitai Schlair 80ca685385 why I needed this, in case it's useful to someone else 2009-08-23 23:27:53 -04:00
Amitai Schlair 18a7b65094 response 2009-08-23 18:15:56 -04:00
Amitai Schlair 0d5a8bc3f0 new rsync plugin 2009-08-23 15:41:29 -04:00
Joey Hess 59527de767 uh oh 2009-08-22 14:29:18 -04:00
Amitai Schlair 2acc71849d no more wrapper wrapper 2009-08-22 03:52:45 -04:00
Amitai Schlair 7849d675a3 response 2009-08-22 02:02:34 -04:00
Joey Hess 73e562edc8 response 2009-08-21 16:09:26 -04:00
Amitai Schlair 24d43bea07 response 2009-08-20 16:10:56 -04:00
Joey Hess f712ffa66d another issue 2009-08-19 14:12:37 -04:00
Joey Hess db041b8854 minor problem 2009-08-16 13:53:44 -04:00
Amitai Schlair b5576b5560 Life is simpler on a git branch. 2009-08-16 11:58:28 -04:00
PaulePanter 216f5b5b20 Add sentence to clarify how to get feeds for the RecentChanges page. 2009-08-16 08:34:57 -04:00
Joey Hess 4ff3e2a540 po: Better fix for missing underlay translation problem.
If a page is taken from the underlay, and one of the specified languages
does not have po files in the underlay, it would create a broken link
to the translated version of the page for that language.

With this change, there's no broken link.
2009-08-15 22:18:05 -04:00
Joey Hess 0e4f67842a update 2009-08-15 21:00:27 -04:00
Joey Hess 7ea1f96926 apache config details 2009-08-15 19:39:51 -04:00
Joey Hess 7d901b9a54 another problem.. 2009-08-15 19:16:22 -04:00
Joey Hess 43e895ec78 another problem 2009-08-15 17:29:05 -04:00
Joey Hess 1b63a0e4fa another problem 2009-08-15 16:15:36 -04:00
Joey Hess d13c07dec1 noticed a problem 2009-08-15 15:20:46 -04:00
Joey Hess 3401dc6110 fix name 2009-08-13 18:12:28 -04:00
Joey Hess 8ba32abaf2 review: question 2009-08-13 17:55:01 -04:00
Joey Hess 7712bb662a Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-08-10 16:05:50 -04:00
Joey Hess 83480665c2 po: Fix copy of po file from underlay when editing
When first editing a page that was in the underlay, avoid losing
the translation by copying the po file over from the underlay.
2009-08-10 15:59:32 -04:00
http://schmonz.livejournal.com/ af29201c3c the post-commit wrapper wrapper also avoids cvs deadlock 2009-08-09 22:09:42 -04:00
http://schmonz.livejournal.com/ 792026fe97 add install and usage directions, to-do list 2009-08-09 22:06:02 -04:00
http://certifi.ca/lunix c430c5ebd0 add my response 2009-08-09 01:34:11 -04:00
http://certifi.ca/lunix 4e387bc6b6 reponse about highlight plugin 2009-08-08 21:11:03 -04:00
Joey Hess a0ace62664 point out where to get highlight perl bindings 2009-08-08 20:27:50 -04:00
http://certifi.ca/lunix c86842711f centos question 2009-08-08 19:19:32 -04:00
bremner 3c1ebd20f8 ok, thanks. I'll probably do the same. 2009-08-08 17:19:07 -04:00
Joey Hess eb5e6b2bb6 response 2009-08-08 17:01:10 -04:00
bremner 255835660b question (for joeyh?) about IkiWiki::refresh() 2009-08-08 16:48:00 -04:00
Joey Hess c0c1e05dab finish merging getsource 2009-08-08 12:32:39 -04:00
Joey Hess 79312b2754 Merge commit 'smcv/ready/getsource'
Conflicts:
	debian/changelog
2009-08-08 12:22:10 -04:00
http://bob-bernstein.myopenid.com/ 69d26eb573 2009-08-07 01:09:03 -04:00
http://bob-bernstein.myopenid.com/ c7ad7482f4 2009-08-06 22:20:15 -04:00
Jogo 4a331d8afc 2009-08-06 13:07:22 -04:00
Jogo 0b2100727b 2009-08-06 09:42:56 -04:00
Jogo 34e5f5eba3 2009-08-06 08:43:45 -04:00
http://schmonz.livejournal.com/ 9468c553e1 maybe prevent trying to create .../CVS/whatever.mdwn 2009-08-03 03:23:42 -04:00
http://schmonz.livejournal.com/ cf3ab205e8 note Perl module dependencies 2009-08-03 02:56:42 -04:00
http://smcv.pseudorandom.co.uk/ 9def21fcf7 remove reference to needing a branch which was merged already 2009-08-01 07:46:35 -04:00
Simon McVittie 3f39e69b13 Document the getsource plugin 2009-08-01 12:31:34 +01:00
http://schmonz.livejournal.com/ 216a349bb9 specify where in IkiWiki.pm CVS metadata is avoided (wiki_file_prune_regexps) 2009-07-31 18:37:58 -04:00
http://schmonz.livejournal.com/ faa29aaaf3 add working CVS plugin 2009-07-31 18:17:53 -04:00
http://smcv.pseudorandom.co.uk/ 612505d76b Self-review... 2009-07-31 17:18:20 -04:00
http://smcv.pseudorandom.co.uk/ ba1c355353 I now realise that one of trail's modes is a bit flawed... 2009-07-31 17:14:50 -04:00
http://schmonz.livejournal.com/ d9fa13504d add missing backquote 2009-07-29 22:38:51 -04:00
http://schmonz.livejournal.com/ 6f88e3631e fix typo 2009-07-26 05:40:58 -04:00
Simon McVittie f237ea1b9a Add [[!template id=gitbranch]] for things available from git, and use it
The uses are somewhat biased towards my own branches, because I know
where to find them and what they do :-) but I've tagged some other
people's as well.
2009-07-25 19:55:22 +01:00
Joey Hess 62dd02aa79 oddity 2009-07-21 13:21:16 +02:00
Joey Hess d1b316dc05 add a warning 2009-07-21 13:07:49 +02:00
Jon Dowland c28c7846b4 Merge branch 'master' of git://git.ikiwiki.info 2009-07-21 11:45:29 +01:00
Jon Dowland ddd55037d4 some thoughts in the wake of a spam attack 2009-07-21 11:44:52 +01:00
Joey Hess 8effd48854 one issue with basewiki translations 2009-07-21 12:43:48 +02:00
Joey Hess eca2dbe67f po: Add support for mo files in underlays
In order to support translated basewiki and other underlays, we need
support for mo files in underlays.

The code did not allow this before, because if a mo file was in an
underlay, then it might try to update it, and its pot, and write to the
underlay, which is guaranteed to either fail due to permissions, or be
undesirable.

To fix, my approach is to just detect if a mo or pot file that is about to
be updated is in an underlay, and skip updating it. This seems to work
well:

- If the mo is out of date in the underlay, it won't get updated, but this
  would probably be due to a problem in the underlay, or more likely,
  the wiki is being rebuilt and so it *thinks* the mo is out of date,
  but it's really not (and it would be a waste of time to rebuild it
  anyway).
- If a page from the basewiki is edited, it is saved to the srcdir,
  which causes generation of an updated mo and pot also in the srcdir;
  the underlay stops being used for that page, and everything seems
  to work.

Note that I am not including an underlay search directory for pot files.
They *seem* to be unnecessary for the underlay, since the mo files
in there never need to be updated.
2009-07-21 11:31:51 +02:00
harishcm 4954ffb558 2009-07-21 00:33:23 -04:00
http://smcv.pseudorandom.co.uk/ f900e84416 link to existing bug 2009-07-20 11:16:45 -04:00
harishcm 3fef1fbd0d Issue with ul and div tag closure when returning empty map 2009-07-20 10:40:29 -04:00