From 332d45fa530ae716ae130db8fb88fb45bb2127b3 Mon Sep 17 00:00:00 2001 From: patrick Date: Mon, 21 Dec 2020 19:41:03 +0100 Subject: #49: Updated controller for backwards compatibility down to php7.2. --- Changelog.md | 39 +++++++++++++++++++---------------- README.md | 2 +- appinfo/info.xml | 4 ++-- lib/Controller/ChecksumController.php | 6 +++--- 4 files changed, 27 insertions(+), 24 deletions(-) diff --git a/Changelog.md b/Changelog.md index ff490f9..ccb9559 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,44 +1,47 @@ Changelog ========= +**1.0.1** +- Updated controller for backwards compatibility down to php7.2. + **1.0.0** -- Checksum app with this version is now nextcloud only. Breaking changes enforcing this. Thx @st3iny for the pull request. +- Checksum app with this version is now nextcloud only. Breaking changes enforcing this. (thx to @st3iny) **0.4.5** -- updated info.xml > bump nextcloud support to version 19 (thx to @enoch85) -- changed app icon (thx to @The-EDev) +- Updated info.xml > bump nextcloud support to version 19. (thx to @enoch85) +- Changed app icon. (thx to @The-EDev) **0.4.4** -- updated info.xml > bump nextcloud support to version 18 (thx to @xXpc-freakXx) +- Updated info.xml > bump nextcloud support to version 18. (thx to @xXpc-freakXx) **0.4.3** -- Add tab icon (thx to @confusedguy9) +- Add tab icon. (thx to @confusedguy9) **0.4.2** -- updated info.xml > bump nextcloud support to version 15 +- Updated info.xml > bump nextcloud support to version 15. **0.4.1** -- updated info.xml > bump nextcloud support to version 14 (thx to @ArisenDrake) +- Updated info.xml > bump nextcloud support to version 14. (thx to @ArisenDrake) **0.3.6** -- updated info.xml > bump nextcloud support to version 13 (thx to @Eisfunke) +- Updated info.xml > bump nextcloud support to version 13. (thx to @Eisfunke) **0.3.5** -- changed the documentation-links to master (thx to @DJCrashdummy) -- Adding gif to description (thx to @jospoortvliet) +- Changed the documentation-links to master. (thx to @DJCrashdummy) +- Adding gif to description. (thx to @jospoortvliet) **0.3.4** -- updated info.xml -- added error handling if hash algorithm is not supported by server -- added reload button on ajax error response +- Updated info.xml. +- Added error handling if hash algorithm is not supported by server. +- Added reload button on ajax error response. **0.3.3** -- added sha384 +- Added sha384. **0.3.2** -- updated readme -- added changelog +- Updated readme. +- Added changelog. **0.3.1** -- allow unprivileged users to create checksums -- reload button +- Allow unprivileged users to create checksums. +- Reload button. diff --git a/README.md b/README.md index 78f4869..d0457b6 100644 --- a/README.md +++ b/README.md @@ -21,5 +21,5 @@ Possible algorithms are md5, sha1, sha256, sha384, sha512 and crc32. Compatibility ------------- -- This app was only tested on Nextcloud v20 to v21 and php v7.4. +- This app was only tested on Nextcloud v20 to v21 and php v7.(2|4). - For older nextcloud versions check older releases. diff --git a/appinfo/info.xml b/appinfo/info.xml index d9773e0..9c324fe 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -12,7 +12,7 @@ Select a algorithm and it will try to generate a hash. If you want an other algorithm, just click on the reload button. - 1.0.0 + 1.0.1 agpl westberliner @@ -28,7 +28,7 @@ https://github.com/westberliner/checksum/issues https://raw.githubusercontent.com/westberliner/checksum/master/screenshots/checksum.gif - + diff --git a/lib/Controller/ChecksumController.php b/lib/Controller/ChecksumController.php index 8953ba1..a04e1d6 100644 --- a/lib/Controller/ChecksumController.php +++ b/lib/Controller/ChecksumController.php @@ -17,17 +17,17 @@ class ChecksumController extends Controller { /** * @var IL10N */ - private IL10N $language; + private $language; /** * @var IMountManager */ - private IMountManager $mountManager; + private $mountManager; /** * @var IUserSession */ - private IUserSession $userSession; + private $userSession; /** * ChecksumController constructor. -- cgit v1.2.3