Commit graph

721 commits

Author SHA1 Message Date
Marcin Piwowarczyk
e7bf46eeb5 fix (s3): mv does not work for nested objects
The mv operation executes CopyObject API on the root object, meanwhile
CopyObject doesn't copy the nested objects.

As a result, the user loses all nested objects and after the move
operation gets an empty bucket that requested to move.

This change disallows possibility of moving nested objects.
2020-02-20 07:50:52 +01:00
Mickael Kerjean
f3c4bdb8a8 Merge branch 'master' of https://github.com/mickael-kerjean/filestash 2020-02-18 08:24:50 +11:00
Mickael Kerjean
954ed37668 fix (#229): remove header mutation
On IOS, mutate an HTTP response would throw with the error "Headers object's guard is 'immutable". The idea of that mutation was to provide a way in frontend land to detect when a response is fresh or stale from a cache. As of today, we don't use that information so we removed the associated code
2020-02-18 08:20:59 +11:00
Mickael
4a6de76c93
Revert "fix (s3): fix remove a single object (#225)" (#227)
This reverts commit 42b5043411.
2020-02-12 11:00:16 +11:00
Mickael Kerjean
347f9b016b fix (ftps): remove ftps plugin since ftp and ftps will be merged into one 2020-02-11 19:33:12 +11:00
Mickael Kerjean
ef122a7c48 Merge branch 'master' of https://github.com/mickael-kerjean/filestash 2020-02-11 18:17:29 +11:00
Mickael Kerjean
03877addb7 fix (transcoding): make the config data available from the admin console 2020-02-11 18:17:08 +11:00
Mickael Kerjean
dd57a49d9a fix (ftps): merge ftp and ftps together 2020-02-11 12:31:22 +11:00
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
Marcin Piwowarczyk
1a854aaf4e fix (s3): fix remove a single object
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-07 15:08:57 +01:00
Mickael Kerjean
20dedca9b6 doc (contributing): update build instructions 2020-02-06 12:52:13 +11:00
Mickael Kerjean
ee0a44ae0b fix (syncthing): wrong description - #224 2020-02-05 10:45:50 +11:00
Mickael Kerjean
9f7ede0d5a fix (s3): filter out current prefix from ls results
As reported by Luke, creating a folder on S3 would show a file with the same name in that same folder
2020-02-05 01:45:37 +11:00
Mickael Kerjean
0167930d7c fix (pdf): error on the PDF viewer 2020-01-31 16:46:38 +11:00
Mickael Kerjean
abd329da64 fix (mimetype): missing mimetype on the xdg-open.js 2020-01-21 19:12:09 +11:00
Mickael Kerjean
56b204d3b9 doc (README): update credit to comply with LGPL 2020-01-21 14:51:36 +11:00
Mickael Kerjean
5865e84593 maintain (go): vendor dependencies 2020-01-20 17:12:09 +11:00
Mickael Kerjean
f3c8aed75f improve (support): prepare support for raspberry pi 2020-01-20 13:42:20 +11:00
Mickael Kerjean
2617a3f1d3 doc (README): update content 2020-01-18 21:58:38 +11:00
Mickael Kerjean
00214d2a3a feature (syncthing): syncthing integration 2020-01-15 01:03:13 +11:00
Mickael Kerjean
a190b37f99 maintenance (module): make use of go modules 2020-01-14 01:45:35 +11:00
Mickael Kerjean
0c785954dc improve (gcc): static build 2020-01-13 14:02:56 +11:00
Mickael Kerjean
2426ca4459 Merge branch 'master' of https://github.com/mickael-kerjean/filestash 2020-01-12 17:58:10 +11:00
root
e0e2820b14 feature (arm): static libraries for raspberry pie 2020-01-09 08:19:29 +00:00
Mickael Kerjean
3b3a03da0d maintain (client): maintain project dependencies and relevant upgrade 2020-01-06 23:52:20 +11:00
Mickael Kerjean
b3124b95ec fix (export): org export with PDF: missing dependency 2020-01-05 22:44:09 +11:00
Mickael Kerjean
19a7d418c7 doc (README): LDAP Plugin explanation 2020-01-04 22:31:33 +11:00
Mickael Kerjean
dbc2026448 fix (build): fix access right 2020-01-04 01:06:47 +11:00
Mickael Kerjean
c2990e77d9 fix (onlyoffice): SSL termination for the reverse proxy 2020-01-04 00:07:45 +11:00
Mickael Kerjean
38a2afad7d fix (org): task list tags 2020-01-03 01:00:02 +11:00
Mickael Kerjean
a3f7d766f3 maintain (build): build stages 2020-01-03 00:32:16 +11:00
Mickael Kerjean
84500e6a60 feature (transcoding): video transcoding blacklist 2019-12-21 17:45:51 +11:00
Mickael Kerjean
f3e6c8c030 feature (documents): handle office documents using onlyoffice 2019-12-21 15:17:09 +11:00
Mickael Kerjean
2572594930 doc (README): update list of features 2019-12-19 22:18:34 +11:00
Mickael Kerjean
6799e4dc78 feature (transcoding): don't transcode video formats well supported by browsers 2019-12-18 12:29:41 +11:00
Mickael Kerjean
cb519d7d24 feature (transcoding): update csp 2019-12-18 03:29:25 +11:00
Mickael Kerjean
539a6f086d feature (transcoding): live transcoding 2019-12-18 02:18:58 +11:00
Mickael Kerjean
098d0d4eb1 maintenance (editorconfig): as per #107 2019-12-17 14:01:41 +11:00
Mickael Kerjean
60fe27f4b3 experiment (powered): configurable powered by 2019-12-11 00:41:47 +11:00
Mickael Kerjean
c8f36f1db2 fix (tor): missing tools to run on tor 2019-12-04 10:32:56 +11:00
Mickael Kerjean
0b9bca1c1c improve (responsive): media queries for a smoother experience 2019-11-26 12:35:27 +11:00
Mickael Kerjean
3b7905734a feature (env): set iframe option from an environment variable 2019-11-22 01:26:22 +11:00
Mickael Kerjean
0c105c1ac5 doc (README): add badges 2019-11-19 17:34:33 +11:00
Mickael Kerjean
71f9b24bf7 fix (video): range request had issues breaking videos from webdav ?!? 2019-11-16 01:02:10 +11:00
Mickael Kerjean
8645844950 doc (README): refresh the content 2019-11-15 09:04:22 +11:00
Mickael Kerjean
8deedcd916 improve (pwa): follow the lighthouse tool recommendations for PWAs 2019-11-15 00:12:35 +11:00
Mickael Kerjean
8c1952d59c improve (pwa): provide icon for ios 2019-11-14 22:26:37 +11:00
Mickael Kerjean
6b7c35f9cd fix (#208): create an error message 2019-11-13 23:59:38 +11:00
Mickael Kerjean
a1c5f16729 feature (error): log javascript errors 2019-11-12 00:23:28 +11:00
Mickael Kerjean
9430b38ee7 fix (admin): hide application constant from the admin config screen 2019-11-11 22:55:31 +11:00