From 9ad539c1fed6b6aaf6d79c4c337bd74afc9152f9ddb95eae852949676ccf41a6 Mon Sep 17 00:00:00 2001 From: Eric Schirra Date: Thu, 19 Dec 2019 15:39:28 +0000 Subject: [PATCH 1/2] Accepting request 758250 from home:ecsos:server Update to 17.0.2 OBS-URL: https://build.opensuse.org/request/show/758250 OBS-URL: https://build.opensuse.org/package/show/server:php:applications/nextcloud?expand=0&rev=96 --- nextcloud-17.0.1.tar.bz2 | 3 -- nextcloud-17.0.2.tar.bz2 | 3 ++ nextcloud.changes | 105 ++++++++++++++++++++++++++++++++++++++- nextcloud.spec | 2 +- 4 files changed, 108 insertions(+), 5 deletions(-) delete mode 100644 nextcloud-17.0.1.tar.bz2 create mode 100644 nextcloud-17.0.2.tar.bz2 diff --git a/nextcloud-17.0.1.tar.bz2 b/nextcloud-17.0.1.tar.bz2 deleted file mode 100644 index 5b65489..0000000 --- a/nextcloud-17.0.1.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:773e0ee526c2bbc359c012783b3ec65f3b0119a8821bcbacfba2b84ed8bf2b4b -size 65252188 diff --git a/nextcloud-17.0.2.tar.bz2 b/nextcloud-17.0.2.tar.bz2 new file mode 100644 index 0000000..e166990 --- /dev/null +++ b/nextcloud-17.0.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f32596ffc057ef88a5e92a71016fc8685f57f518bfd8f97d1d9b4ae73d553de3 +size 65475747 diff --git a/nextcloud.changes b/nextcloud.changes index 5d0db36..f1bbc3f 100644 --- a/nextcloud.changes +++ b/nextcloud.changes @@ -1,8 +1,111 @@ +------------------------------------------------------------------- +Thu Dec 19 14:59:58 UTC 2019 - ecsos@opensuse.org + +- Update to 17.0.2 + - Actually return the quote when getting global storage info (server#17851) + - Also set X-OC-Mtime header for files that are smaller than 10MB (server#17858) + - FIX: horizontal scrolling on mobile due to tab accessibility + navigation 'skip to content' positioned at a fixed position (server#17883) + - Fix reshare with circle (server#17916) + - Bump icewind/searchdav (server#17919) + - Make timeout a optional parameter (server#17925) + - Check quota before transfer ownership (server#17928) + - Re-acquired expired shared locks on large file uploads (server#17945) + - Pass through ServerNotAvailableException on app init (server#17952) + - Do not check for updates if we have no internet (server#18036) + - Convert more columns to bigint (server#18040) + - Fix installing with MySQL 8.0.4+ (server#18043) + - Uid can be false when the user record does not exit (server#18047) + - Update the CRL (server#18050) + - Make chunksize (used to check for gone LDAP users) configurable (server#18054) + - Remove objectstore credentials (server#18075) + - Incorrect integer value: '' for column 'password_invalid' while migra… (server#18100) + - Trim the login name (server#18156) + - Delay creation of the cert bundle (server#18186) + - Handle token insert conflicts (server#18189) + - Throw an invalid token exception is token is marked outdated (server#18198) + - Backport #18120 (server#18205) + - Mark "Talk" active on /call/token URLs (server#18221) + - Allow to unfavorite all files (server#18247) + - Hide the tooltip if the list row is rerendered (server#18252) + - Move overwritehost check to isTrustedDomain (server#18306) + - Convert various columns in oc_mounts to bigint (server#18307) + - Do not disable authentication apps (server#18332) + - Sharee API GS fixes (server#18337) + - Handle IPv6 addresses with an explict incoming interface at the end (server#18352) + - Adding share type circles (server#18355) + - Fix restoring shared versions (server#18358) + - Support more IPv6 addresses in the RefreshWebcalJob (server#18366) + - Bump the CRL (server#18375) + - Allow to detect mimetype by content (server#18386) + - Bump serialize-javascript and handlebars (server#18419) + - Update icewind/searchdav to 1.0.2 (3rdparty#351) + - Is_dir can be null on blacklisted files (activity#407) + - Remove debug log (activity#412) + - Stable17 Use @nextcloud/axios so the csrf token gets refreshed (notifications#471) + - Fix header icon hover & focus feedback (notifications#495) + - Fix cutting of multibyte characters (notifications#499) + - Do not send push notifications when nothing was deleted (notifications#506) + ------------------------------------------------------------------- Thu Nov 7 17:21:19 UTC 2019 - ecsos@opensuse.org - Update to 17.0.1 - - No changelog from upstream. + - Always use the folder icon depending on the mount type if not a share mount (server#17156) + - Fix "create folder" icon overlaying home icon (server#17219) + - Fix directory detection for s3 (server#17273) + - Fix user with id 0 to be able to comment (server#17274) + - Handle moveFromStorage within the same storage even when storage wrap… (server#17277) + - Dont delete cache entries if deleting an object from object store failed (server#17281) + - Correctly detect the mimetype from uploads (server#17295) + - Add (hidden) option to configure smb timeout (server#17298) + - Position fixed for .toastify.toast (server#17300) + - Fix fetching additional search results on scrolling down (server#17305) + - Bring the default font size up to 15px (server#17309) + - Use handlebars from node_modules (on CI) (server#17348) + - Reduce adressbook change events and handling (server#17351) + - Fix typo in "which" (server#17358) + - Fix updating and deleting authtokens (server#17415) + - Allow removing federated shares of locally reshared files (server#17418) + - Fix oauth client redirect (server#17438) + - Don't call basename on null (server#17444) + - Fix axios csrf token update event (server#17453) + - Use @nextcloud/axios to keep the CSRF token in sync (server#17455) + - Kill ui-regression ci job (server#17457) + - Force hide tooltips on sidebar close (server#17493) + - Only cache the mimetype if the file exists (server#17538) + - Set the proper filename for version downloads (server#17541) + - Load additional scripts on help page (server#17578) + - Let SCSS cleanup only run once (server#17579) + - Pass on direct query parameter during login (server#17581) + - Added documentation links on settings pages (server#17589) + - Include the share in the Files_Sharing::loadAdditionalScripts event (server#17597) + - Treat LDAP error 50 as auth issue, prevents lost server connection errors (server#17617) + - Hide strange Everyone and Disabled group numbers with LDAP (server#17621) + - Fix browser back button (server#17638) + - Fix filename overlapping on mobile (server#17676) + - Harden middleware check (server#17681) + - Fix jsConfigHelper lang/locale mixup (server#17686) + - Fix weird KDE bug with loginflowv2 (server#17688) + - Make sure limit is never negative (server#17716) + - Fix DAV mimetype search (server#17731) + - Return null from migration to match with typehint (server#17742) + - Do not show 'Get your own free account' on services under subscription (server#17748) + - Fix action menu on mobile (server#17766) + - Bring back external storage group select delete (server#17767) + - Switch to Files Node API for zip generation (server#17840) + - Use correct route to generate (nextcloud_announcements#56) + - Name of the collector is `Php`. (survey_client#98) + - Update version on master (viewer#232) + - Bump eslint-plugin-node from 9.2.0 to 10.0.0 (viewer#235) + - Bump @babel/core from 7.5.5 to 7.6.0 (viewer#236) + - Bump @babel/preset-env from 7.5.5 to 7.6.0 (viewer#237) + - Bump webpack-cli from 3.3.7 to 3.3.8 (viewer#238) + - Bump webpack from 4.39.3 to 4.40.1 (viewer#242) + - Bump webpack from 4.40.1 to 4.40.2 (viewer#245) + - Bump webpack-cli from 3.3.8 to 3.3.9 (viewer#250) + - Bump eslint-config-nextcloud from 0.0.5 to 0.0.6 (viewer#258) + - Bump url-loader from 2.1.0 to 2.2.0 (viewer#259) ------------------------------------------------------------------- Wed Oct 2 10:45:46 UTC 2019 - ecsos@opensuse.org diff --git a/nextcloud.spec b/nextcloud.spec index fb01ff8..460ca89 100644 --- a/nextcloud.spec +++ b/nextcloud.spec @@ -49,7 +49,7 @@ %endif Name: nextcloud -Version: 17.0.1 +Version: 17.0.2 Release: 0 Summary: File hosting service License: AGPL-3.0-only From 81f1a952da0bb6cda658d54f3345c7235b7be42a09da98a31d8b77a426320c5c Mon Sep 17 00:00:00 2001 From: Eric Schirra Date: Sat, 18 Jan 2020 17:55:02 +0000 Subject: [PATCH 2/2] Accepting request 765396 from home:ecsos:server Update to 18.0.0 Can now install in Tumbleweed again. But today I have some problems when I update nextcloud. So I have insert in spec one line to repair dB before update. Can someone test it before I will accept and push it to Tumbleweed, please? OBS-URL: https://build.opensuse.org/request/show/765396 OBS-URL: https://build.opensuse.org/package/show/server:php:applications/nextcloud?expand=0&rev=97 --- nextcloud-17.0.2.tar.bz2 | 3 --- nextcloud-18.0.0.tar.bz2 | 3 +++ nextcloud.changes | 8 ++++++++ nextcloud.spec | 14 ++++++++------ 4 files changed, 19 insertions(+), 9 deletions(-) delete mode 100644 nextcloud-17.0.2.tar.bz2 create mode 100644 nextcloud-18.0.0.tar.bz2 diff --git a/nextcloud-17.0.2.tar.bz2 b/nextcloud-17.0.2.tar.bz2 deleted file mode 100644 index e166990..0000000 --- a/nextcloud-17.0.2.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f32596ffc057ef88a5e92a71016fc8685f57f518bfd8f97d1d9b4ae73d553de3 -size 65475747 diff --git a/nextcloud-18.0.0.tar.bz2 b/nextcloud-18.0.0.tar.bz2 new file mode 100644 index 0000000..9c54434 --- /dev/null +++ b/nextcloud-18.0.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:194095a5586d84040bc455f77b8aa6c80f9a6a6dd713c9aebdad046713d4267b +size 85867628 diff --git a/nextcloud.changes b/nextcloud.changes index f1bbc3f..2432f7f 100644 --- a/nextcloud.changes +++ b/nextcloud.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Jan 17 18:37:04 UTC 2020 - ecsos@opensuse.org + +- Update to 18.0.0 + No changelog from upstream at this time. + +- Add "occ maintenance:repair" during package update to fix possible (db) errors. + ------------------------------------------------------------------- Thu Dec 19 14:59:58 UTC 2019 - ecsos@opensuse.org diff --git a/nextcloud.spec b/nextcloud.spec index 460ca89..4b840e2 100644 --- a/nextcloud.spec +++ b/nextcloud.spec @@ -1,7 +1,7 @@ # # spec file for package nextcloud # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -49,7 +49,7 @@ %endif Name: nextcloud -Version: 17.0.2 +Version: 18.0.0 Release: 0 Summary: File hosting service License: AGPL-3.0-only @@ -91,8 +91,8 @@ Requires: php-posix Requires: php-zip # %if 0%{?fedora_version} || 0%{?rhel} || 0%{?rhel_version} || 0%{?centos_version} -Requires: php <= 7.3.0 -Requires: php >= 7.0.0 +Requires: php < 7.5.0 +Requires: php >= 7.2.0 Requires: php-process Requires: php-xml # @@ -101,8 +101,8 @@ Recommends: sqlite # %if 0%{?suse_version} Requires: apache2 -Requires: mod_php_any < 7.4.0 -Requires: mod_php_any >= 7.0.0 +Requires: mod_php_any < 7.5.0 +Requires: mod_php_any >= 7.2.0 Requires: php-ctype Requires: php-curl # SUSE does not include the fileinfo module in php-common. @@ -279,6 +279,8 @@ if [ -s %{statedir}/apache_stopped_during_nextcloud_install ]; then fi if [ -s %{statedir}/occ_maintenance_mode_during_nextcloud_install ]; then +echo "%{name}: occ maintenance:repair (fix possible errors)" +su %{oc_user} -s /bin/sh -c "cd %{oc_dir}; PATH=%{ocphp_bin}:$PATH php ./occ maintenance:repair" || true echo "%{name}: occ upgrade" su %{oc_user} -s /bin/sh -c "cd %{oc_dir}; PATH=%{ocphp_bin}:$PATH php ./occ upgrade" || true echo "%{name}: occ maintenance:mode --off"