calendar 8.x-1.0-beta1

Bug fixes

Initial support for Drupal 10 and dropping support for Drupal 8

calendar 8.x-1.0-alpha5

Bug fixes

Bugs fixed for year view

Contributors (4)

larisse, manuga, snaphuman, jplana

Changelog

Issues: 1 issues resolved.

Changes since 8.x-1.0-alpha4:

calendar 8.x-2.x-dev

New features

# Calendar 8.x-2.x

## INTRODUCTION
Calendar for D8 v2 is a near complete rewrite of the Calendar module.
This module provides views plugins for style, argument, pager and (header) area.

Relevant changes from 8.x-1.x branch:

calendar 8.x-1.0-alpha1

Bug fixes

This release is started with the combined patch from Issue #3079917. I will try to add other applicable RTBC patches ASAP.

calendar 7.x-3.5

Bug fixes

======================
Version 7.x-3.5
======================

- Issue #1729884 by lund.mikkel: Translations of max items collide with other translations.
- Issue #1734858 by Jaws, pc-wurm: Create localized_options array in calendar_menu_local_tasks_alter() if it does not exist.
- Issue #2008554 by coredumperror: Properly display week numbers in mini calendar view.
- Issue #1471400 by RoSk0, Garrett Albright: Fix illegal offset in template_preprocess_calendar_month().
- Issue #1792368 by rdela, Day template missing % after $first_column_width

calendar 7.x-3.4

Bug fixes

======================
Version 7.x-3.4
======================

- Remove calendar_row_node completely.
- Remove Calendar iCal completely.
- Issue #1552212, Week numbers in the month view lost their links.
- Change default tracking behavior to be off.
- Issue #1556180 by hass, Error: Strict warning: Declaration of calendar_plugin_style::options_submit().
- Issue #1588590, Cannot always unset date link once set.
- Issue #1565994, Remove default caching from calendar. Let people set it up themselves.

calendar 7.x-3.3

New features
Bug fixes

======================
Version 7.x-3.3
======================

NEW FEATURES:
- An option to add Colorbox settings to the calendar template has been added to admin/config/date/calendar.
- The template has been updated to add the Colorbox settings if the option to use them has been selected and Colorbox is enabled.
- The theming has been altered a bit to make sure that you can display a rendered entity in a Colorbox field.
- A new calendar style option has been added to choose fields to exclude from multi-day rows, so multi-day rows can be set up to display only the Colorbox picker.

BUGFIXES:

- Delete all the code used to remove default calendars, no longer needed now that the default calendar has been removed.
- Issue #1543930 by johnv, Fix taxonomy stripe settings so they don't depend on formatter.
- Move session tracking option to be a global option instead of a per-display option.
- Issue #1551112, Make sure items without colors don't show up in the legend.
- Issue #1545240, Don't try to set the date link if there is no link_display set.
- Issue #1291768, Document caching options and add default caching to the templates.
- Issue #1541938, Fix error when displaying the week number.
- Issue #1550836, Fix logic error in overlapping week view that was keeping the overlap classes from getting set.

calendar 7.x-3.2

Bug fixes

======================
Version 7.x-3.2
======================

Please read the notes for the 3.1 release as well.

- Issue #1537598, Fix misc errors in day display caused when some items were not getting rendered due to a badly placed 'continue' in the loop.

calendar 7.x-3.1

New features
Bug fixes

======================
Version 7.x-3.1
======================

DEPRECATED ELEMENTS:

- The default calendar has been removed. If you have calendars created with the old default calendar you should re-create them using the new template.
- The Calendar iCal module has been hidden so you can't enable it and will be deleted completely in the next release. Use the new Date iCal module instead.
- The Calendar Items row plugin has been removed from the UI and will be deleted completely in the next release.

NEW FEATURES:
- The legend block has been reworked to eliminate storing stripes in $GLOBALS, making it cacheable. A new configuration option sets the view that is used for the stipe options.
- Add the headers attribute to multiday calendar tables for html5 compliance and accessibility.
- Issue #1535346, Rework the calendar tab handling to get rid of custom tabs and add in a setting to track the current date.
- Issue #1535346 continuation, rework the current date tracking to use the new date_default_argument_alter hook.

