Commit graph

598 commits

Author SHA1 Message Date
Mickael Kerjean
ae1adb3dad clean (code): cleanup 2022-01-19 22:58:07 +11:00
Mickael Kerjean
50920396b7 fix (zip): additional debug information on zip 2022-01-19 18:07:18 +11:00
Mickael Kerjean
9e1f71761a fix (sftp): case in username 2022-01-19 10:04:56 +11:00
Mickael Kerjean
b6c71e9333 fix (config): hide non registered config values 2022-01-17 03:37:37 +11:00
Mickael Kerjean
9d477b6110 performance (scoring): x10 faster search matching 2022-01-16 23:09:28 +11:00
Mickael Kerjean
4e7579ab65 feature (search): support for '$' 2022-01-16 20:29:58 +11:00
Mickael Kerjean
57a60fc838 feature (next): support for next in oauth2 backends 2022-01-15 17:28:48 +11:00
Mickael Kerjean
73c2386868 documentation (plugin): add sample code for search plugin 2022-01-15 15:50:35 +11:00
Mickael Kerjean
073e99886a documentation (plugin): sample plugin for search 2022-01-15 15:42:04 +11:00
Mickael Kerjean
f2ba98bf4a documentation (authorisation): example of authorisation plugin 2022-01-15 15:36:56 +11:00
Mickael Kerjean
ebb4247a77 merge 2022-01-15 03:25:36 +11:00
Mickael Kerjean
d53fdeea71 feature (search): search relevance when using stateless plugin 2022-01-15 03:13:32 +11:00
Mildred Ki'Lya
cf827673c0
feature (dav): support for servers who have the username in their URL - #418
In the URL parameters for DAV backends (WebDAV and CalDAV/CardDAV) the
%{username} string is interpolated to the URL encoded username. It
shouldn't conflict with legitimate URLS as %{ is not a valid URL escape
sequence.

