Commit graph

200 commits

Author SHA1 Message Date
Mickael Kerjean
865442ea59 fix (vet): go vet - #505 2022-09-13 14:12:13 +10:00
Mickael Kerjean
ccb156678b fix (cache): RLock instead of lock 2022-09-13 13:01:03 +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
bb7ea98f02 fix (sync): concurrent map read and map write 2022-09-08 14:55:26 +10:00
Mickael Kerjean
b1c1f9e0f2 feature (api): api configuration 2022-09-07 00:50:23 +10:00
Mickael Kerjean
549d6805f0 feature (api): prepare api for public use 2022-09-05 11:59:28 +10:00
Mickael Kerjean
952f45097e feature (rest): setup for rest api 2022-09-04 18:39:34 +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
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
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
bb91f589e1 fix (open): handle non existing local file 2022-08-28 22:18:38 +10:00
Mickael Kerjean
812446ac23 fix (symlink): wrap os.OpenFile to prevent symlinks expansion
os.Open and os.OpenFile make it possible to open a wide range of
files as seen in https://cs.opensource.google/go/go/+/refs/tags/go1.19:src/os/types.go;l=35

We only want to handle regular files and folders, no socket, device,
symlink, ....
2022-08-28 21:43:43 +10:00
Mickael Kerjean
d265d5b5e0 fix (panic): concurrent read issue 2022-05-19 00:45:56 +10:00
Mickael Kerjean
bf72ee1bd2 feature (plugin): css plugin enhancement 2022-05-11 00:45:41 +10:00
Mickael Kerjean
d94c0fef1a fix (log): log to file when using Log.Stdout 2022-04-27 00:37:39 +10:00
Mickael Kerjean
e2b1b4f477 fix (constant): license info as code 2022-04-25 20:03:13 +10:00
Mickael Kerjean
f9e51482d5 feature (css): inject css as a plugin 2022-04-25 00:34:44 +10:00
Mickael Kerjean
629a80c836 fix (#469): allow cross domain iframe 2022-04-20 08:04:09 +10:00
Mickael Kerjean
9b60ac6301 feature (log): enable more log types 2022-04-07 08:02:24 +10:00
Mickael Kerjean
d1890ecb33 cleanup (config): remove dead code 2022-04-07 07:35:26 +10:00
Mickael Kerjean
9171b6fb5e refactoring (config): separate config loading and saving
The idea is that we can now plug and play different logic for loading
and saving configuration data via a go generator built from plugins
2022-02-04 00:51:57 +11:00
Mickael Kerjean
82e12ca1a6 fix (#422): retrocompatibility with authentication middleware 2022-02-01 17:24:27 +11:00
Mickael Kerjean
50920396b7 fix (zip): additional debug information on zip 2022-01-19 18:07:18 +11:00
Mickael Kerjean
b6c71e9333 fix (config): hide non registered config values 2022-01-17 03:37:37 +11:00
Mickael Kerjean
a91df1637d feature (search): search as a plugin 2022-01-14 16:38:42 +11:00
Mickael Kerjean
f1c32880a3 refactoring (sso): sso middleware 2022-01-10 00:42:16 +11:00
Mickael Kerjean
632100ac0f clean (code): cleanup the laundry on the server 2022-01-07 01:25:43 +11:00
Mickael Kerjean
e5800c6c3b feature (sso): authentication middleware 2022-01-06 20:22:26 +11:00
Mickael Kerjean
095876d450 feature (config): make cookie timeout configurable by admin 2021-10-30 22:31:14 +11:00
Mickael Kerjean
8d413214e2 fix (cabinedit): issue faced by cabinedit 2021-10-06 21:52:19 +11:00
Mickael Kerjean
924a56aa82 feature (shared): redirect + configurable default access type 2021-10-02 17:16:43 +10:00
Mickael Kerjean
2e86ac7bb2 improve (admin): additional customisations on admin console 2021-09-19 14:04:11 +10:00
Pablo Ovelleiro Corral
09a6b8f6c0
feature (nixos): working directory override - #403 2021-08-30 23:35:08 +10:00
Mickael Kerjean
929064b55f maintenance (iframe): content security policy update 2021-08-23 00:00:57 +10:00
Mickael Kerjean
51ed97cc9d fix (test): broken test 2021-08-22 20:46:05 +10:00
Mickael Kerjean
f7a4e52703 maintain (go): go format 2021-08-22 16:47:09 +10:00
Mickael Kerjean
a0b2ca72ed merge 2021-08-22 16:43:25 +10:00
Mickael Kerjean
4ef1017e65 merge 2021-08-22 16:41:45 +10:00
Mickael Kerjean
5e43f1a4b3 feature (migration): config migration mechanism 2021-08-22 16:37:05 +10:00
Mickael Kerjean
b26bdfa1c6 merge 2021-08-22 13:11:22 +10:00
Mickael Kerjean
a67681f454 maintain (feature): remove option from admin backend 2021-08-22 13:08:59 +10:00
Mickael Kerjean
5e24d66903 feature (refresh): option to refresh content after upload 2021-08-22 13:08:40 +10:00
Mickael Kerjean
8543b51b6b merge 2021-08-22 13:08:11 +10:00
Mickael Kerjean
137b36e0a7 feature (logout): customisable logout button 2021-08-22 13:05:09 +10:00
Mickael Kerjean
39f6987465 cleanup (#381): fit pull request 2021-08-22 13:05:09 +10:00
Quentin Bramas
31564efaec feature (#381): option to limit the number of simultaneous upload (#381)
* add an option to change the number of parallel uploads

* undo automatic format

Co-authored-by: Quentin Bramas <bramas@unistra.fr>
2021-08-22 13:05:09 +10:00
Mickael Kerjean
96c32d4447 fix (share): uplaod files on shared links with upload rights 2021-08-19 00:45:59 +10:00
Mickael Kerjean
d91726e7a1 maintain (feature): remove option from admin backend 2021-08-15 00:41:09 +10:00
Mickael Kerjean
16310b9fe0 feature (refresh): option to refresh content after upload 2021-08-13 00:41:45 +10:00
Mickael Kerjean
3808ed856b feature (menubar): toggle menubar from admin setting 2021-08-08 22:01:56 +10:00
Mickael Kerjean
c8c544051a feature (logout): customisable logout button 2021-08-08 21:47:53 +10:00
Mickael Kerjean
80949194b7 cleanup (#381): fit pull request 2021-07-20 00:55:23 +10:00
Quentin Bramas
0fc6d4d32c
feature (#381): option to limit the number of simultaneous upload (#381)
* add an option to change the number of parallel uploads

* undo automatic format

Co-authored-by: Quentin Bramas <bramas@unistra.fr>
2021-07-20 00:48:44 +10:00
Mickael Kerjean
bf59247846 maintain (config): remove deprecated config 2021-07-19 00:49:14 +10:00
Mickael
700c02ece4 feature (logout): customisable logout button 2021-06-20 15:36:25 +10:00
Mickael
83d240209b maintain (version): version bump to v0.5 2021-05-11 22:19:09 +10:00
thielepaul
78c1c6b7b3
feature (css): allow users to set custom css in admin panel - #332 2020-10-19 01:26:00 +11:00
Mickael Kerjean
f2fa1f489e improve (404): SVG artwork from pixeltrue.com 2020-08-05 11:48:25 +10:00
Mickael Kerjean
86dd9da853 feature (search): fallback search when full text search isn't active 2020-07-01 00:23:17 +10:00
Mickael Kerjean
bdf8d9a931 improve (config): common issue on install problems 2020-06-18 00:16:42 +10:00
Mickael Kerjean
a0b841d8e6 maintain (code): remove unused config 2020-06-16 13:38:24 +10:00
Mickael Kerjean
517ec5bc0b feat (local): translation of common server side errors 2020-05-26 16:20:14 +10:00
Mickael Kerjean
71156132db feature (locale): shared error code 2020-05-26 15:03:24 +10:00
Mickael Kerjean
a1df5241a0 fix (persistance): change path of config folders - #183 2020-03-05 22:14:08 +11:00
brxie
c117c99401
fix (config): synchronise cache writes (#237)
Cache writes used in Config.Get() method wasn't synchronized.
Use sync.Mutex to make it thread-save.
2020-03-03 08:47:59 +11:00
Mickael Kerjean
f3e6c8c030 feature (documents): handle office documents using onlyoffice 2019-12-21 15:17:09 +11:00
Mickael Kerjean
539a6f086d feature (transcoding): live transcoding 2019-12-18 02:18:58 +11:00
Mickael Kerjean
6b7c35f9cd fix (#208): create an error message 2019-11-13 23:59:38 +11:00
Mickael Kerjean
4a0b952ba8 improve (build): make build reproducible and easy to inspect/verify 2019-08-20 00:34:24 +10:00
Mickael Kerjean
4814175f00 fix (#187): handle simlinks 2019-08-13 16:02:00 +01:00
Mickael Kerjean
f5f0f30cea improve (config): listen for config changes for reactive configuration 2019-05-22 14:28:31 +10:00
Mickael Kerjean
b1b142a620 cleanup (admin): disabling constants edit from the console 2019-05-17 13:39:41 +10:00
Mickael Kerjean
2da7664014 feature (setup): complete rewrite of the setup wizard adding features such as automatic DNS 2019-05-16 14:39:14 +10:00
root
5597d6ec88 feature (tuneel): HTTP tunnel via websocket to expose instance on the internet 2019-05-15 15:08:52 +10:00
Mickael Kerjean
0350790cfb maintain (refactoring): refactor server code for easier maintenance 2019-05-13 18:03:50 +10:00
Mickael Kerjean
bceeadecae feature (https): support for HTTPS on the server 2019-05-12 02:21:39 +10:00
Mickael Kerjean
cd771319a7 improve (http): cleanup code 2019-05-11 02:57:37 +10:00
Mickael Kerjean
3d9fa49698 improve (plugin): expose routes via plugins 2019-05-10 18:18:02 +10:00
Mickael Kerjean
edf578e710 improve (UA): set a user-agent on HTTP queries that make sense
eg: 'Filestash/v0.4rc.20190510 (http://filestash.app)'
2019-05-10 15:20:13 +10:00
Mickael Kerjean
8aa589b3d5 improve (compression): on the fly gzip compression for a few endpoints 2019-05-09 17:03:40 +10:00
Mickael Kerjean
eeef0f174c improve (lock): leverage RWLock 2019-05-08 15:16:23 +10:00
Mickael Kerjean
b54663016c improve (webdav): handle user restriction and password on the webdav server 2019-05-08 11:30:23 +10:00
Mickael Kerjean
3cae9016a0 maintenance (code): fix typos 2019-05-07 11:46:23 +10:00
Mickael Kerjean
57afe01f73 Merge branch 'master' of http://github.com/mickael-kerjean/filestash 2019-05-07 11:44:18 +10:00
Jeanjean Pierre
53c8e43bcc improve (UI): Add option to always display upload button (#161)
* improve (signature): sign build with gpg

* Add option to always display upload button
2019-05-07 11:43:41 +10:00
Mickael Kerjean
2feed9127e improve (efficiency): improve memory efficiency for resource intensive tasks 2019-05-06 15:16:57 +10:00
=
a17dd11ce6 fix (cache): fix concurrency issue where our mutex wasn't lock properly 2019-04-15 13:09:44 +10:00
=
762977190d improve (go): use old APIs instead of brand new one 2019-04-15 12:58:36 +10:00
=
52c48223ba improve (log): write in stdout as well as log file 2019-04-15 12:19:04 +10:00
=
801760838c feature (seach): index content subject to search 2019-04-12 02:37:31 +10:00
=
e88758567d improve (API): Cat now returns a io.ReadCloser to make it obvious it has to be closed 2019-04-04 19:27:06 +11:00
Mickael
0127fa2c02
feature (search): search feature 2019-04-02 19:48:50 +11:00
Mickael KERJEAN
ce2f3cfc2b feature (webdav): build webdav server from shared link 2019-03-25 22:08:45 +11:00
Mickael KERJEAN
e224ef16fe feature (abusive): creative defense against attacks 2019-03-18 13:37:32 +11:00
Mickael KERJEAN
8393b0d55a fix (test): fix tests 2019-03-14 01:10:59 +11:00
Mickael KERJEAN
685690ed0d feature (backblaze): support for backblaze 2019-03-14 01:10:48 +11:00