//$Id: CHANGELOG.txt,v 1.1.8.168 2008-09-16 01:16:43 karens Exp $ Date Module 6.x ================= Version 6.2-dev ================= Version 6.2-rc3 ================= - #305376, #303999 Change method of clearing theme registry to avoid errors other themes during update.php. - #308353 Use long-month-name protocol for translations. - Eliminate query for navigation display. - #306404 Make sure update 6001 returns an array. - Default Date Browser view should not have a content type filter in it. - Add some validation to date repeat logic to avoid trying to process invalid values. - #303999 Add function and update to clear out theme registry and all the views caches to pick up changes in Views definitions. - #304631 Fix validation check for required field that was always triggered. - #304762 Add missing folders for translations. - #198502 Make sure updates abort if Content module hasn't yet been updated. - Update to new Views2 API. Now requires latest versions of Views and CCK, and files have been re-arranged. - Move timezone handling logic to Date API so we can use it in Calendar, too. - Rework the date_id formatting to use the new #delta value being passed from CCK. - #196468 Add link to add a date field to a content type in Date Copy, uses new CCK feature to import from file. - The timezone translation names in the install file must use underscores instead of spaces. - #302351 Add timezone info to node_load() and adjust tokens to set the right timezone. - Replace all include_once() with require_once(). - #276270 Add missing break in date_convert() switch for ICAL. - #301385 Change hook_requirements() to only set message in runtime to avoid install profile errors. - #299112 Adjust date_convert() to adapt to am/pm when data source is an array. - #299112 Don't change 12 hour time to 24 hour time until after validation. - Make sure date_week() trims input value so you can use it with a regular datetime value. - Change error messages for ical imports to watchdog messages. - #294185 Add function for cross-database test of non_null values using COALESCE. - #300319 Move apostrophe in PostgreSQL offset code. - #299594 Alter date_api_sql to handle MYSQL versions prior to 4.1.1. - #297733 Make more kinds of custom formats display correctly. - Change date description for empty 'to' dates to only be used on date_select, the only place it will work. - Clean up Date Popup validation. - #275919, #267195 Clean up date_select validation: add field name to from and to date so the name can be used in error messages, combine error messages for field parts into a single message, remove #options from text elements so we don't get meaningless core message about an invalid option, set error on whole element so error fields will get outlined. - Fix weights for timezone and repeat form to always keep them below the date. - #290212 To date with 'same' default value wasn't picking up blank value when needed. - #290652 Update jQuery datepicker to development version to pick up fix for duplicated dates when dst changes. - #298456 Add warnings to field settings page about changes that could result in loss of data. - #295095 Fix access control on repeating dates tab so it only shows on repeat nodes. - #295860 Fix flawed updates that were not resetting jscalendar widgets correctly. - #298158 Change drupal_get_path() to drupal_load() to be sure content module gets included correctly in install file. - #296409 Fix the hidden repeat date logic so repeating dates are only hidden on the node. Version 6.2-rc2 ================= - #292617 Make sure the Date Repeat form works properly with all possible date widgets. - #273656 Make the Date Repeat form use the same widget the regular date form uses. - #240156 Update Event module timezone values if the Date module is handling the timezone form. - #296051 Fix error in computation of last day of calendar month. - Clean up some invalid combinations like using 'DAILY' with an option like 'First Tuesday'. - #284557 Fix errors saving repeating date when no repeat options were selected. - #295095 Change the repeating dates theme to show only the start and rule on the node and move the list of repeating dates to a separate tab. Version 6.2-rc1 ================= - Fix Date Popup process that was ignoring $edit values. - #289215 Shorten the size of Date Popup date box and allow the API to control the size. - #291882 Do some tweaking of the Date Popup css to be sure backgrounds are hidden and values are overridden. - #292945 See if there is an existing validation array before adding validation. - #293685 Add missing $form_state in form_set_value() call in date_repeat.inc. - Fix broken logic in comparison of min and max to from and to dates in the date argument. - #272551 Remove weight for repeat element, it isn't needed and doesn't work right when weight is negative. - #283392 Make sure widget description shows up with or without 'to' date. - #292680 Make sure themes don't add padding to navigation h3 causing misalignment. - #292602 Make sure dates without times do not get 'All day' added. - #292436 Fix critical typo in new date_all_day function and add test to date_formatter_process() to keep empty value from wiping out a good one. - Check for date values before using new all day theme. - 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. Version 6.2-beta4 ================= - #270318 Get date browser and calendar navigation working correctly when used in a block. - Add new DATE_FORMAT_DATE for date-only format that is used throughout the calendar. - Fix validation code that checks if arguments and filters have date fields selected, need to array_filter() the selections. - #269569 Override Views default method of combining tables when adding two fields from the same table, needed to avoid broken queries. - Add validation for Date Browser to be sure only one date argument is used in the view. - Rework the install file so variables can be corrected and dependent modules enabled by disabling and re-enabling Date API. - #280863 Make sure Date Timezone and Date PHP4 can be uninstalled by keeping module_enable() in the install. - Rework of date filter to provide a choice of a widget to use for the filter form and an option to set the default value to a set date or something like 'now +90 days'. You must delete any previously-created date filters and re-create them to pick up the new parameters. - Make sure PHP4 date_modify() does not care if there is a space between the number and the date part. - Make sure we don't use mktime() in compare_date() function, won't work reliably in PHP4. - Make sure PHP4 wrapper code doesn't try to use date() on values outside the 32 bit signed range. - Get the url into the theme processing. - Remove old D5 themes, this is now handled by the Date API date browser attachment. - #286864 Fix wrong RRULE value being passed to validator and add trim() to get repeating dates working again. - #286864 Need a different fix for timezone API since this fix broke Date Repeat. - #283107 Evaluate date and time parts separately since we can't know or care how they're combined in the complete date format. - #283107 Date Popup timepicker formats need adjustment before using date_convert_from_custom(). - Exception dates were getting lost when parsing the RRULE. - Increase size of Date Popup input box to accept longer formats that the new datepicker allows. - #287325 Change the default date type in the date handler to DATE_DATETIME. - Add test for jQueryUI and load datepicker from there if it exists. - Update to latest versions of jQuery datepicker and timeentry. - Hide image div in Date Popup timeentry css to keep FF from displaying a 'helpful' dropdown. - Move date_format_options() to Date API so other code can use it. - #279247 Make sure date_timezone element works no matter what the parent element name is. - Fix undefined index in PHP4 date_datetime2timestamp() function. - #265076 Avoid use of strtotime and use date_create instead as date_text validator. - #277771 Fix date_gmmktime() computation in PHP4 date handling to avoid erratic daylight savings time problem. - Fix computation of 'now' in PHP4 date_create() function. - Fix some inconsistencies in the expectation of whether date_fuzzy_datetime returns a datetime or ISO value. - Don't use date_make_date() in date_convert() to avoid cyclical references. - Set a warning message for invalid non-required Date popup values instead of silently setting to NULL. - #244025 Fix jquery calendar so it works correctly with multiple value fields. - #269569 Make sure more than one date filter will work on the same view. - Add a template for the Date Views filter form. - Check for invalid inputs to the date handler argument handling. - Move the class configuration to the theme so it is easier for themers. - Remove code previously commented out that forced required value to current date, seems to be working right. - Adapt date elements so they will work correctly as Views 2 widgets. - Move #validate parameters to element processing step instead of hook_element() to help ensure they don't get wiped out. - Make sure partial dates, like year-only, get the right range computed for them. - Don't user format_date() and strtotime() to create argument titles and links. - #282408 Make sure dates only float when there are two of them by adding #date_float parameter. - #281623 Switch old jscalendar widgets to use date_text instead of date_popup since date_popup may not be available. - Make sure empty time does not get value on submit. - Format interval theme added 'ago' twice to past events. - Need a space between the date and the timezone name in the Date theme. - Get repeating dates working. - #280899, #273344 Make sure Date Popup doesn't inject the current date into empty fields. - Fix undefined index for timezone field. - Fix computation of year range in date_content_generate. - #275797 Remove invalid and unneeded css display:relative. - Fix inconsistencies in handling of 'none' and 'user' timezones in Date and Calendar. - Add static variable to PHP4 timezone offset handling to reduce number of database queries. - #280041 Fix typo in postgres switch code in date_api_sql.inc. - #264749 Fix typo in date_ical_date which unset the date. - #277420 Add missing format information for minutes and seconds to date_sql_handler. - Make sure the timezone always goes on its own line now that date elements float. - #279932 Remove length from integer rows so they don't create errors in postgres. - #270316 Fix postgres timezone adjustment. - #279051 Fix postgres timezone test. - Add week handling and granularity tests to date_sql_handler(). - Set date prefix on date navigation css classes. - Fix PHP4 handler for date_timezone_set() which was incorrectly altering the timestamp value. - Fix computation of 'N' in PHP4 date_format() wrapper to get date_week() working right in PHP4. - #274403 Fix typo in date_hours(). - #269834 Add timezone adjustment to PHP4 date_format() wrapper. - #272110 Alter css so that from/to dates can float next to each other. - #275490 Remove orphaned punctuation at beginning of string in date_limit_format(). - #277549 Make sure no repeats are created if no start date was set. - #272523 Fix error in PHP4 wrapper code that kept date_modify from working reliably. - #273344 Make sure incomplete Date Popup values get converted into complete dates. - #274882 Fix typo using $field instead of $form_values. - #276544 Rework system for handling timezone in date theme. - Add code to adjust NOW() by a number of seconds to allow NOW() to be the beginning of the day. - Rework PHP4 date handling to avoid any use of date() or mktime(), which may inject an incorrect timezone offset. - Get rid of the adodb method of computing the gmt offset for PHP4 and use the date_offset_get() computation. - Fix use of wrong value for timezone in repeating dates. - Remove as many dependencies as possible from install files and auto-enable necessary modules. - #270267 Remove timezone_identifiers_list() in the install file from the global space. - Date Popup was not handling empty non-required values correctly and they were defaulting to current date. - #273727 Small fixes to field settings validation. - #248338 and #254819 clean up date_limit_format() to better handle punctuation and escaped letters. - The jQuery calendar requires year, month, and day or it won't work, add validation for that in the settings. - #270358 Fix handling of year-only or month-only text fields to save the right values. - Remove unneeded hook_form_alter() used to fix radio values for granularity. - Make sure granularity is in correct format before setting value in field settings form. - #244025 Didn't get the right code into the original commit for the single jquery class. Still have the problem that it won't work with AHAH add more. - #273130 Conform to new Drupal 6 method of indicating long and short month names. - Clean up Date popup validation. - Add templates for ical vevent and valarm. - Fix undefined indexes in date_repeat_calc.inc. - Change method of showing multiple values with timezones on forms and show them in every instance. This is to simplify the processing and avoid errors when trying to apply the timezone in the first item to all other items. - #272597 Remove php tag from timezone.js. - #272551 Add option to expand or collapse repeating date options. - #261610 Prepare for a jQuery popup in the calendar by adding a unique id to the 'node' and altering the date theme to surpress all other dates if $node->date_id is set. - #232959 Get rid of unwanted scrollbars in date fieldsets using trick discovered by threexk. - Clean up install file included files and include file paths, and auto-enable date_timezone and date_php4. - Add a is_string() test to the date_is_valid() function. - The timezone element can sometimes be a nested value. - Date_fuzzy_date was not handling input from date_popup or date_text in the right way. - #260611 Replace substr with drupal_substr where used to get month and day abbreviations. - The granularity options were not saved correctly by CCK when provided as checkboxes, change them back to a select widget and fix the bad values in an update. - Have the date_text element handle its own format description instead of doing it in the Date module. - #270304 Timezone was not getting saved. - Empty values were getting saved. - #257353 No need for format description when using select widget. - #270267 Auto-enable the Date PHP4 module when needed. - #269569 Get the Date Views filter working. - #270626 Fix documentation errors that use create_date() instead of date_create(). Version 6.2-beta3 ================= - #269569 Get new generic date filter working again. - Add a default view for the Date Browser. - Fix undefined indexes and add ability to override style in the Date Browser navigation attachment. - Add RRULE to ical template. Make sure all event values get added into the ical feed. - Get rid of date_ical_export(). The ical export code has been moved into a template and pre_processor. - Make Date API changes needed to get iCal export working in Calendar. - #251830 Replace D5 function name with D6 function name, content_alter_db_field() is D5 only. Version 6.2 beta2 ================= - Fix computation of week range computed from views arguments. - Now that a current date argument has been added to Views, remove the current date plugin from the Date API views handling. - #263377 Re-fix patch that I broke in later commit. - Comment out RRULE temporarily until repeating rules are fixed. - Omit the timezone from the process to store the current date parts in the form. - Change expected form values to match latest changes in CCK admin form. - #261631 No longer using $append, so get rid of it. - More work to ensure all the right timezone files are available in installations and updates. - Add theme folders to 6.2 branch. - #262272 Make sure $account is set before trying to use it in hook_user. - #263078 Fix error in setting up db session info that was triggering the MYSQL code for POSTGRES. - Move lots of similar date handling and navigation code out of Date and Calendar and into the Date API where we can use the same code everywhere. - Add a flexible date argument to the API that will work on any Views date field and take any ISO date argument. - Add an argument default option to set a missing date argument to the current date that will work on any date field. - Add a date back/next navigation attachment that works with the date argument and which can be attached to any view. - Adapt the Calendar module to share this code instead of creating its own. - Add calendar week calculations to the Date API so we can move them out of Calendar module to be able to use them in any date application. - Fix critical typo in date_get_timezone() that set the timezone to the site timezone even if it isn't right. - #257764 Replace hard-coded field and instance tablenames with the new content module function. - #130689 Move include code in the install file into a function and out of the global scope. - Fixes needed to display the timezone when that format is selected, and to pull the timezone out of format strings. - Date with timezone wasn't displaying the timezone selector. - #261628 fix typo in #process. - Change to sql handling from latest updates to the Calendar module. Version 6.2 beta ================ - #255911 node_submit() is not necessary for data integrity check. - Rename date.views.inc and change handling to new Views auto-include method. - Fix for critical flaw in the new timezone list handling that was creating an invalid array. - #257874 and #187599 provide a way to generate field content for the devel module. - Bad typo in date column type. - Fix install errors. - #255166 fix copy/paste error in date_token function name. - Working in a new sql handler class so we can use the same class in both. - Update date copy to convert either version 1 or version 2 Event nodes. - Add missing strtotime validation and format help text to textfield date and clarify that it's really a custom input format (which uses strtotime if the custom input fails). - Change method of getting translations for all timezones into the install file. - #256079 make translation of abbreviations easier. - #254930 fix parse error. - #238794, #254851 fix call-time pass-by-reference error. - #256078 Fix typo in popup calendar. - #255739 Fix backwards validation message when testing that the To date is greater than the From date. - Make sure anonymous users don't see timezone message. - Prepare for proposed core timezone handling from #11077 by getting rid of deprecated timezones and adding in js timezone name detection. - Rework default timezone handling to force a valid date even when timezones are not set to get rid of numerous installation and operational errors caused by invalid date objects. - Update site timezone offset during cron and user offset during login to make sure that modules that rely on the timezone offset have current information to process when the offset changes. - #251511 Rename function to avoid clash with Diff module. - Rework the date filter and argument -- simplify some of the code but still keep as much flexibility as possible. You can set up the filter to provide either a date or offset selector (or both), you can set the granularity of the date parts, and any part can be set to all all values, the current time, or a specific value for either a single date or a from/to combination. - #250813 Make sure Views handlers are initiated. - #244708 menu code cleanup. - Clean up timezone handling in date repeat logic. - #234021 fix date_repeat timestamp errors. - #234102 It turns out that we must always force use of the lower level date functions because regular strtotime and mktime can be off by one hour during daylight savings time. - #234073 Provide a way to make required textfield start out with blank values. - #239900, #249399 Limit available formats for Date Popup to available formats and hide custom format code which won't work right here. - Can't use date_make_date within date_part_extract without setting up potential circular reference. - Format_interval logic was backwards. - #236889 Make sure date_select validation only checks required granularity. - #234073 Provide a way to make a required date start out with blank values. - #247749 don't use date popup on system date form, too many potential conflicts. - #234360 fix date_server_zone_adj() function. - #242433 adjust timestamps to datetime when creating repeating dates. - #233415 separate ical retrieval and parser so other modules like feedapi can use the parser alone. - #240980 coder compliance fixups. - #225738 Add special case handling for year only or year and month only ISO dates. - #244025 make the jquery calendar code more efficient.