Commit graph

790 commits

Author SHA1 Message Date
MickaelK
0dfa9b3335 fix (panic): concurrent map access
this fix a panic that can be replicated using the video thumbnail
plugin, opening up a page with a lot of videos. Under the hood, the
server would call ffmpeg that would make a bunch of HTTP range requests
that would call the cache concurrently, hence causing the panic
2024-12-02 16:28:38 +11:00
MickaelK
ff67ed97ed feature (thumbnail): video thumbnail plugin
up until now, the stance was to refuse video thumbnail because it's too
slow but really many people don't seem to care that much about it and
keep insisting to have it.

With this solution, it's not in the base build but it gives an
option for those people to make it happen
2024-12-02 15:39:25 +11:00
MickaelK
ac9d1a4980 feature (tus): chunked upload via TUS
instead of inventing a new protocol for chunked upload that can be
resumed, we might as well use something that already exists like TUS.

As such we removed our custom implementation to favor that standard
2024-11-29 15:04:34 +11:00
MickaelK
5e420cf5f3 fix (config): save config when disk is full
before this, if the user had a full disk, there wouldn't be any error
reported back whenever editing something in the admin
console as file.Close() would return nil ....

The only way to go around it is to wait for the sync to be done.
2024-11-28 02:03:35 +11:00
MickaelK
0dea98d4bd fix (chunked): chunked upload connection close
only close connection when using chunked upload. This is key if you must
use something like to work with Cloudflare
2024-11-28 01:32:41 +11:00
MickaelK
de5e2d9583 fix (cloudflare): proxy with size limit
Cloudflare does limit the size of file upload by an arbitrary number. We
can go around that by using chunked upload but somehow that wasn't
enough, to circumvent that issue, we make it clear to the proxy it
should close the connection and we hope the problem we go away
2024-11-27 23:45:39 +11:00
MickaelK
87a1987219 feature (upload): support for chunked uploads 2024-11-27 00:52:29 +11:00
MickaelK
66cc697b25 feature (tag): tag feature behind canary flag 2024-11-19 14:54:38 +11:00
MickaelK
c376fe8240 fix (onlyoffice): canary office integration - #629 2024-11-14 14:24:23 +11:00
MickaelK
05f112305d fix (azure): azure oidc cookie
update cookie settings to work well with azure OIDC
2024-11-13 10:32:06 +11:00
MickaelK
6f03334871 feature (plugin): override plugin for download
This is to demonstrate how override work with the new frontend. This
plugin does create another download button in the file viewer page
2024-11-07 13:32:00 +11:00
MickaelK
96b566e22f fix (canary): canary cookie compat 2024-10-16 02:19:54 +11:00
MickaelK
363f9bd652 fix (typo): package name typo 2024-10-10 04:57:25 +11:00
MickaelK
963bac5146 fix (plg_backend_azure): remove things 2024-10-06 08:05:19 +11:00
MickaelK
5c87904cb1 feature (plg_backend_azure): support for seek 2024-10-04 19:22:26 +10:00
MickaelK
8efc63efa5 feature (azure): chroot path 2024-09-27 09:20:21 +10:00
MickaelK
f8956178d8 fix (sftp): azure connection timeout
Azure SFTP only hold the connection for 2 minutes .... So we got to
flush our cache before it occurs, otherwise we end up with a "Connection lost" error
2024-09-20 22:55:54 +10:00
MickaelK
05176b8cd1 fix (arm): generator issue on arm 2024-09-18 01:18:30 +10:00
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