Dmitry Verkhoturov
ddb490bbc1
Fix login persistence with AUTH_SEND_JWT_HEADER enabled
...
With AUTH_SEND_JWT_HEADER=true, frontend now properly handles JWT authentication:
- Store JWT token in client-side cookie named 'JWT'
- Extract and store XSRF token from JWT payload
- Set Secure flag automatically when on HTTPS connection
- Update documentation to clarify this behavior
This fixes an issue where login state would be lost after page reload
when using header-based JWT authentication.
2025-04-29 23:45:55 +01:00
Umputun
242499787e
Merge pull request #1930 from umputun/paskal/update-gopkgz
...
Update go-pkgz, system modules
2025-04-29 02:31:12 -05:00
Dmitry Verkhoturov
fd0799384f
Update go-pkgz, system modules
...
This brings stricter check for auth provider names, slog support.
2025-04-29 08:24:53 +01:00
Umputun
61dbf6b1f2
Merge pull request #1915 from umputun/dependabot/go_modules/backend/github.com/redis/go-redis/v9-9.7.3
...
Bump github.com/redis/go-redis/v9 from 9.7.0 to 9.7.3 in /backend
2025-03-24 21:51:56 -05:00
Umputun
4a3c73db31
Merge pull request #1911 from umputun/dependabot/npm_and_yarn/site/prismjs-1.30.0
...
Bump prismjs from 1.29.0 to 1.30.0 in /site
2025-03-24 21:51:02 -05:00
Umputun
df510360e6
Merge pull request #1909 from umputun/dependabot/github_actions/github-actions-updates-e0e9667351
...
Bump pnpm/action-setup from 4.0.0 to 4.1.0 in the github-actions-updates group
2025-03-24 21:50:47 -05:00
Umputun
a3309516c3
Merge pull request #1916 from umputun/dependabot/go_modules/backend/github.com/golang-jwt/jwt/v5-5.2.2
...
Bump github.com/golang-jwt/jwt/v5 from 5.2.1 to 5.2.2 in /backend
2025-03-24 21:50:33 -05:00
Umputun
5e30dc86e1
Merge pull request #1917 from umputun/paskal/golangci_lint_v2
...
Automatic fix of errors reported by golangci-lint v2
2025-03-24 21:50:20 -05:00
dependabot[bot]
bbcba5487e
Bump github.com/redis/go-redis/v9 from 9.7.0 to 9.7.3 in /backend
...
Bumps [github.com/redis/go-redis/v9](https://github.com/redis/go-redis ) from 9.7.0 to 9.7.3.
- [Release notes](https://github.com/redis/go-redis/releases )
- [Changelog](https://github.com/redis/go-redis/blob/master/CHANGELOG.md )
- [Commits](https://github.com/redis/go-redis/compare/v9.7.0...v9.7.3 )
---
updated-dependencies:
- dependency-name: github.com/redis/go-redis/v9
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-25 02:49:28 +00:00
Umputun
c32e5efdc2
Merge pull request #1918 from umputun/paskal/add_systemd
...
Add install instructions for setting up Remark42 as a systemd service
2025-03-24 21:48:27 -05:00
Umputun
af139a7f4c
Merge pull request #1910 from umputun/dependabot/go_modules/backend/go-modules-updates-e61953c257
...
Bump the go-modules-updates group in /backend with 8 updates
2025-03-24 21:48:05 -05:00
dependabot[bot]
89221ff2bc
Bump the go-modules-updates group in /backend with 8 updates
...
Bumps the go-modules-updates group in /backend with 8 updates:
| Package | From | To |
| --- | --- | --- |
| [github.com/PuerkitoBio/goquery](https://github.com/PuerkitoBio/goquery ) | `1.10.1` | `1.10.2` |
| [github.com/alecthomas/chroma/v2](https://github.com/alecthomas/chroma ) | `2.14.0` | `2.15.0` |
| [github.com/go-chi/chi/v5](https://github.com/go-chi/chi ) | `5.2.0` | `5.2.1` |
| [github.com/go-pkgz/jrpc](https://github.com/go-pkgz/jrpc ) | `0.3.0` | `0.3.1` |
| [go.etcd.io/bbolt](https://github.com/etcd-io/bbolt ) | `1.3.11` | `1.4.0` |
| [golang.org/x/crypto](https://github.com/golang/crypto ) | `0.31.0` | `0.33.0` |
| [golang.org/x/image](https://github.com/golang/image ) | `0.23.0` | `0.25.0` |
| [golang.org/x/net](https://github.com/golang/net ) | `0.33.0` | `0.35.0` |
Updates `github.com/PuerkitoBio/goquery` from 1.10.1 to 1.10.2
- [Release notes](https://github.com/PuerkitoBio/goquery/releases )
- [Commits](https://github.com/PuerkitoBio/goquery/compare/v1.10.1...v1.10.2 )
Updates `github.com/alecthomas/chroma/v2` from 2.14.0 to 2.15.0
- [Release notes](https://github.com/alecthomas/chroma/releases )
- [Changelog](https://github.com/alecthomas/chroma/blob/master/.goreleaser.yml )
- [Commits](https://github.com/alecthomas/chroma/compare/v2.14.0...v2.15.0 )
Updates `github.com/go-chi/chi/v5` from 5.2.0 to 5.2.1
- [Release notes](https://github.com/go-chi/chi/releases )
- [Changelog](https://github.com/go-chi/chi/blob/master/CHANGELOG.md )
- [Commits](https://github.com/go-chi/chi/compare/v5.2.0...v5.2.1 )
Updates `github.com/go-pkgz/jrpc` from 0.3.0 to 0.3.1
- [Release notes](https://github.com/go-pkgz/jrpc/releases )
- [Commits](https://github.com/go-pkgz/jrpc/compare/v0.3.0...v0.3.1 )
Updates `go.etcd.io/bbolt` from 1.3.11 to 1.4.0
- [Release notes](https://github.com/etcd-io/bbolt/releases )
- [Commits](https://github.com/etcd-io/bbolt/compare/v1.3.11...v1.4.0 )
Updates `golang.org/x/crypto` from 0.31.0 to 0.33.0
- [Commits](https://github.com/golang/crypto/compare/v0.31.0...v0.33.0 )
Updates `golang.org/x/image` from 0.23.0 to 0.25.0
- [Commits](https://github.com/golang/image/compare/v0.23.0...v0.25.0 )
Updates `golang.org/x/net` from 0.33.0 to 0.35.0
- [Commits](https://github.com/golang/net/compare/v0.33.0...v0.35.0 )
---
updated-dependencies:
- dependency-name: github.com/PuerkitoBio/goquery
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: go-modules-updates
- dependency-name: github.com/alecthomas/chroma/v2
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-modules-updates
- dependency-name: github.com/go-chi/chi/v5
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: go-modules-updates
- dependency-name: github.com/go-pkgz/jrpc
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: go-modules-updates
- dependency-name: go.etcd.io/bbolt
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-modules-updates
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-modules-updates
- dependency-name: golang.org/x/image
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-modules-updates
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-modules-updates
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-24 23:13:46 +01:00
Dmitry Verkhoturov
528242c1ca
Add install instructions for setting up Remark42 as a systemd service
2025-03-24 23:09:28 +01:00
Dmitry Verkhoturov
edfc5b9d76
Automatic fix of errors reported by golangci-lint v2
...
- Use strings.ReplaceAll
- Remove redundant internal structure names
2025-03-24 22:46:43 +01:00
dependabot[bot]
7e944bfe0d
Bump github.com/golang-jwt/jwt/v5 from 5.2.1 to 5.2.2 in /backend
...
Bumps [github.com/golang-jwt/jwt/v5](https://github.com/golang-jwt/jwt ) from 5.2.1 to 5.2.2.
- [Release notes](https://github.com/golang-jwt/jwt/releases )
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md )
- [Commits](https://github.com/golang-jwt/jwt/compare/v5.2.1...v5.2.2 )
---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v5
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-21 22:26:36 +00:00
Umputun
e6afc58b34
Merge pull request #1914 from umputun/paskal/add_system_requirements
2025-03-16 14:28:22 -05:00
Dmitry Verkhoturov
f49b878eb4
Add system requirements section to installation guide
2025-03-16 19:26:42 +00:00
Umputun
5fe843de71
Merge pull request #1912 from umputun/dependabot/go_modules/backend/golang.org/x/net-0.36.0
...
Bump golang.org/x/net from 0.33.0 to 0.36.0 in /backend
2025-03-12 20:30:34 -05:00
dependabot[bot]
6c9ade9062
Bump golang.org/x/net from 0.33.0 to 0.36.0 in /backend
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.33.0 to 0.36.0.
- [Commits](https://github.com/golang/net/compare/v0.33.0...v0.36.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-12 22:58:15 +00:00
dependabot[bot]
ed3c104ba4
Bump prismjs from 1.29.0 to 1.30.0 in /site
...
Bumps [prismjs](https://github.com/PrismJS/prism ) from 1.29.0 to 1.30.0.
- [Release notes](https://github.com/PrismJS/prism/releases )
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PrismJS/prism/compare/v1.29.0...v1.30.0 )
---
updated-dependencies:
- dependency-name: prismjs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-10 22:24:16 +00:00
dependabot[bot]
a90b4296c6
Bump pnpm/action-setup in the github-actions-updates group
...
Bumps the github-actions-updates group with 1 update: [pnpm/action-setup](https://github.com/pnpm/action-setup ).
Updates `pnpm/action-setup` from 4.0.0 to 4.1.0
- [Release notes](https://github.com/pnpm/action-setup/releases )
- [Commits](https://github.com/pnpm/action-setup/compare/v4.0.0...v4.1.0 )
---
updated-dependencies:
- dependency-name: pnpm/action-setup
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions-updates
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-09 18:01:26 +00:00
Umputun
0ebe893125
Merge pull request #1908 from umputun/paskal/disable_npm_updates
...
Disable dependabot automatic PRs for NPM modules
2025-03-09 13:00:21 -05:00
Dmitry Verkhoturov
e32ca020c0
Disable dependabot automatic PRs for NPM modules
...
These have to be updated manually
because there are always breaking changes.
2025-03-09 17:17:20 +01:00
Umputun
558350c546
Merge pull request #1897 from umputun/paskal/claude
...
Add first version of the CLAUDE.md
2025-03-01 17:19:34 -06:00
Umputun
c50a5d6245
Merge pull request #1907 from umputun/paskal/get_rid_of_dockerhub
...
Migrate Docker images from Docker Hub to GitHub Container Registry
2025-03-01 17:19:01 -06:00
Dmitry Verkhoturov
bb650d7526
Migrate Docker images from Docker Hub to GitHub Container Registry
...
This commit replaces all references to `umputun/remark42` Docker images
on Docker Hub with `ghcr.io/umputun/remark42` from the GitHub
Container Registry. It updates various Docker Compose files,
documentation, and the Makefile to use the new image location.
It also updates the kubernetes example to use the latest version.
Docker Hub is going to kill free pulls for too long by now.
2025-03-01 23:15:09 +00:00
Dmitry Verkhoturov
551212db82
Add first version of the CLAUDE.md
2025-02-25 22:05:25 +00:00
dependabot[bot]
2e00002413
Bump the go-modules-updates group in /backend with 5 updates
...
Bumps the go-modules-updates group in /backend with 5 updates:
| Package | From | To |
| --- | --- | --- |
| [github.com/PuerkitoBio/goquery](https://github.com/PuerkitoBio/goquery ) | `1.10.0` | `1.10.1` |
| [github.com/go-chi/chi/v5](https://github.com/go-chi/chi ) | `5.1.0` | `5.2.0` |
| [github.com/go-pkgz/rest](https://github.com/go-pkgz/rest ) | `1.19.0` | `1.20.2` |
| [golang.org/x/image](https://github.com/golang/image ) | `0.22.0` | `0.23.0` |
| [golang.org/x/net](https://github.com/golang/net ) | `0.31.0` | `0.33.0` |
Updates `github.com/PuerkitoBio/goquery` from 1.10.0 to 1.10.1
- [Release notes](https://github.com/PuerkitoBio/goquery/releases )
- [Commits](https://github.com/PuerkitoBio/goquery/compare/v1.10.0...v1.10.1 )
Updates `github.com/go-chi/chi/v5` from 5.1.0 to 5.2.0
- [Release notes](https://github.com/go-chi/chi/releases )
- [Changelog](https://github.com/go-chi/chi/blob/master/CHANGELOG.md )
- [Commits](https://github.com/go-chi/chi/compare/v5.1.0...v5.2.0 )
Updates `github.com/go-pkgz/rest` from 1.19.0 to 1.20.2
- [Release notes](https://github.com/go-pkgz/rest/releases )
- [Commits](https://github.com/go-pkgz/rest/compare/v1.19.0...v1.20.2 )
Updates `golang.org/x/image` from 0.22.0 to 0.23.0
- [Commits](https://github.com/golang/image/compare/v0.22.0...v0.23.0 )
Updates `golang.org/x/net` from 0.31.0 to 0.33.0
- [Commits](https://github.com/golang/net/compare/v0.31.0...v0.33.0 )
---
updated-dependencies:
- dependency-name: github.com/PuerkitoBio/goquery
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: go-modules-updates
- dependency-name: github.com/go-chi/chi/v5
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-modules-updates
- dependency-name: github.com/go-pkgz/rest
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-modules-updates
- dependency-name: golang.org/x/image
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-modules-updates
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-modules-updates
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-02 14:02:42 -06:00
Umputun
81f70aa287
Merge pull request #1875 from codiflow/codiflow-patch-1
2024-12-28 20:44:53 -06:00
Christian 🦄
f104e3c775
Update de.json
...
Updated Telegram bot description
2024-12-29 03:43:57 +01:00
Umputun
be076d03e9
Merge pull request #1878 from cubismod/webhook-params
...
Docs update describing available variables for webhook templating
2024-12-21 11:26:57 -06:00
Ryan
e1166a48cf
add a table describing additional variables available for use with webhook templating
2024-12-20 21:08:15 -06:00
Umputun
3f0789fd90
mod tidy for memory store example
2024-12-17 23:39:29 -06:00
Umputun
518ae79556
Merge pull request #1869 from aliksend/aliksend/fix-importing-anonymous-comments-from-commento
...
Straightforward fix for importing anonymous comments from commento
2024-12-17 16:04:38 -06:00
Umputun
3c55238bdd
Merge pull request #1874 from umputun/dependabot/go_modules/backend/golang.org/x/crypto-0.31.0
...
Bump golang.org/x/crypto from 0.29.0 to 0.31.0 in /backend
2024-12-17 13:55:45 -06:00
Alik Send
556b95a655
Fix tests. Add test for anonymous comment
2024-12-16 23:16:26 -06:00
Alik Send
bfef15f05f
Straightforward fix for importing anonymous comments from commento
...
Fixes #1821
2024-12-16 23:16:26 -06:00
Umputun
c3ba55ba43
Merge pull request #1699 from umputun/paskal/comments_pagination
...
add pagination to GET /api/v1/find endpoint
2024-12-11 20:17:23 -06:00
dependabot[bot]
0af8b2eab0
Bump golang.org/x/crypto from 0.29.0 to 0.31.0 in /backend
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.29.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.29.0...v0.31.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-11 22:23:01 +00:00
Dmitry Verkhoturov
82a0888c42
add pagination to GET /api/v1/find endpoint
...
`format=tree` pagination provides top-level comments with all replies
and returns the last top-level comment as `last_comment` to be used
as `offset` for the next page. If comments and replies overflow
the limit, the one stepping out of the limit will not be returned.
If the first comment and its replies after the given offset overflow
the limit, it will be returned with all the replies.
`format=plain` pagination works by providing all comments and returning
the last comment as `last_comment` to be used as `offset`
for the next page.
2024-12-10 14:26:55 +00:00
Umputun
d5162d3fe6
Merge pull request #1758 from umputun/paskal/jwt_v5
...
Update to go-pkgz/auth/v2 and golang-jwt/jwt/v5
2024-12-09 19:53:00 -06:00
Dmitry Verkhoturov
e61a46efff
Improve error message for checking claims.Audience
2024-12-10 00:45:04 +00:00
Dmitry Verkhoturov
f473105c52
add tests for jwt5 multiple auds and improve existing tests
2024-12-09 01:54:04 +00:00
Dmitry Verkhoturov
c2d386230c
vendor new modules
2024-12-09 01:54:03 +00:00
Dmitry Verkhoturov
e3ad01b555
migrate to go-pkgz/auth/v2
2024-12-09 01:54:03 +00:00
Dmitry Verkhoturov
8d9e55c33c
update github.com/golang-jwt/jwt to v5
2024-12-09 01:54:03 +00:00
Umputun
6402ef9cae
Merge pull request #1871 from umputun/paskal/improve_tests
...
Improve tests
2024-12-08 19:53:15 -06:00
Dmitry Verkhoturov
4ed48dd85c
Improve tests
2024-12-09 01:45:57 +00:00
Umputun
9628312b5d
Merge pull request #1865 from umputun/dependabot/go_modules/backend/go-modules-updates-81f599025a
2024-12-01 22:32:10 -06:00
Umputun
c65c2b395d
Merge branch 'master' into dependabot/go_modules/backend/go-modules-updates-81f599025a
2024-12-01 22:31:58 -06:00