Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/westberliner/checksum.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpatrick <patrick@westberliner.net>2020-12-21 21:41:03 +0300
committerpatrick <patrick@westberliner.net>2020-12-21 21:41:03 +0300
commit332d45fa530ae716ae130db8fb88fb45bb2127b3 (patch)
tree42932404b3c38cf0fc30eee0ec7508ebb1038a03
parenta17014d57f1af83e700261de05c3330b13cd1f9f (diff)
#49: Updated controller for backwards compatibility down to php7.2.1.0.1
-rw-r--r--Changelog.md39
-rw-r--r--README.md2
-rw-r--r--appinfo/info.xml4
-rw-r--r--lib/Controller/ChecksumController.php6
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.
</description>
- <version>1.0.0</version>
+ <version>1.0.1</version>
<licence>agpl</licence>
<author>westberliner</author>
<types>
@@ -28,7 +28,7 @@
<bugs>https://github.com/westberliner/checksum/issues</bugs>
<screenshot>https://raw.githubusercontent.com/westberliner/checksum/master/screenshots/checksum.gif</screenshot>
<dependencies>
- <php min-version="7.4" />
+ <php min-version="7.2" />
<nextcloud min-version="20" max-version="21" />
</dependencies>
</info>
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.