Commit Graph

417 Commits (e496920e51ae9f0ecfbad5799634a5064193dcdb)

Author SHA1 Message Date
Joey Hess 741c33576e create translated underlays in mdwn format
These are for use by wikis where the primary language is not English.
On such a wiki, it makes sense to use an underlay has the source for pages
in the native language.
2009-07-20 06:23:33 +02:00
Jonas Smedegaard 031b880ad9 Add initial danish underlay translation 2009-07-20 00:44:42 +02:00
Joey Hess 2f2a721043 reorder 2009-07-19 17:58:26 +02:00
Joey Hess 6d18bdd65a commit for jonas 2009-07-19 16:53:50 +02:00
Joey Hess 8f971999c6 releasing version 3.14159 2009-07-16 14:44:17 -04:00
Joey Hess 8891e3d0a4 releasing version 3.1415 2009-07-07 16:35:02 -04:00
Joey Hess 7cba8bd375 Updated French debconf templates translation. Closes: #535103 2009-06-29 14:51:49 -04:00
Víctor Moral 4f4de892f3 updated spanish translation 2009-06-14 17:03:26 -04:00
Joey Hess 6ead2573e9 releasing version 3.141 2009-06-13 14:40:36 -04:00
Joey Hess dd15cc426f Updated French translation. Closes: #532654 2009-06-10 13:58:59 -04:00
Joey Hess 27624f0456 update po files 2009-06-04 13:24:45 -04:00
Joey Hess 52dc080ed1 Danish translation update. Closes: #530877 2009-05-28 11:06:03 -04:00
Víctor Moral 65c95d2508 updated spanish translation 2009-05-25 12:25:45 -04:00
Joey Hess 1367a73fdb releasing version 3.12 2009-05-06 13:13:54 -04:00
Joey Hess 45c8b951a1 Updated Danish translation from Jonas Smedegaard. Closes: #525751 2009-04-27 13:54:48 -04:00
Víctor Moral a18c61c0bf upated spanish translation 2009-04-27 10:59:43 -04:00
Joey Hess 527d178c12 comments: Add link to comment post form to allow user to sign in if they wish to, if the configuration makes signin optional for commenting. 2009-04-23 14:56:10 -04:00
Joey Hess 748aa7af77 pagespec error/failure distinction and error display by inline
* Add IkiWiki::ErrorReason objects, and modify pagespecs to return
  them in cases where they fail to match due to a configuration or syntax
  error.
* inline: Display a handy error message if the inline cannot display any
  pages due to such an error.

