Commit Graph

451 Commits

Author SHA1 Message Date
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
Tobias Reich
aba1629f31 Syntax adjustments #488 2016-03-17 09:28:31 +01:00
Tobias Reich
144c9b7274 Merge pull request #488 from qligier/pr-extension
Rewrite of getExtension
2016-03-17 09:17:37 +01:00
Quentin Ligier
2be1fd2131 Add login logs 2016-03-16 20:20:21 +01:00
Quentin Ligier
e93564c3e0 Rewrite of getExtension 2016-03-16 17:07:22 +01:00
Bocquet Aldric
dffce28eb4 Fixed a bug preventing photos form being rotated 2016-03-16 15:22:18 +01:00
Quentin Ligier
f6926f1670 Replacing date by strftime
This allows date translation
2016-03-15 13:28:39 +01:00
Tobias Reich
6db83d45e2 Fixed incorrect escaping when using backslashes 2016-03-13 21:19:10 +01:00
Tobias Reich
8c050698dd Fixed search 2016-03-13 17:37:49 +01:00
Tobias Reich
976635254e Album id now based on the current microtime #27 2016-03-12 23:51:33 +01:00
Tobias Reich
9117402035 Return the correct insert_id when adding a new album 2016-03-06 21:01:51 +01:00
Tobias Reich
071d0c25ec Default photo title now "Untitled" 2016-03-06 16:50:56 +01:00
Tobias Reich
e8ebf13d09 Fixed incorrect Imagick namespace #471 2016-03-04 23:03:35 +01:00
Tobias Reich
bad7819ff6 Moved Album::getAll into a separated file 2016-02-14 14:49:51 +01:00
Tobias Reich
4c130211b1 Replaced return false in database updates with error messages 2016-02-14 14:26:05 +01:00
Tobias Reich
46f520e1fe Removed medium option
Lychee will automatically create medium-sized photos when the photo ist big enough and Imagick installed and activated. It's no longer possible to deactivate it.
2016-02-14 14:09:49 +01:00
Tobias Reich
72b4321c0c Always response with Response::() 2016-02-13 23:38:04 +01:00
Tobias Reich
a02ba0143f Improved error handling when album/photo not found 2016-02-13 23:37:25 +01:00
Tobias Reich
109880475a Photo add function only adds the first file in the array 2016-02-13 23:36:34 +01:00
Tobias Reich
3c45bbf4d1 Added phpDoc comments 2016-02-13 23:35:13 +01:00
Tobias Reich
fcb80c9f32 Run self::fnNotFound() when no match found in access class 2016-02-13 23:34:24 +01:00
Tobias Reich
36f43c3e27 Strict if condition 2016-02-13 23:33:39 +01:00
Tobias Reich
025f6e974b Added phpDoc comments 2016-02-13 22:43:07 +01:00
Tobias Reich
aa00ebc77b Removed unnecessary title trimming 2016-02-08 22:16:09 +01:00
Tobias Reich
66edea4d71 Added partial php documentation to the Config class 2016-02-08 22:12:03 +01:00
Tobias Reich
9a1e51c8bd Added partial php documentation to the Log class 2016-02-08 22:11:39 +01:00
Tobias Reich
e9accae2a7 Use Response in Access 2016-02-07 14:32:46 +01:00
Tobias Reich
f4e909895f Added Response class to handle exit() responses 2016-02-07 00:16:48 +01:00
Tobias Reich
be5bb7ee6e Removed unused Log::warning 2016-02-06 23:23:25 +01:00
Tobias Reich
8edb990213 Updated notice message 2016-02-06 23:23:10 +01:00
Tobias Reich
c4c2e9169e Removed thumb quality setting 2016-02-01 09:44:23 +01:00
Tobias Reich
7b86a737af Added Database::execute to run a query
Database::execute automatically logs errors
2016-01-31 18:49:31 +01:00
Tobias Reich
f650de8967 Removed newline at end of file 2016-01-31 15:53:44 +01:00
Tobias Reich
64e0d66d83 Improved if conditions 2016-01-31 15:44:54 +01:00
Tobias Reich
34839d3805 Added error handling to getGraphHeader 2016-01-31 13:55:23 +01:00