summaryrefslogtreecommitdiff
path: root/data
AgeCommit message (Collapse)AuthorFilesLines
2024-04-01man: Document sending SIGUSR1 to print client listTeemu Ikonen1-0/+3
2024-04-01man: Remove dangling spacesTeemu Ikonen1-9/+9
2023-09-01data/meson.build: Install D-Bus policy in /usr/share, not /etcGioele Barabucci1-1/+1
From https://bugs.debian.org/1006631: > dbus supports policy files in both `/usr/share/dbus-1/system.d` and > `/etc/dbus-1/systemd`. [The] recently released dbus 1.14.0, officially > deprecates installing packages' default policies into `/etc/dbus-1/systemd`, > instead reserving it for the sysadmin. This is the same idea as the > difference between `/usr/lib/udev/rules.d` and `/etc/udev/rules.d`.
2023-01-20data: meson: drop deprecated get_pkgconfig_variable()Dylan Van Assche1-1/+1
Meson 0.56.0 deprecated get_pkgconfig_variable(), use get_variable() instead.
2023-01-20data: geoclue.5.in: adjust man pageDylan Van Assche1-3/+13
Mention conf.d overwrites in man page
2023-01-20meson: install conf.d directoryDylan Van Assche1-0/+3
Bump to meson 0.60.0 for install_emptydir support to install conf.d directory.
2023-01-15Add static location sourceMaciej S. Szmigiero3-0/+66
There were many requests to provide a static location source for systems which don't normally move but where the existing location sources provide poor location estimate. An example of such system would be a desktop PC without WiFi or 3G modem. So let's add a source that reads location from "geolocation" file in @sysconfdir@ (normally /etc) to cover this use case. This file is constantly monitored for changes during Geoclue operation and the reported static location is updated accordingly. The geoclue(5) man page should be consulted for the format description of this file.
2022-11-06data: Update manpageShoji Keita1-4/+18
2022-11-06mozilla: Adapt to new /v2/geosubmit APIShoji Keita2-2/+2
While old /v1/submit API is still active right now, it has been deprecated since 2015. It's better to migrate to new /v2/geosubmit API.
2022-10-24data: Set env var GSETTINGS_BACKEND=memory in geoclue.service.inTeemu Ikonen1-0/+1
This prevents "Read-only file system. dconf will not work properly." warnings from the dconf GSettings backend, when GeoClue is run with ProtectSystem=strict, i.e. a read-only homedir.
2022-07-10locator: consider also Network NMEA as a MLS submit sourceMaciej S. Szmigiero1-0/+6
Currently, only Modem-GPS is supported as a provider of a location to submit to MLS. Let's also allow Network NMEA as such source if Modem-GPS is disabled in the config - it's very unlikely that both are going to be actually present on the same system and submission is disabled by default anyway.
2021-11-28config, location-source: Allow disabling compass in configTeemu Ikonen1-1/+7
config: Add 'compass' group with 'enable' key location-source: Leave priv->compass to NULL and don't connect compass signal handler, if compass is disabled in config.
2021-11-01mode-manager: Add polkit rule allowing GPS access for GeoclueÁlvaro Peña2-0/+15
2021-07-01config: add lipstickChupligin Sergey1-1/+6
2021-04-24config: Add phoshGuido Günther1-1/+6
This allows geoclue to use phosh (https://source.puri.sm/Librem5/phosh) as agent. Signed-off-by: Guido Günther <agx@sigxcpu.org>
2021-01-09src/gclue-nmea-source.c: add a unix socket file optionAngus Ainslie1-0/+3
Make the unix socket option and an option to specify the path. Signed-off-by: Angus Ainslie <angus@akkea.ca>
2019-10-01config: Make the Mozilla API key configurableJan Alexander Steffens (heftig)1-8/+10
And do not expose it in the configuration file.
2019-04-07man,conf: Add missing newline at end of fileZeeshan Ali1-1/+1
2019-04-07man,conf: Drop mention of system componentsZeeshan Ali2-7/+5
System app don't go through agents anymore.
2019-04-07conf,man: Drop mention of inexistant leaderboardZeeshan Ali2-6/+2
The leaderboard was dropped a while ago.
2019-04-07man,conf: No need for mentioning google's serviceZeeshan Ali1-10/+0
In the manpage.
2019-04-07Add geoclue configuration man pageSachin Chand2-0/+191
Fixes #49
2018-12-21wpa_supplicant: Add Scanning APIZeeshan Ali1-0/+5
We'll need this in a following patch to start WiFi scan to be able to get the most accurate location. Related: #91
2018-10-21build: Gather common path variables in root meson.buildJan Alexander Steffens (heftig)1-4/+4
This eliminates a lot of get_option and some join_paths.
2018-10-21build: Fix a double space (whitespace)Jan Alexander Steffens (heftig)1-1/+1
2018-10-15build: Use join_paths instead of concatenating the paths manuallyLaurent Bigonville1-3/+3
2018-10-15build: Set absolute path of libexecdirLaurent Bigonville1-1/+1
get_option('libexecdir') contains the path to libexecdir WITHOUT the prefix, we need to prepend the correct prefix to the expanded path is correct
2018-09-20conf: Document that all settings are mandatoryZeeshan Ali1-0/+5
Fixes #87.
2018-09-15service: Allow disabling of all sources through configZeeshan Ali1-0/+21
Fixes #46.
2018-09-13build: Drop autotoolsZeeshan Ali1-49/+0
2018-08-30conf: add elementary-desktop-agent to whitelistworldofpeace1-1/+6
2018-08-02conf: Warn about use of Google's servicesZeeshan Ali1-0/+5
2018-07-09meson: Simpler meson optionsZeeshan Ali1-1/+1
Remove 'enable-' prefix from most options.
2018-07-09Add meson build supportZeeshan Ali1-0/+54
During the porting I found some issues in meson that have been fixed in the git master and hence we require the upcoming release of meson: 0.47.0.
2018-05-03Lock down systemd service fileBastien Nocera1-0/+22
Use systemd's service file to lockdown the geoclue daemon to stop eventual security problems. https://bugs.freedesktop.org/show_bug.cgi?id=106190
2018-05-02Move default timeout to main binaryBastien Nocera2-2/+2
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
2017-07-20conf: More info about apps white-listZeeshan Ali1-0/+6
Explain further in a comment that the apps white-list is not meant to list all the apps in the world.
2017-03-18data: Add gnome-shell to the whitelistFlorian Müllner1-0/+5
gnome-shell now uses Geoclue to show weather information in the calendar drop-down. While it can easily bypass the authorization dialog (being the agent itself), the location indicator loses its usefulness when permanently visible, so add it to the other system components in the whitelist. https://bugs.freedesktop.org/show_bug.cgi?id=100263
2017-02-28data: Add "Night Light" functionality to the whitelistBastien Nocera1-0/+5
The gnome-settings-daemon color plugin uses Geoclue to guess the current location and deduce the sunset and sunrise times. Make sure that the functionality does not require a dialogue on startup when enabled. See https://bugzilla.gnome.org/show_bug.cgi?id=779343 https://bugs.freedesktop.org/show_bug.cgi?id=100008
2016-01-28build: Option to disable the backend buildCosimo Cecchi1-4/+6
With xdg-app, we will want to bundle the client convenience library with applications that require GeoClue, without having them ship all the backend service files, which will be shipped in the core OS. Introduce a --disable-backend build option that implements this policy. https://bugs.freedesktop.org/show_bug.cgi?id=93889
2015-09-17agent: Also allow root to call methodsZeeshan Ali (Khattak)1-0/+7
2015-08-26agent: Only allow the geoclue user to call methodsLaurent Bigonville1-1/+1
The policy applies only to the process sending a message, not the one receiving it. We need to be sure only the geoclue user can call the Agent's methods. Explanation by smvc from the bugreport: [...] The issue here is that every file in /etc/dbus-1/system.d applies to everything on the system bus - there is no way to limit policies to particular packages. So Geoclue2's policy allows any uid to call any method on the Properties interface at the path /org/freedesktop/GeoClue2/Agent, in *any* destination. You might think "why would any other service have an object at /org/freedesktop/GeoClue2/Agent?", but not all services distinguish between object paths: those that are implemented in terms of simplistic libdbus filters[1] typically do not. [...] https://bugs.freedesktop.org/show_bug.cgi?id=91214
2015-08-26build: Don't ship generated D-Bus service filesLaurent Bigonville1-1/+1
Do not ship generated D-Bus service files in the tarball. https://bugs.freedesktop.org/show_bug.cgi?id=91214
2015-08-23Add config option for NMEA sourceAnkit1-0/+6
Add configuration option to enable/disable Network NMEA source. Default is enabled. https://bugs.freedesktop.org/show_bug.cgi?id=90974
2015-08-03geoclue.conf: Document application entriesZeeshan Ali (Khattak)1-0/+6
Add a note to application-specific section, informing people that their favorite app does not need to be in the config to be able to get location.
2015-04-22dbus: Allow root to own the name on the busZeeshan Ali (Khattak)1-0/+5
Distributions are supposed to run the service as special user and when they do, it means root can't run/launch geoclue. That is annoying for bug reporters who need to launch geoclue manually for providing console log from it. Let's ensure that root is always able to launch the service.
2014-06-03config: Ability to mark app as system componentZeeshan Ali (Khattak)1-0/+6
If set to 'true', it means that app is more a part of system than an app-app. You know what I mean. :) Also mark gnome-datetime-panel as system component.
2014-05-25conf: Don't get access to NetworkManager APIZeeshan Ali (Khattak)1-24/+0
Now that we don't use NetworkManager, we don't need to get ourselves access to it's D-Bus API.
2014-05-24conf: Get us access to wpa_supplicant APIZeeshan Ali (Khattak)1-0/+15
We only need access to read properties and receive signals. A patch has been submitted to wpa_supplicant to make this redundant in here but at least for now, we need to get access ourselves.
2014-04-16config: Separate bool option to enable submissionZeeshan Ali (Khattak)1-3/+7
Instead of relying on submission URL being provided or not, provide an explicit boolean option in config to enable submission.