This is the Nextcloud Gallery app
Signed-off-by: Olivier Paroz (oparoz) <github@oparoz.com>
This commit is contained in:
parent
777927686c
commit
b510013a90
|
@ -1,3 +1,3 @@
|
|||
[submodule "documentation/wiki"]
|
||||
path = documentation/wiki
|
||||
url = git://github.com/owncloud/gallery.wiki
|
||||
url = git://github.com/nextcloud/gallery.wiki
|
||||
|
|
17
.travis.yml
17
.travis.yml
|
@ -14,7 +14,7 @@ env:
|
|||
- APP_NAME=gallery
|
||||
- SERVER_FOLDER=server
|
||||
- CLOUD=nextcloud
|
||||
- GH_REF: github.com/owncloud/gallery.git
|
||||
- GH_REF: github.com/nextcloud/gallery.git
|
||||
- secure: "cLmMqrbVZrvn2GAoVs6JWa5h70tzrAISjPZUfENjl0KYT6B84z3B94W/dGU+I2mxwvyBqEP+x83Bih2CxEflqc7tJmdqC+MM/ZZiigPX7RCjq5XHbzUpPpMbC8MFxT2K3jcFXUitfwZvNaZXJIiK3ZQJU4ayKaegLvI91x1SqH0="
|
||||
matrix:
|
||||
- DB=sqlite
|
||||
|
@ -27,7 +27,7 @@ branches:
|
|||
|
||||
cache:
|
||||
directories:
|
||||
# ${TRAVIS_BUILD_DIR} is /home/travis/build/owncloud/gallery/
|
||||
# ${TRAVIS_BUILD_DIR} is /home/travis/build/nextcloud/gallery/
|
||||
- ${TRAVIS_BUILD_DIR}/travis/php-cache
|
||||
- ${TRAVIS_BUILD_DIR}/travis/lib-cache
|
||||
- $HOME/.composer/cache
|
||||
|
@ -67,8 +67,7 @@ before_install:
|
|||
#- cat /proc/sys/kernel/core_pattern
|
||||
|
||||
# Installing the server
|
||||
- sh -c "if [ '$CLOUD' = 'nextcloud' ]; then wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh; fi;"
|
||||
- sh -c "if [ '$CLOUD' = 'owncloud' ]; then wget https://raw.githubusercontent.com/owncloud/administration/master/travis-ci/before_install.sh; fi;"
|
||||
- wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh
|
||||
- bash ./before_install.sh $APP_NAME $CORE_BRANCH $DB
|
||||
- cd ../${SERVER_FOLDER}
|
||||
- php occ app:enable $APP_NAME
|
||||
|
@ -132,16 +131,6 @@ after_failure:
|
|||
|
||||
matrix:
|
||||
include:
|
||||
- php: 5.6
|
||||
env: DB=sqlite;CLOUD=owncloud;SERVER_FOLDER=core
|
||||
- php: 5.6
|
||||
env: DB=mysql;CLOUD=owncloud;SERVER_FOLDER=core
|
||||
- php: 5.6
|
||||
env: DB=pgsql
|
||||
- php: 5.6
|
||||
env: DB=pgsql;CLOUD=owncloud;SERVER_FOLDER=core
|
||||
- php: 7.0
|
||||
env: DB=sqlite;CLOUD=owncloud;SERVER_FOLDER=core
|
||||
- php: 7.0
|
||||
env: DB=mysql;CLOUD=owncloud;SERVER_FOLDER=core
|
||||
fast_finish: true
|
||||
|
|
10
README.md
10
README.md
|
@ -4,11 +4,11 @@
|
|||
[![Code Coverage](https://scrutinizer-ci.com/g/nextcloud/gallery/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/nextcloud/gallery/?branch=master)
|
||||
[![PHP 7 ready](http://php7ready.timesplinter.ch/nextcloud/gallery/badge.svg)](https://travis-ci.org/nextcloud/gallery)
|
||||
|
||||
Media gallery for ownCloud and Nextcloud which includes previews for all media types supported by your installation.
|
||||
Media gallery for Nextcloud which includes previews for all media types supported by your installation.
|
||||
|
||||
Provides a dedicated view of all images in a grid, adds image viewing capabilities to the files app and adds a gallery view to public links.
|
||||
|
||||
**This version is for ownCloud 9.2 and Nextcloud 11. If you need the same app for older versions of ownCloud and Nextcloud. Use [Gallery+](https://github.com/oparoz/galleryplus) from their respective app stores.**
|
||||
**This version is for Nextcloud 11. If you need the same app for older versions of Nextcloud. Use [Gallery+](https://github.com/oparoz/galleryplus) from the app stores.**
|
||||
|
||||
![Screenshot](https://raw.githubusercontent.com/nextcloud/gallery/master/build/screenshots/Gallery.jpg)
|
||||
## Featuring
|
||||
|
@ -51,7 +51,7 @@ See this [wiki article](https://github.com/nextcloud/gallery/wiki/Requirements)
|
|||
There are many ways in which you can help make Gallery a better product
|
||||
|
||||
* Report bugs (see below)
|
||||
* Provide patches for [`nextcloud/server`](https://github.com/nextcloud/server) , [`owncloud/core`](https://github.com/owncloud/core) or the app itself
|
||||
* Provide patches for [`nextcloud/server`](https://github.com/nextcloud/server) or the app itself
|
||||
* Help test new features by checking out new branches on Github
|
||||
* Design interface components for new features
|
||||
* Develop new features. Please consult with the maintainers before starting your journey
|
||||
|
@ -91,13 +91,13 @@ That's it. You should be able to see more media types in your slideshows and gal
|
|||
|
||||
Using Redis for files locking improves performance **by a factor of 10** when loading an album.
|
||||
|
||||
Read about it in the [Nextcloud](https://docs.nextcloud.org/server/10/admin_manual/configuration_files/files_locking_transactional.html) or [ownCloud](https://doc.owncloud.org/server/9.2/admin_manual/configuration_files/files_locking_transactional.html) Administration Manual
|
||||
Read about it in the [Nextcloud](https://docs.nextcloud.org/server/11/admin_manual/configuration_files/files_locking_transactional.html) Administration Manual
|
||||
|
||||
#### Assets pipelining
|
||||
Make sure to enable "asset pipelining", so that all the Javascript and CSS resources can be mixed together.
|
||||
This can greatly reduce the loading time of the app.
|
||||
|
||||
Read about it in the [Nextcloud](https://docs.nextcloud.org/server/10/admin_manual/configuration_server/js_css_asset_management_configuration.html) or [ownCloud](https://doc.owncloud.org/server/9.2/admin_manual/configuration_server/js_css_asset_management_configuration.html) Administration Manual
|
||||
Read about it in the [Nextcloud](https://docs.nextcloud.org/server/11/admin_manual/configuration_server/js_css_asset_management_configuration.html) Administration Manual
|
||||
|
||||
## Installation
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<info>
|
||||
<id>gallery</id>
|
||||
<name>Gallery</name>
|
||||
<description>Media gallery for ownCloud and Nextcloud with the following features:
|
||||
<description>Media gallery for Nextcloud with the following features:
|
||||
|
||||
- Support for large selection of media types (depending on server setup)
|
||||
|
||||
|
@ -26,7 +26,7 @@
|
|||
|
||||
Provides a dedicated view of all images in a grid, adds image viewing capabilities to the
|
||||
files app and adds a gallery view to public links.
|
||||
Compatible with Firefox, Chrome and Internet Explorer 9+
|
||||
Compatible with Firefox, Chrome and Internet Explorer 11
|
||||
</description>
|
||||
<licence>AGPL</licence>
|
||||
<author>Olivier Paroz, Robin Appelman</author>
|
||||
|
|
|
@ -21,7 +21,7 @@ git config user.email "travis-gallery-reporter@interfasys.ch"
|
|||
git add .
|
||||
|
||||
# Initialising wiki submodule
|
||||
git submodule add https://github.com/owncloud/gallery.wiki.git wiki
|
||||
git submodule add https://github.com/nextcloud/gallery.wiki.git wiki
|
||||
|
||||
git commit -m "Gallery documentation"
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* Copyright 2011–2014, Dave Furfero
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
*
|
||||
* Modified for ownCloud Gallery by Olivier Paroz to convert taphold events into clicks instead of
|
||||
* Modified for Nextcloud Gallery by Olivier Paroz to convert taphold events into clicks instead of
|
||||
* using touchstart
|
||||
* @see https://stackoverflow.com/questions/34027761/jquery-ui-sortable-hold-and-drag-for-mobile
|
||||
*
|
||||
|
|
|
@ -30,7 +30,7 @@ style(
|
|||
<?php endif; ?>
|
||||
</br>
|
||||
<p><?php p(
|
||||
$l->t('For more information, please contact your friendly ownCloud administrator.')
|
||||
$l->t('For more information, please contact your friendly Nextcloud administrator.')
|
||||
); ?></p>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Testing the Gallery app
|
||||
|
||||
Read more about automated testing in [the wiki](https://github.com/owncloud/gallery/wiki/Behavioural%2C-functional-and-unit-testing-suite/)
|
||||
Read more about automated testing in [the wiki](https://github.com/nextcloud/gallery/wiki/Behavioural%2C-functional-and-unit-testing-suite/)
|
||||
|
||||
## Requirements
|
||||
|
||||
|
|
|
@ -9,8 +9,8 @@ design:
|
|||
information:
|
||||
description: |
|
||||
# This is the official **Gallery** sample folder
|
||||
Contribute to this project [on Github](https://github.com/owncloud/gallery)
|
||||
copyright: Copyright 2014-2015 [Acme](http://www.ubersecrettester.ninja)
|
||||
Contribute to this project [on Github](https://github.com/nextcloud/gallery)
|
||||
copyright: Copyright 2014-2015 [Acme](http://www.nextcloud.ninja)
|
||||
inherit: yes
|
||||
sorting:
|
||||
type: date
|
||||
|
|
|
@ -9,8 +9,8 @@ design:
|
|||
information:
|
||||
description: |
|
||||
# This is the official **Gallery** sample folder
|
||||
Contribute to this project [on Github](https://github.com/owncloud/gallery)
|
||||
copyright: Copyright 2014-2015 [Acme](http://www.ubersecrettester.ninja)
|
||||
Contribute to this project [on Github](https://github.com/nextcloud/gallery)
|
||||
copyright: Copyright 2014-2015 [Acme](http://www.nextcloud.ninja)
|
||||
inherit: yes
|
||||
sorting:
|
||||
type: date
|
||||
|
|
|
@ -75,8 +75,8 @@ class GetFilesCest {
|
|||
[
|
||||
// You have to use double-quotes here in order to be able to insert the line return
|
||||
'description' => "# This is the official **Gallery** sample folder\xA" .
|
||||
"Contribute to this project [on Github](https://github.com/owncloud/gallery)\xA",
|
||||
'copyright' => 'Copyright 2014-2015 [Acme](http://www.ubersecrettester.ninja)',
|
||||
"Contribute to this project [on Github](https://github.com/nextcloud/gallery)\xA",
|
||||
'copyright' => 'Copyright 2014-2015 [Acme](http://www.nextcloud.ninja)',
|
||||
'inherit' => 'yes',
|
||||
'level' => 0,
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue