Skip to content

First steps of zip folder plugin#24178

Closed
DeepDiver1975 wants to merge 2 commits into
masterfrom
dav-zip-folder
Closed

First steps of zip folder plugin#24178
DeepDiver1975 wants to merge 2 commits into
masterfrom
dav-zip-folder

Conversation

@DeepDiver1975

Copy link
Copy Markdown
Member

No description provided.

@mention-bot

Copy link
Copy Markdown

By analyzing the blame information on this pull request, we identified @LukasReschke, @rullzer, @blizzz and @DeepDiver1975 to be potential reviewers

@DeepDiver1975 DeepDiver1975 added this to the 9.2-next milestone Apr 22, 2016
@PVince81

Copy link
Copy Markdown
Contributor

Ah! What a discovery! Nice thing

@DeepDiver1975

Copy link
Copy Markdown
Member Author

Bloody olf wip ...

@PVince81

Copy link
Copy Markdown
Contributor

Works now:
ZIP: curl -D - -X GET -H "Accept: application/zip" http://admin:admin@localhost/owncloud/remote.php/dav/files/admin/test -o test.zip
tar: curl -D - -X GET -H "Accept: application/x-tar" http://admin:admin@localhost/owncloud/remote.php/dav/files/admin/test -o test.tar.

If no "Accept" header is given, it will auto-detect based on user-agent or default to ZIP.

Yes, I changed the behavior because depending on the given extension could conflict with an existing file stored in ownCloud.

I had to hack Sabre a bit to prevent it to send its own response so that the streamer can use the good old dirty "echo directly the output".

@DeepDiver1975 @butonic @mrow4a check it out !

TODOs:

  • unit tests

@PVince81

Copy link
Copy Markdown
Contributor

Note: this doesn't fully replace the download endpoints. We're still missing something like "MGET" with a list of files to download from a given folder. Maybe we can do this separately if we agree on using a custom method.

@PVince81

PVince81 commented Oct 5, 2016

Copy link
Copy Markdown
Contributor

before I start with the pain of writing tests I'd like to know whether the approach described above is acceptable

@PVince81

PVince81 commented Apr 6, 2017

Copy link
Copy Markdown
Contributor

moving to backlog until there is more interest

@PVince81 PVince81 modified the milestones: backlog, 10.0 Apr 6, 2017
@PVince81

PVince81 commented Jul 4, 2017

Copy link
Copy Markdown
Contributor

old PR... do we still want this ? if yes, please review...

@mrow4a

mrow4a commented Jul 4, 2017

Copy link
Copy Markdown
Contributor

Maybe just integrate already existing plugin, which my friend implemented once https://github.com/deic-dk/files_compress and that should work @PVince81 @DeepDiver1975

@DeepDiver1975

Copy link
Copy Markdown
Member Author

Maybe just integrate already existing plugin, which my friend implemented once https://github.com/deic-dk/files_compress and that should work

I dislike the code and the concept

@DeepDiver1975 DeepDiver1975 self-assigned this Jul 4, 2017
@DeepDiver1975

Copy link
Copy Markdown
Member Author

old PR... do we still want this ? if yes, please review...

let me revive this ....

@DeepDiver1975

Copy link
Copy Markdown
Member Author

bildschirmfoto von 2017-07-05 15-20-27

@PVince81 test side effect bullshit as usual or real issue ❓

@PVince81

PVince81 commented Jul 5, 2017

Copy link
Copy Markdown
Contributor

might be the bullshit one... I didn't rebase this PR yet on a version that doesn't have this

@PVince81

PVince81 commented Jul 5, 2017

Copy link
Copy Markdown
Contributor

wait... you did rebase 😢

I don't see how it could be related

@PVince81

PVince81 commented Jul 5, 2017

Copy link
Copy Markdown
Contributor

it's indeed the bullshit zombie fail, PR to annihilate it: #28310

@lock

lock Bot commented Aug 3, 2019

Copy link
Copy Markdown

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock Bot locked as resolved and limited conversation to collaborators Aug 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants