Vincent Bernat
78fb01c223
chore: fix some small issues detected by golangci-lint
...
But not using it as some linters are either plain incorrect (the one
suggesting to not use nil for `c.t.Context()`) or just
debatable (checking for err value is a good practice, but there are
good reasons to opt out in some cases).
2022-08-10 17:44:32 +02:00
Vincent Bernat
61c8143fe8
build: fix linting issues introduced by latest revive release
2022-08-07 23:54:24 +02:00
Vincent Bernat
8be1bca4fd
license: AGPL-3.0-only
...
```
git ls-files \*.js \*.go \
| xargs sed -i '1i // SPDX-FileCopyrightText: 2022 Free Mobile\n// SPDX-License-Identifier: AGPL-3.0-only\n'
git ls-files \*.vue \
| xargs sed -i '1i <!-- SPDX-FileCopyrightText: 2022 Free Mobile -->\n<!-- SPDX-License-Identifier: AGPL-3.0-only -->\n'
```
2022-06-29 11:42:28 +02:00
Vincent Bernat
b65d78ab1b
console: turn authentication into a proper component
2022-06-09 19:55:57 +02:00
Vincent Bernat
f37d98000b
console: use __default as the default user to avoid clash with real ones
2022-06-01 14:55:40 +02:00
Vincent Bernat
78f628b6db
console: use an ETag for avatars
...
The Remote-User header is unlikely to be visible from the browser.
2022-06-01 11:58:00 +02:00
Vincent Bernat
f5252ce077
console: rework a bit user management
...
Notably, HTTP headers are configurable and a provider is used for the
frontend side.
2022-05-31 17:03:00 +02:00