| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
We need to use something else to be Y2038-proof.
Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/merge_requests/117
|
| |
|
|
|
|
|
|
|
| |
The provided URI strings can be sometimes incorrectly constructed, like an `@`
in the user name part not being encoded, which causes incorrect parse into
the GUri without the relaxed mode (it stops parsing the user information
on the first `@`, not the second), leading into an incorrect host name.
Related to https://gitlab.gnome.org/GNOME/evolution/-/issues/2228
|
| |
|
|
|
|
| |
The GcrCertificateWidget will be removed, thus use the one provided
by the libedataserverui instead. It helps to limit spread of the GCR
in the code.
|
| |
|
|
|
| |
Since the new Google Data Tasks API functions being added, the libgdata
dependency can be dropped and replaced with it.
|
| |
|
|
| |
Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/merge_requests/80
|
| |
|
|
| |
Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/merge_requests/85
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The GOA module is persistent between evolution-source-registry reloads,
which means its `goa_to_eds` hash table could be left filled when
the gnome_online_accounts_populate_accounts_table() is called, thus
it could remove existing ESource-s, because it looked like the GOA
account ID is used by a different ESource.
The gnome_online_accounts_populate_accounts_table() is called
when establishing a connection to the goa-daemon, which can also
happen during runtime.
|
| |
|
|
|
|
| |
If there was any certificate error during autodiscover on the GOA side,
the user explicitly ignored the error when creating the account, thus
the repeated autodiscover on the eds side can also ignore it.
|
| |
|
|
| |
Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/379
|
| |
|
|
|
|
|
|
| |
No need to write failures from this module into the journal log,
because these failures are not critical, they only mean that some
credentials could not be deleted due to certain error. The errors
can still be shown when the evolution-source-registry debugging
is turned on (when it's run with ESR_DEBUG=1).
|
| |
|
|
| |
Related to https://gitlab.gnome.org/GNOME/evolution/-/issues/1698
|
| |
|
|
|
|
|
|
|
| |
The GData Contacts API is going to be shut down [1], thus move to
the CardDAV API, which the Google server supports too.
[1] https://developers.google.com/contacts/v3/announcement
Related to https://gitlab.gnome.org/GNOME/libgdata/-/issues/42
|
| |
|
|
|
|
| |
The cancellable could be NULL, in which case a runtime warning is
printed on the console. There's the g_clear_object(), which helps
in this situation.
|
| |
|
|
| |
Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/317
|
| |
|
|
| |
Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/merge_requests/44
|
| | |
|
| |
|
|
| |
Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/208
|
| |
|
|
| |
Closes https://gitlab.gnome.org/GNOME/evolution-data-server/issues/198
|
| |
|
|
| |
Closes https://gitlab.gnome.org/GNOME/evolution-data-server/issues/192
|
| |
|
|
|
|
| |
...and use it instead of checking UOA or GOA extensions existence
Closes https://gitlab.gnome.org/GNOME/evolution-data-server/merge_requests/33
|
| |
|
|
| |
Closes https://gitlab.gnome.org/GNOME/evolution-data-server/merge_requests/32
|
| | |
|
| |
|
|
|
|
|
|
|
| |
The autodiscovery does network I/O, which means it can block. The place
where it is invoked is called from the main thread of the source registry
process, which means, in case the server is unresponsive for whatever
reason, the blocking call blocks also the source registry, making it
unresponsive until the autodiscovery timeouts or others eds. To fix this,
run the autodiscovery asynchronously instead.
|
| |
|
|
|
|
| |
Likewise for g_string_prepend_c() and g_string_prepend().
Closes https://gitlab.gnome.org/GNOME/evolution-data-server/merge_requests/18
|
| |
|
|
|
|
|
|
|
|
|
| |
services
As the passwords are saved in the host system, the eds-origin key cannot
use the same value as the host system, because otherwise the secret-monitor
module of evolution-source-registry would delete the password, because
the ESource is unknown to it. Similarly the other way around, the inner
(in Flatpak) source registry would delete system passwords, because those
ESource-s are unknown to it.
|
| |
|
|
| |
Closes https://gitlab.gnome.org/GNOME/evolution-data-server/issues/51
|
| |
|
|
|
|
| |
It had been moved to https://gitlab.com/accounts-sso/evolution-data-server-signon
Closes https://gitlab.gnome.org/GNOME/evolution-data-server/issues/34
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
secret_service_search_sync()
The evolution-source-registry console could contain a runtime warning:
WARNING **: secret_service_search_sync: must specify at least one attribute to match
which was due to calling secret_service_search_sync() with an empty
hash table of attributes. Adding an 'eds-origin' attribute to the keys
and search for it helps to make the module do what it was supposed to do.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
This change allows easier extending of built-in OAuth2 authentications
with minimal code "duplication".
A CMake option ENABLE_GOOGLE_AUTH had been renamed to ENABLE_OAUTH2
to reflect this extensibility as well.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
With respect of ESoupAuthBearer (used mainly with CalDAV), the missing
implementation of the e_soup_auth_bearer_update() could cause repeated
requests with the invalid access token, which had been eventually
aborted after many tries by libsoup with a runtime warning:
"SoupMessage <pointer> stuck in infinite loop?"
The change makes the access token expired in such case, which stops
the cycle early and doesn't increase the error counter on the server.
The GData authorizers didn't consider expiration time at all.
|
| |
|
|
|
|
|
| |
The Google backend module unconditionally changed authentication
method of all but the mail sources, even when those didn't connect
to a Google server, which is certainly wrong, thus this change
extends the check from the mail sources to other types as well.
|
| |
|
|
|
|
|
|
|
| |
When a Google collection account had not enabled Calendar part,
a misleading error about failed connection for the account with
"Unknown error" detailed description could show up. The reason
was that the Google backend didn't even try to connect, due to
the disabled Calendar part, but it reported error, even without
actual error message (hence the "Unknown error" text).
|
| |
|
|
|
|
|
| |
The GoaClient object had been created whenever a password lookup
had been initiated for the EGoaPasswordBased object, which could
also mean having several such objects in memory at one time, even
it's not necessary.
|
| |
|
|
|
|
| |
It can be that the server is very slow, then the timeout on the D-Bus
call can be reached sooner than the server responds, thus let's
ignore the error and continue to get the stored password from GOA.
|
| |
|
|
|
| |
These can be used similarly as those in ESourceGoa extension.
Currently only "webdav" collection backend uses these properties.
|
| |
|
|
|
|
| |
There had been nothing specific about ownCloud in the module,
thus make it a generic WebDAV module, which can be reused when needed.
A migration code for the change had been added as well.
|
| |
|
|
|
|
| |
Any server providing CalDAV/CardDAV interfaces to access the calendars,
memo lists, task lists and address books may derive from this new object
and avoid code duplication.
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
accounts
|
| | |
|
| | |
|
| |
|
|
| |
See https://developer.gnome.org/hig/stable/typography.html
|
| | |
|