Dmitry Verkhoturov
9ad3be2e97
bump go modules, make auth dev hostname customisable
...
After this commit, dev auth would start working with the `REMARK_URL`
hostname instead of the previously hardcoded 127.0.0.1.
Breaks development setup where `REMARK_URL` was set
to a non-standard value and dev auth was running on 127.0.0.1
and working, as, after that change, it would stop working.
2022-08-26 23:35:57 +02:00
Dmitry Verkhoturov and Umputun
a9836aaea0
move static web files from rakyll/statik to go:embed
...
There is no need for the rakyll/statik package starting with Go 1.16,
which provides us with tools for embedding files
without third-party libraries.
2022-08-03 15:41:02 -05:00
Dmitry Verkhoturov and Umputun
50785e0577
bump didip/tollbooth from v6 to v7
2022-07-19 17:13:02 -05:00
Dmitry Verkhoturov and Umputun
9c1a827685
update alecthomas/chroma and Depado/bfchroma to v2
2022-07-13 20:29:46 -05:00
Dmitry Verkhoturov and Umputun
26476db95d
update go-pkgz/rest, stretchr/testify, three stdlib modules
2022-07-13 12:40:30 -05:00
Dmitry Verkhoturov and Umputun
1f96a0e4d3
update go-pkgz/auth module to fix dev provider work
...
Fix for error introduced in the following commit:
https://github.com/go-pkgz/auth/commit/06e72788bcbb23d958c60655b42892b95457477e
After text/template was replaced with the html/template,
the dev provider started escaping parameters
which were not supposed to be escaped.
2022-07-10 10:49:41 -05:00
Umputun
e182e3c776
switch to master version of auth
...
for https://github.com/go-pkgz/auth/pull/119
2022-06-05 12:49:30 -05:00
Dmitry Verkhoturov and Umputun
3b5f44da46
bump go modules, fix StartTLS email notifications
...
In #1359 , we discovered that StartTLS was not working\
due to the wrong host passed. This bumps the library for the fix.
Also, after a switch to go-pkgz/notify MailGun email sending
broke due to the difference in the destination email parsing,
the fix is also applied after this commit.
2022-05-20 16:00:30 -05:00
Dmitry Verkhoturov and Umputun
0560a893cf
switch to go-pkgz/notify package: modules
2022-04-29 13:32:15 -05:00
Umputun
f4856c86d7
update deps
2022-04-15 12:50:05 -05:00
Umputun and GitHub
89dc8ac6dd
Go 1.17 ( #1306 )
...
* change go mod to 1.17
* update go-pgkz and transitive deps
* bump examples to go-1.17
* bump deps
2022-04-05 11:50:45 -05:00
Dmitry Verkhoturov and Umputun
6fd730655a
bump Go modules
2022-02-09 11:04:13 -06:00
Dmitry Verkhoturov and Umputun
6fe83fb6b8
bump auth module
...
Follow-up for https://github.com/go-pkgz/auth/pull/107
2022-02-06 14:22:27 -06:00
Dmitry Verkhoturov and Umputun
603decabf6
add QR API endpoint for Telegram auth and notifications
...
Telegram authentication requires you to open a chat on the phone.
It's convenient to have a QR code for the case when you want to
log in on the computer but have Telegram only on your phone
and would be able to scan the QR instead of copy-pasting the link
from the computer to the phone any other way.
Originally we thought of generating QR on the client but found
backend-generated QR a better alternative because we avoid adding
one more JavaScript dependency to the frontend that way.
2022-01-31 14:28:18 -06:00
Dmitry Verkhoturov and Umputun
8d42d0714f
bump backend dependencies
...
Also, switch from fork github.com/umputun/go-flags back to original
github.com/jessevdk/go-flags.
2022-01-31 14:24:33 -06:00
Umputun
f621555ef4
update auth lib with /status support
...
potential fix for #1188 can use /auth/status
2021-12-07 13:03:12 -06:00
Dmitry Verkhoturov and Umputun
c751fbaf37
bump project dependencies, go-auth
2021-11-08 11:41:07 -06:00
Dmitry Verkhoturov and Umputun
c852ea4834
bump go modules
2021-10-29 11:48:46 -05:00
Umputun
bec8079af9
update bluemonday deps
2021-10-18 23:45:22 -05:00
Dmitry Verkhoturov and Umputun
3f0ede560c
bump go modules in the project
2021-09-08 11:34:48 -05:00
Dmitry Verkhoturov and Umputun
fd5df39fe2
bump backend auth module to fix telegram auth
2021-08-17 16:33:53 -05:00
Umputun
b66c94e002
migrate jwt lib to maintained fork and updated (the same way) go-pkgz/auth
2021-07-26 21:06:12 -05:00
Umputun
c055749dae
revendor to auth:master to provide fix for 404 avatar
2021-05-07 20:00:24 -05:00
Umputun and GitHub
d5246c9689
Deps bump ( #956 )
...
* remove redundant sprintf
* bump many deps
* missing vendors
2021-04-27 00:30:38 -05:00
Umputun
52084e0510
update bluemonday and related deps
2021-04-23 03:44:17 -05:00
ronan and Umputun
df4b0c80ac
Support for Slack notifications
...
Slack notifications: remove debug log
Slack notifications: code lint
Slack notifications: code lint
Slack notifications: code lint
fix according to comments
2021-04-21 12:56:14 -05:00
Umputun
961b8aacd9
update bluemonday to v1.0.5 to fix https://github.com/microcosm-cc/bluemonday/issues/111
2021-04-02 19:41:16 -05:00
Umputun and GitHub
0b13e8a8d2
update backend deps from go-pkgz ( #935 )
2021-03-29 16:24:59 -05:00
Umputun
6f35928396
update bluemonday version
2021-03-26 15:06:39 -05:00
Umputun
d6019e55b0
update limiter deps
2021-02-21 14:04:21 -06:00
Umputun
fa22e32757
revendor with update auth #784
2021-01-15 11:37:07 -06:00
Umputun and GitHub
aff79a6fa9
Same site ( #850 )
...
* switch to auth master for same-site
* add same-site policy support #784
* add parse same site param
2021-01-14 13:06:29 -06:00
Umputun
ed3cd197dd
bump deps
2021-01-03 03:55:00 -06:00
Umputun
b15f07b5f7
update auth module
2021-01-03 02:22:23 -06:00
Dmitry Verkhoturov and Umputun
6426ea154e
#819 add SendJWTHeader auth option, expose it on /config
2020-11-29 18:18:22 -06:00
Dmitry Verkhoturov and Umputun
ebf379f4d6
bump go-pkgz/lcw to v0.7.1
2020-06-25 17:28:33 -05:00
Umputun
df9c05b490
add microsoft auth
2020-06-18 18:25:35 -05:00
Dmitry Verkhoturov and Umputun
890d7154e7
bump go modules
2020-05-24 19:00:07 -05:00
Umputun
2f20b64c0f
switch lcw to stable version
2020-05-22 14:18:34 -05:00
Umputun
a8f3e1730b
update to lcw@master
2020-05-09 21:20:03 -05:00
Umputun
d7442ef1a9
switch flags, revendor
2020-04-13 12:30:23 -05:00
Dmitry Verkhoturov and Umputun
d6c7e151a0
bump modules
2020-04-13 12:03:26 -05:00
Dmitry Verkhoturov and Umputun
dba77d403d
bump go-pkgz modules, bbolt new url
2020-04-12 16:09:01 -05:00
1e548eb85f
Code colors (backend support) ( #590 )
...
* testing code highlight with bfchroma render
* add bfchroma vendoring
* render code htm with classes
* adjust bfchroma test cases inside formatter
* go mod tidy
* fix markdown code render tests
* adjust comment text sanitizer to permit code HTML classes
* go mod tidy
* add chroma classes list regexp
* unify gitignore entries style
Co-authored-by: Umputun <umputun@gmail.com >
2020-02-08 21:11:12 -06:00
Dmitry Verkhoturov
62c43cce77
replace blackfriday.v2 with blackfriday/v2
2020-02-07 22:15:05 +01:00
Umputun
21e6360ca4
update deps and vendor
2019-11-11 18:50:30 -06:00
Umputun
eb67ba85d1
update deps
2019-10-27 13:57:10 -05:00
Umputun
e018fac6c4
revendor
2019-09-05 18:56:43 -05:00
Umputun
ef7476d3e1
change auth lib to 0.8.2, fixed user's aud promotion
2019-08-24 14:17:35 -05:00
Umputun
a6149ae064
add support for avatar store uri
2019-08-24 01:59:24 -05:00