See ChangeLog.

Monotone-Parent: c7ba56b63e2f4ecf7da169cccef30b4c8ebeb0ad
Monotone-Revision: e4a697198e9d44e460b6a4c27b94149145803430

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2011-12-22T18:02:59
maint-2.0.2
Francis Lachapelle 2011-12-22 18:02:59 +00:00
parent c99642e256
commit 5d5691229a
6 changed files with 28 additions and 7 deletions

View File

@ -1,3 +1,11 @@
2011-12-22 Francis Lachapelle <flachapelle@inverse.ca>
* UI/Scheduler/UIxTaskEditor.m (-takeValuesFromRequest:inContext:): remove alarms
when no start date is defined.
* UI/WebServerResources/UIxTaskEditor.js (onTimeControlCheck):
disable the reminder popup menu when no start date is defined.
2011-12-15 Ludovic Marcotte <lmarcotte@inverse.ca>
* SoObjects/SOGo/SOGoSieveManager.m - slightly reworked

11
NEWS
View File

@ -1,3 +1,14 @@
1.3-YYYYMMDD (1.3.12)
---------------------
New Features
-
Enhancements
- updated Ukrainian translation
Bug Fixes
- alarms for tasks now depend on the start date and instead of the due date
1.3-20111212 (1.3.11)
---------------------
New Features

View File

@ -37,7 +37,7 @@
"SpanishSpain", "SpanishArgentina", "French", "German",
"Icelandic", "Italian", "Hungarian", "BrazilianPortuguese",
"NorwegianBokmal", "NorwegianNynorsk", "Polish", "Russian",
"Ukrainian", "Swedish");
"Ukrainian", "Swedish" );
SOGoTimeZone = "UTC";
SOGoDayStartTime = "8";

View File

@ -34,6 +34,8 @@
static Class MainProduct = Nil;
NSString *lpath;
#warning TODO: create method "languagesBeginingWith:"
lpath = [self pathForResourceNamed: @"Locale"
inFramework: nil
languages: [NSArray arrayWithObject:_name]];

View File

@ -511,15 +511,15 @@
if (hasStartDate)
[todo setStartDate: taskStartDate];
else
[todo setStartDate: nil];
{
[todo setStartDate: nil];
[todo removeAllAlarms];
}
if (hasDueDate)
[todo setDue: taskDueDate];
else
{
[todo setDue: nil];
[todo removeAllAlarms];
}
if ([status isEqualToString: @"COMPLETED"])
[todo setCompleted: statusDate];

View File

@ -178,7 +178,7 @@ function onTimeControlCheck(checkBox) {
for (var i = 0; i < selects.length; i++)
if (selects[i] != checkBox)
selects[i].disabled = !checkBox.checked;
if (checkBox.id == "dueDateCB")
if (checkBox.id == "startDateCB")
$("reminderList").disabled = !checkBox.checked;
}
}
@ -323,7 +323,7 @@ function onTaskEditorLoad() {
}
// Enable or disable the reminder list
onTimeControlCheck($("dueDateCB"));
onTimeControlCheck($("startDateCB"));
initializeStatusLine();
}