Commit Graph

23 Commits

Author SHA1 Message Date
Nils Asmussen
7fd74462e2 Allow to download multiple albums.
This commit adds a download item to the album and albumMulti
contextMenu functions. Since the Archive class is already general
enough, we can easily support to download multiple albums. This
is especially nice, because we can now select individual albums.
2016-11-13 13:54:15 +01:00
Tobias Reich
f460569bdc Merge branch 'develop' into feature/subalbums
# Conflicts:
#	src/package.json
#	src/scripts/lychee.js
2016-10-25 18:32:14 +02:00
Tobias Reich
623325691f Nobody needs a copyright in each file… 2016-10-25 18:11:27 +02:00
Tobias Reich
5bbac75481 Merge branch 'develop' into feature/subalbums 2016-08-22 14:01:10 +02:00
Nils Asmussen
58d3ad727d Hide download button only w/o photos and subalbums.
Previously, an album with subalbums, but without photos, was hiding
the download button.
2016-08-07 14:47:45 +02:00
Nils Asmussen
8181bd6ce6 Removed duplicated timeout for header.
Because of that, the timeout for going into fullscreen mode
has been changed from 500ms to 1s.
2016-08-06 15:19:55 +02:00
Nils Asmussen
ef9040870a Added basic subalbum support.
That is, albums can now contain other albums, which are shown at
the top of the album view. This required some changes to album.js
and the contextMenu.js, because this view contains now both
photos and albums.

The contextMenu on this view has been kept simple by requiring
the user to select either only albums or only photos, but not
a mixture of both.

This feature required a database change, so that the version
has been updated to 3.1.3.

At the moment, album and photo operations (make public, download,
delete, merge) are still "flat", i.e. don't respect the album
hierarchy.
2016-07-29 22:36:41 +02:00
Tobias Reich
20963ac463 Replaced lychee.goto('') with lychee.goto() 2016-03-06 18:19:27 +01:00
Tobias Reich
606968f349 Updated code style 2016-01-24 15:20:33 +01:00
Tobias Reich
51d237dcd2 Use <img> for the main photo #361 #185
- Let the browser decide which photo to load
- Removed photo.getSize
- Automacialy center photos, without adding extra css from small images
2016-01-05 11:58:03 +01:00
Tobias Reich
453c587129 HTML and CSS changes 2015-09-28 18:47:50 +02:00
Tobias Reich
2e96f089a7 Fixed tons of XSS issues and escaping problems 2015-09-05 23:02:58 +02:00
Tobias Reich
4d65819cd9 Removed old visible.message()-function 2015-07-12 14:47:55 +02:00
Tobias Reich
63b2a2412d Updated loadingBar.js (ES2015) 2015-07-11 14:52:38 +02:00
Tobias Reich
595e40549a Updated main.js (ES2015) 2015-07-11 14:47:56 +02:00
Tobias Reich
aca4fcf400 Only use touchend when really available and on mobile #345 2015-07-09 17:30:31 +02:00
Tobias Reich
9725eb707d Moved binding to multiselect.bind() and header.bind() 2015-03-15 21:29:54 +01:00
Tobias Reich
7410cf773e Return true/false in header functions 2015-03-15 00:39:45 +01:00
Tobias Reich
61cf46be1f Added loadingBar.dom, changed visible.header 2015-03-06 22:48:41 +01:00
Tobias Reich
b226f879b0 Streamlines type of password 2015-02-27 21:16:22 +01:00
Tobias Reich
dd2a57e5f8 Fixed editable state in public mode 2015-02-07 00:01:54 +01:00
Tobias Reich
0630554789 Updated copyright 2015-02-01 22:08:37 +01:00
Tobias Reich
522d31d33d Added new JS module: header 2015-01-04 22:27:34 +01:00