This is perhaps somewhat incomplete, as other users of pagespecs do not
display the error, and will eventually need similar modifications to inline.
I should probably factor out a pagespec_match_all function and make it throw
ErrorReasons.
2009-04-23 14:07:28 -04:00
Víctor Moral e88ef0362c updated spanish translation 2009-04-22 12:27:22 -04:00
Joey Hess 4cf70291bc remove unnecessary variable 2009-04-04 19:04:02 -04:00
Joey Hess ca32dd31de heh 2009-04-04 18:24:04 -04:00
Joey Hess 7df2399c19 releasing version 3.09 2009-04-04 15:03:00 -04:00
Joey Hess 4538747649 Updated French translation (Jean-Luc Coulon). Closes: #521072 2009-03-24 15:52:37 -04:00
Joey Hess 42dddf6a3f releasing version 3.08 2009-03-15 18:24:57 -04:00
Joey Hess 3520d55361 releasing version 3.07 2009-03-08 19:05:59 -04:00
Joey Hess dc4b6b1a42 Updated French translation (Jean-Luc Coulon). Closes: #518510 2009-03-06 13:36:44 -05:00
Joey Hess 535f70b372 Updated German translation (Kai Wasserbäch). Closes: #518377 2009-03-05 15:44:11 -05:00
Víctor Moral 89bfa1e392 updated spanish translation 2009-03-03 15:08:22 -05:00
Joey Hess 8c26a1dd8b releasing version 3.06 2009-03-01 15:11:11 -05:00
Joey Hess 8682daad58 Setup automator: Prompt for password twice. Closes: #516973 2009-02-24 16:35:33 -05:00
Joey Hess bf5dfa8a68 Updated German translation (Kai Wasserbäch). Closes: #516770 2009-02-23 13:44:32 -05:00
Víctor Moral d48dc0ea67 updated spanish translation 2009-02-16 15:45:48 -05:00
Joey Hess 384c267e73 releasing version 3.04 2009-02-15 18:25:18 -05:00
Joey Hess 40cb4aa5c0 updated de.po 2009-02-12 12:27:38 -05:00
Joey Hess 3403ba08da Updated German translation (Kai Wasserbäch). Closes: #514251 2009-02-05 12:47:58 -05:00
Víctor Moral 9c519bd74e - Update spanish translation. 2009-01-30 13:05:35 -05:00
Víctor Moral d79b8f809a Updated spanish translation 2009-01-19 14:01:47 -05:00
Joey Hess a94318f61c releasing version 3.02 2009-01-17 18:27:05 -05:00
Joey Hess 4ce73f2d88 table: Find links in external files in scan pass. 2009-01-06 15:36:32 -05:00
Joey Hess eadb078e4c releasing version 3.01 2009-01-05 19:04:03 -05:00
Joey Hess 47fc59c584 French translation update from Philippe Batailler. Closes: #510216 2008-12-30 13:38:27 -05:00
Joey Hess 17b2afe721 Merge branch 'master' into next
Conflicts:

	debian/changelog
	po/ikiwiki.pot
2008-12-28 15:12:11 -05:00
Joey Hess ec14786c90 releasing version 2.72 2008-12-28 15:05:05 -05:00
Joey Hess 25879952b1 typo 2008-12-26 21:45:12 -05:00
Joey Hess 1c918a4ec6 response 2008-12-20 18:14:49 -05:00
Joey Hess 0b002b79b7 update 2008-12-19 17:26:41 -05:00
Víctor Moral 2c06f5f275 updated spanish translation 2008-12-19 12:45:36 -05:00
Joey Hess b67632cdcd inline: Support feedfile option to change the filename of the feed generated. 2008-12-11 15:01:26 -05:00
Joey Hess c9646ac23c German translation update from Kai Wasserbäch. Closes: #507056 2008-11-28 08:52:56 -08:00
Joey Hess a2a63a096b Spanish translation update from Victor Moral. 1997-08-14 07:20:02 -04:00
Joey Hess a493752a4d French translation update from Philippe Batailler. Closes: #506250 2008-11-19 17:30:21 -05:00
Joey Hess ecd4f0ee55 make unlockwiki drop the cgilock
This is necessary so that things that fork to the background,
like pinger, and inline ping, don't block other cgis from running.

Note that websetup also calls unlockwiki, before refreshing / rebuilding
the wiki. It makes perfect sense for that not to block other cgis.
2008-11-11 20:48:02 -05:00
Joey Hess d1b22b2524 lockwiki changes
* Stop busy-waiting in lockwiki, as this could delay ikiwiki from waking up
  for up to one second. The bailout code is no longer needed.
* Remove support for unused optional wait parameter from lockwiki.
2008-11-11 15:54:52 -05:00
Joey Hess fb89bfd26b document wikistatedir, though it's still internal 2008-11-07 12:23:30 -05:00
Joey Hess 11d377af81 txt: Do not encode quotes when filtering the txt, as that broke later parsing of any directives on the page. 2008-11-06 20:49:18 -05:00
Joey Hess 2e00af6096 releasing version 2.68 2008-11-03 16:42:06 -05:00
Joey Hess bb841f94f4 format: New plugin, allows embedding differntly formatted text inside a page (ie, otl inside a mdwn page, or syntax highlighted code inside a page). 2008-10-31 16:42:20 -04:00
Joey Hess 3b8740ebee response 2008-10-29 18:06:00 -04:00
Joey Hess 8530e827b0 git: Allow [[sha1_commit]] to be used in the diffurl, to support cgit. 2008-10-27 14:45:54 -04:00
Joey Hess d3d3999410 do no-op post_commit test in wrapper
This speeds up web commits by 1/4th of a second or so, since perl does
not have to start up for the post commit hook.

