Commit Graph

382 Commits (16f06c028210ff8c6c03db22a4878bcc2c49a319)

Author SHA1 Message Date
Joey Hess 395ca7ae56 aggregate: Improve display of post author.
The recent move of the post author to the author field is good, but with
it coming after the name of the feed, it is unlikely to be visible when
viewed in eg mutt. Move it to before the feed name.
2013-09-05 10:04:38 -04:00
Amitai Schlair 97d0c09a18 Show author in addition to feedname, if different.
While here, mollify http://validator.w3.org/feed/ and
s/dcterms:creator/dc:creator/g, which happens to make rss2email see
and do nice things with authors.
2013-07-17 16:38:08 -04:00
Amitai Schlair 844710c0da Merge branch 'master' into fancypodcast 2013-06-27 00:50:17 -04:00
Amitai Schlair e0ff81b48d Don't confuse old readers with Atom names in RSS. 2013-06-26 20:37:50 -04:00
Amitai Schlair 0c320f45e8 Genericize download link for more use cases. 2013-06-26 20:21:33 -04:00
Amitai Schlair 6a1cbe6f09 Don't add enclosure divs unless we have enclosures. 2013-06-26 20:17:17 -04:00
Simon McVittie fae59b07b0 page.tmpl: omit searchform, trails, sidebar and most metadata in CGI
These all seem somewhat inappropriate (searchform and sidebar are
arguable either way). I've left actions and languages enabled, since
they seem more reasonable for CGI-generated pages.

Bug: http://ikiwiki.info/bugs/trail_shows_on_cgi_pages/
Signed-off-by: Simon McVittie <smcv@debian.org>
2013-03-16 18:37:53 +00:00
Amitai Schlair 4b6ea05ac8 Catch up rsspage to atompage. Validates. 2013-02-22 12:54:16 -05:00
Amitai Schlair e9f9a63739 Don't prepend author to title (Atom doesn't). 2013-02-21 01:39:31 -05:00
Amitai Schlair d77ee60b15 Render fancy podcast enclosures.
Simple podcast feeds didn't have content tags and I made sure to
keep it that way. This may be unnecessarily conservative. Changing
the behavior to include empty content tags might be fine, but I
don't want to think about it right now, I just want my tests to
keep passing!

The new fancy-podcast tests are copy-pasted-edited from the
simple-podcast tests. These tests shall be refactored.
2013-02-20 21:16:19 -05:00
Amitai Schlair a7a68417d0 When inlining HTML pages, render enclosures. 2013-02-19 20:22:47 -05:00
Amitai Schlair 546da9bac7 Make [[!meta enclosure=foo.mp3]] "work" for HTML. 2013-02-19 20:22:46 -05:00
Joey Hess 45801c34bd recentchangesdiff: fix further breakage to the template from 3.20120725 2012-10-16 20:49:26 -04:00
Joey Hess 96bfdbf1be really fix diff display to not show both types of diff
12fa9c031f porported to fix this, but failed
2012-10-16 10:59:00 -04:00
Joey Hess 361db207bf fix bad cut and paste in diff toggle title 2012-10-16 10:35:03 -04:00
intrigeri 954e2e4ef1 Ease archivepage styling by using named classes, move styling to the CSS. 2012-08-25 10:37:28 -04:00
Antoine Beaupré 12fa9c031f do not display two glasses
we display the inline diff only if diffurl isn't defined
2012-07-19 10:23:25 -04:00
Antoine Beaupré 03a689b954 move the diff button alongside the others 2012-07-19 10:21:22 -04:00
Antoine Beaupré da53c5d505 make diffs toggleable 2012-07-19 10:21:22 -04:00
Joey Hess ae083783df Merge remote-tracking branch 'smcv/ready/trail' 2012-04-18 15:45:37 -04:00
Joey Hess e81e857ba6 add comment subscription checkbox to editpage
Reworded template, which also called the commit message a "comment".
2012-04-13 14:28:02 -04:00
Simon McVittie 1a8cbf526c Have trail links at both beginning and end in the default templates 2012-04-09 17:01:23 +01:00
Joey Hess c885ec66e0 allow users to subscribe to comments w/o registering
Technically, when the user does this, a passwordless account is created
for them. The notify mails include a login url, and once logged in that
way, the user can enter a password to get a regular account (although
one with an annoying username).

