Merge pull request #637 from electerious/develop

Lychee 3.1.5
This commit is contained in:
Tobias Reich 2016-10-25 18:22:38 +02:00 committed by GitHub
commit 3eaaed7271
29 changed files with 28 additions and 3568 deletions

BIN
dist/main.css vendored Normal file → Executable file

Binary file not shown.

BIN
dist/main.js vendored

Binary file not shown.

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

Binary file not shown.

View File

@ -1,3 +1,10 @@
## v3.1.5
Released October 25, 2016
- `New` Hide mouse pointer in full screen mode (#620)
- `Improved` Smoothing rotation of album (#626)
## v3.1.4
Released August 28, 2016

3531
src/npm-shrinkwrap.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"name": "Lychee",
"version": "3.1.4",
"version": "3.1.5",
"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.13.2",
"babel-preset-es2015": "^6.18.0",
"basiccontext": "^3.5.1",
"basicmodal": "^3.3.7",
"gulp": "^3.9.1",
"gulp-autoprefixer": "3.1.0",
"gulp-autoprefixer": "3.1.1",
"gulp-babel": "^6.1.2",
"gulp-concat": "^2.6.0",
"gulp-inject": "^4.1.0",
"gulp-load-plugins": "^1.2.4",
"gulp-load-plugins": "^1.3.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.0",
"jquery": "^3.1.1",
"mousetrap": "^1.6.0"
}
}

View File

@ -1,6 +1,5 @@
/**
* @description Takes care of every action an album can handle and execute.
* @copyright 2015 by Tobias Reich
*/
album = {

View File

@ -1,6 +1,5 @@
/**
* @description Takes care of every action albums can handle and execute.
* @copyright 2015 by Tobias Reich
*/
albums = {

View File

@ -1,6 +1,5 @@
/**
* @description This module communicates with Lychee's API
* @copyright 2015 by Tobias Reich
*/
api = {

View File

@ -1,6 +1,5 @@
/**
* @description This module is used to generate HTML-Code.
* @copyright 2015 by Tobias Reich
*/
build = {}

View File

@ -1,6 +1,5 @@
/**
* @description This module is used for the context menu.
* @copyright 2015 by Tobias Reich
*/
contextMenu = {}

View File

@ -1,6 +1,5 @@
/**
* @description This module takes care of the header.
* @copyright 2015 by Tobias Reich
*/
header = {

View File

@ -1,6 +1,5 @@
/**
* @description This module is used for bindings.
* @copyright 2015 by Tobias Reich
*/
$(document).ready(function() {

View File

@ -1,6 +1,5 @@
/**
* @description This module is used to show and hide the loading bar.
* @copyright 2015 by Tobias Reich
*/
loadingBar = {

View File

@ -1,13 +1,12 @@
/**
* @description This module provides the basic functions of Lychee.
* @copyright 2015 by Tobias Reich
*/
lychee = {
title : document.title,
version : '3.1.4',
versionCode : '030104',
version : '3.1.5',
versionCode : '030105',
updatePath : '//update.electerious.com/index.json',
updateURL : 'https://github.com/electerious/Lychee',

View File

@ -1,6 +1,5 @@
/**
* @description Select multiple albums or photos.
* @copyright 2015 by Tobias Reich
*/
multiselect = {}

View File

@ -1,6 +1,5 @@
/**
* @description Controls the access to password-protected albums and photos.
* @copyright 2015 by Tobias Reich
*/
password = {

View File

@ -1,6 +1,5 @@
/**
* @description Takes care of every action a photo can handle and execute.
* @copyright 2015 by Tobias Reich
*/
photo = {

View File

@ -1,6 +1,5 @@
/**
* @description Searches through your photos and albums.
* @copyright 2015 by Tobias Reich
*/
search = {

View File

@ -1,6 +1,5 @@
/**
* @description Lets you change settings.
* @copyright 2015 by Tobias Reich
*/
settings = {}

View File

@ -1,6 +1,5 @@
/**
* @description This module takes care of the sidebar.
* @copyright 2015 by Tobias Reich
*/
sidebar = {

View File

@ -1,6 +1,5 @@
/**
* @description Swipes and moves an object.
* @copyright 2015 by Tobias Reich
*/
swipe = {

View File

@ -1,6 +1,5 @@
/**
* @description Takes care of every action an album can handle and execute.
* @copyright 2015 by Tobias Reich
*/
upload = {}

View File

@ -1,6 +1,5 @@
/**
* @description Responsible to reflect data changes to the UI.
* @copyright 2015 by Tobias Reich
*/
view = {}
@ -309,11 +308,11 @@ view.photo = {
$('body').css('overflow', 'hidden')
// Fullscreen
var timeout
let timeout = null
$(document).bind('mousemove', function() {
clearTimeout(timeout)
header.show()
timeout = setTimeout(header.hide, 1000)
timeout = setTimeout(header.hide, 2500)
})
lychee.animate(lychee.imageview, 'fadeIn')
@ -331,8 +330,7 @@ view.photo = {
$('body').css('overflow', 'auto')
// Disable Fullscreen
$(document)
.unbind('mousemove')
$(document).unbind('mousemove')
// Hide Photo
lychee.animate(lychee.imageview, 'fadeOut')

View File

@ -1,6 +1,5 @@
/**
* @description Used to view single photos with view.php
* @copyright 2015 by Tobias Reich
*/
// Sub-implementation of lychee -------------------------------------------------------------- //

View File

@ -1,6 +1,5 @@
/**
* @description This module is used to check if elements are visible or not.
* @copyright 2015 by Tobias Reich
*/
visible = {}

View File

@ -85,6 +85,10 @@
&:hover img:nth-child(1),
&:hover img:nth-child(2) {
opacity: 1;
// Keep the composited layer created by the browser during the animation.
// Makes the border of the transformed thumb look better.
// See https://github.com/electerious/Lychee/pull/626 for more.
will-change: transform;
}
&:hover img:nth-child(1) {

View File

@ -10,9 +10,14 @@
transition: background-color .3s;
// Modes -------------------------------------------------------------- //
&.view { background-color: inherit; }
&.view {
background-color: inherit;
}
&.full { background-color: black(1); }
&.full {
background-color: black(1);
cursor: none;
}
// ImageView -------------------------------------------------------------- //
#image {

View File

@ -1,7 +1,3 @@
/**
* @copyright 2015 by Tobias Reich
*/
// Functions --------------------------------------------------------------- //
@function black($opacity) {
@return rgba(0, 0, 0, $opacity);