From 8659a31e045db2e073748a74b3a7b298e948a80f Mon Sep 17 00:00:00 2001 From: Balint Erdosi Date: Sun, 26 Apr 2020 00:36:56 +0200 Subject: [PATCH 1/5] keep up with upstream' Signed-off-by: Balint Erdosi --- .tx/config | 0 AUTHORS.md | 0 CHANGELOG.md | 0 COPYING | 0 Dockerfile | 0 README.md | 0 appinfo/app.php | 0 appinfo/database.xml | 0 appinfo/info.xml | 0 appinfo/routes.php | 0 css/style.css | 0 css/widget.css | 0 db/cityentity.php | 0 db/citymapper.php | 0 db/settingsmapper.php | 0 img/CREDITS.md | 0 img/app-dark.svg | 0 img/app.svg | 0 img/check.png | Bin img/clouds.png | Bin img/drizzle.jpg | Bin img/fog.jpg | Bin img/home-nopick.png | Bin img/home-pick.png | Bin img/mist.jpg | Bin img/rain.jpg | Bin img/sand.jpg | Bin img/snow.png | Bin img/sun.jpg | Bin img/thunderstorm.jpg | Bin img/tornado.jpg | Bin img/weather-admin-settings.png | Bin issue_template.md | 0 js/admin.js | 0 js/angular.min.js | 0 js/app.js | 0 js/widget.js | 0 l10n/.gitkeep | 0 l10n/af.js | 0 l10n/af.json | 0 l10n/ar.js | 0 l10n/ar.json | 0 l10n/ast.js | 0 l10n/ast.json | 0 l10n/az.js | 0 l10n/az.json | 0 l10n/be.js | 0 l10n/be.json | 0 l10n/bg.js | 0 l10n/bg.json | 0 l10n/bn_BD.js | 0 l10n/bn_BD.json | 0 l10n/bs.js | 0 l10n/bs.json | 0 l10n/ca.js | 0 l10n/ca.json | 0 l10n/cs.js | 0 l10n/cs.json | 0 l10n/cy_GB.js | 0 l10n/cy_GB.json | 0 l10n/da.js | 0 l10n/da.json | 0 l10n/de.js | 0 l10n/de.json | 0 l10n/de_DE.js | 0 l10n/de_DE.json | 0 l10n/el.js | 0 l10n/el.json | 0 l10n/en_GB.js | 0 l10n/en_GB.json | 0 l10n/eo.js | 0 l10n/eo.json | 0 l10n/es.js | 0 l10n/es.json | 0 l10n/es_419.js | 0 l10n/es_419.json | 0 l10n/es_AR.js | 0 l10n/es_AR.json | 0 l10n/es_CL.js | 0 l10n/es_CL.json | 0 l10n/es_CO.js | 0 l10n/es_CO.json | 0 l10n/es_CR.js | 0 l10n/es_CR.json | 0 l10n/es_DO.js | 0 l10n/es_DO.json | 0 l10n/es_EC.js | 0 l10n/es_EC.json | 0 l10n/es_GT.js | 0 l10n/es_GT.json | 0 l10n/es_HN.js | 0 l10n/es_HN.json | 0 l10n/es_MX.js | 0 l10n/es_MX.json | 0 l10n/es_NI.js | 0 l10n/es_NI.json | 0 l10n/es_PA.js | 0 l10n/es_PA.json | 0 l10n/es_PE.js | 0 l10n/es_PE.json | 0 l10n/es_PR.js | 0 l10n/es_PR.json | 0 l10n/es_PY.js | 0 l10n/es_PY.json | 0 l10n/es_SV.js | 0 l10n/es_SV.json | 0 l10n/es_UY.js | 0 l10n/es_UY.json | 0 l10n/et_EE.js | 0 l10n/et_EE.json | 0 l10n/eu.js | 0 l10n/eu.json | 0 l10n/fa.js | 0 l10n/fa.json | 0 l10n/fi.js | 0 l10n/fi.json | 0 l10n/fr.js | 0 l10n/fr.json | 0 l10n/gl.js | 0 l10n/gl.json | 0 l10n/he.js | 0 l10n/he.json | 0 l10n/hr.js | 0 l10n/hr.json | 0 l10n/hu.js | 0 l10n/hu.json | 0 l10n/hy.js | 0 l10n/hy.json | 0 l10n/ia.js | 0 l10n/ia.json | 0 l10n/id.js | 0 l10n/id.json | 0 l10n/is.js | 0 l10n/is.json | 0 l10n/it.js | 0 l10n/it.json | 0 l10n/ja.js | 0 l10n/ja.json | 0 l10n/ka_GE.js | 0 l10n/ka_GE.json | 0 l10n/kab.js | 0 l10n/kab.json | 0 l10n/km.js | 0 l10n/km.json | 0 l10n/kn.js | 0 l10n/kn.json | 0 l10n/ko.js | 0 l10n/ko.json | 0 l10n/lb.js | 0 l10n/lb.json | 0 l10n/lt_LT.js | 0 l10n/lt_LT.json | 0 l10n/lv.js | 0 l10n/lv.json | 0 l10n/mk.js | 0 l10n/mk.json | 0 l10n/mn.js | 0 l10n/mn.json | 0 l10n/ms_MY.js | 0 l10n/ms_MY.json | 0 l10n/nb.js | 0 l10n/nb.json | 0 l10n/nl.js | 0 l10n/nl.json | 0 l10n/nn_NO.js | 0 l10n/nn_NO.json | 0 l10n/oc.js | 0 l10n/oc.json | 0 l10n/pl.js | 0 l10n/pl.json | 0 l10n/ps.js | 0 l10n/ps.json | 0 l10n/pt_BR.js | 0 l10n/pt_BR.json | 0 l10n/pt_PT.js | 0 l10n/pt_PT.json | 0 l10n/ro.js | 0 l10n/ro.json | 0 l10n/ru.js | 0 l10n/ru.json | 0 l10n/si_LK.js | 0 l10n/si_LK.json | 0 l10n/sk.js | 0 l10n/sk.json | 0 l10n/sl.js | 0 l10n/sl.json | 0 l10n/sq.js | 0 l10n/sq.json | 0 l10n/sr.js | 0 l10n/sr.json | 0 l10n/sr@latin.js | 0 l10n/sr@latin.json | 0 l10n/sv.js | 0 l10n/sv.json | 0 l10n/ta_LK.js | 0 l10n/ta_LK.json | 0 l10n/th.js | 0 l10n/th.json | 0 l10n/tr.js | 0 l10n/tr.json | 0 l10n/ug.js | 0 l10n/ug.json | 0 l10n/uk.js | 0 l10n/uk.json | 0 l10n/ur_PK.js | 0 l10n/ur_PK.json | 0 l10n/uz.js | 0 l10n/uz.json | 0 l10n/vi.js | 0 l10n/vi.json | 0 l10n/zh_CN.js | 0 l10n/zh_CN.json | 0 l10n/zh_HK.js | 0 l10n/zh_HK.json | 0 l10n/zh_TW.js | 0 l10n/zh_TW.json | 0 lib/AppInfo/Application.php | 0 lib/Controller/CityController.php | 0 lib/Controller/IntermediateController.php | 0 lib/Controller/SettingsController.php | 0 lib/Controller/WeatherController.php | 0 lib/Settings/AdminSettings.php | 0 lib/Widgets/DefaultWidget.php | 0 screenshots/1.png | Bin screenshots/2.png | Bin templates/admin.php | 0 templates/main.php | 0 templates/widget.php | 0 228 files changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 .tx/config mode change 100644 => 100755 AUTHORS.md mode change 100644 => 100755 CHANGELOG.md mode change 100644 => 100755 COPYING mode change 100644 => 100755 Dockerfile mode change 100644 => 100755 README.md mode change 100644 => 100755 appinfo/app.php mode change 100644 => 100755 appinfo/database.xml mode change 100644 => 100755 appinfo/info.xml mode change 100644 => 100755 appinfo/routes.php mode change 100644 => 100755 css/style.css mode change 100644 => 100755 css/widget.css mode change 100644 => 100755 db/cityentity.php mode change 100644 => 100755 db/citymapper.php mode change 100644 => 100755 db/settingsmapper.php mode change 100644 => 100755 img/CREDITS.md mode change 100644 => 100755 img/app-dark.svg mode change 100644 => 100755 img/app.svg mode change 100644 => 100755 img/check.png mode change 100644 => 100755 img/clouds.png mode change 100644 => 100755 img/drizzle.jpg mode change 100644 => 100755 img/fog.jpg mode change 100644 => 100755 img/home-nopick.png mode change 100644 => 100755 img/home-pick.png mode change 100644 => 100755 img/mist.jpg mode change 100644 => 100755 img/rain.jpg mode change 100644 => 100755 img/sand.jpg mode change 100644 => 100755 img/snow.png mode change 100644 => 100755 img/sun.jpg mode change 100644 => 100755 img/thunderstorm.jpg mode change 100644 => 100755 img/tornado.jpg mode change 100644 => 100755 img/weather-admin-settings.png mode change 100644 => 100755 issue_template.md mode change 100644 => 100755 js/admin.js mode change 100644 => 100755 js/angular.min.js mode change 100644 => 100755 js/app.js mode change 100644 => 100755 js/widget.js mode change 100644 => 100755 l10n/.gitkeep mode change 100644 => 100755 l10n/af.js mode change 100644 => 100755 l10n/af.json mode change 100644 => 100755 l10n/ar.js mode change 100644 => 100755 l10n/ar.json mode change 100644 => 100755 l10n/ast.js mode change 100644 => 100755 l10n/ast.json mode change 100644 => 100755 l10n/az.js mode change 100644 => 100755 l10n/az.json mode change 100644 => 100755 l10n/be.js mode change 100644 => 100755 l10n/be.json mode change 100644 => 100755 l10n/bg.js mode change 100644 => 100755 l10n/bg.json mode change 100644 => 100755 l10n/bn_BD.js mode change 100644 => 100755 l10n/bn_BD.json mode change 100644 => 100755 l10n/bs.js mode change 100644 => 100755 l10n/bs.json mode change 100644 => 100755 l10n/ca.js mode change 100644 => 100755 l10n/ca.json mode change 100644 => 100755 l10n/cs.js mode change 100644 => 100755 l10n/cs.json mode change 100644 => 100755 l10n/cy_GB.js mode change 100644 => 100755 l10n/cy_GB.json mode change 100644 => 100755 l10n/da.js mode change 100644 => 100755 l10n/da.json mode change 100644 => 100755 l10n/de.js mode change 100644 => 100755 l10n/de.json mode change 100644 => 100755 l10n/de_DE.js mode change 100644 => 100755 l10n/de_DE.json mode change 100644 => 100755 l10n/el.js mode change 100644 => 100755 l10n/el.json mode change 100644 => 100755 l10n/en_GB.js mode change 100644 => 100755 l10n/en_GB.json mode change 100644 => 100755 l10n/eo.js mode change 100644 => 100755 l10n/eo.json mode change 100644 => 100755 l10n/es.js mode change 100644 => 100755 l10n/es.json mode change 100644 => 100755 l10n/es_419.js mode change 100644 => 100755 l10n/es_419.json mode change 100644 => 100755 l10n/es_AR.js mode change 100644 => 100755 l10n/es_AR.json mode change 100644 => 100755 l10n/es_CL.js mode change 100644 => 100755 l10n/es_CL.json mode change 100644 => 100755 l10n/es_CO.js mode change 100644 => 100755 l10n/es_CO.json mode change 100644 => 100755 l10n/es_CR.js mode change 100644 => 100755 l10n/es_CR.json mode change 100644 => 100755 l10n/es_DO.js mode change 100644 => 100755 l10n/es_DO.json mode change 100644 => 100755 l10n/es_EC.js mode change 100644 => 100755 l10n/es_EC.json mode change 100644 => 100755 l10n/es_GT.js mode change 100644 => 100755 l10n/es_GT.json mode change 100644 => 100755 l10n/es_HN.js mode change 100644 => 100755 l10n/es_HN.json mode change 100644 => 100755 l10n/es_MX.js mode change 100644 => 100755 l10n/es_MX.json mode change 100644 => 100755 l10n/es_NI.js mode change 100644 => 100755 l10n/es_NI.json mode change 100644 => 100755 l10n/es_PA.js mode change 100644 => 100755 l10n/es_PA.json mode change 100644 => 100755 l10n/es_PE.js mode change 100644 => 100755 l10n/es_PE.json mode change 100644 => 100755 l10n/es_PR.js mode change 100644 => 100755 l10n/es_PR.json mode change 100644 => 100755 l10n/es_PY.js mode change 100644 => 100755 l10n/es_PY.json mode change 100644 => 100755 l10n/es_SV.js mode change 100644 => 100755 l10n/es_SV.json mode change 100644 => 100755 l10n/es_UY.js mode change 100644 => 100755 l10n/es_UY.json mode change 100644 => 100755 l10n/et_EE.js mode change 100644 => 100755 l10n/et_EE.json mode change 100644 => 100755 l10n/eu.js mode change 100644 => 100755 l10n/eu.json mode change 100644 => 100755 l10n/fa.js mode change 100644 => 100755 l10n/fa.json mode change 100644 => 100755 l10n/fi.js mode change 100644 => 100755 l10n/fi.json mode change 100644 => 100755 l10n/fr.js mode change 100644 => 100755 l10n/fr.json mode change 100644 => 100755 l10n/gl.js mode change 100644 => 100755 l10n/gl.json mode change 100644 => 100755 l10n/he.js mode change 100644 => 100755 l10n/he.json mode change 100644 => 100755 l10n/hr.js mode change 100644 => 100755 l10n/hr.json mode change 100644 => 100755 l10n/hu.js mode change 100644 => 100755 l10n/hu.json mode change 100644 => 100755 l10n/hy.js mode change 100644 => 100755 l10n/hy.json mode change 100644 => 100755 l10n/ia.js mode change 100644 => 100755 l10n/ia.json mode change 100644 => 100755 l10n/id.js mode change 100644 => 100755 l10n/id.json mode change 100644 => 100755 l10n/is.js mode change 100644 => 100755 l10n/is.json mode change 100644 => 100755 l10n/it.js mode change 100644 => 100755 l10n/it.json mode change 100644 => 100755 l10n/ja.js mode change 100644 => 100755 l10n/ja.json mode change 100644 => 100755 l10n/ka_GE.js mode change 100644 => 100755 l10n/ka_GE.json mode change 100644 => 100755 l10n/kab.js mode change 100644 => 100755 l10n/kab.json mode change 100644 => 100755 l10n/km.js mode change 100644 => 100755 l10n/km.json mode change 100644 => 100755 l10n/kn.js mode change 100644 => 100755 l10n/kn.json mode change 100644 => 100755 l10n/ko.js mode change 100644 => 100755 l10n/ko.json mode change 100644 => 100755 l10n/lb.js mode change 100644 => 100755 l10n/lb.json mode change 100644 => 100755 l10n/lt_LT.js mode change 100644 => 100755 l10n/lt_LT.json mode change 100644 => 100755 l10n/lv.js mode change 100644 => 100755 l10n/lv.json mode change 100644 => 100755 l10n/mk.js mode change 100644 => 100755 l10n/mk.json mode change 100644 => 100755 l10n/mn.js mode change 100644 => 100755 l10n/mn.json mode change 100644 => 100755 l10n/ms_MY.js mode change 100644 => 100755 l10n/ms_MY.json mode change 100644 => 100755 l10n/nb.js mode change 100644 => 100755 l10n/nb.json mode change 100644 => 100755 l10n/nl.js mode change 100644 => 100755 l10n/nl.json mode change 100644 => 100755 l10n/nn_NO.js mode change 100644 => 100755 l10n/nn_NO.json mode change 100644 => 100755 l10n/oc.js mode change 100644 => 100755 l10n/oc.json mode change 100644 => 100755 l10n/pl.js mode change 100644 => 100755 l10n/pl.json mode change 100644 => 100755 l10n/ps.js mode change 100644 => 100755 l10n/ps.json mode change 100644 => 100755 l10n/pt_BR.js mode change 100644 => 100755 l10n/pt_BR.json mode change 100644 => 100755 l10n/pt_PT.js mode change 100644 => 100755 l10n/pt_PT.json mode change 100644 => 100755 l10n/ro.js mode change 100644 => 100755 l10n/ro.json mode change 100644 => 100755 l10n/ru.js mode change 100644 => 100755 l10n/ru.json mode change 100644 => 100755 l10n/si_LK.js mode change 100644 => 100755 l10n/si_LK.json mode change 100644 => 100755 l10n/sk.js mode change 100644 => 100755 l10n/sk.json mode change 100644 => 100755 l10n/sl.js mode change 100644 => 100755 l10n/sl.json mode change 100644 => 100755 l10n/sq.js mode change 100644 => 100755 l10n/sq.json mode change 100644 => 100755 l10n/sr.js mode change 100644 => 100755 l10n/sr.json mode change 100644 => 100755 l10n/sr@latin.js mode change 100644 => 100755 l10n/sr@latin.json mode change 100644 => 100755 l10n/sv.js mode change 100644 => 100755 l10n/sv.json mode change 100644 => 100755 l10n/ta_LK.js mode change 100644 => 100755 l10n/ta_LK.json mode change 100644 => 100755 l10n/th.js mode change 100644 => 100755 l10n/th.json mode change 100644 => 100755 l10n/tr.js mode change 100644 => 100755 l10n/tr.json mode change 100644 => 100755 l10n/ug.js mode change 100644 => 100755 l10n/ug.json mode change 100644 => 100755 l10n/uk.js mode change 100644 => 100755 l10n/uk.json mode change 100644 => 100755 l10n/ur_PK.js mode change 100644 => 100755 l10n/ur_PK.json mode change 100644 => 100755 l10n/uz.js mode change 100644 => 100755 l10n/uz.json mode change 100644 => 100755 l10n/vi.js mode change 100644 => 100755 l10n/vi.json mode change 100644 => 100755 l10n/zh_CN.js mode change 100644 => 100755 l10n/zh_CN.json mode change 100644 => 100755 l10n/zh_HK.js mode change 100644 => 100755 l10n/zh_HK.json mode change 100644 => 100755 l10n/zh_TW.js mode change 100644 => 100755 l10n/zh_TW.json mode change 100644 => 100755 lib/AppInfo/Application.php mode change 100644 => 100755 lib/Controller/CityController.php mode change 100644 => 100755 lib/Controller/IntermediateController.php mode change 100644 => 100755 lib/Controller/SettingsController.php mode change 100644 => 100755 lib/Controller/WeatherController.php mode change 100644 => 100755 lib/Settings/AdminSettings.php mode change 100644 => 100755 lib/Widgets/DefaultWidget.php mode change 100644 => 100755 screenshots/1.png mode change 100644 => 100755 screenshots/2.png mode change 100644 => 100755 templates/admin.php mode change 100644 => 100755 templates/main.php mode change 100644 => 100755 templates/widget.php diff --git a/.tx/config b/.tx/config old mode 100644 new mode 100755 diff --git a/AUTHORS.md b/AUTHORS.md old mode 100644 new mode 100755 diff --git a/CHANGELOG.md b/CHANGELOG.md old mode 100644 new mode 100755 diff --git a/COPYING b/COPYING old mode 100644 new mode 100755 diff --git a/Dockerfile b/Dockerfile old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/appinfo/app.php b/appinfo/app.php old mode 100644 new mode 100755 diff --git a/appinfo/database.xml b/appinfo/database.xml old mode 100644 new mode 100755 diff --git a/appinfo/info.xml b/appinfo/info.xml old mode 100644 new mode 100755 diff --git a/appinfo/routes.php b/appinfo/routes.php old mode 100644 new mode 100755 diff --git a/css/style.css b/css/style.css old mode 100644 new mode 100755 diff --git a/css/widget.css b/css/widget.css old mode 100644 new mode 100755 diff --git a/db/cityentity.php b/db/cityentity.php old mode 100644 new mode 100755 diff --git a/db/citymapper.php b/db/citymapper.php old mode 100644 new mode 100755 diff --git a/db/settingsmapper.php b/db/settingsmapper.php old mode 100644 new mode 100755 diff --git a/img/CREDITS.md b/img/CREDITS.md old mode 100644 new mode 100755 diff --git a/img/app-dark.svg b/img/app-dark.svg old mode 100644 new mode 100755 diff --git a/img/app.svg b/img/app.svg old mode 100644 new mode 100755 diff --git a/img/check.png b/img/check.png old mode 100644 new mode 100755 diff --git a/img/clouds.png b/img/clouds.png old mode 100644 new mode 100755 diff --git a/img/drizzle.jpg b/img/drizzle.jpg old mode 100644 new mode 100755 diff --git a/img/fog.jpg b/img/fog.jpg old mode 100644 new mode 100755 diff --git a/img/home-nopick.png b/img/home-nopick.png old mode 100644 new mode 100755 diff --git a/img/home-pick.png b/img/home-pick.png old mode 100644 new mode 100755 diff --git a/img/mist.jpg b/img/mist.jpg old mode 100644 new mode 100755 diff --git a/img/rain.jpg b/img/rain.jpg old mode 100644 new mode 100755 diff --git a/img/sand.jpg b/img/sand.jpg old mode 100644 new mode 100755 diff --git a/img/snow.png b/img/snow.png old mode 100644 new mode 100755 diff --git a/img/sun.jpg b/img/sun.jpg old mode 100644 new mode 100755 diff --git a/img/thunderstorm.jpg b/img/thunderstorm.jpg old mode 100644 new mode 100755 diff --git a/img/tornado.jpg b/img/tornado.jpg old mode 100644 new mode 100755 diff --git a/img/weather-admin-settings.png b/img/weather-admin-settings.png old mode 100644 new mode 100755 diff --git a/issue_template.md b/issue_template.md old mode 100644 new mode 100755 diff --git a/js/admin.js b/js/admin.js old mode 100644 new mode 100755 diff --git a/js/angular.min.js b/js/angular.min.js old mode 100644 new mode 100755 diff --git a/js/app.js b/js/app.js old mode 100644 new mode 100755 diff --git a/js/widget.js b/js/widget.js old mode 100644 new mode 100755 diff --git a/l10n/.gitkeep b/l10n/.gitkeep old mode 100644 new mode 100755 diff --git a/l10n/af.js b/l10n/af.js old mode 100644 new mode 100755 diff --git a/l10n/af.json b/l10n/af.json old mode 100644 new mode 100755 diff --git a/l10n/ar.js b/l10n/ar.js old mode 100644 new mode 100755 diff --git a/l10n/ar.json b/l10n/ar.json old mode 100644 new mode 100755 diff --git a/l10n/ast.js b/l10n/ast.js old mode 100644 new mode 100755 diff --git a/l10n/ast.json b/l10n/ast.json old mode 100644 new mode 100755 diff --git a/l10n/az.js b/l10n/az.js old mode 100644 new mode 100755 diff --git a/l10n/az.json b/l10n/az.json old mode 100644 new mode 100755 diff --git a/l10n/be.js b/l10n/be.js old mode 100644 new mode 100755 diff --git a/l10n/be.json b/l10n/be.json old mode 100644 new mode 100755 diff --git a/l10n/bg.js b/l10n/bg.js old mode 100644 new mode 100755 diff --git a/l10n/bg.json b/l10n/bg.json old mode 100644 new mode 100755 diff --git a/l10n/bn_BD.js b/l10n/bn_BD.js old mode 100644 new mode 100755 diff --git a/l10n/bn_BD.json b/l10n/bn_BD.json old mode 100644 new mode 100755 diff --git a/l10n/bs.js b/l10n/bs.js old mode 100644 new mode 100755 diff --git a/l10n/bs.json b/l10n/bs.json old mode 100644 new mode 100755 diff --git a/l10n/ca.js b/l10n/ca.js old mode 100644 new mode 100755 diff --git a/l10n/ca.json b/l10n/ca.json old mode 100644 new mode 100755 diff --git a/l10n/cs.js b/l10n/cs.js old mode 100644 new mode 100755 diff --git a/l10n/cs.json b/l10n/cs.json old mode 100644 new mode 100755 diff --git a/l10n/cy_GB.js b/l10n/cy_GB.js old mode 100644 new mode 100755 diff --git a/l10n/cy_GB.json b/l10n/cy_GB.json old mode 100644 new mode 100755 diff --git a/l10n/da.js b/l10n/da.js old mode 100644 new mode 100755 diff --git a/l10n/da.json b/l10n/da.json old mode 100644 new mode 100755 diff --git a/l10n/de.js b/l10n/de.js old mode 100644 new mode 100755 diff --git a/l10n/de.json b/l10n/de.json old mode 100644 new mode 100755 diff --git a/l10n/de_DE.js b/l10n/de_DE.js old mode 100644 new mode 100755 diff --git a/l10n/de_DE.json b/l10n/de_DE.json old mode 100644 new mode 100755 diff --git a/l10n/el.js b/l10n/el.js old mode 100644 new mode 100755 diff --git a/l10n/el.json b/l10n/el.json old mode 100644 new mode 100755 diff --git a/l10n/en_GB.js b/l10n/en_GB.js old mode 100644 new mode 100755 diff --git a/l10n/en_GB.json b/l10n/en_GB.json old mode 100644 new mode 100755 diff --git a/l10n/eo.js b/l10n/eo.js old mode 100644 new mode 100755 diff --git a/l10n/eo.json b/l10n/eo.json old mode 100644 new mode 100755 diff --git a/l10n/es.js b/l10n/es.js old mode 100644 new mode 100755 diff --git a/l10n/es.json b/l10n/es.json old mode 100644 new mode 100755 diff --git a/l10n/es_419.js b/l10n/es_419.js old mode 100644 new mode 100755 diff --git a/l10n/es_419.json b/l10n/es_419.json old mode 100644 new mode 100755 diff --git a/l10n/es_AR.js b/l10n/es_AR.js old mode 100644 new mode 100755 diff --git a/l10n/es_AR.json b/l10n/es_AR.json old mode 100644 new mode 100755 diff --git a/l10n/es_CL.js b/l10n/es_CL.js old mode 100644 new mode 100755 diff --git a/l10n/es_CL.json b/l10n/es_CL.json old mode 100644 new mode 100755 diff --git a/l10n/es_CO.js b/l10n/es_CO.js old mode 100644 new mode 100755 diff --git a/l10n/es_CO.json b/l10n/es_CO.json old mode 100644 new mode 100755 diff --git a/l10n/es_CR.js b/l10n/es_CR.js old mode 100644 new mode 100755 diff --git a/l10n/es_CR.json b/l10n/es_CR.json old mode 100644 new mode 100755 diff --git a/l10n/es_DO.js b/l10n/es_DO.js old mode 100644 new mode 100755 diff --git a/l10n/es_DO.json b/l10n/es_DO.json old mode 100644 new mode 100755 diff --git a/l10n/es_EC.js b/l10n/es_EC.js old mode 100644 new mode 100755 diff --git a/l10n/es_EC.json b/l10n/es_EC.json old mode 100644 new mode 100755 diff --git a/l10n/es_GT.js b/l10n/es_GT.js old mode 100644 new mode 100755 diff --git a/l10n/es_GT.json b/l10n/es_GT.json old mode 100644 new mode 100755 diff --git a/l10n/es_HN.js b/l10n/es_HN.js old mode 100644 new mode 100755 diff --git a/l10n/es_HN.json b/l10n/es_HN.json old mode 100644 new mode 100755 diff --git a/l10n/es_MX.js b/l10n/es_MX.js old mode 100644 new mode 100755 diff --git a/l10n/es_MX.json b/l10n/es_MX.json old mode 100644 new mode 100755 diff --git a/l10n/es_NI.js b/l10n/es_NI.js old mode 100644 new mode 100755 diff --git a/l10n/es_NI.json b/l10n/es_NI.json old mode 100644 new mode 100755 diff --git a/l10n/es_PA.js b/l10n/es_PA.js old mode 100644 new mode 100755 diff --git a/l10n/es_PA.json b/l10n/es_PA.json old mode 100644 new mode 100755 diff --git a/l10n/es_PE.js b/l10n/es_PE.js old mode 100644 new mode 100755 diff --git a/l10n/es_PE.json b/l10n/es_PE.json old mode 100644 new mode 100755 diff --git a/l10n/es_PR.js b/l10n/es_PR.js old mode 100644 new mode 100755 diff --git a/l10n/es_PR.json b/l10n/es_PR.json old mode 100644 new mode 100755 diff --git a/l10n/es_PY.js b/l10n/es_PY.js old mode 100644 new mode 100755 diff --git a/l10n/es_PY.json b/l10n/es_PY.json old mode 100644 new mode 100755 diff --git a/l10n/es_SV.js b/l10n/es_SV.js old mode 100644 new mode 100755 diff --git a/l10n/es_SV.json b/l10n/es_SV.json old mode 100644 new mode 100755 diff --git a/l10n/es_UY.js b/l10n/es_UY.js old mode 100644 new mode 100755 diff --git a/l10n/es_UY.json b/l10n/es_UY.json old mode 100644 new mode 100755 diff --git a/l10n/et_EE.js b/l10n/et_EE.js old mode 100644 new mode 100755 diff --git a/l10n/et_EE.json b/l10n/et_EE.json old mode 100644 new mode 100755 diff --git a/l10n/eu.js b/l10n/eu.js old mode 100644 new mode 100755 diff --git a/l10n/eu.json b/l10n/eu.json old mode 100644 new mode 100755 diff --git a/l10n/fa.js b/l10n/fa.js old mode 100644 new mode 100755 diff --git a/l10n/fa.json b/l10n/fa.json old mode 100644 new mode 100755 diff --git a/l10n/fi.js b/l10n/fi.js old mode 100644 new mode 100755 diff --git a/l10n/fi.json b/l10n/fi.json old mode 100644 new mode 100755 diff --git a/l10n/fr.js b/l10n/fr.js old mode 100644 new mode 100755 diff --git a/l10n/fr.json b/l10n/fr.json old mode 100644 new mode 100755 diff --git a/l10n/gl.js b/l10n/gl.js old mode 100644 new mode 100755 diff --git a/l10n/gl.json b/l10n/gl.json old mode 100644 new mode 100755 diff --git a/l10n/he.js b/l10n/he.js old mode 100644 new mode 100755 diff --git a/l10n/he.json b/l10n/he.json old mode 100644 new mode 100755 diff --git a/l10n/hr.js b/l10n/hr.js old mode 100644 new mode 100755 diff --git a/l10n/hr.json b/l10n/hr.json old mode 100644 new mode 100755 diff --git a/l10n/hu.js b/l10n/hu.js old mode 100644 new mode 100755 diff --git a/l10n/hu.json b/l10n/hu.json old mode 100644 new mode 100755 diff --git a/l10n/hy.js b/l10n/hy.js old mode 100644 new mode 100755 diff --git a/l10n/hy.json b/l10n/hy.json old mode 100644 new mode 100755 diff --git a/l10n/ia.js b/l10n/ia.js old mode 100644 new mode 100755 diff --git a/l10n/ia.json b/l10n/ia.json old mode 100644 new mode 100755 diff --git a/l10n/id.js b/l10n/id.js old mode 100644 new mode 100755 diff --git a/l10n/id.json b/l10n/id.json old mode 100644 new mode 100755 diff --git a/l10n/is.js b/l10n/is.js old mode 100644 new mode 100755 diff --git a/l10n/is.json b/l10n/is.json old mode 100644 new mode 100755 diff --git a/l10n/it.js b/l10n/it.js old mode 100644 new mode 100755 diff --git a/l10n/it.json b/l10n/it.json old mode 100644 new mode 100755 diff --git a/l10n/ja.js b/l10n/ja.js old mode 100644 new mode 100755 diff --git a/l10n/ja.json b/l10n/ja.json old mode 100644 new mode 100755 diff --git a/l10n/ka_GE.js b/l10n/ka_GE.js old mode 100644 new mode 100755 diff --git a/l10n/ka_GE.json b/l10n/ka_GE.json old mode 100644 new mode 100755 diff --git a/l10n/kab.js b/l10n/kab.js old mode 100644 new mode 100755 diff --git a/l10n/kab.json b/l10n/kab.json old mode 100644 new mode 100755 diff --git a/l10n/km.js b/l10n/km.js old mode 100644 new mode 100755 diff --git a/l10n/km.json b/l10n/km.json old mode 100644 new mode 100755 diff --git a/l10n/kn.js b/l10n/kn.js old mode 100644 new mode 100755 diff --git a/l10n/kn.json b/l10n/kn.json old mode 100644 new mode 100755 diff --git a/l10n/ko.js b/l10n/ko.js old mode 100644 new mode 100755 diff --git a/l10n/ko.json b/l10n/ko.json old mode 100644 new mode 100755 diff --git a/l10n/lb.js b/l10n/lb.js old mode 100644 new mode 100755 diff --git a/l10n/lb.json b/l10n/lb.json old mode 100644 new mode 100755 diff --git a/l10n/lt_LT.js b/l10n/lt_LT.js old mode 100644 new mode 100755 diff --git a/l10n/lt_LT.json b/l10n/lt_LT.json old mode 100644 new mode 100755 diff --git a/l10n/lv.js b/l10n/lv.js old mode 100644 new mode 100755 diff --git a/l10n/lv.json b/l10n/lv.json old mode 100644 new mode 100755 diff --git a/l10n/mk.js b/l10n/mk.js old mode 100644 new mode 100755 diff --git a/l10n/mk.json b/l10n/mk.json old mode 100644 new mode 100755 diff --git a/l10n/mn.js b/l10n/mn.js old mode 100644 new mode 100755 diff --git a/l10n/mn.json b/l10n/mn.json old mode 100644 new mode 100755 diff --git a/l10n/ms_MY.js b/l10n/ms_MY.js old mode 100644 new mode 100755 diff --git a/l10n/ms_MY.json b/l10n/ms_MY.json old mode 100644 new mode 100755 diff --git a/l10n/nb.js b/l10n/nb.js old mode 100644 new mode 100755 diff --git a/l10n/nb.json b/l10n/nb.json old mode 100644 new mode 100755 diff --git a/l10n/nl.js b/l10n/nl.js old mode 100644 new mode 100755 diff --git a/l10n/nl.json b/l10n/nl.json old mode 100644 new mode 100755 diff --git a/l10n/nn_NO.js b/l10n/nn_NO.js old mode 100644 new mode 100755 diff --git a/l10n/nn_NO.json b/l10n/nn_NO.json old mode 100644 new mode 100755 diff --git a/l10n/oc.js b/l10n/oc.js old mode 100644 new mode 100755 diff --git a/l10n/oc.json b/l10n/oc.json old mode 100644 new mode 100755 diff --git a/l10n/pl.js b/l10n/pl.js old mode 100644 new mode 100755 diff --git a/l10n/pl.json b/l10n/pl.json old mode 100644 new mode 100755 diff --git a/l10n/ps.js b/l10n/ps.js old mode 100644 new mode 100755 diff --git a/l10n/ps.json b/l10n/ps.json old mode 100644 new mode 100755 diff --git a/l10n/pt_BR.js b/l10n/pt_BR.js old mode 100644 new mode 100755 diff --git a/l10n/pt_BR.json b/l10n/pt_BR.json old mode 100644 new mode 100755 diff --git a/l10n/pt_PT.js b/l10n/pt_PT.js old mode 100644 new mode 100755 diff --git a/l10n/pt_PT.json b/l10n/pt_PT.json old mode 100644 new mode 100755 diff --git a/l10n/ro.js b/l10n/ro.js old mode 100644 new mode 100755 diff --git a/l10n/ro.json b/l10n/ro.json old mode 100644 new mode 100755 diff --git a/l10n/ru.js b/l10n/ru.js old mode 100644 new mode 100755 diff --git a/l10n/ru.json b/l10n/ru.json old mode 100644 new mode 100755 diff --git a/l10n/si_LK.js b/l10n/si_LK.js old mode 100644 new mode 100755 diff --git a/l10n/si_LK.json b/l10n/si_LK.json old mode 100644 new mode 100755 diff --git a/l10n/sk.js b/l10n/sk.js old mode 100644 new mode 100755 diff --git a/l10n/sk.json b/l10n/sk.json old mode 100644 new mode 100755 diff --git a/l10n/sl.js b/l10n/sl.js old mode 100644 new mode 100755 diff --git a/l10n/sl.json b/l10n/sl.json old mode 100644 new mode 100755 diff --git a/l10n/sq.js b/l10n/sq.js old mode 100644 new mode 100755 diff --git a/l10n/sq.json b/l10n/sq.json old mode 100644 new mode 100755 diff --git a/l10n/sr.js b/l10n/sr.js old mode 100644 new mode 100755 diff --git a/l10n/sr.json b/l10n/sr.json old mode 100644 new mode 100755 diff --git a/l10n/sr@latin.js b/l10n/sr@latin.js old mode 100644 new mode 100755 diff --git a/l10n/sr@latin.json b/l10n/sr@latin.json old mode 100644 new mode 100755 diff --git a/l10n/sv.js b/l10n/sv.js old mode 100644 new mode 100755 diff --git a/l10n/sv.json b/l10n/sv.json old mode 100644 new mode 100755 diff --git a/l10n/ta_LK.js b/l10n/ta_LK.js old mode 100644 new mode 100755 diff --git a/l10n/ta_LK.json b/l10n/ta_LK.json old mode 100644 new mode 100755 diff --git a/l10n/th.js b/l10n/th.js old mode 100644 new mode 100755 diff --git a/l10n/th.json b/l10n/th.json old mode 100644 new mode 100755 diff --git a/l10n/tr.js b/l10n/tr.js old mode 100644 new mode 100755 diff --git a/l10n/tr.json b/l10n/tr.json old mode 100644 new mode 100755 diff --git a/l10n/ug.js b/l10n/ug.js old mode 100644 new mode 100755 diff --git a/l10n/ug.json b/l10n/ug.json old mode 100644 new mode 100755 diff --git a/l10n/uk.js b/l10n/uk.js old mode 100644 new mode 100755 diff --git a/l10n/uk.json b/l10n/uk.json old mode 100644 new mode 100755 diff --git a/l10n/ur_PK.js b/l10n/ur_PK.js old mode 100644 new mode 100755 diff --git a/l10n/ur_PK.json b/l10n/ur_PK.json old mode 100644 new mode 100755 diff --git a/l10n/uz.js b/l10n/uz.js old mode 100644 new mode 100755 diff --git a/l10n/uz.json b/l10n/uz.json old mode 100644 new mode 100755 diff --git a/l10n/vi.js b/l10n/vi.js old mode 100644 new mode 100755 diff --git a/l10n/vi.json b/l10n/vi.json old mode 100644 new mode 100755 diff --git a/l10n/zh_CN.js b/l10n/zh_CN.js old mode 100644 new mode 100755 diff --git a/l10n/zh_CN.json b/l10n/zh_CN.json old mode 100644 new mode 100755 diff --git a/l10n/zh_HK.js b/l10n/zh_HK.js old mode 100644 new mode 100755 diff --git a/l10n/zh_HK.json b/l10n/zh_HK.json old mode 100644 new mode 100755 diff --git a/l10n/zh_TW.js b/l10n/zh_TW.js old mode 100644 new mode 100755 diff --git a/l10n/zh_TW.json b/l10n/zh_TW.json old mode 100644 new mode 100755 diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php old mode 100644 new mode 100755 diff --git a/lib/Controller/CityController.php b/lib/Controller/CityController.php old mode 100644 new mode 100755 diff --git a/lib/Controller/IntermediateController.php b/lib/Controller/IntermediateController.php old mode 100644 new mode 100755 diff --git a/lib/Controller/SettingsController.php b/lib/Controller/SettingsController.php old mode 100644 new mode 100755 diff --git a/lib/Controller/WeatherController.php b/lib/Controller/WeatherController.php old mode 100644 new mode 100755 diff --git a/lib/Settings/AdminSettings.php b/lib/Settings/AdminSettings.php old mode 100644 new mode 100755 diff --git a/lib/Widgets/DefaultWidget.php b/lib/Widgets/DefaultWidget.php old mode 100644 new mode 100755 diff --git a/screenshots/1.png b/screenshots/1.png old mode 100644 new mode 100755 diff --git a/screenshots/2.png b/screenshots/2.png old mode 100644 new mode 100755 diff --git a/templates/admin.php b/templates/admin.php old mode 100644 new mode 100755 diff --git a/templates/main.php b/templates/main.php old mode 100644 new mode 100755 diff --git a/templates/widget.php b/templates/widget.php old mode 100644 new mode 100755 From 180a7bc7ec547029950c5f1ec6d820876c4534e0 Mon Sep 17 00:00:00 2001 From: Balint Erdosi Date: Tue, 22 Dec 2020 00:58:53 +0100 Subject: [PATCH 2/5] sync Signed-off-by: Balint Erdosi --- AUTHORS.md | 2 +- appinfo/database.xml | 55 ------------- appinfo/info.xml | 4 +- js/admin.js | 2 +- l10n/ca.js | 2 +- l10n/ca.json | 2 +- l10n/de.js | 4 +- l10n/de.json | 4 +- l10n/de_DE.js | 6 +- l10n/de_DE.json | 6 +- l10n/fi.js | 5 +- l10n/fi.json | 5 +- l10n/mk.js | 44 ++++++++++- l10n/mk.json | 44 ++++++++++- l10n/sl.js | 5 ++ l10n/sl.json | 5 ++ l10n/sv.js | 6 ++ l10n/sv.json | 6 ++ .../Version010703Date20201101235744.php | 78 +++++++++++++++++++ 19 files changed, 210 insertions(+), 75 deletions(-) delete mode 100755 appinfo/database.xml create mode 100644 lib/Migration/Version010703Date20201101235744.php diff --git a/AUTHORS.md b/AUTHORS.md index 0e57606..9aec29b 100755 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -1,4 +1,4 @@ # Authors * Loic Blot: - +* e-alfred diff --git a/appinfo/database.xml b/appinfo/database.xml deleted file mode 100755 index 33c2458..0000000 --- a/appinfo/database.xml +++ /dev/null @@ -1,55 +0,0 @@ - - - *dbname* - true - false - utf8 - - *dbprefix*weather_city - - - id - integer - true - 10 - 1 - true - - - name - text - true - 255 - - - user_id - text - true - 255 - - -
- - *dbprefix*weather_config - - - user - text - true - 255 - - - key - text - true - 255 - - - value - text - false - 10240 - - -
-
diff --git a/appinfo/info.xml b/appinfo/info.xml index 218e7bc..c142a10 100755 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -4,14 +4,14 @@ weather Weather Watch the weather directly on your Nextcloud. - 1.7.3 + 1.7.4 AGPL Loic Blot tools https://raw.githubusercontent.com/nextcloud/weather/master/screenshots/1.png https://raw.githubusercontent.com/nextcloud/weather/master/screenshots/2.png - + https://github.com/nextcloud/weather https://github.com/nextcloud/weather/issues diff --git a/js/admin.js b/js/admin.js index 975cbf9..5d57466 100755 --- a/js/admin.js +++ b/js/admin.js @@ -48,6 +48,6 @@ } })(); -$(document).ready(function() { +window.addEventListener('DOMContentLoaded', function () { OCA.Weather.Admin.initialize(); }); diff --git a/l10n/ca.js b/l10n/ca.js index efced6a..b2e2289 100755 --- a/l10n/ca.js +++ b/l10n/ca.js @@ -15,7 +15,7 @@ OC.L10N.register( "North-West" : "Nord-oest", "Failed to get city weather informations. Please contact your administrator" : "No s'ha pogut obtenir la informació del temps de la ciutat. Poseu-vos en contacte amb l'administrador.", "No city with this name found." : "No s'ha trobat cap ciutat amb aquest nom.", - "Your OpenWeatherMap API key is invalid. Contact your administrator to configure a valid API key in Additional Settings of the Administration" : "La vostra clau de l'API d'OpenWeatherMap no és vàlida. Poseu-vos en contacte amb l'administrador per a configurar una clau vàlida a la secció Paràmetres addicionals a Administració.", + "Your OpenWeatherMap API key is invalid. Contact your administrator to configure a valid API key in Additional Settings of the Administration" : "La vostra clau de l'API d'OpenWeatherMap no és vàlida. Poseu-vos en contacte amb l'administrador per a configurar una clau vàlida a la secció «Paràmetres addicionals» a «Administració».", "Empty city name!" : "El nom de la ciutat està buit!", "Failed to add city. Please contact your administrator" : "No s'ha pogut afegir la ciutat. Poseu-vos en contacte amb l'administrador.", "This city is already registered for your account." : "Ja heu registrat aquesta ciutat en el vostre compte.", diff --git a/l10n/ca.json b/l10n/ca.json index 4dca89e..33086a9 100755 --- a/l10n/ca.json +++ b/l10n/ca.json @@ -13,7 +13,7 @@ "North-West" : "Nord-oest", "Failed to get city weather informations. Please contact your administrator" : "No s'ha pogut obtenir la informació del temps de la ciutat. Poseu-vos en contacte amb l'administrador.", "No city with this name found." : "No s'ha trobat cap ciutat amb aquest nom.", - "Your OpenWeatherMap API key is invalid. Contact your administrator to configure a valid API key in Additional Settings of the Administration" : "La vostra clau de l'API d'OpenWeatherMap no és vàlida. Poseu-vos en contacte amb l'administrador per a configurar una clau vàlida a la secció Paràmetres addicionals a Administració.", + "Your OpenWeatherMap API key is invalid. Contact your administrator to configure a valid API key in Additional Settings of the Administration" : "La vostra clau de l'API d'OpenWeatherMap no és vàlida. Poseu-vos en contacte amb l'administrador per a configurar una clau vàlida a la secció «Paràmetres addicionals» a «Administració».", "Empty city name!" : "El nom de la ciutat està buit!", "Failed to add city. Please contact your administrator" : "No s'ha pogut afegir la ciutat. Poseu-vos en contacte amb l'administrador.", "This city is already registered for your account." : "Ja heu registrat aquesta ciutat en el vostre compte.", diff --git a/l10n/de.js b/l10n/de.js index 82abf3d..e3831d9 100755 --- a/l10n/de.js +++ b/l10n/de.js @@ -29,8 +29,8 @@ OC.L10N.register( "Saturday" : "Samstag", "Sunday" : "Sonntag", "Watch the weather directly on your Nextcloud." : "Sieh den Wetterbericht direkt in Deiner Nextcloud", - "Please make sure you select cities in the Weather app." : "Bitte sicherstellen dass Du Städte in der Wetter-App ausgewählt hast.", - "Please make sure you select a home city in the Weather app." : "Bitte Sicherstellen, dass Du eine Heimatstadt in der Wetter-App ausgewählt hast.", + "Please make sure you select cities in the Weather app." : "Bitte sicherstellen, dass Du Städte in der Wetter-App ausgewählt hast.", + "Please make sure you select a home city in the Weather app." : "Bitte sicherstellen, dass Du eine Heimatstadt in der Wetter-App ausgewählt hast.", "OpenWeatherMap API Key" : "OpenWeatherMap-API-Schlüssel", "Save" : "Speichern", "Add a city" : "Eine Stadt hinzufügen", diff --git a/l10n/de.json b/l10n/de.json index fec36f5..60f5563 100755 --- a/l10n/de.json +++ b/l10n/de.json @@ -27,8 +27,8 @@ "Saturday" : "Samstag", "Sunday" : "Sonntag", "Watch the weather directly on your Nextcloud." : "Sieh den Wetterbericht direkt in Deiner Nextcloud", - "Please make sure you select cities in the Weather app." : "Bitte sicherstellen dass Du Städte in der Wetter-App ausgewählt hast.", - "Please make sure you select a home city in the Weather app." : "Bitte Sicherstellen, dass Du eine Heimatstadt in der Wetter-App ausgewählt hast.", + "Please make sure you select cities in the Weather app." : "Bitte sicherstellen, dass Du Städte in der Wetter-App ausgewählt hast.", + "Please make sure you select a home city in the Weather app." : "Bitte sicherstellen, dass Du eine Heimatstadt in der Wetter-App ausgewählt hast.", "OpenWeatherMap API Key" : "OpenWeatherMap-API-Schlüssel", "Save" : "Speichern", "Add a city" : "Eine Stadt hinzufügen", diff --git a/l10n/de_DE.js b/l10n/de_DE.js index 7d9947c..0b46262 100755 --- a/l10n/de_DE.js +++ b/l10n/de_DE.js @@ -18,7 +18,7 @@ OC.L10N.register( "Your OpenWeatherMap API key is invalid. Contact your administrator to configure a valid API key in Additional Settings of the Administration" : "Ihr OpenWeatherMap-API-Schlüssel ist ungültig. Bitten Sie Ihren Administrator, einen gültigen API-Schlüssel unter Einstellungen / Zusätzliche Einstellungen zu konfigurieren", "Empty city name!" : "Leerer Städtename!", "Failed to add city. Please contact your administrator" : "Konnte Stadt nicht hinzufügen. Bitte kontaktieren Sie den Administrator", - "This city is already registered for your account." : "Diese Stadt ist bereits für Ihre Konto registriert.", + "This city is already registered for your account." : "Diese Stadt ist bereits für Ihr Konto registriert.", "Failed to remove city. Please contact your administrator" : "Konnte Stadt nicht löschen. Bitte kontaktieren Sie den Administrator", "Failed to set home. Please contact your administrator" : "Konnte Zuhause nicht setzen. Bitte kontaktieren Sie den Administrator", "Monday" : "Montag", @@ -29,8 +29,8 @@ OC.L10N.register( "Saturday" : "Samstag", "Sunday" : "Sonntag", "Watch the weather directly on your Nextcloud." : "Sehen Sie den Wetterbericht direkt in Ihrer Nextcloud", - "Please make sure you select cities in the Weather app." : "Bitte sicherstellen dass Sie Städte in der Wetter-App ausgewählt haben.", - "Please make sure you select a home city in the Weather app." : "Bitte Sicherstellen, dass Sie eine Heimatstadt in der Wetter-App ausgewählt haben.", + "Please make sure you select cities in the Weather app." : "Bitte sicherstellen, dass Sie Städte in der Wetter-App ausgewählt haben.", + "Please make sure you select a home city in the Weather app." : "Bitte sicherstellen, dass Sie eine Heimatstadt in der Wetter-App ausgewählt haben.", "OpenWeatherMap API Key" : "OpenWeatherMap-API-Schlüssel", "Save" : "Speichern", "Add a city" : "Eine Stadt hinzufügen", diff --git a/l10n/de_DE.json b/l10n/de_DE.json index 1e2e385..2796e87 100755 --- a/l10n/de_DE.json +++ b/l10n/de_DE.json @@ -16,7 +16,7 @@ "Your OpenWeatherMap API key is invalid. Contact your administrator to configure a valid API key in Additional Settings of the Administration" : "Ihr OpenWeatherMap-API-Schlüssel ist ungültig. Bitten Sie Ihren Administrator, einen gültigen API-Schlüssel unter Einstellungen / Zusätzliche Einstellungen zu konfigurieren", "Empty city name!" : "Leerer Städtename!", "Failed to add city. Please contact your administrator" : "Konnte Stadt nicht hinzufügen. Bitte kontaktieren Sie den Administrator", - "This city is already registered for your account." : "Diese Stadt ist bereits für Ihre Konto registriert.", + "This city is already registered for your account." : "Diese Stadt ist bereits für Ihr Konto registriert.", "Failed to remove city. Please contact your administrator" : "Konnte Stadt nicht löschen. Bitte kontaktieren Sie den Administrator", "Failed to set home. Please contact your administrator" : "Konnte Zuhause nicht setzen. Bitte kontaktieren Sie den Administrator", "Monday" : "Montag", @@ -27,8 +27,8 @@ "Saturday" : "Samstag", "Sunday" : "Sonntag", "Watch the weather directly on your Nextcloud." : "Sehen Sie den Wetterbericht direkt in Ihrer Nextcloud", - "Please make sure you select cities in the Weather app." : "Bitte sicherstellen dass Sie Städte in der Wetter-App ausgewählt haben.", - "Please make sure you select a home city in the Weather app." : "Bitte Sicherstellen, dass Sie eine Heimatstadt in der Wetter-App ausgewählt haben.", + "Please make sure you select cities in the Weather app." : "Bitte sicherstellen, dass Sie Städte in der Wetter-App ausgewählt haben.", + "Please make sure you select a home city in the Weather app." : "Bitte sicherstellen, dass Sie eine Heimatstadt in der Wetter-App ausgewählt haben.", "OpenWeatherMap API Key" : "OpenWeatherMap-API-Schlüssel", "Save" : "Speichern", "Add a city" : "Eine Stadt hinzufügen", diff --git a/l10n/fi.js b/l10n/fi.js index a38018f..6db6c0b 100755 --- a/l10n/fi.js +++ b/l10n/fi.js @@ -11,7 +11,9 @@ OC.L10N.register( "South-West" : "Lounas", "West" : "Länsi", "North-West" : "Luode", + "Failed to get city weather informations. Please contact your administrator" : "Kaupungin säätietojen haku epäonnistui. Ota yhteys ylläpitäjään", "No city with this name found." : "Tällä nimellä ei löytynyt kaupunkia.", + "Your OpenWeatherMap API key is invalid. Contact your administrator to configure a valid API key in Additional Settings of the Administration" : "OpenWeatherMap API-avaimesi ei ole kelvollinen. Ota yhteys ylläpitäjään kelvollisen API-keyn asettamiseksi.", "Empty city name!" : "Tyhjä kaupungin nimi!", "Failed to add city. Please contact your administrator" : "Kaupungin lisääminen epäonnistui. Ota yhteyttä järjestelmänvalvojaan", "This city is already registered for your account." : "Tämä kaupunki on jo rekisteröity tilillesi.", @@ -24,6 +26,7 @@ OC.L10N.register( "Saturday" : "Lauantai", "Sunday" : "Sunnuntai", "Watch the weather directly on your Nextcloud." : "Seuraa säätä suoraan Nextcloudista.", + "Please make sure you select cities in the Weather app." : "Valitse kaupungit Weather-sovelluksessa.", "Please make sure you select a home city in the Weather app." : "Varmista että sääsovelluksessa on asetettu kotikaupunki.", "OpenWeatherMap API Key" : "OpenWeatherMapin API-avain", "Save" : "Tallenna", @@ -47,7 +50,7 @@ OC.L10N.register( "Sunset" : "Auringonlasku", "Date" : "Päiväys", "Perceptible Temperature" : "Aistittava lämpötila", - "Updating widget…" : "Päivitetään widgettiä…", + "Updating widget…" : "Päivitetään pienoissovellusta…", "Temperature" : "Lämpötila" }, "nplurals=2; plural=(n != 1);"); diff --git a/l10n/fi.json b/l10n/fi.json index fc803e7..f505bdc 100755 --- a/l10n/fi.json +++ b/l10n/fi.json @@ -9,7 +9,9 @@ "South-West" : "Lounas", "West" : "Länsi", "North-West" : "Luode", + "Failed to get city weather informations. Please contact your administrator" : "Kaupungin säätietojen haku epäonnistui. Ota yhteys ylläpitäjään", "No city with this name found." : "Tällä nimellä ei löytynyt kaupunkia.", + "Your OpenWeatherMap API key is invalid. Contact your administrator to configure a valid API key in Additional Settings of the Administration" : "OpenWeatherMap API-avaimesi ei ole kelvollinen. Ota yhteys ylläpitäjään kelvollisen API-keyn asettamiseksi.", "Empty city name!" : "Tyhjä kaupungin nimi!", "Failed to add city. Please contact your administrator" : "Kaupungin lisääminen epäonnistui. Ota yhteyttä järjestelmänvalvojaan", "This city is already registered for your account." : "Tämä kaupunki on jo rekisteröity tilillesi.", @@ -22,6 +24,7 @@ "Saturday" : "Lauantai", "Sunday" : "Sunnuntai", "Watch the weather directly on your Nextcloud." : "Seuraa säätä suoraan Nextcloudista.", + "Please make sure you select cities in the Weather app." : "Valitse kaupungit Weather-sovelluksessa.", "Please make sure you select a home city in the Weather app." : "Varmista että sääsovelluksessa on asetettu kotikaupunki.", "OpenWeatherMap API Key" : "OpenWeatherMapin API-avain", "Save" : "Tallenna", @@ -45,7 +48,7 @@ "Sunset" : "Auringonlasku", "Date" : "Päiväys", "Perceptible Temperature" : "Aistittava lämpötila", - "Updating widget…" : "Päivitetään widgettiä…", + "Updating widget…" : "Päivitetään pienoissovellusta…", "Temperature" : "Lämpötila" },"pluralForm" :"nplurals=2; plural=(n != 1);" } \ No newline at end of file diff --git a/l10n/mk.js b/l10n/mk.js index aa034a0..4186ac7 100755 --- a/l10n/mk.js +++ b/l10n/mk.js @@ -1,6 +1,26 @@ OC.L10N.register( "weather", { + "Weather" : "Времето", + "Fatal Error: please check your nextcloud.log and send a bug report here: https://github.com/nextcloud/weather/issues" : "Фатална грешка: Проверете во nextcloud.log и испратете извештај на: https://github.com/nextcloud/weather/issues", + "Failed to set metric. Please contact your administrator" : "Неуспешно поставување на мерните единици. Контактирајте администратор", + "This metric is not known." : "Мерните еднини не се познати", + "North" : "Север", + "North-East" : "Североисток", + "East" : "Исток", + "South-East" : "Југоисток", + "South" : "Југ", + "South-West" : "Југозапад", + "West" : "Запад", + "North-West" : "Северозапад", + "Failed to get city weather informations. Please contact your administrator" : "Неуспешно преземање на информациите за временската прогноза. Контактирајте администратор", + "No city with this name found." : "Не е пронајден град со тоа име.", + "Your OpenWeatherMap API key is invalid. Contact your administrator to configure a valid API key in Additional Settings of the Administration" : "Вашиот OpenWeatherMap API клуч не е валиден. Контактирајте администратор за да постави валиден API клуч", + "Empty city name!" : "Името на градот е празно!", + "Failed to add city. Please contact your administrator" : "Неуспешно додавање на град. Контактирајте администратор", + "This city is already registered for your account." : "Градот е веќе додаден во вашата сметка.", + "Failed to remove city. Please contact your administrator" : "Неуспешно одстранување на град. Контактирајте администратор", + "Failed to set home. Please contact your administrator" : "Неуспешно поставување на домашна локација. Контактирајте администратор", "Monday" : "Понеделник", "Tuesday" : "Вторник", "Wednesday" : "Среда", @@ -8,10 +28,32 @@ OC.L10N.register( "Friday" : "Петок", "Saturday" : "Сабота", "Sunday" : "Недела", + "Watch the weather directly on your Nextcloud." : "Гледајте ја временската прогноза дирекно во вашата сметка.", + "Please make sure you select cities in the Weather app." : "Изберете градови во апликацијата.", + "Please make sure you select a home city in the Weather app." : "Поставете домашен град во апликацијата.", + "OpenWeatherMap API Key" : "OpenWeatherMap API клуч", "Save" : "Зачувај", + "Add a city" : "Додади град", + "Add city" : "Додади град", + "City name" : "Име на градот", "Add" : "Додади", "Cancel" : "Откажи", "Settings" : "Параметри", - "Date" : "Date" + "Metric" : "Мерни единици", + "Click here to get an API key" : "Кликни овде за да преземеш API клуч", + "Current Temperature" : "Моментална температура", + "Feelslike Temperature" : "Се чувствува како", + "Minimum Temperature" : "Минимална температура", + "Maximum Temperature" : "Максимална температура", + "Pressure" : "Притисок", + "Humidity" : "Влажност", + "Cloudiness" : "Облачност", + "Wind" : "Ветер", + "Sunrise" : "Изгрејсонце", + "Sunset" : "Зајдисонце", + "Date" : "Датум", + "Perceptible Temperature" : "Се осеќа", + "Updating widget…" : "Ажурирање на графичката контрола…", + "Temperature" : "Температура" }, "nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;"); diff --git a/l10n/mk.json b/l10n/mk.json index 6a97cca..c583dc6 100755 --- a/l10n/mk.json +++ b/l10n/mk.json @@ -1,4 +1,24 @@ { "translations": { + "Weather" : "Времето", + "Fatal Error: please check your nextcloud.log and send a bug report here: https://github.com/nextcloud/weather/issues" : "Фатална грешка: Проверете во nextcloud.log и испратете извештај на: https://github.com/nextcloud/weather/issues", + "Failed to set metric. Please contact your administrator" : "Неуспешно поставување на мерните единици. Контактирајте администратор", + "This metric is not known." : "Мерните еднини не се познати", + "North" : "Север", + "North-East" : "Североисток", + "East" : "Исток", + "South-East" : "Југоисток", + "South" : "Југ", + "South-West" : "Југозапад", + "West" : "Запад", + "North-West" : "Северозапад", + "Failed to get city weather informations. Please contact your administrator" : "Неуспешно преземање на информациите за временската прогноза. Контактирајте администратор", + "No city with this name found." : "Не е пронајден град со тоа име.", + "Your OpenWeatherMap API key is invalid. Contact your administrator to configure a valid API key in Additional Settings of the Administration" : "Вашиот OpenWeatherMap API клуч не е валиден. Контактирајте администратор за да постави валиден API клуч", + "Empty city name!" : "Името на градот е празно!", + "Failed to add city. Please contact your administrator" : "Неуспешно додавање на град. Контактирајте администратор", + "This city is already registered for your account." : "Градот е веќе додаден во вашата сметка.", + "Failed to remove city. Please contact your administrator" : "Неуспешно одстранување на град. Контактирајте администратор", + "Failed to set home. Please contact your administrator" : "Неуспешно поставување на домашна локација. Контактирајте администратор", "Monday" : "Понеделник", "Tuesday" : "Вторник", "Wednesday" : "Среда", @@ -6,10 +26,32 @@ "Friday" : "Петок", "Saturday" : "Сабота", "Sunday" : "Недела", + "Watch the weather directly on your Nextcloud." : "Гледајте ја временската прогноза дирекно во вашата сметка.", + "Please make sure you select cities in the Weather app." : "Изберете градови во апликацијата.", + "Please make sure you select a home city in the Weather app." : "Поставете домашен град во апликацијата.", + "OpenWeatherMap API Key" : "OpenWeatherMap API клуч", "Save" : "Зачувај", + "Add a city" : "Додади град", + "Add city" : "Додади град", + "City name" : "Име на градот", "Add" : "Додади", "Cancel" : "Откажи", "Settings" : "Параметри", - "Date" : "Date" + "Metric" : "Мерни единици", + "Click here to get an API key" : "Кликни овде за да преземеш API клуч", + "Current Temperature" : "Моментална температура", + "Feelslike Temperature" : "Се чувствува како", + "Minimum Temperature" : "Минимална температура", + "Maximum Temperature" : "Максимална температура", + "Pressure" : "Притисок", + "Humidity" : "Влажност", + "Cloudiness" : "Облачност", + "Wind" : "Ветер", + "Sunrise" : "Изгрејсонце", + "Sunset" : "Зајдисонце", + "Date" : "Датум", + "Perceptible Temperature" : "Се осеќа", + "Updating widget…" : "Ажурирање на графичката контрола…", + "Temperature" : "Температура" },"pluralForm" :"nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;" } \ No newline at end of file diff --git a/l10n/sl.js b/l10n/sl.js index 528dbe4..da357b9 100755 --- a/l10n/sl.js +++ b/l10n/sl.js @@ -41,6 +41,10 @@ OC.L10N.register( "Settings" : "Nastavitve", "Metric" : "Metrični prikaz", "Click here to get an API key" : "Klikni tukaj, da dobiš API ključ", + "Current Temperature" : "Trenutna temperatura", + "Feelslike Temperature" : "Občutek temperature", + "Minimum Temperature" : "Najmanjša temperatura", + "Maximum Temperature" : "Največja temperatura", "Pressure" : "Zračni tlak", "Humidity" : "Vlažnost zraka", "Cloudiness" : "Oblačnost", @@ -48,6 +52,7 @@ OC.L10N.register( "Sunrise" : "Sončni vzhod", "Sunset" : "Sončni zahod", "Date" : "Datum", + "Perceptible Temperature" : "Zaznana temperatura", "Updating widget…" : "Poteka posodabljanje gradnika ...", "Temperature" : "Temperatura" }, diff --git a/l10n/sl.json b/l10n/sl.json index dd3c971..a09a0d5 100755 --- a/l10n/sl.json +++ b/l10n/sl.json @@ -39,6 +39,10 @@ "Settings" : "Nastavitve", "Metric" : "Metrični prikaz", "Click here to get an API key" : "Klikni tukaj, da dobiš API ključ", + "Current Temperature" : "Trenutna temperatura", + "Feelslike Temperature" : "Občutek temperature", + "Minimum Temperature" : "Najmanjša temperatura", + "Maximum Temperature" : "Največja temperatura", "Pressure" : "Zračni tlak", "Humidity" : "Vlažnost zraka", "Cloudiness" : "Oblačnost", @@ -46,6 +50,7 @@ "Sunrise" : "Sončni vzhod", "Sunset" : "Sončni zahod", "Date" : "Datum", + "Perceptible Temperature" : "Zaznana temperatura", "Updating widget…" : "Poteka posodabljanje gradnika ...", "Temperature" : "Temperatura" },"pluralForm" :"nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);" diff --git a/l10n/sv.js b/l10n/sv.js index cb9c944..4e4bffb 100755 --- a/l10n/sv.js +++ b/l10n/sv.js @@ -16,6 +16,7 @@ OC.L10N.register( "Failed to get city weather informations. Please contact your administrator" : "Det gick inte att få information om stadens väder. Vänligen kontakta din administratör", "No city with this name found." : "Ingen stad med det här namnet hittades.", "Your OpenWeatherMap API key is invalid. Contact your administrator to configure a valid API key in Additional Settings of the Administration" : "Din OpenWeatherMap API-nyckel är ogiltig. Kontakta din administratör för att konfigurera en giltig API-nyckel i Administrationens ytterligare inställningar", + "Empty city name!" : "Tomt stadsnamn!", "Failed to add city. Please contact your administrator" : "Det gick inte att lägga till stad. Vänligen kontakta din administratör", "This city is already registered for your account." : "Den här staden är redan registrerad för ditt konto.", "Failed to remove city. Please contact your administrator" : "Det gick inte att ta bort staden. Vänligen kontakta din administratör", @@ -40,6 +41,10 @@ OC.L10N.register( "Settings" : "Inställningar", "Metric" : "Mätsystem", "Click here to get an API key" : "Klicka här för att få en API nyckel", + "Current Temperature" : "Nuvarande temperatur", + "Feelslike Temperature" : "Känns som temperatur", + "Minimum Temperature" : "Lägsta temperatur", + "Maximum Temperature" : "Högsta temperatur", "Pressure" : "Tryck", "Humidity" : "Fuktighet", "Cloudiness" : "Molnighet", @@ -47,6 +52,7 @@ OC.L10N.register( "Sunrise" : "Soluppgång", "Sunset" : "Solnedgång", "Date" : "Datum", + "Perceptible Temperature" : "Märkbar temperatur", "Updating widget…" : "Uppdaterar gränssnittskomponent...", "Temperature" : "Temperatur" }, diff --git a/l10n/sv.json b/l10n/sv.json index f7c345d..1c00fbb 100755 --- a/l10n/sv.json +++ b/l10n/sv.json @@ -14,6 +14,7 @@ "Failed to get city weather informations. Please contact your administrator" : "Det gick inte att få information om stadens väder. Vänligen kontakta din administratör", "No city with this name found." : "Ingen stad med det här namnet hittades.", "Your OpenWeatherMap API key is invalid. Contact your administrator to configure a valid API key in Additional Settings of the Administration" : "Din OpenWeatherMap API-nyckel är ogiltig. Kontakta din administratör för att konfigurera en giltig API-nyckel i Administrationens ytterligare inställningar", + "Empty city name!" : "Tomt stadsnamn!", "Failed to add city. Please contact your administrator" : "Det gick inte att lägga till stad. Vänligen kontakta din administratör", "This city is already registered for your account." : "Den här staden är redan registrerad för ditt konto.", "Failed to remove city. Please contact your administrator" : "Det gick inte att ta bort staden. Vänligen kontakta din administratör", @@ -38,6 +39,10 @@ "Settings" : "Inställningar", "Metric" : "Mätsystem", "Click here to get an API key" : "Klicka här för att få en API nyckel", + "Current Temperature" : "Nuvarande temperatur", + "Feelslike Temperature" : "Känns som temperatur", + "Minimum Temperature" : "Lägsta temperatur", + "Maximum Temperature" : "Högsta temperatur", "Pressure" : "Tryck", "Humidity" : "Fuktighet", "Cloudiness" : "Molnighet", @@ -45,6 +50,7 @@ "Sunrise" : "Soluppgång", "Sunset" : "Solnedgång", "Date" : "Datum", + "Perceptible Temperature" : "Märkbar temperatur", "Updating widget…" : "Uppdaterar gränssnittskomponent...", "Temperature" : "Temperatur" },"pluralForm" :"nplurals=2; plural=(n != 1);" diff --git a/lib/Migration/Version010703Date20201101235744.php b/lib/Migration/Version010703Date20201101235744.php new file mode 100644 index 0000000..d225ed4 --- /dev/null +++ b/lib/Migration/Version010703Date20201101235744.php @@ -0,0 +1,78 @@ +hasTable('weather_city')) { + $table = $schema->createTable('weather_city'); + $table->addColumn('id', 'bigint', [ + 'autoincrement' => true, + 'notnull' => true, + 'length' => 10, + ]); + $table->addColumn('name', 'string', [ + 'notnull' => true, + 'length' => 255, + ]); + $table->addColumn('user_id', 'string', [ + 'notnull' => true, + 'length' => 255, + ]); + $table->setPrimaryKey(['id']); + } + + if (!$schema->hasTable('weather_config')) { + $table = $schema->createTable('weather_config'); + $table->addColumn('user', 'string', [ + 'notnull' => true, + 'length' => 255, + ]); + $table->addColumn('key', 'string', [ + 'notnull' => true, + 'length' => 255, + ]); + $table->addColumn('value', 'string', [ + 'notnull' => false, + 'length' => 10240, + ]); + } + return $schema; + } + + /** + * @param IOutput $output + * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper` + * @param array $options + */ + public function postSchemaChange(IOutput $output, Closure $schemaClosure, array $options) { + } +} From a4f863e436ac5e355a46fae9275ab0734e05ad90 Mon Sep 17 00:00:00 2001 From: Balint Erdosi Date: Tue, 22 Dec 2020 01:16:34 +0100 Subject: [PATCH 3/5] remove legacy dashboard widget Signed-off-by: Balint Erdosi --- appinfo/info.xml | 3 - css/widget.css | 47 ---------- js/widget.js | 78 ---------------- lib/Widgets/DefaultWidget.php | 167 ---------------------------------- templates/widget.php | 21 ----- 5 files changed, 316 deletions(-) delete mode 100755 css/widget.css delete mode 100755 js/widget.js delete mode 100755 lib/Widgets/DefaultWidget.php delete mode 100755 templates/widget.php diff --git a/appinfo/info.xml b/appinfo/info.xml index c142a10..c546f99 100755 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -20,7 +20,4 @@ OCA\Weather\Settings\AdminSettings - - OCA\Weather\Widgets\DefaultWidget - diff --git a/css/widget.css b/css/widget.css deleted file mode 100755 index 9a6fbd8..0000000 --- a/css/widget.css +++ /dev/null @@ -1,47 +0,0 @@ -.icon-weather { - background-image: url('../img/app-dark.svg'); -} -.icon-weather-light { - background-image: url('../img/app.svg'); -} - -.weatherWidgetContents { - margin: 0 44px; -} - -.weatherWidgetContents h3.locationValue { - text-align: left; -} - -.weatherWidgetContents .weatherWidgetList { - display: flex; - padding: 0; - flex-wrap: wrap; -} - -.weatherWidgetContents .weatherWidgetList .measurement, -.weatherWidgetContents .weatherWidgetList .value { - flex: 1 1 50%; - text-align: left; - min-width: 80px; -} - -.weatherWidgetContents .weatherWidgetList .measurement { - font-weight: bold; -} - -.weatherWidgetContents .weaterWidgetList .measurement::after { - content:":"; -} - -.weatherWidgetContents .info { - position: absolute; - bottom: 11px; - left: 0; - margin: 22px; -} - -.weatherWidgetContents .info.error { - color: red; - color: var(--color-error); -} diff --git a/js/widget.js b/js/widget.js deleted file mode 100755 index 448f545..0000000 --- a/js/widget.js +++ /dev/null @@ -1,78 +0,0 @@ -/** - * - * @copyright Copyright (c) 2019, Balint Erdosi (erdosib@gmail.com) - * - * @license GNU AGPL version 3 or any later version - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - * - */ - -/** global: OCA */ -/** global: net */ - -(function () { - - /** - * @constructs Weather - */ - var Weather = function() { - } - - Weather.prototype.divWeather = null; - Weather.prototype.init = function() { - this.getWeather(); - - } - - Weather.prototype.getWeather = function() { - var request = { - widget: "weather", - request: "getWeather" - }; - - net.requestWidget(request, this.updateWeather); - } - - Weather.prototype.updateWeather = function(result) { - var divWeather = document.querySelector("#widget-weather"); - var divInfo = divWeather.querySelector(".info"); - var temperatureRepresentationLookup = { - "kelvin": "°K", - "imperial":"°F", - "metric": "°C" - } - if (result.value.error) { - divInfo.classList.add("error"); - divInfo.innerHTML = "Failed to update: " + result.value.error; - return; - } - try { - divInfo.classList.remove("error"); - divInfo.innerHTML = ""; - divWeather.querySelector(".locationValue").innerHTML = result.value.location; - divWeather.querySelector(".temperatureValue").innerHTML = result.value.temperature; - divWeather.querySelector(".temperatureRepresentation").innerHTML = temperatureRepresentationLookup[result.value.metric]|| "ERROR"; - divWeather.querySelector(".weatherValue").innerHTML = result.value.weather; - divWeather.querySelector(".humidityValue").innerHTML = result.value.humidity; - divWeather.querySelector(".windValue").innerHTML = result.value.wind; - } catch (e) { - divInfo.classList.add("error"); - divInfo.innerHTML = "Failed to update some data."; - } - } - - OCA.DashBoard.Weather = Weather; - OCA.DashBoard.weather = new Weather(); -})() diff --git a/lib/Widgets/DefaultWidget.php b/lib/Widgets/DefaultWidget.php deleted file mode 100755 index d82eab2..0000000 --- a/lib/Widgets/DefaultWidget.php +++ /dev/null @@ -1,167 +0,0 @@ -. - * - */ - -namespace OCA\Weather\Widgets; - -use \OCP\AppFramework\App; -use \OCP\AppFramework\Http; - -use \OCP\IContainer; - -use OCP\Dashboard\Model\WidgetSetup; -use OCP\Dashboard\Model\WidgetTemplate; -use OCP\Dashboard\IDashboardWidget; -use OCP\Dashboard\Model\IWidgetRequest; -use OCP\Dashboard\Model\IWidgetConfig; - -use \OCA\Weather\AppInfo\Application; -use \OCA\Weather\Controller\WeatherController; - -use \OCP\IL10N; -use \OCP\ILogger; - -class DefaultWidget implements IDashboardWidget { - - const WIDGET_ID = 'weather'; - - - /** @var IL19N */ - private $l10n; - private $logger; - - - /** - * DefaultWidget constructor - * @param IL10N $l10n - */ - public function __construct(ILogger $logger, IL10N $l10n) { - $this->l10n = $l10n; - $this->logger = $logger; - } - - /** - * @return string - */ - public function getId(): string { - return self::WIDGET_ID; - } - - /** - * @return string - */ - public function getName(): string { - return $this->l10n->t('Weather'); - } - - /** - * @return string - */ - public function getDescription(): string { - return $this->l10n->t('Watch the weather directly on your Nextcloud.'); - } - - /** - * @return WidgetTemplate - */ - public function getWidgetTemplate(): WidgetTemplate { - $template = new WidgetTemplate(); - $template->addCss('widget') - ->addJs('widget') - ->setIcon('icon-weather') - ->setContent('widget') - ->setInitFunction('OCA.DashBoard.weather.getWeather'); - return $template; - } - - /** - * @return WidgetTemplate - */ - public function getWidgetSetup(): WidgetSetup { - $setup = new WidgetSetup(); - $setup->addSize(WidgetSetup::SIZE_TYPE_MIN, 2, 1); - $setup->addSize(WidgetSetup::SIZE_TYPE_MAX, 4, 5); - $setup->addSize(WidgetSetup::SIZE_TYPE_DEFAULT, 2, 3); - $setup->addDelayedJob('OCA.DashBoard.weather.getWeather', 600); - return $setup; - } - - /** - * @param IWidgetConfig $settings - */ - public function loadWidget(IWidgetConfig $settings) { - - } - - /** - * @param IWidgetRequest $request - */ - public function requestWidget(IWidgetRequest $request) { - if ($request->getRequest() === 'getWeather') { - $app = new Application(); - $container = $app->getContainer(); - $weatherController = $container->query('OCA\Weather\Controller\WeatherController'); - $cityController = $container->query('OCA\Weather\Controller\CityController'); - $settingsController = $container->query('OCA\Weather\Controller\SettingsController'); - - $allCities = json_decode($cityController->getAll()->render(), true); - - if (count($allCities) == 0) { - $request->addResult('error', $this->l10n->t('Please make sure you select cities in the Weather app.')); - return; - } - - $homeCityId = $allCities['home']; - $homeCityArray = array_filter( - $allCities['cities'], - function($city) use ($homeCityId) { - return $city['id'] === $homeCityId; - } - ); - - if (count($homeCityArray) != 1) { - $request->addResult('error', $this->l10n->t('Please make sure you select a home city in the Weather app.')); - return; - } - - $homeCity = array_pop($homeCityArray)['name']; - - $resultJSONResponse = $weatherController->get($homeCity); - if ($resultJSONResponse->getStatus() != Http::STATUS_OK) { - $request->addResult('error', $this->l10n->t('Failed to get city weather informations. Please contact your administrator')); - return; - } - - $result = json_decode($resultJSONResponse->render(), true); - $metric = json_decode($settingsController->metricGet()->render(), true)['metric']; - - $request->addResult('location', $homeCity); - $request->addResult('temperature', $result['main']['temp']); - $request->addResult('metric', $metric); - $request->addResult('weather', $result['weather'][0]['description']); - $request->addResult('humidity', $result['main']['humidity']); - $request->addResult('wind', $result['wind']['speed']); - } - } - - -} -?> diff --git a/templates/widget.php b/templates/widget.php deleted file mode 100755 index f74a5a3..0000000 --- a/templates/widget.php +++ /dev/null @@ -1,21 +0,0 @@ - - -
-

