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
Tobias Reich
0b5d605860
Removed unused function
2016-01-31 13:53:32 +01:00
Tobias Reich
207e98a81c
fnNotFound was not callable from extending class
2016-01-31 00:56:42 +01:00
Tobias Reich
026702114d
Missing parameter
2016-01-31 00:56:16 +01:00
Tobias Reich
84afba9548
Added missing Album and Photo class to search
2016-01-31 00:01:42 +01:00
Tobias Reich
b78cc31127
Fixed ZipArchive not found
2016-01-30 23:24:08 +01:00
Tobias Reich
e2eaa38b9c
Added missing argument
2016-01-30 23:23:58 +01:00
Tobias Reich
007cecc1d5
Fixed set login of initial username and password
2016-01-30 23:17:46 +01:00
Tobias Reich
e8387e8794
Fixed missing Database and Photo in getGraphHeader
2016-01-30 23:17:23 +01:00
Tobias Reich
4c3df96e9e
Removed unnecessary namespace
2016-01-30 23:16:59 +01:00
Tobias Reich
b89b82fa36
Fixed search
2016-01-30 23:16:42 +01:00
Tobias Reich
fe2c56422d
Fixed database updates
2016-01-30 23:07:59 +01:00
Tobias Reich
e89203bcb1
// for comments and spaces for alignment
2016-01-30 23:03:43 +01:00
Tobias Reich
b13283e4d4
Added Validator, removed Module, changed Access classes
2016-01-30 21:33:31 +01:00
Tobias Reich
ad4fbf3ffd
Code style adjustment
2016-01-30 20:22:28 +01:00
Tobias Reich
c904b8e2a5
Remove skipDuplicates from init response when logged out
2016-01-30 20:18:24 +01:00
Tobias Reich
3287e27ccd
Default param for Session init
2016-01-30 20:18:10 +01:00
Tobias Reich
cafcc2165f
Removed unnecessary self::dependencies checks
2016-01-30 01:06:21 +01:00
Tobias Reich
4974adfed0
Activate plugins directly without extending Module
2016-01-30 00:27:50 +01:00
Tobias Reich
61fcaa57c0
Added "use SplObserver"
2016-01-30 00:07:22 +01:00
Tobias Reich
6e7dccc037
Renamed folder to Modules
2016-01-26 15:34:51 +01:00
Tobias Reich
8c76d340a7
Renamed folder to Access
2016-01-26 15:33:59 +01:00
Tobias Reich
145c3f5147
Namespaces, Plugins via Namespaces, API entry file renamned, Settings::set()
2016-01-26 15:31:53 +01:00
Tobias Reich
dc35658ddc
Fixed name
2016-01-24 22:31:03 +01:00
Tobias Reich
412fbf47ee
exit() after using access-file
2016-01-24 22:30:57 +01:00
Tobias Reich
aeb62bba48
Moved misc file
2016-01-24 22:30:37 +01:00
Tobias Reich
2f70bfac41
Removed __clone
2016-01-24 22:17:47 +01:00
Tobias Reich
84c4a5b267
Removed version from sql files
2016-01-24 22:15:04 +01:00
Tobias Reich
17e5dba979
Singleton pattern for Settings::get(), Database::get() and Plugins::get()
...
What could properly go wrong? ¯\_(ツ)_/¯
2016-01-24 22:14:20 +01:00
Tobias Reich
0dffa5c765
Dropped update support for versions < 2.7
2016-01-24 18:38:26 +01:00
Tobias Reich
36b1b40325
Added 'final' to access classes
2016-01-24 17:10:54 +01:00
Tobias Reich
24c883a661
Use default value to define defineTablePrefix
2016-01-24 17:10:23 +01:00
Tobias Reich
9e52f93a59
Removed database updates for versions <= 2.5.0
2016-01-24 16:51:09 +01:00
Tobias Reich
70d7e1e6f2
API cleanup and code style changes
2016-01-19 16:09:57 +01:00
Tobias Reich
a5cab35e34
Added type hints
2016-01-19 16:08:50 +01:00
Tobias Reich
3d88300df1
Code style adjustment
2016-01-19 16:08:43 +01:00
Tobias Reich
7bce954c8d
Register autoloader functions as anonymous functions
...
Requires PHP 5.3
2016-01-19 15:03:50 +01:00
Tobias Reich
0a9b0d0078
Simplified autoloader
2016-01-19 14:58:08 +01:00
Tobias Reich
33e16041af
Removed $dbTablePrefix definition as defineTablePrefix() will do the same
2016-01-19 11:57:16 +01:00
Tobias Reich
1019b0fef1
Added 'public' to database connect function
2016-01-19 11:45:59 +01:00
Tobias Reich
9cb6dc19b7
Added abstract/final to classes to be more strict
2016-01-19 11:45:41 +01:00
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.
2016-01-19 11:06:54 +01:00
Tobias Reich
9e76acd9a8
PHP code style adjustments
2016-01-19 11:03:28 +01:00
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
2015-12-29 12:06:44 +01:00
Tobias Reich
6547229a3b
Added fallback sorting
2015-12-21 16:07:45 +01:00
Tobias Reich
f87701b1c0
Improved loading performance by combining multiple queries #372 #241
2015-12-21 15:09:05 +01:00
Tobias Reich
db4f3d65fb
User Album::prepareData to prepare an Album, even for single albums
2015-12-21 15:01:19 +01:00
Matthias Gutjahr
dca8b5555d
Set undefined vars, remove unused vars nad code that cannot be reached.
2015-12-07 22:44:42 +01:00
Peter Hoffmann
115188c2d0
You don't need to set config options each time, better set them once
2015-09-25 15:46:57 +02:00
Tobias Reich
2e96f089a7
Fixed tons of XSS issues and escaping problems
2015-09-05 23:02:58 +02:00
Tobias Reich
eef971e3eb
Catch upload errors #393
2015-08-29 21:55:32 +02:00
Tobias Reich
f1ff8bf2b0
Import module now without static functions
2015-06-29 09:45:03 +02:00
Tobias Reich
035ca23c97
Added returnOnError functionality to Photo::add
2015-06-28 23:09:41 +02:00
Tobias Reich
1dece87434
Fixed: Only import urls passend to the function, not existing photos from the temp folder
2015-06-28 18:58:17 +02:00
Tobias Reich
f925e118c2
Generate identifier when creating the database, not on update
...
This fixes the broken 'setLogin' when using Lychee for the first time.
2015-06-28 17:47:19 +02:00
Tobias Reich
e36fd87f5a
Added skipDuplicates to default settings table
2015-06-28 17:29:03 +02:00
Tobias Reich
feefa9c5a0
Updated version, updated deps and added skip duplicates #367
2015-06-27 21:03:27 +02:00
Tobias Reich
ffba49cc49
Escape before sending user input
2015-06-03 22:10:38 +02:00
Tobias Reich
275e653b1a
Generate identifier even when db entry exists #344
2015-05-14 21:34:25 +02:00
Tobias Reich
ed3418058e
Use identifier to prevent login of multiple instances of lychee #344
2015-05-14 21:07:42 +02:00
Tobias Reich
aedd378f98
Added identifier #344
2015-05-14 20:43:51 +02:00
Tobias Reich
6b4f3546f9
Updated default tables and changed sorting var/entry to sortingPhotos #98
2015-05-14 17:47:17 +02:00
Tobias Reich
90ac81acf1
Added album sorting #98
2015-05-14 17:20:33 +02:00
Tobias Reich
e64e29f81f
Several album and photo handling changes
...
- Stopped view.js from cutting album and photo titles (#332 )
- Fixed album sorting (getByID, deleteByID)
- Fixed jQuery each bug when opening empty album
- Stop showing deleted photos in photo switcher
2015-05-14 15:42:28 +02:00
Tobias Reich
7e885425dc
Allow an album and photo title length of 50 chars #332
2015-05-10 23:01:07 +02:00
Tobias Reich
41a7ec8cb0
Syntax error, unexpected '[' in php/modules/Album.php on line 691 #348
2015-05-09 10:16:49 +02:00
Tobias Reich
e67eca81ae
Code simplifications #340
2015-05-05 22:06:54 +02:00
Rouven Hurling
00b08fd22d
Fix PHP & SQL errors in Album::merge, run gulp
2015-05-05 19:29:10 +02:00
Rouven Hurling
c69fe33df3
add Album::merge via Multiselection ContextMenu
2015-05-05 12:18:27 +02:00