Commit Graph

485 Commits

Author SHA1 Message Date
Nils Asmussen
21b2f587d5 Detect accesses to admin functions by guests.
This commit detects accesses to admin functions when the user is a guest
and returns a corresponding error. This is now used to redirect the user
to the start page instead of "non-existing function". It has the
advantage that a bug in Lychee, that causes a non-existing function
to be called, can be spotted easier.
2016-08-20 11:50:24 +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
Quentin Ligier
399619c6e8 Corrections of Import::url 2016-03-19 10:21:29 +01:00
Tobias Reich
fbab70f244 Allow URL import of photos containing a question mark 2016-03-18 22:17:41 +01:00
Tobias Reich
f1d6baff6c Rebuild and code adjustments #490 2016-03-18 22:09:54 +01:00
Quentin Ligier
c50de5350f Spaces to tabs 2016-03-17 19:26:50 +01:00
Quentin Ligier
44c54c48f6 Modifications arround getExtension 2016-03-17 19:21:59 +01:00
Tobias Reich
ea3921b5d9 Code adjustment #488 2016-03-17 09:35:12 +01:00