Tobias Reich
a00928f9de
Merge branch 'master' into v2.6.3
10 years ago
Powen Tan
c17cb25960
Fix the issue that search function will return all photos
10 years ago
Tobias Reich
5b865de5a6
Updated version
10 years ago
Tobias Reich
582a8a3f93
Small code adjustments #232
10 years ago
Roman
4ce4048584
Minor tweaks and corrections based on Tobias's comments
10 years ago
Roman
7026ea8603
Merged with the latest pull from the origin
10 years ago
Roman
fa8cad02bb
Changed spaces to tabs for indentation
10 years ago
Roman
f886793742
Added proper unicode support for values read from mysql
10 years ago
Roman
e9544e8f8f
* Improved performance by caching:
...
- The albums view is stored in memory when changing from the albums to the individual album/photo view.
- When viewing photos, the next picture in the current album is preloaded.
* Default sort order of albums is changed from new to old.
* Fixed scroll position when changing from albums to album and vice versa
10 years ago
Tobias Reich
85c18290e6
Fixed a bug with Database::prepare and ? in user input ( #38 #214 #196 )
10 years ago
Tobias Reich
b0a4089dc0
Fixed photo download
10 years ago
Tobias Reich
b1607a0ed3
Fixed a notice error for old Lychee users
10 years ago
Tobias Reich
e20ba354da
Database::setVersion to update the database version
10 years ago
Tobias Reich
5d9e41d2ae
Escape photo download title
10 years ago
Tobias Reich
4a0750e34f
Merge branch 'v2.6.2' of https://github.com/electerious/Lychee into v2.6.2
10 years ago
Tobias Reich
bcdc75b5dc
Fixed _ table prefix when no table prefix set ( #196 )
10 years ago
cternes
13dea68c88
Replaced new array syntax with old one to support older php versions
10 years ago
Tobias Reich
0296b313ee
Added option to disable imagick ( #211 )
10 years ago
Tobias Reich
a5722a79c6
Converted database updates to prepared statements ( #38 #214 #196 )
10 years ago
Tobias Reich
9f11875e39
Create tables with prefix ( #38 #214 #196 )
10 years ago
Tobias Reich
af37f5c138
Define prefix after config-file has been loaded ( #38 #214 #196 )
10 years ago
Tobias Reich
bef84572fb
Converted Settings to prepared statements ( #38 #214 #196 )
10 years ago
Tobias Reich
e92635b44b
Converted Log to prepared statements ( #38 #214 #196 )
10 years ago
Tobias Reich
1be2789023
Converted misc to prepared statements ( #38 #214 #196 )
10 years ago
Tobias Reich
606334fb62
Converted Photo.php to prepared statements ( #38 #214 #196 )
10 years ago
Tobias Reich
8b76fadf6d
Escape data before writing to config.php ( #38 )
10 years ago
Tobias Reich
32af951c77
Added table prefix to create dialog ( #214 #196 )
10 years ago
Tobias Reich
52b530f85e
Unified statements
10 years ago
Tobias Reich
01d367beb9
Prepare statments ( #38 #214 #196 )
10 years ago
Tobias Reich
75e63a9e3a
Added database prepare ( #38 #214 #196 )
10 years ago
Tobias Reich
4697698b03
Define tables global ( #214 #196 )
10 years ago
Tobias Reich
fb4e1dc73c
Code adjustments
10 years ago
Tobias Reich
cd7196ef4a
Improved diagnostics
10 years ago
Tobias Reich
8b4ef96146
Added update for database for version 2.6.2
10 years ago
Tobias Reich
864e5b97d0
Changed some function to public
10 years ago
Tobias Reich
f302f65cd7
Use IPTC Title when Headline not available ( #216 )
10 years ago
Tobias Reich
0387581005
Fixed a problem with htmlentities and older PHP versions ( #212 )
10 years ago
Tobias Reich
61ae1b3dc3
Internal feature to add tags when uploading
10 years ago
Tobias Reich
e6d9261d18
Return prefix thumbUrl
10 years ago
Tobias Reich
d686a2b083
Duplicate photos by right-clicking them ( #186 )
10 years ago
Tobias Reich
45cbf0c238
Escape
10 years ago
Tobias Reich
988a9075f3
Don't delete photo when used elsewhere
10 years ago
Tobias Reich
47e3219966
Use fetch_object
10 years ago
Tobias Reich
11e8b8b2e6
Moved check for duplicates into its own function
10 years ago
Tobias Reich
e942c9c525
Don't reupload duplicates ( #48 )
10 years ago
Tobias Reich
a613ee58c7
Default ist downloadable
10 years ago
Tobias Reich
8d587a0ea0
Disable download php-side
10 years ago
Tobias Reich
b23360d6ce
Added `downloadable` to database and backend
10 years ago
Tobias Reich
e332b0b167
Merge branch 'master' into uploader
10 years ago
Tobias Reich
1d57a13267
Fixed "Setup tries to create database lychee_dbcheck #202"
10 years ago
Tobias Reich
c482ebdd74
Merge branch 'master' into uploader
...
Conflicts:
assets/min/main.js
assets/min/view.js
10 years ago
Tobias Reich
28f8aab323
Fixed "No way to back out during database creation #195"
10 years ago
Tobias Reich
cece57977f
Merge branch 'master' into uploader
...
Conflicts:
php/modules/Session.php
10 years ago
Tobias Reich
c4798ce16f
Do not return list of plugins when logged out
10 years ago
Tobias Reich
554e7cba6b
Execlute big/ and thumb/ from import
10 years ago
Tobias Reich
d991eef2c9
User can set the import-path #187
10 years ago
Tobias Reich
6c142f8570
Check if given import-path is a dir
10 years ago
Tobias Reich
653511e6c6
Server returns location of lychee
...
Used for the new server-import dialog
10 years ago
Tobias Reich
864b317e4c
Changed message of warning
10 years ago
Tobias Reich
fde153d004
Removed "Set Password" menu after sharing without password
10 years ago
Tobias Reich
cf9ad486f0
New sharing dialog
...
Choose if album should be listed public or not #177
10 years ago
Tobias Reich
936c2d0344
Calculate checksum before adding it to the database
10 years ago
Tobias Reich
05637e42d8
sha1 instead of md5 #179
10 years ago
Tobias Reich
7b2414695c
Fixed wrong version in error log
10 years ago
Tobias Reich
55b900686c
Fixed wrong date in album view when takestamp is null
10 years ago
Tobias Reich
3e523c6e0f
Fixed wrong link to thumb when searching
10 years ago
Tobias Reich
a7e01447d9
Fixed wrong indention
10 years ago
Tobias Reich
911e168b6f
Less parsing of photos/albums on client-side
10 years ago
Tobias Reich
4f272c4ba4
Merge branch 'recent'
...
Conflicts:
assets/min/main.js
10 years ago
Tobias Reich
c064c1c0e4
Version push and add checksum for existing users #179
10 years ago
pyro2927
ba852f8a03
Adding in photo checksum to detect dupes
10 years ago
Tobias Reich
ce373c26d5
Added new SmartAlbum which shows all recent uploads
10 years ago
Tobias Reich
8e8fd91497
Fixed a bug with smart albums
10 years ago
Tobias Reich
386a0c2b8e
Show takedate in photo-overlay when available
10 years ago
Rene Luria
a5288f96b8
loosen perms for fpm
10 years ago
Tobias Reich
33446c30e8
Fixed a static warning ( #172 )
10 years ago
Tobias Reich
1ecc81c18f
Fixed a bug with problematic chars in album names when trying to download them
10 years ago
Tobias Reich
a3828e72ae
Fixed import of filename
10 years ago
Tobias Reich
65094ccad5
Fixed album download with double dot in filename
10 years ago
Tobias Reich
1dce04fa92
Fixed an error when trying to logout in two tabs
10 years ago
Tobias Reich
891d222a33
Added Log to update_020100
10 years ago
Tobias Reich
041c9e7a7a
Added Log to update_020101
10 years ago
Tobias Reich
b82c83d612
Added Log to update_020200
10 years ago
Tobias Reich
308d373cbe
Added Log to update_020500
10 years ago
Tobias Reich
a1b2d0a746
Don't stop upload when adjustFile returns false
10 years ago
Tobias Reich
a8d792dcf1
Improved if condition
10 years ago
Tobias Reich
1d7d852ddd
Changed error to notice
10 years ago
Tobias Reich
b4226d7bdd
Added Log to Session
10 years ago
Tobias Reich
4e52b1e545
Added Log to Settings
10 years ago
Tobias Reich
226296e3a8
Added Log to Database
10 years ago
Tobias Reich
ba778998dd
Fixed a PHP syntax error with arrays ( #160 )
11 years ago
Tobias Reich
404b519747
getExtension() helper
11 years ago
Tobias Reich
69aa61cade
Fixed photo download
11 years ago
Tobias Reich
8cf7ad5480
Hide password-protected albums
11 years ago
Tobias Reich
02740d840a
Prevent unsupported files from being moved ( #151 )
11 years ago
Tobias Reich
1cef3c29c4
Merge pull request #156 from djdallmann/v2.5
...
Added support for filenames with spaces by using escapeshellarg() to eva...
11 years ago
Tobias Reich
830e2362d3
Catch error when calling Import::move
11 years ago
Tobias Reich
7e6fd3ccc7
Improved plugin loading
11 years ago
djdallmann
b2658d7e01
Added support for filenames with spaces by using escapeshellarg() to evaluate and treat string as literal.
11 years ago
Tobias Reich
9db3d31cc0
Added permission check to upload
11 years ago
Tobias Reich
edca6c088a
Added function to check permissions
11 years ago
Tobias Reich
5689278908
Added logging for subfolders
11 years ago
Tobias Reich
0dc54c44e0
Added logging for folder deletion
11 years ago
Tobias Reich
08fe04c241
Added Import:move from Import:server and disabled moveToTemp by default ( #151 )
11 years ago
Tobias Reich
0167507604
Code adjustments and improvemts for #151
11 years ago
Tobias Reich
83a7aa196c
Fixed logging
11 years ago
Tobias Reich
d31f0831d4
Merge pull request #151 from djdallmann/v2.5
...
Added feature to move files before processing in Import.php for server
11 years ago
djdallmann
b321e2d970
Updated to include better error handling and to use the new error class.
11 years ago
Tobias Reich
326238d46a
Fixed TEXT column can't have a default value ( #154 )
11 years ago
Tobias Reich
775673cf18
Added loggint to Photo
11 years ago
Tobias Reich
39131033db
Added notice and warning function to Log ( #143 )
11 years ago
Tobias Reich
d9b48f4080
Added more error logging to Album class ( #143 )
11 years ago
Tobias Reich
83188ae9d9
Added error logging to Album class ( #143 )
11 years ago
Tobias Reich
f479511454
Added basic Log class ( #143 )
11 years ago
Tobias Reich
61a868980e
Improved sorting by takestamp and reset for older version ( #152 )
11 years ago
Tobias Reich
fc97167e1b
Fixed sorting by takedate ( #152 )
11 years ago
Tobias Reich
3cd37cba2d
Changed a comment
11 years ago
Tobias Reich
b7764dcd7f
Renamed to Installation
11 years ago
Tobias Reich
aaca8b42c0
Rewritten Installation Access
11 years ago
Tobias Reich
091381a2a3
Added return false
11 years ago
Tobias Reich
32368d4ba4
Renamed to Guest
11 years ago
Tobias Reich
fbe7be18c1
Rewritten Guest Access
11 years ago
Tobias Reich
b246a9d1c2
Added return
11 years ago
Tobias Reich
d87029c2d3
Added uploads/medium/ for later versions
11 years ago
Tobias Reich
33c8eb6780
Moved Access
11 years ago
Tobias Reich
119d674002
Added fastimagecopyresampled
11 years ago
Tobias Reich
b55589eea3
Autoloader improvements
11 years ago
Tobias Reich
8f77bce210
Rename to Admin
11 years ago
Tobias Reich
6fe97135a1
Use new Admin Access
11 years ago
Tobias Reich
43ff1d06f4
Rewritten Access for Admin
11 years ago
Tobias Reich
d2bfaa29a0
Improved file ending
11 years ago
Tobias Reich
d5e94627e2
Comment adjustments
11 years ago
Tobias Reich
0b87e8fe93
Syntax adjustments
11 years ago
Tobias Reich
5d7328613d
Continue url-import even when an error occurs
11 years ago
Tobias Reich
d0368ea651
Use exif_imagetype in Import
11 years ago
Tobias Reich
e3b1a6f477
Added spaces
11 years ago
Tobias Reich
24de0b994d
Fix url/filenames names include extra period for filename extension ( #141 )
11 years ago
Tobias Reich
bb1699402c
Return error when called function misses parameters
11 years ago
Tobias Reich
60d298db6d
Fixed incorrect integer value ( #140 )
11 years ago
Tobias Reich
b307e8b7ca
Fixed data too long for column make ( #137 )
11 years ago
Tobias Reich
8e711cde87
Trim on exif model and make ( #136 )
11 years ago
Tobias Reich
543381a24d
Verify image with exif_imagetype ( #133 )
11 years ago
Tobias Reich
6a3c0c72eb
Added LYCHEE_UPLOADS
11 years ago
Tobias Reich
e600f3b774
Merge pull request #129 from bb-Ricardo/v2.5
...
Add fallback options when generating salt #114
11 years ago
Ricardo Bartels
e8bf0c95e8
Add fallback options when generating salt #114
...
when generating salt we try openssl first, then mcrypt
and as last resort mt_rand
Refs: #114
11 years ago
Tobias Reich
ed79ddce47
Small code cleanup
11 years ago
Ricardo Bartels
c110f3fb28
[Feature] don't hash passwords with MD5 in DB #114
...
All newly set and resetted passwords will now be stored as
blowfish hashed string generated via crypt().
Refs: #114
11 years ago
Tobias Reich
1e18094f8f
Improved error handling by checking the dependencies (e.g. vars and parameters)
11 years ago
Tobias Reich
368f6b59d0
Removed global vars from search
11 years ago
Tobias Reich
db64df8820
Memory optimization
11 years ago
Tobias Reich
fbf8309e44
Improved error handling for table creation
11 years ago
Tobias Reich
7e2936325f
Added $settings var for plugins
11 years ago
Tobias Reich
92d894783e
Improved parsing of tags
11 years ago
Tobias Reich
25eb998c12
Added global LYCHEE_PLUGINS
11 years ago
Tobias Reich
009d08f090
Added define check to Plugins
11 years ago
Tobias Reich
d382b62f57
Define dirs and files global ( #122 )
11 years ago
Tobias Reich
4761f178d4
Fixed broken installation
11 years ago
Tobias Reich
6c3d16e9b1
Fixed wrong capture date in InfoBox
11 years ago
Tobias Reich
5d7ff21c50
Set original date with 'touch'
11 years ago
Tobias Reich
6530902d13
Improved getArchive with file names ( #111 )
11 years ago
Tobias Reich
17b6475b6c
Small code improvements to getArchive
11 years ago
Tobias Reich
1fdc495f91
Set original date for uploaded file
11 years ago
Tobias Reich
eccdcf5ead
Fixed Import (some links are still nit working)
11 years ago
Tobias Reich
c9e7954446
Improved deleting of photos
11 years ago
Tobias Reich
25a7e835dd
Own function for "Set orientation based on EXIF data" > adjustFile
11 years ago
Tobias Reich
adf1dee2ea
Comment changes
11 years ago
Tobias Reich
3e88ff4d68
spl_autoload_register instead of __autoload
11 years ago
Tobias Reich
f60cb3a946
Remove `import_name` on update
11 years ago
Tobias Reich
d38ef3b4c3
Updated tables
11 years ago
Tobias Reich
cf9dc0ec2f
Moved upload and more to Photo
11 years ago
Tobias Reich
1c44616b06
Improved update to v2.5
...
- Removed `sysdate` and `systime`(#115 )
- Add `plugins`
- Convert to utf-8 (#111 )
11 years ago
Tobias Reich
316c1039fb
Fixed get Photo ( #115 )
11 years ago
Tobias Reich
8c5ccf640b
Code adjustment
11 years ago
Tobias Reich
b62d8b24fa
Added timestamp to albums
11 years ago
Tobias Reich
e7578d8d23
Fixed upload after v2.5 database update
11 years ago
Tobias Reich
2a18188592
Merge branch 'v2.5' of https://github.com/electerious/Lychee into v2.5
11 years ago
Ricardo Bartels
e0d0cfcc0e
fix check for imagick #107
...
class_exists() triggerd __autoload and __autoload failed because Imagick.php
doesn't exists. Change function to "extension_loaded()"
Refs: #107
11 years ago
Tobias Reich
54959803e7
Code adjustments
11 years ago
Tobias Reich
fe6d05425b
Added update script to v2.5 + version push ( #115 )
11 years ago
Tobias Reich
893641d3df
Merged #107 . Not working correctly without Imagemagick!
11 years ago
Tobias Reich
400f73f5d5
Added __DIR__ to Plugins.php
11 years ago
Tobias Reich
8e818f84d5
Added __DIR__ to Photo.php
11 years ago
Tobias Reich
2e82ae64fd
Added __DIR__ to Album.php
11 years ago
Tobias Reich
650b496ebc
Added __DIR__ to Database.php
11 years ago
Tobias Reich
43cbea45e1
Added __DIR__ to autoload.php
11 years ago
Tobias Reich
b727211f47
Added __DIR__ to api.php
11 years ago
Tobias Reich
0059f5910f
Fix db encoding and setting it to UTF-8 ( #112 #116 )
11 years ago
Tobias Reich
44d44e04fd
Improved update mechanism ( #115 )
11 years ago
Tobias Reich
b7ca72b817
Added plugin-call to Photo
11 years ago
Tobias Reich
56eaac4a81
Get sysdate from photo-id
11 years ago
Tobias Reich
a0787d7c11
Renamed file
11 years ago
Tobias Reich
25ba93b89a
Added Photo class
11 years ago
Tobias Reich
d722801a5f
Moved a function and fixed a wrong plugins call
11 years ago
Tobias Reich
14f4d918a4
Removed unused require
11 years ago
Tobias Reich
cae0eeef1b
Moved Settings to new file
11 years ago
Tobias Reich
b1eda0fc6e
Fixed view and added Settings class
11 years ago
Tobias Reich
10cc0d2995
Added Database class
11 years ago
Tobias Reich
68068969cb
Extends Module
11 years ago
Tobias Reich
2400564a79
Added plugin-call to Session
11 years ago
Tobias Reich
43df706e66
Session class
11 years ago
Tobias Reich
7f8503aa15
Improved plugin call
11 years ago
Tobias Reich
0a922bd076
Added get, getSmartInfo, getPublic and checkPassword to Album
11 years ago
Tobias Reich
ce3914e801
Added setPublic and setPassword to Album
11 years ago
Tobias Reich
6b4aaa6a23
Added getArchive to Album
11 years ago
Tobias Reich
d49e4792cc
Added new functions to Album class
11 years ago
Tobias Reich
fb388a2557
Albums -> Album
11 years ago
Tobias Reich
ab9b1ee011
Improved plugins
11 years ago
Tobias Reich
186efaf86f
Added Plugins
11 years ago
Tobias Reich
3bb5511f81
Code improvements
11 years ago
Tobias Reich
48e7e0a911
Revert "Changed album list to array instead of an associative array"
...
This reverts commit 67788790b2
.
11 years ago
dixy
67788790b2
Changed album list to array instead of an associative array
...
It solves the issue of album sorting: json_encode now creates a list
instead of an object which can't be sorted.
11 years ago
Tobias Reich
af7e8c8ef2
Set description or tags on upload (internal change)
11 years ago
Tobias Reich
6eb46da1a1
Code and speed improvements
11 years ago
Tobias Reich
5cce602a05
Added row `visible`
11 years ago
Tobias Reich
2dd6613118
Version push to 2.1.1 and sort by takedate and taketime (that's for you @GustavePate, #98 )
11 years ago
dixy
466296e49b
Use fetch_assoc instead of fetch_array
11 years ago
Tobias Reich
69bcd9932b
Prevent potential bug
11 years ago
Tobias Reich
ee69207ff1
Disabled warning
11 years ago
Tobias Reich
30a312679c
Removed data overhead = less data transferred when opening a photo
11 years ago
Tobias Reich
61bb527911
Improved use of isset()
11 years ago
Tobias Reich
24c91e47d4
added option to add public album
11 years ago
Tobias Reich
76a3b1bde5
Typo
11 years ago
Tobias Reich
31f32068a8
Small changes
11 years ago
Tobias Reich
39f299a8c2
Fixing a migration bug from version 2.0 to 2.1 ( #87 )
11 years ago
Tobias Reich
ce4d37dc47
Trying to fix a issue
11 years ago
Tobias Reich
bba6d264e7
Dropbox and link import fixed ( #84 )
11 years ago
Tobias Reich
11cfb939b5
Edit the Dropbox key ( #84 )
11 years ago
Tobias Reich
f0065bbebc
Improved updating mechanism
11 years ago
Tobias Reich
2021d6df9a
Merge
11 years ago
Tobias Reich
c86a61ca7b
Security fix
11 years ago
Tobias Reich
05543793b0
Trim whitespace and spaces to tabs
11 years ago
Tobias Reich
49fd3967b6
Removed importFilename setting
11 years ago
Tobias Reich
bd5394024b
Return false for smart albums
11 years ago
Tobias Reich
7c0c000880
Can not make albums public ( #80 )
11 years ago
Tobias Reich
759ce874e7
MySQL select performance ( #79 )
11 years ago
Tobias Reich
88a5810e0c
- Multi-Folder import from server
...
- Improved upload
- Tidied up .php files
- Removed import of single files via view.php?p=filename
11 years ago
Tobias Reich
d9342c51e2
Removed feed
11 years ago
Tobias Reich
ec196c52d3
API separated into areas
11 years ago
Tobias Reich
e0b8375e28
Get current URL in php
11 years ago
Tobias Reich
7fd4fd5c04
Added FeedWriter source
11 years ago
Tobias Reich
1f8f6dfead
- Edit tags via contextMenu
...
- Dialog improvements
11 years ago
Tobias Reich
96bd4a5e90
Typewriter apostrophe
11 years ago
Tobias Reich
f671077c26
Better function naming in db.php
11 years ago
Tobias Reich
4fd302f3d0
Config in data/
11 years ago
Tobias Reich
62c26b9153
Maxlength for inputs
11 years ago
Tobias Reich
9cd3f050cd
Better parsing for tags
11 years ago
Tobias Reich
be404366bc
Basic implementation for tags
...
- Edit Tags
- Delete Tags
- Search Tags
Multiselect:
- Only when logged in
11 years ago
Tobias Reich
38ae4662ff
Import filename and upload improvements
11 years ago
Tobias Reich
cba9bd2a7d
Validate parameters
11 years ago
Tobias Reich
b4b50be732
Delete all and rename all albums
11 years ago