22 Commits

Author SHA1 Message Date
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
c1f5bc1686 fix (regression): revert until better fix is found
possibly fixing #533
2022-11-27 22:49:12 +11:00
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
fa84e37df2 refactor (api): move rm/mv/touch/mkdir to http post 2022-09-13 12:51:27 +10:00
d1a2c7a3ea maintain (ajax): cleanup code 2022-09-02 21:07:21 +10:00
dd6f0ca407 feature (cancellation): logic to cancel request in client and server 2022-09-02 17:26:32 +10:00
5156432b52 maintain (eslint): linting on frontend 2021-12-21 01:32:37 +11:00
f87faab58b update (maintenance): small changes from #267 2020-05-23 18:37:48 +10:00
865ba7ded6 feature (upload): upload queue that show progress with abort and retry - #267 2020-05-23 16:43:39 +10:00
d6ba3f0cf1 fix (logout): display an error when something goes wrong during logout - instead of infinite spinner 2019-03-15 18:13:28 +11:00
e9786ada96 improvement (messaging): add error message when the server is down 2019-03-15 01:55:49 +11:00
ea48dbe128 improve (security): add support for the X-Requested-With header 2019-03-08 17:49:17 +11:00
3b65cdf417 feature (readonly): respect readonly restriction on the editor 2019-01-28 01:09:45 +11:00
ce6a228968 feature (admin): admin console 2018-12-19 18:35:09 +11:00
bde4079fb9 maintenance (code): incremental improvement 2018-09-26 02:36:21 +10:00
4ca7bab31b maintain (code): cleanup 2018-09-17 09:52:02 +10:00
8b313c6bef feature (orgmode): making org mode awesome from a browser 2018-05-05 00:23:05 +10:00
5a913d44d1 bugfix (UI): If an operation failed, the UI were giving the impression
to do something - #33
2018-04-12 23:45:12 +10:00
d67c200af7 bugfix (app): fix server side issues and proper error handling 2018-04-12 00:52:16 +10:00
c25eb03540 feature (notification): inform user of anything happenning 2018-04-10 14:51:52 +10:00
89bb4450f3 improvement (UI): fixes + cleanup interface - #11 2018-04-10 14:51:39 +10:00
f093f00a4b maintenance (structure): Full revamp of the project code structure 2018-03-07 01:46:21 +11:00