13 Commits

Author SHA1 Message Date
plan-do-break-fix
f93b738ac9 typo(fix): corrects common typos in project README files 2021-04-26 19:32:50 +10:00
Nyall Dawson
1f91895b1e Hide more debug noise 2021-01-31 05:42:59 +10:00
Juergen E. Fischer
6b834f405d remove trailing whitespaces from CMakeLists.txt 2021-01-14 10:11:52 +01:00
Denis Rouzaud
eddf6feb45 modernize CMakeLists.txt files 2020-11-12 07:14:46 +10:00
Juergen E. Fischer
765aa9c705 spelling fixes 2020-04-30 08:20:30 +02:00
Nyall Dawson
9af5a531b1 [o2] If an o2 auth refresh reply contains an error message, then
the refresh was NOT successful and we need to unlink the auth so
that a new login will be prompted

Fixes connections to ESRI portal fail after refresh token expires
on the server
2019-09-12 04:12:59 +10:00
Nyall Dawson
9cde65457b Ensure correct thread locale QgsNetworkAccessManager is used during
o2 requests

Otherwise the main thread manager is always used, resulting in
lots of warnings and potential crashes
2019-05-12 15:00:25 +10:00
Nyall Dawson
ba8f8e3f07 [o2] A new refresh_token is not a mandatory part of the response
after requesting a refresh

The server will always return a new access_token, but returning
a new refresh_token is optional
2019-05-12 15:00:25 +10:00
Nyall Dawson
87f5c0c0d4 [o2] Avoid a misleading console error output 2018-10-26 07:20:47 +10:00
Alessandro Pasotti
e5ba558617 Fix error return-std-move
std::move should not be used here because
it prevents RVO (copy elision) and it's
considered an anti-pattern.

To fix the original warning the returned
type must match the declared return
type or copy elision will not be possible
(and the warning will be triggered).
2018-10-11 08:33:18 +02:00
Denis Rouzaud
94a7d9db66
fix local variable will be copied despite being returned by name (#8157)
this is an error with clang 7
note: call 'std::move' explicitly to avoid copying
2018-10-10 05:33:54 -08:00
Matthias Kuhn
e306aaaaef
Fix file mode 2018-09-16 14:18:39 +02:00
Alessandro Pasotti
d54f5b2c2c [oauth2] Add o2 library as external 2018-06-25 11:39:52 +02:00