Joey Hess
b2dea99417
Fix ugly display when editing a page that has vanished.
...
srcfile now has an optional second parameter to avoid it throwing an error
if the source file does not exist.
2008-05-02 13:02:07 -04:00
Joey Hess
6f852e88e3
anonk: Add anonok_pagespec configuration setting that can be used to allow anonymous users to edit only matching pages. Closes : #478892
2008-05-01 14:58:23 -04:00
Joey Hess
bb51e81762
img: Support a title attribute, will be passed through to html. Closes : #478718
2008-04-30 12:58:36 -04:00
Joey Hess
cc26b153b4
move question to discussion page, where it belongs
2008-04-27 14:32:30 -04:00
Joey Hess
008de43f67
web commit by http://vibrog.myopenid.com/
2008-04-27 04:28:28 -04:00
Joey Hess
9652cdfe2e
toc: Add the table of contents at sanitize time, rather than at format time. This allows the toc to be displayed when previewing an edit. It also avoids headers in the page template from showing up in the toc.
2008-04-26 15:13:01 -04:00
Joey Hess
9a2dfd21ab
web commit by http://sabr.myopenid.com/
2008-04-13 12:48:28 -04:00
Joey Hess
d97ca8c610
web commit by http://sabr.myopenid.com/
2008-04-12 20:36:15 -04:00
Joey Hess
5647448501
web commit by ScottSwalwell: Fixed my fix.
2008-04-10 13:01:27 -04:00
Joey Hess
7921d9456c
web commit by ScottSwalwell: Fixed this link.
2008-04-10 13:00:36 -04:00
Joey Hess
04528ba259
web commit by cjb: Fixed URL
2008-04-10 01:06:21 -04:00
Joey Hess
16f3982344
web commit by http://certifi.ca/bronson
2008-03-28 00:57:49 -04:00
Joey Hess
76a4a982b8
web commit by buo: Thanks
2008-03-25 16:12:34 -04:00
Joey Hess
ca8852b434
external: Work around XML RPC's lack of support for null by passing a special sentinal value.
2008-03-21 15:12:15 -04:00
Joey Hess
da7aad08e3
web commit by http://jblevins.org/ : A note about the toc plugin and headers in templates
2008-03-20 17:02:59 -04:00
Joey Hess
6eb3cf7e76
make setargv take an array
...
for consistentcy with getargv, which returns one
2008-03-19 15:49:00 -04:00
Joey Hess
f003e97d10
getargv needs to return a list reference
...
xml rpc only allows functions to return a single value, no lists. So getargv
needs to return a list reference, which means that the caller will see an xml
rpc array.
2008-03-19 15:12:59 -04:00
Joey Hess
14d2b0b65c
web commit by http://madduck.net/ : use new directive syntax
2008-03-17 10:50:50 -04:00
Joey Hess
ba480baa9e
* external: Add getargv and setargv methods to allow access to ikiwiki's
...
@ARGV.
2008-03-15 14:19:49 -04:00
Joey Hess
840585338e
mention proxy.py
2008-03-15 13:22:22 -04:00
Joey Hess
f7bdc2385d
* Use forcebaseurl to make page previews be displayed with the html base
...
set to the destination page. This avoids need for hacks to munge the urls
in preview mode, which fixes several bugs.
* Several destpage fixes in plugins.
2008-03-12 14:21:48 -04:00
Joey Hess
be0f1a63a3
typo
2008-03-12 13:34:44 -04:00
Joey Hess
95261278e7
docuent need for mhchem.sty
2008-03-12 13:25:28 -04:00
Joey Hess
fb2b1702a4
tag as a slow plugin
2008-03-12 13:15:58 -04:00
Joey Hess
6690f1091a
code review of hnd plugin
2008-03-12 13:14:43 -04:00
Joey Hess
e5afc39aae
web commit by http://noone.org/openid/ : Shorter syntax
2008-03-11 19:23:24 -04:00
Joey Hess
9b6566ad8c
web commit by http://bremner.myopenid.com/ : changed source link to point to git. added plugin box. made epsilon less verbose
2008-03-11 17:34:20 -04:00
Joey Hess
24d90d4bb6
web commit by http://bremner.myopenid.com/ : added some notes about related approaches
2008-03-11 17:22:17 -04:00
Joey Hess
cdf88c8821
Merge branch 'master' of ssh://git.kitenet.net/srv/git/ikiwiki.info
2008-03-11 15:55:38 -04:00
martin f. krafft
c471d5425f
Generate openid2 headers as well
...
This causes meta.openid to also generate the openid2 headers.
Signed-off-by: martin f. krafft <madduck@madduck.net>
2008-03-11 15:53:21 -04:00
martin f. krafft
2325525713
Let meta.openid set X-XRDS-Location header
...
Adds an optional xrds-location parameter to the openid meta handler,
which allows for XRDS delegation.
A good document on XRDS is
http://www.windley.com/archives/2007/05/using_xrds.shtml
Signed-off-by: martin f. krafft <madduck@madduck.net>
2008-03-11 15:51:11 -04:00
Joey Hess
c59405e643
web commit by http://madduck.net/
2008-03-11 10:02:12 -04:00
Joey Hess
830aab057f
web commit by http://bremner.myopenid.com/
2008-03-11 08:56:35 -04:00
Joey Hess
fd4e6dfa87
web commit by http://bremner.myopenid.com/
2008-03-11 08:32:12 -04:00
Joey Hess
7d595594c6
web commit by XTaran: Idea for improvement
2008-03-10 20:14:00 -04:00
Joey Hess
74d8443573
web commit by buo: Minor nitpick
2008-03-10 14:01:00 -04:00
Joey Hess
cb0e593cfd
web commit by XTaran: Download link
2008-03-10 11:12:51 -04:00
Joey Hess
2a1b9f262a
web commit by XTaran: New hnb plugin
2008-03-10 09:57:29 -04:00
Joey Hess
034b9143e6
web commit by bremner: update link to my site
2008-03-07 02:15:13 -05:00
Joey Hess
478c93d636
web commit by bremner
2008-03-07 02:12:24 -05:00
Joey Hess
91ea662943
web commit by bremner: added pointer to relevant discussion
2008-03-06 08:14:44 -05:00
Joey Hess
da9bf8df55
web commit by bremner: answer one of my own questions
2008-03-06 07:52:36 -05:00
Joey Hess
2404ce0ddd
web commit by bremner: new version, language configurable, sortof
2008-03-06 04:51:44 -05:00
Joey Hess
890863679f
web commit by bremner
2008-03-06 03:40:02 -05:00
Joey Hess
0e071ba9af
web commit by bremner: added work in progress sourcehighlight plugin
2008-03-06 03:19:32 -05:00
Joey Hess
445e460b00
web commit by bremner: me too request for the tag generating code
2008-03-06 02:58:06 -05:00
Joey Hess
444d25af3a
response
2008-03-05 17:16:20 -05:00
Joey Hess
f77bc9d35c
web commit by http://subvert.org.uk/~bma/ : Add my thoughts.
2008-03-05 09:51:50 -05:00
Joey Hess
ed4680df7c
web commit by tschwinge: There's a bug somewhere.
2008-03-05 07:01:48 -05:00
Joey Hess
d93aaed791
* Add recentchangesdiff plugin that adds diffs to the recentchanges feeds.
...
* rcs_diff is a new function that rcs modules should implement.
* Implemented rcs_diff for git, svn, and tla (tla version untested).
Mercurial and monotone still todo.
2008-03-03 15:53:34 -05:00
Joey Hess
b3d2f7152c
web commit by tschwinge: Set the title *after* instantiating the templates.
2008-03-03 04:58:37 -05:00
Joey Hess
5ec11421d2
web commit by tschwinge: Set page title.
2008-03-03 04:54:18 -05:00
martin f. krafft
c10cfb27d1
Add robots tag to meta plugin
...
Add special handling for <meta name="robots" ...> which needs not be
scrubbed as it's harmless.
Signed-off-by: martin f. krafft <madduck@madduck.net>
(cherry picked from commit b15d0299a7f7b147e89d8a202d6cca1c21491af2)
2008-03-02 18:04:09 -05:00
Joey Hess
4763514861
* Add the linkify and scan hooks. These hooks can be used to implement
...
custom, first-class types of wikilinks.
* Move standard wikilink implementation to a new wikilink plugin, which
will of course be enabled by default.
2008-02-11 22:48:27 -05:00
Joey Hess
4029389414
add templates
2008-02-10 23:06:46 -05:00
Joey Hess
10351be39a
add template
2008-02-10 23:02:57 -05:00
Joey Hess
800a1b3271
add templates
2008-02-10 23:00:30 -05:00
Joey Hess
b29add934b
add template
2008-02-10 22:57:34 -05:00
Joey Hess
e5f97777ad
update
2008-02-10 17:27:59 -05:00
Joey Hess
d7e0c035e5
* htmlscrubber security fix: Block javascript in uris.
...
* Add htmlscrubber test suite.
2008-02-10 13:16:40 -05:00
Joey Hess
57567f4168
note about will_render and preview
2008-02-04 18:34:47 -05:00
Joey Hess
e57749b702
* recentchanges: Exipre all *._change pages, even if the directory
...
they're in has changed.
2008-02-03 14:51:03 -05:00
Joey Hess
340fe9707c
* recentchanges: Improve handling of links on the very static changes pages
...
by thunking to the CGI, which can redirect to the page, or allow it to be
created if it doesn't exist.
2008-02-03 14:48:20 -05:00
Joey Hess
6c1cb3f985
web commit by tschwinge: Another minor bug.
2008-02-03 12:18:26 -05:00
Joey Hess
58ef55c798
web commit by tschwinge: Thanks!, and a bug report.
2008-02-03 12:16:06 -05:00
Joey Hess
80915c830a
* cgi hooks are now run before ikiwiki state is loaded.
...
* This allows locking the wiki before loading state, which avoids some
tricky locking code when saving a web edit.
2008-02-03 00:23:04 -05:00
Joey Hess
2952288db4
move suggestion to a todo item
2008-01-30 16:30:16 -05:00
Joey Hess
64a8c828b8
* meta: Add pagespec functions to match against title, author, authorurl,
...
license, and copyright. This can be used to create custom RecentChanges.
* meta: To support the pagespec functions, metadata about pages has to be
retained as pagestate.
* Fix encoding bug when pagestate values contained spaces.
2008-01-29 17:16:51 -05:00
Joey Hess
8b31c53366
added configuration for recentchanges
...
I kept it to a simple global configuration, rather than using the
preprocessor directive for recentchanges, because that had chicken and egg
problems and seemed overcomplicated. This should work reasonably well,
though it would be good to add some more metadata so that more customised
recentchanges pages can be made.
2008-01-29 15:51:32 -05:00
Joey Hess
7e52cc90b2
update
2008-01-29 15:08:25 -05:00
Joey Hess
47ee266163
improve support for internal pages
...
This makes it a lot quicker to deal with lots of recentchanges pages
appearing and disappearing. It avoids needing to clutter up pagespecs with
exclusions for those pages, by making normal pagespecs not match them.
2008-01-29 15:05:49 -05:00
Joey Hess
95c5cbc721
document the new refresh hook
2008-01-29 13:07:17 -05:00
Joey Hess
dd809404ec
omit recentchanges from various metadata pages
2008-01-29 12:52:29 -05:00
Joey Hess
2ff726e875
don't render internal-use pages, and document them
2008-01-29 00:07:55 -05:00
Joey Hess
5921b86fcc
proof of concept implementation of static recentchanges
...
Currently hardcoded to write to recentchanges/*, and the page format needs
to be rethought to be usable for aggregation, but it basically works.
2008-01-28 23:56:26 -05:00
Joey Hess
035d5bca48
web commit by http://id.loopysoft.com/matt/ : Slight typo fix
2008-01-23 02:14:35 -05:00
Joey Hess
06bd32f9da
improve formatting and minor reword
2008-01-16 13:34:06 -05:00
Joey Hess
50b59896d9
web commit by JeremyReed: Document account_creation_password -- some of this text taken from original todo.
2008-01-16 11:14:33 -05:00
Joey Hess
b887fe4508
web commit by rdennis: set initial state of toggle plugin
2008-01-11 08:57:03 -05:00
Joey Hess
deb39a1f14
* meta: Run in scan mode again (more intelligently) and re-add support for
...
meta link.
* Fix support for the case where metadata appears after an inline directive.
This was broken in version 2.16.
2008-01-09 02:38:43 -05:00
Joey Hess
b31e8c0826
* inline: Add copyright/license info on a per-post basis to atom
...
feeds if available. (rss doesn't allow such info on a per-post basis)
* meta: Allow copyright/license metadata to contain arbitrary markup.
2008-01-09 01:05:54 -05:00
Joey Hess
08cb5f7bad
Merge branch 'master' of ssh://git.kitenet.net/srv/git/ikiwiki.info
2008-01-07 16:40:45 -05:00
Joey Hess
c487b847e2
* Improved the canedit hook interface, allowing a callback function to be
...
returned (and not run in some cases) rather than the plugins directly
forcing a user to log in.
* opendiscussion: allow editing of the toplevel discussion page,
and, indirectly, allow creating new discussion pages.
2008-01-07 16:34:13 -05:00
Joey Hess
e92c51f5e5
web commit by http://madduck.myopenid.com/
2008-01-06 12:00:20 -05:00
Joey Hess
d2cda64c97
web commit by tschwinge: Answer.
2008-01-02 05:39:47 -05:00
Joey Hess
a22dfe6fef
response
2008-01-01 19:11:27 -05:00
Joey Hess
2f33fee799
web commit by tschwinge: Report an inconvenience.
2008-01-01 18:41:44 -05:00
Joey Hess
1bed865360
Merge branch 'master' of ssh://git.kitenet.net/srv/git/ikiwiki.info
2007-12-28 16:15:23 -05:00
Joey Hess
c2afda7f90
* img: Allow the link parameter to point to an exterior url.
2007-12-28 16:14:43 -05:00
Joey Hess
c0c02243e5
web commit by AlexandreDupas: Fix typo.
2007-12-28 10:43:48 -05:00
Joey Hess
c11ded60a8
web commit by AlexandreDupas: Patch for new header options
2007-12-28 07:09:01 -05:00
Joey Hess
79b1d4075c
web commit by JoshTriplett: Fix typo.
2007-12-23 18:43:33 -05:00
Thomas Schwinge
1ac0fd03bb
IkiWiki/Plugin/meta.pm <redir>: Support for specifying anchors.
2007-12-22 13:10:55 -05:00
Joey Hess
f25b6aff42
web commit by tschwinge: Default content for *copyright* and *license*.
2007-12-21 09:32:32 -05:00
Joey Hess
71d1fb4326
web commit by tschwinge: Confirmed. Removing this.
2007-12-19 17:03:37 -05:00
Joey Hess
ada6f506c1
important note about pagestate persistence
2007-12-16 16:19:16 -05:00
Joey Hess
96817b0032
* meta: Drop support for "meta link", since supporting this for internal
...
links required meta to be run during scan, which complicated its data
storage, since it had to clear data stored during the scan pass to avoid
duplicating it during the normal preprocessing pass.
* If you used "meta link", you should switch to either "meta openid" (for
openid delegations), or tags (for internal, invisible links). I assume
that nobody really used "meta link" for external, non-openid links, since
the htmlscrubber ate those. (Tell me differently and I'll consider bringing
back that support.)
* meta: Improved data storage.
* meta: Drop the hackish filter hook that was used to clear
stored data before preprocessing, this hack was ugly, and broken (cf:
liw's disappearing openids).
* aggregate: Convert filter hook to a needsbuild hook.
2007-12-16 15:56:09 -05:00
Joey Hess
c43fc8607e
web commit by tschwinge: Umeet 2007: talk about OpenID by Stephane Bortzmeye.
2007-12-16 13:00:51 -05:00
Joey Hess
b10c46a1f3
followup to other question
2007-12-12 16:25:40 -05:00
Joey Hess
214bc2b65b
* Allow dashes in preprocessor directive commands, and shortcuts.
2007-12-12 16:13:15 -05:00