There have been numerous problems with the way the tabs are working. They revert to the current day when you switch from one display to another. They are not translating correctly. Sometimes the paths are incorrect (i.e. if there are other arguments in the display). Some people don't want the tabs. Other people want additional tabs.

calendar 7.x-3.0

New features
Bug fixes

======================
Version 7.x-3.0
======================

NOTES:

This update deprecates the Calendar iCal module, which should be replaced with
the new Date iCal module (http://drupal.org/project/date_ical). The Calendar
iCal module will disappear completely in a future release.

The default calendar view is deprecated in this version. New calendar should be
created using templates, using the 'Add view from template' link at the top
of the Views list.

If you are having any trouble with older views, it is highly recommended to delete
the old view and start over with the template. It will probably save you a lot
of time in the long run.

- Issue #1445228 by Jaza, Calendar granularity path causing PHP notices.
- Issue #1439832 by Dave Reid and HorsePunchKid, Undefined index error 'redirect' when using redirect module.
- Mark Calendar iCal elements as deprecated.
- Update calendar template to use Date iCal instead of Calendar iCal.
- Fix broken url handling in the row plugin.
- We need to add the entity type to the calendar template name because we have duplicate fields on various entities, like timestamp and changed.
- Switch to using entity_lable() and entity_uri() in row handler.
- Issue #1284170 by benjifisher, Lots of cleanup of the iCal export and its template to be sure all day items are exported correctly.

calendar 7.x-3.0-rc1

Bug fixes

======================
Version 7.x-3.0-rc1
======================

NOTES:
This release deprecates the old Calendar Items row plugin and replaces it with
a new Calendar Entities row plugin that will work with any entity.

calendar 7.x-3.0-alpha2

Bug fixes

======================
Version 7.x-3.0-alpha2
======================

NOTES:
The links at the top of the calendar page have been reworked into tabs. They will not show up
until you clear the caches. Use hook_calendar_links_alter() to alter the links or the titles
or to empty the links array if you don't want to see them.

- Issue #1302052 by benjifisher, penguin25, and helmo, Fix linespace ending problems in ical files.
- Issue #704068, Avoid undefined variable error by not returning a value we don't even need.
- Issue #1388364, Do some clean up of the handling for taxonomy stripes.
- Issue #1303458. Make sure calendar tabs work right without clean urls.
- Issue #1270538, Fix notice for missing index 'access'.
- Issue #1259870, Reinstate the test for a missing date argument for the pager and add to the message a warning that the problem could be that the default date is missing from the argument.
- Issue #1305938 by kristiaanvandeneynde and KarenS, Make sure the overlapping items work correctly with half hour grouping, and don't allow it for custom time groupings.
- Issue #1259992 by jlyon, slerby, and KarenS, The maximum items processing was not working right.
- Issue #1260380, Some items showing up in wrong time periods because wrong value is used to create the start date bucket.
- Issue #1292148, Make scrolling in day and week view optional.

calendar 7.x-3.0-alpha1

New features
Bug fixes

Starting new branch with a total rework of Calendar, using a Views pager plugin for the back/next navigation, a row plugin to explode the view results into calendar day items, and a style plugin to disply the results in a calendar.

Be sure to read the README.txt file for information about upgrading from 7.2 to 7.3!

======================
Version 7.x-3.0-alpha1
======================

Initial release of 7.3 branch.

- Get colorpicker working again with an assist from the Examples module Field example.
- Issue #1227128 The ical feed needs to have a '.ics' extension on it.
- The ical icon was not attaching to block views.
- The row plugin needs to clone the node before altering it, or other views on the same page that use the same node will acquire things like the 'date_id' that the row plugin is setting.
- Issue #1222770 Lighten the color of the date in month 'overflow' days so it is clearer that they are out of scope for the view.
- Issue #1223500 Fix the day link in the year view to point to the day view rather than the year view.
- Add the date sort field to the default view so upcoming events sort correctly.
- Change the default setting for the day view and make sure that the style does not try to create overlap items if it is missing the groupby value (which the default view was doing.)

calendar 7.x-3.x-dev

New features

New branch for a total rewrite of calendar to simplify it and take better advantage of Views pager, row, and style plugins.

calendar 7.x-2.0-alpha1

Bug fixes

======================
Version 7.x-2.0-alpha1
======================

- Issue #1137538 Views renamed 'wildcard' to 'exception'.
- Issue #1135064 by Niremizov and KarenS, Don't try to get ui_name() before handler is initialized to avoid fatal errors when editing settings.
- Add date fields to the calendar view so we can process them normally.
- More cleanup of ical, by ankur and KarenS.
- Issue #1096224 Make sure we don't get notice on views that have no rendered fields.
- Issue #1087528 by thekevinday and KarenS, clean up ical handling.
- A little reorganization to get a shared function out of theme.inc.
- Rework calendar node processing to use ->style_plugin->render_fields() instead of trying to render them individually. Probably still some work to do on this change, but it cleans things up and prevents accidentally tromping on other fields in the view.
- Moved a variable we still need in the navigation, move it back.
- Issue #1130966, re-organize the theme processing so it the day and week views work right in the new Views preview pane.
- Issue #1119752 by cezaryrk, Eliminate Views token handling errors when manually theming calendar items.
- Views renamed 'wildcard' to 'exception'.
- Fix references to the 'date_argument' argument, it now might also be the simple argument as well.
- Fix reference to function that was renamed in Date module.

calendar 7.x-2.x-dev

New features
Bug fixes

This is the companion to the 7.x-2.x Date release.

calendar 7.x-1.0-alpha3

Bug fixes

Argh! Fixing the field handling broke the handling for system dates. Try again.

calendar 7.x-1.0-alpha2

Bug fixes

Views made lots of changes to field handling just before the new release, which broke lots of things here. Adding some work-arounds to get things working again and waiting until the dust settles on how the new core fields will be handled in Views before doing much more with the Views integration. These changes should get things working with latest Views release.

calendar 6.x-2.4

Bug fixes

Version 6.2.4
=============
- Theme folder got lost in 6.2.3 release.

Version 6.2.3
=============
- #811704 Fix broken handling of calendar links that looses track of where you are if you click around too much.
- #720868 by dereine and KarenS, Fix argument handling for dates outside allowed range so only page views return 404.
- #1005412 by developer-x, fix multiday date id.
- #999708 Try to avoid fatal errors from duplicate functions when enabling the Multiday module.
- #1003938 Fix position of multiday navigation when displayed in a block.
- #708258 by Kars-T, remove D7 drupal_exit() call from popup.
- #372988 by joachim, Eliminate 'broken field' message in view summary when no date link is chosen.
- #870018 by crell, don't call date_limit_format thousands of times.
- #931392 by developer-x, Add multiday striping effect as an optional alternative display.
- #978442 by bwynants and KarenS, fix some remaining brokenness from ical validation fix.
- #638620 by ericduran, show add event link to user with administer nodes permissions.
- #439454 by TheRec, Darren Oh, don't show link to calendar day if there are no items.
- #389334 by Gribnif and dnotes, fix ical feed to show all repeating dates.
- #513794 by jhedstrom, add array keys to calendar links for easier theming.
- #638304 by bricef, make sure time groupings display all items.

calendar 6.x-2.3

New features
Bug fixes

Version 6.2.3
=============
- #811704 Fix broken handling of calendar links that looses track of where you are if you click around too much.
- #720868 by dereine and KarenS, Fix argument handling for dates outside allowed range so only page views return 404.
- #1005412 by developer-x, fix multiday date id.
- #999708 Try to avoid fatal errors from duplicate functions when enabling the Multiday module.
- #1003938 Fix position of multiday navigation when displayed in a block.
- #708258 by Kars-T, remove D7 drupal_exit() call from popup.
- #372988 by joachim, Eliminate 'broken field' message in view summary when no date link is chosen.
- #870018 by crell, don't call date_limit_format thousands of times.
- #931392 by developer-x, Add multiday striping effect as an optional alternative display.
- #978442 by bwynants and KarenS, fix some remaining brokenness from ical validation fix.
- #638620 by ericduran, show add event link to user with administer nodes permissions.
- #439454 by TheRec, Darren Oh, don't show link to calendar day if there are no items.
- #389334 by Gribnif and dnotes, fix ical feed to show all repeating dates.
- #513794 by jhedstrom, add array keys to calendar links for easier theming.
- #638304 by bricef, make sure time groupings display all items.
- #697738 by Zoltan Balogh and Magnus, clean html out of translation strings.

calendar 6.x-2.2

Security update
Bug fixes

Version 6.2.2
=============
- #429446 Col element must not be in thead.
- #506944 Localize more link in jcalendar popup.
- #529826 Add check_plain().
- #489722 Remove mistake that caused year calendar to process endlessly.
- #389294 Require the date field in calendar style, needed to identify what cell the date belongs in.
- #452690 Avoid errors when some date fields are empty (usually when there are multiple date fields in view.)
- #389294 Avoid errors when date argument or filter is not available as a date field.

calendar 5.x-2.7

Bug fixes

- #361925 Body was missing in iCal export, needs a node_load() in the theme to work.
- #444526 Fix typo in variable name for calendar truncation.
- #427996 Calendar more link logic was reversed.

calendar 6.x-2.1

Bug fixes
Insecure

Version 6.2.1
=============
- #385886 Add handling for non-node date fields.
- #360967 Add method for deleting a custom default calendar.

calendar 6.x-2.0

New features
Bug fixes
Insecure

- #377760 Fix alias handling for node edit and delete links.
- Fix the way the node type filter was configured in the default view.
- Get rid of truncated field display options, Views now handles that.
- #372625 Reset year granularity after processing months on year view now that Views has changed processing order, also omit deprecated themes, we now use date_nav_title.
- #345077 Make sure duplicate copies of the date field each get to theme the raw, unaltered, data.
- #338253 Re-work date_t() to create a more robust method of handling translations of abbreviations and other short strings.
- Add more description text to the ical description and location fields to clarify that you have to add fields to the view.
- #368632 Make sure iCal exports handle multi-day dates correctly.
- Clean up inconsistent use of calendar_display and calendar_type to use only calendar_type.
- #365113 Remove agenda hour column when not grouping by hour.
- #357019 Add method to hide all items and show only count or 'more' link.
- #350229 Make sure Calendar doesn't get updated before Views.
- #341841 Add 'has-events' and 'has-no-events' classes for easier themeing.
- Make sure there is a sane defualt value for the iCal summary field to avoid theme errors.
- #364770 Add new date link needs to convert underscore to hyphen.

calendar 6.x-2.0-rc6

Bug fixes
Insecure

Version 2.0 rc6
=================

- All day events were getting dropped.
- #341202, #339457, #337952, #329128, #337787, #341203, Fix repeating and multiple date displays.
- #303714 Make sure calendar obeys the date format chosen in the view now that the Date module has a 'time' format available.
- #340604 Seed taxonomy color stripes with #ffffff to be sure the colorpicker works right.
- #340215 Fix broken method of setting the key for start times.
- Get rid of hard-coded 'UTC' for database values in favor of consistently using date_get_timezone_db().
- Make sure parent pre_execute() function is called so things like items per page get set.
- Set calendar item font size at a higher level to make sure all sub-elements pick it up and make it easier to override in the theme.
- Make sure node stripes aren't created when there is no stripe color set.
- Don't truncate fields if there is no truncate value.
- Fix field name code in default view, don't add '_value' to core fields!
- Make sure default view doesn't make any assumptions about available content types.
- #337635 Make sure Views doesn't limit the calendar results to 10 items in the calendar style.
- #338515 Initialize $date_field_options to avoid error when editing style.
- Consolidate error messages about missing Date arguments so we don't get the message repeated, and add more info about how to fix.

calendar 5.x-2.4

Bug fixes

Version 5.2.4
===============

- Set day-splitting timezone to be sure it will split days using the time displayed in the calendar.
- Adapt processing to make sure only selected dates display in nodes, views, and calendars.
- Add option to maximum items per day to either show maximum plus 'more' link or hide all and link to day.
- #324061, #324701 Revert the calendar_colorpicker.js back to the D5 version, it got switched to the D6 version accidentally.
- Adjust the recent changes to the navigation header to be sure only the calendar header and not the date browser is affected.
- #292164 Keep calendar date selector description from floating out of block in IE.
- #298929 Fix code so that calendar legend doesn't display empty div when empty.
- Make some fixes to the calendar legend to be sure text added for accessibility stays invisible in all themes.
- Rework html of Year view so month titles will match block view month title for easier css themeing.
- #323265 Add year as well as month to calendar titles.
- #319344 Add 'empty' class and updated css styles provided by MothersClick.com.
- #319344 Add method of truncating title and other fields in calendar cells.
- #174580 Add min/max year setting to Date argument and set Page Not Found outside that range.
- #174580 Add rel=nofollow to back/next links.

calendar 6.x-2.0-rc5

New features
Bug fixes
Insecure

Version 2.0 rc5
=================
Note:

The Day and Week templates have changed, so custom themes may need to be updated.
The new templates create an agenda-style display where events are grouped by hour.

New Features:
=============
- Update day and week view to use new configurable, agenda-style calendar views grouped by hour.
- #337004 By hotspoons: Add settings to display calendar legend colors based on taxonomy.
- #319344 By MothersClick.com: Add updated css styles, settings to truncate titles in calendar cells
and limit the number of events that display in calendar cells.
- Make default calendar view configurable so we can create default calendars for specific date fields.
- Add a date_embed_view() function to provide a way to embed views and have their navigation move
either together or separately, and document it in Advanced help.
- Start building Advanced help instructions, including how to do iCal import using Feed API.
- #290365 Add upcoming events block to default calendar.

Other:
======
- Rename values added to views to avoid name clashes and keep all date values together.
- #329153 Make sure day link in calendar mini block goes to full day view.
- Set day-splitting timezone to be sure it will split days using the time displayed in the calendar.
- #329418 Fix week number formatting.

calendar 6.x-2.0-rc4

Bug fixes
Insecure

- Change the jcalendar code to use the new display_ids.
- Make it possible to expose the calendar parts in the UI. To make this work better, combine year, month, day, and week handlers into a single handler.
- #311485 Make sure mini calendar has the right number of columns if using week number.
- #317660 Hard code line feeds in ical export to be sure they come through correctly in all systems.
- Start adding in Advanced help for the calendar.
- Move the colorpicker js info to the plugin so it isn't loaded everywhere.

calendar 6.x-2.0-rc3

Bug fixes
Insecure

Version 2.0 rc3
=================

Broken release, do not use.

calendar 5.x-2.2

Bug fixes

Critical bugfix, fix possible undefined $item->$tz.

calendar 5.x-2.1

New features
Bug fixes

Version 5.2.1
===============

- Use date functions to determine timezones, for consistency in timezone handling.
- #295523 patch by JohnAlbin, alter code so all calendar navigation and paths will work correctly when the calendar is embedded. Should get calendars in panels working right.
- #292061 Add validation to prevent using 'first' or 'last' as well as 'grouped' handlers in the calendar so dates display on the correct day.
- #298680, #300361 get rid of concatonation of 'from' and 'to' dates to fix problems displaying them correctly.
- Replace all include_once() with require_once().
- #301324 Rework calendar date selector to use site short date format.
- #294185 Add test for non-NULL values when concating the from/to date values, using COALESCE.
- Fix css for week number to be sure it stays small in all browsers.
- Add test for view->block_identifier to allow a way to set the block url to something other than 'mini=' so you can have more than one calendar block or panel on a page.

Version 5.2.0-rc5
=================

- Fix jCalendar popup so it doesn't do anything on items without a nid, like remote nodes.
- Make sure Devel module doesn't add queries to Calendar Popups.
- #292306 Make sure no error is thrown if $GLOBALS['calendar_stripes'] is empty.

calendar 5.x-2.0-rc4

Bug fixes

Version 2.0-rc4
===============

- Add 'All day' themes for use in nodes and calendar psuedo nodes.
- #290826 Fix logic error that was missing date ranges that start before the current period by changing 'AND' to 'OR' in argument filter.
- #268669 Improve logic for splitting multi-day nodes across calendar dates, patch by emok.
- Add new DATE_FORMAT_DATE for date-only format that is used throughout the calendar.

calendar 6.x-2.0-beta4

Bug fixes
Insecure

Version 2.0 beta4
=================

- #270318 Get date browser and calendar navigation working correctly when used in a block.
- Don't attach any displays but the right one for a given argument.
- #289981, #290328 Fixing broken handling of empty blocks that sometimes kept calendars from displaying in blocks.
- Clean up logic for creating calendar fields info.
- #268669 Improve logic for splitting multi-day nodes across calendar dates, patch by emok.
- Add new DATE_FORMAT_DATE for date-only format that is used throughout the calendar.
- Make sure week title gets translated by using date_format_date() instead of date_format().
- #289775 Day link needs a leading zero.
- Make sure calendars have a min and max date even if the date argument is not the first argument.
- Tweaked the jcalendar popup html and css a bit to keep title from popping out of the box in some themes.
- Bring the 5.2 and 6.2 calendar themes into alignment so both use the same styles and themes, including tableless back/next navigation links and themeable headers.
- #285104 Make sure calendar_colors is always an array, needed for transition to new value.
- #283902 Make sure date_format() isn't used on items with no calendar dates.
- #284760 Don't make weekno a link when there is no week view, eliminate some redundant date_format() calls.

calendar 5.x-2.0-rc2

New features
Bug fixes

Version 2.0-rc2
===============

- #278391 Fix calendar popup position in Firefox.
- #278267 Add a theme for the jcalendar popup.
- #279169 Get rid of calendar_info() function in uninstall.
- #261610 Make sure delta value is available for jcalendar popup display.
- #255984 Make popup calendar date selector a configurable value.
- #251094 Make weekno a configurable value.
- #259127 Remove ajax back/next navigation on mini calendar, it's not working well enough.
- #247215 Make sure default calendar view and block are not triggered if there is no date field and add validation to the view to require a date field.
- #268668 Adjust comparison dates for timezone offsets to make sure multi-day events get split correctly.
- The cached ical feed cannot be used to store date objects, recreate them as needed.
- #234070 Fix broken ical title.
- #258501 Make sure calendar.inc is included when creating ical feed.
- #258515 Fix url in ical export.
- #266623 Protect against foreach() errors on empty ical feeds.
- PHP4 can't do comparisons of date objects, so alter calendar comparison code to compare formatted dates instead.
- #275213 Arguments were reversed in date_week_range().
- Remove as many dependencies as possible from install files and auto-enable necessary modules.
- #272263 Make sure empty ical stream doesn't get into cache.

calendar 6.x-2.0-beta2

Bug fixes
Insecure

Views Calendar 6.x
==================

See documentation at http://drupal.org/node/262064.

TODO:
- Still need to get iCal working.

Version 2.0 beta2
=================
- Fix handling of CCK dates in date argument.
- Move option to show/hide week numbers to a style setting.
- Get block view working again, remove switch calendar block because it doesn't work in this new system.
- Get the generic date argument handler pulled completely out of the Calendar module and into the Date API in a way that it can be used for any Views date field in any view.
- Rework the calendar handling to use the Date API argument in calendar displays and navigation.
- Keep the calendar displays out of the UI and instead create a default calendar view that has everything set up correctly to reduce confusion and clutter in the UI and to make it easier to create a calendar.
- Make sure month names show in year view.
- #262078 Remove deprecated function calendar_info().
- Cleanup handling of dates with timezone names in the database.
- Pass a variable to the templates to tell if this calendar is in a block or not, and use that to determine if the links are needed.
- Get the settings working for controlling the size of the day of week names, adding an option to display the full names.
- Add a separate template for the mini calendar.

Version 2.0 beta
================

Pages

Subscribe with RSS Subscribe to Releases for Calendar