This all requires the passwordauth plugin is enabled. A future enhancement
could be to split the passwordless user concept out into a separate plugin.
2012-04-02 13:45:39 -04:00
Joey Hess a106727d40 reorg 2012-03-28 19:47:06 -04:00
Joey Hess accf79f94a polishing notifyemail 2012-03-28 19:39:08 -04:00
Joey Hess a22be4eef0 finish notifyemail plugin 2012-03-28 18:52:11 -04:00
Joey Hess 1916f97472 integrate comments plugin with notifyemail 2012-03-28 18:38:37 -04:00
Joey Hess 723c5b97d3 changemail: New plugin, sends emails about changed pages. 2012-03-28 16:40:10 -04:00
Joey Hess a812692a50 changelog 2012-03-18 14:22:28 -04:00
Paul Wise 5b9005a8dd Drop the version attribute on the generator tag in Atom feeds.
Removing the version means that rebuilds are reproducible over time.

Both the generator tag and its version attribute are optional:

http://tools.ietf.org/html/rfc4287#section-4.2.4
2012-03-03 11:01:55 -04:00
Simon McVittie 156f709122 trail: new plugin (3rd attempt) 2011-11-09 22:49:37 +00:00
Joey Hess 6321a75e0c track escaping change in upstream template
This is not belived to be XSS exploitable due to other checks in ikiwiki.

Thanks Olly Betts for review.
2011-09-27 11:05:34 -04:00
Joey Hess f78c1b6a6c use false for isPermalink, not no
feedvalidator says this is true/false not yes/no
2011-07-29 12:59:41 +02:00
Joey Hess 1aad46e15e auto-check just uploaded attachments
This may make it easier to eg, Insert Links after dropping in a lot of
files.
2011-07-12 15:16:44 -04:00
Joey Hess 20577d8ecb Display attachment manipulation links always, since attachments can be uploaded via javascript.
Could arrange for them to be in a span that is hidden when there are no
attachments and make the javascript upload unhide it; this is a quick fix.
2011-07-11 21:38:48 -04:00
Joey Hess a695b5b2f8 updated jquery and made it its own underlay 2011-06-15 19:15:06 -04:00
Joey Hess e2b43578a6 load attachment javascript into template the clean way 2011-06-15 19:08:40 -04:00
Joey Hess f77452b7ca WIP 2011-06-15 18:37:12 -04:00
Joey Hess b66261d08b WIP 2011-06-15 15:21:59 -04:00
Francois Marier 7723e94218 comments: add avatar picture of comment author
Use Libravatar::URL to pull the avatar picture for the comment
author if we have an email address for him/her.
2011-03-30 20:59:17 +13:00
Giuseppe Bilotta 27a80dc40a inline: allow assigning an id to postform/feedlink
This allows per-form/feedlink group customization without having to
resort to counting.
(cherry picked from commit b134feb0dc2d9a8ff7ae447537fa8bc02811aabd)
2011-02-22 17:33:07 -04:00
Giuseppe Bilotta 9c7d1c053f feedlink/blogpost templates: use class instead of id
There can be more than one feedlink group in a page, as well as (more
rarely) multiple blog forms, and using the same id for all of them
causes HTML validation errors. Replace the id with a class by the same
name and adjust in-repository CSS.
(cherry picked from commit 0c3b91e1f06fb357711cfa71d514f139cd8e04e3)
2011-01-14 14:31:45 -04:00
Giuseppe Bilotta 962b1c130c inline: pass the Atom/RSS titles to the templates
The default templates are also updated to make use of this information.
The rel="alternate" attribute is also inserted, for completeness.
(cherry picked from commit 618ade535e6a7967a510d9e210edaef3d37cc9bc)
2011-01-06 14:40:33 -04:00
Joey Hess 021676e489 improve html
display not changed, but I hope this will html2text better in rss2email,
and it's generally better
2010-11-16 14:45:53 -04:00
Joey Hess 7e9ca590c7 add message field to revert form 2010-10-08 19:19:43 -04:00
Joey Hess 84111d96c4 make revert hooks optional
I removed the IkiWiki::rcs_ stubs for the revert hooks. Instead
recentchanges tests to see if the hooks are available and calls
them directly.
2010-10-08 17:54:12 -04:00
Joey Hess d4fd8cd67d put diff at end of revert form 2010-10-06 15:00:48 -04:00
Joey Hess 7988a5aee3 revert html tweaking 2010-10-06 14:55:08 -04:00
Peter Gammie 1620e2dc4f Correct 'alt' text for the revert image. 2010-10-01 14:53:00 +10:00
Peter Gammie 941755e466 Get things right after moving to a branch. 2010-09-29 15:43:44 +10:00