1. 08 Apr, 2019 1 commit
  2. 02 Mar, 2019 1 commit
  3. 21 Feb, 2019 1 commit
    • Kalev Lember's avatar
      Capitalize "Flathub Beta" · f151d0e8
      Kalev Lember authored
      We should switch to use flatpak_remote_get_title() here, but let's just
      do a quick hack for now and make "Flathub Beta" look nice, similar to
      what we are already doing with "Flathub".
  4. 11 Feb, 2019 2 commits
  5. 16 Jan, 2019 1 commit
    • Kalev Lember's avatar
      Split up permissions and update_permissions · 85b97d03
      Kalev Lember authored
      Since we use the same GsApp for the currently installed app and the
      update, we need separate fields for distinguishing between installed and
      update permissions.
      This fixes installed permissions to correctly show up for apps that are
      also updatable.
  6. 10 Jan, 2019 1 commit
    • Matthias Clasen's avatar
      app: Add permission api · 4372c3d6
      Matthias Clasen authored
      This adds a simple enum for somewhat granular description
      of sandbox permissions. This will need to be evolved over
  7. 07 Nov, 2018 1 commit
  8. 19 Oct, 2018 1 commit
  9. 15 Oct, 2018 2 commits
    • Richard Hughes's avatar
      Copy metadata from wildcard GsApp objects to concrete GsApps · c4c3b62d
      Richard Hughes authored
      This allows us to set a wildcard that matches on some metadata (for instance,
      GnomeSoftware::FeatureTile-css) and this allows us to preserve the data without
      having to re-resolve the metadata in the concrete GsApp.
      This allows us to ignore the problem where the system appstream plugin is no
      longer refining flatpaks, and thus higher priority GsApps were not getting the
      system-defined feature tile CSS metadata set.
    • Richard Hughes's avatar
      Add GsAppQuirk to avoid using types from libappstream-glib · 8fe5566a
      Richard Hughes authored
      This also allows us to rename things to be more obvious, e.g. MATCH_ANY_PREFIX
      to IS_WILDCARD. Longer term we want to disentangle appstream-glib further.
  10. 12 Oct, 2018 1 commit
  11. 09 Oct, 2018 1 commit
    • Richard Hughes's avatar
      Remove the perfect-screenshots kudo · cdd011d3
      Richard Hughes authored
      The GsScreenshotImage widget is not exactly 16:9 anymore, so it seems slightly
      crazy rewarding apps for something we don't actually use ourselves.
      Perfect really is sometimes the enemy of good.
  12. 04 Oct, 2018 1 commit
  13. 28 Sep, 2018 1 commit
  14. 27 Sep, 2018 3 commits
  15. 05 Sep, 2018 1 commit
  16. 18 Jul, 2018 3 commits
    • Richard Hughes's avatar
    • Richard Hughes's avatar
      flatpak: Use FlatpakTransaction to install, remove and update · 1113bf5a
      Richard Hughes authored
      This ensures we will get the same set of extensions and runtimes as the flatpak
      CLI tool, and allows us to make the plugin considerably simpler. Rather than
      using the plugin cache for the transaction, add each app and runtime being
      processed to a per-transaction cache which cleans up the cache model a lot.
      This allows us to remove gs_app_{g|s}et_update_runtime(); nobody every properly
      understood what this was doing, and it's no longer required.
      The counterpart matching also gets cut out; it was a huge layering violation
      and didn't work very well when there were two FlatpakInstallations with the
      same scope. If the GsApp scope is unknown, ask each GsFlatpak instance to
      refine the state until it returns without error.
      This also allows the runtime to use a different FlatpakInstallation than the
      application itself.
    • Richard Hughes's avatar
      Make the various app lists use GsAppList · 1f6c3454
      Richard Hughes authored
      This breaks API and ABI, but we already bumped the plugin version this cycle.
  17. 12 Jul, 2018 2 commits
  18. 05 Jun, 2018 1 commit
  19. 17 May, 2018 1 commit
  20. 19 Apr, 2018 1 commit
  21. 17 Apr, 2018 1 commit
    • Richard Hughes's avatar
      Add a warning when enabling the LVFS remote · d695afcf
      Richard Hughes authored
      Distributions like RHEL do not enable the LVFS by default and the legal team
      here say we need to add some agreement text which is shown before we enable
      downloading content from an external source.
      No new strings, so no translation freeze break.
  22. 29 Mar, 2018 1 commit
  23. 01 Mar, 2018 2 commits
  24. 22 Feb, 2018 1 commit
  25. 25 Jan, 2018 3 commits
    • Joaquim Rocha's avatar
      Make the QUEUED_FOR_INSTALL UX consistent with having a pending-action · fdf5bc2e
      Joaquim Rocha authored
      Apps can get assigned an AS_APP_STATE_QUEUED_FOR_INSTALL state which
      means they will not be installed until the network is connected again.
      The UX for showing this state in the details page consisted in showin a
      "Pending" string and a cancel button.
      This is very similar to the UX of the apps when they have a
      pending-action assigned to them, but actually less informative.
      Thus, for consistency and improvement, these changes make the UX for the
      QUEUED_FOR_INSTALL state the same as for pending-action.
    • Joaquim Rocha's avatar
      Add a pending-action to GsApp · b59516e3
      Joaquim Rocha authored
      Sometimes we cannot apply an action to a GsApp right away (e.g. because
      of not having an available worker thread for the action), so we should
      be able to set up an internal state in GsApp objects in order to reflect
      For that purpose, this patch introduces a gs_app_get/set_pending_action
      private method that can be used to track and eventually inform the user
      about this condition.
    • Joaquim Rocha's avatar
      Don't recover the apps' state back to QUEUED_FOR_INSTALL · f762cd2f
      Joaquim Rocha authored
      The AS_APP_STATE_QUEUED_FOR_INSTALL is a state that depends on usually
      temporary conditions, like not having a connection. So we shouldn't
      recover that state, otherwise, the following can happen:
      * there's no connection so an app gets queued for installation;
      * when the connection becomes available the app starts installing;
      * however if the user cancels the installation, the app will show up as
        queued for install.
      Thus, this patch prevents the mentioned state from being recovered.
  26. 11 Jan, 2018 1 commit
    • Kalev Lember's avatar
      GsApp: Avoid dereferencing priv before g_return_if_fail checks · 53d502da
      Kalev Lember authored
      We had a common pattern throughout the file to do:
        GsAppPrivate *priv = gs_app_get_instance_private (app);
        g_autoptr(GMutexLocker) locker = g_mutex_locker_new (&priv->mutex);
        g_return_if_fail (GS_IS_APP (app));
      ... which led to crashes when app was NULL, as g_return_if_fail was
      never reached in that case. This commit reorders this so that we first
      do the g_return_if_fail check and only then dereference priv.
  27. 02 Jan, 2018 2 commits
  28. 05 Dec, 2017 2 commits