intrigeri
c821cee108
po(cansave): check PO validity using new isvalidpo function
...
... because Po4a's parser does not care about malformed PO data.
Use gettext's msgfmt program instead.
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 23:12:08 +01:00
intrigeri
09d0321f15
po(TODO): the plugin code will need to be gettextized, at some point
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 22:18:27 +01:00
intrigeri
d69fdf6445
editpage: added a cansave hook
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 19:48:27 +01:00
intrigeri
e895157397
Pass src, srcfile, dest and destfile to the canrename hook.
...
This is not needed by the use I'm doing of it, but seems more consistent to me.
Future users of this hook may need this data to make their mind.
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 18:04:37 +01:00
intrigeri
a8105f6859
rename: pass the CGI and session to the rename hook
...
The po plugin remame + canrename hook combination will need this.
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 17:47:20 +01:00
intrigeri
b24f236dfa
po: use the new canrename hook to prevent translation renames in the CGI
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 16:52:43 +01:00
intrigeri
3316f9cc73
rename: implemented new canrename hook
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 16:52:34 +01:00
intrigeri
741b26aa17
remove: implemented a new canremove hook; use it in the po plugin
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 16:44:39 +01:00
intrigeri
5852f03efa
po(todo): test results for markup languages support, thoughts about renaming/deleting
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 16:18:37 +01:00
intrigeri
5c2f6cb893
Merge commit 'upstream/master' into prv/po
2009-01-01 13:34:00 +01:00
http://www.cse.unsw.edu.au/~willu/
38d58467f4
link to related bug
2009-01-01 07:33:36 -05:00
intrigeri
85f865b5d9
po: added postscan hook, to make pages depend on the pages linking to them
...
... so that nicepagetitle hook's effects, such as translation status displayed
in links, are updated when the linked page changes.
The replacement of 'my %backlinks' with 'our %backlinks' in Render.pm made this
work: previously, every postscan hook was called with an almost empty
%backlinks, which defeated all my attempts to implement this feature.
This feature hits performance a bit. Its cost was quite small in my real-world
use-cases (a few percents bigger refresh time), but could be bigger in worst
cases. Time will tell.
NB: this hack could also be used by my meta branch. It may even be a ikiwiki
optional feature.
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01 01:08:10 +01:00
JoshTriplett
8202cfe19e
Fix version.
2008-12-31 18:10:18 -05:00
Joey Hess
b78d5a31cb
formatting
2008-12-31 15:43:14 -05:00
Joey Hess
7c9060aa58
fix link
2008-12-31 15:33:10 -05:00
Joey Hess
8088b5ab3b
fix link
2008-12-31 15:32:12 -05:00
Joey Hess
ef70530c4a
3.0 annoucement
2008-12-31 15:30:41 -05:00
Joey Hess
484cb2ddcf
formatting
2008-12-31 15:28:03 -05:00
Joey Hess
56e2854cec
formatting
2008-12-31 15:27:52 -05:00
Joey Hess
acfe82dd48
add news item for ikiwiki 3.00
2008-12-31 15:26:28 -05:00
Joey Hess
794dbd2476
fix moveprefs transition
2008-12-31 14:54:22 -05:00
Joey Hess
2b0473f090
move to correct location
2008-12-31 14:12:37 -05:00
Joey Hess
523650d9c2
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
2008-12-31 14:08:15 -05:00
Joey Hess
ffec680608
Merge branch 'next'
2008-12-31 13:33:10 -05:00
intrigeri
dc7c11261d
need_global_renamepage_hook: proposed solution implemented in my po branch
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-12-31 19:31:34 +01:00
intrigeri
bbeb9a4a14
po/todo: reflect current link-related work status
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-12-31 17:10:33 +01:00
intrigeri
c0c6b8d79e
po/todo: reflect current status of links-related work
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-12-31 15:23:59 +01:00
intrigeri
149a3e65a7
po: fix redirect after edit, using a somehow tricky hack
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-12-31 13:02:48 +01:00
intrigeri
bd10381103
po: delete translations of deleted master pages
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-12-31 11:47:18 +01:00
http://ptecza.myopenid.com/
b5e01d54f0
* Now unofficial Ikiwiki backports for Ubuntu Intrepid
2008-12-31 03:43:43 -05:00
intrigeri
5738f30a29
the rename hook can now change the list of pages to rename
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-12-30 22:55:04 +01:00
intrigeri
c01485ae1a
renamed the renamepage hook to renamelink, added rename hook
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-12-30 21:36:40 +01:00
intrigeri
21add7ffa8
Merge commit 'upstream/master' into prv/po
...
Conflicts:
debian/control
debian/copyright
doc/ikiwiki/pagespec.mdwn
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-12-30 18:24:36 +01:00
http://smcv.pseudorandom.co.uk/
8c571160cf
planning a future plugin
2008-12-29 17:25:12 -05:00
Joey Hess
caf091eae3
update
2008-12-29 15:58:20 -05:00
Joey Hess
1ca191b570
Merge branch 'master' into next
2008-12-29 15:08:32 -05:00
Joey Hess
82e6902a67
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
2008-12-29 14:59:48 -05:00
Joey Hess
ee598e42f6
some initial instructions for publishing wikis on github
2008-12-29 14:58:54 -05:00
http://blog.mithis.net/
3032909090
2008-12-29 02:01:49 -05:00
http://blog.mithis.net/
1ac4637d4f
2008-12-29 01:26:34 -05:00
Joey Hess
00e55ed171
1st comment spam
2008-12-28 22:31:22 -05:00
Joey Hess
f982a620f2
formatting
2008-12-28 22:23:15 -05:00
Joey Hess
d8f16c4d95
clarify cgiurl setting
2008-12-28 22:03:34 -05:00
Joey Hess
c256a53fcb
Replace blank OpenID placeholder logo with an unofficial OpenID logo developed by Anna Hess. The official logo does not seem destined to be free.
2008-12-28 16:19:47 -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
82d94d4d4a
add news item for ikiwiki 2.72
2008-12-28 15:05:33 -05:00
Joey Hess
c4f3d0554a
Merge branch 'master' into next
2008-12-26 16:11:13 -05:00
Joey Hess
7da319efc6
inline: Run format hook first
...
inline has a format hook that is an optimisation hack. Until this hook
runs, the inlined content is not present on the page. This can prevent
other format hooks, that process that content, from acting on inlined
content. In bug ##509710, we discovered this happened commonly for the
embed plugin, but it could in theory happen for many other plugins (color,
cutpaste, etc) that use format to fill in special html after sanitization.
The ordering was essentially random (hash key order). That's kinda a good
thing, because hooks should be independent of other hooks and able to run
in any order. But for things like inline, that just doesn't work.
To fix the immediate problem, let's make hooks able to be registered as
running "first". There was already the ability to make them run "last".
Now, this simple first/middle/last ordering is obviously not going to work
if a lot of things need to run first, or last, since then we'll be back to
being unable to specify ordering inside those sets. But before worrying about
that too much, and considering dependency ordering, etc, observe how few
plugins use last ordering: Exactly one needs it. And, so far, exactly one
needs first ordering. So for now, KISS.
Another implementation note: I could have sorted the plugins with
first/last/middle as the primary key, and plugin name secondary, to get a
guaranteed stable order. Instead, I chose to preserve hash order. Two
opposing things pulled me toward that decision:
1. Since has order is randomish, it will ensure that no accidental
ordering assumptions are made.
2. Assume for a minute that ordering matters a lot more than expected.
Drastically changing the order a particular configuration uses could
result in a lot of subtle bugs cropping up. (I hope this assumption is
false, partly due to #1 , but can't rule it out.)
2008-12-26 16:09:23 -05:00
Joey Hess
733c7592b7
update
2008-12-26 15:29:04 -05:00
Joey Hess
c2d2ff0199
deprecate embed plugin too
...
I see that this plugin's lists of safe content are already well out of
date, and htmlscrubber_skip offers a non whitelist based approach, so let's
deprecate this plugin for 3.0.
2008-12-26 15:27:49 -05:00
Joey Hess
dbd95c67bc
add link to untrusted git push
2008-12-26 15:06:00 -05:00
Joey Hess
914c839ceb
Merge branch 'master' into next
...
Conflicts:
IkiWiki/Plugin/googlecalendar.pm
2008-12-25 16:36:16 -05:00
Joey Hess
5f55ee0b78
more 3.0 docs, changelog
2008-12-24 19:55:43 -05:00
Joey Hess
04f064e78a
make ikiwiki-transition prefix_directives take a setup file
...
This is easier to remeber, and less error-prone than passing it all the
pages in the wiki.
2008-12-24 19:48:42 -05:00
Joey Hess
3fbe2569ff
remove deprecated googlecalendar plugin
2008-12-24 16:22:35 -05:00
Joey Hess
7ba65e7f4b
remove deprecated admin prefs
...
A new ikiwiki-transition moveprefs subcommand can pull the old data out of
the userdb and inject it into the setup file.
Note that it leaves the old values behind in the userdb too. I did this
because I didn't want to lose data if it fails writing the setup file for
some reason, and the old data in the userdb will only use a small amount of
space. Running the command multiple times will mostly not change anything.
2008-12-24 16:16:03 -05:00
Joey Hess
c58f0eaa70
typo
2008-12-24 15:26:50 -05:00
Joey Hess
e3b7d18929
close
2008-12-23 20:08:01 -05:00
http://puck.openid.org/
20731f761f
2008-12-23 18:05:38 -05:00
http://puck.openid.org/
4d1d4db927
2008-12-23 17:48:05 -05:00
Joey Hess
3f3ff3f812
update
2008-12-23 17:36:57 -05:00
Joey Hess
149fbf97d6
update
2008-12-23 17:14:47 -05:00
Joey Hess
c07a95ed8e
remove globlist support
...
No transition code implemented, but I will probably make a 2.x release that
warns about found globlists.
2008-12-23 17:11:04 -05:00
Joey Hess
488ec9d88d
update
2008-12-23 16:52:46 -05:00
Joey Hess
678d467a40
finalise version 3.00 of the plugin api
2008-12-23 16:34:19 -05:00
Joey Hess
7e7739bdd9
update
2008-12-23 16:29:31 -05:00
Joey Hess
6e4f34b0b8
Merge branch 'master' into next
2008-12-23 16:27:02 -05:00
Joey Hess
ecf2408bf6
fix a few directives using the old syntax
...
I'm turning on prefix_directives for the live wiki now.
2008-12-23 16:25:52 -05:00
Joey Hess
db7983c846
beginning docs for 3.0
2008-12-23 16:20:37 -05:00
Joey Hess
14a9e704c1
enable aggregate_internal by default
2008-12-23 16:08:21 -05:00
Joey Hess
276798fbca
response
2008-12-23 13:27:16 -05:00
Joey Hess
29c8db4c7f
fix popcon graph link
2008-12-23 13:19:47 -05:00
http://hendry.iki.fi/
f1f6c5601f
Any other schools?
2008-12-23 09:29:02 -05:00
intrigeri
298c16eda9
po: make the dev timing clearer
2008-12-23 11:08:00 +01:00
intrigeri
e81c59748e
httpauth_feature_parity_with_passwordauth: a bit more thinking
...
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-12-23 11:08:00 +01:00
http://puck.openid.org/
02da7ec599
2008-12-22 23:14:15 -05:00
Joey Hess
8dc052a1ce
merge recentchanges comments fix
2008-12-22 19:04:02 -05:00
Joey Hess
62c0ba3619
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
2008-12-22 19:00:38 -05:00
http://smcv.pseudorandom.co.uk/
143c437106
reference my recentchanges branch
2008-12-22 18:09:15 -05:00
Joey Hess
09af90e775
update
2008-12-22 16:41:29 -05:00
Joey Hess
7f1992cbe1
add news item for ikiwiki 2.71
2008-12-22 00:03:15 -05:00
Joey Hess
d70f3d6271
unify pagespecs
2008-12-21 16:50:50 -05:00
Joey Hess
63b919b230
fix links
2008-12-21 16:48:15 -05:00
Joey Hess
836bf625c9
formatting
2008-12-21 16:45:59 -05:00
Joey Hess
a0eee761f7
mention comments plugin
2008-12-21 16:44:02 -05:00
Joey Hess
4b66a8d00a
openid branch merged
2008-12-21 13:14:31 -05:00
Joey Hess
041f8e3774
more reorg
2008-12-21 13:08:26 -05:00
Joey Hess
f3512450fd
close merged bugs
2008-12-21 13:00:03 -05:00
Joey Hess
b2842b8838
Merge branch 'comments'
2008-12-21 12:48:14 -05:00
http://smcv.pseudorandom.co.uk/
3b0aa2fcba
Another fixed bug in beautify_urlpath
2008-12-21 12:25:55 -05:00
http://smcv.pseudorandom.co.uk/
94cdf076ed
trivial bug with patch
2008-12-21 12:23:34 -05:00
Simon McVittie
ca1437c9e1
Another comments improvement
2008-12-21 17:18:43 +00:00
http://smcv.pseudorandom.co.uk/
bd376db3a8
Mention a patch to improve OpenID display
2008-12-21 11:43:43 -05:00
Simon McVittie
7bdeee2032
Record another couple of pending bugfixes
2008-12-21 15:39:40 +00:00
Simon McVittie
bd80ca37d5
todo/comments: Properly escape inline HTML
2008-12-21 10:17:23 +00:00
Simon McVittie
2884d20950
todo/comments: reorganise by status
2008-12-21 10:11:48 +00:00
Simon McVittie
ee24feece0
comments: note fixed things and recommend merging origin/comments
2008-12-21 10:08:53 +00:00
http://smcv.pseudorandom.co.uk/
c85e7c1bf4
fix markdown
2008-12-21 04:31:49 -05:00
Joey Hess
c84fcdd32a
meta: Process meta date during scan pass so that the date will always affect sorting in inlines.
2008-12-21 01:52:08 -05:00
Joey Hess
da947bea4b
analysis
2008-12-21 01:41:00 -05:00
Joey Hess
5c669ab226
comment layout change
...
I saw a layout similar to this on blogger, and I sorta like it
The dash avoids parens sitting next to each other in some cases.
2008-12-21 01:04:19 -05:00
Joey Hess
7304d6bd72
Merge branch 'master' into comments
2008-12-21 01:04:03 -05:00
http://dtrt.org/
fc077f6956
Response; added shell code and html formating to reproduction steps
2008-12-20 22:28:20 -05:00
Joey Hess
155ebc3dbd
response
2008-12-20 20:27:42 -05:00
http://dtrt.org/
faa01bd432
Sort paramater not a problem; Revised steps to reprodce
2008-12-20 19:36:15 -05:00
Joey Hess
6042e607f3
alternate idea
2008-12-20 18:51:09 -05:00
Joey Hess
f8cc87e8ee
remove signin icons, use title
2008-12-20 18:46:56 -05:00
Joey Hess
8dbb30d346
my try at improving comment styling
...
Makes it look more like a blog, but not enough to be confusing, and with
nothing as large as in a blog. Removal of the vertical line under the
subject imho makes it easier to scan through comments as each box is a new
one. Bolding the subject seems to make it stand out enough, especially as
its a link now. (Also considered increasing its font size to 110%.)
2008-12-20 18:30:14 -05:00
Joey Hess
7bf121889b
note new bug
2008-12-20 18:18:19 -05:00
Joey Hess
1c918a4ec6
response
2008-12-20 18:14:49 -05:00
Joey Hess
5d5732d673
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
2008-12-20 18:07:45 -05:00
http://dtrt.org/
dd4dff0350
Workaround and possible cause
2008-12-20 18:06:21 -05:00
Joey Hess
0f03af3816
Merge commit 'smcv/comments'
2008-12-20 17:58:56 -05:00
Joey Hess
92b48bab99
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
2008-12-20 17:58:01 -05:00
http://smcv.pseudorandom.co.uk/
4b3d3f519d
2008-12-20 13:03:44 -05:00
Simon McVittie
f94665800c
comment.tmpl: make anon/OpenID/signed-in icons independent of smileys
2008-12-20 17:39:55 +00:00
Joey Hess
ce58338e3d
haskell
2008-12-20 11:30:48 -05:00
Joey Hess
6828cd84a1
note
2008-12-20 11:04:45 -05:00
brush
4176c3483d
minor edits
2008-12-20 05:58:00 -05:00
brush
39e5de4e33
added details on cgi wrapper creation
2008-12-20 05:56:04 -05:00
http://weakish.int.eu.org/
80884d33e0
initial page
2008-12-20 04:20:58 -05:00
http://weakish.int.eu.org/
3d7d29791e
vimperator can do this, too.
2008-12-20 04:18:56 -05:00
Joey Hess
301733ba13
fix comment permalink to always point to comment parent page
2008-12-19 17:33:40 -05:00
Joey Hess
0b002b79b7
update
2008-12-19 17:26:41 -05:00
Joey Hess
4ed092c05b
typos
2008-12-19 17:07:54 -05:00
Joey Hess
091c7fd25b
add link from comment subject to its permalink
2008-12-19 14:20:07 -05:00
Joey Hess
29cb9027f4
fiddle with comment css classes
2008-12-19 14:14:20 -05:00
Joey Hess
79a787a466
rename comments_form to editcomment
2008-12-19 14:07:22 -05:00
Joey Hess
ddabb010b2
rename comments_display to comment
2008-12-19 14:03:26 -05:00
Joey Hess
7521dd6c75
jump to comment after posting
...
Jumping to the just posted comment was the imputus, but I killed a number
of birds here.
Added a INLINEPAGE template variable, which can be used to add anchors to
any inline template.
To keep that sufficiently general, it is the full page name, so the
comment anchors and links changed form.
Got rid of the FIXMEd hardcoded html anchor div.
More importantly, the anchor is now to the very top of the comment, not the
text below. So you can see the title, and how it attributes you.
Avoid changing the permalink of pages that are not really comments, but
happen to contain the _comment directive. I think that behavior was a bug,
though not a likely one to occur since _comment should only really be used
on comment pages.
2008-12-18 20:58:16 -05:00
Joey Hess
d7855474fd
document how to make a global comments feed
2008-12-18 20:20:42 -05:00
Joey Hess
1d82ac40d4
responses
2008-12-18 20:10:42 -05:00
smcv@
a115ff254d
Update todo/comments with today's fixes, and thoughts about the remaining items
2008-12-18 21:10:08 +00:00
justin
8414a62e7f
2008-12-18 14:20:59 -05:00
Joey Hess
b2439a3e51
pagespec thoughts
2008-12-18 12:53:47 -05:00
Joey Hess
835801a6ff
note about comments feed
2008-12-18 12:32:23 -05:00
Joey Hess
385123006e
close
2008-12-17 21:17:42 -05:00
Joey Hess
1074d38f0d
deletion
2008-12-17 20:40:46 -05:00
Joey Hess
3e2f75af6b
fix
2008-12-17 20:19:12 -05:00
Joey Hess
d647ca286a
simplify pagespec
2008-12-17 20:10:22 -05:00
Joey Hess
8614abce09
two comments ui suggestions
2008-12-17 19:47:54 -05:00
Joey Hess
140c0bacba
change around comments pagespecs
...
I think it is clearer to have one pagespec that controls all pages with
comments, and a separate pagespec that can be used to close new comments on
a subset of those pages.
2008-12-17 18:50:04 -05:00
Joey Hess
60142db48e
clarification
2008-12-17 15:29:22 -05:00
Joey Hess
bb93fccf06
Coding style change: Remove explcit vim folding markers.
2008-12-17 15:22:16 -05:00
Joey Hess
fdd994fb73
more comments doc updates
...
Moved todo items to a todo page, mark the old todo item about comments as
done, etc.
2008-12-17 14:15:52 -05:00
Joey Hess
613a54a3cb
Merge branch 'master' into comments
2008-12-17 14:06:57 -05:00
Joey Hess
f9b87a9f8b
monotone: When getting the log, tell monotone how many entries we want, rather than closing the pipe, which it dislikes. (thm)
2008-12-17 13:59:12 -05:00
http://thm.id.fedoraproject.org/
8621e52e09
rename bugs/bugfix_for:___38____35__34__59__mtn:_operation_canceled:_Broken_pipe__38____35__34__59_____40__patch__41__.mdwn to bugs/bugfix_for:___34__mtn:_operation_canceled:_Broken_pipe__34_____40__patch__41__.mdwn
2008-12-17 05:54:16 -05:00
http://thm.id.fedoraproject.org/
4e97a8d915
rename bugs/bugfix_for:___34__mtn:_operation_canceled:_Broken_pipe__34__.mdwn to bugs/bugfix_for:___38____35__34__59__mtn:_operation_canceled:_Broken_pipe__38____35__34__59_____40__patch__41__.mdwn
2008-12-17 05:52:10 -05:00
http://thm.id.fedoraproject.org/
e0061660c9
2008-12-16 06:56:19 -05:00