Michael James Gratton
b8b1482e06
Add support for OAuth2 GOA accounts.
2018-06-12 13:25:05 +10:00
Michael James Gratton
29731383ea
Add OAUTH2 to Geary.Credentials.Method.
2018-06-12 13:25:05 +10:00
Michael James Gratton
13c92c3f7e
Convert Credentials and CredentialsMediator to refer to tokens, tidy up.
...
* src/engine/api/geary-credentials.vala (Credentials): Refer to auth
tokens, not passwords, so we can use the same object for OAuth2
auth. Update call sites.
* src/engine/api/geary-credentials-mediator.vala (CredentialsMediator):
Refer to auth tokens, not passwords, so we can use the same object for
OAuth2 auth. Remove saving and clearing methods from the interface
since that's only supported for password storage, not SSO like
GOA. Update implementations and call sites.
* src/engine/api/geary-account-information.vala (AccountInformation):
Replace many byzantine auth management methods with just a few for
handling loading and prompting. Remove ServiceFlag enum now it is no
longer used. Clean up call sites.
* src/client/accounts/account-manager.vala (AccountInformation): Manage
initial saving and final deletion of libsecret based accounts here,
rather than all over the code base.
2018-06-12 13:25:05 +10:00
Michael James Gratton
a165d9682d
Ensure SMTP credentials are null when both noauth and use_imap is set.
2018-06-12 13:25:05 +10:00
Michael James Gratton
acac68afed
Make ServiceInformation.mediator a required, read-only property.
2018-06-12 13:25:05 +10:00
Michael James Gratton
054d53a498
Move CredentalsMethod enum and property to Credentals.
...
* src/engine/api/geary-credentials.vala (Credentals): Move
CredentalsMethod enum here, rename to Method. Add supported_method
property, make all props read-only. Update call sites.
2018-06-12 13:25:05 +10:00
Michael James Gratton
863a11e780
Rename Geary.Service to Protocol, move into ServiceInformation source.
2018-06-12 13:25:05 +10:00
Michael James Gratton
ecf25a2e1b
Update CredentialsMediator API.
...
* src/engine/api/geary-credentials-mediator.vala (CredentialsMediator):
Pass in instances of ServiceInformation rather than Service. Update
subclasses and call sites.
2018-06-12 13:25:05 +10:00
Michael James Gratton
70114b1afb
Fix intermittent error obtaining shared endpoint references.
2018-06-12 13:25:05 +10:00
Michael James Gratton
ee1dcb5a4c
Move Endpoint prop from account to service info.
...
Since one of the main uses of Geary.Service to get endpoints, also
replace use of Service with ServiceInformation.
* src/engine/api/geary-service-information.vala (ServiceInformation): Add
an endpoint property, allowing instances to be passed around whenever
an endpoint is needed, rather than needing to switch on service type in
AccountInformation.
* src/engine/api/geary-account-information.vala (AccountInformation):
Remove endpoint properties and accessors. Provide an explicit means to
hook up to endpoints on the IMAP and SMTP ServiceInformation to get
notifications of untrusted hosts. Update call sites.
* src/engine/api/geary-engine.vala (Engine): Since we now explicitly hook
up untrusted hosts signals on AccountInformation, don't let the same
account be added twice.
2018-06-12 13:25:05 +10:00
Michael James Gratton
677b1cec86
Rename ServiceInformation.service to protocol to reduce redundancy.
2018-06-12 13:25:05 +10:00
Michael Gratton
2411dd2e20
Merge branch 'wip/limit-web-view-zoom' into 'master'
...
Ensure web view zoom level is always within a reasonable bounds.
See merge request GNOME/geary!7
2018-06-12 01:58:04 +00:00
Michael James Gratton
5a07e09cec
Ensure web view zoom level is always within a reasonable bounds.
...
Fixes Bug 773440 and addresses part of issue #1 .
2018-06-12 11:49:06 +10:00
Michael Gratton
5f88729f67
Merge branch 'wip/fix-flatpak-goa-build' into 'master'
...
Add a workaround to try to fix GOA module build in gnome-apps-nightly.
See merge request GNOME/geary!6
2018-06-11 16:59:11 +00:00
Michael James Gratton
11d0b1295d
Add a workaround to try to fix GOA module build in gnome-apps-nightly.
2018-06-12 02:49:34 +10:00
Michael Gratton
6cb32164bb
Merge branch 'wip/fix-fedora-sqlite-tokeniser' into 'master'
...
Fix fedora sqlite tokeniser
See merge request GNOME/geary!5
2018-06-11 09:28:44 +00:00
Michael James Gratton
477ce6b824
Ensure tar is installed for engine db upgrade units tests.
2018-06-11 19:10:36 +10:00
Michael James Gratton
e11fe7ac72
Re-enable tests under Fedora now that the SQLite tokeniser issue is fixed.
2018-06-11 18:34:34 +10:00
Michael James Gratton
85eaeb40f7
Fix unicodesn not being found on Fedora when building with Meson.
...
Final remaining issue for Bug 777044.
2018-06-11 18:33:20 +10:00
Michael Gratton
f059778c43
Merge branch 'wip/gitlab-ci' into 'master'
...
Gitlab CI
See merge request GNOME/geary!4
2018-06-11 06:49:23 +00:00
Michael James Gratton
d1940acf11
Fix Flatpak manifest missing gnome-online-accounts.
2018-06-11 16:39:43 +10:00
Michael James Gratton
e48ff8fb0c
Fix libgee build failure under GNOME Flatpak SDK master.
2018-06-11 16:39:43 +10:00
Michael James Gratton
3c7a3de141
Remove uneeded xml2po dep from flatpak-builder manifest.
2018-06-11 16:39:43 +10:00
Michael James Gratton
96d9d00164
Add gettext to Ubuntu deps.
2018-06-11 16:39:43 +10:00
Michael James Gratton
731deb9193
Disable fedora tests due to SQLite3 issue.
2018-06-11 16:39:43 +10:00
Michael James Gratton
2bc3ee4e56
Add some additional builds.
...
Flatpak build courtesy chergert.
2018-06-11 16:39:43 +10:00
Michael James Gratton
6dd59d8041
Merge stages since using Docker images is way too slow.
2018-06-11 09:51:00 +10:00
Michael James Gratton
b641a152a8
Add missing itstool install dependency.
2018-06-11 09:51:00 +10:00
Michael James Gratton
5a8257fd25
Add dependencies between build and install/test so it isn't rebuilt.
2018-06-11 09:51:00 +10:00
Michael James Gratton
e3bae7e382
Add missing goa dependency.
2018-06-11 09:51:00 +10:00
Michael James Gratton
a7795768d5
Revert "Revert "Add CI configuration.""
...
This reverts commit 69d9ac9f9d .
Revert the revert so we can re-add the CI config.
2018-06-11 09:44:32 +10:00
Michael Gratton
f609474b9e
Merge branch 'master' into 'master'
...
Add OARS metadata
See merge request GNOME/geary!3
2018-06-10 23:15:16 +00:00
Michael Gratton
23b974ecf2
Merge branch 'wip/ricotz/webkit' into 'master'
...
Use upstream webkit2gtk bindings
See merge request GNOME/geary!2
2018-06-10 23:13:25 +00:00
Piotr Drąg
a3abfd609a
Update Polish translation
2018-06-10 16:25:22 +02:00
Michael James Gratton
69d9ac9f9d
Revert "Add CI configuration."
...
This reverts commit 8508e7930a .
We don't actually want CI when it's not successfully building from
the get-go.
2018-06-10 18:50:18 +10:00
Michael Gratton
8508e7930a
Add CI configuration.
2018-06-10 04:28:03 +00:00
Michael Gratton
2f1dea0367
Merge branch 'master' into 'master'
...
Update URLs to GitLab in Flatpak manifest
See merge request GNOME/geary!1
2018-06-08 15:33:32 +00:00
Michael James Gratton
7a54a1ba17
Merge branch 'wip/774442-in-app-notifications'. Fixes Bug 774442.
2018-06-07 08:40:56 +10:00
Niels De Graef
c72d7b28ac
Implement in-app notifications. Bug 774442.
...
Implemented it for the mail sent-notification.
Signed-off-by: Niels De Graef <nielsdegraef@gmail.com>
2018-06-07 08:39:17 +10:00
nick richards
f512ebc199
Add OARS metadata
2018-06-05 13:53:39 +00:00
Michael James Gratton
79562f4e30
Clean up JS util API courtesy the new bindings.
2018-06-04 12:55:59 +02:00
Rico Tzschichholz
c52abaec08
Adjust to upstream javascriptcore-4.0 bindings
2018-06-04 12:55:59 +02:00
Rico Tzschichholz
20cd9823a7
bindings: Drop custom javascriptcore-4.0 and webkit2gtk-4.0 vapi
2018-06-04 12:55:59 +02:00
Georges Basile Stavracas Neto
a3447baae6
Update URLs to GitLab in Flatpak manifest
...
The GitLab migration happened and all the modules
that previously were pointed to git.gnome.org now
should point to gitlab.gnome.org.
This fixes the Flatpak nightly build.
2018-05-29 16:59:50 +00:00
Michael James Gratton
17551d17f6
Don't use "smtp_" prefix on SMTP-specific props so fallback works.
2018-05-28 14:15:11 +10:00
Michael James Gratton
2dcc6c7e4f
Fix critical when editing account settings.
...
Ensure when getting a temp copy of an AccountInformation, that its
IMAP and SMTP ServiceInformation members are also copied.
2018-05-28 14:06:39 +10:00
Michael James Gratton
fc795c7ec1
Fix signatures being mangled between getting loaded and saved.
2018-05-28 14:06:39 +10:00
Michael James Gratton
f9a8b6f158
Fix remember password setting not being saved.
2018-05-28 14:06:39 +10:00
Piotr Drąg
c87ee05052
Update POTFILES.in
2018-05-27 22:05:23 +02:00
Michael James Gratton
16abac42b8
Better handle SMTP outbox and IMAP connections being cancelled.
2018-05-28 01:34:08 +10:00