Eugene Orlov and Umputun
d1c1664a38
[site] fix: anchor offset
...
when navigating through an anchor
2023-06-06 15:22:02 -05:00
Vasilii Blazhnov and Umputun
8cbcff98ec
Fixed wrong markdown
2023-05-08 14:35:30 -05:00
Dmitry Verkhoturov and Umputun
26f82ad95c
don't allow relative links in comments
...
(url) is a text inserted by default and never an intended URL.
That additional validation will ensure that users won't post relative
links because they are rarely intended.
2023-04-09 23:30:21 -05:00
Dmitry Verkhoturov and Umputun
1b90604b2d
update go modules, fix Apple auth redirect
...
Previously the redirect after successful authentication didn't work.
2023-04-02 03:47:35 -05:00
Dmitry Verkhoturov and Umputun
a03c002df4
bump golangci-lint to latest
2023-04-02 01:21:33 -05:00
Dmitry Verkhoturov and Umputun
1ce9415d34
ping pnmp version to 7
...
Previously version 8 was installed once it became available, breaking
the pipelines and docker build.
2023-04-01 14:45:44 -05:00
SimonHaas and Umputun
cc842901b3
updated deprecated link
2023-03-17 10:59:45 -05:00
Paul Mineev and Umputun
23d7e4cdbb
fix indentation for apps/remark42
2023-03-10 17:46:41 -06:00
Dejavu Moe and Umputun
b48f8fca31
Fix spell errors
2023-03-10 17:21:04 -06:00
DejavuMoe and Umputun
a4da93326e
Improve Simplified Chinese translation
...
modified:frontend/apps/remark42/app/locales/zh.json
2023-03-10 17:20:45 -06:00
konstantin krivlenia and Umputun
8bd5c0d163
#1605 fix loading th locale
2023-03-10 17:20:25 -06:00
DejavuMoe and Umputun
972ab87247
Update translation of the Simplified Chinese
2023-03-08 17:22:06 -06:00
dmitry.konchalenkov and Umputun
d1ea664b41
Update translations
2023-02-28 11:52:29 -06:00
Dmitry Verkhoturov
a55fadd53a
make docker build fail on backend test failure
...
Previously, the commands were combined incorrectly, and the failure
of backend tests was ignored.
2023-02-05 21:11:12 +01:00
Dmitry Verkhoturov and Umputun
c70a66a1c5
bump go modules
2023-01-21 13:30:44 -06:00
Dmitry Verkhoturov and Umputun
8357846818
add test JWT token generation instructions
backend/v1.11.3
v1.11.3
2023-01-15 12:54:44 -06:00
Matt Jackson and Umputun
31ea91afb8
docs: added Astro w/Svelte Components Integration
2023-01-14 19:12:38 -06:00
Dmitry Verkhoturov
6616541f65
improve frontend documentation
...
Variables were documented in the documentation but not in the code,
and max_last_comments needed to be documented.
2023-01-10 23:53:26 +01:00
Paul Mineev and Umputun
01695822bb
fix: calculate correct size when no_footer=true
2023-01-10 11:27:44 -06:00
Paul Mineev and Umputun
f0186d1aab
fix: fix no footer param
2023-01-10 11:27:44 -06:00
Dmitry Verkhoturov and Umputun
41a3359085
add the ability to set the JWS aud per site_id
...
Without this option, the aud is ignored.
It works only with RPC admin storage.
The shared key returned for all requests with the default shared admin
storage, so enabling that option does not affect it.
2023-01-10 11:24:41 -06:00
Dmitry Verkhoturov
d6cce8df2c
cleanup of the frontend code
...
- replace undocumented `substr` with `substring`
- remove unused code
- inline a few variables
- simplify ifs when possible
- improve saveCollapsedComments documentation
- cleanup the unused imports
- remove unused variables and types
2023-01-09 22:16:35 +01:00
Dmitry Verkhoturov and Umputun
596861a594
don't remove the twitter-tweet class from blockquote
...
This is needed to format the Twitter blockquotes as tweets.
2023-01-09 03:20:54 -06:00
Dmitry Verkhoturov and Umputun
385ea800a4
don't verify subscription email once more for email users
...
Previous behaviour is preserved for query parameters way of requesting
the subscription. The new behaviour with the possibility to confirm
the email right away without a separate /email/confirm call is enabled
only with request params sent in the request body, which was not a thing
before 27fc339e , which was merged just now and is not part
of any tagged version yet.
2023-01-09 03:17:25 -06:00
Dmitry Verkhoturov
27fc339e36
use the request body for email subscription endpoints
...
Previously, the endpoints were using query parameters.
After this change, the body is tried to be parsed.
2023-01-08 23:26:06 +01:00
Dmitry Verkhoturov and Umputun
61e2173f25
add e2e tests to makefile
...
Also, add missing entries to .dockerignore.
2023-01-08 14:31:36 -06:00
Dmitry Verkhoturov and Umputun
13a3fc3d1b
move remark42 frontend nvmrc to /frontend/
2023-01-08 14:31:15 -06:00
Dmitry Verkhoturov and Umputun
6a1b515ea9
add anti-spam documentation
...
It describes how anti-spam works now and its future.
2023-01-08 14:30:55 -06:00
Dmitry Verkhoturov and Umputun
82f27e6b63
fix typos in frontend code
2023-01-08 12:30:18 -06:00
Paul Mineev and Umputun
6ac75031ad
fix and optimize apple icon
2023-01-07 18:16:21 -06:00
Dmitry Verkhoturov and Umputun
8b7f1331ee
add Apple auth provider frontend support
...
With distinct logos for light and dark theme from
https://devimages-cdn.apple.com/design/resources/download/Logo-Sign-in-with-Apple.dmg
2023-01-07 18:16:21 -06:00
Dmitry Verkhoturov and Umputun
099aad8475
add apple bad key test, fix key location
...
Previously, default location was outside of container mount.
2023-01-04 03:54:38 -06:00
Dmitry Verkhoturov and Umputun
c1b3fba344
add backend support for Apple auth provider
...
It's a bit different from other OAuth providers and requires a
different set of options and a private key file.
2023-01-03 23:47:42 -06:00
Dmitry Verkhoturov and Umputun
d7e9be99f9
make Close() calls idempotent
...
Previously, few of them resulted in panics when called more than once.
2023-01-03 01:41:26 -06:00
Dmitry Verkhoturov
067a8bcb21
make the email token tooltip more informative
...
Previously it said just "Token", but now it will provide more explicit
instructions about copying and pasting the token received by email.
Resolves #1339
2023-01-03 10:52:17 +04:00
Umputun
f5569a62f1
add local analytic support
2022-12-25 18:45:31 -06:00
Jakub Fridrich and Umputun
1ab1ed8a82
Added cs lang
2022-12-16 12:00:57 -06:00
Pavel Mineev and Umputun
8d95baa70f
chore: add resize observer mock
backend/v1.11.2
v1.11.2
2022-12-05 12:03:36 -06:00
Pavel Mineev and Umputun
050bce163a
refac: use resize observer instead mutation observer in order to resize iframe
2022-12-05 12:03:36 -06:00
Pavel Mineev and Umputun
68b84683d0
fix: update iframe size on textarea size change
2022-12-03 12:08:00 -06:00
Pavel Mineev and Umputun
6fe373d540
fix: update fe contributing documentation and get dev commands in order
v1.11.1
2022-11-30 01:19:51 -06:00
Pavel Mineev and Umputun
ba19bcc729
fix: update iframe size on mount
2022-11-29 18:12:14 -06:00
Dmitry Verkhoturov and Umputun
f1b65db2c7
prefer unused PreferServerCipherSuites param
...
This is not used since 1.17,
https://github.com/golang/go/commit/9d0819b27ca248f9949e7cf6bf7cb9fe7cf574e8
2022-11-13 12:02:40 -06:00
Dmitry Verkhoturov and Umputun
f5f287ef06
bump actions/setup-go to v3 to resolve node12 deprecation note
2022-11-13 12:00:54 -06:00
Igor Klipach and Umputun
f161e6033c
Removed duplicated linter 'megacheck'
2022-11-13 11:54:26 -06:00
Dmitry Verkhoturov and Umputun
c86bff8811
remove duplicate type definitions from function signatures
...
I haven't found a linter for these, so I had to catch these manually.
I found #757 to fix one of these, and I thought it would be good
to fix everything at once.
2022-11-13 11:51:51 -06:00
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