1989 Commits

Author SHA1 Message Date
c556a404f7 fix (chunked): progress calculation
issue:
1. create a 2MB file: dd if=/dev/zero of=testfile bs=1024 count=2048
2. size chunk to 1MB

what we see: progress up to 50%, then stop and jump to 100%
2024-11-28 02:25:02 +11:00
016afe6923 fix (checkbox): checkbox in dark mode 2024-11-28 02:12:18 +11:00
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
8303ae54f0 fix (fatal): edge case causing fatal issue
I've seen the case where someone ran out of disk with a corrupted config
file which gave the following fatal error in the login screen:

Uncaught TypeError: Cannot read properties of null (reading 'map')

with a stacktrace pointing to: ctrl_form.js:22:63

this fixes the assumptions on the config file so as to not trigger the
fatal error but head to the nicer error cases where it would say:

Internal Error: There is nothing here.

which is much nicer for end users than "Cannot read properties of null"
2024-11-28 01:50:43 +11:00
2914443789 chore (linter): linter and code verif 2024-11-28 01:46:53 +11:00
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
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
63f1c780fc Merge branch 'master' of ssh://github.com/mickael-kerjean/filestash 2024-11-27 00:54:59 +11:00
87a1987219 feature (upload): support for chunked uploads 2024-11-27 00:52:29 +11:00
c7d48c9226 fix (webpack): webpack deps issue - #772
* fix (webpack): another webpack issue

* fix (webpack): uglify plugin is broken
2024-11-20 16:59:59 +11:00
12b27e3416 fix (webpack): uglify plugin is broken 2024-11-20 16:58:24 +11:00
0da11bf8cd fix (webpack): another webpack issue 2024-11-20 16:55:04 +11:00
69529b2bec fix (lint): linter and ts check 2024-11-20 16:06:43 +11:00
8aa33143d3 fix (sharelink): default path in shared link
regression where shared link are created without a path. This was
reported by a customer
2024-11-20 15:48:48 +11:00
66cc697b25 feature (tag): tag feature behind canary flag 2024-11-19 14:54:38 +11:00
92673f9ae3 feature (sidebar): sidebar toggle button 2024-11-18 23:41:35 +11:00
8c3c28ffbc fix (image): image viewer loader display 2024-11-18 18:49:40 +11:00
291d989ef9 fix (sidebar): better config on default
on a mobile like screen, the sidebar wouldn't be hidden entirely, it
would still show the border artifact. We need to make sure the default
is to be of class hidden to prevent such artefact
2024-11-18 17:35:48 +11:00
5181b1b49b fix (audio): audio context bug
whenever reading an audio file, quitting and coming back, the audio
context under wavesurfer.backend.ac would show a currentTime that is not
actually reset properly. Closing or trying several trick didn't fix the
issue, hence this approach which is quite dirty but work.

Overall wavesurfer has some weird tendencies, this is just one more hack
within the audio player
2024-11-18 16:19:17 +11:00
0c6fce8701 chore (refactoring): cleanup the code 2024-11-18 16:10:04 +11:00
26694081ba fix (audio): css issue in audio player 2024-11-18 15:08:06 +11:00
12d362f8e0 chore (refactoring): error handling refactoring 2024-11-18 15:00:09 +11:00
0936c78779 fix (pdf): pdfjs on retina screen
whenever using a retina typed screen, the PDF rendering would appear as
blurry. With this trick we largely improve rendering on those type of
screen
2024-11-18 12:49:15 +11:00
fed2b0f409 feature (video): responsive video player 2024-11-15 23:09:17 +11:00
fb4c6200ba fix (pdf): pdf on small device
whenever using a phone with no native PDF support, we'd render 2 page in
a row making things not visible
2024-11-15 22:48:59 +11:00
1609747f55 chore (refactoring): ellipsis - css to class 2024-11-15 14:06:35 +11:00
f57ba94d71 fix (editor): php code highlight
without this, we'd run onto either non highlighting of the code and / or
this error:

