Commit graph

795 commits

Author SHA1 Message Date
Mickael Kerjean
91797bc2b3 fix (log): clearer log message for host value missmatch 2020-05-26 17:11:43 +10:00
Mickael
f30787785c
feature (translation): first step towards i18n #248 (#270) 2020-05-26 16:42:12 +10:00
Mickael Kerjean
d2d4c92aba fix (local): edge case around new file and new folder 2020-05-26 16:39:11 +10:00
Mickael Kerjean
517ec5bc0b feat (local): translation of common server side errors 2020-05-26 16:20:14 +10:00
Mickael Kerjean
71156132db feature (locale): shared error code 2020-05-26 15:03:24 +10:00
Mickael Kerjean
5eb6ac68af clean (locale): api for locale 2020-05-26 02:16:42 +10:00
Mickael Kerjean
a9834d374c feature (translation): first step towards i18n #248 2020-05-26 02:02:34 +10:00
Mickael Kerjean
8c00161f73 test (sftp): fix broken tests for 4266f26649 2020-05-24 22:54:22 +10:00
Mickael Kerjean
4266f26649 fix (sftp): openssh private key format with passphrase 2020-05-24 21:41:36 +10:00
Mickael Kerjean
f87faab58b update (maintenance): small changes from #267 2020-05-23 18:37:48 +10:00
Sergei Azarkin
865ba7ded6
feature (upload): upload queue that show progress with abort and retry - #267 2020-05-23 16:43:39 +10:00
Mickael Kerjean
b58cb5ebd2 fix (export): image in emacs html export 2020-05-12 13:14:06 +10:00
Mickael Kerjean
53d65c43ac feature (export): prettify emacs html export 2020-05-12 12:31:26 +10:00
Mickael Kerjean
300000186b maintain (iframe): remove logout button when used as an iframe 2020-05-10 19:18:48 +10:00
Mickael Kerjean
9f25c317ea fix (ftp): connection string for ftp:// or ftps:// 2020-05-08 16:34:56 +10:00
Mickael Kerjean
107cfd87ce doc (README): update links 2020-05-04 23:09:35 +10:00
Mickael Kerjean
3ae99b71b6 maintain (github): install stalebot 2020-05-04 17:52:16 +10:00
Mickael Kerjean
f82a58d900 fix (image): disable image resizing for gif 2020-04-29 00:44:59 +10:00
Mickael Kerjean
879a2ed76c Merge branch 'master' of ssh://github.com/mickael-kerjean/filestash 2020-04-23 17:57:04 +10:00
Mickael Kerjean
6f9dff75d9 fix (ftp): ftp url scheme 2020-04-23 17:56:55 +10:00
Jakub Janowski
b7b45f2271
fix (upload): remove loading objects in case of batch operation fails (#243) 2020-03-11 23:26:55 +11:00
Mickael Kerjean
a1df5241a0 fix (persistance): change path of config folders - #183 2020-03-05 22:14:08 +11:00
Mickael Kerjean
2c891c35c8 fix (#234): missing mime type 2020-03-05 21:30:30 +11:00
brxie
c117c99401
fix (config): synchronise cache writes (#237)
Cache writes used in Config.Get() method wasn't synchronized.
Use sync.Mutex to make it thread-save.
2020-03-03 08:47:59 +11:00
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