Deluan
79a4d8f6ad
Simplify ShortDur code and tests
2024-02-02 21:07:27 -05:00
Deluan
51e07d4cb5
Add log.IsGreaterOrEqualTo, that take into consideration path-scoped log levels
2023-12-25 16:35:16 -05:00
Deluan
3a6d2dcd49
More log redaction
2023-03-21 11:16:00 -04:00
Deluan
712d8f9fcc
Add trace logs to calls to external services
2023-01-31 09:37:09 -05:00
Deluan
e0da1d1589
Log artwork origin (tag, file, etc...)
2022-12-28 15:31:56 -05:00
Deluan
5943e8f953
Rename log.LevelCritical to log.LevelFatal
2022-12-21 14:53:36 -05:00
Deluan
28389fb05e
Add command line M3U exporter. Closes #1914
2022-12-21 14:39:40 -05:00
Deluan
6489dd4478
Fix overriding previous logger in context
2022-12-14 11:50:16 -05:00
Deluan
f206d81afd
Some cleanup, fixes typos and grammar errors
2022-12-06 20:09:03 -05:00
Deluan
31882abf6f
Upgrade Ginkgo to V2
2022-07-26 16:53:17 -04:00
Deluan
f78257235e
Add option to have different loglevels per source folder/file
2021-07-14 18:44:14 -04:00
Deluan Quintão
66b74c81f1
Encrypt passwords in DB ( #1187 )
...
* Encode/Encrypt passwords in DB
* Only decrypts passwords if it is necessary
* Add tests for encryption functions
2021-06-18 18:38:38 -04:00
Igor Rzegocki
6bd4c0f6bf
Reverse proxy authentication support ( #1152 )
...
* feat(auth): reverse proxy authentication support - #176
* address PR remarks
* Fix redaction of UI appConfig
Co-authored-by: Deluan <deluan@navidrome.org>
2021-06-11 23:17:21 -04:00
Deluan
39d68e8287
Restore pretty formatted config options in debug level
2021-05-12 14:43:09 -04:00
Deluan
702a65059f
Fix redaction for query parameters. Fix #1103
2021-05-07 21:42:35 -04:00
Deluan
cfbc39fb7f
Add log redacting, controlled by the new EnableLogRedacting
config option (default true
)
...
Imported redacting code from https://github.com/whuang8/redactrus (thanks William Huang)
Didn't use it as a dependency as it was too small and we want to keep dependencies at a minimum
2021-05-02 16:45:16 -04:00
Deluan
618d5fc81f
Better duration formatting in logs
2021-02-03 13:04:20 -05:00
Deluan
92ba658606
Don't panic if log parameters are invalid
2020-11-22 17:12:53 -05:00
Deluan
f8362a4acb
Fix staticcheck's SA1029
2020-05-13 16:49:55 -04:00
Deluan
46f1b33812
Fix logging when first arg is a context.Context without a logger
2020-04-26 19:33:57 -04:00
Deluan
03c3c192ed
Fixing static checks about passing nil context
2020-04-26 15:07:36 -04:00
Deluan
0ba5840a65
Don't set a playerId cookie it cannot register the player
2020-04-04 20:26:36 -04:00
Deluan
93646b964e
More logging tests
2020-04-04 19:11:21 -04:00
Deluan
13be8d297c
Converted last GoConvey tests to Ginkgo
...
Removed GoConvey dependency
2020-04-04 18:54:12 -04:00
Deluan
d389d40db1
feat: improve logs, remove config for disable authentication
2020-02-01 17:23:03 -05:00
Deluan
71c1844bca
refactor: new persistence, more SQL, less ORM
2020-02-01 17:23:03 -05:00
Deluan
f9db80c409
feat: add conf for data folder, default current folder (not ./data anymore)
2020-01-26 16:42:56 -05:00
Deluan
123f543a94
New Folder Scanner - WIP
2020-01-17 20:54:28 -05:00
Deluan
3d76144f82
Allow LogLevel to be configurable. Also add filename and line number when LogLevel>=debug
2020-01-13 19:57:36 -05:00
Deluan
57390fcda3
Add trace level to log
2020-01-10 13:11:24 -05:00
Deluan
84d69a4f41
Replaced Beego logging
2020-01-09 22:44:45 -05:00