Commit Graph

353 Commits

Author SHA1 Message Date
Tobias Reich
2e96f089a7 Fixed tons of XSS issues and escaping problems 2015-09-05 23:02:58 +02:00
Tobias Reich
eef971e3eb Catch upload errors #393 2015-08-29 21:55:32 +02:00
Tobias Reich
f1ff8bf2b0 Import module now without static functions 2015-06-29 09:45:03 +02:00
Tobias Reich
035ca23c97 Added returnOnError functionality to Photo::add 2015-06-28 23:09:41 +02:00
Tobias Reich
1dece87434 Fixed: Only import urls passend to the function, not existing photos from the temp folder 2015-06-28 18:58:17 +02: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
ffba49cc49 Escape before sending user input 2015-06-03 22:10:38 +02:00
Tobias Reich
275e653b1a Generate identifier even when db entry exists #344 2015-05-14 21:34:25 +02:00
Tobias Reich
ed3418058e Use identifier to prevent login of multiple instances of lychee #344 2015-05-14 21:07:42 +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
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
88ef1e49b7 Merge branch 'master' into release/v3.0.0
# Conflicts:
#	dist/main.css
#	dist/main.js
#	dist/view.js
#	src/package.json
#	src/scripts/lychee.js
2015-04-17 22:55:46 +02:00
Tobias Reich
2821383243 Fixed incorrect var type from server 2015-04-17 22:50:56 +02:00
Tobias Reich
0945cddab4 Stop init from returning username 2015-04-17 22:50:35 +02:00
Tobias Reich
2167b04d34 Block import of invalid photo types and extensions 2015-04-13 21:09:28 +02:00
Tobias Reich
585bbb72ea Stop view.php from returning data of private photos 2015-04-13 21:08:26 +02:00
Tobias Reich
6303adc679 Fixed an error when photo not found 2015-04-06 21:09:26 +02:00
Tobias Reich
4177219f67 Added code documentation 2015-04-06 19:08:58 +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
9278182b10 Updated copyright year 2015-03-29 18:58:15 +02:00
Tobias Reich
c9f5d112d4 Use Album::prepareData in search 2015-03-13 21:32:39 +01: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
d01e894220 Simplified response of session init 2015-03-06 23:29:55 +01:00
Tobias Reich
cfe99df0da Adjusted indention 2015-02-28 23:42:28 +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
1490dcbe9e Removed md5 from search, renamed code var to hash 2015-02-27 22:39:07 +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
083e0962e2 Merge branch 'master' into v3.0.0 2015-02-25 20:55:10 +01:00
Michael Procter
6d25151c78 Add comment as to why conventional plugin triggers not used. 2015-02-24 22:15:58 +00:00
Michael Procter
6bb1859faf Remove 'unlink' - potentially confusing. 2015-02-24 22:13:45 +00:00
Michael Procter
e17cfe79a3 Remove imported photos as promised by warning screen 2015-02-21 08:53:32 +00:00
Michael Procter
b34374fcdb Add plugin trigger for before and after server import 2015-02-21 08:52:33 +00:00
Tobias Reich
810338f13a Syntax adjustments 2015-02-16 20:27:27 +01: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
5678de1000 New naming for all API calls 2015-02-02 23:36:33 +01:00
Tobias Reich
6cd79ee169 New api object 2015-02-02 21:55:33 +01:00