Mickael Kerjean
1eea60cfb0
feature (embed): embed frontend assets from the binary
2022-11-22 23:03:33 +11:00
Mickael Kerjean
cb7f1693bd
feature (config): encrypt sensitive fields in config.json
2022-11-22 08:12:36 +11:00
Mickael Kerjean
6eb26e9a70
refactoring (plg_authenticate): setup placeholders instead of values
2022-11-21 08:10:05 +11:00
Mickael Kerjean
ba284b165c
doc (README): read me file
2022-11-21 08:09:30 +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
cc9b9786ab
fix (test): CI unit test
2022-11-16 18:01:20 +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
df5371c7ee
maintain (plugin): interface name for authorisation plugin
2022-11-14 19:54:22 +11:00
Mickael Kerjean
e585be579a
feature (htpasswd): enlarge scope of htpasswd auth plugin
2022-11-12 23:26:39 +11:00
Mickael Kerjean
81af97acd2
improve (css): form design for page
2022-11-12 22:46:15 +11:00
Mickael Kerjean
b285aa4496
improve (css): css change
2022-11-12 01:00:51 +11:00
Mickael Kerjean
10daf893cd
improve (plg_authenticate_htpasswd): support additional algorithm
2022-11-12 00:50:45 +11:00
Mickael Kerjean
3b5bc80565
improve (UX): eye candy
2022-11-10 02:39:29 +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
9a98da7978
feature (config): toggle for config file encryption
...
optin config encryption #482
2022-11-10 00:19:45 +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
e0f2f29307
feature (htpasswd): new authentication middleware
2022-11-09 14:00:48 +11:00
Mickael Kerjean
92219db637
feature (middleware): passthrough middleware
2022-11-09 13:59:35 +11:00
Mickael Kerjean
3ea030f6dd
maintain (vendor): upgrade deps
2022-11-09 02:02:41 +11:00
Mickael Kerjean
f88a02618a
Merge branch 'master' of ssh://github.com/mickael-kerjean/filestash
2022-11-03 08:02:01 +11:00
Mickael Kerjean
98ef1d64e7
fix (fs): recursive removal in local and tmp backend
2022-11-03 00:12:09 +11:00
c0xc
e206864229
fix ( #516 ): only office crash #518
2022-11-02 17:21:00 +11:00
Mickael Kerjean
bf2bca4cbb
fix ( #516 ): quick fix while waiting for a better solution
2022-10-19 23:20:59 +11:00
Mickael Kerjean
34d8f0e44f
improve (/about): add links to installed plugins
2022-10-12 00:10:54 +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
ce935525db
fix (config): concurrent issue
...
fatal error: sync: unlock of unlocked mutex
goroutine 6 [running]:
runtime.throw(0x1420562, 0x1e)
/usr/local/go/src/runtime/panic.go:1117 +0x72 fp=0xc0000b5ec8 sp=0xc0000b5e98 pc=0x439e92
sync.throw(0x1420562, 0x1e)
/usr/local/go/src/runtime/panic.go:1103 +0x35 fp=0xc0000b5ee8 sp=0xc0000b5ec8 pc=0x46e395
sync.(*Mutex).unlockSlow(0x1f97138, 0xffffffff)
/usr/local/go/src/sync/mutex.go:196 +0xd8 fp=0xc0000b5f10 sp=0xc0000b5ee8 pc=0x47d458
sync.(*Mutex).Unlock(...)
/usr/local/go/src/sync/mutex.go:190
github.com/mickael-kerjean/filestash/server/common.(*Configuration).Get(0x1f97120, 0x140a506, 0x14, 0x0)
/home/mickael/Documents/projects/filestash/server/common/config.go:438 +0x113 fp=0xc0000b5f90 sp=0xc0000b5f10 pc=0x7ba313
github.com/mickael-kerjean/filestash/server/common.init.0.func1(0x0)
/home/mickael/Documents/projects/filestash/server/common/api.go:16 +0x46 fp=0xc0000b5fc0 sp=0xc0000b5f90 pc=0x7c7906
github.com/mickael-kerjean/filestash/server/common.init.0.func3()
/home/mickael/Documents/projects/filestash/server/common/api.go:40 +0x29 fp=0xc0000b5fe0 sp=0xc0000b5fc0 pc=0x7c7c49
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1371 +0x1 fp=0xc0000b5fe8 sp=0xc0000b5fe0 pc=0x4733e1
created by github.com/mickael-kerjean/filestash/server/common.init.0
/home/mickael/Documents/projects/filestash/server/common/api.go:39 +0x5a
goroutine 1 [runnable, locked to thread]:
os.(*File).Read(0xc000186000, 0xc000280400, 0x100, 0x100, 0x401, 0xc000280000, 0x400)
/usr/local/go/src/os/file.go:113 +0x265
io.ReadAll(0x1677e40, 0xc000186000, 0x0, 0x1ff, 0xc000186000, 0x0, 0x0)
/usr/local/go/src/io/io.go:633 +0xdf
io/ioutil.ReadAll(...)
/usr/local/go/src/io/ioutil/ioutil.go:27
github.com/mickael-kerjean/filestash/server/common.LoadConfig(0x0, 0x0, 0x0, 0x1fc66e0, 0x0)
/home/mickael/Documents/projects/filestash/server/common/config_state.go:32 +0x85
github.com/mickael-kerjean/filestash/server/common.(*Configuration).Load(0x1f97120)
/home/mickael/Documents/projects/filestash/server/common/config.go:214 +0x34
github.com/mickael-kerjean/filestash/server/common.init.1()
/home/mickael/Documents/projects/filestash/server/common/config.go:53 +0x85
2022-10-10 08:22:45 +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