aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
Commit message (Expand)AuthorAge
...
* simplifyJoey Hess2012-03-27
* meta: Export author information in html <meta> tag. Closes: #664779 Thanks, M...Joey Hess2012-03-27
* remove debug message•••A file may have no git sha1 if it's in the underlay, or just is not checked into git. This debug message doesn't add any value and is potentially confusing. Joey Hess2012-03-22
* inline: When the pagenames list includes pages that do not exist, skip them.•••bestlink returns '' if no existing page matches a link. This propigated through inline and other plugins, causing uninitialized value warnings, and in some cases (when filecheck was enabled) making the whole directive fail. Skipping the empty results fixes that, but this is papering over another problem: If the missing page is later added, there is not dependency information to know that the inline needs to be updated. Perhaps smcv will fix that later. Joey Hess2012-03-21
* remove pod documentation•••This caused the build system to make unwanted man pages. Using comments instead. Joey Hess2012-03-19
* misc cleanupJoey Hess2012-03-18
* remove fullscreen option•••The cgi shows a fullscreen map, so having this other option to do it seems redundant, and also layering a fullscreen map over an existing wiki page doesn't look very good to me (and prevents editing the page etc). Joey Hess2012-03-18
* fix waypoint hrefsJoey Hess2012-03-18
* fix href parameter for osm•••This was not set anywhere, which causes their javascript to crash. It *seems* the idea is this is the url to use to view the map full screen, which uses ikiwiki.cgi. Joey Hess2012-03-18
* multiple osm fixes•••* fix will_render calls to pass proper relative filenames * fix urls to kml etc files to not assume wiki's top is at / * avoid building the javascript to display the map in two different ways between the cgi and on-page maps * refactor duplicate code Joey Hess2012-03-18
* load index file in osm cgi hook•••This hook involves urlto, and that needs to have state loaded to work in all situations. Note that I can see no reason for the osm plugin to use a cgi hook at all. This could just as well be a static html page! Joey Hess2012-03-18
* avoid unnecessary uses of UNIVERSAL•••Foo->Bar->can("method") works just as well, even if Foo::Bar is not loaded. Using UNIVERSAL::can is deprecated. But, I was unable to easily eliminate conditional.pm's use of UNIVERSAL::can Joey Hess2012-03-18
* changelogJoey Hess2012-03-18
|\
| * Add a build_affected hook so trail doesn't have to inject•••In principle, building any pages affected by links, backlinks etc. could work the same way. Simon McVittie2012-03-18
| * Replace [[!trailinline]] directive with [[!inline trail=yes]]Simon McVittie2012-03-18
| * Merge tag '3.20120202' into trail3-integratedSimon McVittie2012-03-18
| |\
| * | Split trail directive into trailitems, trailoptionsSimon McVittie2011-11-12
| * | trail: update documentation; drop docs for directives, which are now in the wikiSimon McVittie2011-11-12
| * | trail: improve and test sortingSimon McVittie2011-11-12
| * | trail: avoid collecting trail members twiceSimon McVittie2011-11-12
| * | Add path and path_natural sort ordersSimon McVittie2011-11-12
| * | trail: new plugin (3rd attempt)Simon McVittie2011-11-09
* | | make icon absolute•••it is put into kml files, etc Joey Hess2012-03-13
* | | avoid double amp escapingJoey Hess2012-03-13
* | | various fixes to links•••Build links the right way. This also involved dropping that leading slash on the osm_default_icon. And since it would require changing the old osm_tag_icons too, I just removed that relic. Joey Hess2012-03-13
* | | fix writing of kml file•••It just didn't work, but also, it didn't use writefile, which is not desirable for security. Fixed both issues. Also removed some unnecessary debug messages. Joey Hess2012-03-13
* | | URI escape filename when generating the diffurl.•••ikiwiki source files can contain at least one character that needs to be escaped in an url: + Joey Hess2012-03-13
* | | move osm.js to osm underlay and osm does not need javascript underlayJoey Hess2012-03-03
* | | properly link to javascript underlayAntoine Beaupré2012-03-03
* | | split off the javascript in a separate fileAntoine Beaupré2012-03-03
* | | add osm.png•••Add an underlay for the osm plugin. Update links to right path to icon. Note that the osm plugin has a pervasive bug in how it links to icons; it assumes the site is at /. I did not attempt to fix that; it should be using urlto() to make a correct relative link. Joey Hess2012-03-03
* | | reindentation and style•••no code changes Joey Hess2012-03-03
* | | add osm pluginJoey Hess2012-03-03
* | | shortcut: Support Wikipedia's form of url-encoding for unicode characters•••I think it's the wrong encoding, seems like mojibake to me, but it works now. Closes: #661198 Joey Hess2012-03-03
* | | 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 Paul Wise2012-03-03
* | | Fix a snail mail address. Closes: #659158Joey Hess2012-02-08
* | | fix display of page name in recentchanges after a revert•••When the wiki is in a subdir of the git repo, a web revert would show in recentchanges as eg, doc/index, instead of just index. This happened because decode_git_file caches a $prefix that is dependant on the $git_dir setting, and the revert code runs with a different $git_dir, which polluted the $prefix for later. Fix this by adding a with_git_dir that juggles the variables properly. Joey Hess2012-02-07
| |/ |/|
* | revert change to prettydate•••Its strftime is from Date::Format, doesn't have the problem, and using the POSIX one breaks its %o. Joey Hess2012-02-02
* | Merge remote-tracking branch 'schmonz/portability'Joey Hess2012-01-30
|\ \
| * | When generating scripts, give them the interpreter we generated them with.Amitai Schlair2012-01-08
* | | calendar, prettydate: Fix strftime encoding bug•••strftime is a C function, it does not return decoded utf8. Several places in ikiwiki manually decoded it, but at least two forgot to. Also, strftime might not return even encoded utf8, if LC_TIME is set to a non-utf8 value. Went ahead and supported decoding whatever encoding it uses. The remaining direct calls to strftime() are all ones that first set LC_TIME=C, in order to get times that are not for human display. Joey Hess2012-01-30
* | | Merge remote-tracking branch 'schmonz/cvs'Joey Hess2012-01-30
|\ \ \
| * | | Move cvs_keyword_subst_args() down with the other internal support routines.Amitai Schlair2012-01-26
| * | | Uncomment the CVS keyword substitution mode tests, and make them pass:•••Extract cvs_keyword_subst_args() and ensure it runs in $config{srcdir}. Using Perl's -T operator appears to work equally well, perhaps switch? Amitai Schlair2012-01-26
| * | | Mollify strictures about barewords.Amitai Schlair2012-01-26
| * | | Merge branch 'master' of git://git.ikiwiki.info into cvsAmitai Schlair2012-01-25
| |\ \ \
| * | | | No functional change: sort sub definitions.•••In the code: * general plugin API calls (in plugins/write order), * VCS plugin API calls (in plugins/write order), then * internal support routines (in alphabetical order). In the tests: * general meta-behavior (in no particular order, yet), * general plugin API calls (in plugins/write order), * VCS plugin API calls (in plugins/write order), then * internal support routines (in semi-logical order). Amitai Schlair2012-01-22
* | | | | Switch to YAML::XS to work around insanity in YAML::Mo. Closes: #657533•••https://rt.cpan.org/Ticket/Display.html?id=74487 Gave up trying to support multiple YAML backends. The XS one requires ugly manual encoding to get unicode right, and doesn't allow dumping yaml fragments w/o the yaml header, but at least it doesn't randomly crash on import like YAML::Mo has started to. Joey Hess2012-01-28
| |/ / / |/| | |
* | | | recentchangesdiff: truncate extremely large diffs•••A diff was already truncated after 200 lines. But it could still be arbitrarily enormous, if a spammer or other random noise source likes long lines. That could use a lot of memory to html encode etc the diff and fill it into the template. Truncating after 100kb seems sufficient; it allows for 200 lines of up to 512 characters each. Joey Hess2012-01-23
* | | | fix the nodiscount settingJoey Hess2012-01-23
|/ / /