Tobias Reich
bff454ffc9
Removed unnecessary empty string
9 years ago
Tobias Reich
7a54476ff1
Always respond with JSON
9 years ago
Tobias Reich
f3d4ca06c8
Return import in correct format
9 years ago
Tobias Reich
bd0f23ed5c
Fixed create config function not stoping execution
9 years ago
Tobias Reich
152a887bc4
Updated comments due to id type changes #487
9 years ago
Tobias Reich
d212363ebf
Return photo ID when upload successful #487
9 years ago
Tobias Reich
c6d8b5f312
Fixed long albums/photos ids for 32bit PHP versions #487
9 years ago
Tobias Reich
2b7dcb6795
Finalized database update for version 3.1
9 years ago
Tobias Reich
082d306927
Small adjustments to #491
9 years ago
Tobias Reich
44a7d3046c
Merge pull request #491 from qligier/pr-log-login
...
Log connection attempts
9 years ago
Tobias Reich
e1056d1fc6
Removed unnecessary special case for question mark in extension #482
9 years ago
Quentin Ligier
399619c6e8
Corrections of Import::url
9 years ago
Tobias Reich
fbab70f244
Allow URL import of photos containing a question mark
9 years ago
Tobias Reich
f1d6baff6c
Rebuild and code adjustments #490
9 years ago
Quentin Ligier
c50de5350f
Spaces to tabs
9 years ago
Quentin Ligier
44c54c48f6
Modifications arround getExtension
9 years ago
Tobias Reich
ea3921b5d9
Code adjustment #488
9 years ago
Tobias Reich
aba1629f31
Syntax adjustments #488
9 years ago
Tobias Reich
144c9b7274
Merge pull request #488 from qligier/pr-extension
...
Rewrite of getExtension
9 years ago
Quentin Ligier
2be1fd2131
Add login logs
9 years ago
Quentin Ligier
e93564c3e0
Rewrite of getExtension
9 years ago
Bocquet Aldric
dffce28eb4
Fixed a bug preventing photos form being rotated
9 years ago
Quentin Ligier
f6926f1670
Replacing date by strftime
...
This allows date translation
9 years ago
Tobias Reich
6db83d45e2
Fixed incorrect escaping when using backslashes
9 years ago
Tobias Reich
8c050698dd
Fixed search
9 years ago
Tobias Reich
976635254e
Album id now based on the current microtime #27
9 years ago
Tobias Reich
9117402035
Return the correct insert_id when adding a new album
9 years ago
Tobias Reich
071d0c25ec
Default photo title now "Untitled"
9 years ago
Tobias Reich
e8ebf13d09
Fixed incorrect Imagick namespace #471
9 years ago
Tobias Reich
bad7819ff6
Moved Album::getAll into a separated file
9 years ago
Tobias Reich
4c130211b1
Replaced return false in database updates with error messages
9 years ago
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.
9 years ago
Tobias Reich
72b4321c0c
Always response with Response::()
9 years ago
Tobias Reich
a02ba0143f
Improved error handling when album/photo not found
9 years ago
Tobias Reich
109880475a
Photo add function only adds the first file in the array
9 years ago
Tobias Reich
3c45bbf4d1
Added phpDoc comments
9 years ago
Tobias Reich
fcb80c9f32
Run self::fnNotFound() when no match found in access class
9 years ago
Tobias Reich
36f43c3e27
Strict if condition
9 years ago
Tobias Reich
025f6e974b
Added phpDoc comments
9 years ago
Tobias Reich
aa00ebc77b
Removed unnecessary title trimming
9 years ago
Tobias Reich
66edea4d71
Added partial php documentation to the Config class
9 years ago
Tobias Reich
9a1e51c8bd
Added partial php documentation to the Log class
9 years ago
Tobias Reich
e9accae2a7
Use Response in Access
9 years ago
Tobias Reich
f4e909895f
Added Response class to handle exit() responses
9 years ago
Tobias Reich
be5bb7ee6e
Removed unused Log::warning
9 years ago
Tobias Reich
8edb990213
Updated notice message
9 years ago
Tobias Reich
c4c2e9169e
Removed thumb quality setting
9 years ago
Tobias Reich
7b86a737af
Added Database::execute to run a query
...
Database::execute automatically logs errors
9 years ago
Tobias Reich
f650de8967
Removed newline at end of file
9 years ago
Tobias Reich
64e0d66d83
Improved if conditions
9 years ago
Tobias Reich
34839d3805
Added error handling to getGraphHeader
9 years ago
Tobias Reich
0b5d605860
Removed unused function
9 years ago
Tobias Reich
207e98a81c
fnNotFound was not callable from extending class
9 years ago
Tobias Reich
026702114d
Missing parameter
9 years ago
Tobias Reich
84afba9548
Added missing Album and Photo class to search
9 years ago
Tobias Reich
b78cc31127
Fixed ZipArchive not found
9 years ago
Tobias Reich
e2eaa38b9c
Added missing argument
9 years ago
Tobias Reich
007cecc1d5
Fixed set login of initial username and password
9 years ago
Tobias Reich
e8387e8794
Fixed missing Database and Photo in getGraphHeader
9 years ago
Tobias Reich
4c3df96e9e
Removed unnecessary namespace
9 years ago
Tobias Reich
b89b82fa36
Fixed search
9 years ago
Tobias Reich
fe2c56422d
Fixed database updates
9 years ago
Tobias Reich
e89203bcb1
// for comments and spaces for alignment
9 years ago
Tobias Reich
b13283e4d4
Added Validator, removed Module, changed Access classes
9 years ago
Tobias Reich
ad4fbf3ffd
Code style adjustment
9 years ago
Tobias Reich
c904b8e2a5
Remove skipDuplicates from init response when logged out
9 years ago
Tobias Reich
3287e27ccd
Default param for Session init
9 years ago
Tobias Reich
cafcc2165f
Removed unnecessary self::dependencies checks
9 years ago
Tobias Reich
4974adfed0
Activate plugins directly without extending Module
9 years ago
Tobias Reich
61fcaa57c0
Added "use SplObserver"
9 years ago
Tobias Reich
6e7dccc037
Renamed folder to Modules
9 years ago
Tobias Reich
8c76d340a7
Renamed folder to Access
9 years ago
Tobias Reich
145c3f5147
Namespaces, Plugins via Namespaces, API entry file renamned, Settings::set()
9 years ago
Tobias Reich
dc35658ddc
Fixed name
9 years ago
Tobias Reich
412fbf47ee
exit() after using access-file
9 years ago
Tobias Reich
aeb62bba48
Moved misc file
9 years ago
Tobias Reich
2f70bfac41
Removed __clone
9 years ago
Tobias Reich
84c4a5b267
Removed version from sql files
9 years ago
Tobias Reich
17e5dba979
Singleton pattern for Settings::get(), Database::get() and Plugins::get()
...
What could properly go wrong? ¯\_(ツ)_/¯
9 years ago
Tobias Reich
0dffa5c765
Dropped update support for versions < 2.7
9 years ago
Tobias Reich
36b1b40325
Added 'final' to access classes
9 years ago
Tobias Reich
24c883a661
Use default value to define defineTablePrefix
9 years ago
Tobias Reich
9e52f93a59
Removed database updates for versions <= 2.5.0
9 years ago
Tobias Reich
70d7e1e6f2
API cleanup and code style changes
9 years ago
Tobias Reich
a5cab35e34
Added type hints
9 years ago
Tobias Reich
3d88300df1
Code style adjustment
9 years ago
Tobias Reich
7bce954c8d
Register autoloader functions as anonymous functions
...
Requires PHP 5.3
9 years ago
Tobias Reich
0a9b0d0078
Simplified autoloader
9 years ago
Tobias Reich
33e16041af
Removed $dbTablePrefix definition as defineTablePrefix() will do the same
9 years ago
Tobias Reich
1019b0fef1
Added 'public' to database connect function
9 years ago
Tobias Reich
9cb6dc19b7
Added abstract/final to classes to be more strict
9 years ago
Tobias Reich
634c3621db
Update database connect function and update mechanism
...
Database::connect now takes care of the update-mechanism and uses the current database version instead of the version from the client.
9 years ago
Tobias Reich
9e76acd9a8
PHP code style adjustments
9 years ago
Tobias Reich
312db57f71
Reverted query optimization as I failed to fix the incorrect sorting cased by this
...
http://stackoverflow.com/questions/34399798/similar-mysql-queries-returning-with-different-sorting
9 years ago
Tobias Reich
6547229a3b
Added fallback sorting
9 years ago
Tobias Reich
f87701b1c0
Improved loading performance by combining multiple queries #372 #241
9 years ago
Tobias Reich
db4f3d65fb
User Album::prepareData to prepare an Album, even for single albums
9 years ago
Matthias Gutjahr
dca8b5555d
Set undefined vars, remove unused vars nad code that cannot be reached.
9 years ago
Peter Hoffmann
115188c2d0
You don't need to set config options each time, better set them once
9 years ago
Tobias Reich
2e96f089a7
Fixed tons of XSS issues and escaping problems
9 years ago