Commit graph

922 commits

Author SHA1 Message Date
MickaelK
ff2a88a581 fix (transcoding): video transcoding plugin in canary 2024-09-09 00:26:00 +10:00
MickaelK
fa8e578840 fix (cookie): safari cookie on SSO 2024-09-08 19:22:28 +10:00
MickaelK
fe736b755d fix (cookie): sso cookie issue on safari
whenever using an iframe, cookies are a problem in cross domain setup as
browser like safari got that disabled entirely. We had to find a
solution to work with Safari properly, hence passing the data through
URL
2024-09-07 01:57:31 +10:00
MickaelK
1cbda3519f fix (iframe): cross domain iframe issue on safari 2024-09-06 17:23:15 +10:00
MickaelK
8dc89e58fc fix (about): about page css 2024-09-06 08:47:18 +10:00
MickaelK
7d8f6c9635 fix (cookie): partitioned cookie in chrome 2024-09-06 03:04:41 +10:00
MickaelK
919ee10a81 fix (iframe): iframe cookie block rollout 2024-09-06 00:52:26 +10:00
MickaelK
e01a4f6c9f fix (plg_backend_local): issue with home calculation 2024-08-29 00:07:15 +10:00
zemzema
24cd34feba
fix (onlyoffice): PR #724
* Change var from %t to %s

Made mistake that I presume that function expected boolean, and I got error. With %s or expect string problem is solved.

* Only office configure enable/disable chat and print

Added two more options that can be configured in Onlyoffice through OnlyOffice API.

* Fixed type, and added additional options

* Added features can_copy and can_comment

