Skip to content
Snippets Groups Projects
  1. Jan 26, 2021
  2. Jan 14, 2021
    • Damien Goutte-Gattat's avatar
      Fix comparison of PHP versions · bedd9acf
      Damien Goutte-Gattat authored
      
      Use the builtin function `version_compare` to check an app's
      compatibility with the available PHP version, instead of reusing
      the `OC\App\CompareVersion::isCompatible` method which is intended
      to compare Nextcloud versions. PHP version strings do not always
      necessarily follow the simple Major.Minor.Patch format used by
      Nextcloud and therefore cannot be properly compared by that method.
      
      Signed-off-by: default avatarDamien Goutte-Gattat <dgouttegattat@incenp.org>
      bedd9acf
  3. Dec 04, 2020
    • Christoph Wurst's avatar
      Check php compatibility of app store app releases · 24237f1a
      Christoph Wurst authored
      
      Apps might increase the minimum php version requirement, in which case
      an update could break the app or even the whole instance. We must not
      install those releases, or better, don't even show them for
      update/installation. This extends the app fetcher code to filter out the
      releases that are not installable.
      
      The filter respects minimum and maximum requirements. E.g. apps that are
      still only released for php7.3 won't show up for php7.4 instances. This
      behavior is new but if an app lists an explicit version requirement,
      then we ought to repect that.
      
      Signed-off-by: default avatarChristoph Wurst <christoph@winzerhof-wurst.at>
      24237f1a
  4. Aug 24, 2020
  5. Aug 07, 2020
  6. Apr 10, 2020
    • Christoph Wurst's avatar
      Format control structures, classes, methods and function · caff1023
      Christoph Wurst authored
      
      To continue this formatting madness, here's a tiny patch that adds
      unified formatting for control structures like if and loops as well as
      classes, their methods and anonymous functions. This basically forces
      the constructs to start on the same line. This is not exactly what PSR2
      wants, but I think we can have a few exceptions with "our" style. The
      starting of braces on the same line is pracrically standard for our
      code.
      
      This also removes and empty lines from method/function bodies at the
      beginning and end.
      
      Signed-off-by: default avatarChristoph Wurst <christoph@winzerhof-wurst.at>
      caff1023
  7. Mar 31, 2020
  8. Mar 25, 2020
  9. Jan 09, 2020
  10. Dec 23, 2019
  11. Dec 22, 2019
  12. Dec 05, 2019
  13. Aug 20, 2019
  14. Apr 08, 2019
  15. Mar 20, 2019
  16. Apr 26, 2018
  17. Apr 11, 2018
  18. Apr 10, 2018
  19. Feb 28, 2018
  20. Nov 06, 2017
  21. May 11, 2017
  22. May 10, 2017
  23. May 02, 2017
  24. Jan 05, 2017
  25. Dec 15, 2016
  26. Dec 14, 2016
  27. Nov 25, 2016
  28. Nov 24, 2016
    • Lukas Reschke's avatar
      Loop for newest version in appstore response · 6a4c0cf2
      Lukas Reschke authored
      
      The current implementation when fetching apps from the appstore is to assume that the first element is the newest version, this is now always applicable and leads to the fact that for some apps (e.g. nextant) the newest version is not delivered. This can be easily tested by comparing the version of the downloaded Nextant version.
      
      This change will loop over all releases delivered by the appstore and chooses the newest compatible one. While not the cleanest solution, it does its job.
      
      Most of the code are actually unit tests. Whereas I have copied the whole original response from the appstore and also have performed the transformation. So that's why the diff looks so huge.
      
      Signed-off-by: default avatarLukas Reschke <lukas@statuscode.ch>
      6a4c0cf2
  29. Oct 31, 2016
  30. Aug 22, 2016
  31. Aug 15, 2016
  32. Jul 21, 2016
  33. Jun 10, 2016
Loading