Commit Graph

52 Commits

Author SHA1 Message Date
Tobias Reich
64e0d66d83 Improved if conditions 2016-01-31 15:44:54 +01:00
Tobias Reich
4c3df96e9e Removed unnecessary namespace 2016-01-30 23:16:59 +01:00
Tobias Reich
fe2c56422d Fixed database updates 2016-01-30 23:07:59 +01:00
Tobias Reich
e89203bcb1 // for comments and spaces for alignment 2016-01-30 23:03:43 +01:00
Tobias Reich
84c4a5b267 Removed version from sql files 2016-01-24 22:15:04 +01:00
Tobias Reich
17e5dba979 Singleton pattern for Settings::get(), Database::get() and Plugins::get()
What could properly go wrong? ¯\_(ツ)_/¯
2016-01-24 22:14:20 +01:00
Tobias Reich
0dffa5c765 Dropped update support for versions < 2.7 2016-01-24 18:38:26 +01:00
Tobias Reich
9e52f93a59 Removed database updates for versions <= 2.5.0 2016-01-24 16:51:09 +01:00
Tobias Reich
f925e118c2 Generate identifier when creating the database, not on update
This fixes the broken 'setLogin' when using Lychee for the first time.
2015-06-28 17:47:19 +02:00
Tobias Reich
e36fd87f5a Added skipDuplicates to default settings table 2015-06-28 17:29:03 +02:00
Tobias Reich
feefa9c5a0 Updated version, updated deps and added skip duplicates #367 2015-06-27 21:03:27 +02:00
Tobias Reich
275e653b1a Generate identifier even when db entry exists #344 2015-05-14 21:34:25 +02:00
Tobias Reich
aedd378f98 Added identifier #344 2015-05-14 20:43:51 +02:00
Tobias Reich
6b4f3546f9 Updated default tables and changed sorting var/entry to sortingPhotos #98 2015-05-14 17:47:17 +02:00
Tobias Reich
90ac81acf1 Added album sorting #98 2015-05-14 17:20:33 +02:00
Tobias Reich
7e885425dc Allow an album and photo title length of 50 chars #332 2015-05-10 23:01:07 +02:00
Tobias Reich
cca2b09d08 Fixed incorrect version in comment 2015-02-08 15:36:29 +01:00
Tobias Reich
3f4bfe253d Removed useless md5 hashing in front-end and added username hashing in back-end 2015-02-08 15:36:13 +01:00
Tobias Reich
0c97151f4f Added direct access protection to database updates 2015-02-08 15:29:06 +01:00
Tobias Reich
0630554789 Updated copyright 2015-02-01 22:08:37 +01:00
Tobias Reich
b6123c8257 Add medium folder when missing #67 2014-11-06 23:21:33 +01:00
Tobias Reich
09553f2262 Comment cleanup 2014-10-21 13:40:33 +02:00
Tobias Reich
9e42e74b3a ntermediate sized images for small screen devices #67
- Updated version
- Update database
- Write medium to database
- Delete medium on photo delete
- Show medium depending on screen
2014-10-11 16:09:10 +02:00
Tobias Reich
b458ff2a85 Fixed wrong version in database update error 2014-10-11 16:04:43 +02:00
Tobias Reich
e20ba354da Database::setVersion to update the database version 2014-08-30 19:25:01 +02:00
cternes
13dea68c88 Replaced new array syntax with old one to support older php versions 2014-08-30 07:05:26 +02:00
Tobias Reich
0296b313ee Added option to disable imagick (#211) 2014-08-30 00:11:26 +02:00
Tobias Reich
a5722a79c6 Converted database updates to prepared statements (#38 #214 #196) 2014-08-29 23:49:52 +02:00
Tobias Reich
9f11875e39 Create tables with prefix (#38 #214 #196) 2014-08-29 23:08:18 +02:00
Tobias Reich
8b4ef96146 Added update for database for version 2.6.2 2014-08-27 21:17:05 +02:00
Tobias Reich
a613ee58c7 Default ist downloadable 2014-08-22 20:52:23 +02:00
Tobias Reich
b23360d6ce Added downloadable to database and backend 2014-08-09 17:57:31 +02:00
Tobias Reich
7b2414695c Fixed wrong version in error log 2014-07-20 15:24:46 +02:00
Tobias Reich
c064c1c0e4 Version push and add checksum for existing users #179 2014-07-05 00:39:31 +02:00
pyro2927
ba852f8a03 Adding in photo checksum to detect dupes 2014-07-02 14:29:34 -05:00
Tobias Reich
891d222a33 Added Log to update_020100 2014-05-31 12:06:26 +02:00
Tobias Reich
041c9e7a7a Added Log to update_020101 2014-05-31 12:04:16 +02:00
Tobias Reich
b82c83d612 Added Log to update_020200 2014-05-31 12:03:12 +02:00
Tobias Reich
308d373cbe Added Log to update_020500 2014-05-31 11:58:39 +02:00
Tobias Reich
326238d46a Fixed TEXT column can't have a default value (#154) 2014-05-10 18:46:48 +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
b307e8b7ca Fixed data too long for column make (#137) 2014-04-25 16:41:35 +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
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
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
b62d8b24fa Added timestamp to albums 2014-04-11 10:38:28 +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