dependabot[bot] and Dmitry V
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
dependabot[bot] and Dmitry Verkhoturov
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
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
dependabot[bot] and Umputun
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
3f0789fd90
mod tidy for memory store example
2024-12-17 23:39:29 -06:00
dependabot[bot] and Dmitry Verkhoturov
0aadf0ba86
Bump the go-modules-updates group in /backend with 3 updates
...
Bumps the go-modules-updates group in /backend with 3 updates: [github.com/stretchr/testify](https://github.com/stretchr/testify ), [golang.org/x/crypto](https://github.com/golang/crypto ) and [golang.org/x/net](https://github.com/golang/net ).
Updates `github.com/stretchr/testify` from 1.9.0 to 1.10.0
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.9.0...v1.10.0 )
Updates `golang.org/x/crypto` from 0.27.0 to 0.29.0
- [Commits](https://github.com/golang/crypto/compare/v0.27.0...v0.29.0 )
Updates `golang.org/x/net` from 0.29.0 to 0.31.0
- [Commits](https://github.com/golang/net/compare/v0.29.0...v0.31.0 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
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/net
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-modules-updates
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-02 04:24:48 +00:00
Dmitry Verkhoturov and Umputun
73ca4a1b6d
Capitalize "AS" keyword in Dockerfile FROM instructions
2024-11-08 16:27:10 -06:00
Dmitry Verkhoturov and Umputun
7604548035
Update go to 1.23, golangci-lint to 1.61, baseimage to 1.14
2024-11-08 16:19:58 -06:00
dependabot[bot] and Umputun
7529aa7e17
Bump the go-modules-updates group in /backend with 9 updates
...
Bumps the go-modules-updates group in /backend with 9 updates:
| Package | From | To |
| --- | --- | --- |
| [github.com/PuerkitoBio/goquery](https://github.com/PuerkitoBio/goquery ) | `1.9.2` | `1.10.0` |
| [github.com/alecthomas/chroma/v2](https://github.com/alecthomas/chroma ) | `2.13.0` | `2.14.0` |
| [github.com/go-pkgz/notify](https://github.com/go-pkgz/notify ) | `1.1.1` | `1.2.0` |
| [github.com/go-pkgz/repeater](https://github.com/go-pkgz/repeater ) | `1.1.3` | `1.2.0` |
| [github.com/rs/xid](https://github.com/rs/xid ) | `1.5.0` | `1.6.0` |
| [go.etcd.io/bbolt](https://github.com/etcd-io/bbolt ) | `1.3.10` | `1.3.11` |
| [golang.org/x/crypto](https://github.com/golang/crypto ) | `0.25.0` | `0.27.0` |
| [golang.org/x/image](https://github.com/golang/image ) | `0.18.0` | `0.22.0` |
| [golang.org/x/net](https://github.com/golang/net ) | `0.27.0` | `0.29.0` |
Updates `github.com/PuerkitoBio/goquery` from 1.9.2 to 1.10.0
- [Release notes](https://github.com/PuerkitoBio/goquery/releases )
- [Commits](https://github.com/PuerkitoBio/goquery/compare/v1.9.2...v1.10.0 )
Updates `github.com/alecthomas/chroma/v2` from 2.13.0 to 2.14.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.13.0...v2.14.0 )
Updates `github.com/go-pkgz/notify` from 1.1.1 to 1.2.0
- [Release notes](https://github.com/go-pkgz/notify/releases )
- [Commits](https://github.com/go-pkgz/notify/compare/v1.1.1...v1.2.0 )
Updates `github.com/go-pkgz/repeater` from 1.1.3 to 1.2.0
- [Release notes](https://github.com/go-pkgz/repeater/releases )
- [Commits](https://github.com/go-pkgz/repeater/compare/v1.1.3...v1.2.0 )
Updates `github.com/rs/xid` from 1.5.0 to 1.6.0
- [Release notes](https://github.com/rs/xid/releases )
- [Commits](https://github.com/rs/xid/compare/v1.5.0...v1.6.0 )
Updates `go.etcd.io/bbolt` from 1.3.10 to 1.3.11
- [Release notes](https://github.com/etcd-io/bbolt/releases )
- [Commits](https://github.com/etcd-io/bbolt/compare/v1.3.10...v1.3.11 )
Updates `golang.org/x/crypto` from 0.25.0 to 0.27.0
- [Commits](https://github.com/golang/crypto/compare/v0.25.0...v0.27.0 )
Updates `golang.org/x/image` from 0.18.0 to 0.22.0
- [Commits](https://github.com/golang/image/compare/v0.18.0...v0.22.0 )
Updates `golang.org/x/net` from 0.27.0 to 0.29.0
- [Commits](https://github.com/golang/net/compare/v0.27.0...v0.29.0 )
---
updated-dependencies:
- dependency-name: github.com/PuerkitoBio/goquery
dependency-type: direct:production
update-type: version-update:semver-minor
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-pkgz/notify
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-modules-updates
- dependency-name: github.com/go-pkgz/repeater
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-modules-updates
- dependency-name: github.com/rs/xid
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-modules-updates
- dependency-name: go.etcd.io/bbolt
dependency-type: direct:production
update-type: version-update:semver-patch
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 >
2024-11-08 16:19:58 -06:00
Dmitry Verkhoturov and Umputun
68fe6eb55f
Update docker-compose command to docker compose
...
Compose is part of docker command for years and during local development
on Mac I have to change makefile locally for commands to work.
2024-10-20 17:17:10 -05:00
Dmitry Verkhoturov and Umputun
a9b439602b
update go modules
2024-07-30 20:23:33 -05:00
Dmitry Verkhoturov and Umputun
16b07ded66
fix golangci-lint reported unused parameters in example module
2024-06-30 12:07:06 -05:00
Dmitry Verkhoturov and Umputun
eadd65e247
update docker images, clarify comments
2024-06-05 13:05:42 -05:00
Dmitry Verkhoturov and Umputun
4bb0017060
update go modules
2024-04-10 19:33:20 -05:00
Dmitry Verkhoturov and Umputun
3210de8f7b
update go modules
2024-02-20 12:23:16 -06:00
Dmitry Verkhoturov and Umputun
532573fb34
fix problems reported by golangci-lint
2024-02-20 12:10:39 -06:00
Dmitry Verkhoturov and Umputun
81c30e01f8
cleanup images from deleted comments
...
Previously, images were deleted only from comments deleted
before EditDuration expiration. After this change, any deletion
of the comment deletes images if they are not used elsewhere
in comments under the same page.
2024-01-20 13:29:06 -06:00
Dmitry Verkhoturov and Umputun
cbd73865bd
update go modules, update go-pkgz/auth to latest commit
2024-01-11 15:57:39 -06:00
Dmitry Verkhoturov and Umputun
884b5685eb
update docker images and github CI actions
2024-01-11 01:26:30 -06:00
Vladimir D and Umputun
94893b77dc
bump deps
2023-12-26 11:47:09 -06:00
Umputun
4b855ceddd
mod tidy for mem_store example
2023-08-20 19:37:39 -05:00
Umputun
2093f4ece2
update go to 1.20, bump deps
2023-08-07 13:03:16 -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
c70a66a1c5
bump go modules
2023-01-21 13:30: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 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 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
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
050f1b7941
migrate from mockery to moq
2022-10-02 21:21:28 -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
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
f1163139d7
add docker image labels, add docker image badge to readme
...
Specification for labels:
https://github.com/opencontainers/image-spec/blob/main/annotations.md
2022-07-24 23:06:42 +02:00
Dmitry Verkhoturov and Umputun
2d2f2ab02a
return docker build for frontend and backend code outside in CI
...
Previously we built a Docker image just for the test,
but the introduction of multi-arch build in 9fbf0952
build also meant the push of the image, so it was
restricted only to the master branch.
This change re-introduces the Docker image build
outside the master branch, which is helpful
in pull requests.
We recently had a few frontend PRs which broke
the Docker image build silently, and that change
prevents it from happening.
2022-07-19 19:25:54 -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
e55f6ffdf3
go mod tidy for examples
2022-06-05 12:53:34 -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
Dmitry Verkhoturov and Umputun
ba86db1263
replace errors package with fmt.Errorf
...
https://gist.github.com/Peltoche/60b8b81dfbf70164d0e2b88988003229
was used for it, thanks to @Peltoche for publishing it.
2022-04-26 00:25:09 -05:00
Umputun
9ab27da343
update deps on example
2022-04-15 20:29:14 -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
9dbc36e426
remove explicit /srv/ usage from docker-compose files
...
We have plenty of paths used in the application, but two of them
are hardcoded in examples all over the code for historical reasons.
I found that by default in Docker, the path would resolve to the value
we are setting it explicitly to, so it doesn't make sense to set
a few variables we are setting now explicitly.
2022-02-07 03:54:54 -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
fcb13e2016
update mod sum for examples
2021-12-07 13:12:34 -06:00
Dmitry Verkhoturov and Umputun
90e537358d
update golangci-lint to 1.43.0, fix found issues
2021-11-23 15:00:40 -06:00