114 Commits

Author SHA1 Message Date
8ca7a0e3f9 maintain (path): absolute path
getting things ready to have config coming as a plugin to handle
various distributions
2023-03-02 20:15:56 +11:00
3013141999 clean (sqlite): sqlite without cgo
We want to make it easier to compile the project for newcomers
2022-09-28 13:58:25 +10:00
dd6f0ca407 feature (cancellation): logic to cancel request in client and server 2022-09-02 17:26:32 +10:00
0bfab6eff2 feature (report): activity report plugin 2022-09-02 00:58:43 +10:00
231e5ba18d feature (auditing): pluggable auditing in admin console 2022-09-01 07:37:59 +10:00
2c926df4f6 cleanup (samba): cleanup code in samba plugin 2022-02-23 22:12:24 +11:00
a91df1637d feature (search): search as a plugin 2022-01-14 16:38:42 +11:00
4186ec057d feature (backend): local backend with admin password 2021-12-22 23:08:36 +11:00
54388ccd4a maintenance (plugin): move remaining backend to plugin mechanism 2021-12-22 22:53:06 +11:00
f9b50e823e fix (sftp): fix for sftp on coviantsoftware - mft diplomat 2021-09-29 00:09:51 +10:00
f7a4e52703 maintain (go): go format 2021-08-22 16:47:09 +10:00
16b7eb93d3 maintain (plugin): migrate webdav backend as plugin 2021-08-22 13:05:09 +10:00
74169650dc Fixed a typo in 'Search' feature configuration (#364)
Changed from 'confured' to 'configured'
2021-03-04 21:17:12 +11:00
d469d0e73c migrate (plugin): migrate ftp backend as a plugin 2020-12-12 00:11:10 +11:00
66f1f0cd63 fix (rsync.net): wrong assumption in login - #339 2020-11-15 12:53:47 +11:00
0fda2ececc fix (sftp): use password type for sftp password and passphrase field (#324) 2020-10-23 17:54:54 +11:00
878466b64b improve (search): add admin configuration 2020-07-01 13:20:16 +10:00
a4f2141087 fix (test): broken test fix 2020-07-01 02:09:16 +10:00
86dd9da853 feature (search): fallback search when full text search isn't active 2020-07-01 00:23:17 +10:00
8f1097273e maintain (s3): migrate s3 as a plugin 2020-06-23 18:15:12 +10:00
851142284c fix (#279): detect private key in SFTP password 2020-06-07 12:28:23 +10:00
517ec5bc0b feat (local): translation of common server side errors 2020-05-26 16:20:14 +10:00
71156132db feature (locale): shared error code 2020-05-26 15:03:24 +10:00
4266f26649 fix (sftp): openssh private key format with passphrase 2020-05-24 21:41:36 +10:00
9f25c317ea fix (ftp): connection string for ftp:// or ftps:// 2020-05-08 16:34:56 +10:00
6f9dff75d9 fix (ftp): ftp url scheme 2020-04-23 17:56:55 +10:00
4a6de76c93 Revert "fix (s3): fix remove a single object (#225)" (#227)
This reverts commit 42b5043411fbbbef9c750f0b13bbea9c9acb9055.
2020-02-12 11:00:16 +11:00
ef122a7c48 Merge branch 'master' of https://github.com/mickael-kerjean/filestash 2020-02-11 18:17:29 +11:00
dd57a49d9a fix (ftps): merge ftp and ftps together 2020-02-11 12:31:22 +11:00
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
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
995a5f2f04 fix (webdav): handle webdav URL encoding 2019-11-07 12:34:26 +11:00
56998116c3 fix (S3): incorrect ModifiedAt timestamps for S3 (#200 - #204)
The problem addressed here is that the FileInfo struct's FTime field is
set in S3 backend. This was being passed as milliseconds epoch. That
value was being passed into `time.Unix(x, 0)` which accepts arguments as
either/both (seconds, nanoseconds).

By passing milliseconds to this function expecting seconds, we have
wildly incorrect modified at timestamps.

I tested this against the same bucket that was problematic before and
it's now showing correctly :).
2019-09-29 21:56:14 +10:00
b0896f0373 maintenance (migrate): migrate the dropbox backend as a plugin 2019-09-02 15:49:28 +10:00
f5f0f30cea improve (config): listen for config changes for reactive configuration 2019-05-22 14:28:31 +10:00
836a74ab7d improve (search): user experience around the search 2019-05-21 17:13:21 +10:00
810f84c3e3 fix (concurrency): improve concurrent aspect of the search resource 2019-05-17 02:59:22 +10:00
b54663016c improve (webdav): handle user restriction and password on the webdav server 2019-05-08 11:30:23 +10:00
=
cebb28d093 improve (search): index form content 2019-04-18 14:15:20 +10:00
=
81d224f9e8 fix (path): default path when logging in - #151 2019-04-17 16:32:50 +10:00
=
404c3c01ce security (backend): opt in on host key verification for the SFTP backend 2019-04-17 15:02:12 +10:00
=
3eb8811e81 improve (log): cleanup log messages 2019-04-15 15:41:45 +10:00
=
8794e4c3bb improve (log): relevant log messages 2019-04-15 12:34:36 +10:00
=
3553af94f6 feature (search): new dependency for pdf transcoding: pdftotext 2019-04-12 12:35:00 +10:00
=
801760838c feature (seach): index content subject to search 2019-04-12 02:37:31 +10:00
=
4370dfb8c7 feature (search): cleanup 2019-04-05 17:08:12 +11:00
=
4ba5a7c346 feature (search): content indexing: pdf, docx, txt, pptx, org 2019-04-04 19:34:24 +11:00
=
e88758567d 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
=
48d997066c feature (search): search result, filter out some results from the search 2019-04-03 18:14:35 +11:00
0127fa2c02 feature (search): search feature 2019-04-02 19:48:50 +11:00