PIM EventViews merge requestshttps://invent.kde.org/pim/eventviews/-/merge_requests2024-03-27T14:35:00Zhttps://invent.kde.org/pim/eventviews/-/merge_requests/99Don't overwrite valid date in eventDurationHint()2024-03-27T14:35:00ZDaniel Vrátildvratil@kde.orgDon't overwrite valid date in eventDurationHint()The view's hint function is called whenever a new event/todo/journal
is being created from KOrganizer. When the new incidence is being
created via context menu in the side-pane calendar preview, the selected
date might be different from ...The view's hint function is called whenever a new event/todo/journal
is being created from KOrganizer. When the new incidence is being
created via context menu in the side-pane calendar preview, the selected
date might be different from the date currently selected in the main
view. In such case, the view should only provide a hint (e.g. about
duration or allday-ness of the new event) but shouldn't replace the
valid dates.
BUG: 483823
FIXED-IN: 24.02.2https://invent.kde.org/pim/eventviews/-/merge_requests/97Prefer color stored in Akonadi over eventviewsrc2024-02-20T08:53:34ZDaniel Vrátildvratil@kde.orgPrefer color stored in Akonadi over eventviewsrcWe only want to use the auto-generated values from eventviewrc as a
fallback. If calendar does have its color specified in an attribute,
always prefer that.We only want to use the auto-generated values from eventviewrc as a
fallback. If calendar does have its color specified in an attribute,
always prefer that.https://invent.kde.org/pim/eventviews/-/merge_requests/95Fix the translation template version number (add 6 for kf6)2023-12-25T19:13:37ZLaurent MontelFix the translation template version number (add 6 for kf6)Make sure that it will not conflict with qt5 version.
@teams/localizationMake sure that it will not conflict with qt5 version.
@teams/localizationLaurent MontelLaurent Montelhttps://invent.kde.org/pim/eventviews/-/merge_requests/94GIT_SILENT Port to new way of including CI templates2023-12-05T21:07:19ZAlbert Astals CidGIT_SILENT Port to new way of including CI templateshttps://invent.kde.org/pim/eventviews/-/merge_requests/93used renamed kgantt2023-11-29T10:48:29ZJonathan Riddelljr@jriddell.orgused renamed kgantthttps://invent.kde.org/graphics/kdiagram/-/merge_requests/17https://invent.kde.org/graphics/kdiagram/-/merge_requests/17https://invent.kde.org/pim/eventviews/-/merge_requests/92Add CI freebsd qt62023-10-07T18:31:51ZLaurent MontelAdd CI freebsd qt6Laurent MontelLaurent Montelhttps://invent.kde.org/pim/eventviews/-/merge_requests/91prefs QColor.setNamedColor is deprecated2023-10-19T05:15:54ZMarius Paprefs QColor.setNamedColor is deprecatedhttps://invent.kde.org/pim/eventviews/-/merge_requests/90AgendaView: fix layout issues in the side-by-side agenda view2023-08-31T19:20:57ZDaniel Vrátildvratil@kde.orgAgendaView: fix layout issues in the side-by-side agenda viewThe time labels were not visible and were not offset correctly. This
change contains a small refactor where the calendar title shown in the
side-by-side agenda view is now integrated into the AgendaView itself,
which makes it easier to c...The time labels were not visible and were not offset correctly. This
change contains a small refactor where the calendar title shown in the
side-by-side agenda view is now integrated into the AgendaView itself,
which makes it easier to calculate the offsets for the time labels.https://invent.kde.org/pim/eventviews/-/merge_requests/89Agenda: fix timezone being lost when moving event by drag2023-08-24T15:46:15ZDaniel Vrátildvratil@kde.orgAgenda: fix timezone being lost when moving event by dragThe code was using QDateTime::toTimeSpec() in attempt to restore the
timezone from the original dtStart/dtEnd. However, QDateTime::toTimeSpec()
automatically converts Qt::TimeZone timespec to Qt::LocalTime, so the
information about timez...The code was using QDateTime::toTimeSpec() in attempt to restore the
timezone from the original dtStart/dtEnd. However, QDateTime::toTimeSpec()
automatically converts Qt::TimeZone timespec to Qt::LocalTime, so the
information about timezone was lost and the time was treated as local.
The solution is to restore the timezone manually when the original
timespec was Qt::TimeZone.
CCBUG: 448703
FIXED-IN: 5.24.1https://invent.kde.org/pim/eventviews/-/merge_requests/88Rework EventViews to support per-collection calendars2023-08-13T12:28:31ZDaniel Vrátildvratil@kde.orgRework EventViews to support per-collection calendarsThis change reworks all event views to support displaying incidences from
multiple calendar instances (`CollectionCalendars`, based on `KCalendarCore::Calendar`),
specifically having one calendar per Akonadi Collection. The previous appr...This change reworks all event views to support displaying incidences from
multiple calendar instances (`CollectionCalendars`, based on `KCalendarCore::Calendar`),
specifically having one calendar per Akonadi Collection. The previous approach
of merging contents of all calendar-like Akonadi Collections into a single huge
`KCalendarCore::Calendar` (via `ETMCalendar`) was causing a long-outstanding issue
when if the same incidence with the same UID was present in multiple Collections,
only one (rather random) instance would appear in the `ETMCalendar`.
This approach is also semantically more correct, since if a single Akonadi Collection
represents a single user's calendar, than it should be mapped into a single
`KCalendarCore::Calendar`.
If there's interest, this change paves the way for future enhancements, including
making EventViews Akonadi-agnostic and thus better reusable.
Note that this change breaks API in an incompatible way, since supporting both single
`ETMCalendar` and multiple per-collection calendars as alternative data sources would
make the code needlessly complicated. From a quick check, the EventViews library is
currently only used in KOrganizer.
BUG: 426248https://invent.kde.org/pim/eventviews/-/merge_requests/87Invalidate model to apply sortCompletedTodosSeparately pref2023-06-11T11:45:24ZVolker Krausevkrause@kde.orgInvalidate model to apply sortCompletedTodosSeparately prefBUG: 458254
(cherry picked from commit db4009f65c84be6a364a9f7b405c64520cf57f58)BUG: 458254
(cherry picked from commit db4009f65c84be6a364a9f7b405c64520cf57f58)https://invent.kde.org/pim/eventviews/-/merge_requests/86Invalidate model to apply sortCompletedTodosSeparately pref2023-06-11T09:04:08ZThomas Karpiniectk@1.21jiggawatts.netInvalidate model to apply sortCompletedTodosSeparately prefCurrently to see the preference change you must recreate the view, e.g. by restarting KOrganizer or toggling tree/flat view.
Solution: `updateConfig()` is already called when the preference is toggled. Invalidate the ProxyModel at this ...Currently to see the preference change you must recreate the view, e.g. by restarting KOrganizer or toggling tree/flat view.
Solution: `updateConfig()` is already called when the preference is toggled. Invalidate the ProxyModel at this point so it will re-sort in place. The null check is required due to the call to `setPreferences()` in the constructor. I chose to check for null rather than reorder the constructor.
BUG: 458254https://invent.kde.org/pim/eventviews/-/merge_requests/85Avoid crashes if findCalendar or calendar2 return empty2023-07-19T23:14:23ZAllen WinterAvoid crashes if findCalendar or calendar2 return emptyBUG: 470584
FIXED-IN: 23.08BUG: 470584
FIXED-IN: 23.08Allen WinterAllen Winterhttps://invent.kde.org/pim/eventviews/-/merge_requests/84Fix crash when dragging event ouf of month view scene2023-04-24T22:00:05ZDaniel Vrátildvratil@kde.orgFix crash when dragging event ouf of month view sceneBUG: 466971
FIXED-IN: 23.04.1BUG: 466971
FIXED-IN: 23.04.1https://invent.kde.org/pim/eventviews/-/merge_requests/83Remove TodoModel (now that it exists in akonadi-calendar)2023-04-24T16:32:37ZKevin OttensRemove TodoModel (now that it exists in akonadi-calendar)This is necessary for https://invent.kde.org/teams/pim/technical-roadmap/-/issues/20This is necessary for https://invent.kde.org/teams/pim/technical-roadmap/-/issues/20Kevin OttensKevin Ottenshttps://invent.kde.org/pim/eventviews/-/merge_requests/82Decouple TodoModel from the preferences2023-04-02T13:14:52ZKevin OttensDecouple TodoModel from the preferencesThis is done by introducing a specific proxy model bringing the background coloring feature and switching TodoView to use this.
This is the first step for https://invent.kde.org/teams/pim/technical-roadmap/-/issues/20This is done by introducing a specific proxy model bringing the background coloring feature and switching TodoView to use this.
This is the first step for https://invent.kde.org/teams/pim/technical-roadmap/-/issues/20Volker Krausevkrause@kde.orgVolker Krausevkrause@kde.orghttps://invent.kde.org/pim/eventviews/-/merge_requests/81Remove tooltips on TodoModel2023-04-01T18:08:57ZKevin OttensRemove tooltips on TodoModelThey don't provide much added value and are increasing the coupling
surface to the prefs. That's one less to deal with only the background
colors remain which could be moved in a proxy model.They don't provide much added value and are increasing the coupling
surface to the prefs. That's one less to deal with only the background
colors remain which could be moved in a proxy model.Kevin OttensKevin Ottenshttps://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 CI