Miroslav Šedivý
|
8f83089c8e
|
move to /health and exclude metrics from logging.
|
2022-07-04 18:09:47 +02:00 |
|
Miroslav Šedivý
|
ef7e9b1a53
|
move metrics to /metrics.
|
2022-06-14 22:34:51 +00:00 |
|
Miroslav Šedivý
|
0952be6a94
|
add chi metrics middleware.
|
2022-06-15 00:22:27 +02:00 |
|
Maksim Dorokhin
|
f447cabe2e
|
add patch method to router.
|
2022-04-14 08:47:47 +00:00 |
|
Miroslav Šedivý
|
8593d2d0fd
|
move shared code to pkg.
|
2022-03-20 11:43:00 +01:00 |
|
Miroslav Šedivý
|
94c17e9a42
|
rename module to gitlab.com/demodesk/neko/server.
|
2022-03-20 11:27:41 +01:00 |
|
Miroslav Šedivý
|
89ba775a71
|
add pprof.
|
2022-02-12 20:22:50 +01:00 |
|
Miroslav Šedivý
|
31eb743a5d
|
fix static server response code.
|
2021-09-20 00:19:33 +02:00 |
|
Miroslav Šedivý
|
e95cc99ea2
|
fix whitespaces.
|
2021-09-20 00:19:10 +02:00 |
|
Miroslav Šedivý
|
f96466b7b9
|
websocket upgrade as router handler.
|
2021-09-18 14:59:15 +02:00 |
|
Miroslav Šedivý
|
6bd46b438e
|
exclude healthcheck from logs.
|
2021-09-17 20:35:41 +02:00 |
|
Miroslav Šedivý
|
c2d2557704
|
http logger add panic.
|
2021-09-17 20:20:10 +02:00 |
|
Miroslav Šedivý
|
6026ab8a27
|
log http panic.
|
2021-09-17 19:37:09 +02:00 |
|
Miroslav Šedivý
|
7e548ec00a
|
logger wrap zerolog.
|
2021-09-17 19:27:21 +02:00 |
|
Miroslav Šedivý
|
fb6042ada1
|
do not export router context.
|
2021-09-17 19:23:04 +02:00 |
|
Miroslav Šedivý
|
fe84e218e6
|
logger use chi's middleware.
|
2021-09-17 19:22:49 +02:00 |
|
Miroslav Šedivý
|
5688be80ba
|
fix logger.
|
2021-09-17 00:58:50 +02:00 |
|
Miroslav Šedivý
|
8d0fcbde70
|
use custom logger.
|
2021-09-17 00:58:50 +02:00 |
|
Miroslav Šedivý
|
5a7cdd31fe
|
http refactor.
|
2021-09-17 00:24:33 +02:00 |
|
Miroslav Šedivý
|
4fa11e6a2a
|
refactor HTTP error.
|
2021-09-16 20:16:51 +02:00 |
|
Miroslav Šedivý
|
d7671942a6
|
code fmt change.
|
2021-09-02 21:37:24 +02:00 |
|
Miroslav Šedivý
|
7e2f173460
|
unify shutdown logs.
|
2021-09-02 00:00:29 +02:00 |
|
Miroslav Šedivý
|
530cc04805
|
http use config.
|
2021-08-29 15:40:58 +02:00 |
|
Miroslav Šedivý
|
ec18775e26
|
change error messages punctuation.
|
2021-04-24 21:37:43 +02:00 |
|
Miroslav Šedivý
|
52e586790e
|
fix static files serving Path.
|
2021-03-21 21:42:53 +01:00 |
|
Miroslav Šedivý
|
e4d82673da
|
fix 401 and 403 texts.
|
2021-03-21 21:32:52 +01:00 |
|
Miroslav Šedivý
|
0eef9d4d98
|
update auth middlewares.
|
2021-03-21 21:26:53 +01:00 |
|
Miroslav Šedivý
|
5a79212b32
|
add healthcheck.
|
2021-03-19 15:04:01 +01:00 |
|
Miroslav Šedivý
|
58d029f455
|
WS upgrade no returning error.
|
2021-03-16 10:45:22 +01:00 |
|
Miroslav Šedivý
|
4a28307c1e
|
session profile decoupled.
|
2021-03-14 00:45:51 +01:00 |
|
Miroslav Šedivý
|
dafebc79e5
|
memberState -> sessionState.
|
2021-03-13 23:42:16 +01:00 |
|
Miroslav Šedivý
|
c6a183f766
|
set AllowCredentials to true.
|
2021-03-01 18:20:17 +01:00 |
|
Miroslav Šedivý
|
2b693f4e52
|
fix naming convention.
|
2021-02-14 17:11:21 +01:00 |
|
Miroslav Šedivý
|
45679f1b86
|
format Go source code.
|
2021-02-14 14:40:17 +01:00 |
|
Miroslav Šedivý
|
57ed35552f
|
websocket in api scope.
|
2021-01-29 23:02:29 +01:00 |
|
Miroslav Šedivý
|
d30d6deb79
|
add CORS.
|
2021-01-23 18:18:14 +01:00 |
|
Miroslav Šedivý
|
afd3dd2f56
|
generate screenshot using Xlib.
|
2021-01-21 20:44:09 +01:00 |
|
Miroslav Šedivý
|
fc6997d2ac
|
lint fix.
|
2021-01-08 22:41:37 +01:00 |
|
Miroslav Šedivý
|
245c3d9635
|
add CanHostOnly.
|
2020-12-29 22:00:28 +01:00 |
|
Miroslav Šedivý
|
123fbd8317
|
IsAdmin + IsConnected.
|
2020-12-02 16:49:51 +01:00 |
|
Miroslav Šedivý
|
c4978ba376
|
http response name convention.
|
2020-11-28 15:00:21 +01:00 |
|
Miroslav Šedivý
|
0dab2a99d3
|
introduce REST API authorization.
|
2020-11-16 19:37:52 +01:00 |
|
Miroslav Šedivý
|
40b986c8be
|
use Chi Router instead of Chi Mux.
|
2020-11-14 18:16:25 +01:00 |
|
Miroslav Šedivý
|
dd8867615e
|
fix naming convention.
|
2020-11-13 17:34:53 +01:00 |
|
Miroslav Šedivý
|
e4864b095e
|
http listening not warning.
|
2020-11-07 20:12:37 +01:00 |
|
Miroslav Šedivý
|
d78f98e78e
|
make serving files as optional feature.
|
2020-11-01 17:40:22 +01:00 |
|
Miroslav Šedivý
|
507fce7862
|
port new API back to refactor.
|
2020-11-01 16:54:06 +01:00 |
|
Miroslav Šedivý
|
5d906e0a8b
|
major refactor.
|
2020-11-01 16:09:48 +01:00 |
|
Miroslav Šedivý
|
71d39a5c74
|
add API JWT auth.
|
2020-10-31 10:48:24 +01:00 |
|
Miroslav Šedivý
|
dc32e64190
|
api manager.
|
2020-10-30 18:16:21 +01:00 |
|