-
t('Updating widget…')); ?>
-
-
t('Temperature')); ?>
-
 
- -
t('Cloudiness')); ?>
-
- -
t('Humidity')); ?>
-
 %
- -
t('Wind')); ?>
-
 m/s
-
-
From 8c5e855ba87a7e336f5b8f34962a3335aed593d2 Mon Sep 17 00:00:00 2001 From: Balint Erdosi Date: Tue, 22 Dec 2020 02:09:48 +0100 Subject: [PATCH 4/5] fix permissions Signed-off-by: Balint Erdosi --- .ci/release_app.sh | 0 .tx/config | 0 AUTHORS.md | 0 CHANGELOG.md | 0 COPYING | 0 Dockerfile | 0 README.md | 0 appinfo/app.php | 0 appinfo/info.xml | 0 appinfo/routes.php | 0 css/style.css | 0 db/cityentity.php | 0 db/citymapper.php | 0 db/settingsmapper.php | 0 img/CREDITS.md | 0 img/app-dark.svg | 0 img/app.svg | 0 img/check.png | Bin img/clouds.png | Bin img/drizzle.jpg | Bin img/fog.jpg | Bin img/home-nopick.png | Bin img/home-pick.png | Bin img/mist.jpg | Bin img/rain.jpg | Bin img/sand.jpg | Bin img/snow.png | Bin img/sun.jpg | Bin img/thunderstorm.jpg | Bin img/tornado.jpg | Bin img/weather-admin-settings.png | Bin issue_template.md | 0 js/admin.js | 0 js/angular.min.js | 0 js/app.js | 0 l10n/.gitkeep | 0 l10n/af.js | 0 l10n/af.json | 0 l10n/ar.js | 0 l10n/ar.json | 0 l10n/ast.js | 0 l10n/ast.json | 0 l10n/az.js | 0 l10n/az.json | 0 l10n/be.js | 0 l10n/be.json | 0 l10n/bg.js | 0 l10n/bg.json | 0 l10n/bn_BD.js | 0 l10n/bn_BD.json | 0 l10n/bs.js | 0 l10n/bs.json | 0 l10n/ca.js | 0 l10n/ca.json | 0 l10n/cs.js | 0 l10n/cs.json | 0 l10n/cy_GB.js | 0 l10n/cy_GB.json | 0 l10n/da.js | 0 l10n/da.json | 0 l10n/de.js | 0 l10n/de.json | 0 l10n/de_DE.js | 0 l10n/de_DE.json | 0 l10n/el.js | 0 l10n/el.json | 0 l10n/en_GB.js | 0 l10n/en_GB.json | 0 l10n/eo.js | 0 l10n/eo.json | 0 l10n/es.js | 0 l10n/es.json | 0 l10n/es_419.js | 0 l10n/es_419.json | 0 l10n/es_AR.js | 0 l10n/es_AR.json | 0 l10n/es_CL.js | 0 l10n/es_CL.json | 0 l10n/es_CO.js | 0 l10n/es_CO.json | 0 l10n/es_CR.js | 0 l10n/es_CR.json | 0 l10n/es_DO.js | 0 l10n/es_DO.json | 0 l10n/es_EC.js | 0 l10n/es_EC.json | 0 l10n/es_GT.js | 0 l10n/es_GT.json | 0 l10n/es_HN.js | 0 l10n/es_HN.json | 0 l10n/es_MX.js | 0 l10n/es_MX.json | 0 l10n/es_NI.js | 0 l10n/es_NI.json | 0 l10n/es_PA.js | 0 l10n/es_PA.json | 0 l10n/es_PE.js | 0 l10n/es_PE.json | 0 l10n/es_PR.js | 0 l10n/es_PR.json | 0 l10n/es_PY.js | 0 l10n/es_PY.json | 0 l10n/es_SV.js | 0 l10n/es_SV.json | 0 l10n/es_UY.js | 0 l10n/es_UY.json | 0 l10n/et_EE.js | 0 l10n/et_EE.json | 0 l10n/eu.js | 0 l10n/eu.json | 0 l10n/fa.js | 0 l10n/fa.json | 0 l10n/fi.js | 0 l10n/fi.json | 0 l10n/fr.js | 0 l10n/fr.json | 0 l10n/gl.js | 0 l10n/gl.json | 0 l10n/he.js | 0 l10n/he.json | 0 l10n/hr.js | 0 l10n/hr.json | 0 l10n/hu.js | 0 l10n/hu.json | 0 l10n/hy.js | 0 l10n/hy.json | 0 l10n/ia.js | 0 l10n/ia.json | 0 l10n/id.js | 0 l10n/id.json | 0 l10n/is.js | 0 l10n/is.json | 0 l10n/it.js | 0 l10n/it.json | 0 l10n/ja.js | 0 l10n/ja.json | 0 l10n/ka_GE.js | 0 l10n/ka_GE.json | 0 l10n/kab.js | 0 l10n/kab.json | 0 l10n/km.js | 0 l10n/km.json | 0 l10n/kn.js | 0 l10n/kn.json | 0 l10n/ko.js | 0 l10n/ko.json | 0 l10n/lb.js | 0 l10n/lb.json | 0 l10n/lt_LT.js | 0 l10n/lt_LT.json | 0 l10n/lv.js | 0 l10n/lv.json | 0 l10n/mk.js | 0 l10n/mk.json | 0 l10n/mn.js | 0 l10n/mn.json | 0 l10n/ms_MY.js | 0 l10n/ms_MY.json | 0 l10n/nb.js | 0 l10n/nb.json | 0 l10n/nl.js | 0 l10n/nl.json | 0 l10n/nn_NO.js | 0 l10n/nn_NO.json | 0 l10n/oc.js | 0 l10n/oc.json | 0 l10n/pl.js | 0 l10n/pl.json | 0 l10n/ps.js | 0 l10n/ps.json | 0 l10n/pt_BR.js | 0 l10n/pt_BR.json | 0 l10n/pt_PT.js | 0 l10n/pt_PT.json | 0 l10n/ro.js | 0 l10n/ro.json | 0 l10n/ru.js | 0 l10n/ru.json | 0 l10n/si_LK.js | 0 l10n/si_LK.json | 0 l10n/sk.js | 0 l10n/sk.json | 0 l10n/sl.js | 0 l10n/sl.json | 0 l10n/sq.js | 0 l10n/sq.json | 0 l10n/sr.js | 0 l10n/sr.json | 0 l10n/sr@latin.js | 0 l10n/sr@latin.json | 0 l10n/sv.js | 0 l10n/sv.json | 0 l10n/ta_LK.js | 0 l10n/ta_LK.json | 0 l10n/th.js | 0 l10n/th.json | 0 l10n/tr.js | 0 l10n/tr.json | 0 l10n/ug.js | 0 l10n/ug.json | 0 l10n/uk.js | 0 l10n/uk.json | 0 l10n/ur_PK.js | 0 l10n/ur_PK.json | 0 l10n/uz.js | 0 l10n/uz.json | 0 l10n/vi.js | 0 l10n/vi.json | 0 l10n/zh_CN.js | 0 l10n/zh_CN.json | 0 l10n/zh_HK.js | 0 l10n/zh_HK.json | 0 l10n/zh_TW.js | 0 l10n/zh_TW.json | 0 lib/AppInfo/Application.php | 0 lib/Controller/CityController.php | 0 lib/Controller/IntermediateController.php | 0 lib/Controller/SettingsController.php | 0 lib/Controller/WeatherController.php | 0 lib/Settings/AdminSettings.php | 0 screenshots/1.png | Bin screenshots/2.png | Bin templates/admin.php | 0 templates/main.php | 0 224 files changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 .ci/release_app.sh mode change 100755 => 100644 .tx/config mode change 100755 => 100644 AUTHORS.md mode change 100755 => 100644 CHANGELOG.md mode change 100755 => 100644 COPYING mode change 100755 => 100644 Dockerfile mode change 100755 => 100644 README.md mode change 100755 => 100644 appinfo/app.php mode change 100755 => 100644 appinfo/info.xml mode change 100755 => 100644 appinfo/routes.php mode change 100755 => 100644 css/style.css mode change 100755 => 100644 db/cityentity.php mode change 100755 => 100644 db/citymapper.php mode change 100755 => 100644 db/settingsmapper.php mode change 100755 => 100644 img/CREDITS.md mode change 100755 => 100644 img/app-dark.svg mode change 100755 => 100644 img/app.svg mode change 100755 => 100644 img/check.png mode change 100755 => 100644 img/clouds.png mode change 100755 => 100644 img/drizzle.jpg mode change 100755 => 100644 img/fog.jpg mode change 100755 => 100644 img/home-nopick.png mode change 100755 => 100644 img/home-pick.png mode change 100755 => 100644 img/mist.jpg mode change 100755 => 100644 img/rain.jpg mode change 100755 => 100644 img/sand.jpg mode change 100755 => 100644 img/snow.png mode change 100755 => 100644 img/sun.jpg mode change 100755 => 100644 img/thunderstorm.jpg mode change 100755 => 100644 img/tornado.jpg mode change 100755 => 100644 img/weather-admin-settings.png mode change 100755 => 100644 issue_template.md mode change 100755 => 100644 js/admin.js mode change 100755 => 100644 js/angular.min.js mode change 100755 => 100644 js/app.js mode change 100755 => 100644 l10n/.gitkeep mode change 100755 => 100644 l10n/af.js mode change 100755 => 100644 l10n/af.json mode change 100755 => 100644 l10n/ar.js mode change 100755 => 100644 l10n/ar.json mode change 100755 => 100644 l10n/ast.js mode change 100755 => 100644 l10n/ast.json mode change 100755 => 100644 l10n/az.js mode change 100755 => 100644 l10n/az.json mode change 100755 => 100644 l10n/be.js mode change 100755 => 100644 l10n/be.json mode change 100755 => 100644 l10n/bg.js mode change 100755 => 100644 l10n/bg.json mode change 100755 => 100644 l10n/bn_BD.js mode change 100755 => 100644 l10n/bn_BD.json mode change 100755 => 100644 l10n/bs.js mode change 100755 => 100644 l10n/bs.json mode change 100755 => 100644 l10n/ca.js mode change 100755 => 100644 l10n/ca.json mode change 100755 => 100644 l10n/cs.js mode change 100755 => 100644 l10n/cs.json mode change 100755 => 100644 l10n/cy_GB.js mode change 100755 => 100644 l10n/cy_GB.json mode change 100755 => 100644 l10n/da.js mode change 100755 => 100644 l10n/da.json mode change 100755 => 100644 l10n/de.js mode change 100755 => 100644 l10n/de.json mode change 100755 => 100644 l10n/de_DE.js mode change 100755 => 100644 l10n/de_DE.json mode change 100755 => 100644 l10n/el.js mode change 100755 => 100644 l10n/el.json mode change 100755 => 100644 l10n/en_GB.js mode change 100755 => 100644 l10n/en_GB.json mode change 100755 => 100644 l10n/eo.js mode change 100755 => 100644 l10n/eo.json mode change 100755 => 100644 l10n/es.js mode change 100755 => 100644 l10n/es.json mode change 100755 => 100644 l10n/es_419.js mode change 100755 => 100644 l10n/es_419.json mode change 100755 => 100644 l10n/es_AR.js mode change 100755 => 100644 l10n/es_AR.json mode change 100755 => 100644 l10n/es_CL.js mode change 100755 => 100644 l10n/es_CL.json mode change 100755 => 100644 l10n/es_CO.js mode change 100755 => 100644 l10n/es_CO.json mode change 100755 => 100644 l10n/es_CR.js mode change 100755 => 100644 l10n/es_CR.json mode change 100755 => 100644 l10n/es_DO.js mode change 100755 => 100644 l10n/es_DO.json mode change 100755 => 100644 l10n/es_EC.js mode change 100755 => 100644 l10n/es_EC.json mode change 100755 => 100644 l10n/es_GT.js mode change 100755 => 100644 l10n/es_GT.json mode change 100755 => 100644 l10n/es_HN.js mode change 100755 => 100644 l10n/es_HN.json mode change 100755 => 100644 l10n/es_MX.js mode change 100755 => 100644 l10n/es_MX.json mode change 100755 => 100644 l10n/es_NI.js mode change 100755 => 100644 l10n/es_NI.json mode change 100755 => 100644 l10n/es_PA.js mode change 100755 => 100644 l10n/es_PA.json mode change 100755 => 100644 l10n/es_PE.js mode change 100755 => 100644 l10n/es_PE.json mode change 100755 => 100644 l10n/es_PR.js mode change 100755 => 100644 l10n/es_PR.json mode change 100755 => 100644 l10n/es_PY.js mode change 100755 => 100644 l10n/es_PY.json mode change 100755 => 100644 l10n/es_SV.js mode change 100755 => 100644 l10n/es_SV.json mode change 100755 => 100644 l10n/es_UY.js mode change 100755 => 100644 l10n/es_UY.json mode change 100755 => 100644 l10n/et_EE.js mode change 100755 => 100644 l10n/et_EE.json mode change 100755 => 100644 l10n/eu.js mode change 100755 => 100644 l10n/eu.json mode change 100755 => 100644 l10n/fa.js mode change 100755 => 100644 l10n/fa.json mode change 100755 => 100644 l10n/fi.js mode change 100755 => 100644 l10n/fi.json mode change 100755 => 100644 l10n/fr.js mode change 100755 => 100644 l10n/fr.json mode change 100755 => 100644 l10n/gl.js mode change 100755 => 100644 l10n/gl.json mode change 100755 => 100644 l10n/he.js mode change 100755 => 100644 l10n/he.json mode change 100755 => 100644 l10n/hr.js mode change 100755 => 100644 l10n/hr.json mode change 100755 => 100644 l10n/hu.js mode change 100755 => 100644 l10n/hu.json mode change 100755 => 100644 l10n/hy.js mode change 100755 => 100644 l10n/hy.json mode change 100755 => 100644 l10n/ia.js mode change 100755 => 100644 l10n/ia.json mode change 100755 => 100644 l10n/id.js mode change 100755 => 100644 l10n/id.json mode change 100755 => 100644 l10n/is.js mode change 100755 => 100644 l10n/is.json mode change 100755 => 100644 l10n/it.js mode change 100755 => 100644 l10n/it.json mode change 100755 => 100644 l10n/ja.js mode change 100755 => 100644 l10n/ja.json mode change 100755 => 100644 l10n/ka_GE.js mode change 100755 => 100644 l10n/ka_GE.json mode change 100755 => 100644 l10n/kab.js mode change 100755 => 100644 l10n/kab.json mode change 100755 => 100644 l10n/km.js mode change 100755 => 100644 l10n/km.json mode change 100755 => 100644 l10n/kn.js mode change 100755 => 100644 l10n/kn.json mode change 100755 => 100644 l10n/ko.js mode change 100755 => 100644 l10n/ko.json mode change 100755 => 100644 l10n/lb.js mode change 100755 => 100644 l10n/lb.json mode change 100755 => 100644 l10n/lt_LT.js mode change 100755 => 100644 l10n/lt_LT.json mode change 100755 => 100644 l10n/lv.js mode change 100755 => 100644 l10n/lv.json mode change 100755 => 100644 l10n/mk.js mode change 100755 => 100644 l10n/mk.json mode change 100755 => 100644 l10n/mn.js mode change 100755 => 100644 l10n/mn.json mode change 100755 => 100644 l10n/ms_MY.js mode change 100755 => 100644 l10n/ms_MY.json mode change 100755 => 100644 l10n/nb.js mode change 100755 => 100644 l10n/nb.json mode change 100755 => 100644 l10n/nl.js mode change 100755 => 100644 l10n/nl.json mode change 100755 => 100644 l10n/nn_NO.js mode change 100755 => 100644 l10n/nn_NO.json mode change 100755 => 100644 l10n/oc.js mode change 100755 => 100644 l10n/oc.json mode change 100755 => 100644 l10n/pl.js mode change 100755 => 100644 l10n/pl.json mode change 100755 => 100644 l10n/ps.js mode change 100755 => 100644 l10n/ps.json mode change 100755 => 100644 l10n/pt_BR.js mode change 100755 => 100644 l10n/pt_BR.json mode change 100755 => 100644 l10n/pt_PT.js mode change 100755 => 100644 l10n/pt_PT.json mode change 100755 => 100644 l10n/ro.js mode change 100755 => 100644 l10n/ro.json mode change 100755 => 100644 l10n/ru.js mode change 100755 => 100644 l10n/ru.json mode change 100755 => 100644 l10n/si_LK.js mode change 100755 => 100644 l10n/si_LK.json mode change 100755 => 100644 l10n/sk.js mode change 100755 => 100644 l10n/sk.json mode change 100755 => 100644 l10n/sl.js mode change 100755 => 100644 l10n/sl.json mode change 100755 => 100644 l10n/sq.js mode change 100755 => 100644 l10n/sq.json mode change 100755 => 100644 l10n/sr.js mode change 100755 => 100644 l10n/sr.json mode change 100755 => 100644 l10n/sr@latin.js mode change 100755 => 100644 l10n/sr@latin.json mode change 100755 => 100644 l10n/sv.js mode change 100755 => 100644 l10n/sv.json mode change 100755 => 100644 l10n/ta_LK.js mode change 100755 => 100644 l10n/ta_LK.json mode change 100755 => 100644 l10n/th.js mode change 100755 => 100644 l10n/th.json mode change 100755 => 100644 l10n/tr.js mode change 100755 => 100644 l10n/tr.json mode change 100755 => 100644 l10n/ug.js mode change 100755 => 100644 l10n/ug.json mode change 100755 => 100644 l10n/uk.js mode change 100755 => 100644 l10n/uk.json mode change 100755 => 100644 l10n/ur_PK.js mode change 100755 => 100644 l10n/ur_PK.json mode change 100755 => 100644 l10n/uz.js mode change 100755 => 100644 l10n/uz.json mode change 100755 => 100644 l10n/vi.js mode change 100755 => 100644 l10n/vi.json mode change 100755 => 100644 l10n/zh_CN.js mode change 100755 => 100644 l10n/zh_CN.json mode change 100755 => 100644 l10n/zh_HK.js mode change 100755 => 100644 l10n/zh_HK.json mode change 100755 => 100644 l10n/zh_TW.js mode change 100755 => 100644 l10n/zh_TW.json mode change 100755 => 100644 lib/AppInfo/Application.php mode change 100755 => 100644 lib/Controller/CityController.php mode change 100755 => 100644 lib/Controller/IntermediateController.php mode change 100755 => 100644 lib/Controller/SettingsController.php mode change 100755 => 100644 lib/Controller/WeatherController.php mode change 100755 => 100644 lib/Settings/AdminSettings.php mode change 100755 => 100644 screenshots/1.png mode change 100755 => 100644 screenshots/2.png mode change 100755 => 100644 templates/admin.php mode change 100755 => 100644 templates/main.php diff --git a/.ci/release_app.sh b/.ci/release_app.sh old mode 100755 new mode 100644 diff --git a/.tx/config b/.tx/config old mode 100755 new mode 100644 diff --git a/AUTHORS.md b/AUTHORS.md old mode 100755 new mode 100644 diff --git a/CHANGELOG.md b/CHANGELOG.md old mode 100755 new mode 100644 diff --git a/COPYING b/COPYING old mode 100755 new mode 100644 diff --git a/Dockerfile b/Dockerfile old mode 100755 new mode 100644 diff --git a/README.md b/README.md old mode 100755 new mode 100644 diff --git a/appinfo/app.php b/appinfo/app.php old mode 100755 new mode 100644 diff --git a/appinfo/info.xml b/appinfo/info.xml old mode 100755 new mode 100644 diff --git a/appinfo/routes.php b/appinfo/routes.php old mode 100755 new mode 100644 diff --git a/css/style.css b/css/style.css old mode 100755 new mode 100644 diff --git a/db/cityentity.php b/db/cityentity.php old mode 100755 new mode 100644 diff --git a/db/citymapper.php b/db/citymapper.php old mode 100755 new mode 100644 diff --git a/db/settingsmapper.php b/db/settingsmapper.php old mode 100755 new mode 100644 diff --git a/img/CREDITS.md b/img/CREDITS.md old mode 100755 new mode 100644 diff --git a/img/app-dark.svg b/img/app-dark.svg old mode 100755 new mode 100644 diff --git a/img/app.svg b/img/app.svg old mode 100755 new mode 100644 diff --git a/img/check.png b/img/check.png old mode 100755 new mode 100644 diff --git a/img/clouds.png b/img/clouds.png old mode 100755 new mode 100644 diff --git a/img/drizzle.jpg b/img/drizzle.jpg old mode 100755 new mode 100644 diff --git a/img/fog.jpg b/img/fog.jpg old mode 100755 new mode 100644 diff --git a/img/home-nopick.png b/img/home-nopick.png old mode 100755 new mode 100644 diff --git a/img/home-pick.png b/img/home-pick.png old mode 100755 new mode 100644 diff --git a/img/mist.jpg b/img/mist.jpg old mode 100755 new mode 100644 diff --git a/img/rain.jpg b/img/rain.jpg old mode 100755 new mode 100644 diff --git a/img/sand.jpg b/img/sand.jpg old mode 100755 new mode 100644 diff --git a/img/snow.png b/img/snow.png old mode 100755 new mode 100644 diff --git a/img/sun.jpg b/img/sun.jpg old mode 100755 new mode 100644 diff --git a/img/thunderstorm.jpg b/img/thunderstorm.jpg old mode 100755 new mode 100644 diff --git a/img/tornado.jpg b/img/tornado.jpg old mode 100755 new mode 100644 diff --git a/img/weather-admin-settings.png b/img/weather-admin-settings.png old mode 100755 new mode 100644 diff --git a/issue_template.md b/issue_template.md old mode 100755 new mode 100644 diff --git a/js/admin.js b/js/admin.js old mode 100755 new mode 100644 diff --git a/js/angular.min.js b/js/angular.min.js old mode 100755 new mode 100644 diff --git a/js/app.js b/js/app.js old mode 100755 new mode 100644 diff --git a/l10n/.gitkeep b/l10n/.gitkeep old mode 100755 new mode 100644 diff --git a/l10n/af.js b/l10n/af.js old mode 100755 new mode 100644 diff --git a/l10n/af.json b/l10n/af.json old mode 100755 new mode 100644 diff --git a/l10n/ar.js b/l10n/ar.js old mode 100755 new mode 100644 diff --git a/l10n/ar.json b/l10n/ar.json old mode 100755 new mode 100644 diff --git a/l10n/ast.js b/l10n/ast.js old mode 100755 new mode 100644 diff --git a/l10n/ast.json b/l10n/ast.json old mode 100755 new mode 100644 diff --git a/l10n/az.js b/l10n/az.js old mode 100755 new mode 100644 diff --git a/l10n/az.json b/l10n/az.json old mode 100755 new mode 100644 diff --git a/l10n/be.js b/l10n/be.js old mode 100755 new mode 100644 diff --git a/l10n/be.json b/l10n/be.json old mode 100755 new mode 100644 diff --git a/l10n/bg.js b/l10n/bg.js old mode 100755 new mode 100644 diff --git a/l10n/bg.json b/l10n/bg.json old mode 100755 new mode 100644 diff --git a/l10n/bn_BD.js b/l10n/bn_BD.js old mode 100755 new mode 100644 diff --git a/l10n/bn_BD.json b/l10n/bn_BD.json old mode 100755 new mode 100644 diff --git a/l10n/bs.js b/l10n/bs.js old mode 100755 new mode 100644 diff --git a/l10n/bs.json b/l10n/bs.json old mode 100755 new mode 100644 diff --git a/l10n/ca.js b/l10n/ca.js old mode 100755 new mode 100644 diff --git a/l10n/ca.json b/l10n/ca.json old mode 100755 new mode 100644 diff --git a/l10n/cs.js b/l10n/cs.js old mode 100755 new mode 100644 diff --git a/l10n/cs.json b/l10n/cs.json old mode 100755 new mode 100644 diff --git a/l10n/cy_GB.js b/l10n/cy_GB.js old mode 100755 new mode 100644 diff --git a/l10n/cy_GB.json b/l10n/cy_GB.json old mode 100755 new mode 100644 diff --git a/l10n/da.js b/l10n/da.js old mode 100755 new mode 100644 diff --git a/l10n/da.json b/l10n/da.json old mode 100755 new mode 100644 diff --git a/l10n/de.js b/l10n/de.js old mode 100755 new mode 100644 diff --git a/l10n/de.json b/l10n/de.json old mode 100755 new mode 100644 diff --git a/l10n/de_DE.js b/l10n/de_DE.js old mode 100755 new mode 100644 diff --git a/l10n/de_DE.json b/l10n/de_DE.json old mode 100755 new mode 100644 diff --git a/l10n/el.js b/l10n/el.js old mode 100755 new mode 100644 diff --git a/l10n/el.json b/l10n/el.json old mode 100755 new mode 100644 diff --git a/l10n/en_GB.js b/l10n/en_GB.js old mode 100755 new mode 100644 diff --git a/l10n/en_GB.json b/l10n/en_GB.json old mode 100755 new mode 100644 diff --git a/l10n/eo.js b/l10n/eo.js old mode 100755 new mode 100644 diff --git a/l10n/eo.json b/l10n/eo.json old mode 100755 new mode 100644 diff --git a/l10n/es.js b/l10n/es.js old mode 100755 new mode 100644 diff --git a/l10n/es.json b/l10n/es.json old mode 100755 new mode 100644 diff --git a/l10n/es_419.js b/l10n/es_419.js old mode 100755 new mode 100644 diff --git a/l10n/es_419.json b/l10n/es_419.json old mode 100755 new mode 100644 diff --git a/l10n/es_AR.js b/l10n/es_AR.js old mode 100755 new mode 100644 diff --git a/l10n/es_AR.json b/l10n/es_AR.json old mode 100755 new mode 100644 diff --git a/l10n/es_CL.js b/l10n/es_CL.js old mode 100755 new mode 100644 diff --git a/l10n/es_CL.json b/l10n/es_CL.json old mode 100755 new mode 100644 diff --git a/l10n/es_CO.js b/l10n/es_CO.js old mode 100755 new mode 100644 diff --git a/l10n/es_CO.json b/l10n/es_CO.json old mode 100755 new mode 100644 diff --git a/l10n/es_CR.js b/l10n/es_CR.js old mode 100755 new mode 100644 diff --git a/l10n/es_CR.json b/l10n/es_CR.json old mode 100755 new mode 100644 diff --git a/l10n/es_DO.js b/l10n/es_DO.js old mode 100755 new mode 100644 diff --git a/l10n/es_DO.json b/l10n/es_DO.json old mode 100755 new mode 100644 diff --git a/l10n/es_EC.js b/l10n/es_EC.js old mode 100755 new mode 100644 diff --git a/l10n/es_EC.json b/l10n/es_EC.json old mode 100755 new mode 100644 diff --git a/l10n/es_GT.js b/l10n/es_GT.js old mode 100755 new mode 100644 diff --git a/l10n/es_GT.json b/l10n/es_GT.json old mode 100755 new mode 100644 diff --git a/l10n/es_HN.js b/l10n/es_HN.js old mode 100755 new mode 100644 diff --git a/l10n/es_HN.json b/l10n/es_HN.json old mode 100755 new mode 100644 diff --git a/l10n/es_MX.js b/l10n/es_MX.js old mode 100755 new mode 100644 diff --git a/l10n/es_MX.json b/l10n/es_MX.json old mode 100755 new mode 100644 diff --git a/l10n/es_NI.js b/l10n/es_NI.js old mode 100755 new mode 100644 diff --git a/l10n/es_NI.json b/l10n/es_NI.json old mode 100755 new mode 100644 diff --git a/l10n/es_PA.js b/l10n/es_PA.js old mode 100755 new mode 100644 diff --git a/l10n/es_PA.json b/l10n/es_PA.json old mode 100755 new mode 100644 diff --git a/l10n/es_PE.js b/l10n/es_PE.js old mode 100755 new mode 100644 diff --git a/l10n/es_PE.json b/l10n/es_PE.json old mode 100755 new mode 100644 diff --git a/l10n/es_PR.js b/l10n/es_PR.js old mode 100755 new mode 100644 diff --git a/l10n/es_PR.json b/l10n/es_PR.json old mode 100755 new mode 100644 diff --git a/l10n/es_PY.js b/l10n/es_PY.js old mode 100755 new mode 100644 diff --git a/l10n/es_PY.json b/l10n/es_PY.json old mode 100755 new mode 100644 diff --git a/l10n/es_SV.js b/l10n/es_SV.js old mode 100755 new mode 100644 diff --git a/l10n/es_SV.json b/l10n/es_SV.json old mode 100755 new mode 100644 diff --git a/l10n/es_UY.js b/l10n/es_UY.js old mode 100755 new mode 100644 diff --git a/l10n/es_UY.json b/l10n/es_UY.json old mode 100755 new mode 100644 diff --git a/l10n/et_EE.js b/l10n/et_EE.js old mode 100755 new mode 100644 diff --git a/l10n/et_EE.json b/l10n/et_EE.json old mode 100755 new mode 100644 diff --git a/l10n/eu.js b/l10n/eu.js old mode 100755 new mode 100644 diff --git a/l10n/eu.json b/l10n/eu.json old mode 100755 new mode 100644 diff --git a/l10n/fa.js b/l10n/fa.js old mode 100755 new mode 100644 diff --git a/l10n/fa.json b/l10n/fa.json old mode 100755 new mode 100644 diff --git a/l10n/fi.js b/l10n/fi.js old mode 100755 new mode 100644 diff --git a/l10n/fi.json b/l10n/fi.json old mode 100755 new mode 100644 diff --git a/l10n/fr.js b/l10n/fr.js old mode 100755 new mode 100644 diff --git a/l10n/fr.json b/l10n/fr.json old mode 100755 new mode 100644 diff --git a/l10n/gl.js b/l10n/gl.js old mode 100755 new mode 100644 diff --git a/l10n/gl.json b/l10n/gl.json old mode 100755 new mode 100644 diff --git a/l10n/he.js b/l10n/he.js old mode 100755 new mode 100644 diff --git a/l10n/he.json b/l10n/he.json old mode 100755 new mode 100644 diff --git a/l10n/hr.js b/l10n/hr.js old mode 100755 new mode 100644 diff --git a/l10n/hr.json b/l10n/hr.json old mode 100755 new mode 100644 diff --git a/l10n/hu.js b/l10n/hu.js old mode 100755 new mode 100644 diff --git a/l10n/hu.json b/l10n/hu.json old mode 100755 new mode 100644 diff --git a/l10n/hy.js b/l10n/hy.js old mode 100755 new mode 100644 diff --git a/l10n/hy.json b/l10n/hy.json old mode 100755 new mode 100644 diff --git a/l10n/ia.js b/l10n/ia.js old mode 100755 new mode 100644 diff --git a/l10n/ia.json b/l10n/ia.json old mode 100755 new mode 100644 diff --git a/l10n/id.js b/l10n/id.js old mode 100755 new mode 100644 diff --git a/l10n/id.json b/l10n/id.json old mode 100755 new mode 100644 diff --git a/l10n/is.js b/l10n/is.js old mode 100755 new mode 100644 diff --git a/l10n/is.json b/l10n/is.json old mode 100755 new mode 100644 diff --git a/l10n/it.js b/l10n/it.js old mode 100755 new mode 100644 diff --git a/l10n/it.json b/l10n/it.json old mode 100755 new mode 100644 diff --git a/l10n/ja.js b/l10n/ja.js old mode 100755 new mode 100644 diff --git a/l10n/ja.json b/l10n/ja.json old mode 100755 new mode 100644 diff --git a/l10n/ka_GE.js b/l10n/ka_GE.js old mode 100755 new mode 100644 diff --git a/l10n/ka_GE.json b/l10n/ka_GE.json old mode 100755 new mode 100644 diff --git a/l10n/kab.js b/l10n/kab.js old mode 100755 new mode 100644 diff --git a/l10n/kab.json b/l10n/kab.json old mode 100755 new mode 100644 diff --git a/l10n/km.js b/l10n/km.js old mode 100755 new mode 100644 diff --git a/l10n/km.json b/l10n/km.json old mode 100755 new mode 100644 diff --git a/l10n/kn.js b/l10n/kn.js old mode 100755 new mode 100644 diff --git a/l10n/kn.json b/l10n/kn.json old mode 100755 new mode 100644 diff --git a/l10n/ko.js b/l10n/ko.js old mode 100755 new mode 100644 diff --git a/l10n/ko.json b/l10n/ko.json old mode 100755 new mode 100644 diff --git a/l10n/lb.js b/l10n/lb.js old mode 100755 new mode 100644 diff --git a/l10n/lb.json b/l10n/lb.json old mode 100755 new mode 100644 diff --git a/l10n/lt_LT.js b/l10n/lt_LT.js old mode 100755 new mode 100644 diff --git a/l10n/lt_LT.json b/l10n/lt_LT.json old mode 100755 new mode 100644 diff --git a/l10n/lv.js b/l10n/lv.js old mode 100755 new mode 100644 diff --git a/l10n/lv.json b/l10n/lv.json old mode 100755 new mode 100644 diff --git a/l10n/mk.js b/l10n/mk.js old mode 100755 new mode 100644 diff --git a/l10n/mk.json b/l10n/mk.json old mode 100755 new mode 100644 diff --git a/l10n/mn.js b/l10n/mn.js old mode 100755 new mode 100644 diff --git a/l10n/mn.json b/l10n/mn.json old mode 100755 new mode 100644 diff --git a/l10n/ms_MY.js b/l10n/ms_MY.js old mode 100755 new mode 100644 diff --git a/l10n/ms_MY.json b/l10n/ms_MY.json old mode 100755 new mode 100644 diff --git a/l10n/nb.js b/l10n/nb.js old mode 100755 new mode 100644 diff --git a/l10n/nb.json b/l10n/nb.json old mode 100755 new mode 100644 diff --git a/l10n/nl.js b/l10n/nl.js old mode 100755 new mode 100644 diff --git a/l10n/nl.json b/l10n/nl.json old mode 100755 new mode 100644 diff --git a/l10n/nn_NO.js b/l10n/nn_NO.js old mode 100755 new mode 100644 diff --git a/l10n/nn_NO.json b/l10n/nn_NO.json old mode 100755 new mode 100644 diff --git a/l10n/oc.js b/l10n/oc.js old mode 100755 new mode 100644 diff --git a/l10n/oc.json b/l10n/oc.json old mode 100755 new mode 100644 diff --git a/l10n/pl.js b/l10n/pl.js old mode 100755 new mode 100644 diff --git a/l10n/pl.json b/l10n/pl.json old mode 100755 new mode 100644 diff --git a/l10n/ps.js b/l10n/ps.js old mode 100755 new mode 100644 diff --git a/l10n/ps.json b/l10n/ps.json old mode 100755 new mode 100644 diff --git a/l10n/pt_BR.js b/l10n/pt_BR.js old mode 100755 new mode 100644 diff --git a/l10n/pt_BR.json b/l10n/pt_BR.json old mode 100755 new mode 100644 diff --git a/l10n/pt_PT.js b/l10n/pt_PT.js old mode 100755 new mode 100644 diff --git a/l10n/pt_PT.json b/l10n/pt_PT.json old mode 100755 new mode 100644 diff --git a/l10n/ro.js b/l10n/ro.js old mode 100755 new mode 100644 diff --git a/l10n/ro.json b/l10n/ro.json old mode 100755 new mode 100644 diff --git a/l10n/ru.js b/l10n/ru.js old mode 100755 new mode 100644 diff --git a/l10n/ru.json b/l10n/ru.json old mode 100755 new mode 100644 diff --git a/l10n/si_LK.js b/l10n/si_LK.js old mode 100755 new mode 100644 diff --git a/l10n/si_LK.json b/l10n/si_LK.json old mode 100755 new mode 100644 diff --git a/l10n/sk.js b/l10n/sk.js old mode 100755 new mode 100644 diff --git a/l10n/sk.json b/l10n/sk.json old mode 100755 new mode 100644 diff --git a/l10n/sl.js b/l10n/sl.js old mode 100755 new mode 100644 diff --git a/l10n/sl.json b/l10n/sl.json old mode 100755 new mode 100644 diff --git a/l10n/sq.js b/l10n/sq.js old mode 100755 new mode 100644 diff --git a/l10n/sq.json b/l10n/sq.json old mode 100755 new mode 100644 diff --git a/l10n/sr.js b/l10n/sr.js old mode 100755 new mode 100644 diff --git a/l10n/sr.json b/l10n/sr.json old mode 100755 new mode 100644 diff --git a/l10n/sr@latin.js b/l10n/sr@latin.js old mode 100755 new mode 100644 diff --git a/l10n/sr@latin.json b/l10n/sr@latin.json old mode 100755 new mode 100644 diff --git a/l10n/sv.js b/l10n/sv.js old mode 100755 new mode 100644 diff --git a/l10n/sv.json b/l10n/sv.json old mode 100755 new mode 100644 diff --git a/l10n/ta_LK.js b/l10n/ta_LK.js old mode 100755 new mode 100644 diff --git a/l10n/ta_LK.json b/l10n/ta_LK.json old mode 100755 new mode 100644 diff --git a/l10n/th.js b/l10n/th.js old mode 100755 new mode 100644 diff --git a/l10n/th.json b/l10n/th.json old mode 100755 new mode 100644 diff --git a/l10n/tr.js b/l10n/tr.js old mode 100755 new mode 100644 diff --git a/l10n/tr.json b/l10n/tr.json old mode 100755 new mode 100644 diff --git a/l10n/ug.js b/l10n/ug.js old mode 100755 new mode 100644 diff --git a/l10n/ug.json b/l10n/ug.json old mode 100755 new mode 100644 diff --git a/l10n/uk.js b/l10n/uk.js old mode 100755 new mode 100644 diff --git a/l10n/uk.json b/l10n/uk.json old mode 100755 new mode 100644 diff --git a/l10n/ur_PK.js b/l10n/ur_PK.js old mode 100755 new mode 100644 diff --git a/l10n/ur_PK.json b/l10n/ur_PK.json old mode 100755 new mode 100644 diff --git a/l10n/uz.js b/l10n/uz.js old mode 100755 new mode 100644 diff --git a/l10n/uz.json b/l10n/uz.json old mode 100755 new mode 100644 diff --git a/l10n/vi.js b/l10n/vi.js old mode 100755 new mode 100644 diff --git a/l10n/vi.json b/l10n/vi.json old mode 100755 new mode 100644 diff --git a/l10n/zh_CN.js b/l10n/zh_CN.js old mode 100755 new mode 100644 diff --git a/l10n/zh_CN.json b/l10n/zh_CN.json old mode 100755 new mode 100644 diff --git a/l10n/zh_HK.js b/l10n/zh_HK.js old mode 100755 new mode 100644 diff --git a/l10n/zh_HK.json b/l10n/zh_HK.json old mode 100755 new mode 100644 diff --git a/l10n/zh_TW.js b/l10n/zh_TW.js old mode 100755 new mode 100644 diff --git a/l10n/zh_TW.json b/l10n/zh_TW.json old mode 100755 new mode 100644 diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php old mode 100755 new mode 100644 diff --git a/lib/Controller/CityController.php b/lib/Controller/CityController.php old mode 100755 new mode 100644 diff --git a/lib/Controller/IntermediateController.php b/lib/Controller/IntermediateController.php old mode 100755 new mode 100644 diff --git a/lib/Controller/SettingsController.php b/lib/Controller/SettingsController.php old mode 100755 new mode 100644 diff --git a/lib/Controller/WeatherController.php b/lib/Controller/WeatherController.php old mode 100755 new mode 100644 diff --git a/lib/Settings/AdminSettings.php b/lib/Settings/AdminSettings.php old mode 100755 new mode 100644 diff --git a/screenshots/1.png b/screenshots/1.png old mode 100755 new mode 100644 diff --git a/screenshots/2.png b/screenshots/2.png old mode 100755 new mode 100644 diff --git a/templates/admin.php b/templates/admin.php old mode 100755 new mode 100644 diff --git a/templates/main.php b/templates/main.php old mode 100755 new mode 100644 From f2236176de3742f79ee371be9e8535835f6c667f Mon Sep 17 00:00:00 2001 From: Balint Erdosi Date: Tue, 22 Dec 2020 02:11:01 +0100 Subject: [PATCH 5/5] fixup fix permissions Signed-off-by: Balint Erdosi --- .ci/release_app.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 .ci/release_app.sh diff --git a/.ci/release_app.sh b/.ci/release_app.sh old mode 100644 new mode 100755