Dmitry Verkhoturov and Umputun
a4772bd9de
Do not fail if frontend pre-commit hook fails
2024-11-10 18:12:43 -06:00
Dmitry Verkhoturov and Umputun
d23b7003c6
Downgrade eleventy to fix the website
2024-11-10 18:05:51 -06:00
Dmitry Verkhoturov and Umputun
3646c4a871
Drop linux/arm/v7 docker image from site as it doesn't build well
2024-11-10 17:25:16 -06:00
Dmitry Verkhoturov and Umputun
29fc63f116
Clarify steps names for site deployment
2024-11-10 17:25:16 -06:00
Dmitry Verkhoturov and Umputun
8c59bab921
Add nvmrc to /site, update yarn.lock
2024-11-10 17:25:16 -06:00
Dmitry Verkhoturov and Umputun
c42511d5a1
Fix cache-dependency-path for actions/setup-go caching to work, fix CI files path
2024-11-10 17:25:16 -06:00
Dmitry Verkhoturov and Umputun
9b5f6ee2c5
Remove deprecated set-output function usage in GitHub actions
...
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2024-11-10 17:25:16 -06:00
dependabot[bot] and Umputun
b5579152cb
Bump the npm-modules-updates-for-tests group across 1 directory with 12 updates
...
Bumps the npm-modules-updates-for-tests group with 12 updates in the /frontend/packages/api directory:
| Package | From | To |
| --- | --- | --- |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) | `18.19.64` | `18.19.64` |
| [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) | `5.62.0` | `8.13.0` |
| [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) | `5.62.0` | `8.13.0` |
| [@vitest/coverage-c8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-c8 ) | `0.22.1` | `0.33.0` |
| [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) | `8.10.0` | `9.1.0` |
| [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier ) | `4.2.1` | `5.2.1` |
| [jsdom](https://github.com/jsdom/jsdom ) | `20.0.3` | `25.0.1` |
| [msw](https://github.com/mswjs/msw ) | `0.44.2` | `1.3.5` |
| [prettier](https://github.com/prettier/prettier ) | `2.8.8` | `3.3.3` |
| [typescript](https://github.com/microsoft/TypeScript ) | `4.7.4` | `4.9.5` |
| [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest ) | `0.22.1` | `2.1.4` |
Updates `@types/node` from 18.19.64 to 22.9.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Updates `@typescript-eslint/eslint-plugin` from 5.62.0 to 8.13.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.13.0/packages/eslint-plugin )
Updates `@typescript-eslint/parser` from 5.62.0 to 8.13.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.13.0/packages/parser )
Updates `@vitest/coverage-c8` from 0.22.1 to 0.33.0
- [Release notes](https://github.com/vitest-dev/vitest/releases )
- [Commits](https://github.com/vitest-dev/vitest/commits/v0.33.0/packages/coverage-c8 )
Updates `eslint-config-prettier` from 8.10.0 to 9.1.0
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.10.0...v9.1.0 )
Updates `eslint-plugin-prettier` from 4.2.1 to 5.2.1
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v4.2.1...v5.2.1 )
Updates `jsdom` from 20.0.3 to 25.0.1
- [Release notes](https://github.com/jsdom/jsdom/releases )
- [Changelog](https://github.com/jsdom/jsdom/blob/main/Changelog.md )
- [Commits](https://github.com/jsdom/jsdom/compare/20.0.3...25.0.1 )
Updates `msw` from 0.44.2 to 2.6.3
- [Release notes](https://github.com/mswjs/msw/releases )
- [Changelog](https://github.com/mswjs/msw/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mswjs/msw/compare/v0.44.2...v2.6.3 )
Updates `prettier` from 2.8.8 to 3.3.3
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.8.8...3.3.3 )
Updates `typescript` from 4.9.5 to 5.6.3
- [Release notes](https://github.com/microsoft/TypeScript/releases )
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml )
- [Commits](https://github.com/microsoft/TypeScript/compare/v4.9.5...v5.6.3 )
Updates `vitest` from 0.22.1 to 2.1.4
- [Release notes](https://github.com/vitest-dev/vitest/releases )
- [Commits](https://github.com/vitest-dev/vitest/commits/v2.1.4/packages/vitest )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: npm-modules-updates-for-tests
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: npm-modules-updates-for-tests
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: npm-modules-updates-for-tests
- dependency-name: "@vitest/coverage-c8"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm-modules-updates-for-tests
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: npm-modules-updates-for-tests
- dependency-name: eslint-config-prettier
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: npm-modules-updates-for-tests
- dependency-name: eslint-plugin-prettier
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: npm-modules-updates-for-tests
- dependency-name: jsdom
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: npm-modules-updates-for-tests
- dependency-name: msw
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: npm-modules-updates-for-tests
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: npm-modules-updates-for-tests
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: npm-modules-updates-for-tests
- dependency-name: vitest
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: npm-modules-updates-for-tests
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-10 14:00:52 -06:00
dependabot[bot] and Umputun
3c78a54be6
Bump the npm-modules-updates-for-tests group
...
Bumps the npm-modules-updates-for-tests group in /frontend/e2e with 3 updates: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ), [nanoid](https://github.com/ai/nanoid ) and [typescript](https://github.com/microsoft/TypeScript ).
Updates `@types/node` from 18.19.64 to 22.9.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Updates `nanoid` from 4.0.2 to 5.0.8
- [Release notes](https://github.com/ai/nanoid/releases )
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ai/nanoid/compare/4.0.2...5.0.8 )
Updates `typescript` from 4.9.5 to 5.6.3
- [Release notes](https://github.com/microsoft/TypeScript/releases )
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml )
- [Commits](https://github.com/microsoft/TypeScript/compare/v4.9.5...v5.6.3 )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: npm-modules-updates-for-tests
- dependency-name: nanoid
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: npm-modules-updates-for-tests
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: npm-modules-updates-for-tests
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-10 13:55:30 -06:00
Dmitry Verkhoturov and Umputun
3001b37812
Update pnpm from v7 to v8
...
That suppose to help with Dependabot security updates not updating lockfile.
2024-11-10 13:31:03 -06:00
Dmitry Verkhoturov and Umputun
63048cc798
Specify package manager version in frontend project configuration
...
This is necessary for Dependabot updates to work properly.
2024-11-10 12:42:07 -06:00
dependabot[bot] and Umputun
1e659917d2
Bump the npm-modules-updates-for-tests group in /site with 7 updates
...
Bumps the npm-modules-updates-for-tests group in /site with 7 updates:
| Package | From | To |
| --- | --- | --- |
| [@11ty/eleventy](https://github.com/11ty/eleventy ) | `2.0.1` | `3.0.0` |
| [@tailwindcss/typography](https://github.com/tailwindlabs/tailwindcss-typography ) | `0.5.10` | `0.5.15` |
| [date-fns](https://github.com/date-fns/date-fns ) | `3.3.1` | `4.1.0` |
| [markdown-it](https://github.com/markdown-it/markdown-it ) | `14.0.0` | `14.1.0` |
| [markdown-it-anchor](https://github.com/valeriangalliat/markdown-it-anchor ) | `8.6.7` | `9.2.0` |
| [prettier](https://github.com/prettier/prettier ) | `2.8.8` | `3.3.3` |
| [tailwindcss](https://github.com/tailwindlabs/tailwindcss ) | `3.4.1` | `3.4.14` |
Updates `@11ty/eleventy` from 2.0.1 to 3.0.0
- [Release notes](https://github.com/11ty/eleventy/releases )
- [Changelog](https://github.com/11ty/eleventy/blob/main/docs/release-instructions.md )
- [Commits](https://github.com/11ty/eleventy/compare/v2.0.1...v3.0.0 )
Updates `@tailwindcss/typography` from 0.5.10 to 0.5.15
- [Release notes](https://github.com/tailwindlabs/tailwindcss-typography/releases )
- [Changelog](https://github.com/tailwindlabs/tailwindcss-typography/blob/main/CHANGELOG.md )
- [Commits](https://github.com/tailwindlabs/tailwindcss-typography/compare/v0.5.10...v0.5.15 )
Updates `date-fns` from 3.3.1 to 4.1.0
- [Release notes](https://github.com/date-fns/date-fns/releases )
- [Changelog](https://github.com/date-fns/date-fns/blob/main/CHANGELOG.md )
- [Commits](https://github.com/date-fns/date-fns/compare/v3.3.1...v4.1.0 )
Updates `markdown-it` from 14.0.0 to 14.1.0
- [Changelog](https://github.com/markdown-it/markdown-it/blob/master/CHANGELOG.md )
- [Commits](https://github.com/markdown-it/markdown-it/compare/14.0.0...14.1.0 )
Updates `markdown-it-anchor` from 8.6.7 to 9.2.0
- [Release notes](https://github.com/valeriangalliat/markdown-it-anchor/releases )
- [Changelog](https://github.com/valeriangalliat/markdown-it-anchor/blob/master/CHANGELOG.md )
- [Commits](https://github.com/valeriangalliat/markdown-it-anchor/compare/v8.6.7...v9.2.0 )
Updates `prettier` from 2.8.8 to 3.3.3
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.8.8...3.3.3 )
Updates `tailwindcss` from 3.4.1 to 3.4.14
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases )
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/v3.4.14/CHANGELOG.md )
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.4.1...v3.4.14 )
---
updated-dependencies:
- dependency-name: "@11ty/eleventy"
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: npm-modules-updates-for-tests
- dependency-name: "@tailwindcss/typography"
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm-modules-updates-for-tests
- dependency-name: date-fns
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: npm-modules-updates-for-tests
- dependency-name: markdown-it
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm-modules-updates-for-tests
- dependency-name: markdown-it-anchor
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: npm-modules-updates-for-tests
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: npm-modules-updates-for-tests
- dependency-name: tailwindcss
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: npm-modules-updates-for-tests
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-08 17:54:33 -06:00
daniyal and Umputun
5c586e12bd
feat: add "fa" locale
2024-11-08 16:38:09 -06: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
c1a447b873
unpin bugfix js version, use codecov github action
2024-11-08 15:56:59 -06:00
dependabot[bot] and Umputun
3c110eb0ec
Bump the github-actions-updates group with 5 updates
...
Bumps the github-actions-updates group with 5 updates:
| Package | From | To |
| --- | --- | --- |
| [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) | `3` | `6` |
| [pnpm/action-setup](https://github.com/pnpm/action-setup ) | `2.4.0` | `4.0.0` |
| [actions/cache](https://github.com/actions/cache ) | `3` | `4` |
| [andresz1/size-limit-action](https://github.com/andresz1/size-limit-action ) | `7313b26c76b3666c1dc41e2ca05370e201a9b7de` | `94bc357df29c36c8f8d50ea497c3e225c3c95d1d` |
| [actions/upload-artifact](https://github.com/actions/upload-artifact ) | `2` | `4` |
Updates `golangci/golangci-lint-action` from 3 to 6
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3...v6 )
Updates `pnpm/action-setup` from 2.4.0 to 4.0.0
- [Release notes](https://github.com/pnpm/action-setup/releases )
- [Commits](https://github.com/pnpm/action-setup/compare/v2.4.0...v4.0.0 )
Updates `actions/cache` from 3 to 4
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v3...v4 )
Updates `andresz1/size-limit-action` from 7313b26c76b3666c1dc41e2ca05370e201a9b7de to 94bc357df29c36c8f8d50ea497c3e225c3c95d1d
- [Release notes](https://github.com/andresz1/size-limit-action/releases )
- [Commits](https://github.com/andresz1/size-limit-action/compare/7313b26c76b3666c1dc41e2ca05370e201a9b7de...94bc357df29c36c8f8d50ea497c3e225c3c95d1d )
Updates `actions/upload-artifact` from 2 to 4
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v4 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions-updates
- dependency-name: pnpm/action-setup
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions-updates
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions-updates
- dependency-name: andresz1/size-limit-action
dependency-type: direct:production
dependency-group: github-actions-updates
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions-updates
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-08 15:56:59 -06:00
Dmitry Verkhoturov and Umputun
d7494d5392
add dependabot updates for Go, TypeScript, GitHub Actions
2024-11-07 19:13:55 -06:00
W.T. Chang and Umputun
c1048e95b3
fix: missing comma in example frontend configuration
backend/v1.14.0
v1.14.0
2024-10-27 01:58:27 -05:00
Dmitry Verkhoturov and Umputun
5b6d8de807
Deprecate Twitter OAuth and remove from feature list
2024-10-20 17:18:14 -05:00
Dmitry Verkhoturov and Umputun
dd2cff6a13
Clarify ALLOWED_HOSTS description and usage
...
This clarifies that the parameter sets CSP 'frame-ancestors'
to limit hosts allowed to embed comments. The commit also improves
the documentation on how to use ALLOWED_HOSTS with AUTH_SAME_SITE
for different setup scenarios.
We might want to change AUTH_SAME_SITE to `strong` in v2.0 as it works
on the subdomain of the same site as well as current Lax option.
2024-10-20 17:17:35 -05: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
4d5f9f269b
Add missing AUTH_APPLE_KID env variable cleanup
2024-10-20 16:06:50 -05:00
Dmitry Verkhoturov and Umputun
6140d82eb2
Fix CSP img-src directive to allow everything without proxy
...
Change the default img-src value to "*" and sets it to "'self'" when
image proxy is enabled. The previous state was inversion of this logic
which was wrong.
2024-10-20 15:55:51 -05:00
Dmitry Verkhoturov and Umputun
f9d4837567
Add Content-Security-Policy and Permissions-Policy headers
...
`Content-Security-Policy` now restricts resource loading and execution
to enhance security:
- `default-src 'none'`: Disallow all resource loading by default.
- `base-uri 'none'`: Prevents the use of `<base>` tag to change the
base URL for relative URLs.
- `form-action 'none'`: Disallows form submissions.
- `connect-src 'self'`: Restricts the origins that can be connected to
(via XHR, WebSockets, etc.) to the same origin.
- `frame-src 'self'`: Restricts the origins that can be embedded using
`<frame>` and `<iframe>` to the same origin (for `/web/` demo
endpoint).
- `frame-ancestors %s;`: Specifies the origins that are allowed to
embed this content in a frame. If no specific origins are allowed, it
defaults to `*` (any origin). This enhances security by controlling
which sites can embed your content.
- `img-src 'self'`: Allows images to be loaded only from the same
origin. If `imageProxyEnabled` is true, allows images from any origin
(`*`).
- `script-src 'self' 'unsafe-inline'`: Allows scripts to be loaded and
executed only from the same origin and allows inline scripts.
- `style-src 'self' 'unsafe-inline'`: Allows styles to be loaded and
applied only from the same origin and allows inline styles.
- `font-src data:`: Allows fonts to be loaded from data URIs.
- `object-src 'none'`: Disallows the use of `<object>`, `<embed>`, and
`<applet>` tags.
`Permissions-Policy` now restricts the use of certain browser features
which we don't use to enhance user privacy and security:
- `accelerometer=()`: Disables the use of the accelerometer sensor.
- `autoplay=()`: Disables automatic playback of media.
- `camera=()`: Disables the use of the camera.
- `cross-origin-isolated=()`: Disallows the page from being treated as
cross-origin isolated.
- `display-capture=()`: Disables the ability to capture the display.
- `encrypted-media=()`: Disables the use of Encrypted Media Extensions
.
- `fullscreen=()`: Disables the ability to use fullscreen mode.
- `geolocation=()`: Disables the use of geolocation.
- `gyroscope=()`: Disables the use of the gyroscope sensor.
- `keyboard-map=()`: Disables the use of the keyboard map.
- `magnetometer=()`: Disables the use of the magnetometer sensor.
- `microphone=()`: Disables the use of the microphone.
- `midi=()`: Disables the use of the MIDI API.
- `payment=()`: Disables the Payment Request API.
- `picture-in-picture=()`: Disables the use of Picture-in-Picture mode
.
- `publickey-credentials-get=()`: Disables the use of the Web
Authentication API.
- `screen-wake-lock=()`: Disables the ability to prevent the screen
from dimming.
- `sync-xhr=()`: Disables synchronous XMLHttpRequest.
- `usb=()`: Disables the use of the USB API.
- `xr-spatial-tracking=()`: Disables the use of spatial tracking in
WebXR.
- `clipboard-read=()`: Disables the ability to read from the clipboard
.
- `clipboard-write=()`: Disables the ability to write to the clipboard
.
- `gamepad=()`: Disables the use of the Gamepad API.
- `hid=()`: Disables the use of the Human Interface Device API.
- `idle-detection=()`: Disables the ability to detect idle state.
- `interest-cohort=()`: Disables the use of interest cohort tracking.
- `serial=()`: Disables the use of the Serial API.
- `unload=()`: Disables the ability to use the `beforeunload` and
`unload` events.
- `window-management=()`: Disables the ability to use window
management APIs.
2024-10-15 17:53:12 -05:00
Dmitry Verkhoturov and Umputun
9fb3014229
Detect proper avatar type to return instead of returning image/*
2024-09-22 14:37:29 -05:00
dependabot[bot] and Umputun
2a9b29dd53
Bump micromatch from 4.0.5 to 4.0.8 in /site
...
Bumps [micromatch](https://github.com/micromatch/micromatch ) from 4.0.5 to 4.0.8.
- [Release notes](https://github.com/micromatch/micromatch/releases )
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.5...4.0.8 )
---
updated-dependencies:
- dependency-name: micromatch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-20 22:31:53 -05:00
Ivan B and Umputun
872b818323
docs: fix frontend paths in translation guide (frontend/{path} -> frontend/apps/remark42/{path})
2024-09-19 19:06:06 -05:00
Dmitry Verkhoturov and Umputun
4a7bee1d98
Fix restrictions for anonymous usernames
...
Tested on remark42 demo to clarify what works and what doesn't.
2024-09-19 19:05:43 -05:00
dependabot[bot] and Umputun
cbe793fb42
Bump path-to-regexp from 6.2.1 to 6.3.0 in /site
...
Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp ) from 6.2.1 to 6.3.0.
- [Release notes](https://github.com/pillarjs/path-to-regexp/releases )
- [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md )
- [Commits](https://github.com/pillarjs/path-to-regexp/compare/v6.2.1...v6.3.0 )
---
updated-dependencies:
- dependency-name: path-to-regexp
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-19 19:05:22 -05:00
Dmitry Verkhoturov and Umputun
cbf9a82a92
Move gcc installation before backend files addition
...
This allows to not reinstall apk files when backend files change and the
new image is built.
2024-09-19 19:05:01 -05:00
Dmitry Verkhoturov and Umputun
6cd5c45a6c
Fix problem with logout button
...
The logout auth endpoint was returning no response body and type
application/json which is not valid, this commit changes it to return
plain/text instead which makes it valid.
2024-09-19 19:04:21 -05:00
adueck and Umputun
0bc85a6ff6
added RTL support
2024-08-24 18:08:09 -05:00
Tomy Hsieh and Umputun
88bf4b7d70
✨ feat: Update CLI help message
2024-08-23 19:19:59 -05:00
Tomy Hsieh and Umputun
26c5425646
📖 docs: restore numbering
2024-08-23 19:19:59 -05:00
Tomy Hsieh and Umputun
15d2ab9644
🕺🏻 style: Format
2024-08-23 19:19:59 -05:00
Tomy Hsieh and Umputun
50c56cb771
📖 docs: Update apple integration docs
2024-08-23 19:19:59 -05:00
Tomy Hsieh and Umputun
e65f71b958
🛠 fix: Fix sign in with apple integration
2024-08-23 19:19:59 -05:00
Dmitry Verkhoturov and Umputun
a9b439602b
update go modules
2024-07-30 20:23:33 -05:00
Dmitry Verkhoturov and Umputun
d2027f5241
switch playwright (e2e) to latest stable version
2024-07-30 20:23:06 -05:00
Dmitry Verkhoturov and Umputun
95966f6407
add escaping of comment text in webhook default JSON template
backend/v1.13.1
v1.13.1
2024-07-01 23:41:50 -05:00
Umputun
8df986e70a
Add content type check for images endpoint
...
A check in image proxy for validating content type of requested images added. Modified the related tests to accommodate these changes.
2024-07-01 14:47:25 -05:00
dependabot[bot] and Umputun
71a6d0b385
Bump pug from 3.0.2 to 3.0.3 in /site
...
Bumps [pug](https://github.com/pugjs/pug ) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/pugjs/pug/releases )
- [Commits](https://github.com/pugjs/pug/compare/pug@3.0.2...pug@3.0.3 )
---
updated-dependencies:
- dependency-name: pug
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-30 12:12:14 -05:00
dependabot[bot] and Umputun
974d4aaf55
Bump ejs from 3.1.9 to 3.1.10 in /site
...
Bumps [ejs](https://github.com/mde/ejs ) from 3.1.9 to 3.1.10.
- [Release notes](https://github.com/mde/ejs/releases )
- [Commits](https://github.com/mde/ejs/compare/v3.1.9...v3.1.10 )
---
updated-dependencies:
- dependency-name: ejs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-30 12:11:10 -05:00
dependabot[bot] and Umputun
dc8d7d46cb
Bump braces from 3.0.2 to 3.0.3 in /site
...
Bumps [braces](https://github.com/micromatch/braces ) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3 )
---
updated-dependencies:
- dependency-name: braces
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-30 12:10:47 -05:00
dependabot[bot] and Umputun
c4ace9fc0c
Bump ws from 8.16.0 to 8.17.1 in /site
...
Bumps [ws](https://github.com/websockets/ws ) from 8.16.0 to 8.17.1.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/8.16.0...8.17.1 )
---
updated-dependencies:
- dependency-name: ws
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-30 12:10:26 -05:00
Dmitry Verkhoturov and Umputun
16b07ded66
fix golangci-lint reported unused parameters in example module
2024-06-30 12:07:06 -05:00
Tomy Hsieh and Umputun
c04705947a
📖 docs: Update README
2024-06-22 12:04:49 -05:00
Dmitry Verkhoturov and Umputun
eadd65e247
update docker images, clarify comments
2024-06-05 13:05:42 -05:00