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
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
Tobias Reich
2167b04d34
Block import of invalid photo types and extensions
9 years ago
Tobias Reich
585bbb72ea
Stop view.php from returning data of private photos
9 years ago
Tobias Reich
6303adc679
Fixed an error when photo not found
9 years ago
Tobias Reich
4177219f67
Added code documentation
9 years ago
Tobias Reich
e89676d6ee
Prevent download of deleted albums/photos, added code documentation, fixed error when logged out and opening a private photo
9 years ago
Tobias Reich
9278182b10
Updated copyright year
9 years ago
Tobias Reich
c9f5d112d4
Use Album::prepareData in search
9 years ago
Tobias Reich
ea149b68af
Added Album::prepareData and improved thumbs response from API
9 years ago
Tobias Reich
e8cc2e9192
Streamlined prepare process of photo data
9 years ago
Tobias Reich
d01e894220
Simplified response of session init
9 years ago
Tobias Reich
cfe99df0da
Adjusted indention
9 years ago
Tobias Reich
87537eba2d
Feature: Edit sharing properties of album
9 years ago
Tobias Reich
4d16696c52
Don't show thumbs of protected albums when logged out
9 years ago
Tobias Reich
1490dcbe9e
Removed md5 from search, renamed code var to hash
9 years ago
Tobias Reich
b226f879b0
Streamlines type of password
9 years ago
Tobias Reich
67dce773e6
Updated Album::getAll
9 years ago
Tobias Reich
083e0962e2
Merge branch 'master' into v3.0.0
9 years ago
Michael Procter
6d25151c78
Add comment as to why conventional plugin triggers not used.
9 years ago
Michael Procter
6bb1859faf
Remove 'unlink' - potentially confusing.
9 years ago
Michael Procter
e17cfe79a3
Remove imported photos as promised by warning screen
9 years ago
Michael Procter
b34374fcdb
Add plugin trigger for before and after server import
9 years ago
Tobias Reich
810338f13a
Syntax adjustments
10 years ago
Tobias Reich
cca2b09d08
Fixed incorrect version in comment
10 years ago
Tobias Reich
3f4bfe253d
Removed useless md5 hashing in front-end and added username hashing in back-end
10 years ago
Tobias Reich
0c97151f4f
Added direct access protection to database updates
10 years ago
Tobias Reich
5678de1000
New naming for all API calls
10 years ago