Commit Graph

73 Commits

Author SHA1 Message Date
Tobias Reich
9cb6dc19b7 Added abstract/final to classes to be more strict 2016-01-19 11:45:41 +01:00
Tobias Reich
312db57f71 Reverted query optimization as I failed to fix the incorrect sorting cased by this
http://stackoverflow.com/questions/34399798/similar-mysql-queries-returning-with-different-sorting
2015-12-29 12:06:44 +01:00
Tobias Reich
f87701b1c0 Improved loading performance by combining multiple queries #372 #241 2015-12-21 15:09:05 +01:00
Tobias Reich
db4f3d65fb User Album::prepareData to prepare an Album, even for single albums 2015-12-21 15:01:19 +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
2e96f089a7 Fixed tons of XSS issues and escaping problems 2015-09-05 23:02:58 +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
e64e29f81f Several album and photo handling changes
- Stopped view.js from cutting album and photo titles (#332)
- Fixed album sorting (getByID, deleteByID)
- Fixed jQuery each bug when opening empty album
- Stop showing deleted photos in photo switcher
2015-05-14 15:42:28 +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
41a7ec8cb0 Syntax error, unexpected '[' in php/modules/Album.php on line 691 #348 2015-05-09 10:16:49 +02:00
Tobias Reich
e67eca81ae Code simplifications #340 2015-05-05 22:06:54 +02:00
Rouven Hurling
00b08fd22d Fix PHP & SQL errors in Album::merge, run gulp 2015-05-05 19:29:10 +02:00
Rouven Hurling
c69fe33df3 add Album::merge via Multiselection ContextMenu 2015-05-05 12:18:27 +02:00
Tobias Reich
2821383243 Fixed incorrect var type from server 2015-04-17 22:50:56 +02:00
Tobias Reich
e89676d6ee Prevent download of deleted albums/photos, added code documentation, fixed error when logged out and opening a private photo 2015-04-06 18:48:52 +02:00
Tobias Reich
ea149b68af Added Album::prepareData and improved thumbs response from API 2015-03-12 12:57:48 +01:00
Tobias Reich
e8cc2e9192 Streamlined prepare process of photo data 2015-03-12 00:11:16 +01:00
Tobias Reich
87537eba2d Feature: Edit sharing properties of album 2015-02-28 23:42:13 +01:00
Tobias Reich
4d16696c52 Don't show thumbs of protected albums when logged out 2015-02-28 21:36:04 +01:00
Tobias Reich
b226f879b0 Streamlines type of password 2015-02-27 21:16:22 +01:00
Tobias Reich
67dce773e6 Updated Album::getAll 2015-02-27 20:37:24 +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
0630554789 Updated copyright 2015-02-01 22:08:37 +01:00
Tobias Reich
1acb3c2cc6 Comment cleanup 2014-10-21 13:45:11 +02:00
Tobias Reich
582a8a3f93 Small code adjustments #232 2014-09-17 23:11:02 +02:00
Roman
4ce4048584 Minor tweaks and corrections based on Tobias's comments 2014-09-17 16:42:10 +03: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
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
2014-09-14 14:48:12 +03: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
52b530f85e Unified statements 2014-08-29 19:31:50 +02:00
Tobias Reich
01d367beb9 Prepare statments (#38 #214 #196) 2014-08-29 19:27:09 +02:00
Tobias Reich
0387581005 Fixed a problem with htmlentities and older PHP versions (#212) 2014-08-26 10:15:17 +02:00
Tobias Reich
8d587a0ea0 Disable download php-side 2014-08-17 20:22:46 +02:00
Tobias Reich
b23360d6ce Added downloadable to database and backend 2014-08-09 17:57:31 +02:00
Tobias Reich
fde153d004 Removed "Set Password" menu after sharing without password 2014-07-21 22:38:56 +02:00
Tobias Reich
cf9ad486f0 New sharing dialog
Choose if album should be listed public or not #177
2014-07-21 22:16:30 +02:00
Tobias Reich
55b900686c Fixed wrong date in album view when takestamp is null 2014-07-19 00:06:45 +02:00
Tobias Reich
911e168b6f Less parsing of photos/albums on client-side 2014-07-12 20:12:38 +02:00
Tobias Reich
ce373c26d5 Added new SmartAlbum which shows all recent uploads 2014-06-29 15:40:06 +02:00
Tobias Reich
8e8fd91497 Fixed a bug with smart albums 2014-06-29 15:03:19 +02:00
Tobias Reich
386a0c2b8e Show takedate in photo-overlay when available 2014-06-28 22:49:49 +02:00
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
65094ccad5 Fixed album download with double dot in filename 2014-06-14 23:05:45 +02:00
Tobias Reich
404b519747 getExtension() helper 2014-05-20 12:44:08 +02:00
Tobias Reich
8cf7ad5480 Hide password-protected albums 2014-05-17 23:53:55 +02:00
Tobias Reich
d9b48f4080 Added more error logging to Album class (#143) 2014-05-06 21:37:21 +02:00