PIM EventViews merge requestshttps://invent.kde.org/pim/eventviews/-/merge_requests2023-04-02T09:09:37Zhttps://invent.kde.org/pim/eventviews/-/merge_requests/79Adapt to CalendarSupport::createMimeData having moved to akoandi-calendar2023-04-02T09:09:37ZVolker Krausevkrause@kde.orgAdapt to CalendarSupport::createMimeData having moved to akoandi-calendarDepends on https://invent.kde.org/pim/akonadi-calendar/-/merge_requests/49Depends on https://invent.kde.org/pim/akonadi-calendar/-/merge_requests/49https://invent.kde.org/pim/eventviews/-/merge_requests/78Don't initialize QString with -12023-01-11T19:05:56ZNicolas FellaDon't initialize QString with -1In Qt6 this assertsIn Qt6 this assertshttps://invent.kde.org/pim/eventviews/-/merge_requests/77Add Qt6 CI2022-10-24T00:26:11ZNicolas FellaAdd Qt6 CIhttps://invent.kde.org/pim/eventviews/-/merge_requests/76Handle completion of todos in distant time zones2022-09-25T21:26:50ZGlen Ditchfieldgjditchfield@acm.orgHandle completion of todos in distant time zonesThe Month view displays todos on their due dates in the local time zone;
a todo due on the 23rd at 06:00 Asia/Tokyo time is displayed on the
22nd if the local time zone is UTC or further west.
`IncidenceMonthItem::icons()` used the loca...The Month view displays todos on their due dates in the local time zone;
a todo due on the 23rd at 06:00 Asia/Tokyo time is displayed on the
22nd if the local time zone is UTC or further west.
`IncidenceMonthItem::icons()` used the local date to calculate an
occurrence date for occurrences of recurring todos, without considering
time zones, to decide whether to draw a "completed" icon. This can
fail.
Example:
- start 2022-09-22 06:00 Asia/Tokyo
- due 2022-09-23 07:00 Asia/Tokyo
- repeat daily, 3 times. (Occurrences overlap.)
- use the Todo view to complete it once.
The Month view does not display any "completed" icons.
This patch uses a previously-computed offset between the occurrence and
the todo's start.https://invent.kde.org/pim/eventviews/-/merge_requests/75Allow drag-and-drop from the Month View2022-08-19T18:34:14ZGlen Ditchfieldgjditchfield@acm.orgAllow drag-and-drop from the Month ViewAllow drags from the Month View to, e.g., a KMail composer.
The MonthScene uses an invalid QDate to announce a drag outside of the
calendar grid, and the IncidenceMonthItem cancels the move-in-progress
and creates a QDrag.
CCBUG: 182867Allow drags from the Month View to, e.g., a KMail composer.
The MonthScene uses an invalid QDate to announce a drag outside of the
calendar grid, and the IncidenceMonthItem cancels the move-in-progress
and creates a QDrag.
CCBUG: 182867https://invent.kde.org/pim/eventviews/-/merge_requests/74Port from KCalPrefs::categoryColor to Akonadi::TagCache::tagColor2022-08-07T09:04:30ZVolker Krausevkrause@kde.orgPort from KCalPrefs::categoryColor to Akonadi::TagCache::tagColorVolker Krausevkrause@kde.orgVolker Krausevkrause@kde.orghttps://invent.kde.org/pim/eventviews/-/merge_requests/73Remove service type definition for calendar decorations2022-07-31T11:44:54ZNicolas FellaRemove service type definition for calendar decorationsIt is no longer usedIt is no longer usedNicolas FellaNicolas Fellahttps://invent.kde.org/pim/eventviews/-/merge_requests/72Port to PMF signal/slot syntax2022-07-06T12:29:29ZAhmad SamirPort to PMF signal/slot syntaxThis also fixes one invalid disconnect(nullptr, , ,) call, the sender must
never be nullptr.
--------------------------
Give a var a less confusing name
There is a class called Agenda, which also has a newEventSignal().
GIT_SILENTThis also fixes one invalid disconnect(nullptr, , ,) call, the sender must
never be nullptr.
--------------------------
Give a var a less confusing name
There is a class called Agenda, which also has a newEventSignal().
GIT_SILENTAhmad SamirAhmad Samirhttps://invent.kde.org/pim/eventviews/-/merge_requests/71Simplify TodoModelPrivate2022-05-11T15:34:26ZGlen Ditchfieldgjditchfield@acm.orgSimplify TodoModelPrivatehttps://invent.kde.org/pim/eventviews/-/merge_requests/70Simplify TodoModelPrivate2022-05-12T15:24:00ZVolker Krausevkrause@kde.orgSimplify TodoModelPrivateThis doesn't need to be a QObject anymore after rebasing this on
KExtraColumnsProxyModel.This doesn't need to be a QObject anymore after rebasing this on
KExtraColumnsProxyModel.https://invent.kde.org/pim/eventviews/-/merge_requests/69TodoViewQuickAddLine: fix adding a todo using the quick add line2022-05-11T18:21:38ZAhmad SamirTodoViewQuickAddLine: fix adding a todo using the quick add lineThis should be connected to the returnPressed signal that takes no args, so
the QLineEdit one.
Apparently things broke because the signal is overriden in
TodoViewQuickAddLine, overriding siganls is always a hassle.
Found while using KO...This should be connected to the returnPressed signal that takes no args, so
the QLineEdit one.
Apparently things broke because the signal is overriden in
TodoViewQuickAddLine, overriding siganls is always a hassle.
Found while using KOrganizer.Ahmad SamirAhmad Samirhttps://invent.kde.org/pim/eventviews/-/merge_requests/68Use standaloneMonthName in the Month View's header2022-05-06T21:55:08ZGlen Ditchfieldgjditchfield@acm.orgUse standaloneMonthName in the Month View's headerUse `standaloneMonthName()` to generate the month name in the Month
View's header, as is done by KOrganizer's date navigator, because
`QString::toString()` produces inappropriate month names for Slavic
languages in this context.
BUG: 45...Use `standaloneMonthName()` to generate the month name in the Month
View's header, as is done by KOrganizer's date navigator, because
`QString::toString()` produces inappropriate month names for Slavic
languages in this context.
BUG: 453292
Related: https://invent.kde.org/pim/calendarsupport/-/merge_requests/43https://invent.kde.org/pim/eventviews/-/merge_requests/67Edit start dates in the Todo view2022-05-08T16:43:02ZGlen Ditchfieldgjditchfield@acm.orgEdit start dates in the Todo viewLet the user edit start dates by right-clicking in the start date
column. If the new start date is later than a pre-existing due date,
the due date is adjusted.
Note: to preserve TodoView's ABI, I put the new popup menu in TodoViewView.Let the user edit start dates by right-clicking in the start date
column. If the new start date is later than a pre-existing due date,
the due date is adjusted.
Note: to preserve TodoView's ABI, I put the new popup menu in TodoViewView.https://invent.kde.org/pim/eventviews/-/merge_requests/66Adapt to displayName() moving to akonadi-calendar2022-05-08T07:27:58ZVolker Krausevkrause@kde.orgAdapt to displayName() moving to akonadi-calendarDepends on https://invent.kde.org/pim/akonadi-calendar/-/merge_requests/20.Depends on https://invent.kde.org/pim/akonadi-calendar/-/merge_requests/20.https://invent.kde.org/pim/eventviews/-/merge_requests/65Remove some SIGNAL and SLOT macros2022-05-01T15:57:53ZGlen Ditchfieldgjditchfield@acm.orgRemove some SIGNAL and SLOT macroshttps://invent.kde.org/pim/eventviews/-/merge_requests/64Remove unneeded superclass from decoration class2022-04-29T13:31:56ZNicolas FellaRemove unneeded superclass from decoration classhttps://invent.kde.org/pim/eventviews/-/merge_requests/63Keep dtStart valid when moving a todo2022-04-30T15:50:16ZGlen Ditchfieldgjditchfield@acm.orgKeep dtStart valid when moving a todoThe Todo view lets the user "move" a todo by changing its due date-time.
If the todo has a start date-time, it allowed dtDue to move to a time
earlier than dtStart, which is disallowed by RFC 5545. This patch
adjusts dtStart if necessar...The Todo view lets the user "move" a todo by changing its due date-time.
If the todo has a start date-time, it allowed dtDue to move to a time
earlier than dtStart, which is disallowed by RFC 5545. This patch
adjusts dtStart if necessary to make the todo valid.https://invent.kde.org/pim/eventviews/-/merge_requests/62Use calendar item access utility methods from akonadi-calendar2022-04-27T15:23:23ZVolker Krausevkrause@kde.orgUse calendar item access utility methods from akonadi-calendarDepends on https://invent.kde.org/pim/akonadi-calendar/-/merge_requests/18.Depends on https://invent.kde.org/pim/akonadi-calendar/-/merge_requests/18.https://invent.kde.org/pim/eventviews/-/merge_requests/61Have the CI build the example app too (and make it build again)2022-04-20T16:20:09ZVolker Krausevkrause@kde.orgHave the CI build the example app too (and make it build again)https://invent.kde.org/pim/eventviews/-/merge_requests/60Move the use of KMessageBox out of TodoModel2022-04-21T15:39:56ZVolker Krausevkrause@kde.orgMove the use of KMessageBox out of TodoModelAdd an error signal for the previous use instead. Using a widget message
box isn't necessarily the desired way to communicate errors for all
applications. This matters particularly for QML-based apps like Kalendar.Add an error signal for the previous use instead. Using a widget message
box isn't necessarily the desired way to communicate errors for all
applications. This matters particularly for QML-based apps like Kalendar.