summaryrefslogtreecommitdiff
path: root/www/ikiwiki
AgeCommit message (Collapse)AuthorFilesLines
2015-01-07Update to 3.20150107. From the changelog:schmonz4-10/+67
[ Joey Hess ] * Added ikiwiki-comment program. * Add missing build-depends on libcgi-formbuilder-perl, needed for t/relativity.t * openid: Stop suppressing the email field on the Preferences page. * po: If msgmerge falls over on a problem po file, print a warning message, but don't let this problem crash ikiwiki entirely. * Set Debian package maintainer to Simon McVittie as I'm retiring from Debian. [ Simon McVittie ] * calendar: add calendar_autocreate option, with which "ikiwiki --refresh" can mostly supersede the ikiwiki-calendar command. Thanks, Louis Paternault * search: add more classes as a hook for CSS. Thanks, sajolida * core: generate HTML5 by default, but keep avoiding new elements like <section> that require specific browser support unless html5 is set to 1. * Tell mobile browsers to draw our pages in a device-sized viewport, not an 800-1000px viewport designed to emulate a desktop/laptop browser. * Add new responsive_layout option which can be set to 0 if your custom CSS only works in a large viewport. * style.css, actiontabs, blueview, goldtype, monochrome: adjust layout below 600px ("responsive layout") so that horizontal scrolling is not needed on smartphone browsers or other small viewports. * core: new libdirs option alongside libdir. Thanks, Louis Paternault [ Amitai Schlair ] * core: log a debug message before waiting for the lock. Thanks, Mark Jason Dominus * build: in po/Makefile, use the same $(MAKE) as the rest of the build. Thanks, ttw * blogspam: use the 2.0 JSON API (the 1.0 XML-RPC API has been EOL'd). Closes: #774441 pkgsrc changes: Add a not-yet-upstreamed patch to link to the commenter's URL for anonymous-style comments committed directly via the VCS (i.e., imported from another CMS).
2014-12-04Add 'l10n' option to enable po4a-managed translations of siteschmonz3-4/+222
content. Bump PKGREVISION.
2014-11-06Not MAKE_JOBS_SAFE.joerg1-1/+5
2014-10-17Noticed on NetBSD:schmonz1-1/+4
- Upstream's perl-shebang replacement missed one due to a space (fixed upstream). check-interpreter hadn't told me on OS X because "/usr/bin/perl" does exist there. - gmake seems to choose a build order where the perl-shebang replacement doesn't happen early enough, breaking the build. Force the needed ordering.
2014-10-17Update to 3.20141016. From the changelog:schmonz4-30/+8
[ Joey Hess ] * Fix crash that can occur when only_committed_changes is set and a file is deleted from the underlay. [ Simon McVittie ] * core: avoid dangerous use of CGI->param in list context, which led to a security flaw in Bugzilla; as far as we can tell, ikiwiki is not vulnerable to a similar attack, but it's best to be safe * core: new reverse_proxy option prevents ikiwiki from trying to detect how to make self-referential URLs by using the CGI environment variables, for instance when it's deployed behind a HTTP reverse proxy (Closes: #745759) * core: the default User-Agent is now "ikiwiki/$version" to work around ModSecurity rules assuming that only malware uses libwww-perl * core: use protocol-relative URLs (e.g. //www.example.com/wiki) so that https stays on https and http stays on http, particularly if the html5 option is enabled * core: avoid mixed content when a https cgiurl links to http static pages on the same server (the static pages are assumed to be accessible via https too) * core: force the correct top URL in w3mmode * google plugin: Use search form * docwiki: replace Paypal and Flattr buttons with text links * comments: don't record the IP address in the wiki if the user is logged in via passwordauth or httpauth * templates: add ARIA roles to some page elements, if html5 is enabled. Thanks, Patrick pkgsrc changes: * For the python option, add missing py-expat dependency.
2014-10-03Try harder to convey in a few words what's so special about ikiwiki.schmonz2-8/+9
2014-09-19Apply 053de54 from upstream git to fix paths in installed binariesschmonz3-2/+20
with the default PKG_SYSCONFBASE. Bump PKGREVISION.
2014-09-16Update to 3.20140916. From the changelog:schmonz6-65/+26
* Don't double-decode CGI submissions with Encode.pm >= 2.53, fixing "Error: Cannot decode string with wide characters". Thanks, Antoine Beaupré * Avoid making trails depend on everything in the wiki by giving them a better way to sort the pages * Don't let users post comments that won't be displayed * Fix encoding of Unicode strings in Python plugins. Thanks, chrysn * Improve performance and correctness of the [[!if]] directive * Let [[!inline rootpage=foo postform=no]] disable the posting form * Switch default [[!man]] shortcut to manpages.debian.org. Closes: #700322 * Add UUID and TIME variables to edittemplate. Closes: #752827 Thanks, Jonathon Anderson * Display pages in linkmaps as their pagetitle (no underscore escapes). Thanks, chrysn * Fix aspect ratio when scaling small images, and add support for converting SVG and PDF graphics to PNG. Thanks, chrysn - suggest ghostscript (required for PDF-to-PNG thumbnailing) and libmagickcore-extra (required for SVG-to-PNG thumbnailing) - build-depend on ghostscript so the test for scalable images can be run * In the CGI wrapper, incorporate $config{ENV} into the environment before executing Perl code, so that PERL5LIB can point to a non-system-wide installation of IkiWiki. Thanks, Lafayette Chamber Singers Webmaster * filecheck: accept MIME types not containing ';' * autoindex: index files in underlays if the resulting pages aren't going to be committed. Closes: #611068 * Add [[!templatebody]] directive so template pages don't have to be simultaneously a valid template and valid HTML * Add myself to Uploaders and release to Debian -- Simon McVittie <smcv@debian.org> Fri, 12 Sep 2014 21:23:58 +0100 pkgsrc changes: * Add 'cgi' option, enabled by default * Add 'git' option, disabled by default Updating during the freeze because it's a leaf with many fixes, including our local patches.
2014-09-13Avoid decoding Unicode twice in CGI forms with Perl 5.20's bundledschmonz3-3/+36
Encode.pm. Bump PKGREVISION.
2014-08-23Squelch commit warning with wiki.n.o's unusual (scheme-less) $config{url}.schmonz3-2/+20
Bump PKGREVISION.
2014-08-18Update to 3.20140815. From the changelog:schmonz3-13/+18
* Add google back to openid selector. Apparently this has gotten a stay of execution until April 2015. (It may continue to work until 2017.) * highlight: Add compatibility with highlight 3.18, while still supporting 3.9+. Closes: #757679 Thanks, David Bremner * highlight: Add support for multiple language definition directories Closes: #757680 Thanks, David Bremner pkgsrc changes: * Add ikiwiki-highlight option that pulls in textproc/p5-highlight, for syntax highlighting code blocks (or entire source files).
2014-06-13Update to 3.20140613. From the changelog:schmonz2-7/+6
* only_committed_changes could fail in a git repository merged with git merge -s ours. * Remove google from openid selector, per http://xkcd.com/1361/
2014-05-29Bump for perl-5.20.0.wiz1-2/+2
Do it for all packages that * mention perl, or * have a directory name starting with p5-*, or * depend on a package starting with p5- like last time, for 5.18, where this didn't lead to complaints. Let me know if you have any this time.
2014-05-17Bump applications PKGREVISIONs for python users that might be usingwiz1-1/+2
python3, since the default changed from python33 to python34. I probably bumped too many. I hope I got them all.
2014-02-27Update to 3.20140227. From the changelog:schmonz3-7/+14
* Added useragent config setting. Closes: #737121 Thanks, Tuomas Jormola * po: Add html_lang_code and html_lang_dir template variables for the language code and direction of text. Thanks, Mesar Hameed * Allow up to 8 levels of nested directives, rather than previous 3 in directive infinite loop guard. * git diffurl: Do not escape / in paths to changed files, in order to interoperate with cgit (gitweb works either way) Thanks, intrigeri. * git: Explicity push master branch, as will be needed by git 2.0's change to push.default=matching by default. Thanks, smcv * Deal with nasty issue with gettext clobbering $@ while printing error message containing it. Thanks, smcv * Cleanup of the openid login widget, including replacing of hotlinked images from openid providers with embedded, freely licensed artwork. Thanks, smcv * Improve templates testing. Thanks, smcv * python proxy: Avoid utf-8 related crash. Thanks, Antoine Beaupré * Special thanks to Simon McVittie for being the patchmeister for this release.
2014-01-26Update to 3.20140125. From the changelog:schmonz2-6/+6
* inline: Allow overriding the title of the feed. Closes: #735123 Thanks, Christophe Rhodes * osm: Escape name parameter. Closes: #731797
2014-01-03Update to 3.20140102. From the changelog:schmonz3-23/+7
* aggregate: Improve display of post author. * poll: Fix behavior of poll buttons when inlined. * Fixed unncessary tight loop hash copy in saveindex where a pointer can be used instead. Can speed up refreshes by nearly 50% in some circumstances. * Optimized loadindex by caching the page name in the index. * Added only_committed_changes config setting, which speeds up wiki refresh by querying git to find the files that were changed, rather than looking at the work tree. Not enabled by default as it can break some setups where not all files get committed to git. * comments: Write pending moderation comments to the transient underlay to avoid conflict with only_committed_changes. * search: Added google_search option, which makes it search google rather than using the internal xapain database. (googlesearch plugin is too hard to turn on when xapain databases corrupt themselves, which happens all too frequently). * osm: Remove invalid use of charset on embedded javascript tags. Closes: #731197 * style.css: Add compatibility definitions for more block-level html5 elements. Closes: #731199 * aggregrate: Fix several bugs in handling of empty and colliding titles when generating filenames.
2013-09-15Specify return type to quell clang warnings. Bump PKGREVISION.schmonz3-2/+19
2013-09-04Update to 3.20130904.1. From the changelog:schmonz2-6/+6
* calendar: Display the popup mouseover when there is only 1 page for a given day, for better UI consistency. * meta: Can now be used to add an enclosure to a page, which is a fancier way to do podcasting than just inlining the media files directly; this way you can write a post about the podcast episode with show notes, author information, etc. (schmonz) * aggregate: Show author in addition to feedname, if different. (schmonz) * Consistently configure LWP::UserAgent to allow use of http_proxy and no_proxy environment variables, as well as ~/.ikiwiki/cookies (schmonz) * Fix test suite to work with perl 5.18. Closes: #719969 * Fix cookiejar default setting.
2013-08-15Use GNU find on SunOS at install time, so that "find -maxdepth" andschmonz1-1/+7
"find -regex" can work.
2013-07-11Update to 3.20130711. From the changelog:schmonz2-6/+6
* Deal with git behavior change in 1.7.2 and newer that broke support for commits with an empty commit message. * Pass --no-edit when used with git 1.7.8 and newer.
2013-07-11Update to 3.20130710. From the changelog:schmonz2-7/+6
* blogspam: Fix encoding issue in RPC::XML call. Thanks, Changaco * comments: The formats allowed to be used in comments can be configured using comments_allowformats. Thanks, Michal Sojka * calendar: When there are multiple pages for a given day, they're displayed in a popup on mouseover. Thanks, Louis * osm: Remove trailing slash from KML maps icon. * page.tmpl: omit searchform, trails, sidebar and most metadata in CGI (smcv) * openid: Automatically upgrade openid_realm to https when accessed via https. * The ip() pagespec can now contain glob characters to match eg, a subnet full of spammers. * Fix crash that could occur when a needsbuild hook returned a file that does not exist. * Fix python proxy to not crash when fed unicode data in getstate and setstate. Thanks, chrysn * Fix committing attachments when using svn.
2013-05-31Bump all packages for perl-5.18, thatwiz1-1/+2
a) refer 'perl' in their Makefile, or b) have a directory name of p5-*, or c) have any dependency on any p5-* package Like last time, where this caused no complaints.
2013-05-19Update to 3.20130518. From the changelog:schmonz2-6/+6
* Fix test suite to not fail when XML::Twig is not installed. Closes: #707436 * theme: Now <TMPL_IF THEME_$NAME> can be used in all templates when a theme is enabled. * notifyemail: Fix bug that caused duplicate emails to be sent when site was rebuilt. * bzr: bzr rm no longer has a --force option, remove
2013-05-10Partially back out change to PYTHON_FOR_BUILD_ONLY.riastradh1-2/+2
This broke packages that needed a target Python at build-time. Instead, change it from defined/undefined to yes/no/tool. Most cases of defined used `yes' anyway; fix the few stragglers do that instead. New case `tool' is for TOOL_DEPENDS rather than buildlink3.
2013-05-05Update to 3.20130504. From the changelog:schmonz2-6/+6
* Allow dots in directive parameter names. (tango) * Add missing plugin section, and deal with missing sections with a warning. * Detect plugins with a broken getsetup and warn. * map: Correct reversion introduced in version 3.20110225 that could generate invalid html. (smcv) * Makefile.PL: overwrite theme style.css instead of appending (Thanks, Mikko Rapeli) * meta: Fix anchors used to link to the page's license and copyright. Closes: #706437
2013-04-08Define TEST_TARGET and set USE_LANGUAGES=c so tests can work.schmonz1-2/+4
(ikiwiki calls the C compiler when rebuilding the post-commit and/or CGI wrappers.)
2013-02-13Update to 3.20130212. From the changelog:schmonz4-156/+6
* htmlscrubber: Allow the bitcoin URI scheme. * htmlscrubber: Allow the URI schemes of major VCS's. * aggregate: When run with --aggregate, if an aggregation is already running, don't go on and --refresh. * trail: Avoid excess dependencies between pages in the trail and the page defining the trail. Thanks, smcv. * opendiscussion: Don't allow editing discussion pages if discussion pages are disabled. (smcv) * poll: Add expandable option to allow users to easily add new choices to a poll. * trail: Avoid massive slowdown caused by pagetemplate hook when displaying dynamic cgi pages, which cannot use trail anyway. * Deal with empty diffurl in configuration. * cvs: Various fixes. (schmonz) * highlight: Now adds a span with class highlight-<extension> around highlighted content, allowing for language-specific css styling.
2013-02-02Apply another bugfix to the CVS backend from my git repo:schmonz3-7/+19
* `91b477c0`: Fix diffurl links (cvsweb expects unescaped '/'). Bump PKGREVISION.
2013-01-28Apply the latest bugfixes to the CVS backend from my git repo:schmonz3-3/+116
* `6753235d`: Return bounded output from `rcs_diff()` when asked, as the API states. * `e45175d5`: Always explicitly set CVS keyword substitution behavior. Fixes behavior when a text file is added under a name formerly used for a binary file. * `b30cacdf`: If the previous working directory no longer exists after a CVS operation, don't try to `chdir()` back to it afterward. Bump PKGREVISION.
2013-01-15Pull in 12c9219 to squelch warnings with git on newer Perls. Bumpschmonz3-2/+27
PKGREVISION.
2012-12-12Update to 3.20121212. From the changelog:schmonz3-7/+8
* filecheck: Fix bug that prevented File::MimeInfo::Magic from ever being used. * openid: Display openid in Preferences page as a comment, so it can be selected in all browsers.
2012-10-28Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.asau1-3/+1
2012-10-17Update to 3.20121017. From the changelog:schmonz2-6/+6
* recentchangesdiff: fix further breakage to the template from 3.20120725
2012-10-17Update to 3.20121016. From the changelog:schmonz3-8/+9
* monochrome: New theme, contributed by Jon Dowland. * rst: Ported to python 3, while still also being valid python 2. Thanks, W. Trevor King * Try to avoid a situation in which so many ikiwiki cgi wrapper programs are running, all waiting on some long-running thing like a site rebuild, that it prevents the web server from doing anything else. The current approach only avoids this problem for GET requests; if multiple cgi's run GETs on a site at the same time, one will display a "please wait" page for a configurable number of seconds, which then redirects to retry. To enable this protection, set cgi_overload_delay to the number of seconds to wait. This is not enabled by default. * Add back a 1em margin between archivepage divs. * recentchangesdiff: Correct broken template that resulted in duplicate diff icons being displayed, and bloated the recentchanges page with inline diffs when the configuration should have not allowed them.
2012-10-03Bump all packages that use perl, or depend on a p5-* package, orwiz1-1/+2
are called p5-*. I hope that's all of them.
2012-08-27Update to 3.20120725. From the changelog:schmonz2-6/+6
* recentchangesdiff: When diffurl is not set, provide inline diffs in the recentchanges page, with visibility toggleable via javascript. Thanks, Antoine Beaupré * Split CFLAGS into words when building wrapper. Closes: #682237 * osm: Avoid calling urlto before generated files are registered. Thanks, Philippe Gauthier and Antoine Beaupré * osm: Add osm_openlayers_url configuration setting. Thanks, Genevieve * osm: osm_layers can be used to configured the layers displayed on the map. Thanks, Antoine Beaupré * comments: Remove ipv6 address specific code.
2012-07-01Update to 3.20120629. From the changelog:schmonz2-6/+6
* mirrorlist: Add mirrorlist_use_cgi setting that avoids usedirs or other config differences by linking to the mirror's CGI. (intrigeri)
2012-05-17Update to 3.20120516. From the changelog:schmonz2-6/+6
* meta: Security fix; add missing sanitization of author and authorurl. Thanks, Raúl Benencia
2012-04-20Update to 3.20120419. From the changelog:schmonz3-7/+9
* Remove dead link from plugins/teximg. Closes: #664885 * inline: When the pagenames list includes pages that do not exist, skip them. * meta: Export author information in html <meta> tag. Closes: #664779 Thanks, Martin Michlmayr * notifyemail: New plugin, sends email notifications about new and changed pages, and allows subscribing to comments. * Added a "changes" hook. Renamed the "change" hook to "rendered", but the old hook name is called for now for back-compat. * meta: Support keywords header. Closes: #664780 Thanks, Martin Michlmayr * passwordauth: Fix url in password recovery email to be absolute. * httpauth: When it's the only auth method, avoid a pointless and confusing signin form, and go right to the httpauthurl. * rename: Allow rename to be started not from the edit page; return to the renamed page in this case. * remove: Support removing of pages in the transient underlay. (smcv) * inline, trail: The pagenames parameter is now a list of absolute pagenames, not relative wikilink type names. This is necessary to fix a bug, and makes pagenames more consistent with the pagespec used in the pages parameter. (smcv) * link: Fix renaming wikilinks that contain embedded urls. * graphviz: Handle self-links. * trail: Improve CSS, also display trail links at bottom of page, and a bug fix. (smcv) Add dependency on p5-HTML-Tree, suggested by Matthias Rampke in PR pkg/45688.
2012-03-20Update to 3.20120203. From the changelog:schmonz4-25/+25
* osm: New plugin to embed an OpenStreetMap into a wiki page. Supports waypoints, tags, and can even draw paths matching wikilinks between pages containing waypoints. Thanks to Blars Blarson and Antoine Beaupré, as well as the worldwide OpenStreetMap community for this utter awesomeness. * trail: New plugin to add navigation trails through pages via Next and Previous links. Trails can easily be added to existing inlines by setting trail=yes in the inline. Thanks to Simon McVittie for his persistance developing this feature. * Fix a snail mail address. Closes: #659158 * openid-jquery.js: Update URL of Wordpress favicon. Closes: #660549 * Drop the version attribute on the generator tag in Atom feeds to make builds more reproducible. Closes: #661569 (Paul Wise) * shortcut: Support Wikipedia's form of url-encoding for unicode characters, which involves mojibake. Closes: #661198 * Add a few missing jquery UI icons to attachment upload widget underlay. * URI escape filename when generating the diffurl. * Add build-affected hook. Used by trail. pkgsrc changes: * Fix dependency on YAML::XS (reported by dholland). * Remove last local patch, now integrated upstream.
2012-03-15Bump PKGREVISION from default python to 2.7.obache1-1/+2
2012-02-03Update to 3.20120202. From the changelog:schmonz5-142/+13
* mdwn: Added nodiscount setting, which can be used to avoid using the markdown discount engine, when maximum compatability is needed. * Switch to YAML::XS to work around insanity in YAML::Mo. Closes: #657533 * cvs: Ensure text files are added in non-binary mode. (Amitai Schlair) * cvs: Various cleanups and testing. (Amitai Schlair) * calendar: Fix strftime encoding bug. * shortcuts: Fixed a broken shortcut to wikipedia (accidentially made into a shortcut to wikiMedia). * Various portability improvements. (Amitai Schlair)
2012-01-16Update to 3.20120115. From the changelog:schmonz2-6/+6
* Make backlink(.) work. Thanks, Giuseppe Bilotta. * mdwn: Workaround discount's eliding of <style> blocks. * attachment: Fix utf-8 display bug.
2012-01-09Update to 3.20120109. From the changelog:schmonz2-7/+7
* mdwn: Can use the discount markdown library, via the Text::Markdown::Discount perl module. This is preferred if available since it's the fastest currently supported markdown library, speeding up ikiwiki's markdown rendering by a factor of 40. (However, when multimarkdown is enabled, Text::Markdown::Multimarkdown is still used.) * On Debian, depend on libtext-markdown-discount. pkgsrc changes: * Change Perl Markdown dependency to p5-Text-Markdown-Discount.
2011-12-29Update to 3.20111229. From the changelog:schmonz3-11/+11
* Consume all stdin when rcs_receive short-circuits, to avoid git SIGPIPE race. * Add path and path_natural sort orders (smcv) * Test coverage can be checked with make coverage (smcv) * tag: encode categories using numeric values. (tango)
2011-12-01Update to 3.20111107. From the changelog:schmonz2-6/+6
* img: Bugfix to width/height tags for scaled down image when only one dimension was provided. Thanks, Per Carlson. * editpage: Fix FormattingHelp link on Discussion pages. * The umask setting can now be set to private, group, or public, avoiding the need to enter octal correctly which is particularly difficult in yaml setup files. (smcv) * graphviz: Support urls embedded in the graph, by having graphviz generate an imagemap. * graphviz: Support wikilinks embedded in the graph. (Sponsored by The TOVA Company.)
2011-11-07Update to 3.20111106. From the changelog:schmonz2-6/+6
* searchquery.tmpl: Track escaping change in upstream template. Thanks Olly Betts for review. * svn: Support subversion 1.7, which does not have .svn in each subdirectory. * rst: import docutils lazily, to avoid errors during ikiwiki --setup. Closes: #637604 (Thanks, smcv) * Make the setup automator create YAML formatted files. * Fix handling of discussion page creation links to make discussion pages in the right place and with the right case. Broken by page case preservation feature added in 3.20110707.
2011-09-25Replace `find -not` with `find !` to fix build on NetBSD.schmonz2-5/+7
2011-09-05Update to 3.20110905. From the changelog:schmonz5-15/+15
* mercurial: Openid nicknames are now used when committing. (Daniel Andersson) * mercurial: Implement rcs_commit_staged so comments, attachments, etc can be used. (Daniel Andersson) * mercurial: Implement rcs_rename, rcs_remove. (Daniel Andersson) * mercurial: Fix viewing of a diff containing non-utf8 changes. (Daniel Andersson) * mercurial: Make both rcs_getctime and rcs_getmtime fast. (Daniel Andersson) * mercurial: Implement rcs_diff. (Daniel Andersson) * po: Add `LANG_CODE` and `LANG_NAME` template variables. (intrigeri) * Fix typo in Danish translation of shortcuts page that caused exponential regexp blowup. * Fix escaping of html entities in permalinks. * Fix escaping of html entities in tag names. * Avoid using named capture groups in heredoc code for oldperl compatibility. * Put in a workaround for #622591, by ensuring Search::Xapian gets loaded before Image::Magick. * Add unminified jquery js and css files to source. * Update to jquery 1.6.2, and jquery-ui 1.8.14. * Use lockf rather than flock when taking the cgilock, for better portability. * search: Fix encoding bug in calculation of maximum term size. * inline: When indexing internal pages for searching, use the url of the inlining page. * Fix comments testsuite to not rely on Date::Parse's ability to parse the date Columbus discovered America. Closes: #640350 * Avoid warning message when generating setup file if highlight is not installed. Closes: #637606 * Promote RPC::XML to a Recommends, since it's used by auto-blog.setup. Closes: #637603 * Fix web revert of a file deletion.