Commit Graph

203 Commits

Author SHA1 Message Date
Tobias Reich
33446c30e8 Fixed a static warning (#172) 2014-06-25 14:50:49 +02:00
Tobias Reich
1ecc81c18f Fixed a bug with problematic chars in album names when trying to download them 2014-06-18 23:36:00 +02:00
Tobias Reich
a3828e72ae Fixed import of filename 2014-06-14 23:06:11 +02:00
Tobias Reich
65094ccad5 Fixed album download with double dot in filename 2014-06-14 23:05:45 +02:00
Tobias Reich
a1b2d0a746 Don't stop upload when adjustFile returns false 2014-05-30 16:57:52 +02:00
Tobias Reich
a8d792dcf1 Improved if condition 2014-05-30 16:57:15 +02:00
Tobias Reich
1d7d852ddd Changed error to notice 2014-05-30 16:56:41 +02:00
Tobias Reich
b4226d7bdd Added Log to Session 2014-05-30 16:55:56 +02:00
Tobias Reich
4e52b1e545 Added Log to Settings 2014-05-30 16:55:30 +02:00
Tobias Reich
226296e3a8 Added Log to Database 2014-05-30 16:54:34 +02:00
Tobias Reich
ba778998dd Fixed a PHP syntax error with arrays (#160) 2014-05-23 15:47:48 +02:00
Tobias Reich
404b519747 getExtension() helper 2014-05-20 12:44:08 +02:00
Tobias Reich
69aa61cade Fixed photo download 2014-05-20 12:31:48 +02:00
Tobias Reich
8cf7ad5480 Hide password-protected albums 2014-05-17 23:53:55 +02:00
Tobias Reich
02740d840a Prevent unsupported files from being moved (#151) 2014-05-17 22:59:28 +02:00
Tobias Reich
1cef3c29c4 Merge pull request #156 from djdallmann/v2.5
Added support for filenames with spaces by using escapeshellarg() to eva...
2014-05-17 22:50:00 +02:00
Tobias Reich
830e2362d3 Catch error when calling Import::move 2014-05-17 22:48:06 +02:00
Tobias Reich
7e6fd3ccc7 Improved plugin loading 2014-05-17 16:51:56 +02:00
djdallmann
b2658d7e01 Added support for filenames with spaces by using escapeshellarg() to evaluate and treat string as literal. 2014-05-17 05:41:18 +00:00
Tobias Reich
9db3d31cc0 Added permission check to upload 2014-05-16 23:24:11 +02:00
Tobias Reich
edca6c088a Added function to check permissions 2014-05-16 23:23:49 +02:00
Tobias Reich
5689278908 Added logging for subfolders 2014-05-16 23:22:41 +02:00
Tobias Reich
0dc54c44e0 Added logging for folder deletion 2014-05-16 23:22:20 +02:00
Tobias Reich
08fe04c241 Added Import:move from Import:server and disabled moveToTemp by default (#151) 2014-05-16 22:47:45 +02:00
Tobias Reich
0167507604 Code adjustments and improvemts for #151 2014-05-13 22:49:23 +02:00
Tobias Reich
83a7aa196c Fixed logging 2014-05-13 22:10:04 +02:00
Tobias Reich
d31f0831d4 Merge pull request #151 from djdallmann/v2.5
Added feature to move files before processing in Import.php for server
2014-05-13 21:55:18 +02:00
djdallmann
b321e2d970 Updated to include better error handling and to use the new error class. 2014-05-10 23:23:33 +00:00
Tobias Reich
775673cf18 Added loggint to Photo 2014-05-08 20:50:18 +02:00
Tobias Reich
39131033db Added notice and warning function to Log (#143) 2014-05-06 22:11:37 +02:00
Tobias Reich
d9b48f4080 Added more error logging to Album class (#143) 2014-05-06 21:37:21 +02:00
Tobias Reich
83188ae9d9 Added error logging to Album class (#143) 2014-05-06 21:24:58 +02:00
Tobias Reich
f479511454 Added basic Log class (#143) 2014-05-06 21:22:56 +02:00
Tobias Reich
61a868980e Improved sorting by takestamp and reset for older version (#152) 2014-05-06 19:57:59 +02:00
Tobias Reich
fc97167e1b Fixed sorting by takedate (#152) 2014-05-06 14:30:18 +02:00
Tobias Reich
33c8eb6780 Moved Access 2014-04-28 11:59:37 +02:00
Tobias Reich
119d674002 Added fastimagecopyresampled 2014-04-28 11:47:30 +02:00
Tobias Reich
43ff1d06f4 Rewritten Access for Admin 2014-04-28 11:23:18 +02:00
Tobias Reich
d2bfaa29a0 Improved file ending 2014-04-28 10:17:26 +02:00
Tobias Reich
0b87e8fe93 Syntax adjustments 2014-04-27 14:40:54 +02:00
Tobias Reich
5d7328613d Continue url-import even when an error occurs 2014-04-26 21:02:50 +02:00
Tobias Reich
d0368ea651 Use exif_imagetype in Import 2014-04-26 19:40:34 +02:00
Tobias Reich
e3b1a6f477 Added spaces 2014-04-26 19:37:02 +02:00
Tobias Reich
24de0b994d Fix url/filenames names include extra period for filename extension (#141) 2014-04-26 17:05:42 +02:00
Tobias Reich
bb1699402c Return error when called function misses parameters 2014-04-26 17:00:31 +02:00
Tobias Reich
60d298db6d Fixed incorrect integer value (#140) 2014-04-26 16:48:40 +02:00
Tobias Reich
8e711cde87 Trim on exif model and make (#136) 2014-04-25 16:36:31 +02:00
Tobias Reich
543381a24d Verify image with exif_imagetype (#133) 2014-04-25 10:13:43 +02:00
Tobias Reich
e600f3b774 Merge pull request #129 from bb-Ricardo/v2.5
Add fallback options when generating salt #114
2014-04-22 09:39:20 +02:00
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
2014-04-22 00:36:02 +02:00
Tobias Reich
ed79ddce47 Small code cleanup 2014-04-21 14:18:13 +02:00
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
2014-04-21 02:19:23 +02:00
Tobias Reich
1e18094f8f Improved error handling by checking the dependencies (e.g. vars and parameters) 2014-04-19 21:07:36 +02:00
Tobias Reich
368f6b59d0 Removed global vars from search 2014-04-19 20:27:53 +02:00
Tobias Reich
db64df8820 Memory optimization 2014-04-19 17:32:33 +02:00
Tobias Reich
fbf8309e44 Improved error handling for table creation 2014-04-19 16:57:36 +02:00
Tobias Reich
7e2936325f Added $settings var for plugins 2014-04-19 16:55:17 +02:00
Tobias Reich
92d894783e Improved parsing of tags 2014-04-18 21:27:52 +02:00
Tobias Reich
25eb998c12 Added global LYCHEE_PLUGINS 2014-04-18 12:59:14 +02:00
Tobias Reich
009d08f090 Added define check to Plugins 2014-04-16 10:13:30 +02:00
Tobias Reich
d382b62f57 Define dirs and files global (#122) 2014-04-13 14:08:18 +02:00
Tobias Reich
6c3d16e9b1 Fixed wrong capture date in InfoBox 2014-04-13 12:35:59 +02:00
Tobias Reich
5d7ff21c50 Set original date with 'touch' 2014-04-13 12:10:49 +02:00
Tobias Reich
6530902d13 Improved getArchive with file names (#111) 2014-04-12 19:55:05 +02:00
Tobias Reich
17b6475b6c Small code improvements to getArchive 2014-04-12 18:00:11 +02:00
Tobias Reich
1fdc495f91 Set original date for uploaded file 2014-04-12 17:30:50 +02:00
Tobias Reich
eccdcf5ead Fixed Import (some links are still nit working) 2014-04-12 16:51:05 +02:00
Tobias Reich
c9e7954446 Improved deleting of photos 2014-04-12 14:19:52 +02:00
Tobias Reich
25a7e835dd Own function for "Set orientation based on EXIF data" > adjustFile 2014-04-12 14:15:21 +02:00
Tobias Reich
cf9dc0ec2f Moved upload and more to Photo 2014-04-12 00:30:26 +02:00
Tobias Reich
1c44616b06 Improved update to v2.5
- Removed `sysdate` and `systime`(#115)
- Add `plugins`
- Convert to utf-8 (#111)
2014-04-11 22:25:03 +02:00
Tobias Reich
316c1039fb Fixed get Photo (#115) 2014-04-11 11:06:14 +02:00
Tobias Reich
8c5ccf640b Code adjustment 2014-04-11 10:38:35 +02:00
Tobias Reich
b62d8b24fa Added timestamp to albums 2014-04-11 10:38:28 +02:00
Tobias Reich
e7578d8d23 Fixed upload after v2.5 database update 2014-04-11 10:09:06 +02:00
Tobias Reich
2a18188592 Merge branch 'v2.5' of https://github.com/electerious/Lychee into v2.5 2014-04-11 09:49:05 +02:00
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
2014-04-11 00:24:06 +02:00
Tobias Reich
fe6d05425b Added update script to v2.5 + version push (#115) 2014-04-10 22:42:14 +02:00
Tobias Reich
893641d3df Merged #107. Not working correctly without Imagemagick! 2014-04-09 20:37:01 +02:00
Tobias Reich
400f73f5d5 Added __DIR__ to Plugins.php 2014-04-09 20:28:59 +02:00
Tobias Reich
8e818f84d5 Added __DIR__ to Photo.php 2014-04-09 20:28:14 +02:00
Tobias Reich
2e82ae64fd Added __DIR__ to Album.php 2014-04-09 20:26:44 +02:00
Tobias Reich
650b496ebc Added __DIR__ to Database.php 2014-04-09 20:26:25 +02:00
Tobias Reich
0059f5910f Fix db encoding and setting it to UTF-8 (#112 #116) 2014-04-06 15:11:55 +02:00
Tobias Reich
44d44e04fd Improved update mechanism (#115) 2014-04-05 18:30:24 +02:00
Tobias Reich
b7ca72b817 Added plugin-call to Photo 2014-04-05 16:25:49 +02:00
Tobias Reich
56eaac4a81 Get sysdate from photo-id 2014-04-05 16:22:46 +02:00
Tobias Reich
a0787d7c11 Renamed file 2014-04-05 16:03:43 +02:00
Tobias Reich
25ba93b89a Added Photo class 2014-04-05 16:02:53 +02:00
Tobias Reich
d722801a5f Moved a function and fixed a wrong plugins call 2014-04-05 15:59:31 +02:00
Tobias Reich
cae0eeef1b Moved Settings to new file 2014-04-04 23:18:26 +02:00
Tobias Reich
b1eda0fc6e Fixed view and added Settings class 2014-04-04 23:17:54 +02:00
Tobias Reich
10cc0d2995 Added Database class 2014-04-04 21:59:39 +02:00
Tobias Reich
68068969cb Extends Module 2014-04-04 21:27:10 +02:00
Tobias Reich
2400564a79 Added plugin-call to Session 2014-04-04 21:12:49 +02:00
Tobias Reich
43df706e66 Session class 2014-04-04 21:10:32 +02:00
Tobias Reich
7f8503aa15 Improved plugin call 2014-04-04 20:11:45 +02:00
Tobias Reich
0a922bd076 Added get, getSmartInfo, getPublic and checkPassword to Album 2014-04-04 19:34:12 +02:00
Tobias Reich
ce3914e801 Added setPublic and setPassword to Album 2014-04-04 17:56:08 +02:00
Tobias Reich
6b4aaa6a23 Added getArchive to Album 2014-04-04 17:18:59 +02:00