Repository navigation
Conversation
Rewrite for classes and functionality of ownCloud 5.0
Implement stream_stat as requirement for stream_get_contents()
Rewrite for classes and functionality of ownCloud 5.0
Implement stream_stat as requirement for stream_get_contents()
…ansfer and/or slow connections Log entry when encountering invalid gzipped file data from server Enhanced connect function to properly reconnect to server after connection problems
|
👎 for the inclusion in core for the following reasons:
There is already a lot of unmaintained stuff - I don't want to add potential more things... Sorry. \cc @DeepDiver1975 @karlitschek @icewind1991 @Raydiation @MTGap |
There was a problem hiding this comment.
Not validating the SSL cert.
|
I like the idea but we sry @Crazyphil we're going in the direction of splitting up the apps repo (mail app has already an own repo, others will follow) into multiple repositories. You can easily host your app on apps.owncloud. 👎 |
|
@Crazyphil I think this is very cool. Thanks a lot for doing this. We don't want to support this officially in the core because of several reasons. But this doesn't meant that thas is not a cool feature that people should be able to use. I suggest that you take the existing files_external app and copy it as files_external_rapidshare that could be hosted in the apps repository or someone else. This app should be installable additionally to the files_external one. So it should only support the rapdishare protocol. you can make this app available via apps.owncloud.com if you want. |
|
@LukasReschke: A perfect solution would be an extendable files_external plugin, where the different backends are hosted as "standalone" apps, which simply integrate into the core plugin. This would allow easier integration of new backends (which is your concern no. 3) and it would also take the burden of supporting and maintaining them away from the core developers. To 4.: I can't really follow this objection, because the files_external plugin already allows, for example, "ownCloud hosted by Amazon S3". I don't simply see this plugin's purpose as a way to quickly access one or two files on one's Dropbox account, but more as a way to productively integrate external storage providers. Anyway, thank you all for the feedback. I will try to restructure the code for a standalone app until there might come a time where this is not necessary anymore. |
@Crazyphil If you modify the files_external app to allow storage backends to 'register' with it for the purpose of configuration then I would gladly accept that code into core. So, just moving the getBackends() part out of the configuration class and into the storages. You can then ship your RapidShare storage as an app without the additional files_external app code for configuring it. |
|
Not sure if we already need an additional layer here that abstracts the functionallity. This would make the files_external app even more fragile. And we already ave plenty of bugs here. I think that just a plain and stupid copy is not the worst solution for now. And when we see that this is actually working and people like it and perhaps more protocols show up that we should think about creating an abstraction here. I find this a bit early now :-) |
|
I agree with @karlitschek but it depends on how much code can be shared or if its hard to implement this without additional code from the files_external app. I'd suggest to first evaluate the option carefully. |
|
👎 I don't see the need to have this in core as well. We have already plenty of code to take care off. And to be honest: how needs Rapidshare? We better fix the rest. |
|
@MTGap: I've modified the files_external app to have backends register themselves before being able to use them. The amount of changes is (in my opinion) in an acceptable range and the default backends work as before, so that there should no problems arise. The only downside with a push (backend registers itself) instead of a pull (app searches for backends in all app directories) approach is that the backend has to make sure the files_external app is already loaded before trying to register ("if files_external is enabled then load it and register backend, else do nothing"). This case happens if users first enable the backend app and then the files_external app. The upside is that there is no "magic" involved with finding and registering backends and all potential backend developers are aware of what to do to get them into the list. Do you think this approach is acceptable? Do you want to see the code before I open yet another pull request? @Raydiation: The amount of shared code is huge. When creating an app that just consists of a storage backend, you only need the classes for this specific backend and the app "metadata" files. The management functionality can fully be done by the files_external app. |
|
@Crazyphil App dependencies should come along with #1235 So, it should be fine to have the backends registering themselves. I suggest you wait until after ownCloud 5 is released and everything settles done before opening another pull request. In the meantime, please be patient and test ownCloud 5 ;) |
As already announced on the mailing list (http://mail.kde.org/pipermail/owncloud/2013-February/007643.html), I've created a storage backend for the One-Click Hoster RapidShare.
The backend is designed to do block-level operations on files stored on the RapidShare servers (i.e. files don't have to be fully transmitted to the local server to edit them). This was the major criterion for selecting this specific provider. The performance is nevertheless acceptable. The backend supports free as well as paid (RapidPro) users and determines the best way to access files automatically.
As soon as you consider my contribution as acceptable for inclusion into the core, I will sign the Contributor Agreement (as it clearly makes no sense to sign it if the contribution is never to be included).