Commit Graph
3767 Commits
Author SHA1 Message Date
Andika Triwidada d9dc07d31e Update Indonesian translation 2021-08-26 06:52:34 +00:00
Fran Dieguez 07973a2a5f Update Galician translation 2021-08-25 17:28:03 +00:00
Philipp Kiemle cf5819bc9d Update German translation 2021-08-22 20:24:45 +00:00
Jordi Mas 1f7d79a85e Update Catalan translation 2021-08-21 19:20:43 +02:00
Efstathios Iosifidis 45f9d6b174 Update Greek translation 2021-08-20 22:17:06 +00:00
Georges Basile Stavracas Neto 52ef8ff6bf application: Only add CSS providers once
Instead of adding the color CSS provider over and over on
every activation, only add it once. Also make sure to start
the manager after doing that.
2021-08-19 14:26:06 -03:00
Rafael Fontenelle fff89ad518 Update Brazilian Portuguese translation 2021-08-18 13:13:16 +00:00
Jordi Mas 585a986129 Update Catalan translation 2021-08-18 13:22:11 +02:00
Hugo Carvalho 045d7ff5c4 Update Portuguese translation 2021-08-17 15:42:37 +00:00
Daniel Mustieles e80000198a Updated Spanish translation 2021-08-17 13:31:34 +02:00
Marek Černocký da0b449ddd Updated Czech translation 2021-08-17 11:11:10 +02:00
Asier Sarasua Garmendia 32fef674f1 Update Basque translation 2021-08-17 08:33:48 +00:00
Yuri Chornoivan 0f760ce4a5 Update Ukrainian translation 2021-08-17 06:34:41 +00:00
Georges Basile Stavracas Neto 7fd8babdda application: Activate on open
Otherwise, there might be no window available.
2021-08-16 19:48:09 -03:00
Georges Basile Stavracas Neto 7bf8d8851b application: Add weak ref to window 2021-08-16 19:47:54 -03:00
Georges Basile Stavracas Neto 440bb39498 window: Add weak pointer to import dialog
Otherwise we crash the second time it's opened.
2021-08-16 19:07:35 -03:00
Georges Basile Stavracas Neto 9efbef347d flatpak: Shrink permissions 2021-08-16 19:05:55 -03:00
Georges Basile Stavracas Neto 7bbe8ddf41 project: Handle %U in the desktop file 2021-08-16 18:55:58 -03:00
Georges Basile Stavracas Neto 2dd70d5496 Post-release version bump 2021-08-16 18:49:11 -03:00
Georges Basile Stavracas Neto 4d9f6618f0 41.beta 2021-08-16 18:41:26 -03:00
Georges Basile Stavracas Neto febfe599ff Revert "Don't claim to support opening ICS files"
This reverts commit b378c672df.

We now support it.
2021-08-16 18:26:21 -03:00
Georges Basile Stavracas Neto e689f18b1e Add file importing dialog
Add a file importing dialog, and pass through files received from command
line.

Fixes https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/5
2021-08-16 18:26:21 -03:00
Georges Basile Stavracas Neto a080d8ec0f utils: Protect against NULL description 2021-08-16 15:27:19 -03:00
Georges Basile Stavracas Neto e90c67a57d manager: Ensure default calendar property is always set 2021-08-16 15:26:59 -03:00
Georges Basile Stavracas Neto aec1d8d5cd calendar-page: Add rounded corners to listbox 2021-08-06 17:37:40 -03:00
Georges Basile Stavracas Neto 8c71c60e8d calendar-management: Switch to HdyWindow
Make GcalCalendarManagementDialog an HdyWindow subclass,
and adapt the widgetry to work with the new parent class.

Use HdyHeaderBar everywhere.
2021-08-06 17:32:58 -03:00
Tjipke van der Heide 36278b1bb4 Update Frisian translation 2021-08-02 13:52:21 +00:00
Georges Basile Stavracas Neto 10946539c8 41.alpha 2021-07-29 20:07:27 -03:00
Niels De Graef b308da6743 flatpak: Bump libical version
libical 3.0.7 doesn't compile anymore in the CI, but the latest version
does. Just bump to that version to fix CI issues.
2021-07-25 11:23:28 +02:00
Piotr Drąg 7c99c6d987 Update POTFILES.in 2021-07-18 17:08:35 +02:00
Georges Basile Stavracas Neto 68160348dc Introduce GcalEventPopover
GcalEventPopover gives a preview of the event, and handy access
to the event description and information. It also allows easily
joining meetings if any one if available.

The list of supported meeting URLs is small now, but I hope
more people will contribute as we go.