type:    Error
message: Cannot read properties of undefined (reading 'prev')
trace:   TypeError: Cannot read properties of undefined (reading 'prev')
    at Object.dispatch [as token] (http://localhost:8334/assets/g5b7268/lib/vendor/codemirror/mode/php/php.js:187:32)
    at readToken (http://localhost:8334/assets/g5b7268/lib/vendor/codemirror/lib/codemirror.js:1183:24)
    at runMode (http://localhost:8334/assets/g5b7268/lib/vendor/codemirror/lib/codemirror.js:1240:36)
    at highlightLine (http://localhost:8334/assets/g5b7268/lib/vendor/codemirror/lib/codemirror.js:1086:5)
    at getLineStyles (http://localhost:8334/assets/g5b7268/lib/vendor/codemirror/lib/codemirror.js:1130:20)
    at buildLineContent (http://localhost:8334/assets/g5b7268/lib/vendor/codemirror/lib/codemirror.js:1771:40)
    at getLineContent (http://localhost:8334/assets/g5b7268/lib/vendor/codemirror/lib/codemirror.js:2161:12)
    at buildLineElement (http://localhost:8334/assets/g5b7268/lib/vendor/codemirror/lib/codemirror.js:2243:17)
    at patchDisplay (http://localhost:8334/assets/g5b7268/lib/vendor/codemirror/lib/codemirror.js:4264:20)
    at updateDisplayIfNeeded (http://localhost:8334/assets/g5b7268/lib/vendor/codemirror/lib/codemirror.js:4171:5)
2024-11-15 01:32:10 +11:00
64a44415bf chore (cleanup): remove old script 2024-11-15 01:31:10 +11:00
c376fe8240 fix (onlyoffice): canary office integration - #629 2024-11-14 14:24:23 +11:00
b7f2b763de fix (login): loader before redirection
When we have a single storage selected, we automatically redirect the
user to it as we don't need to wait for a user action. The thing is we
used to have this UI being shown with a button that didn't make sense.
Instead we want to show the loader when we reach those condition
2024-11-14 12:40:51 +11:00
bd470b5ff5 Merge branch 'master' of ssh://github.com/mickael-kerjean/filestash 2024-11-14 02:06:23 +11:00
8aa0bd5fcd fix (sharedlinks): link update
when toggling off the settings for a shared links, the value wouldn't
be actually turned off. We're now ensuring that anything with an "enabled"
checkbox is turned on/off on demand
2024-11-14 02:03:07 +11:00
ff2bc44d09 fix (share): order of shared links 2024-11-14 00:55:57 +11:00
2e869f5ec8 feature (#752): build args GIT_REPO GIT_REF 2024-11-13 14:22:36 +11:00
05f112305d fix (azure): azure oidc cookie
update cookie settings to work well with azure OIDC
2024-11-13 10:32:06 +11:00
47e25abdd5 fix (css): css menubar issue 2024-11-12 17:21:24 +11:00
85a86ef352 fix (share): update shared link 2024-11-12 17:15:24 +11:00
25faf898c1 fix (share): UX for shared link 2024-11-12 16:00:17 +11:00
0245a32900 fix (ja): typo in translation 2024-11-12 15:54:19 +11:00
3cd12f863f chore (release): enable canary release 2024-11-12 11:01:09 +11:00
311f248e01 feature (translation): new translation run 2024-11-11 14:26:33 +11:00
0791313b17 fix (url app): lint and checker issues 2024-11-08 16:41:17 +11:00
f49f8a0224 doc (README): revamp README 2024-11-08 14:58:17 +11:00
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
25404e8d13 feature (url): support for .url files 2024-11-07 13:02:52 +11:00
ded8ef28cc fix (image): exif map marker 2024-11-05 15:21:49 +11:00
f7988ffe10 fix (upload): shared link in upload 2024-10-24 06:34:54 +11:00
96b566e22f fix (canary): canary cookie compat 2024-10-16 02:19:54 +11:00
363f9bd652 fix (typo): package name typo 2024-10-10 04:57:25 +11:00
8b31a8e74e fix (mimetype): mime type calculation error
fix mimetype for things like foo.MP4 or foo.WAV which used to be
text/plain
2024-10-08 03:46:20 +11:00