This is needed for some servers where the URL contains the username
such as Cyrus IMAP.
2022-01-14 22:51:53 +11:00
Mickael Kerjean
a91df1637d feature (search): search as a plugin 2022-01-14 16:38:42 +11:00
Mickael Kerjean
e827e8149b fix (auth): signature change 2022-01-10 17:42:07 +11:00
Mickael Kerjean
f1c32880a3 refactoring (sso): sso middleware 2022-01-10 00:42:16 +11:00
Mickael Kerjean
632100ac0f clean (code): cleanup the laundry on the server 2022-01-07 01:25:43 +11:00
Mickael Kerjean
d56663e805 cleanup (sso): cleanup sso related plugins 2022-01-07 01:17:33 +11:00
Mickael Kerjean
a2e137bb7a fix (sso): default sso plugin 2022-01-06 20:35:35 +11:00
Mickael Kerjean
61fa462955 feature (sso): sso via admin password 2022-01-06 20:29:32 +11:00
Mickael Kerjean
e5800c6c3b feature (sso): authentication middleware 2022-01-06 20:22:26 +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
46417785ed feature (killswitch): opt in remote killswitch to prevent log4j
Since the log4j issues, we got to think about a way to prevent issues
affecting Filestash. What we came up with is an opt in remote killswitch
which will shut down an application until it's patch appropriatly.
2021-12-20 12:37:02 +11:00
Mickael Kerjean
8c60c12417 feature (letsencrypt): new starter plugin with automatic ssl 2021-11-25 08:28:11 +11:00
Mickael Kerjean
bcf5c467c1 feature (viewer): support wave file 2021-11-24 23:31:30 +11:00
Mickael Kerjean
1f447dc7d0 fix (s3): moving files - no such key error 2021-11-24 23:24:30 +11:00
Mickael Kerjean
b8bc56aea2 fix (share): access when redirection is enabled 2021-11-05 18:23:03 +11:00
Mickael Kerjean
095876d450 feature (config): make cookie timeout configurable by admin 2021-10-30 22:31:14 +11:00
Mickael Kerjean
b28eef6ac3 feature (plugin): enhance blackhole plugin 2021-10-28 00:30:34 +11:00
Mickael Kerjean
7823d275c9 improve (backend): cat from blackhole plugin 2021-10-24 00:14:36 +11:00
Mickael Kerjean
e13262dd36 feature (oauth): redirection link for oauth 2021-10-13 22:54:15 +11:00
Mickael Kerjean
8d413214e2 fix (cabinedit): issue faced by cabinedit 2021-10-06 21:52:19 +11:00
Mickael Kerjean
3eb0384ce5 fix (build): issue in build 2021-10-05 01:03:50 +11:00
Mickael Kerjean
fd395b0f04 improve (upload): remove multipart for faster upload 2021-10-03 03:18:48 +11:00
Mickael Kerjean
924a56aa82 feature (shared): redirect + configurable default access type 2021-10-02 17:16:43 +10:00
Mickael Kerjean
0438aace72 fix (adblock): fix reported adblock issues 2021-09-29 20:08:46 +10:00
Mickael Kerjean
01de913366 Merge branch 'master' of ssh://github.com/mickael-kerjean/filestash 2021-09-29 00:11:53 +10:00
Mickael Kerjean
f9b50e823e fix (sftp): fix for sftp on coviantsoftware - mft diplomat 2021-09-29 00:09:51 +10:00
Quentin Bramas
edbf16871c
fix (#410): error when moving files with the S3 backend
* url encode paths when moving object in the S3 backend

* fix renaming with the same name

Co-authored-by: Quentin Bramas <bramas@unistra.fr>
2021-09-27 20:06:09 +10:00
Jimmy
642f04c955
fix (plugin): fix finding local ip for onlyoffice (#409) 2021-09-27 20:03:54 +10:00
Mickael Kerjean
110280e94b improve (s3): faster whenever using role based binding on ec2 2021-09-27 19:59:11 +10:00
Mickael Kerjean
2e86ac7bb2 improve (admin): additional customisations on admin console 2021-09-19 14:04:11 +10:00
Mickael Kerjean
be09a0f60f fix (access): UI should show/hide according to plugin meta 2021-09-16 23:21:36 +10:00
Mickael Kerjean
1c337f5c57 improve (log): additional debugging 2021-09-14 22:37:37 +10:00
Mickael Kerjean
3214cfd588 feature (s3): add ec2 role base authentication 2021-09-12 17:16:32 +10:00
Mickael Kerjean
47751a446f fix (ftp): issue on microsoft FTP 2021-09-04 23:02:03 +10:00
Filip Hanes
0360412444
feature (s3): implement mv - #405
* WIP: implement s3 recursive Mv

* fix recursive move, add logs
2021-08-30 23:48:20 +10:00
Pablo Ovelleiro Corral
09a6b8f6c0
feature (nixos): working directory override - #403 2021-08-30 23:35:08 +10:00
Mickael Kerjean
c2992b1185 improve (log): additional logging 2021-08-28 15:44:08 +10:00
Mickael Kerjean
929064b55f maintenance (iframe): content security policy update 2021-08-23 00:00:57 +10:00
Mickael Kerjean
51ed97cc9d fix (test): broken test 2021-08-22 20:46:05 +10:00
Mickael Kerjean
f7a4e52703 maintain (go): go format 2021-08-22 16:47:09 +10:00
Mickael Kerjean
a0b2ca72ed merge 2021-08-22 16:43:25 +10:00
Mickael Kerjean
4ef1017e65 merge 2021-08-22 16:41:45 +10:00
Mickael Kerjean
5e43f1a4b3 feature (migration): config migration mechanism 2021-08-22 16:37:05 +10:00
Mickael Kerjean
b26bdfa1c6 merge 2021-08-22 13:11:22 +10:00
Mickael Kerjean
fdc95f8af7 fix (test): missing webdav backend 2021-08-22 13:09:09 +10:00
Mickael Kerjean
a67681f454 maintain (feature): remove option from admin backend 2021-08-22 13:08:59 +10:00
Mickael Kerjean
5e24d66903 feature (refresh): option to refresh content after upload 2021-08-22 13:08:40 +10:00
Mickael Kerjean
8543b51b6b merge 2021-08-22 13:08:11 +10:00
Mickael Kerjean
137b36e0a7 feature (logout): customisable logout button 2021-08-22 13:05:09 +10:00
robertDawson2
d581e8b4ca fix (multipart): remove multipart form data - #401
* added line to fix caching issue on upload, where cache does not clear

* removed comments and added error logging line

Co-authored-by: Bobby Dawson <bobby@donorsearch.net>
2021-08-22 13:05:09 +10:00
Mickael Kerjean
dd81b56094 improve (webdav): error reporting on webdav backend 2021-08-22 13:05:09 +10:00
Mickael Kerjean
16b7eb93d3 maintain (plugin): migrate webdav backend as plugin 2021-08-22 13:05:09 +10:00
Mickael Kerjean
39f6987465 cleanup (#381): fit pull request 2021-08-22 13:05:09 +10:00
Quentin Bramas
31564efaec feature (#381): option to limit the number of simultaneous upload (#381)
* add an option to change the number of parallel uploads

* undo automatic format

Co-authored-by: Quentin Bramas <bramas@unistra.fr>
2021-08-22 13:05:09 +10:00
Mickael Kerjean
96c32d4447 fix (share): uplaod files on shared links with upload rights 2021-08-19 00:45:59 +10:00
Mickael Kerjean
2b5ddcdd14 fix (test): missing webdav backend 2021-08-18 20:19:28 +10:00
Mickael Kerjean
d91726e7a1 maintain (feature): remove option from admin backend 2021-08-15 00:41:09 +10:00
Mickael Kerjean
16310b9fe0 feature (refresh): option to refresh content after upload 2021-08-13 00:41:45 +10:00
Mickael Kerjean
3808ed856b feature (menubar): toggle menubar from admin setting 2021-08-08 22:01:56 +10:00
Mickael Kerjean
c8c544051a feature (logout): customisable logout button 2021-08-08 21:47:53 +10:00
Mickael Kerjean
0b98838ff4 Merge branch 'master' of https://github.com/mickael-kerjean/filestash 2021-07-31 02:59:39 +10:00
Mickael Kerjean
b6ccd2c151 improve (webdav): error reporting on webdav backend 2021-07-31 02:23:08 +10:00
Mickael Kerjean
cba286bd43 maintain (plugin): migrate webdav backend as plugin 2021-07-31 00:14:51 +10:00
robertDawson2
bacc3c579a
fix (multipart): remove multipart form data - #401
* added line to fix caching issue on upload, where cache does not clear

* removed comments and added error logging line

Co-authored-by: Bobby Dawson <bobby@donorsearch.net>
2021-07-27 14:23:43 +10:00
Mickael Kerjean
80949194b7 cleanup (#381): fit pull request 2021-07-20 00:55:23 +10:00
Quentin Bramas
0fc6d4d32c
feature (#381): option to limit the number of simultaneous upload (#381)
* add an option to change the number of parallel uploads

* undo automatic format

Co-authored-by: Quentin Bramas <bramas@unistra.fr>
2021-07-20 00:48:44 +10:00
Mickael Kerjean
bf59247846 maintain (config): remove deprecated config 2021-07-19 00:49:14 +10:00
Mickael Kerjean
ec89a05455 feature (image): another image plugin 2021-06-27 03:26:23 +10:00
Mickael Kerjean
9c8d51c03e feature (image): pure golang image resizing 2021-06-27 03:07:59 +10:00
Mickael
700c02ece4 feature (logout): customisable logout button 2021-06-20 15:36:25 +10:00
Jay Thomason
136afbeac2
improve (s3): support for prefixes with > 1k objects (#395)
Previously filestash would only show the first 1000 objects in a given
s3 prefix.

We solve this by paginating the ListObjectsV2 responses and iterating
over all pages instead of just the first one.

Tested by manually connecting to a private s3 bucket with multiple
thousands of objects under a single prefix and verifying that all
objects are visible in the UI.
2021-05-25 22:00:23 +10:00
Quentin Bramas
bbe21185b6
improve (upload): Limit memory usage when parsing multipart form data, so that large files are stored in disk (#382)
Co-authored-by: Quentin Bramas <bramas@unistra.fr>
2021-05-25 21:57:46 +10:00
Mickael
83d240209b maintain (version): version bump to v0.5 2021-05-11 22:19:09 +10:00
Mickael
ef4bfb57f8 Merge branch 'master' of https://github.com/mickael-kerjean/filestash 2021-05-08 00:09:43 +10:00
Mickael
fc4d8363e4 plugin (samba): disable by default
This plugin which came through a PR is giving issues to users which have been saying "I found it to perform quite poorly during browsing" which is a no no. One can still compile Filestash with this plugin, we'll simply disable it by default for the time being
2021-04-26 10:57:30 +10:00
thielepaul
d37497cd0e
fix(zip): close file after copying to zip (#388) 2021-04-06 20:47:15 +10:00
Mickael
cddbcfc6d1 feature (zip): configurable timeout on zip download 2021-03-29 23:44:24 +11:00
Mickael Kerjean
eb81398ce8 feature (zip): download file(s) at once 2021-03-21 23:01:10 +11:00
Mickael Kerjean
32891e62bc fix (leak): ressource leak on FTP 2021-03-21 16:16:24 +11: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
0178630b7b fix (IE): show message for IE users 2021-03-04 21:12:20 +11:00
Mickael Kerjean
f15cd1959b cleanup (tunnel): deprecate step 2 of the setup 2020-12-22 19:24:25 +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
Brandon Davis
d6ad96f9f4
fix (S3): use ListObjectsV2 - #334 2020-10-24 00:49:54 +11:00
thielepaul
0fda2ececc
fix (sftp): use password type for sftp password and passphrase field (#324) 2020-10-23 17:54:54 +11:00
thielepaul
78c1c6b7b3
feature (css): allow users to set custom css in admin panel - #332 2020-10-19 01:26:00 +11:00
Ben Fiedler
23e0de8e6e
feature (samba): samba backend - #309 2020-10-06 23:07:03 +11:00
Brandon Davis
6adf96d66e
feat (s3): adds session token to config (#306) 2020-09-15 19:36:35 +10:00
Mickael Kerjean
3bdbba92df fix (path): windows path bug #299 2020-08-31 14:13:16 +10:00
Mickael Kerjean
5b22a6015c feature (health): health check endpoint 2020-08-23 13:16:15 +10:00
Mickael Kerjean
fad90e4c06 feature (security): add well known security endpoint 2020-08-06 23:09:18 +10:00
Mickael Kerjean
f2fa1f489e improve (404): SVG artwork from pixeltrue.com 2020-08-05 11:48:25 +10:00
Mickael Kerjean
8fcb721c13 option (tty): reenable tty plugin on non cloud instance 2020-08-03 19:04:04 +10:00
Mickael Kerjean
b80ac691e0 fix (admin): log visibility 2020-07-27 12:27:30 +10: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
4cbeb2c095 improve (pdf): fallback to pdfjs whenever native PDF renderer is missing 2020-06-30 00:30:02 +10:00
Mickael Kerjean
06f00bdf7a backend (backblaze): handle error code as per the integration checklist 2020-06-24 00:45:29 +10:00
Mickael Kerjean
d249ed2b0a backend (backblaze): remove application key from hash calculation 2020-06-24 00:07:51 +10:00
Mickael Kerjean
5eeb22a559 backend (backblaze): set user agent as per integration checklist 2020-06-24 00:05:17 +10:00
Mickael Kerjean
078e25b97b fix (backblaze): login issue 2020-06-23 23:49:30 +10:00
Mickael Kerjean
6667725e12 fix (s3): moving folder isn't unsupported 2020-06-23 22:43:53 +10:00
Mickael Kerjean
e0b8bf2e70 fix (s3): rm merge 2020-06-23 21:45:42 +10:00
Mickael Kerjean
ade3c332e8 fix (s3): s3 rm bug - #228 2020-06-23 21:25:16 +10:00
Mickael Kerjean
a40c2f7a53 fix (s3): error when path in ls doesn't exist 2020-06-23 18:56:40 +10:00
Mickael Kerjean
8f1097273e maintain (s3): migrate s3 as a plugin 2020-06-23 18:15:12 +10:00
Mickael Kerjean
be798ee4ab fix (build): update build 2020-06-19 14:07:20 +10:00
Mickael Kerjean
bdf8d9a931 improve (config): common issue on install problems 2020-06-18 00:16:42 +10:00
Mickael Kerjean
46b0858f69 improve (log): logs tty event 2020-06-17 12:45:47 +10:00
Mickael Kerjean
a0b841d8e6 maintain (code): remove unused config 2020-06-16 13:38:24 +10:00
Mickael Kerjean
851142284c fix (#279): detect private key in SFTP password 2020-06-07 12:28:23 +10:00
Mickael Kerjean
210118b3a9 feature (mode): create a dark mode 2020-05-27 21:51:21 +10:00
Mickael Kerjean
91797bc2b3 fix (log): clearer log message for host value missmatch 2020-05-26 17:11:43 +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
f82a58d900 fix (image): disable image resizing for gif 2020-04-29 00:44:59 +10:00
Mickael Kerjean
6f9dff75d9 fix (ftp): ftp url scheme 2020-04-23 17:56:55 +10: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
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
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
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
00214d2a3a feature (syncthing): syncthing integration 2020-01-15 01:03:13 +11:00
Mickael Kerjean
0c785954dc improve (gcc): static build 2020-01-13 14:02:56 +11:00
root
e0e2820b14 feature (arm): static libraries for raspberry pie 2020-01-09 08:19:29 +00:00
Mickael Kerjean
c2990e77d9 fix (onlyoffice): SSL termination for the reverse proxy 2020-01-04 00:07:45 +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
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
3b7905734a feature (env): set iframe option from an environment variable 2019-11-22 01:26:22 +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
8deedcd916 improve (pwa): follow the lighthouse tool recommendations for PWAs 2019-11-15 00:12:35 +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
5496796a12 fix (image): broken images to display the image gps tag 2019-11-11 22:24:45 +11:00
Mickael Kerjean
58c6c57f82 feature (iframe): embed the app from an iframe 2019-11-11 22:23:11 +11:00
Mickael Kerjean
c3d46c3abe fix (#209): fix emacs export error 2019-11-11 00:13:07 +11:00
Mickael Kerjean
995a5f2f04 fix (webdav): handle webdav URL encoding 2019-11-07 12:34:26 +11:00
Mickael Kerjean
04c36d4167 doc (pi): dependencies build for raspberry pi 2019-11-07 12:34:14 +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
ff08a5ee4b doc (transcode): create the static library 2019-08-30 17:41:52 +10:00
Mickael Kerjean
a3c347a37c maintenance (code): consistent style 2019-08-30 11:08:59 +10:00
Mickael Kerjean
6692952af7 doc (libtranscode): creating a static library 2019-08-29 15:12:35 +00:00
Mickael Kerjean
4a0b952ba8 improve (build): make build reproducible and easy to inspect/verify 2019-08-20 00:34:24 +10:00
Mickael Kerjean
4814175f00 fix (#187): handle simlinks 2019-08-13 16:02:00 +01:00
Mickael Kerjean
71e3d6494a optimise (lighthouse): apply optimisations provided by the lighthouse tool 2019-08-03 12:13:47 +02:00
Mickael Kerjean
7564ecb773 fix (backend): install LDAP backend by default 2019-07-24 08:08:56 +02:00
Mickael Kerjean
d2e9424642 feature (ftps): add FTPs #169 2019-07-01 17:01:07 +02:00
Mickael Kerjean
fc0189a2c0 fix (IE): block IE to avoid a shitty experience of their platform 2019-05-27 22:10:40 +10:00
Mickael Kerjean
f5f0f30cea improve (config): listen for config changes for reactive configuration 2019-05-22 14:28:31 +10:00
Mickael Kerjean
ba0243fa5d fix (tor): improve configuration of the TOR server 2019-05-22 02:43:07 +10:00
Mickael Kerjean
836a74ab7d improve (search): user experience around the search 2019-05-21 17:13:21 +10:00
Mickael Kerjean
b1b142a620 cleanup (admin): disabling constants edit from the console 2019-05-17 13:39:41 +10:00
Mickael Kerjean
fea7050b1e fix (console): wss issue 2019-05-17 11:07:45 +10:00
Mickael Kerjean
810f84c3e3 fix (concurrency): improve concurrent aspect of the search resource 2019-05-17 02:59:22 +10:00
Mickael Kerjean
e552b2b40d feature (console): new plugin that offer a debugging console 2019-05-17 01:57:38 +10:00
Mickael Kerjean
2da7664014 feature (setup): complete rewrite of the setup wizard adding features such as automatic DNS 2019-05-16 14:39:14 +10:00
root
5597d6ec88 feature (tuneel): HTTP tunnel via websocket to expose instance on the internet 2019-05-15 15:08:52 +10:00
Mickael Kerjean
0350790cfb maintain (refactoring): refactor server code for easier maintenance 2019-05-13 18:03:50 +10:00
Mickael Kerjean
01d36f1601 feature (HTTP2): support HTTP2 as a server 2019-05-12 02:33:10 +10:00
Mickael Kerjean
bceeadecae feature (https): support for HTTPS on the server 2019-05-12 02:21:39 +10:00
Mickael Kerjean
cd771319a7 improve (http): cleanup code 2019-05-11 02:57:37 +10:00
Mickael Kerjean
2ae2673df9 feature (tor): cooking some onions - Unstable 2019-05-10 18:20:04 +10:00
Mickael Kerjean
3d9fa49698 improve (plugin): expose routes via plugins 2019-05-10 18:18:02 +10:00
Mickael Kerjean
9b1bad4b5c optimise (CSP): follow recommendations from mozilla observatory 2019-05-10 15:49:45 +10:00
Mickael Kerjean
edf578e710 improve (UA): set a user-agent on HTTP queries that make sense
eg: 'Filestash/v0.4rc.20190510 (http://filestash.app)'
2019-05-10 15:20:13 +10:00
Mickael Kerjean
a327c41a78 improve (csp): Content Security Policy headers 2019-05-10 13:43:52 +10:00
Mickael Kerjean
8aa589b3d5 improve (compression): on the fly gzip compression for a few endpoints 2019-05-09 17:03:40 +10:00
Mickael Kerjean
3899e26a81 fix (boot): docker gives weird errors when using localhost within a containe 2019-05-09 15:08:36 +10:00
Mickael Kerjean
93ede2068e improve (http): Mozilla observatory tips 2019-05-09 01:25:51 +10:00
Mickael Kerjean
7f34aaea2c improve (speed): support for brotli compression 2019-05-09 00:43:05 +10:00
Mickael Kerjean
eeef0f174c improve (lock): leverage RWLock 2019-05-08 15:16:23 +10:00
Mickael Kerjean
b54663016c improve (webdav): handle user restriction and password on the webdav server 2019-05-08 11:30:23 +10:00
Mickael Kerjean
9836edacbf maintain (telemetry): update API to a custom endpoint 2019-05-07 14:16:54 +10:00
Mickael Kerjean
3cae9016a0 maintenance (code): fix typos 2019-05-07 11:46:23 +10:00
Mickael Kerjean
57afe01f73 Merge branch 'master' of http://github.com/mickael-kerjean/filestash 2019-05-07 11:44:18 +10:00
Jeanjean Pierre
53c8e43bcc improve (UI): Add option to always display upload button (#161)
* improve (signature): sign build with gpg

* Add option to always display upload button
2019-05-07 11:43:41 +10:00
Mickael Kerjean
2feed9127e improve (efficiency): improve memory efficiency for resource intensive tasks 2019-05-06 15:16:57 +10:00
Mickael Kerjean
2c271e02fc improve (favicon): remove redirection on favicon 2019-05-03 00:08:52 +10:00
Mickael Kerjean
5f7de7826a fix (build): transform the build to push for static program 2019-05-02 23:40:55 +10:00
Mickael Kerjean
ebcf3a3569 build (maintenance): upgrade build with latest changes 2019-05-01 02:14:10 +10:00
Mickael Kerjean
645dddafec feature (pages): create some error pages 2019-05-01 01:15:08 +10:00
Mickael Kerjean
c130e98c7c maintenance (cleanup): remove dead code 2019-04-30 14:27:50 +10:00
Mickael Kerjean
b3dc3f04b3 improve (C deps): improve interaction with C code + various fix 2019-04-30 13:21:06 +10:00
=
ca5198ac0b improve (static): attempt at statically compile everything - revamp 2019-04-29 19:26:11 +10:00
=
191ddbd11f improve (plg_security_scanner): new endpoint from actual logs 2019-04-24 01:31:19 +10:00
=
2f74a00879 fix (thumbnail): memory leak found using ab 2019-04-23 19:00:03 +10:00
=
e0b31a34d2 improve (debug): add a few more debugging endpoints 2019-04-23 14:26:59 +10:00
=
2eaf171e49 improve (debug): cleanup debug endpoint + memory endpoint 2019-04-23 12:16:05 +10:00
=
b2d6f5f1e4 feature (plg_security_svg): admin can decide upon viewing svg documents 2019-04-22 21:15:28 +10:00
=
17a4123f8e improve (plg_security_scanner): add a bunch of other rules found from production logs 2019-04-22 16:57:57 +10:00
=
4300867113 fix (svg): svg images would not display properly 2019-04-22 15:54:45 +10:00
=
290a61d1cf improve (ldap): cache already opened connections for much better visible performance 2019-04-18 15:02:46 +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
=
6607a7bcd1 fix (admin): typo in admin console 2019-04-17 14:19:35 +10:00
=
f9f7b5c4d3 feature (backend): add a mysql backend 2019-04-17 12:59:23 +10:00
=
23ab6dbf51 fix (about): broken config hash 2019-04-17 01:14:16 +10:00
=
3eb8811e81 improve (log): cleanup log messages 2019-04-15 15:41:45 +10:00
=
a17dd11ce6 fix (cache): fix concurrency issue where our mutex wasn't lock properly 2019-04-15 13:09:44 +10:00
=
762977190d improve (go): use old APIs instead of brand new one 2019-04-15 12:58:36 +10:00
=
20f92b4c0b fix (boot): infinite loop when booting - #154 2019-04-15 12:35:08 +10:00
=
8794e4c3bb improve (log): relevant log messages 2019-04-15 12:34:36 +10:00
=
52c48223ba improve (log): write in stdout as well as log file 2019-04-15 12:19:04 +10:00
=
1623b53103 maintenance (plugin): API change on the image transcoding service 2019-04-14 21:54:22 +10:00
=
a5125906e7 feature (search): in the context of a shared link 2019-04-13 00:43:38 +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
Mickael
0127fa2c02
feature (search): search feature 2019-04-02 19:48:50 +11:00
Mickael KERJEAN
ce2f3cfc2b feature (webdav): build webdav server from shared link 2019-03-25 22:08:45 +11:00
Mickael KERJEAN
133d2257b9 improvement (boot): better boot messages 2019-03-21 02:33:34 +11:00
Mickael KERJEAN
b688c470a5 fix (IE): better nothing than something half working for IE, will remove when IE is properly tested 2019-03-19 13:07:17 +11:00
Mickael KERJEAN
872a6e0cd0 fix (bug): issue in date formatting and file size using the webdav backend - #143 2019-03-18 23:08:58 +11:00