Dmitry Verkhoturov and Umputun
596b1045bd
allow dots in site id during email user validation
2022-11-03 16:31:00 -05:00
Dmitry Verkhoturov and Umputun
907ca2b590
remove the only generic logger usage
...
github.com/go-pkgz/lgr should be used instead for consistency
with the rest of the code
2022-11-03 16:30:10 -05:00
Dmitry Verkhoturov and Umputun
f1b5469b83
bump github actions versions
...
Old ones produce warnings due to deprecation of NodeJS 12
2022-11-03 15:20:30 -05:00
Denis Hananein and Umputun
984fbde540
Support no_footer option
2022-10-25 21:42:08 -05:00
Dmitry Verkhoturov and Umputun
2bdc05dd47
remove unused entrypoint.sh
...
It should be removed after changes in 141c75401 .
2022-10-23 12:55:34 -05:00
Dmitry Verkhoturov and Umputun
d2ea572abf
fix "it's" used in place of "its"
2022-10-20 14:18:21 -05:00
Dmitry Verkhoturov and Umputun
8d5c4cd578
make docker build work on tag again
2022-10-20 14:16:38 -05:00
Dmitry Verkhoturov and Umputun
dd1ba9b518
clean up comment HasReplies cache on child comment deletion
...
Previously, the cache kept the entry and deletion of the parent comment
after child deletion was not possible for the rest
of cache life (5m) duration. Now it's possible to delete
a parent comment after the deletion of the child comment
by a user or admin.
Resolves #1481
backend/v1.11.0
v1.11.0
2022-10-03 03:28:29 -05:00
Dmitry Verkhoturov and Umputun
cebe929118
bump go modules, enable LoginAuth option for email
...
That option is needed for outlook.com and Office 365, resolves #1472 .
2022-10-03 03:26:34 -05:00
Dmitry Verkhoturov and Umputun
3eccf01f1f
bump docker-compose.yml for the site to work with dev properly
...
Previously, an image built for the `build` service was then used
for `server`, and changes were invisible to the user
before the container rebuild.
After that change, the useless static `build` service is deleted,
Dockerfile is only used in the CI pipeline, and only the `server`
service is left in docker-compose for the user to test
and see documentation changes locally in real-time.
Resolves #1178
2022-10-02 23:52:19 -05:00
Dmitry Verkhoturov and Umputun
050f1b7941
migrate from mockery to moq
2022-10-02 21:21:28 -05:00
Pavel Mineev and Umputun
53cc370727
admin: fix block period
2022-10-02 13:40:58 -05:00
Paul Mineev and Umputun
363e05d580
fix iframe resize on auth dropdown opening
2022-10-01 18:34:33 -05:00
Dmitry Verkhoturov and Umputun
2ecc80e18c
fix RPC engine work with ListFlags method
...
Fixes the following conversion problem for BlockedUser:
```
panic: interface conversion: interface {} is map[string]interface {},
not store.BlockedUser [recovered]
```
Resolves #1475 .
2022-09-29 11:56:12 -05:00
Dmitry Verkhoturov and Umputun
0728b28856
bump golangci-lint, fix discovered problems
...
Also, improve the goveralls installation method.
2022-09-28 18:11:09 -05:00
Dmitry Verkhoturov and Umputun
a6a9270f63
apply pngcrush, advpng and optipng to all png images
...
Commands used:
```
find . -type f -iname "*.png" -exec advpng -z4 {} \;
find . -type f -iname "*.png" -exec optipng -o7 -preserve {} \;
find . -type f -iname "*.png" -exec pngcrush -rem allb -brute -reduce -ow {} \;
```
2022-09-28 16:05:03 -05:00
Dmitry Verkhoturov and Umputun
372429a9f5
call admin store with a proper key
...
Previously it was set to fixed strings, likely a test artefact.
Resolves #1499 .
2022-09-28 16:04:19 -05:00
Umputun
4733ad8eb1
Revert "fix iframe resize on auth dropdown opening"
...
This reverts commit 8e96aa26b4 .
2022-09-21 15:57:41 -05:00
Paul Mineev and Umputun
8e96aa26b4
fix iframe resize on auth dropdown opening
2022-09-21 10:56:34 -05:00
Dmitry Verkhoturov and Umputun
c0e8520d31
fix makefile and dockerfile
...
Here are multiple changes to commands run by Makefile based on my
attempts to run it on an Oracle Linux machine with the latest Docker.
2022-09-17 13:05:56 -05:00
Paul Mineev and Umputun
345f80d90d
add contribution links in readme
2022-09-14 14:43:58 -05:00
Paul Mineev and Umputun
ffcef2fe99
fix selected item
2022-09-13 10:54:13 -05:00
Dmitry Verkhoturov and Umputun
e77dc33333
bump mockery from v1.1.2 to v2.14.0
...
Command-line params changed their names,
and old ones won't work anymore.
2022-09-12 17:22:34 -05:00
kaikunz and Umputun
5fee19f6c7
Update supportedLocales.json
...
add th
2022-09-12 17:20:51 -05:00
kaikunz and Umputun
659c623240
th.json
...
th
2022-09-12 17:19:14 -05:00
Dmitry Verkhoturov and Umputun
695d0ea13a
allow dashes in site ID when validating email auth request
...
As discovered in #1477 , dashes are expected to work in the site ID
and do work everywhere but in email auth. That change makes
the behaviour consistent: site ID now allows dashes.
2022-09-12 17:16:22 -05:00
Pavel Mineev and Dmitry Verkhoturov
0f7ac514fb
add e2e tests
2022-09-10 11:00:34 +02:00
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
2c36fab8aa
add compose files to dockerignore, remove defaults from frontend compose
...
Before that change, docker would create a new image
on docker-compose file changes.
Frontend docker-compose file change removes options set
to the same values as their default values.
2022-08-26 23:35:40 +02:00
Avinal Kumar and Umputun
3b7a4b6e52
Fix directory name in CODEOWNERS file
...
Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com >
2022-08-25 01:10:14 -05:00
Paul Mineev and Umputun
499302c48e
fix broken icons
2022-08-24 11:37:30 -05:00
Dmitry Verkhoturov and Umputun
28fbe76547
remove duplicated docker-compose.yml from parameters doc
...
Also, clarify the wording on TIME_ZONE parameter a little.
2022-08-23 22:39:02 -05:00
Paul Mineev and Umputun
fabb31275d
FE codeowners
2022-08-23 22:18:04 -05:00
Dmitry Verkhoturov and Umputun
96b75af027
proper grammar for ADMIN_PASSWD parameter notes
2022-08-23 21:22:32 -05:00
Pavel Mineev and Paul Mineev
dc048ef047
fix: anon cannot request data removal
2022-08-22 11:42:15 -07:00
Pavel Mineev and Umputun
d6b2960a4a
fix: save choosen color scheme
2022-08-21 22:36:59 -05:00
Pavel Mineev and Umputun
b47b6c4f56
add api sdk
2022-08-20 12:58:40 -05:00
Umputun
75427df7de
make translated lines in ru shorter as a workaround for ugly formatting
2022-08-19 14:24:54 -05:00
Umputun
cb98885e1f
add warn log on rejected email auth validation https://github.com/umputun/remark42/discussions/1139#discussioncomment-3409701
2022-08-16 17:10:09 -04:00
Paul Mineev
7e0445cc94
disable color-scheme on remark iframe
2022-08-10 10:20:31 -07: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
crazy and Umputun
27b28dba0d
add lose commit Traditional Chinese locale file
2022-08-01 10:53:39 -05:00
Dmitry Verkhoturov
86d059bf99
move templates 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-07-29 19:07:49 +02:00
Paul Mineev and Umputun
76f5ce32ca
add turborepo
2022-07-29 11:05:21 -05:00
Dmitry Verkhoturov and Umputun
ff9eab998a
bump buildgo to 1.9.2 to be consistent with other baseimage usages
2022-07-28 16:41:15 -05:00
Dmitry Verkhoturov and Umputun
ac3a36eb13
rewrite email documentation, elaborate on how to replace templates
...
I've run Grammarly over that text to find and fix some flaws
and added more detailed instructions on replacing a built-in template
with your own.
2022-07-28 13:28:27 -05:00
Dmitry Verkhoturov and Umputun
4b4c749756
remove mod=vendor from go build directives as it's no longer actual
...
It's a default in the presence of the vendor folder since Go 1.14,
https://go.dev/ref/mod
2022-07-27 22:09:14 -05:00
Dmitry Verkhoturov and Umputun
4777f4059f
hardcode dockerhub username and ghcr.io repo for site docker push
...
Currently, such a build most likely has access to secrets but
fails due to the wrong username logging with DockerHub when
rebase is done by anyone but @umputun.
I've missed that last case in 5e5b3e0 and ad5d555 .
2022-07-27 22:08:10 -05:00
Dmitry Verkhoturov
ad5d555ac8
hardcode dockerhub username and ghcr.io repo for site docker push
...
Currently, such a build most likely has access to secrets but
fails due to the wrong username logging with DockerHub when
rebase is done by anyone but @umputun.
2022-07-28 01:34:21 +02:00
Dmitry Verkhoturov
fc7540fc9b
do not run size limit job outside of PRs
...
Currently, this step emits the
"Error: No PR found. Only pull_request workflows are supported."
message when run on the master branch commits (after the merge),
so the change prevents it from being run there.
2022-07-28 01:34:05 +02:00