Joey Hess
aa65300c2f
meta: Fix calling of htmlscrubber to pass the page parameter. The change of the htmlscrubber to look at page rather than destpage caused htmlscrubber_skip to not work for meta directives.
2010-12-01 20:25:05 -04:00
Joey Hess
3697a684df
Merge remote branch 'smcv/ready/sslcookie-auto'
2010-11-29 16:31:25 -04:00
Simon McVittie
f33c2af2c4
Always set secure cookies if logging in via HTTPS
2010-11-29 19:30:44 +00:00
Joey Hess
1182e9d0ee
use one-parameter form of urlto
2010-11-29 15:07:26 -04:00
Joey Hess
0ae1e4cc0e
Merge remote branch 'smcv/ready/localurl'
2010-11-29 14:43:57 -04:00
Joey Hess
170cb02479
git: Avoid adding files when committing, so as not to implicitly add files like recentchanges files that are not normally checked in, when fixing links after rename.
2010-11-29 13:42:03 -04:00
Joey Hess
a5120846cb
rename: Fix to pass named parameters to rcs_commit
2010-11-29 13:28:28 -04:00
Joey Hess
78a22e2eb2
git: Fix temp file location.
2010-11-29 12:01:50 -04:00
Simon McVittie
18bb93f574
pinger: avoid pinging our own local path, too
2010-11-23 23:14:38 +00:00
Simon McVittie
2411e2be1f
Use local path for even more CGI URLs
2010-11-23 23:12:21 +00:00
Simon McVittie
4625e0c4d9
Pass a CGIURL into commentmoderation.tmpl
...
Omitting this resulted <form action=""> which is in fact a working
self-referential form, but is less obvious than it ought to be.
2010-11-23 00:20:57 +00:00
Simon McVittie
1f019ac2aa
Use local paths for most references to pages
2010-11-23 00:19:10 +00:00
Simon McVittie
296e5cb2fd
Use local paths for the CGI URL
2010-11-23 00:12:17 +00:00
Simon McVittie
78c595736e
Use local paths when including Javascript
2010-11-23 00:06:07 +00:00
Simon McVittie
d2e3741a6f
Use local paths for redirection where possible
2010-11-23 00:00:11 +00:00
Joey Hess
31f0e459b8
edittemplate: Fix crash if using a .tmpl file or other non-page file as a template for a new page.
2010-11-20 14:54:43 -04:00
Joey Hess
af5f162ca7
highlight: Support new format of filetypes.conf used by version 3.2 of the highlight package.
2010-11-20 12:55:26 -04:00
Simon McVittie
55515050e1
make use of precompiled regex objects
2010-11-20 00:02:49 +00:00
Joey Hess
b00c6c9640
inline: Improve RSS url munging to use a proper html parser
...
and support all elements that HTML::Tagset knows about.
(Which doesn't include html5 just yet, but then the old version didn't either.)
Bonus: 4 times faster than old regexp method.
2010-11-16 16:57:50 -04:00
Joey Hess
c502b8fe54
indentation
2010-11-16 15:40:16 -04:00
Joey Hess
cedf2c0af5
Fix escaping of filenames in historyurl. (Thanks, aj)
2010-11-16 15:12:52 -04:00
Joey Hess
ec6c1269d2
more: Add pages parameter to limit where the more is displayed. (thanks, dark)
2010-11-16 15:00:04 -04:00
Joey Hess
b85ca8603a
websetup: Fix encoding problem when restoring old setup file.
2010-11-16 14:24:15 -04:00
Joey Hess
d8de98911e
comments: Make comment() pagespec also match comments that are being posted.
2010-11-12 00:36:03 -04:00
Joey Hess
78de33d2ea
comments: Make postcomment() pagespec work when previewing a comment.
2010-11-12 00:28:27 -04:00
Joey Hess
289b30a47d
Fix htmlscrubber_skip to be matched on the source page, not the page it is inlined into. Should allow setting to "* and !comment(*)" to scrub comments, but leave your blog posts unscrubbed, etc.
2010-11-12 00:00:54 -04:00
Tuomas Jormola
d32a1028ab
Use author date instead of commit date
...
Signed-off-by: Tuomas Jormola <tj@solitudo.net>
2010-10-31 16:06:25 -04:00
Craig Lennox
cf2e3cb7d9
Added missing registration of checkconfig hook.
2010-10-31 10:12:01 -04:00
Tuomas Jormola
4573524196
Added missing hook registration for checkconfig
...
Signed-off-by: Tuomas Jormola <tj@solitudo.net>
2010-10-30 22:02:30 -04:00
Joey Hess
ac6b5c12fa
squash undef
2010-10-25 23:31:41 -04:00
Joey Hess
ac8aad2eca
remove a last that won't work
2010-10-25 23:03:28 -04:00
Joey Hess
5c6eb167b8
highlight: Ensure that other, more-specific format plugins, like txt are used in preference to this one in case of ties.
2010-10-25 23:00:32 -04:00
Joey Hess
2076ed597c
txt: Fix display when used inside a format directive.
...
txt's use of a format hook can't work in that case, so it needs to use a
htmlizeformat hook in this case to handle wrapping the text in pre tags.
2010-10-25 22:37:34 -04:00
Joey Hess
5db2d6f6b2
nice message if someone tries to revert a merge commit
2010-10-23 17:19:48 -04:00
Joey Hess
62a0f2f3d6
bugfix
2010-10-23 16:31:58 -04:00
Joey Hess
9ca9959eda
fix web reversion when the srcdir is in a subdir of the git repo.
2010-10-23 16:19:16 -04:00
Joey Hess
1c5a3f2c67
Fix typo that broke anonymous git push.
2010-10-23 15:25:29 -04:00
Joey Hess
9b832df0d2
add a missing chomp
2010-10-19 21:38:34 -04:00
Joey Hess
8555d10f63
img: If a class is specified, don't also put the img in the img class.
2010-10-13 12:57:16 -04:00
Joey Hess
7ba0f7d297
monotone: Fix recentchanges page when the srcdir is not at the top of the monotone workspace. Thanks, tommyd.
2010-10-11 20:30:14 -04:00
Joey Hess
cfbd272c8b
websetup: Fix defaults of checkboxes in advanced mode.
...
So formbuilder has an annoying glitch, that setting the value of a
checkbox, even without force, will override the value currently on the
form. Thus the guards against changing checkbox values when a form has been
submitted.
But those guards also prevented the checkboxes for advanced items getting
the right value when going into advanced mode.
Note that if the user makes changes to advanced mode stuff and leaves
advanced mode, those changes are lost. That seems reasonable so I didn't
change it -- and it made this fix simple.
2010-10-11 11:41:34 -04:00
Joey Hess
274219ecc8
websetup: Fix saving of advanced mode changes.
...
The showadvanced field was not known to formbuilder when hitting the save
changes button.
2010-10-11 11:12:41 -04:00
Joey Hess
9aa9604c36
add blank line
2010-10-08 19:26:31 -04:00
Joey Hess
7d5ac1cdd9
typo
2010-10-08 19:25:35 -04:00
Joey Hess
7e9ca590c7
add message field to revert form
2010-10-08 19:19:43 -04:00
Joey Hess
fb4ee927a0
propigate rcs_revert error message
...
and misc reorg
2010-10-08 18:59:04 -04:00
Joey Hess
4efc1f22d4
taint handling for rev
2010-10-08 18:58:47 -04:00
Joey Hess
c430792148
refactor
2010-10-08 18:50:24 -04:00
Joey Hess
e7d6dcfed6
remove todo item
...
I understand the need to avoid chdir when running git_parse_changes
for receive now. At that point, the changes have not been pushed to
the srcdir's repo yet. When running the same code for preprevert,
chdir to the srcdir is ok, and necessary.
2010-10-08 18:46:30 -04:00
Joey Hess
faf94b5787
refactor check_canchange into IkiWiki library
2010-10-08 18:09:28 -04:00