TwiN
10949b11f4
fix(oidc): Default isAuthenticated to true, not false
2022-01-02 21:37:15 -05:00
TwiN
425c1d3674
oidc: Add /api/v1/config route for determining whether to display a login button on the UI
2022-01-02 21:14:01 -05:00
TwiN
be9087bee3
#205 : Work on supporting OpenID Connect for auth
2022-01-02 21:14:01 -05:00
TwiN
45a47940ad
#205 : Start working on adding support for IODC
2022-01-02 21:14:01 -05:00
TwiN
1777d69495
Remove unnecessary check
2021-12-14 23:26:18 -05:00
Eng Zer Jun
7a05bdcb82
refactor: move from io/ioutil to io and os packages
...
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil . This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-12-03 14:44:17 +08:00
TwiN
0331c18401
Make sure cache is disabled for badges and charts
2021-11-24 18:36:31 -05:00
TwiN
17a431321c
Pass http.NoBody instead of nil as body
2021-11-11 00:14:00 -05:00
TwiN
5e711fb3b9
Use http.Error instead of writer.Write
2021-11-08 20:56:35 -05:00
TwiN
d3805cd77a
Fix #197 ; Fix #198 : Deprecate storage.file in favor of storage.path and deprecate persistence with memory storage type
2021-11-04 21:33:13 -04:00
TwiN
9287e2f9e2
Move store initialization to store package
...
This will allow importing storage.Config without importing every SQL drivers in the known universe
2021-10-28 19:35:46 -04:00
TwiN
6ed93d4b82
Rename Service to Endpoint ( #192 )
...
* Add clarifications in comments
* #191 : Rename Service to Endpoint
2021-10-23 16:47:12 -04:00
TwiN
6c45f5b99c
⚠ Migrate TwinProduction/gatus to TwiN/gatus
2021-10-07 21:28:04 -04:00
TwinProduction
2d3fe9795f
Add v3 to module path
...
Gatus wasn't intended to be used as a library, but I have a use case now.
2021-10-03 21:53:59 -04:00
TwinProduction
df3a2016ff
Move web and ui configurations in their own packages
2021-09-22 00:47:51 -04:00
TwinProduction
d7de795a9f
Retrieve metrics from the past 2 hours for badges with a duration of 1h
2021-09-13 23:29:35 -04:00
TwinProduction
c57a930bf3
Refactor controller and handlers
2021-09-12 18:39:09 -04:00