It is also possible to edit the event through an edit button.
2021-06-27 18:45:12 -03:00
Georges Basile Stavracas Neto 01ee4a2b49 utils: Add Google extractor
Google events have an exotic section at the end of their event
descriptions, we can parse that to find some information like
the meeting URL.
2021-06-27 18:36:05 -03:00
Georges Basile Stavracas Neto eaa4ad1a6e Begin 41 development cycle 2021-06-21 18:36:56 -03:00
Georges Basile Stavracas Neto 7079cf2a80 quick-add-popover: Properly localize string arrays
N_() only marks strings for translation, it is necessary to call gettext()
when using the strings.
2021-06-21 18:34:53 -03:00
Georges Basile Stavracas Neto bdce9b29ba quick-add-popover: Don't leak GDateTime
Not sure how this went through.
2021-06-21 18:34:52 -03:00
Georges Basile Stavracas Neto a7d40352b7 quick-add-popover: Mark string arrays const
As they really are.
2021-06-21 18:34:50 -03:00
Tjipke van der Heide 40ed249e4e Add Frisian translation 2021-06-15 08:35:49 +00:00
Dušan Kazik 446ee386dc Update Slovak translation 2021-06-13 20:01:20 +00:00
Georges Basile Stavracas Neto f2e62576c4 40.2 2021-06-03 16:22:38 -03:00
Marco Trevisan (Treviño) fdb69db48a weather-service: Enable met.no provider
As per the switch to libgweather 40 with commits 216a8984 and a2a6d2e4
we already comply with met.no TOS [1] as we already provide explicitly
the application contact info and (implicitly, being a GApplication) the
application-id.

So we can enable the met.no weather provider, making the weather
forecast to work again.

[1] https://api.met.no/doc/TermsOfService

Fixes: https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/682
2021-05-31 20:02:36 +02:00
Marco Trevisan (Treviño) 75eb496e07 build: Depend on gweather-3.0 40
This is required as per commits 07338446 and a2a6d2e4
2021-05-25 15:00:07 +02:00
Quentin PAGÈS 7319482db9 Update Occitan translation 2021-05-13 14:02:06 +00:00
Georges Basile Stavracas Neto c3211a888d 40.1 2021-05-11 16:58:41 -03:00
Sebastian Keller af7a17ef01 event: Fix multiday detection for all-day events
All-day events always use UTC, so when the multiday detection code was
converting them to the local timezone, they span an additional day if
the local timezone is not the same as UTC. This was leading to all-day
events always being considered multiday events.

Fix this by ignoring the timezone for all-day events, like all other
comparisons do. Also don't consider all-day events spanning 1 day to be
multiday since as per RFC 5545 the end date is non-inclusive and if
omitted to be start + 1 day.
2021-05-11 19:35:31 +00:00
Rajat Jain 19ee70f9ab window: Add missing keyboard shortcut
Add missing accelerator for <Alt>+Down as it was
mentioned in shortcuts dialog but not implemented.

Fixes #492

Signed-off-by: Rajat Jain <rajatjain.ix@gmail.com>
2021-05-11 19:11:31 +00:00
Sebastian Keller 44e2420645 range: Handle zero-length ranges when calculating overlap
Zero length ranges, such as for events without a DTEND could be
considered to overlap a range if they were at exactly the end of the
range. The end of a range however is the first date that is supposed to
not overlap, so a zero-length range on exactly this point should not be
considered overlapping.

This fixes cases where all-day events from the next month could show up
on the same day of the current month if they did not have a DTEND.

This also adds tests for all possible cases of such zero-length events
overlapping.

Fixes https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/701
2021-04-21 13:59:26 +00:00
Pawan Chitrakar ce969c35b7 Update Nepali translation 2021-04-17 02:54:04 +00:00
Kalev Lember cd5595d20f appdata: Fix the date for 40.0 release 2021-04-13 01:14:08 +00:00
Johannes Maibaum a2a6d2e4aa weather-service: Set contact_info to DOAP file URL
Currently, GNOME Calendar does not set up the contact_info needed in
libgweather 40 API. This leads to the following assertion, and no
weather forecast info being shown in Calendar:

`gweather_info_update: assertion 'info->contact_info != NULL' failed.`

To fix the assertion, set the URL to the DOAP file on the master branch.
GNOME Weather does the same, see:

https://gitlab.gnome.org/GNOME/gnome-weather/-/commit/6763f7dc9cb25eac4aa13e94e07ea932a42c8e4d

Part of #682
2021-04-13 01:07:37 +00:00
Johannes Maibaum 78d0df1404 window: Remove nested CLAMP() on switching views 2021-04-11 19:06:38 +02:00