romanilchyshyn
df0d4d27fa
patreon auth
2021-10-13 00:30:14 +03:00
romanilchyshyn and Umputun
e341227cae
import from commento engine
2021-10-06 13:51:31 -05:00
bakurin and Umputun
be46e849a4
Webhook destination for notifications
2021-08-28 12:50:36 -05:00
Dmitry Verkhoturov and Umputun
9df8de511a
Run telegram auth goroutine
...
Fix for https://github.com/go-pkgz/auth/issues/90
2021-08-06 16:56:07 -05:00
Dmitry Verkhoturov and Umputun
0efc04e5cd
fix deprecated flag, improve tests
2021-07-27 11:45:42 -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
Dmitry Verkhoturov and Umputun
ea644a1a31
add telegram auth backend support
2021-07-25 13:16:50 -05:00
Dmitry Verkhoturov and Umputun
83ae758573
address review commends
2021-07-03 14:57:09 -05:00
Dmitry Verkhoturov and Umputun
200733ed03
add user telegram notifications
2021-07-03 14:57:09 -05:00
Dmitry Verkhoturov and Umputun
de6e541604
fix telegram token server setting
2021-06-13 15:47:52 -05:00
Dmitry Verkhoturov and Umputun
d6167980f4
remove ability to set telegram API, clarify params
2021-06-13 01:49:15 -05:00
Dmitry Verkhoturov and Umputun
ea15b28bf6
clarification of notify comments and code
2021-06-12 12:59:26 -05:00
Dmitry Verkhoturov and Umputun
c0b392ad4c
separate user and admin notifications
...
The current state is a mess of user and admin
notifications, which will become worse after
implementing the new user notification methods
like a telegram.
This change makes things simpler
for the remark42 users.
2021-06-03 00:30:53 -05:00
Dmitry Verkhoturov and Umputun
c6e2c38e34
fix email templates path in tests
...
Before:
failed to make notify service,
failed to create email notification destination:
can't set templates:
can't read message template:
open email_reply.html.tmpl:
no such file or directory
After:
make notify, types=[email]
create notifier service, queue size=100, destinations=1
2021-05-27 12:23:12 -05:00
Dmitry Verkhoturov and Umputun
1cff4eb847
clarify deprecation messages
...
Turned out we don't really want to break
users configurations, so deprecated values
stay with us at least before 2.0 is released.
2021-05-25 14:42:29 -05:00
Dmitry Verkhoturov and Umputun
4f2db3cdf6
cover all auth providers with tests, clean up env
2021-05-24 17:15:58 -05:00
Dmitry Verkhoturov and Umputun
6a54ed86c7
move telegram token and timeout to a separate CLI section
...
This simplifies token and timeout reuse for
the notify module (used now) and for
the auth module later (not yet in the code).
SMTP credentials are already set up that way.
2021-05-24 12:15:03 -05:00
Umputun
57fc382956
add ability to select listening address #1000
2021-05-13 14:46:52 -05:00
Umputun and GitHub
52fbac904e
Admin edit ( #997 )
...
* allow admin edits without restrictions
* lint: err reassignment
* lint: suppress false positive
* add admin-edit to readme
* expose admin_edit to config controller
2021-05-10 11:36:02 -05:00
Dmitry Verkhoturov and Umputun
4a2ae04571
replace deprecated golangci-lint check, fix goleak reports
2021-05-07 16:09:28 -05:00
Umputun
a4f2542924
allow admin email login with restricted names #964
2021-04-30 12: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
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
807160dcf6
prep admin to support multiple keys, per aud (siteID)
2021-02-15 13:14:23 -06:00
Umputun and GitHub
be2f6d0a20
Fix admin names ( #858 )
...
* fix admin name check for anon login #605
* update readme with admin names info
* lint: list of static site params
* typo
* don't allow email users to reuse admin names
* move admin.names to restricted-names
* forgotten names member
* remove names from example admin
* remove names from prepTestStore
2021-01-20 13:12:09 -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
eb21a05b7b
add optional frame-ancestors (Content-Security-Policy) for the list of hosts passed by user
2021-01-03 02:33:51 -06:00
Dmitry Verkhoturov
809a7c7dbd
Clean unused stream code
...
It was supposed to solve #253 but frontend part for it in
#357 was never finished, and backend code produces false
positive test failures since day 0. The cost of just having
this code around is too high, we'll re-add it in case
frontend implementation will be finished.
2020-11-30 02:00:59 +01: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
1ce3cf3d1f
simplify admin email notifications
2020-10-20 11:02:04 -05:00
Dmitry Verkhoturov and Umputun
b974fd9cc4
add ability to set multiple admin emails for notifications
2020-09-02 15:09:46 -05:00
vdimir and Umputun
295191955a
Add function createAppFromCmd to server_test.go
2020-08-26 12:39:31 -05:00
Umputun
1eedcc0eb3
don't allow anon with space prefix or suffix
2020-08-16 21:12:42 -05:00
Umputun
729b6d2d08
add --proxy-cors $PROXY_CORS disabling internal cors middleware #749
2020-07-27 16:58:47 -05:00
Dmitry Verkhoturov and Umputun
9510962e25
add redis PubSub web cache as an option
2020-06-25 23:14:50 -05:00
Umputun
df9c05b490
add microsoft auth
2020-06-18 18:25:35 -05:00
Dmitry Verkhoturov and Umputun
42d0c67cb3
add context to server errors, properly close datastore in case of errors
2020-06-13 19:07:33 -05:00
Umputun
dc7bb5810f
typo in from_address param
2020-06-05 03:49:49 -05:00
Dmitry Verkhoturov
80f4862c9c
fix leaking goroutines and add tests for them
2020-06-01 09:58:48 +02:00
Umputun
80854f9d40
allow anon names to inlude non-latin. Add limit (64) to max len #715
2020-05-21 13:18:10 -05:00
Umputun
0895de2f7e
rename all packages from the legacy remark/ to remark42
2020-05-12 11:34:16 -05:00
Pavel Mineev and Umputun
b90d076fdf
Move html to separete files
2020-05-10 23:51:13 -05:00
Dmitry Verkhoturov
f5fcd5b254
switch from go-cache to lcw
2020-05-10 20:41:26 +02:00
Dmitry Verkhoturov and Umputun
bbfeaeb3d0
go-consistent proposed changes
2020-05-04 02:22:16 -05:00
Dmitry Verkhoturov and Umputun
e922fc31a2
enable gocritic linter and fix found issues
2020-04-26 17:05:34 -05:00
Dmitry Verkhoturov and Umputun
71dcb13a71
commit proxy images same way as normally uploaded ones
2020-04-25 12:15:26 -05:00
Dmitry Verkhoturov
8cb274934e
add DataService.ResubmitStagingImages function call on server start
2020-04-23 00:55:13 +02:00
Dmitry Verkhoturov
5ae6dcf652
introduce image.Service commitTTL and cleanupTTL properties
...
This allows having separate values of TTL for Commit and Cleanup
and moving them apart in time, also clarifying their connection
to EditTime which was previously outside of the package level.
2020-04-23 00:54:30 +02:00
Dmitry Verkhoturov
3a0529e51b
enable golangci-lint for tests, fix discovered problems
2020-04-21 12:01:10 +02:00