Commit graph

505 commits

Author SHA1 Message Date
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