Commit Graph

223 Commits

Author SHA1 Message Date
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
4761f178d4 Fixed broken installation 2014-04-13 14:03:33 +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
adf1dee2ea Comment changes 2014-04-12 14:10:08 +02:00
Tobias Reich
3e88ff4d68 spl_autoload_register instead of __autoload 2014-04-12 14:09:27 +02:00
Tobias Reich
f60cb3a946 Remove import_name on update 2014-04-12 00:39:00 +02:00
Tobias Reich
d38ef3b4c3 Updated tables 2014-04-12 00:38:34 +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
54959803e7 Code adjustments 2014-04-10 22:42:24 +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
43cbea45e1 Added __DIR__ to autoload.php 2014-04-09 20:13:20 +02:00
Tobias Reich
b727211f47 Added __DIR__ to api.php 2014-04-09 20:07: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
14f4d918a4 Removed unused require 2014-04-04 23:19:44 +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
Tobias Reich
d49e4792cc Added new functions to Album class 2014-04-03 18:38:58 +02:00
Tobias Reich
fb388a2557 Albums -> Album 2014-04-02 22:15:59 +02:00
Tobias Reich
ab9b1ee011 Improved plugins 2014-04-02 22:14:20 +02:00
Tobias Reich
186efaf86f Added Plugins 2014-04-02 19:30:58 +02:00
Tobias Reich
3bb5511f81 Code improvements 2014-04-02 17:36:50 +02:00
Tobias Reich
48e7e0a911 Revert "Changed album list to array instead of an associative array"
This reverts commit 67788790b2.
2014-04-02 17:32:49 +02:00
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.
2014-04-02 09:31:37 +02:00
Tobias Reich
af7e8c8ef2 Set description or tags on upload (internal change) 2014-03-31 14:51:47 +02:00
Tobias Reich
6eb46da1a1 Code and speed improvements 2014-03-30 22:55:19 +02:00
Tobias Reich
5cce602a05 Added row visible 2014-03-30 17:42:45 +02:00
Tobias Reich
2dd6613118 Version push to 2.1.1 and sort by takedate and taketime (that's for you @GustavePate, #98) 2014-03-20 18:54:23 +01:00
dixy
466296e49b Use fetch_assoc instead of fetch_array 2014-03-20 14:52:54 +01:00
Tobias Reich
69bcd9932b Prevent potential bug 2014-03-18 23:05:18 +01:00
Tobias Reich
ee69207ff1 Disabled warning 2014-03-18 23:01:08 +01:00
Tobias Reich
30a312679c Removed data overhead = less data transferred when opening a photo 2014-03-18 22:57:49 +01:00
Tobias Reich
61bb527911 Improved use of isset() 2014-03-18 22:46:52 +01:00
Tobias Reich
24c91e47d4 added option to add public album 2014-03-18 22:23:07 +01:00
Tobias Reich
76a3b1bde5 Typo 2014-03-16 13:50:39 +01:00
Tobias Reich
31f32068a8 Small changes 2014-02-27 21:51:12 +01:00
Tobias Reich
39f299a8c2 Fixing a migration bug from version 2.0 to 2.1 (#87) 2014-02-27 20:18:11 +01:00
Tobias Reich
ce4d37dc47 Trying to fix a issue 2014-02-27 20:14:52 +01:00
Tobias Reich
bba6d264e7 Dropbox and link import fixed (#84) 2014-02-26 23:37:21 +01:00
Tobias Reich
11cfb939b5 Edit the Dropbox key (#84) 2014-02-23 22:42:15 +01:00
Tobias Reich
f0065bbebc Improved updating mechanism 2014-02-23 19:41:12 +01:00
Tobias Reich
2021d6df9a Merge 2014-02-17 22:35:11 +01:00
Tobias Reich
c86a61ca7b Security fix 2014-02-17 22:21:05 +01:00
Tobias Reich
05543793b0 Trim whitespace and spaces to tabs 2014-02-17 17:01:46 +01:00
Tobias Reich
49fd3967b6 Removed importFilename setting 2014-02-14 19:08:07 +01:00
Tobias Reich
bd5394024b Return false for smart albums 2014-02-14 18:58:21 +01:00
Tobias Reich
7c0c000880 Can not make albums public (#80) 2014-02-11 12:36:06 +01:00
Tobias Reich
759ce874e7 MySQL select performance (#79) 2014-02-10 18:04:34 +01:00
Tobias Reich
88a5810e0c - Multi-Folder import from server
- Improved upload
- Tidied up .php files
- Removed import of single files via view.php?p=filename
2014-02-09 22:30:16 +01:00
Tobias Reich
d9342c51e2 Removed feed 2014-02-09 19:28:31 +01:00
Tobias Reich
ec196c52d3 API separated into areas 2014-02-09 19:21:55 +01:00
Tobias Reich
e0b8375e28 Get current URL in php 2014-02-09 00:34:49 +01:00
Tobias Reich
7fd4fd5c04 Added FeedWriter source 2014-02-08 22:29:44 +01:00
Tobias Reich
1f8f6dfead - Edit tags via contextMenu
- Dialog improvements
2014-02-08 21:19:19 +01:00
Tobias Reich
96bd4a5e90 Typewriter apostrophe 2014-02-08 17:52:38 +01:00
Tobias Reich
f671077c26 Better function naming in db.php 2014-02-08 17:28:11 +01:00
Tobias Reich
4fd302f3d0 Config in data/ 2014-02-08 00:08:18 +01:00
Tobias Reich
62c26b9153 Maxlength for inputs 2014-02-02 23:56:20 +01:00
Tobias Reich
9cd3f050cd Better parsing for tags 2014-02-02 23:22:06 +01:00
Tobias Reich
be404366bc Basic implementation for tags
- Edit Tags
- Delete Tags
- Search Tags

Multiselect:
- Only when logged in
2014-02-02 15:11:46 +01:00
Tobias Reich
38ae4662ff Import filename and upload improvements 2014-01-31 23:55:16 +01:00
Tobias Reich
cba9bd2a7d Validate parameters 2014-01-31 22:29:45 +01:00
Tobias Reich
b4b50be732 Delete all and rename all albums 2014-01-31 21:22:25 +01:00
Tobias Reich
f3aa01dc05 ids -> photoIDs 2014-01-31 20:11:28 +01:00
Tobias Reich
ec8a80cd3f Delete all and Move all 2014-01-29 00:43:06 +01:00
Tobias Reich
ef46bd183a Move all and Star all 2014-01-28 20:44:25 +01:00
Tobias Reich
c23c4f5c03 Permissions 2014-01-26 23:35:42 +01:00
Mathieu Leplatre
c15e63d204 Prevent fetching many rows to check table existance 2014-01-26 20:40:20 +01:00
Tobias Reich
ee9210151e PHP notice fixed 2014-01-26 18:00:09 +01:00
Tobias Reich
540304eb26 Fixed some php notices 2014-01-26 15:16:59 +01:00
Tobias Reich
76163e8c99 Use GBK charset only on older MySQL versions to avoid SQL injections (Issue #55) 2014-01-26 14:39:47 +01:00
Tobias Reich
0c609dc303 Quotes around mysql query 2014-01-24 23:21:50 +01:00
Tobias Reich
dd0171c726 Avoid sql injection on edge cases 2014-01-24 16:53:22 +01:00
Tobias Reich
79607485fb V2.0.1
- Share > Direct Link
- Download individual images (Issue #43)
- ContextMenu stays within the window (Issue #41)
- Prevent default ContextMenu (Issue #45)
- Small ContextMenu improvements
- Small security improvements
2014-01-24 13:49:01 +01:00
Tobias Reich
dd2f6ebc77 V2.0
- All new redefined interface
- Faster animations and transitions
- Import from Dropbox
- Import from Server
- Download public albums
- Several sorting options
- Installation assistent
- Infobox and description for albums
- Faster loading and improved performance
- Better file handling and upload
- Album covers are chosen intelligent
- Prettier URLs
- Massive changes under the hood
- IPTC support (Headline and Caption)
- EXIF Orientation support

How to update:
1. Replace all files, excluding `uploads/`
2. Open Lychee and enter your database details
2014-01-22 11:12:51 +01:00
Tobias Reich
fd3131b7bc Fixed: Photos not displaying
(Thanks @moonman407 for the report)
2013-10-20 18:10:30 +02:00
Tobias Reich
59a735afdd V1.3.2
Includes small fixes and enhancements.
2013-10-20 13:08:39 +02:00
Candid Dauth
a2f7e176c6 Fix PHP warning about is_uploaded_file() 2013-10-05 10:48:22 +02:00
Tobias Reich
2abf49ac38 V1.3.1
- Twitter Cards and Open Graph support for shared photos
- Option to set album-password directly after clicking "Make Public"
- Download Album works again
2013-09-08 19:50:31 +02:00
Tobias Reich
34413640e4 V1.3
New:
- Protect public albums with passwords
- Export to Dropbox
- Sharing-Link is displayed directly inside the sharing-dropdown
- Delete photos with cmd+backspace

Improved:
- Massive speed improvements
- Changing the title, starring, description, etc. is now instant
- Longer filenames for pictures (more security)

ShortLinks are removed for more independency and privacy.
There are a lot of changes under the hood, including a lot of bug fixes and improvements. Please report every bug you find!

How to update:
1. Replace all files, excluding `uploads/` and `php/config.php`
2. Open `php/update.php` in your browser
2013-09-03 11:59:30 +02:00
Tobias Reich
4e5c836b8d Lychee 1.2
- Share whole albums
- Public Mode
- Import images via URL
- New Share-Button
- Improved Toolbar
- Check for updates (see config.php)
- ASC or DESC sorting (see config.php)
- Download album fixed
- Code optimizations (thanks @tibounise)
- Changes and enhancements

Update from version 1.0 or 1.1:
1. Replace all files, excluding `uploads/`
2. Open php/config.php and reconfigure your installation (We added new settings)
3. Open php/update.php in your browser
2013-06-17 20:40:04 +02:00
Tobias Reich
dcc51497c3 V1.1
- FTP Sharing
- New Upload & New Search
- Performance and stuff under the hood
- Desktop Notifications
- Right-Click on photos and albums
- Retina Thumbs
- Improved Interface
2013-05-03 13:57:08 +02:00
Tobias Reich
b565390419 V1.0.2
- Better mobile experience
- New Login
- jQuery update
- Small fixes and enhancements
2013-01-15 21:21:36 +01:00
Tobias Reich
7030b7657e V1.0.1
- Improved ImageView
- Login-Window now shows the version of Lychee
- iPhone Homescreen Icon
- Improved Readme with Pictures
2012-10-25 12:22:04 +02:00
Tobias Reich
913cd212d6 Readme 2012-10-08 10:45:44 +02:00
Tobias Reich
0ae0b97ae4 Lychee V1.0 2012-10-02 17:48:08 +02:00