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
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
...
This fixes the broken 'setLogin' when using Lychee for the first time.
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
9 years ago
Tobias Reich
ed3418058e
Use identifier to prevent login of multiple instances of lychee #344
9 years ago
Tobias Reich
aedd378f98
Added identifier #344
9 years ago
Tobias Reich
6b4f3546f9
Updated default tables and changed sorting var/entry to sortingPhotos #98
9 years ago
Tobias Reich
90ac81acf1
Added album sorting #98
9 years ago
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
9 years ago
Tobias Reich
7e885425dc
Allow an album and photo title length of 50 chars #332
9 years ago
Tobias Reich
41a7ec8cb0
Syntax error, unexpected '[' in php/modules/Album.php on line 691 #348
9 years ago
Tobias Reich
e67eca81ae
Code simplifications #340
9 years ago
Rouven Hurling
00b08fd22d
Fix PHP & SQL errors in Album::merge, run gulp
9 years ago
Rouven Hurling
c69fe33df3
add Album::merge via Multiselection ContextMenu
9 years ago
Tobias Reich
88ef1e49b7
Merge branch 'master' into release/v3.0.0
...
# Conflicts:
# dist/main.css
# dist/main.js
# dist/view.js
# src/package.json
# src/scripts/lychee.js
9 years ago
Tobias Reich
2821383243
Fixed incorrect var type from server
9 years ago
Tobias Reich
0945cddab4
Stop init from returning username
9 years ago