Tobias Reich
1020b0d1dc
Merge branch 'subalbums' of https://github.com/hrniels/Lychee into feature/subalbums
2016-07-31 15:26:34 +02:00
Nils Asmussen
daf7d37c84
Prevent album merge errors on client-side.
...
Previously, we allowed that and reported an error in this case. Now,
the user can no longer select a parent album for merging it into a
subalbum. It is still checked on the server, though.
2016-07-30 12:04:07 +02:00
Nils Asmussen
6feae99bf1
Include subalbums in setPublic.
...
That means, when making an album public or private, all subalbums
are made public/private as well. This can be changed afterwards
by performing the opposite operation for a subalbum.
I think this is the better default, since most people probably
won't have public albums with private subalbums.
2016-07-29 22:36:41 +02:00
Nils Asmussen
1b6c74bcb6
Merge albums including subalbums.
2016-07-29 22:36:41 +02:00
Nils Asmussen
eddb666b5a
Delete albums including subalbums.
2016-07-29 22:36:41 +02:00
Nils Asmussen
212b241d0e
Include subalbums in album archives.
2016-07-29 22:36:41 +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
1b8dd24fe1
Prefetch the medium photo instead of the big one #446
2016-07-02 14:53:25 +02:00
Tobias Reich
659a570b2e
Save database update version for 3.1.2
2016-06-12 17:44:33 +02:00
Tobias Reich
1adc2dec00
Fixed GD thumb quality using wrong variable
2016-06-12 17:06:25 +02:00
Tobias Reich
a38a5ded4d
Use bigint(14) for album if in photo table #533
2016-06-11 17:12:59 +02:00
Tobias Reich
5c4f3413b1
Updated default tables to reflect changes made in #533
2016-06-11 17:12:42 +02:00
Tobias Reich
9bfa149d29
EXIF orientation rotation code adjustments #556
2016-06-11 15:55:05 +02:00
Tobias Reich
55628f1f56
Remove metadata from medium-photos and thumbs + Reduce quality of medium-photos #556
2016-06-11 15:54:41 +02:00
Tobias Reich
57acac71da
Renamed thumb quality variable
2016-06-11 15:53:13 +02:00
Tobias Reich
c6cb750363
Removed comment that somehow destroyed the whole syntax highlighting in Atom
2016-06-05 15:53:00 +02:00
Tobias Reich
a9cfa87fd2
Improved orientation-handling with Imagick #556
2016-06-05 15:47:41 +02:00
Tobias Reich
70cd7f8a47
Protocol-relative URLs for open graph #546
2016-06-01 21:42:01 +02:00
Tobias Reich
2ce58d2821
Fixed error when executing update script multiple times #533
2016-05-02 20:44:41 +02:00
Tobias Reich
a5c47cf022
Use array() instead of shorthand as done in the other scripts
2016-05-02 20:04:41 +02:00
Tobias Reich
c52e93b7ac
Small syntax adjustment to #533
2016-05-02 19:51:29 +02:00
Tobias Reich
895825ada0
Added #533 to the list of update scripts
2016-05-02 19:51:21 +02:00
Quentin Ligier
73a00aafaa
SQL structure changes
...
See #531
2016-04-27 10:10:44 +02:00
Tobias Reich
d94960d996
Made connect_error a private function #530
2016-04-24 16:24:48 +02:00
Felix Eckhofer
aa0209afef
Fix error 500 on database connect error
...
If `$connection===false` it obviously has no properties.
2016-04-24 16:19:09 +02:00
Quentin Ligier
84985f73a3
Fix for bad EXIF data read errors
2016-04-18 10:49:31 +02:00
Tobias Reich
9e59062384
Syntax adjustments #518
2016-04-18 09:40:52 +02:00
Tobias Reich
b9a7bd1056
Merge pull request #518 from qligier/pr-exif2
...
Better EXIF extraction
2016-04-18 09:32:31 +02:00
Quentin Ligier
8b25259ed4
Correction of Focal data extraction
2016-04-17 22:32:57 +02:00
Quentin Ligier
0e6c9e9810
Correction of function name
2016-04-17 22:24:12 +02:00
Quentin Ligier
7841cad8f2
Small corrections
...
IPTC data are in the first element of array.
GPS coordinate helper added to required files.
2016-04-17 22:23:05 +02:00
Quentin Ligier
ea7bfa606e
Small corrections in EXIF
2016-04-17 22:11:08 +02:00
Quentin Ligier
e2509b1657
Import GPS coordinates from EXIF
2016-04-17 21:59:50 +02:00
Quentin Ligier
20e22d2777
Correction of photo tag formatting
2016-04-17 21:45:51 +02:00
Quentin Ligier
9d8f9356f2
Import photo tags
2016-04-17 21:36:58 +02:00
Quentin Ligier
69fc864471
Correction of comment
2016-04-17 21:09:20 +02:00
Quentin Ligier
00ca1e02d3
Modification of EXIF extraction
2016-04-17 21:06:25 +02:00
Tobias Reich
9198b4ec2f
Fixed dbTablePrefix starting with an underscore when using an old Lychee installation
2016-03-29 15:37:56 +02:00
Tobias Reich
502f01ae6c
Suppress error messages of failed database connects and config save attempts
2016-03-24 22:09:21 +01:00
Tobias Reich
bff454ffc9
Removed unnecessary empty string
2016-03-24 21:51:34 +01:00
Tobias Reich
7a54476ff1
Always respond with JSON
2016-03-24 21:41:41 +01:00
Tobias Reich
f3d4ca06c8
Return import in correct format
2016-03-24 21:29:09 +01:00
Tobias Reich
bd0f23ed5c
Fixed create config function not stoping execution
2016-03-24 20:10:18 +01:00
Tobias Reich
152a887bc4
Updated comments due to id type changes #487
2016-03-24 18:41:33 +01:00
Tobias Reich
d212363ebf
Return photo ID when upload successful #487
2016-03-24 18:40:58 +01:00
Tobias Reich
c6d8b5f312
Fixed long albums/photos ids for 32bit PHP versions #487
2016-03-24 18:23:19 +01:00
Tobias Reich
2b7dcb6795
Finalized database update for version 3.1
2016-03-24 17:43:14 +01:00
Tobias Reich
082d306927
Small adjustments to #491
2016-03-19 16:16:41 +01:00
Tobias Reich
44a7d3046c
Merge pull request #491 from qligier/pr-log-login
...
Log connection attempts
2016-03-19 16:06:38 +01:00
Tobias Reich
e1056d1fc6
Removed unnecessary special case for question mark in extension #482
2016-03-19 15:46:07 +01:00