1. 28 Jun, 2014 1 commit
    • Zeeshan Ali's avatar
      locator: Map country-level accuracy to city-level · 7f219ae0
      Zeeshan Ali authored
      There is no source that provides country-level accuracy. Since Wifi (as
      geoip) source is the best we can do, accuracy really is country-level many
      times from this source and its doubtful app (or user) will mind being
      given slighly more accurate location, lets just map this to city-level
  2. 27 Jun, 2014 1 commit
  3. 21 Jun, 2014 5 commits
  4. 19 Jun, 2014 1 commit
    • Zeeshan Ali's avatar
      service-client: Disallow app if disabled by config · 3f910e42
      Zeeshan Ali authored
      We were treating both of these as same:
      * app explicitly disallowed by configuration
      * app not present in configuration
      As a result we were asking agent about both and since currently the only
      agents we have (demo and gnome-shell) allow all apps, we ended-up allowing
      apps that were explicitly disallowed by configuration.
  5. 18 Jun, 2014 4 commits
  6. 17 Jun, 2014 9 commits
  7. 10 Jun, 2014 4 commits
    • Zeeshan Ali's avatar
      Drop now redundant GClueModemSource class · 61568c2a
      Zeeshan Ali authored
      Modem classes now directly use GClueModem and therefore not inherit from
      GClueModemSource anymore.
    • Zeeshan Ali's avatar
      modem-gps: Use Modem class · 4a4bc54f
      Zeeshan Ali authored
      Instead of deriving from GClueModemSource class, GClueModemGPS now just
      uses GClueModem singleton to talk to ModemManager.
      Refer to 9231e644 ("Add GClueModem class") for rationale.
    • Zeeshan Ali's avatar
      3g: Use Modem class · 78046b9a
      Zeeshan Ali authored
      Instead of deriving from GClueModemSource class, GClue3G now just uses
      GClueModem singleton to talk to ModemManager.
      Refer to 9231e644 ("Add GClueModem class") for rationale.
    • Zeeshan Ali's avatar
      Add GClueModem class · 9231e644
      Zeeshan Ali authored
      Add a new class which is going to be responsible for dealing with
      ModemManager for us. This is so that:
      * We have ModemManager code isolated from rest of the code so its easy to
        add support for other backends (e.g ofono) in future.
      * We have only one entity dealing with modem. In the following patch(es),
        we'll drop GClueModemSource baseclass and, GClueModemGPS and GClue3G
        will just use GClueModem for talking to modem.
        * GClue3G can then derive from GClueWebSource instead and be more
          easily modified to submit cell tower data to Mozilla Location
        * GClueModemGPS can be easily generalized so that it can be more easily
          modifed to talk to standalone GPS devices too in future (we'll
          probably want to change it's name to GClueGPS then).
  8. 06 Jun, 2014 1 commit
  9. 03 Jun, 2014 6 commits
  10. 02 Jun, 2014 1 commit
  11. 25 May, 2014 3 commits
  12. 24 May, 2014 4 commits
    • Zeeshan Ali's avatar
      web-source: Don't refresh location on _start · e8665a82
      Zeeshan Ali authored
      Since now wifi interface proxy is created async in Wifi (the only
      inheriting class), calling _refresh from _start() could easily mean that
      location query is created while we don't have an interface (or list of
      BSS proxies, which are also created async) and end-up making a
      geoip-only query to the server. Also we can easily end-up not making the
      wifi query at all if geoip-only query is still in process since we only
      allow one query at a time.
      Let's leave this to subclasses (we only have 1 right now anyway).
    • Zeeshan Ali's avatar
      wifi: Use wpa_supplicant to retreive WiFI data · fb59be4c
      Zeeshan Ali authored
      wpa_supplicant seems to be a lot more ubiquitous than NetworkManager so
      lets use that instead of NetworkManager for getting WiFi data.
    • Zeeshan Ali's avatar
    • Zeeshan Ali's avatar
      conf: Get us access to wpa_supplicant API · e7760ff5
      Zeeshan Ali authored
      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.