perl's locking is completly FuBar, since it's impossible to tell what perl
flock() really does, and thus difficult to write code in other languages
that interoperates with perl's locking. (Let alone interoperating with
existing fcntl locking from perl...)

In this particular case, I think I was able to find a way to avoid the
insanity, mostly. The C code does a true flock(2), and if perl is using an
incompatable lock method that does not use the same locking primative at
the kernel level, then the C code's test will fail, and it will go ahead
and run the perl code. Then the perl code's test will test the right thing.

On Debian, at least lately, perl's flock() does a true flock(2), so the
optimisation does work.
2008-10-26 15:13:04 -04:00
Joey Hess 9fc126ada6 Updated Danish translation from Jonas Smedegaard. Closes: #503117 2008-10-22 17:05:23 -04:00
Joey Hess 479d65faa0 Updated Spanish translation from the ever vigilant Victor Moral. 2008-10-22 12:33:28 -04:00
Joey Hess e75818572f function injection overhaul
Add an inject function, that can be used by plugins that want to replace
one of ikiwiki's functions with their own version. (This is a scary thing
that grubs through the symbol table, and replaces all exported occurances
of a function with the injected version.)

external: RPC functions can be injected to replace exported functions.

Removed the stupid displaytime hook, and use injection instead.
2008-10-21 17:57:19 -04:00
Joey Hess fd9393ef85 add displaytime hook
Need to use a hook because an exported function cannot be reliably
overridden. The replacement verstion was actually only affecting plugins
loaded after it.

formattime doesn't need a hook, since there's no reason to export it.
2008-10-19 20:12:37 -04:00
Joey Hess 2b569f99d9 fix relativedate timezone inclusion
The machine parseable date needs to include a timezone.

Also, simplified the interface for date display.
2008-10-19 19:21:44 -04:00
Joey Hess ac8eb2844f Updated French translation. Closes: #502694 2008-10-19 12:59:35 -04:00
Joey Hess 594243d615 update 2008-10-17 21:59:27 -04:00
Joey Hess 1a86717284 response 2008-10-17 21:02:12 -04:00
Joey Hess 7390a7a072 relativedate: New javascript-alicious plugin that makes all dates display relative, in a very nice way, if I say so myself. 2008-10-17 20:47:32 -04:00
Joey Hess 79b376f991 Add an underlay for javascript, and add ikiwiki.js containing some utility code.
* Add an underlay for javascript, and add ikiwiki.js containing some utility
  code.
* toggle: Stop embedding the full toggle code on each page using it, and
  move it to toggle.js in the javascript underlay.
2008-10-17 20:28:18 -04:00
Joey Hess de65a62501 releasing version 2.67 2008-10-17 13:17:31 -04:00
Joey Hess d3ca495e61 lockedit: Support specifying which users (and IP addresses) a page is locked for. This supports most of the ACL type things users have been wanting to be done. Closes: #443346 (It does not control who can read a page, but that's out of scope for ikiwiki.) 2008-10-08 17:47:38 -04:00
Joey Hess 781760bfee Updated Spanish translation from Victor Moral. 2008-10-07 11:51:52 -04:00
Joey Hess 836a522c81 releasing version 2.66 2008-10-05 19:24:38 -04:00
Joey Hess 49992eb2ce Updated French translation. Closes: #500929 2008-10-02 14:03:04 -04:00
Joey Hess b5bc0e812d don't say rebuilding wiki when refreshing
If run w/o --refresh, it should still say "refreshing wiki", if there's no
setup file specifed.
2008-09-30 15:40:08 -04:00
Joey Hess 0ca14589f3 close 2008-09-30 12:58:17 -04:00
Joey Hess bb4211e326 avoid unnecessarily rebuilding pages with complex conditionals
I noticed that ikiwiki/formatting was beilg rebuilt when any page changed.
This turned out to be because it contained a complex conditional
"enabled(foo) or enabled(bar)", and the conditional plugin did not notice
that this consisted only of enabled() tests, and copied it unchanged into
add_depends. Thus, the page's dependencies were satisfied by any page
change.