Added more features in plug in for interaction with Onlyoffice.
2024-08-28 08:02:26 +10:00
MickaelK
00fc2ee960 fix (plg_image_c): fix issue brought by #731 2024-08-11 16:26:57 +10:00
zyAmo
d30be7cfb6
fix (#713): use input image colorspace for output image - #723 2024-08-07 22:08:33 +10:00
Yonas Yanfa
54468eb2c5
feature (freebsd): PR #643 off master. (#731)
Co-authored-by: Yonas <yonas@mail.lan>
2024-08-07 22:06:27 +10:00
zemzema
a2848c95de
feature (onlyoffice): view only in only office (#715)
* Update index.go

Enable/Disable edit only Office documents

* Function typo

Function type

* feature (onlyoffice): view only in only office

Added onlyoffice_can_edit in plugin_enable so that target attribute  can be toggled and only appear when only office is enabled.

* feature (onlyoffice): view only in only office

Code formating.
2024-07-23 18:56:08 +10:00
MickaelK
ae0eb94c61 feature (middleware): expose gcm encrypt to templating 2024-07-22 22:48:18 +10:00
MickaelK
da20ac8b70 fix (preload): preload assets cleanup 2024-07-22 17:31:55 +10:00
MickaelK
4f26bb265a fix (caching): retrocompatibility over previous release 2024-07-22 17:27:06 +10:00
MickaelK
2f8b615e6e chore (cache): caching problems + bigfixes 2024-07-22 08:12:42 +10:00
MickaelK
a019d9344d fix (cache): caching issues 2024-07-21 23:42:10 +10:00
MickaelK
27f475d358 chore (rewrite): improve loading speed on new release 2024-07-19 07:54:15 +10:00
MickaelK
6ae82fab5e chore (rewrite): static file handling 2024-07-16 23:11:10 +10:00
MickaelK
a6a202495c feature (patch): dynamic patching of assets
This is to enable static assets to be patched dynamically via a plugin.
The idea is to be able to apply things like custom branding, custom
banners and change in the behavior of the software via plugins that
override the core
2024-07-16 08:28:28 +10:00
MickaelK
e854211d7f chore (rewrite): prepare initial release 2024-07-15 21:41:48 +10:00
MickaelK
591e50053c chore (rewrite): improve user experience 2024-07-05 18:31:34 +10:00
MickaelK
5099422836 feature (languages): locale awareness for plugin 2024-07-01 19:11:35 +10:00
MickaelK
4621986e25 fix (build): broken build in debian 2024-06-29 02:13:31 +10:00
MickaelK
f4fe61c512 chore (maintenance): deprecate old thumbnail plugin 2024-06-27 23:43:51 +10:00
MickaelK
63ae5f2ed8 feature (middleware): middleware as a plugin 2024-06-26 23:47:07 +10:00
MickaelK
4f6ceb3fa0 chore (canary): canary release for rewrite 2024-06-24 23:19:40 +10:00
MickaelK
d020f4c1bd fix (plugin): oopsy 2024-06-24 21:17:38 +10:00
MickaelK
e1b477b65b feature (base): configurable base 2024-06-21 21:05:44 +10:00
MickaelK
f0895fc483 feature (canary): toggle for canary release 2024-06-13 22:32:04 +10:00
MickaelK
d898231918 fix (plg_backend_samba): host format issue 2024-06-06 08:36:44 +10:00
MickaelK
28bf80ae2a chore (plg_backend_local): improve error message 2024-06-05 02:34:31 +10:00
MickaelK
5b89af8237 chore (extand): additional attributes for htpasswd 2024-06-04 08:06:24 +10:00
MickaelK
30b8075308 fix (panic): prevent panic in full text search plugin 2024-06-04 08:02:13 +10:00
MickaelK
fd437353ac chore (maintain): follow changes in plg_search_sqlitefs 2024-06-04 07:12:39 +10:00
MickaelK
742b5be307 chore (maintain): htpasswd failed build 2024-06-04 01:56:36 +10:00
MickaelK
b4043715d2 chore (maintenance): dependency upgrade 2024-06-04 01:21:34 +10:00
MickaelK
d554c81fa5 fix (build): broken build on dependency 2024-06-04 00:26:58 +10:00
MickaelK
b9baf7d1f7 chore (rewrite): enable canary release 2024-06-04 00:04:22 +10:00
MickaelK
708ba9ea21 chore (plg_backend_nfs): make usefull function public 2024-05-29 00:50:55 +10:00
MickaelK
0387d55e92 fix (plg_backend_nfs): filter out when user don't have access 2024-05-17 03:03:30 +10:00
MickaelK
b87fbe9948 fix (audit): hint to auditor 2024-05-17 03:01:50 +10:00
MickaelK
63c2f0ebf4 fix (plg_backend_nfs): make nfs auditable 2024-05-17 02:28:14 +10:00
MickaelK
fe7ad8f1ad fix (plugin): enable plugin extensions/override 2024-05-17 01:16:43 +10:00
MickaelK
0fe75a8a18 fix (plg_backend_nfs): programming error in nfs edge case 2024-05-09 21:41:28 +10:00
MickaelK
03603837a1 feature (nfs): 16 group limit sorting 2024-05-07 23:05:47 +10:00
MickaelK
3b003c3725 feature (authorisation): change authorisation via plugin 2024-05-04 01:39:36 +10:00
MickaelK
3a332cc285 fix (plg_backend_nfs): gids access calculation 2024-05-02 08:20:33 +10:00
MickaelK
6231b6f2ab fix (plg_backend_nfs): AUTH_UNIX NFS group limit 2024-05-01 18:20:36 +10:00
MickaelK
1cfa0bb919 fix (plg_backend_nfs): edge case for groups size limit 2024-05-01 18:08:33 +10:00
MickaelK
861fe2ad4a chore (debug): additional debug info 2024-05-01 08:50:43 +10:00
MickaelK
58bda70412 feature (smb): make configuration more user friendly on smb 2024-04-30 22:28:22 +10:00
MickaelK
f5753e8de7 fix (plg_editor_onlyoffice): broken plugin after migration 2024-04-22 01:54:27 +10:00
MickaelK
be716e6cf9 fix (time): hide time whenever not available 2024-04-22 01:05:20 +10:00
MickaelK
87d6911288 fix (webdav): network drive permissions 2024-04-21 20:38:32 +10:00
MickaelK
335fbe945a feature (azure): support for azure container 2024-04-17 00:57:52 +10:00
MickaelK
dabdc03a73 chore (GenerateID): change signature for GenerateID 2024-04-15 22:18:16 +10:00
MickaelK
c7446f3113 fix (nfs): permission for base case 2024-04-15 20:40:23 +10:00
MickaelK
0a728c695b fix (plg_backend_nfs): support auxiliary gids 2024-04-15 19:14:59 +10:00
MickaelK
ee2ce3f5c5 chore (plg_backend_nfs): splitdown plugin onto smaller chunks 2024-04-14 22:12:45 +10:00
MickaelK
3cab180956 fix (nfs4): broken nfs4 plugin 2024-04-03 21:50:26 +11:00
MickaelK
8ece5301db fix (typo): typo in scanner block logic 2024-04-02 20:05:44 +11:00
MickaelK
c906a4d264 Merge branch 'master' of ssh://github.com/mickael-kerjean/filestash 2024-04-02 18:57:13 +11:00
MickaelK
3d65a40273 feature (csp): admin option to enable/disable csp
One of the use case for this is to be able to open an html document via
an iframe and have the content of the document to be fully loaded when
we can assume the storage setup in Filestash is trusted
2024-04-02 18:53:34 +11:00
Mickael
8de87be06f chore (refactoring): cleanup server middleware 2024-03-26 07:42:59 +11:00
MickaelK
3d4aa9c785 chore (debt): cleanup tech debt 2024-03-19 07:54:49 +11:00
MickaelK
4244c9c604 feature (path): configurable path for generated data 2024-03-18 21:06:18 +11:00
MickaelK
da5d076e4e chore (log): logger init order 2024-03-18 20:59:51 +11:00
MickaelK
af75e96250 chore (cleanup): plugins cleanup 2024-03-14 20:53:57 +11:00
MickaelK
c96dd9f5d1 fix (test): broken utest 2024-03-13 01:12:12 +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
MickaelK
845c4584d3 chore (log): simplify init logic 2024-03-12 17:29:42 +11:00
MickaelK
436f41b3d5 chore (cleanup): regroup app constants 2024-03-12 17:22:39 +11:00
MickaelK
ab14520c6a chore (debug): additional debug information 2024-03-06 01:17:58 +11:00
MickaelK
ae70b692e6 fix (panic): possible panic when used with full text search engine 2024-02-29 01:34:32 +11:00
MickaelK
9c6d337c7f fix (panic): possible panic in search using reflection 2024-02-26 01:36:46 +11:00
MickaelK
6ab60bb38d chore (cleanup): typos 2024-02-01 01:15:13 +11:00
MickaelK
f3104700f1 chore (plg_video_transcoder): cleaner 2024-02-01 01:08:33 +11:00
MickaelK
991a6cc43e chore (log): debug log on samba plugin 2024-01-31 13:05:53 +11:00
MickaelK
24e7b5eb35 fix (plg_search_sqlitefts): prevent context expiration if possible 2024-01-31 01:01:35 +11:00
MickaelK
4660f3a2ff feature (plg_backend_s3): calculate the right mime type 2024-01-25 21:44:55 +11:00
MickaelK
0c2e5f1351 feature (plg_backend_nfs): add option to calculate uid/gid 2024-01-10 18:32:37 +11:00
MickaelK
0367f45089 feature (nfs): improve nfs implementation 2024-01-06 17:42:02 +11:00
MickaelK
409f1bc09f feature (chroot): add chroot option to nfs backends 2024-01-06 17:17:46 +11:00
MickaelK
763201eaa6 feature (plg_backend_local): home calculation and additional options for authentication 2024-01-06 16:55:55 +11:00
MickaelK
2853898f75 feature (plg_backend_nfs4): poc for nfsv4 2024-01-03 22:44:23 +11:00
MickaelK
86175220cd fix (nfs): improved nfsv3 handling 2024-01-03 17:39:39 +11:00
MickaelK
c702402b87 fix (plg_backend_local): don't enforce home to be set 2024-01-02 23:26:25 +11:00
MickaelK
800d0841ed fix (link): broken preload link 2024-01-01 23:32:20 +11:00
MickaelK
6ad16259ef feature (plg_backend_local): better error handling 2024-01-01 23:31:45 +11:00
MickaelK
fae939120a feature (connect): frontend rewrite - connection page 2023-11-30 20:18:05 +11:00
MickaelK
dd6e91c493 chore (frontend): move url in frontend 2023-11-27 20:58:54 +11:00
MickaelK
def45d5ad5 feature (s3): multithread on s3 plugin 2023-11-27 00:25:28 +11:00
MickaelK
253cb8ceba chore (maintain): maintain sqlite full text search plugin 2023-11-22 18:46:46 +11:00
MickaelK
9323c73fa9 feature (plugin): add plugin hook to extend frontend code 2023-11-21 23:06:45 +11:00
MickaelK
81578f48cf chore (thumbnail): cleanup and support for ai 2023-11-20 23:33:25 +11:00
MickaelK
0d8dce3b99 feature (thumbnail): support for tiff 2023-11-20 22:36:03 +11:00
MickaelK
837f440e36 fix (thumbnailer): format update & fix png artifact 2023-11-20 20:51:20 +11:00
MickaelK
376fe22770 feature (thumb): support for webp 2023-11-16 02:06:10 +11:00
MickaelK
e72d4a290f feature (gif): a gif thumbnailer made in C 2023-11-13 23:58:16 +11:00
MickaelK
ade354fde0 fix (plg_image_c): cleanup thumbnailer 2023-11-13 23:57:51 +11:00
MickaelK
0ac2bde335 feature (thumbnail): better thumbnail plugin 2023-11-10 00:54:00 +11:00
MickaelK
513ba65d46 chore (preload): move preload tags as http headers 2023-11-02 21:41:30 +11:00
Stéphane Lam
3c379d50ee
fix (api): api key validation 2023-10-31 08:43:47 +11:00
Mickael Kerjean
73d1a07b12 fix (admin): bug in admin 2023-10-09 14:28:33 +11:00
Mickael Kerjean
d9202c7f15 release (migration): migration of admin interface 2023-10-07 22:47:37 +11:00
Mickael Kerjean
ac51227d50 fix (config): type error in featurs->share->redirect 2023-09-05 00:34:19 +10:00
Mickael Kerjean
e0407c83cf merge 2023-06-16 13:13:42 +00:00
Mickael Kerjean
b4572be6e9 feature (config): default value as env variable for log level 2023-06-09 00:47:47 +10:00
Mickael Kerjean
377434c17a fix (css): server page - enable custom background 2023-06-09 00:47:08 +10:00
Mickael Kerjean
06ca7a6678 chore (refactoring): easier for unit test 2023-06-09 00:46:32 +10:00
Mickael Kerjean
5eadfac2ae maintain (refactoring): unit testability of router 2023-06-07 17:57:51 +10:00
Mickael Kerjean
a2c0323e8d fix (status): wrong http status in app manifest 2023-06-07 17:31:02 +10:00
Mickael Kerjean
b1766b4fe0 feature (error): infer http status when loading the base error page 2023-06-02 17:31:29 +10:00
Mickael Kerjean
dbf0878335 feature (wip): wip for tags 2023-05-22 22:29:31 +10:00
Mickael Kerjean
c4e5da9169 fix (#605): regression for sharing link 2023-05-22 21:51:30 +10:00
Mickael Kerjean
0f355c1030 feature (smb): direct access via share name 2023-05-12 00:59:17 +10:00
Mickael Kerjean
1f52ea90e4 improve (zip): no need to zip single file 2023-04-28 08:55:53 +10:00
Mickael Kerjean
8758cb4b5b fix (unzip): reduce wait time 2023-04-27 20:50:21 +10:00
Mickael Kerjean
e05c868740 feature (unzip): extract zip files 2023-04-27 20:10:20 +10:00
Mickael Kerjean
650abf55ba maintain (plg_authenticate_admin): cleanup 2023-04-25 11:03:32 +10:00
Mickael Kerjean
1e562aa8e8 maintain (api): config endpoint refactoring 2023-04-25 10:47:44 +10:00
Mickael Kerjean
9a6af501e4 fix (middleware): add middleware to config endpoint 2023-04-25 10:46:14 +10:00
Mickael Kerjean
391f7cf82d maintain (plg_video_transcoder): cleaner log 2023-04-18 22:58:54 +10:00
Mickael Kerjean
bb7840f27e feature (chromecast): image viewer chromecast support 2023-04-14 00:08:17 +10:00
Mickael
8c4ca9da76
fix (plg_backend_s3): revert #584 after broken e2e
This reverts commit 67e2a34853.
2023-04-10 10:56:40 +10:00
Mickael Kerjean
c7cd48ce90 fix (plg_backend_ftp): context handling 2023-04-10 10:06:21 +10:00
Mickael Kerjean
39f8fc66aa fix (ftp): recreate connection if closed
An issue would araise when the connection is closed before we had time
to do the vacuum cleaning on servers like on infinity free where "Our server has quite aggressive inactivity timeouts and will kill the connection after only 20 seconds of inactivity."

reference: https://forum.infinityfree.net/t/good-online-ftp/69285/18
2023-04-10 01:28:39 +10:00
Yanick.xia
67e2a34853
feature (plg_backend_s3): add param for forcePathStyle - #584
Co-authored-by: xiayan.cn <xiayan.cn@bytedance.com>
Co-authored-by: Mickael <mickael@kerjean.me>
2023-04-09 13:10:33 +10:00
Daniel Gomes-Sebastiao
586e803bde
feature (plg_backend_s3): access S3 via AWS role - #583
Co-authored-by: Daniel Gomes-Sebastiao <daniel.gomes@adscale.co.nz>
2023-04-09 13:07:14 +10:00
Juan Carlos Ramirez
36c006680c
feature (#585): support for proxied ip when logging intrusions 2023-04-07 15:19:16 +10:00
Liang Zheng
091e9c0c78
fix(s3) save #577
Signed-off-by: Liang Zheng <zhengliang0901@gmail.com>
2023-04-01 10:53:29 +11:00
Mickael Kerjean
86dde05507 fix (#533): json conversion issue 2023-03-31 08:20:51 +11:00
Mickael Kerjean
26ee2006f4 feature (auth): redirection URI in auth middleware 2023-03-26 01:43:48 +11:00
Mickael Kerjean
fa9f1bc3e4 fix (ls): configurable ls timeout for plugins 2023-03-24 22:37:19 +11:00
Mickael Kerjean
cea8a77cd8 Merge branch 'master' of ssh://github.com/mickael-kerjean/filestash 2023-03-24 21:14:51 +11:00
Mickael Kerjean
425e71a3cd fix (plg_search_stateless): path issue in search 2023-03-24 21:12:32 +11:00
Liang Zheng
a57a4a7e15
fix (s3): exit s3 list via IsTruncated flag
Signed-off-by: Liang Zheng <zhengliang0901@gmail.com>
2023-03-24 10:53:38 +11:00
Mickael Kerjean
3a9961d6fe fix (plg_backend_artifactory): ls metadata fix 2023-03-21 22:28:41 +11:00
Mickael Kerjean
48c89767ad feature (plg_backend_artifactory): support for jfrog artifactory 2023-03-21 14:41:30 +11:00
Mickael Kerjean
176931f6c8 fix (plg_backend_nfs): production ready nfs connector 2023-03-20 23:06:00 +11:00
Mickael Kerjean
7421750226 feature (plg_backend_ftp): anonymous read only when no user given 2023-03-15 08:23:09 +11:00
Mickael Kerjean
2268e32560 feature (plg_backend_sftp): support for new authentication method 2023-03-08 12:11:01 +11:00
Mickael Kerjean
16d4d60469 Merge branch 'master' of ssh://github.com/mickael-kerjean/filestash 2023-03-02 20:16:36 +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
8059730720 feature (middleware): use translated errors in auth middleware 2023-02-28 21:19:50 +11:00
Roman Zabaluev
4f4e833360
fix (grammar): grammar issues #567 2023-02-28 18:17:14 +11:00
Louis Koo
62b066feab
fix (#559): handle large amount of deletion on s3
Signed-off-by: zhucan <zhucan.k8s@gmail.com>
2023-02-21 17:31:10 +11:00
Mickael Kerjean
fd15e7255a maintain (log): additional logs for easier debugging
some people are experiencing issues with the data being lost somehow
but as of today we can't replicate that. Hopefully with this, we will
know a bit more about that
2023-02-09 08:48:40 +11:00
Mickael Kerjean
23ddbee129 fix (not implemented): image preview for jpeg or png 2023-02-09 08:32:19 +11:00
Mickael Kerjean
69b0b71ce5 feature (title): set title to general.name in static pages 2023-02-09 08:09:17 +11:00
Mickael Kerjean
922d8fecc3 fix (#545): emergency fix - credit and original author @microyahoo 2023-02-08 15:23:49 +11:00
Mickael Kerjean
d0d45d2b40 feature (plugin): onload callback 2023-01-27 21:14:44 +11:00
Mickael Kerjean
e009a26cd6 feature (auth. middleware): leverage get params for authentication 2023-01-26 19:54:23 +11:00
Mickael Kerjean
3727981e75 fix (s3): cloudflare s3 default 2023-01-26 01:20:39 +11:00
Mickael Kerjean
9c52561e99 maintain (WellKnown): update content in WellKnownSecurityHandler 2023-01-05 16:09:04 +11:00
Mickael Kerjean
7ae782000f cleanup (log): rate limit logs 2023-01-05 01:53:50 +11:00
Mickael Kerjean
2645fd62d0 feature (plg_image_*): support for new images and cleanup 2022-12-22 22:13:52 +11:00
Mickael Kerjean
541ad580f1 cleanup (sftp): cleanup dead code 2022-12-22 19:57:27 +11:00
Mickael Kerjean
d86b779450 fix (storj): convention for folder 2022-12-21 00:25:37 +11:00
Mickael Kerjean
1f9a30c462 feature (dicom): support for dicom images 2022-12-09 20:26:20 +11:00
Mickael Kerjean
468251d69a feature (plg_image_thumbnail): more efficient image thumbnailing 2022-12-09 01:00:44 +11:00
Mickael Kerjean
fb4a6a7ab2 fix (s3): stop condition for recursive ls in s3 2022-12-08 16:05:40 +11:00
Mickael Kerjean
24cd21704b feature (nfs): reasonable default for nfs backend 2022-12-08 12:16:04 +11:00
Mickael Kerjean
7135bd4e44 feature (nfs): support for nfs storage 2022-12-08 09:19:04 +11:00
Mickael Kerjean
090fd1a66a feature (backend): support for storj 2022-12-07 08:40:41 +11:00
Mickael Kerjean
339e9486e5 feature (plg_image_thumbnail): improvement over thumbnailing 2022-12-05 00:42:02 +11:00
Mickael Kerjean
a78e817657 feature (thumbnailer): add plugin type for thumbnail generation 2022-12-02 07:09:11 +11:00
Mickael Kerjean
1bd6aebe45 feature (ebook): support for epub reader 2022-12-02 02:56:08 +11:00
Mickael Kerjean
f5df1445d2 feature (plg_backend_ftp): handle various connection strategy 2022-12-01 01:32:55 +11:00
Mickael Kerjean
3ca1c1ec9a improve (plg_video_transcode): ffmpeg improvements 2022-11-29 21:50:30 +11:00
Mickael Kerjean
849b00ba36 clean (plg_video_transcode): more readable ffmpeg command
The idea is to play with the params in ffmpeg until we find the
perfect setup for HLS and have everything version control by git
2022-11-29 20:48:06 +11:00
Mickael Kerjean
ec575d68b1 fix (#522): issue handling certain kind of mkv
whenever too many audio are available, videojs wouldn't be able to
load the hls stream
2022-11-29 08:25:58 +11:00
Mickael Kerjean
8d34848c8a fix (timeout): bigger timeout on FTP backend 2022-11-28 17:13:47 +11:00
Mickael Kerjean
5c9c85ff2a fix (middleware): disable auth middleware 2022-11-26 01:59:28 +11:00
Mickael Kerjean
32fe6a8674 cleanup (debug): remove debug 2022-11-26 00:38:30 +11:00
Mickael Kerjean
8eb9ab0719 fix (404): 404 page issue in firefox 2022-11-25 16:45:25 +11:00
Mickael Kerjean
1d4773302e improve (static): server static file from fs in dev mode 2022-11-25 16:44:51 +11:00
Mickael Kerjean
ea88b6ee14 fix (origin): better UX for hostname verification 2022-11-25 16:44:10 +11:00
Mickael Kerjean
e7bb5b052a feature (s3): s3 secret key as password field 2022-11-25 16:39:10 +11:00
Mickael Kerjean
b6762ddd4c feature (input): password fields with view button 2022-11-25 16:38:00 +11:00
Mickael Kerjean
ac7bf9f173 feature (dev): server static file from fs in dev mode 2022-11-23 15:19:18 +11:00
Mickael Kerjean
7d5719445c feature (standalone): reasonable default for standalone usage
we can now create fat binary build, we've optimise a few corner case
to make it nice to do so
2022-11-23 01:09:19 +11:00
Mickael Kerjean
1eea60cfb0 feature (embed): embed frontend assets from the binary 2022-11-22 23:03:33 +11:00
Mickael Kerjean
cb7f1693bd feature (config): encrypt sensitive fields in config.json 2022-11-22 08:12:36 +11:00
Mickael Kerjean
6eb26e9a70 refactoring (plg_authenticate): setup placeholders instead of values 2022-11-21 08:10:05 +11:00
Mickael Kerjean
df5371c7ee maintain (plugin): interface name for authorisation plugin 2022-11-14 19:54:22 +11:00
Mickael Kerjean
e585be579a feature (htpasswd): enlarge scope of htpasswd auth plugin 2022-11-12 23:26:39 +11:00
Mickael Kerjean
81af97acd2 improve (css): form design for page 2022-11-12 22:46:15 +11:00
Mickael Kerjean
10daf893cd improve (plg_authenticate_htpasswd): support additional algorithm 2022-11-12 00:50:45 +11:00
Mickael Kerjean
3b5bc80565 improve (UX): eye candy 2022-11-10 02:39:29 +11:00
Mickael Kerjean
9a98da7978 feature (config): toggle for config file encryption
optin config encryption #482
2022-11-10 00:19:45 +11:00
Mickael Kerjean
c828b22f7a improve (middleware): content for description fields 2022-11-10 00:16:08 +11:00
Mickael Kerjean
7b4e3eba79 feature (admin): simplify admin backend page 2022-11-09 08:09:01 +11:00
Mickael Kerjean
e0f2f29307 feature (htpasswd): new authentication middleware 2022-11-09 14:00:48 +11:00
Mickael Kerjean
92219db637 feature (middleware): passthrough middleware 2022-11-09 13:59:35 +11:00
Mickael Kerjean
98ef1d64e7 fix (fs): recursive removal in local and tmp backend 2022-11-03 00:12:09 +11:00
Mickael Kerjean
34d8f0e44f improve (/about): add links to installed plugins 2022-10-12 00:10:54 +11:00
Mickael Kerjean
f3eaf35d84 fix (backendID): hide home when using shared link 2022-10-11 08:08:38 +11:00
Mickael Kerjean
ce935525db fix (config): concurrent issue
fatal error: sync: unlock of unlocked mutex

goroutine 6 [running]:
runtime.throw(0x1420562, 0x1e)
	/usr/local/go/src/runtime/panic.go:1117 +0x72 fp=0xc0000b5ec8 sp=0xc0000b5e98 pc=0x439e92
sync.throw(0x1420562, 0x1e)
	/usr/local/go/src/runtime/panic.go:1103 +0x35 fp=0xc0000b5ee8 sp=0xc0000b5ec8 pc=0x46e395
sync.(*Mutex).unlockSlow(0x1f97138, 0xffffffff)
	/usr/local/go/src/sync/mutex.go:196 +0xd8 fp=0xc0000b5f10 sp=0xc0000b5ee8 pc=0x47d458
sync.(*Mutex).Unlock(...)
	/usr/local/go/src/sync/mutex.go:190
github.com/mickael-kerjean/filestash/server/common.(*Configuration).Get(0x1f97120, 0x140a506, 0x14, 0x0)
	/home/mickael/Documents/projects/filestash/server/common/config.go:438 +0x113 fp=0xc0000b5f90 sp=0xc0000b5f10 pc=0x7ba313
github.com/mickael-kerjean/filestash/server/common.init.0.func1(0x0)
	/home/mickael/Documents/projects/filestash/server/common/api.go:16 +0x46 fp=0xc0000b5fc0 sp=0xc0000b5f90 pc=0x7c7906
github.com/mickael-kerjean/filestash/server/common.init.0.func3()
	/home/mickael/Documents/projects/filestash/server/common/api.go:40 +0x29 fp=0xc0000b5fe0 sp=0xc0000b5fc0 pc=0x7c7c49
runtime.goexit()
	/usr/local/go/src/runtime/asm_amd64.s:1371 +0x1 fp=0xc0000b5fe8 sp=0xc0000b5fe0 pc=0x4733e1
created by github.com/mickael-kerjean/filestash/server/common.init.0
	/home/mickael/Documents/projects/filestash/server/common/api.go:39 +0x5a

goroutine 1 [runnable, locked to thread]:
os.(*File).Read(0xc000186000, 0xc000280400, 0x100, 0x100, 0x401, 0xc000280000, 0x400)
	/usr/local/go/src/os/file.go:113 +0x265
io.ReadAll(0x1677e40, 0xc000186000, 0x0, 0x1ff, 0xc000186000, 0x0, 0x0)
	/usr/local/go/src/io/io.go:633 +0xdf
io/ioutil.ReadAll(...)
	/usr/local/go/src/io/ioutil/ioutil.go:27
github.com/mickael-kerjean/filestash/server/common.LoadConfig(0x0, 0x0, 0x0, 0x1fc66e0, 0x0)
	/home/mickael/Documents/projects/filestash/server/common/config_state.go:32 +0x85
github.com/mickael-kerjean/filestash/server/common.(*Configuration).Load(0x1f97120)
	/home/mickael/Documents/projects/filestash/server/common/config.go:214 +0x34
github.com/mickael-kerjean/filestash/server/common.init.1()
	/home/mickael/Documents/projects/filestash/server/common/config.go:53 +0x85
2022-10-10 08:22:45 +11:00
Mickael Kerjean
9a6e24c296 feature (tagging): prepare the ground for a new tagging feature 2022-10-06 23:33:58 +11:00
Mickael Kerjean
9f083ea94c improve (logger): logger interface for tests or plugin swap 2022-10-06 08:02:25 +11:00
Mickael Kerjean
3d3b59524a improve (template): contains function in template 2022-10-05 08:35:50 +11:00
Mickael Kerjean
8ad705b70c feature (tmpl): enable contains function in tmpl filter 2022-10-05 07:54:03 +11:00
Mickael Kerjean
70884300a3 fix (plg_image_thumbnail): broken build 2022-10-04 17:49:04 +11:00
Mickael Kerjean
9b5af40f32 maintain (plg_security_scanner): new endpoint ideas
with new ideas coming from the hn thread https://news.ycombinator.com/item?id=33054379
2022-09-04 07:39:20 +10:00
Mickael Kerjean
42b2435c16 fix (plg_image_thumbnail): build issue 2022-10-04 00:26:40 +11:00
Mickael Kerjean
46b67d6711 feature (thumbnail): complete revamp of thumbnail generation 2022-10-03 23:40:46 +11:00
Mickael Kerjean
9a1045cb02 feature (plg_image_thumbnail): clean before release 2022-10-03 22:28:58 +11:00
Mickael Kerjean
01b418b608 fix (contentType): disable js in file cat API 2022-10-03 00:06:41 +11:00
Mickael Kerjean
918965ddbe feature (plg_image_thumbnail): new thumbnail generation
This plugin will replace plg_image_light once it has the same
features. It is much easier to install, fixing #507, #368 and every
other ticket that mention issues to compile Filestash
2022-10-03 00:01:24 +11:00
Mickael Kerjean
7a76f7dcda maintain (logging): improve some log message 2022-09-28 22:52:33 +10:00
Mickael Kerjean
e8968d824a fix (window): cross compile for windows 2022-09-28 21:16:10 +10:00
Mickael Kerjean
706adc3475 fix (config): remove useless / buggy option 2022-09-28 21:03:21 +10:00
Mickael Kerjean
21a72b2048 maintain (generator): simplify build command
Before this commit our build had this option:
-ldflags "-X github.com/mickael-kerjean/filestash/server/common.BUILD_DATE=`date -u +%Y%m%d` -X github.com/mickael-kerjean/filestash/server/common.BUILD_REF=`git rev-parse HEAD`"

Doing this via a generator is much easier for people getting started
with Filestash
2022-09-28 18:11:58 +10: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
b9a177aa26 maintain (404): change 404 page 2022-09-21 17:01:12 +10:00
Mickael Kerjean
9d596704e7 feature (api): public api 2022-09-20 17:43:26 +10:00
Mickael Kerjean
548b057d6a fix (selfsigned): self signed certificate issues 2022-09-15 22:38:54 +10:00
Mickael Kerjean
1844c6d33e maintain (debug): add debug statements 2022-09-15 19:32:17 +10:00
Mickael Kerjean
0748e56092 fix (recover): recover from possible panic 2022-09-15 18:53:36 +10:00
Mickael Kerjean
7a9f94ce6d fix (middleware): "cannot parse time" issue causing infinite loop 2022-09-15 07:32:04 +10:00
Mickael Kerjean
e2874f2a9b improve (404): 404 errors 2022-09-14 23:55:11 +10:00
Mickael Kerjean
d0c8f75b01 fix (rate limit): update default value for rate limit 2022-09-13 17:34:42 +10:00
Mickael Kerjean
d0e2c4a227 maintain (error): add internal error 2022-09-13 17:28:53 +10:00
Mickael Kerjean
87443235a2 fix (backend): clean up caching 2022-09-13 15:24:21 +10:00
Mickael Kerjean
720073a181 Merge branch 'master' of ssh://github.com/mickael-kerjean/filestash 2022-09-13 14:50:25 +10:00
thielepaul
0d55704031
fix (sftp_backend): wait until all requests are finished before closing (#506) 2022-09-13 14:49:15 +10:00
Mickael Kerjean
865442ea59 fix (vet): go vet - #505 2022-09-13 14:12:13 +10:00
Mickael Kerjean
76bf595e22 feature (token): token generation for API 2022-09-13 13:25:17 +10:00
Mickael Kerjean
18279dcb4e fix (middleware): broken build 2022-09-13 13:21:21 +10:00
Mickael Kerjean
3f933e08db feature (preflight): preflight to /api/files 2022-09-13 13:12:26 +10:00
Mickael Kerjean
ccb156678b fix (cache): RLock instead of lock 2022-09-13 13:01:03 +10:00
Mickael Kerjean
66c6788b94 feature (doc): embed documentation 2022-09-13 12:53:02 +10:00
Mickael Kerjean
fa84e37df2 refactor (api): move rm/mv/touch/mkdir to http post 2022-09-13 12:51:27 +10:00
Mickael Kerjean
0acf94ce0c fix (middleware): bodyparser must not return an error if no body 2022-09-12 01:05:44 +10:00
Mickael Kerjean
bd9deb858d feature (crypto): nonce generator as a counter 2022-09-09 23:22:47 +10:00
Mickael Kerjean
7e5ec42f6c maintain (config): openup 2 methods for Config for plugins
This is for plugins to do more fine grained stuff with the global
Config object
2022-09-09 15:12:14 +10:00
Mickael Kerjean
d53cbefc54 fix (plg_image_ascii): reasonable content type 2022-09-08 15:19:10 +10:00
Mickael Kerjean
bb7ea98f02 fix (sync): concurrent map read and map write 2022-09-08 14:55:26 +10:00
Mickael Kerjean
bfe809d5ab cleanup (plugin): disable plugin that don't seem to be used 2022-09-07 00:51:32 +10:00
Mickael Kerjean
b1c1f9e0f2 feature (api): api configuration 2022-09-07 00:50:23 +10:00
Mickael Kerjean
3a63eb0777 feature (plg_image_ascii): image ascii transform
The idea here is to be able to use curl and have Filestash to render
image in a terminal friendly fashion
2022-09-06 22:27:12 +10:00
Mickael Kerjean
549d6805f0 feature (api): prepare api for public use 2022-09-05 11:59:28 +10:00
Mickael Kerjean
c7e40e42db feature (429): rate limit authentication endpoints 2022-09-04 22:26:03 +10:00
Mickael Kerjean
952f45097e feature (rest): setup for rest api 2022-09-04 18:39:34 +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