-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Support for more ImageProvider (like WikimediaCommons) #44
Conversation
Signed-off-by: fnuesse <felix.nuesse@t-online.de> Created Provider Structure Signed-off-by: fnuesse <felix.nuesse@t-online.de> Created Provider Structure Signed-off-by: fnuesse <felix.nuesse@t-online.de>
Signed-off-by: fnuesse <felix.nuesse@t-online.de>
…em was preselected Signed-off-by: fnuesse <felix.nuesse@t-online.de>
Signed-off-by: fnuesse <felix.nuesse@t-online.de>
Signed-off-by: fnuesse <felix.nuesse@t-online.de>
Signed-off-by: fnuesse <felix.nuesse@t-online.de>
Signed-off-by: fnuesse <felix.nuesse@t-online.de>
Signed-off-by: fnuesse <felix.nuesse@t-online.de>
@jancborchardt @marius-wieschollek what do you think about this? |
This is still missing some things: i want to be able to give the admin the ability to choose the categories, and if @marius-wieschollek allows me to 'steal' his code from the unsplash image info thingy, i want to include that if the provider supports it. Also the wikimedia api is quiet finnicky, so for now only dogs or cats :D :D |
This is great. Worked on a quick look without problems. Why not releasing it and adding more options later. The most importent provider after that would be an own nextcloud folder as provider. |
@dartcafe Shouldn't be that hard, but that will be another update ;) |
That's what i meant. Fire this up and wait for responses. As far as I saw it works. |
@jancborchardt any comments on my pr's ? :D |
@jancborchardt @newhinton Any progress on this PR? |
@dartcafe We want to transfer this app to the nextcloud-namespace, which will change some stuff. That may take some additional time |
@newhinton Anything that can be done to get this merged and released to the App Store? |
@e-alfred My goal is to release this together with #42 Also, if you want to extend this with additional providers, you can add the proper file to a pull request :D |
@marius-wieschollek What do you think about this approach of adding more providers? Do you think this is reasonable, or do you prefer a different way of allowing more providers to this app? I'd like to release this in the near future, so any input is appreciated! |
Oje, i've now put this off for nearly two years... There are many things here that i think are good base to start with and build upon. There are two major issues i have with this approach. 2. Two custom entrypoints (login.php & header.php)
|
Thanks for taking a look! To your points: load-times: You are right. This can be an issue, and while we already have pop-ins because we load stuff externally, this would further worsen it. To the rest: Since i dont use other methods of running nextcloud, i cant really judge that. The Takeaway: One idea i had was not serving any "external" content at all. (I should get rid of "custom" css) Maybe it is easier to fetch the source in the backend and then deliver it via fixed endpoints from unsplash itself. This has some downsides on it's own, but is probably more stable. Serving prebuild css files is not really an option, since i aim to provide more customization than before, and that is not possible with prebuild css. Even then, since the imagecontent is dynamically fetched, the loadtimes will take a penalty if we allow any form of customization. |
…ercapsule # Conflicts: # css/header.css # css/login.css # js/settings.js # lib/AppInfo/Application.php # lib/Controller/AdminSettingsController.php # lib/Services/SettingsService.php # lib/Settings/AdminSettings.php # templates/settings/admin.php
This has been superseeded by the dev-branch. I started out proxying the images, but now i serve css code with the urls directly as an api-endpoint, more or less identical to the custom-css app. |
Created Provider Structure
Signed-off-by: fnuesse felix.nuesse@t-online.de
Closes #40
Closes #5
And in Combination with #43
Closes #33