Browse Source

Merge pull request #687 from electerious/develop

Lychee 3.1.6
Tobias Reich 2 years ago
parent
commit
63cba554cb
8 changed files with 38 additions and 26 deletions
  1. 7 0
      .htaccess
  2. 1 1
      LICENSE
  3. 7 7
      dist/main.js
  4. 4 4
      dist/view.js
  5. 7 0
      docs/Changelog.md
  6. 0 2
      php/Modules/Album.php
  7. 10 10
      src/package.json
  8. 2 2
      src/scripts/lychee.js

+ 7 - 0
.htaccess

@@ -10,6 +10,13 @@ Options -Indexes
 #	php_value upload_max_filesize 20M
 #	php_value max_file_uploads 100
 #</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

+ 1 - 1
LICENSE

@@ -1,6 +1,6 @@
 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
 of this software and associated documentation files (the "Software"), to deal

File diff suppressed because it is too large
+ 7 - 7
dist/main.js


File diff suppressed because it is too large
+ 4 - 4
dist/view.js


+ 7 - 0
docs/Changelog.md

@@ -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
 
 Released October 25, 2016

+ 0 - 2
php/Modules/Album.php

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

+ 10 - 10
src/package.json

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

+ 2 - 2
src/scripts/lychee.js

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