Commit Graph

16 Commits

Author SHA1 Message Date
Pierre Prinetti
10e6bfa5a0 Set auth without authfile
With this patch, it is possible to pass username and password directly
on the command line with:

```shell
yarr --auth 'username:password'
```

The corresponding environment variable comes handy with containers:
```shell
YARR_AUTH='username:password' yarr
```
2022-07-06 15:21:41 +01:00
nkanaev
f030a4075b refactoring 2022-07-04 16:03:50 +01:00
Pierre Prinetti
c9dd977600 Allow passwords with column
Before this patch, an `authfile` with multiple column symbols was not
valid.

After this patch, all characters after the first `:` constitute the
password, until EOL.
2022-07-04 15:21:09 +01:00
nkanaev
cca742a1c2 run windows console fix 2021-11-11 09:51:56 +00:00
Nazar Kanaev
0c5385cef3 update text 2021-06-07 10:07:20 +01:00
Nazar Kanaev
7cfd3b3238 update help 2021-05-30 22:18:48 +01:00
Nazar Kanaev
c072783c42 remove extra underscore from env vars 2021-05-22 21:51:39 +01:00
Nazar Kanaev
9d701678e1 option to log to a file 2021-05-22 21:50:22 +01:00
Nazar Kanaev
ff39fbff70 default options from env vars 2021-05-03 10:16:14 +01:00
Nazar Kanaev
d7ba203f28 rewrite basepath 2021-04-02 22:26:45 +01:00
Nazar Kanaev
9f376db0f4 gofmt 2021-04-02 22:26:44 +01:00
Nazar Kanaev
e53265472f rename handler -> server 2021-04-02 22:26:43 +01:00
Nazar Kanaev
cc7bdc5b76 switch to the standard logger 2021-04-02 22:26:43 +01:00
Nazar Kanaev
5b0b47635d remove open-golang dependency 2021-03-01 15:37:06 +00:00
Nazar Kanaev
adef7b76c9 rename go packages 2021-02-26 13:49:37 +00:00
Nazar Kanaev
3fac9bb1bd move packages to src 2021-02-26 13:49:37 +00:00