The fix is to beef up the parser so that it can handle that and more
complex conditionals, and detect if they consist only of such tests.
2008-09-29 18:05:39 -04:00
Joey Hess 1f1867a6fc update 2008-09-29 17:26:39 -04:00
Joey Hess 2ff3c8aee7 editpage: Be more aggressive (and less buggy) about cleaning up temporary files rendered during page preview. 2008-09-27 18:02:33 -04:00
Joey Hess a5d3acd37c Add %wikistate, which is like %pagestate except not specific to a given page, and is preserved across rebuilds. 2008-09-27 16:45:27 -04:00
Joey Hess 61426a7186 Reorganize index file, add a format version field.
Upgrades to the new index format should be transparent.

The version field is 3, because 1 was the old textual index, 2 was the
pre-versioned format.

This also includes some efficiency improvements to index loading, by
not copying a hash and using a reference.
2008-09-27 16:35:56 -04:00
Joey Hess 9ec9d6901d Export pagetitle, titlepage, linkpage. 2008-09-27 14:27:42 -04:00
Joey Hess b127e86b35 releasing version 2.65 2008-09-24 18:14:09 -04:00
Joey Hess 89c965e79e already present 2008-09-19 12:59:21 -04:00
Joey Hess 51f19ca4c8 releasing version 2.64 2008-09-14 17:15:38 -04:00
Joey Hess e62e735277 update 2008-09-11 18:56:22 -04:00
Joey Hess 6f46cc3b31 progress: New plugin to generate progress bars (willu) 2008-09-09 14:44:58 -04:00
Joey Hess 0f67e7d969 editpage: New core plugin factoring out page editing to allow disabling it if desired. 2008-09-05 13:57:25 -04:00
Joey Hess a1c7f3282d po/Makefile: update po files when the pot file has changed. Closes: #497951 2008-09-05 12:37:29 -04:00
Joey Hess d2679de965 For fine control over what characters are allowed, unescaped in source filenames, the wiki_file_chars setting is added. For example, set to "-[:alnum:]+/._" to disable colons from being used in source files (which can cause trouble om Windows). 2008-09-04 14:13:10 -04:00
Joey Hess dfea7fa1ac releasing version 2.62.1 2008-08-28 13:08:20 -04:00
Joey Hess 90b8535b57 releasing version 2.62 2008-08-27 15:40:42 -04:00
Joey Hess 2bab1389cd specify input encoding for xgettext
Pawel's utf-8 name needs this.
2008-08-27 15:16:02 -04:00
Joey Hess 69e35d3c51 willu's teximg changes
* teximg: The prefix is configurable, and has changed to not include the
  nonstandard mhchem by default. (willu)
* teximg: dvipng is used if available to render images. Its output is
  antialiased and better than dvips. If not available, the old dvips+convert
  chain will be used. (willu)
* Drop suggests on texlive-science, add suggests on dvipng.
2008-08-24 15:21:51 -04:00
Joey Hess e910acfbc9 i10n auto.setup 2008-08-21 22:49:50 -04:00
Joey Hess 0ab3ed872b releasing version 2.61 2008-08-14 21:11:45 -04:00
Joey Hess b39b92c0a6 releasing version 2.60 2008-08-12 14:28:13 -04:00
Joey Hess 6edd22808e Danish update. Closes: #494632 2008-08-11 12:47:39 -04:00
Joey Hess adc2eb3d8c Options set in the setup file are now immediatly loaded by ikiwiki -setup. This allows later switches to override them. Previously, setup file options overrode most command line options. 2008-08-06 01:58:04 -04:00