| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
I'm not sure why we were building these from sources.
|
|
|
|
|
| |
CI already does this for us. Before this change, we were always building
the master branch and that meant merge requests weren't getting tested.
|
|
|
|
| |
Fixes #87.
|
| |
|
|
|
|
|
|
|
| |
This should give sufficient amount of time for agents to register
themselves before any dbus calls can timeoout (30s by default).
Fixes #84.
|
|
|
|
|
|
|
|
| |
instead of 5 seconds. 5s is very short amount of time when system is very
loaded and during startup of a desktop session. There is not harm in
waiting 60s anyway. Also, the default value should be longer than the
agent registeration timeout, which is currently 100ms but will be increased
to 20s in a following patch.
|
|
|
|
| |
Fixes #46.
|
| |
|
|
|
|
|
|
|
| |
If no agent is white-listed in the configuration, there is no point in
requiring an agent.
Fixes #74.
|
| |
|
| |
|
| |
|
|
|
|
| |
Fixes #73.
|
| |
|
| |
|
|
|
|
|
|
|
| |
The agent watches on d-bus and registers whenever it sees geoclue getting
alive.
https://gitlab.freedesktop.org/geoclue/geoclue/issues/68
|
|
|
|
|
|
| |
The GAsyncInitable interface that was implemented by the agent was not
useful. This commit removes this interface implementation to simplify the
code and allow the use of user_data for other things.
|
|
|
|
|
|
|
| |
This fixes a long standing crash resulting from client simply passing an
invalid accuracy level.
Fixes #58.
|
|
|
|
|
|
|
|
| |
GitLab provides a CI service which allows to test all commit and merge
requests automatically on arbitraty Docker images. The initial setup
includes building prerequisites which can't be provided with
'apt-get build-dep' and running
'./autogen.sh && configure && make && make check && make install'.
|
|
|
|
|
|
| |
Add hint about probable trouble on Ubuntu 14.04 because of
glib > 2.44.0 requirement to new README section
'Troubleshooting and known limitations'.
|
|
|
|
| |
We need that for using g_autofree() that we just started using.
|
|\
| |
| |
| |
| | |
Generate .vapi file for Vala support
See merge request geoclue/geoclue!2
|
|/ |
|
| |
|
| |
|
|
|
|
| |
It should be based on the filename.
|
| |
|
|
|
|
|
|
|
| |
Use systemd's service file to lockdown the geoclue daemon to stop
eventual security problems.
https://bugs.freedesktop.org/show_bug.cgi?id=106190
|
|
|
|
|
|
| |
CACHE_DIR isn't used anywhere.
https://bugs.freedesktop.org/show_bug.cgi?id=106190
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit a5afe7a0ee971371423edaca4fdd43b9b7b05a1e,
commit c8dc5bc0318293dbc9007946e92a10dba3a57d54 and commit
defe4a3e9f4bacba44b12e1fe82dd915e49858c2.
The new method of detecting whether an application is a Flatpak is only
available to 1) the user running the Flatpak 2) root. As we advise that
geoclue is run as a normal non-privileged user, revert those commits
while we wait for a solution to be available.
See https://github.com/flatpak/flatpak/issues/1644
https://bugs.freedesktop.org/show_bug.cgi?id=97776
|
|
|
|
|
|
| |
Make sure to not dereference a NULL StartData when geoclue gets started.
https://bugs.freedesktop.org/show_bug.cgi?id=106236
|
|
|
|
| |
Now we require all applications to provide a desktop ID.
|
| |
|
|
|
|
| |
Lines shouldn't exceed 80 chars.
|
|
|
|
|
|
|
|
|
|
|
| |
To avoid applications being denied access to location services when
gnome-shell hasn't had a chance to register its agent, either because
Geoclue got auto-started by the application, or because the shell hasn't
finished starting up, delay the authorization check until either an
agent appears, or 5 seconds after the application requested the
authorization.
https://bugs.freedesktop.org/show_bug.cgi?id=106236
|
|
|
|
|
|
|
|
|
| |
And refuse to serve applications that have different values for both.
This makes it easier to detect applications which would lie about their
IDs when run outside Flatpak, as well as making sure that settings are
shared for Flatpak'ed and non-Flatpak'ed versions of the application.
https://bugs.freedesktop.org/show_bug.cgi?id=97776
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For newer (>= 0.6.10) versions of Flatpak, the way to export the desktop
ID has changed from requiring cgroups to not requiring it.
See https://github.com/flatpak/flatpak/releases/tag/0.6.10
This changes the private gclue_client_info_get_xdg_id() API to return a
NULL xdg_id should the code fail to read the Flatpak ID for a Flatpak'ed
application, and consider it to be disqualifying:
"
Like parse_app_info_from_fileinfo(), returns NULL on failure,
"" (an empty string) if not sandboxed, and a desktop ID otherwise
"
https://bugs.freedesktop.org/show_bug.cgi?id=97776
|
|
|
|
|
|
|
| |
Separate the authorization checks that happen after the agent
availability is checked, to make it possible to delay that portion.
https://bugs.freedesktop.org/show_bug.cgi?id=106236
|
|
|
|
|
|
|
|
|
|
|
|
| |
geoclue/src/gclue-service-client.c: In function ‘gclue_service_client_handle_start’:
geoclue/src/gclue-service-client.c:574:22: warning: assignment to ‘GClueServiceClient *’ {aka ‘struct _GClueServiceClient *’} from incompatible pointer type ‘GClueDBusClient *’ {aka ‘struct _GClueDBusClient *’} [-Wincompatible-pointer-types]
data->client = g_object_ref (client);
^
See https://bugzilla.gnome.org/show_bug.cgi?id=790697 for the
gobject change that triggers this warning.
https://bugs.freedesktop.org/show_bug.cgi?id=106236
|
|
|
|
|
|
|
|
|
| |
Rather than have the default 5 seconds timeout in 2 separate locations,
move the default timeout value to the binary, so as to reduce the
difference between the interactive and non-interactive behaviour, and
reduce confusion.
https://bugs.freedesktop.org/show_bug.cgi?id=106249
|
|
|
|
|
|
|
|
|
|
| |
This is necessary for most desktops to continue working as they were
before GeoClue required an agent.
However, GNOME already has its own agent, which allows authorizing apps
individually, and as such doesn't need the demo agent.
https://bugs.freedesktop.org/show_bug.cgi?id=106236
|
|
|
|
|
|
|
|
|
|
|
| |
Most desktops don't have an agent. As a result, now that GeoClue refuses access
without an agent, apps won't be able to obtain the location on those
desktops.
Installing the demo agent, as long as they start it, keeps things working just
the same for those desktops: all accesses will continue being granted.
https://bugs.freedesktop.org/show_bug.cgi?id=106236
|
|
|
|
| |
https://bugs.freedesktop.org/show_bug.cgi?id=106236
|
|
|
|
|
|
|
| |
To make it clear that accuracy of 0 from agent means geolocation is
disabled for the user.
https://bugs.freedesktop.org/show_bug.cgi?id=106236
|