Skip to content

Conversation

@manishbisht
Copy link
Member

@manishbisht manishbisht commented May 23, 2016

Fixes: #649

Licence: AGPL

Tested on

  • Google Chrome

Reviewers

@oparoz @tempico

@mention-bot
Copy link

By analyzing the blame information on this pull request, we identified @oparoz to be a potential reviewer

@oparoz
Copy link
Contributor

oparoz commented May 23, 2016

Thanks for the updated PR. Looks like this one is ready for review :). I'll keep you posted.

Also, @imjalpreet could take a look when taking a break from his app :)

@imjalpreet
Copy link
Member

@oparoz Sure, I will have a look as soon as possible.

@oparoz
Copy link
Contributor

oparoz commented May 31, 2016

@tempico Did you test this?

@tempico
Copy link

tempico commented May 31, 2016

@oparoz,
Yes. I tested few days ago but got OC code integrity check errors and white page while trying to access gallery. So I just reverted gallery version to official one.

tested master branch of https://github.com/manishbisht/gallery.git

@oparoz
Copy link
Contributor

oparoz commented May 31, 2016

@tempico Were you testing on ownCloud master or 9.0?

@tempico
Copy link

tempico commented May 31, 2016

@oparoz,
9.0.2

@oparoz
Copy link
Contributor

oparoz commented May 31, 2016

@tempico Thanks. Maybe things have changed and master doesn't install on 9.0 any more.

@tempico
Copy link

tempico commented May 31, 2016

@oparoz,
That's bad

@oparoz
Copy link
Contributor

oparoz commented May 31, 2016

@tempico Not really, stable9 is the branch for 9.0, master is for the next release, so if you want to test on 9.1, you should download one of the VMs and install this PR on it. It should then work. I say should because up until now core was a moving target, so it could be that Gallery requires some adjustments if there have been significant changes in an API.

@tempico
Copy link

tempico commented May 31, 2016

@oparoz,
@manishbisht committed changes to master branch of his fork. My idea was to perform regression test of new changes on clone of my owncloud VM (ubuntu 14.04 | nginx+lua + php-fpm + mysql + redis + hetzner storage box via SMB). ¯_(ツ)_/¯
If new functionality works for you, I will try to diff changes from master and patch my staging environment.

@oparoz
Copy link
Contributor

oparoz commented May 31, 2016

@tempico - Applying this patch to your clone should provide the functionality.

@oparoz oparoz added this to the 9.2-next milestone May 31, 2016
@manishbisht
Copy link
Member Author

@tempico Are you now able to use the functionality after applying the patch.

@tempico
Copy link

tempico commented Jun 6, 2016

@manishbisht,

slideshowcontrols.js:435
TypeError: Gallery.utility.getWebdavRoot is not a function. (In 'Gallery.utility.getWebdavRoot()', 'Gallery.utility.getWebdavRoot' is undefined)

@manishbisht
Copy link
Member Author

@tempico Try changing that line with url:OC.getRootPath()+'/remote.php/webdav/'+imagePath, or url: Gallery.Utility.getWebdavRoot() + '/' + imagePath, and let me know if you are able to fix this problem

@tempico
Copy link

tempico commented Jun 6, 2016

@manishbisht,

url:OC.getRootPath()+'/remote.php/webdav/'+imagePath,

Works fine in Safari and Chrome! Thanks!

url: Gallery.Utility.getWebdavRoot() + '/' + imagePath,
[ Error] TypeError: Gallery.Utility.getWebdavRoot is not a function. (In 'Gallery.Utility.getWebdavRoot()',
'Gallery.Utility.getWebdavRoot' is undefined)
_deleteImage (slideshowcontrols.js:435)
(anonymous function) (slideshowcontrols.js:44)
(anonymous function)
dispatch (jquery.min.js:5:14135)
handle (jquery.min.js:5:10872)

@manishbisht
Copy link
Member Author

manishbisht commented Jun 6, 2016

@oparoz @tempico is getting error

slideshowcontrols.js:435
TypeError: Gallery.utility.getWebdavRoot is not a function. (In 'Gallery.utility.getWebdavRoot()', 'Gallery.utility.getWebdavRoot' is undefined)

Are you getting the same error on applying the latest commit because I am not getting this error ?

@oparoz
Copy link
Contributor

oparoz commented Jun 6, 2016

@manishbisht - That's because @tempico is using 9.0 when this PR only works on 9.1.

@manishbisht
Copy link
Member Author

Thanks @oparoz I think its now ready to get merge with owncloud/gallery :)

@oparoz
Copy link
Contributor

oparoz commented Jun 6, 2016

@manishbisht

  1. You need to squash your commits
  2. We need to wait for the stable9.1 branch to be created, mid-July. The feature will probably be part of Gallery+ before that

@manishbisht
Copy link
Member Author

@oparoz I have squash all my commits. :) Now waiting for stable9.1 branch

@oparoz
Copy link
Contributor

oparoz commented Jun 6, 2016

Thank you.

@oparoz oparoz mentioned this pull request Jun 17, 2016
6 tasks
@oparoz
Copy link
Contributor

oparoz commented Jun 18, 2016

Transferred locally via #676 and will be part of the next release of Gallery+

@oparoz oparoz closed this Jun 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants