Commit graph

564 commits

Author SHA1 Message Date
Mickael Kerjean
ab2cd6f7a3 fix (admin): remove spinner in admin error 2022-11-25 16:45:45 +11:00
Mickael Kerjean
ea88b6ee14 fix (origin): better UX for hostname verification 2022-11-25 16:44:10 +11:00
Mickael Kerjean
2b623cac34 fix (boot): more user friendly boot error 2022-11-25 16:41:51 +11:00
Mickael Kerjean
b6762ddd4c feature (input): password fields with view button 2022-11-25 16:38:00 +11:00
Mickael Kerjean
90a2ae2b8e feature (config): make config look nicer
before this, our config.json didn't look user friendly with a massive:
{
    "general": {
        "name": null,
        "port": null,
        "host": "demo.filestash.app",
        "secret_key": "__REDACTED__",
        "force_ssl": null,
        "editor": null,
        "fork_button": null,
        "logout": null,
        "display_hidden": null,
        "refresh_after_upload": null,
        "upload_button": null,
        "upload_pool_size": null,
        "filepage_default_view": null,
        "filepage_default_sort": null,
        "cookie_timeout": null,
        "custom_css": null,
        "auto_connect": null,
        "enable_image": null,
        "remember_me": null
    },
    "features": {
        "api": {
            "enable": null,
            "api_key": "foobar ",
            "enabled": null
        },
        "share": {
            "enable": null,
            "default_access": null,
            "redirect": null
        },
     .....
}

which now translates to a much nicer:
{
    "general": {
         "host": "demo.filestash.app",
         "secret_key": "__REDACTED__"
    },
    "features": {
        "api": {
            "api_key": "foobar "
        },
    ...
}
2022-11-21 08:08:24 +11:00
Mickael Kerjean
f9cf577081 improve (darkmode): better dark mode 2022-11-16 23:50:03 +11:00
Mickael Kerjean
07acfa3523 improve (share): CSS for shared link box 2022-11-16 23:04:48 +11:00
Mickael Kerjean
df38fd5652 improve (css): form builder UX 2022-11-16 22:12:00 +11:00
Mickael Kerjean
6685362a77 feature (autocompletion): toggle for form autocompletion 2022-11-16 08:57:22 +11:00
Mickael Kerjean
395b312012 maintain (refactoring): cleanup code 2022-11-16 08:27:41 +11:00
Mickael Kerjean
a9350c3126 fix (admin): related backend datalist
autocomplete with datalist was causing weird issues
2022-11-16 08:25:21 +11:00
Mickael Kerjean
59edf81817 feature (admin): dynamically generate label
Before this commit, upon clicking on a storage backend, the label was
hardcoded which isn't a great UX when using the authentication
middleware.

This small change make it possible to quickly set things up
2022-11-16 00:05:21 +11:00
Mickael Kerjean
4b801eb7bc maintain (admin): link to plugin doc 2022-11-14 19:54:50 +11:00
Mickael Kerjean
b285aa4496 improve (css): css change 2022-11-12 01:00:51 +11:00
Mickael Kerjean
d6e4f946e2 improve (ui): hover state for buttons 2022-11-10 02:24:38 +11:00
Mickael Kerjean
31fb46ed91 Merge branch 'master' of ssh://github.com/mickael-kerjean/filestash 2022-11-10 00:22:39 +11:00
Mickael Kerjean
90c8a365e8 maintain (hack): remove a react hack 2022-11-10 00:19:16 +11:00
Mickael Kerjean
cf0ca5c261 maintain (helper): reorganise some functions in client 2022-11-10 00:17:22 +11:00
Mickael Kerjean
c828b22f7a improve (middleware): content for description fields 2022-11-10 00:16:08 +11:00
Allan Wanderley Alves
cb3483588e
fix(locales): hostname pt language to "nome de host" instead "nome de anfritião" (#527)
Co-authored-by: Allan Alves <t.allan.alves@fabrica.locaweb.com.br>
2022-11-09 21:31:37 +11:00
Mickael Kerjean
7b4e3eba79 feature (admin): simplify admin backend page 2022-11-09 08:09:01 +11:00
Mickael Kerjean
d155548dee fix (rm): indexedDB issue after migration to new schema 2022-10-12 00:38:38 +11:00
Mickael Kerjean
4300989bf7 fix (tags): wip development 2022-10-11 18:14:02 +11:00
Mickael Kerjean
f6394d1cd2 fix (back): longstanding issue with back button
the call to unlisten was removing the navigation from react router
altogether instead of it being local to the component itself. Somehow
we can't unlisten to the local component level so we got rid of the
entire back button altogether
2022-10-11 17:11:54 +11:00
Mickael Kerjean
a0a8de2a8d fix (boot): boot error 2022-10-11 08:12:12 +11:00
Mickael Kerjean
0774023ace fix (sidebar): make the bar more responsive 2022-10-11 08:10:30 +11:00
Mickael Kerjean
f3eaf35d84 fix (backendID): hide home when using shared link 2022-10-11 08:08:38 +11:00
Mickael Kerjean
d2c5994151 fix (tag): tag removal 2022-10-11 07:45:32 +11:00
Mickael Kerjean
0a0809d951 improve (boot): decrease boot time
Filestash needs to run a couple setup function. We used to run those
after DOMContentLoaded, losing about ~15ms where we didn't need to as
we can run everything in parallel
2022-10-11 07:21:14 +11:00
Mickael Kerjean
456937d0cd feature (state): revamp state management via indexedDB 2022-10-11 00:02:54 +11:00
Mickael Kerjean
88bd7d67dc feature (tags): revamp data model and storage 2022-10-11 01:45:34 +11:00
Mickael Kerjean
9fa8428a28 feature (tags): UI for tag page 2022-10-10 22:20:52 +11:00
Mickael Kerjean
7f14b2c563 feature (tag): ideas for the tag page 2022-10-08 01:56:34 +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
1125998944 maintain (bcrypt): make local plugin faster
the local plugin would go through bcrypt for every single call which
can be annoying at it makes things slower. By reducing the number of
rounds, we're making it quicker to use the local plugin.

Since a few weeks, every endpoint that relies on bcrypt are rate
limited so this shouldn't make things easier for an attacker to break in :)
2022-09-28 07:30:12 +10:00
Mickael Kerjean
9d596704e7 feature (api): public api 2022-09-20 17:43:26 +10:00
Mickael Kerjean
7a9f94ce6d fix (middleware): "cannot parse time" issue causing infinite loop 2022-09-15 07:32:04 +10:00
Mickael Kerjean
2197385d54 fix (#508): support for traditional chinese 2022-09-13 19:51:34 +10:00
Mickael Kerjean
d0e2c4a227 maintain (error): add internal error 2022-09-13 17:28:53 +10:00
Mickael Kerjean
69f00c2a6f fix (#508): translation issue for traditional chinese 2022-09-13 13:52:01 +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
d1a2c7a3ea maintain (ajax): cleanup code 2022-09-02 21:07:21 +10:00
Mickael Kerjean
168714132b feature (audit): handle cancellation in audit plugin 2022-09-02 18:21:00 +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
7e099988bb feature (admin): revamp css in admin console 2022-08-31 08:01:45 +10:00
Mickael Kerjean
fd1f5d0421 feature (admin): version details 2022-08-31 00:33:48 +10:00
Mickael Kerjean
a86a2f1054 fix (share): deep link from shared links 2022-07-09 23:06:56 +10:00
Mickael Kerjean
3bbf6e4334 fix (upload): webkitGetAsEntry() can be null
see: https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItem/webkitGetAsEntry
We found this issue while trying to upload a file named .#nodes_rev1.json
which somehow chrome doesn't want to read and would give an error to
    the end user
2022-07-07 00:36:36 +10:00
Mickael Kerjean
573fb9be28 fix (editor): markdown display issue 2022-05-28 03:50:57 +10:00
Mickael Kerjean
c6a31012ad fix (branding): default title is empty for rebranding 2022-05-25 17:37:39 +10:00
Mickael Kerjean
257bce512c improve (index): message when js is disabled 2022-05-19 00:45:23 +10:00
Mickael Kerjean
2684dd26db fix (runtime): frontend crash when quitting without saving
Uncaught TypeError: Cannot read properties of undefined (reading 'then')

ide.js:43 Uncaught TypeError: Cannot read properties of undefined (reading 'then')
    at Object.no (ide.js:43:21)
    at ModalConfirm.no (confirm.js:39:28)
2022-05-14 01:42:13 +10:00
Mickael Kerjean
db7ab46ddd fix (backend): authentication middleware config cleanup 2022-05-12 08:08:22 +10:00
Mickael Kerjean
c8bd633566 fix (related_backend): form value in sync between same backend type
the attribute mapping form values would be all in sync. {...copy} and
other Object.assign({}, object) wouldn't workm only this was enough
2022-05-12 01:33:14 +10:00
Mickael Kerjean
2e10feff4f feature (manifest): generate application manifest server side
the app manifest used to be statically generated meaning it would show
Filestash whenever user tries to install as an app. Now admin can
change that to show something else
2022-05-11 22:23:02 +10:00
Mickael Kerjean
c8c4f701da fix (setup): weird behavior when setting up the app 2022-05-05 00:46:16 +10:00
Mickael Kerjean
42634962c9 cleanup (code): cleanup code 2022-04-27 00:32:13 +10:00
Mickael Kerjean
0f56d75879 improve (admin): more consistent styling when using custom branding 2022-04-20 22:19:36 +10:00
Mickael Kerjean
91b85779d6 fix (error): error display when ls failed 2022-03-03 17:21:29 +11:00
Mickael Kerjean
04154556f3 fix (build): editor saving mode
e2e errors: https://cloud.drone.io/mickael-kerjean/filestash/346
2022-02-22 08:25:50 +11:00
Mickael Kerjean
a2b349d444 refactoring (functional): react functional component refactoring 2022-02-09 17:27:02 +11:00
Mickael Kerjean
3a01b70681 migration (component): move over to functional component 2022-02-08 16:28:43 +11:00
Mickael Kerjean
448d2bcd6c content (reword): change wording 2022-02-02 23:15:40 +11:00
Mickael Kerjean
87d556fa72 fix (i18n): remove admin console translation
Providing full translation on the admin console would take a signifant
amount of monney which we can't justify to spend at the moment so
instead of providing a half ass job, we remove the few words we did translate
2022-02-02 22:56:31 +11:00
Mickael Kerjean
21b30c969a feature (sidebar): WIP sidebar 2022-02-02 22:14:59 +11:00
Mickael Kerjean
b03dbc28c3 fix (iphone): weird selection when trying to upload something 2022-02-01 08:05:03 +11:00
Mickael Kerjean
3be858ee65 fix (cache): indexdb errors 2022-01-31 17:53:56 +11:00
Mickael Kerjean
c6da62a94c fix (eslint): linting 2022-01-31 17:43:45 +11:00
Mickael Kerjean
8ce629e010 fix (lint): eslint 2022-01-31 01:46:37 +11:00
Mickael Kerjean
30fc08f191 improve (boot): preload the data for faster boot
from a 3g connection we used to have 0.5s in between "DOMContentLoaded" and "Load", now it's 0.01s
2022-01-31 01:43:50 +11:00
Mickael Kerjean
d6616856b5 maintain (eslint): cleanup via eslint 2022-01-30 23:38:40 +11:00
Mickael Kerjean
3622f1db1c design (page): error page css 2022-01-25 18:19:13 +11:00
Mickael Kerjean
b4203733e1 maintain (lint): eslint on frontend 2022-01-25 01:12:22 +11:00
Mickael Kerjean
fae1eee7fb lint (frontend): linting connection page 2022-01-22 23:30:02 +11:00
Mickael Kerjean
79ca486841 fix (textarea): firefox was acting weird so we simplified the code
I think the idea behind that feature was to trigger
the submit flow when user was pressing enter on a form instead of
going to the new line which was usefull when user was using the
textarea as a way to copy and paste their private key. Now there's
a better approach for this, this was likely dead code
2022-01-21 00:53:16 +11:00
Mickael Kerjean
a95fad4d13 feature (static): upate a few static pages
- /about now shows a list of installed plugin
- 404 page is more "funky"
2022-01-20 17:15:49 +11:00
Mickael Kerjean
0beafbfb56 fix (autocomplete): disable autocompletion
autocompletion is causing all sort of weird problems. I've seen people
reporting issues when some of their password manager was interacting
in some very weird ways. There's no easy fix on this and decision was
taken to disable it.
2022-01-16 23:28:49 +11:00
Mickael Kerjean
5695f4ee46 fix (css): error message size 2022-01-16 22:50:46 +11:00
Mickael Kerjean
8007a95e66 fix (sso): wrong backend selected in attribute mapping 2022-01-16 22:39:58 +11:00
Mickael Kerjean
57a60fc838 feature (next): support for next in oauth2 backends 2022-01-15 17:28:48 +11:00
Mickael Kerjean
cad6fe3420 feature (icons): placeholder icons 2022-01-13 02:21:41 +11:00
Mickael Kerjean
b60a91abb7 feature (css): add classNames to buttons on filepage 2022-01-12 00:07:47 +11:00
Mickael Kerjean
4644046fe1 fix (sso): make auth middleware optional 2022-01-10 19:24:54 +11:00
Mickael Kerjean
fa1931ef5f fix (notification): css 2022-01-09 20:51:58 +11:00
Mickael Kerjean
e5800c6c3b feature (sso): authentication middleware 2022-01-06 20:22:26 +11:00
Mickael Kerjean
bed13a0bc8 design (connection): enhance ux elements 2021-12-22 23:29:08 +11:00
Mickael Kerjean
91946871b0 fix (admin): better handle config containing non available backends 2021-12-22 09:00:37 +11:00
Mickael Kerjean
e8efec712f refactoring (admin): eslint 2021-12-22 02:35:14 +11:00
Mickael Kerjean
6ce0680a18 refactoring (eslint): shared component cleanup 2021-12-22 01:44:59 +11:00
Mickael Kerjean
74a724f61b refactoring (page): standalone page 2021-12-22 00:45:33 +11:00
Mickael Kerjean
bb4365c83f refactoring (connect): simplify & cleanup connection page 2021-12-22 00:17:19 +11:00
Mickael Kerjean
efe202bfd0 refactoring (login): simplify code + lint 2021-12-21 17:04:35 +11:00
Mickael Kerjean
5156432b52 maintain (eslint): linting on frontend 2021-12-21 01:32:37 +11:00
Mickael Kerjean
48a6763380 cleanup (code): cleanup 2021-12-21 01:29:47 +11:00
Jun
5f85d5976c
fix (#416): textarea ref issue 2021-12-20 19:43:42 +11:00
Mickael Kerjean
bcf5c467c1 feature (viewer): support wave file 2021-11-24 23:31:30 +11:00
Mickael Kerjean
b8bc56aea2 fix (share): access when redirection is enabled 2021-11-05 18:23:03 +11:00
coxde
7a79b4c87f
fix (translation): zh - #414
Tune translation.
2021-10-08 11:20:45 +11:00
Mickael Kerjean
8d413214e2 fix (cabinedit): issue faced by cabinedit 2021-10-06 21:52:19 +11:00
Mickael Kerjean
635c75a370 fix (logout): flush cookies before redirecting to custom logout url 2021-10-06 12:10:05 +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
Quentin Bramas
ba4a07d4de
fix (#412): notification width
Co-authored-by: Quentin Bramas <bramas@unistra.fr>
2021-09-27 20:07:03 +10:00
Mickael Kerjean
c2c56bab45 Merge branch 'master' of ssh://github.com/mickael-kerjean/filestash 2021-09-19 14:05:59 +10:00
Mickael Kerjean
2e86ac7bb2 improve (admin): additional customisations on admin console 2021-09-19 14:04:11 +10:00
Mickael Kerjean
5a7027af48 design (css): add transparency 2021-09-19 00:33:21 +10:00
Mickael Kerjean
8c8ad4eabc design (favicon): update favicon 2021-09-17 17:16:32 +10:00
Mickael Kerjean
7c5f9c6fed feature (branding): replace title with brand name 2021-09-17 16:47:31 +10:00
thielepaul
7eeb3672a4
fix (#413): download url for shared folders (#413) 2021-09-17 08:32:35 +10:00
Mickael Kerjean
b154c559ff fix (ui): hide UI elements whenever access is not set 2021-09-16 22:56:46 +10:00
Mickael Kerjean
be54a23465 fix (filepage): fix UI glitch on the search bar 2021-09-16 21:39:09 +10:00
Mickael Kerjean
78c6a02914 improve (iframe): disable frequently access view in iframe 2021-09-13 17:48:33 +10:00
Mickael Kerjean
43937cab32 fix (darkmode): better visiblity in dark mode 2021-09-11 17:59:33 +10:00
Mickael Kerjean
7d7dedce85 improve (favicon): update favicon 2021-09-09 17:33:44 +10:00
Mickael Kerjean
d94a6b6212 fix (loader): css issue 2021-09-04 22:38:50 +10:00
xlight
5ef150e542
fix (translation): Update zh.json (#408) 2021-08-28 15:02:57 +10:00
Mickael Kerjean
51ed97cc9d fix (test): broken test 2021-08-22 20:46:05 +10:00
Filip Hanes
6b51c4c72b fix (i18n): update sk.json - #404
* update sk.json, translate Quick access

* update sk.json
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
Mickael Kerjean
682e31ef50 fix (form): form builder autocompletion error 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
44fc901b4b maintain (admin): admin page upgrade 2021-08-16 16:47:13 +10:00
Mickael Kerjean
6e27086ac4 maintenance (404): migrate not found page to newer react way 2021-08-15 19:22:50 +10:00
Mickael Kerjean
a4e1431d4b maintain (loader): react upgrade to the loader component 2021-08-15 19:14:49 +10:00
Mickael Kerjean
c2f45747cc maintenance (logout): logout component upgrade 2021-08-15 19:12:40 +10:00
Mickael Kerjean
964b7e5dba maintenance (homepage): migrate homepage to recent react 2021-08-15 14:24:48 +10:00
Mickael Kerjean
a2e3e9c7a7 maintain (connect): connection page migration 2021-07-19 00:44:53 +10:00
Mickael Kerjean
e4397a6899 maintain (modal): remove deprecated react function 2021-07-17 02:46:39 +10:00
Mickael Kerjean
178a19abc3 fix (pdf): pdf viewer in firefox 2021-07-16 19:35:54 +10:00
Axel Amghar
16495254dc fix (translation): french - #399 2021-07-10 17:52:34 +10:00
Rojen Zaman
62652d25a2 fix (translation): finetune TR translation - #400
* i18n(TR) finetune translation

* i18n(TR) update
2021-07-10 17:52:34 +10:00
Mickael Kerjean
fdebaac135 fix (form): edge case around the form API 2021-06-29 23:14:24 +10:00
Mickael
03fb00499d merge 2021-06-20 15:48:42 +10:00
Mickael
700c02ece4 feature (logout): customisable logout button 2021-06-20 15:36:25 +10:00
Joe Bordes
2a2ed24739
fix (translation): i18 (ES) finetune translation (#397) 2021-06-04 15:06:25 +10:00
Si Hyeong Lee
4db1e9f216
fix (translation): ko.json (#396)
* Create go.yml

* Update ko.json

- Correct Korean translation errors

* Revert "Merge branch 'master' of https://github.com/writingdeveloper/filestash"

This reverts commit ca3f335402, reversing
changes made to cb4d4b9f15.
2021-05-25 21:35:52 +10:00
Mickael
ff0dfb8c5d fix (unit): broken test fix 2021-05-08 00:54:10 +10:00
Mickael Kerjean
eb81398ce8 feature (zip): download file(s) at once 2021-03-21 23:01:10 +11:00
Mickael Kerjean
7f5a76849a Merge branch 'master' of https://github.com/mickael-kerjean/filestash 2021-03-21 16:14:37 +11:00
Quentin Bramas
adfd98e7b5
fix (#345): form autocomplete in admin pages - #345 (#369)
Co-authored-by: Quentin Bramas <bramas@unistra.fr>
2021-03-04 21:25:17 +11:00
Quentin Bramas
5f85d59258
fix (#356): preventing entering the expiration date on safari (#366)
Co-authored-by: Quentin Bramas <bramas@unistra.fr>
2021-03-04 21:22:19 +11:00
Quentin Bramas
d0379e3e86
Fix wrong variable name producing an error (#365)
Co-authored-by: Quentin Bramas <bramas@unistra.fr>
2021-03-04 21:19:26 +11:00
Eric Chang
56f34628ab
Create zh_tw.json (#367) 2021-03-04 20:18:45 +11:00