filestash/server/model
brxie 42b5043411
fix (s3): fix remove a single object (#225)
Objects, as well as buckets are removed basing on objecs list received
from client. As the objects are fetched by Prefix, the request for
removing object 'foo' will remove all 'foo*' objects in this bucket.

For instance, having bucket with objects like so:

    awesomebucket/
    ├── foo
    ├── foobar
    └── thing

Rm("awesomebucket/foo") will have effect:

    awesomebucket/
    └── thing

This change fixes this bug by recognizing if single object has to be
removed or the entire bucket. For single object, we don't need to walk
through directories and can request to remove directly.
2020-02-08 01:11:08 +11:00
..
backend fix (s3): fix remove a single object (#225) 2020-02-08 01:11:08 +11:00
formater feature (search): content indexing: pdf, docx, txt, pptx, org 2019-04-04 19:34:24 +11:00
files.go fix (path): default path when logging in - #151 2019-04-17 16:32:50 +10:00
index.go feature (search): search feature 2019-04-02 19:48:50 +11:00
permissions.go migrate (name): change project name 2019-01-28 01:09:45 +11:00
search.go improve (config): listen for config changes for reactive configuration 2019-05-22 14:28:31 +10:00
share.go improve (webdav): handle user restriction and password on the webdav server 2019-05-08 11:30:23 +10:00
webdav.go improve (API): Cat now returns a io.ReadCloser to make it obvious it has to be closed 2019-04-04 19:27:06 +11:00