Merge pull request #687 from electerious/develop

Lychee 3.1.6
This commit is contained in:
Tobias Reich 2017-03-20 09:44:53 +01:00 committed by GitHub
commit 63cba554cb
8 changed files with 27 additions and 15 deletions

View File

@ -10,6 +10,13 @@ Options -Indexes
# php_value upload_max_filesize 20M # php_value upload_max_filesize 20M
# php_value max_file_uploads 100 # php_value max_file_uploads 100
#</IfModule> #</IfModule>
#<IfModule mod_php7.c>
# php_value max_execution_time 200
# php_value post_max_size 200M
# php_value upload_max_size 200M
# php_value upload_max_filesize 20M
# php_value max_file_uploads 100
#</IfModule>
# --- # ---
# Uncomment these lines when you want to allow access to the Lychee API from different origins # Uncomment these lines when you want to allow access to the Lychee API from different origins

View File

@ -1,6 +1,6 @@
The MIT License (MIT) The MIT License (MIT)
Copyright (c) 2016 Tobias Reich (http://electerious.com/) Copyright (c) 2017 Tobias Reich
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

BIN
dist/main.js vendored

Binary file not shown.

BIN
dist/view.js vendored Executable file → Normal file

Binary file not shown.

View File

@ -1,3 +1,10 @@
## v3.1.6
Released March 20, 2017
- `Fixed` Downloading a SmartAlbum results in crash (#652)
- `Fixed` htaccess IfModule for PHP7 (#653)
## v3.1.5 ## v3.1.5
Released October 25, 2016 Released October 25, 2016

View File

@ -255,8 +255,6 @@ final class Album {
// Execute query // Execute query
$photos = Database::execute(Database::get(), $photos, __METHOD__, __LINE__); $photos = Database::execute(Database::get(), $photos, __METHOD__, __LINE__);
if ($album===null) return false;
// Check if album empty // Check if album empty
if ($photos->num_rows==0) { if ($photos->num_rows==0) {
Log::error(Database::get(), __METHOD__, __LINE__, 'Could not create ZipArchive without images'); Log::error(Database::get(), __METHOD__, __LINE__, 'Could not create ZipArchive without images');

View File

@ -1,6 +1,6 @@
{ {
"name": "Lychee", "name": "Lychee",
"version": "3.1.5", "version": "3.1.6",
"description": "Self-hosted photo-management done right.", "description": "Self-hosted photo-management done right.",
"authors": "Tobias Reich <tobias@electerious.com>", "authors": "Tobias Reich <tobias@electerious.com>",
"license": "MIT", "license": "MIT",
@ -14,20 +14,20 @@
"compile": "gulp" "compile": "gulp"
}, },
"dependencies": { "dependencies": {
"babel-preset-es2015": "^6.18.0", "babel-preset-es2015": "^6.24.0",
"basiccontext": "^3.5.1", "basiccontext": "^3.5.1",
"basicmodal": "^3.3.7", "basicmodal": "^3.3.8",
"gulp": "^3.9.1", "gulp": "^3.9.1",
"gulp-autoprefixer": "3.1.1", "gulp-autoprefixer": "3.1.1",
"gulp-babel": "^6.1.2", "gulp-babel": "^6.1.2",
"gulp-concat": "^2.6.0", "gulp-concat": "^2.6.1",
"gulp-inject": "^4.1.0", "gulp-inject": "^4.2.0",
"gulp-load-plugins": "^1.3.0", "gulp-load-plugins": "^1.5.0",
"gulp-minify-css": "^1.2.4", "gulp-minify-css": "^1.2.4",
"gulp-rimraf": "^0.2.0", "gulp-rimraf": "^0.2.1",
"gulp-sass": "^2.3.2", "gulp-sass": "^3.1.0",
"gulp-uglify": "^2.0.0", "gulp-uglify": "^2.1.1",
"jquery": "^3.1.1", "jquery": "^3.2.0",
"mousetrap": "^1.6.0" "mousetrap": "^1.6.0"
} }
} }

View File

@ -5,8 +5,8 @@
lychee = { lychee = {
title : document.title, title : document.title,
version : '3.1.5', version : '3.1.6',
versionCode : '030105', versionCode : '030106',
updatePath : '//update.electerious.com/index.json', updatePath : '//update.electerious.com/index.json',
updateURL : 'https://github.com/electerious/Lychee', updateURL : 'https://github.com/electerious/Lychee',