Commit Graph

488 Commits (507f72deed520d81264ac6000c25bcc5224742a4)

Author SHA1 Message Date
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
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
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
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
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()
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
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
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
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
Tobias Reich eef971e3eb Catch upload errors #393
9 years ago
Tobias Reich f1ff8bf2b0 Import module now without static functions
9 years ago
Tobias Reich 035ca23c97 Added returnOnError functionality to Photo::add
9 years ago
Tobias Reich 1dece87434 Fixed: Only import urls passend to the function, not existing photos from the temp folder
9 years ago
Tobias Reich f925e118c2 Generate identifier when creating the database, not on update
9 years ago
Tobias Reich e36fd87f5a Added skipDuplicates to default settings table
9 years ago
Tobias Reich feefa9c5a0 Updated version, updated deps and added skip duplicates #367
9 years ago
Tobias Reich ffba49cc49 Escape before sending user input
9 years ago
Tobias Reich 275e653b1a Generate identifier even when db entry exists #344
10 years ago
Tobias Reich ed3418058e Use identifier to prevent login of multiple instances of lychee #344
10 years ago
Tobias Reich aedd378f98 Added identifier #344
10 years ago
Tobias Reich 6b4f3546f9 Updated default tables and changed sorting var/entry to sortingPhotos #98
10 years ago
Tobias Reich 90ac81acf1 Added album sorting #98
10 years ago
Tobias Reich e64e29f81f Several album and photo handling changes
10 years ago