Commit graph

122 commits

Author SHA1 Message Date
MickaelK
45b8fd99e5 fix (plugin): new favicon plugin type 2025-09-15 13:54:11 +10:00
MickaelK
03daa29917 fix (share): update model 2025-09-12 12:48:19 +10:00
MickaelK
b7e0b1ad25 feature (patch): static patches 2025-07-30 15:44:10 +10:00
MickaelK
f53dc6a7a3 fix (webdav): network drive via window 2025-01-21 16:54:01 +11:00
Mickael
d30c3120b6
feature (plugins): expand and migrate plugin - #803
* chore (dockerfile): cleanup dockerfile

* feature (plugin): extend plugin interface

* chore (docker): setup new Dockerfile

* chore (dockerfile): update dockerfile
2025-01-13 15:41:04 +11:00
MickaelK
bc68bf50fe fix (audit): canary audit engine compat 2024-12-06 12:43:01 +11:00
MickaelK
225107005a chore (refactoring): cleanup old code 2024-03-13 00:37:44 +11:00
MickaelK
9e142d5de5 feature (dynamic): make configuration dynamic 2024-03-13 00:18:24 +11:00
Mickael Kerjean
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
Mickael Kerjean
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
Mickael Kerjean
dd6f0ca407 feature (cancellation): logic to cancel request in client and server 2022-09-02 17:26:32 +10:00
Mickael Kerjean
0bfab6eff2 feature (report): activity report plugin 2022-09-02 00:58:43 +10:00
Mickael Kerjean
231e5ba18d feature (auditing): pluggable auditing in admin console 2022-09-01 07:37:59 +10:00
Mickael Kerjean
2c926df4f6 cleanup (samba): cleanup code in samba plugin 2022-02-23 22:12:24 +11:00
Mickael Kerjean
a91df1637d feature (search): search as a plugin 2022-01-14 16:38:42 +11:00
Mickael Kerjean
4186ec057d feature (backend): local backend with admin password 2021-12-22 23:08:36 +11:00
Mickael Kerjean
54388ccd4a maintenance (plugin): move remaining backend to plugin mechanism 2021-12-22 22:53:06 +11:00
Mickael Kerjean
f9b50e823e fix (sftp): fix for sftp on coviantsoftware - mft diplomat 2021-09-29 00:09:51 +10:00
Mickael Kerjean
f7a4e52703 maintain (go): go format 2021-08-22 16:47:09 +10:00
Mickael Kerjean
16b7eb93d3 maintain (plugin): migrate webdav backend as plugin 2021-08-22 13:05:09 +10:00
Lyderic Dutillieux
74169650dc
Fixed a typo in 'Search' feature configuration (#364)
Changed from 'confured' to 'configured'
2021-03-04 21:17:12 +11:00
Mickael Kerjean
d469d0e73c migrate (plugin): migrate ftp backend as a plugin 2020-12-12 00:11:10 +11:00
Mickael Kerjean
66f1f0cd63 fix (rsync.net): wrong assumption in login - #339 2020-11-15 12:53:47 +11:00
thielepaul
0fda2ececc
fix (sftp): use password type for sftp password and passphrase field (#324) 2020-10-23 17:54:54 +11:00
Mickael Kerjean
878466b64b improve (search): add admin configuration 2020-07-01 13:20:16 +10:00
Mickael Kerjean
a4f2141087 fix (test): broken test fix 2020-07-01 02:09:16 +10:00
Mickael Kerjean
86dd9da853 feature (search): fallback search when full text search isn't active 2020-07-01 00:23:17 +10:00
Mickael Kerjean
8f1097273e maintain (s3): migrate s3 as a plugin 2020-06-23 18:15:12 +10:00
Mickael Kerjean
851142284c fix (#279): detect private key in SFTP password 2020-06-07 12:28:23 +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
4266f26649 fix (sftp): openssh private key format with passphrase 2020-05-24 21:41:36 +10:00
Mickael Kerjean
9f25c317ea fix (ftp): connection string for ftp:// or ftps:// 2020-05-08 16:34:56 +10:00
Mickael Kerjean
6f9dff75d9 fix (ftp): ftp url scheme 2020-04-23 17:56:55 +10: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
ef122a7c48 Merge branch 'master' of https://github.com/mickael-kerjean/filestash 2020-02-11 18:17:29 +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
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
995a5f2f04 fix (webdav): handle webdav URL encoding 2019-11-07 12:34:26 +11:00
Zander Hill
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
Mickael Kerjean
b0896f0373 maintenance (migrate): migrate the dropbox backend as a plugin 2019-09-02 15:49:28 +10:00
Mickael Kerjean
f5f0f30cea improve (config): listen for config changes for reactive configuration 2019-05-22 14:28:31 +10:00
Mickael Kerjean
836a74ab7d improve (search): user experience around the search 2019-05-21 17:13:21 +10:00
Mickael Kerjean
810f84c3e3 fix (concurrency): improve concurrent aspect of the search resource 2019-05-17 02:59:22 +10:00
Mickael Kerjean
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