aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/calendar.pm
Commit message (Collapse)AuthorAge
* Fix a snail mail address. Closes: #659158Joey Hess2012-02-08
|
* calendar, prettydate: Fix strftime encoding bugJoey Hess2012-01-30
| | | | | | | | | | | | | 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.
* needsbuild hook interface changed; the hooks should now return the modified ↵Joey Hess2010-09-07
| | | | array of things that need built. (Backwards compatability code keeps plugins using the old interface working.)
* calendar: Tune archive_pagespec to only match pages, not other files.Joey Hess2010-06-15
|
* calendar stylingJoey Hess2010-06-10
| | | | | | * 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.
* calendar: Display year name in title of month calendar.Joey Hess2010-05-08
| | | | Also, fix relative month calculations.
* calendar: nextchange calculation bugfixJoey Hess2010-05-08
| | | | | 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.
* calendar: Allow negative month to be specified. -1 is last month, etc. (And ↵Joey Hess2010-05-08
| | | | also negaitve years.)
* 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
| | | | which pages to include on the calendar archive pages. (The pagespec can still also be specified on the ikiwiki-calendar command line.)
* audited use POSIXJoey Hess2010-03-19
| | | | | | 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.)
* 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 postsJoey Hess2009-10-12
| | | | | This does mean the year calendars depend on existence of all posts made in the year and have to be updated.
* remove whitespace from within arrow linksJoey Hess2009-10-12
|
* calendar: Add creation time limits to user's pagespecJoey Hess2009-10-12
| | | | | This avoids all calendars rebuilding when a new page is added that will only show in one of them.
* calendar: Fix CSS for year calendar to match the plugin documentation.Joey Hess2009-10-12
| | | | | The names in the documentation were completly different, but also seemed better chosen than the names in the code.
* calendar: avoid inline images in linksJoey Hess2009-10-11
|
* calendar: use left and right arrows for next/prev monthsJoey Hess2009-10-11
| | | | | This is consistent with the year display, and I think it is less visually confusing than using the full month names.
* fix next/prev month padding bugJoey Hess2009-10-11
|
* fix day linksJoey Hess2009-10-11
| | | | I broke this recently.
* calendar: Fix bug in next/previous year/month links, which sometimes linked ↵Joey Hess2009-10-11
| | | | to an archive page from the wrong year.
* calendar: Fix midnight rebuild trigger of calendars with explicit month/year.Joey Hess2009-10-11
| | | | | | | It was just broken for calendars with an explicit month or year, not triggering at all. Now it will update those at appropriate times.
* avoid temporary variablesJoey Hess2009-10-11
| | | | and fix a bug in pagespec variable name
* rename use_pagespec to pagespec_match_listJoey Hess2009-10-08
| | | | | To avoid breaking plugins, also support the old pagespec_match_list calling convention, with a deprecation warning.
* calendar: rework so it can use use_pagespecJoey Hess2009-10-08
| | | | | | | | | | | | | | | 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!)
* change how dependency types are specified to add_dependsJoey Hess2009-10-08
| | | | Also, this fixes 2 bugs in dependency info.
* remove explicit addition of dependencies for displayed pagesJoey Hess2009-10-07
| | | | that hack is not needed, thanks to pagespec influences calculation
* rework dependency types codeJoey Hess2009-10-04
| | | | | Simplify, change default content depends number to 1, change interface to make more sense.
* calendar: all dependencies are contentlessJoey Hess2009-10-04
|
* Revert "Allow add_depends to take an arrayref"Joey Hess2009-08-25
| | | | | | This reverts commit e4cd168ebedd95585290c97ff42234344bfed46c. There was no benefit to this change.
* Allow add_depends to take an arrayrefSimon McVittie2009-08-25
|
* calendar, inline, map: don't pre-join dependenciesSimon McVittie2009-08-24
| | | | | | 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.
* indentationJoey Hess2009-08-15
|
* pagespec_match_list added and used in most appropriate placesJoey Hess2009-04-23
| | | | | | | | * 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.
* 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)Joey Hess2008-08-03
| | | | too many plugins.. brain exploding..
* remove default values in getsetupJoey Hess2008-07-26
| | | | | They were a bit confusing, since they did not actually set the default, and example values are sufficient.
* 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 ↵Joey Hess2008-01-29
| | | | removed
* reorgJoey Hess2007-12-09
|
* logic fixJoey Hess2007-12-08
|
* * The calendar plugin stores state about when it needs to be updated,Joey Hess2007-12-08
| | | | | | | | 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.
* fix foldingjoey2007-10-23
|
* explicitly use POSIXjoey2007-10-23
|