aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/calendar.pm
Commit message (Collapse)AuthorAge
* Silence "used only once: possible typo" warnings for variables that are part ↵Simon McVittie2016-01-19
| | | | of modules' APIs
* Squelch "keys on reference is experimental".Amitai Schlair2014-12-27
|
* Fix numeric comparisons with undefSimon McVittie2014-11-26
|
* fix some typosSimon McVittie2014-11-26
|
* Merge remote-tracking branch 'spalax/calendar-autocreate'Simon McVittie2014-11-26
|\
| * Corrected error: month pages were created even without calendar_autocreate ↵Louis2014-11-14
| | | | | | | | config option
| * Deleted unnecessary codeLouis2014-11-14
| |
| * IndentationLouis2014-11-14
| |
| * Calendar pages are now rebuilt when previous or next page have changedLouis2014-07-07
| |
| * Making use of the transient pluginLouis2014-07-07
| |
| * Added option `calendar_fill_gaps`Louis2014-07-05
| |
| * Simplifying codeLouis2014-07-05
| | | | | | | | Thanks to review from http://ikiwiki.info/todo/calendar_autocreate/
| * calendar plugin: Autocreate archive pages if neededLouis2014-06-24
| |
* | Remove space from perl shebang path.Amitai Schlair2014-10-17
|/
* calendar: Display the popup mouseover when there is only 1 page for a given ↵Joey Hess2013-07-19
| | | | day, for better UI consistency.
* calendar: When there are multiple pages for a given day, they're displayed ↵Joey Hess2013-06-23
| | | | in a popup on mouseover. Thanks, Louis
* 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.