diff options
author | Joas Schilling <coding@schilljs.com> | 2017-07-03 12:21:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-03 12:21:11 +0300 |
commit | 289c3da4a1cd010c2cec70849fda82422e026a12 (patch) | |
tree | adeaab93a22bb20e9b053c533b39733f30d2ff8f | |
parent | 2bce4a88da82bc7912440c878d315a56121d68b2 (diff) | |
parent | 9898053f96172e327119a97c739cb7080f4c12de (diff) |
Merge pull request #15 from nextcloud/backportsv1.0.1
Backports and new release
-rw-r--r-- | CHANGELOG.md | 15 | ||||
-rw-r--r-- | README.md | 2 | ||||
-rwxr-xr-x | appinfo/info.xml | 4 | ||||
-rw-r--r-- | docs/screenshot.png | bin | 0 -> 16718 bytes | |||
-rw-r--r-- | img/app-dark.svg | 5 | ||||
-rw-r--r-- | img/app.svg | 5 | ||||
-rw-r--r-- | lib/AppInfo/Application.php | 2 |
7 files changed, 23 insertions, 10 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..636ac8e --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,15 @@ +# Changelog +All notable changes to this project will be documented in this file. + +## 1.0.1 – 2017-07-03 + +### Changed + - Use quota icon instead of default app icon + [#1](https://github.com/nextcloud/quota_warning/pull/1) + +### Fixed + - App not working for users that are created after app installation [#10](https://github.com/nextcloud/quota_warning/issues/10) + +## 1.0.0 – 2017-05-29 +### Added + - Initial release with notifications @@ -1,3 +1,5 @@ # ❗💾 Quota warning This app sends notifications to users when they reached 50, 80 and 95% of their quota. + +![screenshot](docs/screenshot.png) diff --git a/appinfo/info.xml b/appinfo/info.xml index 0aee182..f8decd4 100755 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -8,13 +8,15 @@ <category>files</category> <category>monitoring</category> + <screenshot>https://raw.githubusercontent.com/nextcloud/quota_warning/master/docs/screenshot.png</screenshot> + <website>https://github.com/nextcloud/quota_warning</website> <bugs>https://github.com/nextcloud/quota_warning/issues</bugs> <repository>https://github.com/nextcloud/quota_warning</repository> <id>quota_warning</id> <namespace>QuotaWarning</namespace> - <version>1.0.0</version> + <version>1.0.1</version> <types> <filesystem/> diff --git a/docs/screenshot.png b/docs/screenshot.png Binary files differnew file mode 100644 index 0000000..23c8a39 --- /dev/null +++ b/docs/screenshot.png diff --git a/img/app-dark.svg b/img/app-dark.svg index c8318cc..5f0e55a 100644 --- a/img/app-dark.svg +++ b/img/app-dark.svg @@ -1,4 +1 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="32" xmlns="http://www.w3.org/2000/svg" version="1.0" height="32" viewBox="0 0 32 32"> - <path d="m13.733 0.00064c-0.52991 0-0.93331 0.40337-0.93331 0.93333v2.6666c-1.182 0.3034-2.243 0.7934-3.2668 1.4001l-1.9334-1.9334c-0.3747-0.3747-0.9586-0.3747-1.3333 0l-3.1999 3.2c-0.37473 0.37474-0.37473 0.95859 0 1.3333l1.9334 1.9335c-0.6067 1.0239-1.0967 2.0849-1.4001 3.2669h-2.6666c-0.52994 0-0.9333 0.403-0.9333 0.933v4.5333c2e-8 0.52996 0.40336 0.93333 0.93331 0.93333h2.6666c0.30335 1.1817 0.79332 2.2426 1.4 3.2666l-1.9334 1.9349c-0.37473 0.37474-0.37473 0.95859 0 1.3333l3.1999 3.2c0.37473 0.37474 0.95857 0.37474 1.3333 0l1.9334-1.9349c1.024 0.608 2.0849 1.0965 3.2665 1.3995v2.6667c0 0.53 0.403 0.933 0.933 0.933h4.5332c0.52991 0 0.93331-0.4032 0.93331-0.9344v-2.6667c1.1816-0.30336 2.2425-0.79335 3.2665-1.4l1.9333 1.9333c0.37473 0.37474 0.95857 0.37474 1.3333 0l3.1999-3.2c0.37473-0.37474 0.37473-0.95859 0-1.3333l-1.9327-1.9328c0.60798-1.024 1.0965-2.0845 1.3994-3.2661h2.6666c0.532 0 0.935-0.403 0.935-0.933v-4.534c0-0.53-0.403-0.933-0.934-0.933h-2.667c-0.303-1.182-0.791-2.243-1.399-3.2666l1.932-1.9334c0.37473-0.37474 0.37473-0.95859 0-1.3333l-3.2-3.2c-0.37473-0.37474-0.95857-0.37474-1.3333 0l-1.9327 1.9334c-1.024-0.6067-2.084-1.0967-3.266-1.4001v-2.6667c0-0.52993-0.403-0.9333-0.933-0.9333zm2.2666 8.8689c3.9361 0 7.1309 3.1947 7.1309 7.1311 0 3.9362-3.1946 7.1311-7.1309 7.1311-3.9361 0-7.1309-3.1955-7.1309-7.1317s3.1948-7.1311 7.1309-7.1311z" display="block" fill="#000"/> -</svg> +<svg xmlns="http://www.w3.org/2000/svg" height="32" width="32" version="1" viewBox="0 0 32 32"><path style="text-indent:0;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000;text-transform:none;block-progression:tb;isolation:auto;mix-blend-mode:normal" d="M15.971-.02C7.175-.02 0 7.174 0 15.99 0 24.808 7.175 32 15.971 32s15.971-7.192 15.971-16.01c0-8.817-7.175-16.01-15.97-16.01zm0 4.003c6.64 0 11.979 5.351 11.979 12.007 0 3.246-1.274 6.178-3.346 8.333L15.97 15.99V3.983z"/></svg> diff --git a/img/app.svg b/img/app.svg index 05aacca..cd8a898 100644 --- a/img/app.svg +++ b/img/app.svg @@ -1,4 +1 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<svg width="32" xmlns="http://www.w3.org/2000/svg" version="1.0" height="32" viewBox="0 0 32 32"> - <path d="m13.733 0.00064c-0.52991 0-0.93331 0.40337-0.93331 0.93333v2.6666c-1.182 0.3034-2.243 0.7934-3.2668 1.4001l-1.9334-1.9334c-0.3747-0.3747-0.9586-0.3747-1.3333 0l-3.1999 3.2c-0.37473 0.37474-0.37473 0.95859 0 1.3333l1.9334 1.9335c-0.6067 1.0239-1.0967 2.0849-1.4001 3.2669h-2.6666c-0.52994 0-0.9333 0.403-0.9333 0.933v4.5333c2e-8 0.52996 0.40336 0.93333 0.93331 0.93333h2.6666c0.30335 1.1817 0.79332 2.2426 1.4 3.2666l-1.9334 1.9349c-0.37473 0.37474-0.37473 0.95859 0 1.3333l3.1999 3.2c0.37473 0.37474 0.95857 0.37474 1.3333 0l1.9334-1.9349c1.024 0.608 2.0849 1.0965 3.2665 1.3995v2.6667c0 0.53 0.403 0.933 0.933 0.933h4.5332c0.52991 0 0.93331-0.4032 0.93331-0.9344v-2.6667c1.1816-0.30336 2.2425-0.79335 3.2665-1.4l1.9333 1.9333c0.37473 0.37474 0.95857 0.37474 1.3333 0l3.1999-3.2c0.37473-0.37474 0.37473-0.95859 0-1.3333l-1.9327-1.9328c0.60798-1.024 1.0965-2.0845 1.3994-3.2661h2.6666c0.532 0 0.935-0.403 0.935-0.933v-4.534c0-0.53-0.403-0.933-0.934-0.933h-2.667c-0.303-1.182-0.791-2.243-1.399-3.2666l1.932-1.9334c0.37473-0.37474 0.37473-0.95859 0-1.3333l-3.2-3.2c-0.37473-0.37474-0.95857-0.37474-1.3333 0l-1.9327 1.9334c-1.024-0.6067-2.084-1.0967-3.266-1.4001v-2.6667c0-0.52993-0.403-0.9333-0.933-0.9333zm2.2666 8.8689c3.9361 0 7.1309 3.1947 7.1309 7.1311 0 3.9362-3.1946 7.1311-7.1309 7.1311-3.9361 0-7.1309-3.1955-7.1309-7.1317s3.1948-7.1311 7.1309-7.1311z" display="block" fill="#fff"/> -</svg> +<svg xmlns="http://www.w3.org/2000/svg" height="32" width="32" version="1" viewBox="0 0 32 32"><path style="text-indent:0;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000;text-transform:none;block-progression:tb;isolation:auto;mix-blend-mode:normal" d="M16 0C7.188 0 0 7.188 0 16c0 8.812 7.188 16 16 16 8.812 0 16-7.188 16-16 0-8.812-7.188-16-16-16zm0 4c6.652 0 12 5.348 12 12 0 3.244-1.276 6.174-3.352 8.328L16 16V4z" fill="#fff"/></svg> diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php index 15b234b..6b73b9d 100644 --- a/lib/AppInfo/Application.php +++ b/lib/AppInfo/Application.php @@ -43,7 +43,7 @@ class Application extends App { protected function registerLoginHook() { - Util::connectHook('OC_User', 'post_login', $this, 'login'); + Util::connectHook('OC_User', 'post_login', $this, 'loginHook'); } /** |