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

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2018-09-22 17:47:20 +0300
committernachoparker <nacho@ownyourbits.com>2018-09-23 16:50:13 +0300
commit3a1b974c8a45353f6b992bb55e07a4d9a0870232 (patch)
tree39cd3d492befae1a1206fb175785969a39ecb9d0
parent445748551fa630f62922de3f4a32b89ae1037212 (diff)
add nc-previewsv0.60.0
-rw-r--r--changelog.md8
-rw-r--r--etc/ncp-config.d/nc-previews.sh39
-rwxr-xr-xupdate.sh3
3 files changed, 49 insertions, 1 deletions
diff --git a/changelog.md b/changelog.md
index 8327f3cb..1153f4e1 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,5 +1,11 @@
-[v0.59.18](https://github.com/nextcloud/nextcloudpi/commit/fb7164e) (2018-09-20) docker: build fixes
+[v0.60.0](https://github.com/nextcloud/nextcloudpi/commit/3930c82) (2018-09-22) add nc-previews
+
+[v0.59.20](https://github.com/nextcloud/nextcloudpi/commit/4457485) (2018-09-21) autoupdate: log everything to ncp.log
+
+[v0.59.19](https://github.com/nextcloud/nextcloudpi/commit/cc53f40) (2018-09-21) ncp-report: remove sensitive data
+
+[v0.59.18](https://github.com/nextcloud/nextcloudpi/commit/7a8c0e4) (2018-09-20) docker: build fixes
[v0.59.17](https://github.com/nextcloud/nextcloudpi/commit/9ee4282) (2018-09-09) docker: fix letsencrypt not persistent
diff --git a/etc/ncp-config.d/nc-previews.sh b/etc/ncp-config.d/nc-previews.sh
new file mode 100644
index 00000000..ef325a75
--- /dev/null
+++ b/etc/ncp-config.d/nc-previews.sh
@@ -0,0 +1,39 @@
+#!/bin/bash
+
+# Generate previews for the gallery
+#
+# Copyleft 2018 by Ignacio Nunez Hernanz <nacho _a_t_ ownyourbits _d_o_t_ com>
+# GPL licensed (see end of file) * Use at your own risk!
+#
+# More at nextcloudpi.com
+#
+
+DESCRIPTION="Generate previews for the gallery"
+
+INFO="This will make browsing the gallery much more smooth.
+For big collections, this can take a LONG time, depending on your hardware"
+
+configure()
+{
+ sudo -u www-data php /var/www/nextcloud/occ preview:generate-all
+}
+
+install() { :; }
+
+# License
+#
+# This script is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This script 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this script; if not, write to the
+# Free Software Foundation, Inc., 59 Temple Place, Suite 330,
+# Boston, MA 02111-1307 USA
+
diff --git a/update.sh b/update.sh
index f3b5791e..dc9aad81 100755
--- a/update.sh
+++ b/update.sh
@@ -167,6 +167,9 @@ EOF
sudo -u www-data php /var/www/nextcloud/occ config:system:set mail_smtpmode --value="sendmail"
}
+ sudo -u www-data php /var/www/nextcloud/occ app:install previewgenerator
+ sudo -u www-data php /var/www/nextcloud/occ app:enable previewgenerator
+
} # end - only live updates
exit 0