Brian Fromm
3592a03f15
fix: add tokenExpirationTime to quick setup, config init, and config set
...
Fixes issue where token expiration time from config file was not saved
to database during initial setup, causing Docker deployments to ignore
the tokenExpirationTime setting.
Changes:
- Add TokenExpirationTime to quick setup initialization (cmd/root.go)
- Add TokenExpirationTime to config init command (cmd/config_init.go)
- Add token-expiration-time support to config set command (cmd/config_set.go)
- Display token expiration time in config cat output (cmd/config.go)
All initialization paths now properly read and save token expiration
settings from config files, environment variables, and CLI flags.
Fixes #3718 , #3150 , #2554 , #2553
Related to #2753
2025-11-16 16:50:34 -07:00
Henrique Dias
e24e1f1aba
feat: add TUS settings to the command line ( #5556 )
2025-11-16 14:13:58 +01:00
Lucky Jain
ac7b49c148
feat: add option to hide the login button from public-facing pages ( #3922 )
...
Co-authored-by: Henrique Dias <mail@hacdias.com>
2025-11-14 16:21:08 +01:00
Ahmad Hesam
0d973d3aad
feat: add 'hide-dotfiles' as command line parameter ( #3802 )
...
Co-authored-by: Henrique Dias <mail@hacdias.com>
2025-11-14 08:19:03 +01:00
Adam
b9787c78f3
feat: allow setting ace editor theme ( #3826 )
...
Co-authored-by: Henrique Dias <mail@hacdias.com>
2025-09-25 16:47:00 +02:00
Jagadam Dinesh Reddy
1582b8b2cd
feat: better error handling for sys kill signals
2025-07-22 08:25:21 +02:00
Vincent Lee
21ad653b7e
feat: Allow file and directory creation modes to be configured
...
The defaults remain the same as before.
For now, the config options are global instead of per-user.
Note also that the BoltDB creation maintains the old default mode of 0640
since it's not really a user-facing filesystem manipulation.
Fixes #5316 , #5200
2025-07-22 07:56:52 +02:00
Henrique Dias
464b644adf
fix: add configurable minimum password length ( #5225 )
2025-06-28 10:07:34 +02:00
Oleg Lobanov
ae0af1f996
chore: fix golangci-lint errors
2024-04-01 18:24:06 +02:00
ねらひかだ
a4b089a6db
feat: allow to configure if home directory is automatically created from cli ( #2963 )
2024-01-30 10:14:50 +01:00
Yarden Shoham
748af7172c
feat: allow setting theme via cli ( #2881 )
2023-12-28 09:52:40 +01:00
Gabriel Alencar
428c1c606d
feat: add a new setting that disables the display of the disk usage ( #2136 )
2023-02-15 23:30:48 +01:00
Ramires Viana
dda9a389f3
feat: hook authentication method
2022-07-20 16:40:49 +02:00
Ryan Qian
0358e42d2c
feat: add manifest theme color param ( #1542 )
2021-09-10 17:08:15 +02:00
Oleg Lobanov
34d7d2c8c4
chore: upgrade golangci-lint
2021-07-26 12:00:05 +02:00
Julien Loir
e8b4e9af46
feat: add single click mode ( #1139 )
2020-11-23 19:06:37 +01:00
Keagan McClelland
97693cc611
feat: add disable exec flag ( #1090 )
2020-10-01 16:45:24 +02:00
Oleg Lobanov
700f32718e
refactor: add more go linters ( #970 )
2020-06-01 01:12:36 +02:00
cnone
473aaf13be
Check if keys exist in map. Fixes : #736
2019-05-21 01:57:01 +03:00
cnone
ce78299464
Fix panic with checkerr
2019-05-20 19:20:41 +03:00
cnone
030f6607f0
Refactor the code
2019-05-20 04:55:36 +03:00
cnone
c3a4e33245
Fix linter issue
2019-05-19 22:05:42 +03:00
cnone
aabf0843ab
Make auth parameters optional
2019-05-19 22:03:26 +03:00
cnone
748e4acfb6
Fix empty json auth parameter bug
2019-05-19 17:31:25 +03:00
cnone
6e48a6b512
Make --auth.method parameter optional Fixes : #715
2019-05-19 17:13:34 +03:00
Henrique Dias
d0f8c141e1
feat: adds support for unix sockets ( #729 )
...
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2019-05-17 11:48:06 +01:00
荒野無燈
65a53514d5
global settings: add createUserDir option. new feature: auto create user home dir while adding user.
...
Former-commit-id: 331a76abdc611236ccc761d0fd9a814ed1ee0c35 [formerly 0c1024a5b8109c84d213e0cbdbe05e10eb5793d4] [formerly 467e1789f55c410ff2ca9e9ef125d9fe28410bc9 [formerly e8570e4dba ]]
Former-commit-id: 1eed58870b6e009d84806db6b55efc5fc3983e2a [formerly 3e9083f7758e72bd307ed23c4b512a8ab5adc523]
Former-commit-id: 5023ef77eb92636e62fde511ea609114e667a7d7
2019-02-19 11:55:18 +08:00
Henrique Dias
1259fc1bbc
feat: remove version cmd ( #675 )
...
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
Former-commit-id: 04a60c58f20d63ca7b25731c41e144bcf0f538cc [formerly e6e179799b64779515051df53352df5e63edc259] [formerly 0689eba81ff5f7ee3ea75db37b91cef4d6d8f35c [formerly 85899acae6 ]]
Former-commit-id: 96ca0cadb94131ddd3b57f0f11ad629edf687e40 [formerly 50130c75d39e67b15a645e7f4879acf34a5d6620]
Former-commit-id: 53b8120673a82217c3625de161d4ec57a96e1470
2019-02-15 12:54:44 +01:00
1138-4EB
6712fa580b
enable version subcmd and --version flag for root cmd and all subcmds
...
Former-commit-id: a9e681d47d47f9f09a22d8479705f62672f509b7 [formerly b7d17db57156675b06897bc289fe616628a47abb] [formerly e06d3b13b547356fb928288b09aaaaf1a60b8950 [formerly b4708348c6 ]]
Former-commit-id: 43b18221e14269bada106e867b666f67a692c992 [formerly bee15f87fc2ecf5e8b4a0d74f41bde7617aef12a]
Former-commit-id: 733aaa6f3d5e3fc80dbb65ccc028d9f6ff6f73b7
2019-01-08 16:20:23 +01:00
Henrique Dias
870b5b4079
fix: use server options from DB too ( #616 )
...
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
Former-commit-id: bb60ec81f56f5d761ef76b2c1e26bbe83210f434 [formerly b28f83c65e0934e138a1710549f52e0f66a158e0] [formerly 7138a3215ceb144afa0ea45be2315f30b052109f [formerly 72069207c6 ]]
Former-commit-id: 0fb7ae6353f786edd93a9166141bfa446dd3dbf9 [formerly 5cb07e8c96a7cfca1aec5843123e1abc4ca8578a]
Former-commit-id: 914c0348516f072a9ccce4e105327feaaddb4cc0
2019-01-08 14:07:55 +00:00
Henrique Dias
684366e050
feat: simplify flag adding
...
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
Former-commit-id: 520945c4cd979999ce7da8cc60544e1e390de3fe [formerly 5c73f94c28f67f0fb25ecff7ce999480ff0d873f] [formerly bdb85560ceeac89408c8588213ef88c5b774c8c7 [formerly fc06f642f2 ]]
Former-commit-id: dc0c81b78cdec8656bd25dad84f9589486300d34 [formerly b18cd1e0bced8b34b31863fb7c4e714905bbf0d9]
Former-commit-id: cd84e54f28b9c56c3ced9da79f7fcb9a659f674a
2019-01-08 10:50:37 +00:00
Henrique Dias
b9acd275a2
feat: remove useless code
...
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
Former-commit-id: 7cc4780fb876e5cbb50a2918bb7f59ef27c9df69 [formerly 172f465b8292a1427ca957034c25bd989b27665a] [formerly aa4115896142f42f126f3cce34256937b03c5e04 [formerly 46b221533a ]]
Former-commit-id: dbe998a5acfe50a763cef63316c824c49b626dad [formerly 92d7264061e532ceae3a98861f434734f4488b90]
Former-commit-id: c09fb725461ad375bac46a2648a588a1b6d88ffd
2019-01-07 23:11:00 +00:00
Henrique Dias
42134a4849
feat: cleanup cli
...
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
Former-commit-id: 2923c251335301f361098890bf67d47cd58c0f86 [formerly 277653e21c4b9077ea3b83c149f0c5b2982b694f] [formerly 7481557b6f47c8de6499f3ee7339ea8d29216700 [formerly 999c69de5c ]]
Former-commit-id: 65eaacb4aee11f84c9f97ca2834def045921202a [formerly 7c9260a1fe142258dd0ac02c4710b03badd66d76]
Former-commit-id: ff3f3d7189b2e8cc2f00bef581cba108780e4552
2019-01-06 15:26:46 +00:00
Henrique Dias
f879944346
feat: dont persist server data on database
...
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
Former-commit-id: 2ba9d0a5d060380a73ec1b46901a6f16a5e985a1 [formerly 1cd1c62eaba87c166d8fe10baebfe27bce0448a0] [formerly 3d1721671fb760a4b99aa66fe7d5a8d00579b17c [formerly a8ff679ae3 ]]
Former-commit-id: ff84b7c9f8982292219b6c673ecbe60b231cb567 [formerly 2cf251aa108b3415e766fd05dd268ccd05f0ee1c]
Former-commit-id: f112fdbd48836c509981cb93f41a47ff0eff77eb
2019-01-06 12:26:48 +00:00
Henrique Dias
12b2c21522
feat: v2 ( #599 )
...
Read https://github.com/filebrowser/filebrowser/pull/575 .
Former-commit-id: 7aedcaaf72b863033e3f089d6df308d41a3fd00c [formerly bdbe4d49161b901c4adf9c245895a1be2d62e4a7] [formerly acfc1ec67c423e0b3e065a8c1f8897c5249af65b [formerly d309066def ]]
Former-commit-id: 0c7d925a38a68ccabdf2c4bbd8c302ee89b93509 [formerly a6173925a1382955d93b334ded93f70d6dddd694]
Former-commit-id: e032e0804dd051df86f42962de2b39caec5318b7
2019-01-05 22:44:33 +00:00