diff --git a/assets/js/album.js b/assets/js/album.js index 6feb48f..273d848 100644 --- a/assets/js/album.js +++ b/assets/js/album.js @@ -308,10 +308,10 @@ album = { if ($(".message .choice input[name='password']:checked").val()==="password") { password = md5($(".message input.text").val()); - album.json.password = true; + album.json.password = 1; } else { password = ""; - album.json.password = false; + album.json.password = 0; } if ($(".message .choice input[name='listed']:checked").val()==="listed") listed = true; @@ -323,8 +323,11 @@ album = { if (visible.album()) { album.json.public = (album.json.public==0) ? 1 : 0; + album.json.password = (album.json.public==0) ? 0 : album.json.password; + view.album.public(); view.album.password(); + if (album.json.public==1) contextMenu.shareAlbum(albumID, e); } diff --git a/assets/js/lychee.js b/assets/js/lychee.js index 43484ff..6e906b2 100644 --- a/assets/js/lychee.js +++ b/assets/js/lychee.js @@ -8,8 +8,8 @@ var lychee = { title: "", - version: "2.5.5", - version_code: "020505", + version: "2.5.6", + version_code: "020506", api_path: "php/api.php", update_path: "http://lychee.electerious.com/version/index.php", diff --git a/build/package.json b/build/package.json index 1519f86..0a92bf0 100644 --- a/build/package.json +++ b/build/package.json @@ -1,6 +1,6 @@ { "name": "Lychee", - "version": "2.5.0", + "version": "2.5.6", "description": "Self-hosted photo-management done right.", "authors": "Tobias Reich ", "license": "MIT", diff --git a/docs/Changelog.md b/docs/Changelog.md index 0fcaa83..f678e86 100644 --- a/docs/Changelog.md +++ b/docs/Changelog.md @@ -1,3 +1,18 @@ +## v2.5.6 + +Released July 25, 2014 + +- `New` Choose if album should be listed public (#177) +- `New` Gulp instead of Grunt with autoprefixer +- `Improved` Slightly better performance when opening big albums +- `Improved` Checksum with sha1 instead of md5 (#179) +- `Fixed` Missing public badge on public albums +- `Fixed` Wrong path for public photos in view.php +- `Fixed` Wrong link to thumbs when searching +- `Fixed` Wrong date in album view when takestamp was null +- `Fixed` It wasn't possible to rename albums while searching +- `Fixed` It was possible to right-click on SmartAlbums after searching + ## v2.5.5 Released July 5, 2014