Commit Graph

40 Commits

Author SHA1 Message Date
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.
2016-01-19 11:06:54 +01:00
Matthias Gutjahr
dca8b5555d Set undefined vars, remove unused vars nad code that cannot be reached. 2015-12-07 22:44:42 +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
feefa9c5a0 Updated version, updated deps and added skip duplicates #367 2015-06-27 21:03:27 +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
9278182b10 Updated copyright year 2015-03-29 18:58:15 +02: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
0630554789 Updated copyright 2015-02-01 22:08:37 +01:00
Tobias Reich
7a3695e192 Fixed creation of test db #295 2015-01-23 20:50:21 +01:00
Tobias Reich
38a8e9840b Prevent warning of set_charset #291 2015-01-22 21:24:20 +01:00
Tobias Reich
ba42169397 From " to ' 2014-11-05 15:57:31 +01:00
Tobias Reich
1acb3c2cc6 Comment cleanup 2014-10-21 13:45:11 +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
5b865de5a6 Updated version 2014-09-19 23:32:35 +02:00
Roman
7026ea8603 Merged with the latest pull from the origin 2014-09-16 23:51:54 +03:00
Roman
fa8cad02bb Changed spaces to tabs for indentation 2014-09-16 15:20:35 +03:00
Roman
f886793742 Added proper unicode support for values read from mysql 2014-09-15 22:56:46 +03:00
Tobias Reich
85c18290e6 Fixed a bug with Database::prepare and ? in user input (#38 #214 #196) 2014-08-31 23:49:25 +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
9f11875e39 Create tables with prefix (#38 #214 #196) 2014-08-29 23:08:18 +02:00
Tobias Reich
8b76fadf6d Escape data before writing to config.php (#38) 2014-08-29 20:10:50 +02:00
Tobias Reich
32af951c77 Added table prefix to create dialog (#214 #196) 2014-08-29 19:55:21 +02:00
Tobias Reich
75e63a9e3a Added database prepare (#38 #214 #196) 2014-08-29 19:12:35 +02:00
Tobias Reich
8b4ef96146 Added update for database for version 2.6.2 2014-08-27 21:17:05 +02:00
Tobias Reich
b23360d6ce Added downloadable to database and backend 2014-08-09 17:57:31 +02:00
Tobias Reich
1d57a13267 Fixed "Setup tries to create database lychee_dbcheck #202" 2014-08-08 16:28:34 +02:00
Tobias Reich
28f8aab323 Fixed "No way to back out during database creation #195" 2014-08-07 20:23:39 +02:00
Tobias Reich
c064c1c0e4 Version push and add checksum for existing users #179 2014-07-05 00:39:31 +02:00
Tobias Reich
226296e3a8 Added Log to Database 2014-05-30 16:54:34 +02:00
Tobias Reich
f479511454 Added basic Log class (#143) 2014-05-06 21:22:56 +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
fbf8309e44 Improved error handling for table creation 2014-04-19 16:57:36 +02:00
Tobias Reich
d382b62f57 Define dirs and files global (#122) 2014-04-13 14:08:18 +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
fe6d05425b Added update script to v2.5 + version push (#115) 2014-04-10 22:42:14 +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
10cc0d2995 Added Database class 2014-04-04 21:59:39 +02:00