Mickael Kerjean
21a72b2048
maintain (generator): simplify build command
...
Before this commit our build had this option:
-ldflags "-X github.com/mickael-kerjean/filestash/server/common.BUILD_DATE=`date -u +%Y%m%d` -X github.com/mickael-kerjean/filestash/server/common.BUILD_REF=`git rev-parse HEAD`"
Doing this via a generator is much easier for people getting started
with Filestash
2022-09-28 18:11:58 +10:00
Mickael Kerjean
3013141999
clean (sqlite): sqlite without cgo
...
We want to make it easier to compile the project for newcomers
2022-09-28 13:58:25 +10: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
b9a177aa26
maintain (404): change 404 page
2022-09-21 17:01:12 +10:00
Mickael Kerjean
9d596704e7
feature (api): public api
2022-09-20 17:43:26 +10:00
Mickael Kerjean
8ee1372760
doc (update): readme
2022-09-16 07:52:23 +10:00
Mickael Kerjean
548b057d6a
fix (selfsigned): self signed certificate issues
2022-09-15 22:38:54 +10:00
Mickael Kerjean
1844c6d33e
maintain (debug): add debug statements
2022-09-15 19:32:17 +10:00
Mickael Kerjean
0748e56092
fix (recover): recover from possible panic
2022-09-15 18:53:36 +10:00
Mickael Kerjean
7a9f94ce6d
fix (middleware): "cannot parse time" issue causing infinite loop
2022-09-15 07:32:04 +10:00
Mickael Kerjean
e2874f2a9b
improve (404): 404 errors
2022-09-14 23:55:11 +10:00
Mickael Kerjean
2197385d54
fix ( #508 ): support for traditional chinese
2022-09-13 19:51:34 +10:00
Mickael Kerjean
c856f1666b
maintain (ci): remove benchmark from ci
2022-09-13 18:36:43 +10:00
Mickael Kerjean
d0c8f75b01
fix (rate limit): update default value for rate limit
2022-09-13 17:34:42 +10:00
Mickael Kerjean
d0e2c4a227
maintain (error): add internal error
2022-09-13 17:28:53 +10:00
Mickael Kerjean
87443235a2
fix (backend): clean up caching
2022-09-13 15:24:21 +10:00
Mickael Kerjean
720073a181
Merge branch 'master' of ssh://github.com/mickael-kerjean/filestash
2022-09-13 14:50:25 +10:00
thielepaul
0d55704031
fix (sftp_backend): wait until all requests are finished before closing ( #506 )
2022-09-13 14:49:15 +10:00
Mickael Kerjean
865442ea59
fix (vet): go vet - #505
2022-09-13 14:12:13 +10:00
Mickael Kerjean
69f00c2a6f
fix ( #508 ): translation issue for traditional chinese
2022-09-13 13:52:01 +10:00
Mickael Kerjean
76bf595e22
feature (token): token generation for API
2022-09-13 13:25:17 +10:00
Mickael Kerjean
18279dcb4e
fix (middleware): broken build
2022-09-13 13:21:21 +10:00
Mickael Kerjean
3f933e08db
feature (preflight): preflight to /api/files
2022-09-13 13:12:26 +10:00
Mickael Kerjean
ccb156678b
fix (cache): RLock instead of lock
2022-09-13 13:01:03 +10:00
Mickael Kerjean
66c6788b94
feature (doc): embed documentation
2022-09-13 12:53:02 +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
0acf94ce0c
fix (middleware): bodyparser must not return an error if no body
2022-09-12 01:05:44 +10:00
Mickael Kerjean
bd9deb858d
feature (crypto): nonce generator as a counter
2022-09-09 23:22:47 +10:00
Mickael Kerjean
7e5ec42f6c
maintain (config): openup 2 methods for Config for plugins
...
This is for plugins to do more fine grained stuff with the global
Config object
2022-09-09 15:12:14 +10:00
Mickael Kerjean
d53cbefc54
fix (plg_image_ascii): reasonable content type
2022-09-08 15:19:10 +10:00
Mickael Kerjean
bb7ea98f02
fix (sync): concurrent map read and map write
2022-09-08 14:55:26 +10:00
Mickael Kerjean
bfe809d5ab
cleanup (plugin): disable plugin that don't seem to be used
2022-09-07 00:51:32 +10:00
Mickael Kerjean
b1c1f9e0f2
feature (api): api configuration
2022-09-07 00:50:23 +10:00
Mickael Kerjean
3a63eb0777
feature (plg_image_ascii): image ascii transform
...
The idea here is to be able to use curl and have Filestash to render
image in a terminal friendly fashion
2022-09-06 22:27:12 +10:00
Mickael Kerjean
549d6805f0
feature (api): prepare api for public use
2022-09-05 11:59:28 +10:00
Mickael Kerjean
c7e40e42db
feature (429): rate limit authentication endpoints
2022-09-04 22:26:03 +10:00
Mickael Kerjean
952f45097e
feature (rest): setup for rest api
2022-09-04 18:39:34 +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
bb9fb89d44
fix (concurrency): prevent concurrent map writes
...
when booting up, we have a lot of Set in the Config alongside a lot of
Get, Let's block all the concurrent Set
2022-09-01 23:28:29 +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
75696a8088
fix (plg_backend_tmp): incorrect permission when creating folder
2022-08-31 00:40:23 +10:00
Mickael Kerjean
fd1f5d0421
feature (admin): version details
2022-08-31 00:33:48 +10:00
Mickael Kerjean
a82177e719
maintain (ctx): pass app context as pointer
2022-08-30 17:27:23 +10:00
Mickael Kerjean
b62a9dd423
fix (os): wrapper for file related operation via the os package
2022-08-30 01:46:06 +10:00
Mickael Kerjean
8bbd4a2f57
fix (symlink): evaluate symlinks before opening file
2022-08-29 20:10:14 +10:00
Mickael Kerjean
28c2e5070d
fix ( #500 ): ldap issue as reported in #500
2022-08-28 23:41:20 +10:00