Commit graph

551 commits

Author SHA1 Message Date
Mickael Kerjean
7bdb233de2 improve (admin): error handling when connection to server is lost 2023-04-11 08:49:55 +10:00
Mickael Kerjean
9cfeea5687 fix (editor): improve UX for text editor 2023-04-10 18:39:13 +10:00
Mickael Kerjean
96b4ca786a maintain (admin): slight UX improvement on admin pages 2023-04-04 00:44:52 +10:00
Mickael Kerjean
fe07df2df6 maintain (css): css anchor for rebranding 2023-04-03 17:14:08 +10:00
Mickael Kerjean
aefe20bd26 fix (#581): firefox in private mode issue 2023-03-31 01:07:38 +11:00
Mickael Kerjean
7e5e403487 feature (css): make rebranding easier 2023-03-30 23:57:46 +11:00
Mickael Kerjean
26ee2006f4 feature (auth): redirection URI in auth middleware 2023-03-26 01:43:48 +11:00
Mickael Kerjean
bf18555f96 improve (share): design of share box 2023-03-15 08:23:09 +11:00
Mickael Kerjean
8afd95b93f maintain (css): breadcrumb
this is to make breadcrumb a different color entirely while still
looking not akward
2023-03-15 07:50:37 +11:00
Mickael Kerjean
705d3d9e51 feature (design): design overhaul 2023-03-14 22:41:51 +11:00
Mickael Kerjean
71a25ca920 improve (darkmode): css for darkmode 2023-03-10 08:12:21 +11:00
Mickael Kerjean
f057e2fb4c feature (ux): design overhaul 2023-03-09 23:42:41 +11:00
Roeland Boeters
ad51c7feb4
improve (translation): NL (#560)
Co-authored-by: Roeland Boeters <roeland@geodelta.com>
2023-02-16 23:50:40 +11:00
MeiRos
b6203941be
Update fi.json (#556)
Some translations to make messages easier to understand.
2023-02-06 09:57:10 +11:00
Mickael Kerjean
3efb9159ff fix (ajax): improve error handling
most of the time the error would be coming from Filestash itself but
in some case where Filestash is used behind a reverse proxy this could
show some html text showing a bad gateway page or something
along this line
2023-02-01 22:55:04 +11:00
Mickael Kerjean
1c8f78e9b1 feature (login): provide a way for plugins to change the login page 2023-02-01 08:45:56 +11:00
Mickael Kerjean
e009a26cd6 feature (auth. middleware): leverage get params for authentication 2023-01-26 19:54:23 +11:00
Mickael Kerjean
4f0c2863fd fix (display): hide elements when size or date isn't defined 2022-12-07 07:34:50 +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
5881c768de fix (translation): error page translation 2022-12-02 00:37:37 +11:00
Mickael Kerjean
633bc9c486 design (UX): dark mode improvements 2022-12-01 23:33:53 +11:00
Mickael Kerjean
3bd642d068 improve (UX): empty folder / search icons and behaviors 2022-12-01 22:57:42 +11:00
Mickael Kerjean
b939b9f7e9 design (UX): ui improvements 2022-12-01 18:21:43 +11:00
Mickael Kerjean
34544875bd feature (darkmode): various improvements to dark mode
didn't realised many people are actually using dark mode, this request
came from Roel a teacher in the Netherland that's using Filestash to
teach coding to its students
2022-12-01 08:01:55 +11:00
Mickael Kerjean
1129e76ad3 feature (editor): make editing of code nicer 2022-11-30 00:25:45 +11:00
Mickael Kerjean
f11826ab7f fix (worker): responseWith to return a response in case of error 2022-11-28 08:56:38 +11:00
Mickael Kerjean
9acc1d7c11 improve (boot): design when Filestash can't boot up 2022-11-28 08:51:29 +11:00
Mickael Kerjean
c1f5bc1686 fix (regression): revert until better fix is found
possibly fixing #533
2022-11-27 22:49:12 +11:00
Mickael Kerjean
5c9c85ff2a fix (middleware): disable auth middleware 2022-11-26 01:59:28 +11:00
Mickael Kerjean
2fa1091985 fix (css): more consistency in input fields 2022-11-26 00:50:07 +11:00
Mickael Kerjean
934c836a59 cleanup (css): remove useless rule 2022-11-26 00:06:15 +11:00
Mickael Kerjean
41c601cca6 improvement (intl): intl rendering of date 2022-11-25 20:12:20 +11:00
Mickael Kerjean
93b83bd9e1 fix (admin): weird layout on mobile 2022-11-25 18:55:48 +11:00
Mickael Kerjean
e96aaefbf2 improve (ux): input css 2022-11-25 18:28:58 +11:00
Mickael Kerjean
42e7c10c41 fix (pdf): js based pdfviewer as fallback 2022-11-25 17:14:34 +11:00
Mickael Kerjean
bb8fcfda91 fix (checkbox): cross browser display for checkbox 2022-11-25 16:50:44 +11:00
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