aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/calendar.pm
Commit message (Expand)AuthorAge
* needsbuild hook interface changed; the hooks should now return the modified a...Joey Hess2010-09-07
* calendar: Tune archive_pagespec to only match pages, not other files.Joey Hess2010-06-15
* calendar styling•••* calendar: Shorten day names, and improve styling of month calendar. * style.css: Reduced sidebar width back to 20ex from 30; the month calendar will now fit in the smaller width, and 30 was feeling too large. Joey Hess2010-06-10
* calendar: Display year name in title of month calendar.•••Also, fix relative month calculations. Joey Hess2010-05-08
* calendar: nextchange calculation bugfix•••If a page had multiple calendars, the last one won and set nextchange. That's wrong; the calendar that needs to next update soonest should win. Joey Hess2010-05-08
* calendar: Allow negative month to be specified. -1 is last month, etc. (And a...Joey Hess2010-05-08
* calendar: Improved display of arrows.Joey Hess2010-04-15
* calendar: Add archive_pagespec, which is used by ikiwiki-calendar to specify ...Joey Hess2010-04-15
* audited use POSIX•••The POSIX perl module exports a huge number of functions by default, so make sure all imports are qualified. (And remove one that was not necessary.) Joey Hess2010-03-19
* setup file orderingJoey Hess2010-02-12
* Terminate the arrow entities with ";"Torsten Veller2010-01-02
* calendar: Fix month wraparound error that broke in December.Joey Hess2009-12-02
* calendar: Add title attributes for all links in the calendars.Joey Hess2009-11-26
* year calendar: Avoid highlighting the current month in a different yearJoey Hess2009-10-12
* year calendar: only link to months that have posts•••This does mean the year calendars depend on existence of all posts made in the year and have to be updated. Joey Hess2009-10-12
* remove whitespace from within arrow linksJoey Hess2009-10-12
* calendar: Add creation time limits to user's pagespec•••This avoids all calendars rebuilding when a new page is added that will only show in one of them. Joey Hess2009-10-12
* calendar: Fix CSS for year calendar to match the plugin documentation.•••The names in the documentation were completly different, but also seemed better chosen than the names in the code. Joey Hess2009-10-12
* calendar: avoid inline images in linksJoey Hess2009-10-11
* calendar: use left and right arrows for next/prev months•••This is consistent with the year display, and I think it is less visually confusing than using the full month names. Joey Hess2009-10-11
* fix next/prev month padding bugJoey Hess2009-10-11
* fix day links•••I broke this recently. Joey Hess2009-10-11
* calendar: Fix bug in next/previous year/month links, which sometimes linked t...Joey Hess2009-10-11
* calendar: Fix midnight rebuild trigger of calendars with explicit month/year.•••It was just broken for calendars with an explicit month or year, not triggering at all. Now it will update those at appropriate times. Joey Hess2009-10-11
* avoid temporary variables•••and fix a bug in pagespec variable name Joey Hess2009-10-11
* rename use_pagespec to pagespec_match_list•••To avoid breaking plugins, also support the old pagespec_match_list calling convention, with a deprecation warning. Joey Hess2009-10-08
* calendar: rework so it can use use_pagespec•••This was tricky because of the caching, and because use_pagespec always adds a dependency. That would have made year calendars depend on the whole pagespec, which is overly broad. So I removed the caching, format_month, and in format_year just look at %pagesources to see if month pages are available. In format_month, I make it always call use_pagespec, so each month calendar gets the right dependency and any influcences added. This means a bit more work, but the added work is fairly minimal, and presence dependencies remove a *lot* of work it used to do. (100% untested!) Joey Hess2009-10-08
* change how dependency types are specified to add_depends•••Also, this fixes 2 bugs in dependency info. Joey Hess2009-10-08
* remove explicit addition of dependencies for displayed pages•••that hack is not needed, thanks to pagespec influences calculation Joey Hess2009-10-07
* rework dependency types code•••Simplify, change default content depends number to 1, change interface to make more sense. Joey Hess2009-10-04
* calendar: all dependencies are contentlessJoey Hess2009-10-04
* Revert "Allow add_depends to take an arrayref"•••This reverts commit e4cd168ebedd95585290c97ff42234344bfed46c. There was no benefit to this change. Joey Hess2009-08-25
* Allow add_depends to take an arrayrefSimon McVittie2009-08-25
* calendar, inline, map: don't pre-join dependencies•••The new dependency handling works better (eliminates more duplicates) if dependencies are split up. On the same wiki mentioned in the previous commit, this saves about a second (i.e. 4%) on the same test. Simon McVittie2009-08-24
* indentationJoey Hess2009-08-15
* pagespec_match_list added and used in most appropriate places•••* pagespec_match_list: New API function, matches pages in a list and throws an error if the pagespec is bad. * inline, brokenlinks, calendar, linkmap, map, orphans, pagecount, pagestate, postsparkline: Display a handy error message if the pagespec is erronious. Joey Hess2009-04-23
* finalise version 3.00 of the plugin apiJoey Hess2008-12-23
* Coding style change: Remove explcit vim folding markers.Joey Hess2008-12-17
* add plugin safe/rebuild info (part 1 of 2)•••too many plugins.. brain exploding.. Joey Hess2008-08-03
* remove default values in getsetup•••They were a bit confusing, since they did not actually set the default, and example values are sufficient. Joey Hess2008-07-26
* two typosJoey Hess2008-07-26
* added getsetup hooks for all plugins up to recentchangesJoey Hess2008-07-25
* add missing test to avoid uninitialised value when a page with metadata is re...Joey Hess2008-01-29
* reorgJoey Hess2007-12-09
* logic fixJoey Hess2007-12-08
* * The calendar plugin stores state about when it needs to be updated,••• and forces rebuilds of the pages that contain calendars. So running ikiwiki --refresh at midnight is now enough, no need for a full wiki rebuild each midnight. * calendar: Work around block html parsing bug in markdown 1.0.1 by enclosing the calendar in an extra div. Joey Hess2007-12-08
* fix foldingjoey2007-10-23
* explicitly use POSIXjoey2007-10-23
* * Add a calendar plugin, contributed by Manoj Srivastava.•••* Reformat calendar plugin to ikiwiki conventions. * The calendar plugin made *every* page depend on every other page, which seemed a wee tiny little bit overkill. Fixed the dependency calculations (I hope.) * Removed manual ctime statting code, and just have the calendar plugin use %pagectime. joey2007-10-23