Umputun
307e69e5c1
Bump dependencies
...
- chroma/v2: v2.20.0 → v2.21.1
- go-pkgz/auth/v2: v2.1.0 → v2.1.1
- go-pkgz/rest: v1.20.4 → v1.20.6
- golang.org/x/* packages to latest
Also exclude "meaningless package names" revive warning in linter config.
2025-12-24 01:48:14 -06:00
Dmitry Verkhoturov and Umputun
d5b07d7670
Fix WriteHeader + RenderJSON causing wrong Content-Type header
...
Replace WriteHeader() + RenderJSON() pattern with EncodeJSON() which
properly sets Content-Type header before writing status code. The
previous pattern caused Content-Type to default to text/plain instead
of application/json, breaking frontend JSON parsing.
Fixes #1979
2025-12-16 13:01:19 -06:00
Dmitry Verkhoturov and GitHub
41b75eba08
Merge pull request #1977 from umputun/docker-native-arm64-runners
...
Improve GitHub Actions workflows security and performance
2025-12-08 14:46:13 -06:00
Umputun and GitHub
4aa8362de1
Merge pull request #1976 from umputun/ci-native-arm64-runners
...
Migrate Docker builds to native GitHub ARM64 runners
2025-12-07 16:01:57 -06:00
Umputun
dc168f69bf
Fix dual-registry Docker builds and drop armv7
...
- Remove armv7 platform (eliminates QEMU emulation bottleneck)
- Build separately to ghcr.io and DockerHub with distinct digests
- Create registry-specific manifests from corresponding digests
- Update expected digest count from 3 to 2 per registry
2025-12-07 15:58:35 -06:00
Dmitry Verkhoturov
2a4a1591fa
Migrate Docker builds to native GitHub ARM64 runners
...
Replace QEMU emulation with GitHub's native ARM64 runners for faster builds:
- Use ubuntu-24.04-arm for ARM builds instead of QEMU emulation
- Split build job into matrix for parallel platform builds
- Add digest-based workflow for multi-arch manifest creation
- Keep build-test on ARM64 runner for faster PR verification
2025-12-07 21:39:59 +00:00
Dmitry Verkhoturov and Umputun
bc612ddf81
Remove redundant frame ancestors log from middleware
...
The log message was printed on every request when allowed ancestors
were configured, creating unnecessary noise in the logs.
2025-12-04 11:15:06 -06:00
Dmitry Verkhoturov and Umputun
9132a6158b
Add display name format to EMAIL_FROM examples in docs
...
Show users they can use "Display Name"<email@example.com > format
for AUTH_EMAIL_FROM and NOTIFY_EMAIL_FROM settings.
2025-12-04 11:14:32 -06:00
Dmitry Verkhoturov and Umputun
658bf307b1
Add mailto: to CSP frame-src directive
...
Allow mailto links on the deleteme page to work without being blocked
by Content Security Policy.
2025-12-04 11:13:50 -06:00
Fredrik Appelros and Umputun
c6efcc56a9
Fix deleteme feature
...
The last step of the data deletion feature–when the admin user visits the link sent by the user requesting to delete their data–was broken due to the deleteme.js script not being loaded.
2025-12-04 11:13:50 -06:00
dependabot[bot] and Umputun
bdee00b662
Bump nanoid from 3.3.7 to 3.3.8 in /site
...
Bumps [nanoid](https://github.com/ai/nanoid ) from 3.3.7 to 3.3.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/3.3.7...3.3.8 )
---
updated-dependencies:
- dependency-name: nanoid
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-04 11:13:02 -06:00
kumudiaorong and Umputun
3013d03be2
fix: Modify the example to avoid misunderstanding
2025-12-04 11:12:32 -06:00
4a2bb5eda8
#1833 - Toolbar buttons are stuck to the main comment form ( #1948 )
...
* 1833 - Toolbar buttons are stuck to the main comment form
* Add readonly and JSDoc to CommentForm textareaId properties
Improve code quality based on review feedback: mark textareaId as
readonly since it should never change after construction, and add
JSDoc to static textareaCounter explaining its purpose.
---------
Co-authored-by: Dmitry Verkhoturov <paskal.07@gmail.com >
2025-12-04 11:12:05 -06:00
d01b738741
Implement function to prune string keeping HTML closing tags ( #1870 )
...
* Implement function to prune string keeping HTML closing tags
Fixes #1587
* change const name
remove unneeded comment
* move pruneHTML to separated file
* move const back to telegram.go
* Add unit tests for string array manipulation and HTML pruning
Introduce comprehensive test cases for stringArr methods (Push, Pop, Unshift, Shift, String) to ensure correct behavior and state management. Additionally, add tests for HTML pruning functions (pruneHTML, pruneStringToWord) to validate handling of length constraints and formatting scenarios.
* Improve behavior
* Fix pruneHTML to count visible text only, add parent text pruning
- Fix bug where HTML tags were counted toward the character limit
instead of only visible text content
- Add pruning for parent comment text in Telegram notifications
- Simplify pruneStringToWord using strings.LastIndex
- Remove unused stringArr type and its tests
- Consolidate and simplify test cases
---------
Co-authored-by: Umputun <umputun@gmail.com >
Co-authored-by: Dmitry Verkhoturov <paskal.07@gmail.com >
2025-12-04 11:11:10 -06:00
Dmitry Verkhoturov and GitHub
564e8ff316
Update go dependencies ( #1972 )
2025-12-03 19:47:01 -06:00
dependabot[bot] and Umputun
b451142790
Bump js-yaml from 3.14.1 to 3.14.2 in /site
...
Bumps [js-yaml](https://github.com/nodeca/js-yaml ) from 3.14.1 to 3.14.2.
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nodeca/js-yaml/compare/3.14.1...3.14.2 )
---
updated-dependencies:
- dependency-name: js-yaml
dependency-version: 3.14.2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-03 18:18:10 -06:00
dependabot[bot] and Umputun
6d8a0c783b
Bump the go-modules-updates group across 1 directory with 11 updates
...
Bumps the go-modules-updates group with 11 updates in the /backend directory:
| Package | From | To |
| --- | --- | --- |
| [github.com/PuerkitoBio/goquery](https://github.com/PuerkitoBio/goquery ) | `1.10.2` | `1.11.0` |
| [github.com/alecthomas/chroma/v2](https://github.com/alecthomas/chroma ) | `2.15.0` | `2.20.0` |
| [github.com/go-chi/chi/v5](https://github.com/go-chi/chi ) | `5.2.1` | `5.2.3` |
| [github.com/go-chi/cors](https://github.com/go-chi/cors ) | `1.2.1` | `1.2.2` |
| [github.com/go-pkgz/jrpc](https://github.com/go-pkgz/jrpc ) | `0.3.1` | `0.4.0` |
| [github.com/go-pkgz/lgr](https://github.com/go-pkgz/lgr ) | `0.12.0` | `0.12.1` |
| [github.com/go-pkgz/rest](https://github.com/go-pkgz/rest ) | `1.20.3` | `1.20.4` |
| [github.com/golang-jwt/jwt/v5](https://github.com/golang-jwt/jwt ) | `5.2.2` | `5.3.0` |
| [github.com/stretchr/testify](https://github.com/stretchr/testify ) | `1.10.0` | `1.11.1` |
| [go.etcd.io/bbolt](https://github.com/etcd-io/bbolt ) | `1.4.0` | `1.4.3` |
| [golang.org/x/image](https://github.com/golang/image ) | `0.26.0` | `0.33.0` |
Updates `github.com/PuerkitoBio/goquery` from 1.10.2 to 1.11.0
- [Release notes](https://github.com/PuerkitoBio/goquery/releases )
- [Commits](https://github.com/PuerkitoBio/goquery/compare/v1.10.2...v1.11.0 )
Updates `github.com/alecthomas/chroma/v2` from 2.15.0 to 2.20.0
- [Release notes](https://github.com/alecthomas/chroma/releases )
- [Commits](https://github.com/alecthomas/chroma/compare/v2.15.0...v2.20.0 )
Updates `github.com/go-chi/chi/v5` from 5.2.1 to 5.2.3
- [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.1...v5.2.3 )
Updates `github.com/go-chi/cors` from 1.2.1 to 1.2.2
- [Release notes](https://github.com/go-chi/cors/releases )
- [Commits](https://github.com/go-chi/cors/compare/v1.2.1...v1.2.2 )
Updates `github.com/go-pkgz/jrpc` from 0.3.1 to 0.4.0
- [Release notes](https://github.com/go-pkgz/jrpc/releases )
- [Commits](https://github.com/go-pkgz/jrpc/compare/v0.3.1...v0.4.0 )
Updates `github.com/go-pkgz/lgr` from 0.12.0 to 0.12.1
- [Release notes](https://github.com/go-pkgz/lgr/releases )
- [Commits](https://github.com/go-pkgz/lgr/compare/v0.12.0...v0.12.1 )
Updates `github.com/go-pkgz/rest` from 1.20.3 to 1.20.4
- [Release notes](https://github.com/go-pkgz/rest/releases )
- [Commits](https://github.com/go-pkgz/rest/compare/v1.20.3...v1.20.4 )
Updates `github.com/golang-jwt/jwt/v5` from 5.2.2 to 5.3.0
- [Release notes](https://github.com/golang-jwt/jwt/releases )
- [Commits](https://github.com/golang-jwt/jwt/compare/v5.2.2...v5.3.0 )
Updates `github.com/stretchr/testify` from 1.10.0 to 1.11.1
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.10.0...v1.11.1 )
Updates `go.etcd.io/bbolt` from 1.4.0 to 1.4.3
- [Release notes](https://github.com/etcd-io/bbolt/releases )
- [Commits](https://github.com/etcd-io/bbolt/compare/v1.4.0...v1.4.3 )
Updates `golang.org/x/image` from 0.26.0 to 0.33.0
- [Commits](https://github.com/golang/image/compare/v0.26.0...v0.33.0 )
---
updated-dependencies:
- dependency-name: github.com/PuerkitoBio/goquery
dependency-version: 1.11.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-modules-updates
- dependency-name: github.com/alecthomas/chroma/v2
dependency-version: 2.20.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-modules-updates
- dependency-name: github.com/go-chi/chi/v5
dependency-version: 5.2.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: go-modules-updates
- dependency-name: github.com/go-chi/cors
dependency-version: 1.2.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: go-modules-updates
- dependency-name: github.com/go-pkgz/jrpc
dependency-version: 0.4.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-modules-updates
- dependency-name: github.com/go-pkgz/lgr
dependency-version: 0.12.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: go-modules-updates
- dependency-name: github.com/go-pkgz/rest
dependency-version: 1.20.4
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: go-modules-updates
- dependency-name: github.com/golang-jwt/jwt/v5
dependency-version: 5.3.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-modules-updates
- dependency-name: github.com/stretchr/testify
dependency-version: 1.11.1
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-modules-updates
- dependency-name: go.etcd.io/bbolt
dependency-version: 1.4.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: go-modules-updates
- dependency-name: golang.org/x/image
dependency-version: 0.33.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: go-modules-updates
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-03 18:17:46 -06:00
notmalicik and GitHub
d925584af8
Romanian language added ( #1962 )
2025-12-03 12:57:07 -06:00
dependabot[bot] and Umputun
22ee7a06d5
Bump playwright from 1.25.0 to 1.55.1 in /frontend
...
Bumps [playwright](https://github.com/microsoft/playwright ) from 1.25.0 to 1.55.1.
- [Release notes](https://github.com/microsoft/playwright/releases )
- [Commits](https://github.com/microsoft/playwright/compare/v1.25.0...v1.55.1 )
---
updated-dependencies:
- dependency-name: playwright
dependency-version: 1.55.1
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-03 11:44:51 -06:00
dependabot[bot] and Umputun
a311ff7b38
Bump the github-actions-updates group across 1 directory with 6 updates
...
Bumps the github-actions-updates group with 6 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [actions/checkout](https://github.com/actions/checkout ) | `4` | `5` |
| [actions/setup-go](https://github.com/actions/setup-go ) | `5` | `6` |
| [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) | `6` | `8` |
| [actions/setup-node](https://github.com/actions/setup-node ) | `4` | `6` |
| [pnpm/action-setup](https://github.com/pnpm/action-setup ) | `4.1.0` | `4.2.0` |
| [actions/upload-artifact](https://github.com/actions/upload-artifact ) | `4` | `5` |
Updates `actions/checkout` from 4 to 5
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4...v5 )
Updates `actions/setup-go` from 5 to 6
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v5...v6 )
Updates `golangci/golangci-lint-action` from 6 to 8
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v6...v8 )
Updates `actions/setup-node` from 4 to 6
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v4...v6 )
Updates `pnpm/action-setup` from 4.1.0 to 4.2.0
- [Release notes](https://github.com/pnpm/action-setup/releases )
- [Commits](https://github.com/pnpm/action-setup/compare/v4.1.0...v4.2.0 )
Updates `actions/upload-artifact` from 4 to 5
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions-updates
- dependency-name: actions/setup-go
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions-updates
- dependency-name: golangci/golangci-lint-action
dependency-version: '8'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions-updates
- dependency-name: actions/setup-node
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions-updates
- dependency-name: pnpm/action-setup
dependency-version: 4.2.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions-updates
- dependency-name: actions/upload-artifact
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions-updates
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-03 11:43:50 -06:00
Claude and Umputun
88257931ca
Update Google and X (Twitter) logos to latest brand versions
...
- Update Google logo to use gradient version per new brand guidelines
- Replace Twitter bird logo with X logo
- Add light/dark variants for X logo (like Apple and GitHub)
- Update oauth.consts.ts to use new X logo variants
Fixes #1957
2025-12-03 11:43:25 -06:00
dependabot[bot] and Umputun
588ec169ff
Bump golang.org/x/crypto from 0.37.0 to 0.45.0 in /backend
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.37.0 to 0.45.0.
- [Commits](https://github.com/golang/crypto/compare/v0.37.0...v0.45.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-version: 0.45.0
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-03 11:43:03 -06:00
dependabot[bot] and Umputun
d9efa765d1
Bump golang.org/x/crypto in /backend/_example/memory_store
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.37.0 to 0.45.0.
- [Commits](https://github.com/golang/crypto/compare/v0.37.0...v0.45.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-version: 0.45.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-03 11:42:34 -06:00
Dmitry Verkhoturov and GitHub
baf0db1947
Get rid of github.com/go-chi/render use ( #1919 )
...
Replace go-chi/render with go-pkgz/rest for JSON responses and custom
helpers for HTML/plain text responses.
Key changes:
- Replace render.JSON/render.Status with rest.RenderJSON and explicit
w.WriteHeader() calls
- Replace render.DecodeJSON with json.NewDecoder().Decode()
- Add SendErrorJSON helper that sets Content-Type header before
WriteHeader (required since rest.RenderJSON can't set headers after
WriteHeader is called)
- Add HTMLResponse and PlainTextResponse helpers
Fix export double-execution in migrator.go:
The original code called Export twice - once to io.Discard to check for
errors, then again to actually write. This was wasteful and had a race
condition risk. Now file mode buffers to memory first for atomic
success/failure, while stream mode writes directly with proper error
handling.
2025-12-03 11:41:29 -06:00
Umputun and GitHub
34ea4c3e83
Migrate golangci-lint to v2 and update Go version ( #1965 )
...
* migrate golangci-lint to v2 and update go version
- migrated .golangci.yml to version 2 format
- updated go.mod from 1.23.0 to 1.24
- removed deprecated run.timeout configuration
* update to go 1.25 and baseimage v1.17.0
- updated go.mod to go 1.25
- updated Dockerfile to use buildgo-v1.17.0 (go 1.25.0)
- updated Dockerfile to use app-v1.17.0
* fix flaky tests with proper synchronization
- use assert.Eventually instead of fixed sleep in TestService_Many
- wait for webhook before shutdown in TestMain_WithWebhook
- fixes race conditions exposed by Go 1.25 scheduler changes
* fix data race in MockDest.closed field
- add IsClosed() method with proper locking
- add locking to String() method
- use IsClosed() in tests instead of direct field access
- fixes race condition detected by go test -race
* update example go.mod to go 1.25
* update golangci-lint to v2.6.0 for go 1.25 support
* fix linter issue and update CLAUDE.md
- merge conditional assignment in example accessor/data.go
- add reminder in CLAUDE.md to always test and lint examples before committing
* update example Dockerfile to baseimage v1.17.0 for go 1.25
2025-11-02 14:17:39 -06:00
Umputun and GitHub
8112f445f4
Merge pull request #1947 from schnerring/add-backup-docs
...
docs: improve backup instructions; closes #1613
2025-10-01 02:02:46 -05:00
Umputun and GitHub
bd7bbe629f
Merge pull request #1953 from diosfera/master
...
Add Macedonian translation
2025-10-01 02:01:43 -05:00
diosfera
ed8b3c314d
Delete package-lock.json file
2025-09-21 20:07:12 +02:00
diosfera
51ec396691
Add Macedonian translation
2025-09-17 06:29:51 +02:00
Michael Schnerring
ca8ab66812
docs: improve backup instructions; closes #1613
2025-09-04 22:20:18 +02:00
Umputun and GitHub
eaa64bac45
Merge pull request #1929 from umputun/fix/auth-send-jwt-header
...
Fix login persistence with AUTH_SEND_JWT_HEADER enabled
2025-07-06 17:55:09 -05:00
Umputun and GitHub
abdca907a7
Merge branch 'master' into fix/auth-send-jwt-header
2025-07-06 15:39:12 -05:00
Umputun and GitHub
a9c8cf51a0
Merge pull request #1937 from umputun/docs/telegram-group-notifications
2025-06-16 00:43:37 -05:00
Dmitry Verkhoturov
d829a57061
docs: update Telegram configuration with group notification details
...
Add information about sending notifications to users, groups, and channels.
Document that public group usernames can be used without @ symbol as IDs.
Addresses discussion #1756
2025-06-16 05:19:50 +01:00
Umputun and GitHub
1dffb2f16e
Merge pull request #1936 from talentedunicorn/patch-1
...
Fixed typo
2025-06-06 12:12:56 -05:00
Eze and GitHub
9e2a1da0df
Fixed typo
2025-06-07 01:11:29 +08:00
Umputun and GitHub
6fbaa806f0
Merge pull request #1934 from up9cloud/master
...
Fix typo (rootDissapear should be rootDisappear)
2025-06-06 10:46:29 -05:00
Hsüan and GitHub
58acca4dcb
Fix profile.spec.tsx typo
2025-06-04 15:18:46 -07:00
Hsüan and GitHub
22d21df22b
Fix profile.ts typo
2025-06-04 15:17:40 -07:00
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 and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
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] and GitHub
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 and GitHub
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 and GitHub
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] 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
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] and GitHub
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 and GitHub
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 and GitHub
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] 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
dependabot[bot] and GitHub
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] and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
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] 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 and GitHub
81f70aa287
Merge pull request #1875 from codiflow/codiflow-patch-1
2024-12-28 20:44:53 -06:00
Christian 🦄 and Dmitry Verkhoturov
f104e3c775
Update de.json
...
Updated Telegram bot description
2024-12-29 03:43:57 +01:00
Umputun and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
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] and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
9628312b5d
Merge pull request #1865 from umputun/dependabot/go_modules/backend/go-modules-updates-81f599025a
2024-12-01 22:32:10 -06:00
Umputun and GitHub
c65c2b395d
Merge branch 'master' into dependabot/go_modules/backend/go-modules-updates-81f599025a
2024-12-01 22:31:58 -06:00
Umputun and GitHub
27671c50c4
Merge pull request #1866 from umputun/dependabot/npm_and_yarn/site/npm-modules-updates-for-tests-87ff55c30d
2024-12-01 22:31:40 -06:00
Umputun and GitHub
56ac1bb841
Merge branch 'master' into dependabot/npm_and_yarn/site/npm-modules-updates-for-tests-87ff55c30d
2024-12-01 22:31:28 -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
Umputun and GitHub
34c667b83a
Merge pull request #1862 from umputun/paskal/improve_server_test
2024-12-01 22:24:11 -06:00
dependabot[bot] and Dmitry Verkhoturov
f2e5758b6c
Bump the npm-modules-updates-for-tests group in /site with 2 updates
...
Bumps the npm-modules-updates-for-tests group in /site with 2 updates: [prettier](https://github.com/prettier/prettier ) and [tailwindcss](https://github.com/tailwindlabs/tailwindcss ).
Updates `prettier` from 3.3.3 to 3.4.1
- [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/3.3.3...3.4.1 )
Updates `tailwindcss` from 3.4.14 to 3.4.15
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases )
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/v3.4.15/CHANGELOG.md )
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.4.14...v3.4.15 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-minor
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-12-02 04:03:21 +00:00
Dmitry Verkhoturov
cd7f616596
Fix server test configuration
...
Previously, tmp boltdb was always created in directory 8080.
2024-12-02 03:36:32 +00:00
Umputun and GitHub
a0c412ee1e
Merge pull request #1861 from umputun/paskal/example_dependabot
2024-12-01 21:33:33 -06:00
Dmitry Verkhoturov and GitHub
15f5b7dde5
Stop updating examples via dependabot
...
Examples should be updated alongside the backend directory and it makes no sense to have separate update PRs for it.
2024-12-02 03:04:46 +00:00
Umputun and GitHub
a561588117
Merge pull request #1859 from umputun/dependabot/github_actions/github-actions-updates-d109cd9e8b
...
Bump codecov/codecov-action from 4 to 5 in the github-actions-updates group
2024-12-01 21:01:52 -06:00
dependabot[bot] and GitHub
ac36dccd19
Bump codecov/codecov-action in the github-actions-updates group
...
Bumps the github-actions-updates group with 1 update: [codecov/codecov-action](https://github.com/codecov/codecov-action ).
Updates `codecov/codecov-action` from 4 to 5
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions-updates
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-12-01 11:33:06 +00:00
Umputun and GitHub
afdac27651
Merge pull request #1853 from umputun/paskal/docker-compose
...
Update docker-compose.yml with example for local reverse proxy
2024-11-19 18:59:10 -06:00
Dmitry Verkhoturov and GitHub
995c4963fb
Update docker-compose.yml with example for local reverse proxy
...
In discussion #1852 I realised that we don't have example with reverse proxy running outside of docker, this commit fixes that.
2024-11-20 00:57:46 +00:00
Umputun and GitHub
16ff2690f0
Merge pull request #1824 from mgkbadola/discord-oauth
...
feat: Discord OAuth support
2024-11-18 14:57:31 -06:00
Mrigank Badola and GitHub
d0dc1131ea
Merge branch 'master' into discord-oauth
2024-11-12 21:24:24 +05:30
Dmitry Verkhoturov and Umputun
d5e3602e54
Fix fetch module import so that latest release version would be shown on website
2024-11-10 18:30:48 -06:00
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
Mrigank Badola
1a27913404
chore: update go-pkgz/auth package
2024-11-10 12:40:07 +05:30
Mrigank Badola
4a39ceee8d
sync: Merge branch 'master' of https://github.com/mgkbadola/remark42 into discord-oauth
2024-11-10 10:43:10 +05:30
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
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
Mrigank Badola
cff261c15b
chore: add discord in server test file
2024-10-20 11:47:47 +05:30
Mrigank Badola
18ea40582a
sync: Merge remote-tracking branch 'origin' into discord-oauth
2024-10-20 11:46:33 +05:30
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
Mrigank Badola
e5ae07b1c2
chore: add cid and csec in readmes and backend docker compose yml
2024-10-09 09:45:10 +05:30
Mrigank Badola
4fbb3b59be
chore: add changes in accordance to paskal/discord_poc
2024-10-09 08:57:47 +05:30
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
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
Xin Li and Umputun
4428f79046
SubscribeByEmailForm: Ensure onInput and onClick props are typed correctly.
...
Resolves #1771
2024-06-04 11:06:14 -05:00
Armen Mkrtchyan and Umputun
bad6af87f7
Update .golangci.yml
...
Sorted linters alphabetically, removed duplicates
2024-05-30 11:30:19 -05:00
Edward Navarro and Umputun
f7ba43e5f1
Complete and update Spanish translations
2024-05-27 15:22:09 -05:00
Dmitry Verkhoturov and Umputun
661f042cb4
pin golangci-lint version to latest available, fix reported errors
2024-05-09 22:32:00 -05:00
Pavel Francírek and Umputun
877765cda2
Update cs.json - typos
...
Only typo corrections.
2024-04-11 11:37:58 -05:00
Dmitry Verkhoturov and Umputun
4bb0017060
update go modules
2024-04-10 19:33:20 -05:00
Dmitry Verkhoturov and Umputun
e0423b8683
fix type for value for refresh token cache
...
It was set to string by mistake, proper type is token.Claims.
2024-03-22 04:16:29 -05:00
Dmitry Verkhoturov and Umputun
5a781693aa
hide delete button for non-admin users after edit period expires
2024-03-17 16:47:28 -05:00
Dmitry Verkhoturov and Umputun
e5743185b0
collect /find Info for tree and plain types consistently
...
MakeTree calculated Info locally for historical reasons,
and the results were consistent with the dataService.Info call
but calculated differently.
That change fixes that, ensuring that Info is requested
in the same manner.
2024-03-16 12:49:45 -05:00
dependabot[bot] and Umputun
1510aec17c
Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /backend
...
Bumps google.golang.org/protobuf from 1.32.0 to 1.33.0.
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-13 18:33:05 -05:00
Dmitry Verkhoturov and Umputun
01837b69e5
fix readonly status, deleted count for plain /find request
2024-03-04 15:44:19 -06:00
Dmitry Verkhoturov and Umputun
d02099844e
apply prettier to site files
2024-02-25 18:27:06 -06:00
Dmitry Verkhoturov and Umputun
6fcfaa12b7
update site dependencies
2024-02-25 18:27:06 -06:00
Dmitry Verkhoturov and Umputun
6269c19881
add more tests for GET /find endpoint
2024-02-21 10:43:28 -06:00
Dmitry Verkhoturov and Umputun
1313dee829
update to lcw v2 with generic types
2024-02-20 14:15:35 -06: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
Konstantsin Kryulenia and Umputun
e1173bbcad
use specific pnpm version
2024-02-03 12:09:57 -06:00
Konstantsin Kryulenia and Umputun
e748951182
skip lint jpeg files
2024-02-03 12:09:57 -06:00
Konstantsin Kryulenia and Umputun
df8670752a
copy example image to public folder
2024-02-03 12:09:57 -06:00
Dmitry Verkhoturov and Umputun
654250f033
don't load kitten picture from third party site
2024-02-03 12:09:57 -06:00
Dmitry Verkhoturov and Umputun
0050c65596
add meaningful error for lack of auth on import, remap and backup
...
Previously, the error printed was just the following:
error response "401 Unauthorized", Unauthorized"
New error:
error response "401 Unauthorized", ensure you have set ADMIN_PASSWD
and provided it to the command you're running: Unauthorized
2024-01-28 12:16:24 -06:00
Dmitry Verkhoturov and Umputun
02db7a917d
fix lack of error on file site export
...
Previously, status 200 was set for file export, which is used
for backup, which resulted in an inability to set an error status code
in case of a problem with file generation.
After this change, status code 200 would be written automatically by Go
before we start writing the response's body.
2024-01-28 12:16:24 -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
Paul Mineev and Umputun
82c617806d
chore: remove theme from comment content
2024-01-18 02:56:10 -06:00
Paul Mineev and Umputun
e043dc2ac3
fix: break long words in code tag, combine all styles in one file, move styles to correct place
2024-01-18 02:56:10 -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
NavyStack and Umputun
3f14651653
fix: add missing Japanese translation
2024-01-08 11:23:03 -06:00
NavyStack and Umputun
310b797679
fix: add missing Japanese translation
2024-01-08 11:23:03 -06:00
NavyStack and Umputun
0594565143
FIX: Character escaping
2024-01-08 11:23:03 -06:00
NavyStack and Umputun
d4c153662b
update: Korean translation
2024-01-08 11:23:03 -06:00
NavyStack and Umputun
f64b0b8831
fix: Korean missing strings
2024-01-08 11:23:03 -06:00
Vladimir D and Umputun
94893b77dc
bump deps
2023-12-26 11:47:09 -06:00
Vladimir D and Umputun
30f46efa5b
TLS InsecureSkipVerify option
2023-12-26 11:47:09 -06:00
Vladimir D and Umputun
e0904603c6
go-pkgz/auth and go-pkgz/email modules updated, bump deps
2023-12-26 11:47:09 -06:00
Dmitry Verkhoturov and Umputun
d143932924
add MIN_COMMENT_SIZE parameter
2023-12-02 12:16:26 -06:00
Dmitry Verkhoturov
dcc7613409
allow disabling fancy HTML formatting
...
It might be necessary if the comments should preserve
original quotes instead of replacing them with angled ones.
2023-11-26 09:13:53 +01:00
Dmitry Verkhoturov and Umputun
d04d2097f8
fix Commento import URL
...
Previously, it was not using the domain
and relying on another export format.
2023-11-20 10:59:05 -06:00
Dmitry Verkhoturov
ce678bf967
fix Commento top-level comments import
...
Previously, top-level comments were incorrectly assigned
parent comment id "root", which made them non-root,
so they are not returned when requested
in the `/find?format=tree` API call.
To fix the previously imported comments, please export all your comments
and replace `"pid":"root"` with `"pid":""` and then re-import them.
2023-11-18 20:30:18 +01:00
Dmitry Verkhoturov and Umputun
cd481d401d
add tests for admin Store and DataService
2023-11-04 12:49:40 -05:00
Dmitry Verkhoturov and Umputun
618c267370
combine multiple post info in DataStore.Info instead of returning first
...
Previously, only the first one was returned for site-wide requests,
and now all returned information will be correctly aggregated,
and the PostInfo.URL and PostInfo.ReadOnly parameters will be dropped.
2023-11-04 12:49:40 -05:00
Dmitry Verkhoturov and Umputun
307866f7f5
simplify BoltDB.Info code
...
The new code does the same as the old one but doesn't call the checkFlag
in case ReadOnly is already set based on age.
2023-11-04 12:46:38 -05:00
Dmitry Verkhoturov and Umputun
19e1616129
allow title extraction only from full match of AllowedHosts
...
Previously, we extracted the second-level domain,
but it doesn't make sense for a list of domains defined explicitly
to display the comments.
2023-11-04 12:45:19 -05:00
dependabot[bot] and Umputun
c6506b8905
Bump luxon from 2.3.0 to 2.5.2 in /site
...
Bumps [luxon](https://github.com/moment/luxon ) from 2.3.0 to 2.5.2.
- [Release notes](https://github.com/moment/luxon/releases )
- [Changelog](https://github.com/moment/luxon/blob/master/CHANGELOG.md )
- [Commits](https://github.com/moment/luxon/compare/2.3.0...2.5.2 )
---
updated-dependencies:
- dependency-name: luxon
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-28 03:15:10 -05:00
Paul Mineev and Umputun
676ae77456
update links styles
2023-10-28 01:56:04 -05:00
Paul Mineev and Umputun
b93fc48b73
fix types on error message extraction
2023-10-28 01:45:03 -05:00
Paul Mineev and Umputun
4be664e78d
fix styles around admin controls
2023-10-28 01:36:17 -05:00
Paul Mineev and Umputun
62aaa35287
fix types on error message extraction
2023-10-28 01:35:58 -05:00
Dmitry Verkhoturov and Umputun
69b18d3536
fix wrapped errors checks
...
As errors can be wrapped in recent versions of Go, the proper way
to check the error types are `errors.As` and `errors.Is`.
2023-10-10 23:36:04 -05:00
Dmitry Verkhoturov and Umputun
efceed6f68
limit TitleExtractor to allow only Remark42 whitelisted domains
...
Allowed domains consist of `REMARK_URL` second-level domain (or whole IP in case it's IP like `127.0.0.1`) and `ALLOWED_HOSTS`. That is needed to prevent Remark42 from asking arbitrary servers and storing the page title as the comment.PostTitle.
Previous behaviour allowed the caller of the API to create a comment
with an arbitrary URL and learn the title of the page, which might be
accessible to the server Remark42 is installed on but not to the user
outside that network (CWE-918).
2023-10-10 23:34:35 -05:00
Dmitry Verkhoturov and Umputun
f4358173c7
limit TitleExtractor to allow only Remark42 whitelisted domains
...
Allowed domains consist of `REMARK_URL` second-level domain (or whole IP in case it's IP like `127.0.0.1`) and `ALLOWED_HOSTS`. That is needed to prevent Remark42 from asking arbitrary servers and storing the page title as the comment.PostTitle.
Previous behaviour allowed the caller of the API to create a comment
with an arbitrary URL and learn the title of the page, which might be
accessible to the server Remark42 is installed on but not to the user
outside that network (CWE-918).
2023-10-10 23:34:35 -05:00
Dmitry Verkhoturov and Umputun
7a71d47556
remove all HTML tags from comment title and username
...
Previously, we stripped unsafe HTML tags but left some,
but it's not expected to have a link in a title or username,
so the new behaviour is stripping everything.
2023-10-10 12:41:26 -05:00
Dmitry Verkhoturov and Umputun
41d27e2a7f
clarify titles for frontend and backend configuration doc
2023-10-10 11:51:26 -05:00
Dmitry Verkhoturov and Umputun
10e4686f1a
reproduce report of CWE-918 from #1677
2023-10-10 11:43:56 -05:00
sharief007 and Umputun
eba447319d
Extract error msg from API response for preview.
2023-10-08 12:53:04 -05:00
Dmitry Verkhoturov and Umputun
40a0d7ca62
update Telegram notifications instructions
...
Remove outdated information about functionality which was already implemented.
2023-09-12 20:45:25 -05:00
Dzung Do and Umputun
c9b6f9272f
Update vi.json
2023-09-04 01:35:57 -05:00
Umputun
1f2500f16f
switch to stable, updated auth
2023-08-21 11:20:24 -05:00
Umputun
4b855ceddd
mod tidy for mem_store example
2023-08-20 19:37:39 -05:00
Umputun
e30d4da455
update auth lib to master #1660
...
adopt tests for the mandatory provider check
fix leftover test for the server
2023-08-20 19:37:39 -05:00
Umputun
26e6e57949
add cmd/var to ignore
2023-08-07 13:33:04 -05:00
Umputun
b572966bc4
remove cmd/var
2023-08-07 13:32:44 -05:00
Umputun
bbfa4f1043
update base images for backend docker build
2023-08-07 13:12:42 -05:00
Umputun
9ad4f0b75e
lint: remove deprecated rand.Seed from tests
2023-08-07 13:09:38 -05:00
Umputun
2093f4ece2
update go to 1.20, bump deps
2023-08-07 13:03:16 -05:00
Alexander Gusman and Umputun
7bc7703dc2
build: use pnpm instead of npm to install deps for size checks
2023-07-24 12:29:55 -05:00
Alexander Gusman and Umputun
0ed7452e77
feat(ui): telegram user subscriptions
2023-07-24 12:29:55 -05:00
Alexander Gusman and Umputun
366cc19c1b
fix(rest): correct status code for telegram check token
2023-07-24 12:29:55 -05:00
Dmitry Verkhoturov and Umputun
c72f30eabb
remove proxied images from sanity check
...
Previously, proxied and local images were checked for presence in the
storage before previewing or posting the comment. That logic resulted in
an inability to post with an image when a proxy for images is enabled,
as proxied images are not downloaded to disk before the first time
someone loads them, which could only happen after the user either
previews or posts the message.
After this change, preview and post only checks the local images'
presence and ignore the proxied ones.
2023-07-23 12:10:52 -05:00
Justin Hawkins and GitHub
235f0dade0
Update documentation to support Caddy V2 ( #1657 )
...
* Update index.md
Change Caddy example config to the current V2 config.
* Simplify config
* Include legacy config as well
2023-07-20 21:12:11 -05:00
Dmitry Verkhoturov and Umputun
9c718cbc5f
clarify SharedSecret usage by comment
...
It's not used aside from `server` but it was decided to keep it in place
for backwards compatibility in PR #1544 .
2023-07-16 20:50:03 -05:00
Dmitry Verkhoturov and Umputun
02de92afc7
update Google auth setup instructions
...
Update based on my experience going through them.
2023-07-16 18:14:38 -05:00
Yury Kotov and Umputun
add01455fb
Fix snippet generation
...
1) Current implementation simply removes the last word, without truncating up to limit length.
2) In case if even the first word (magnet link or some base64?) is too long don't add extra space.
2023-07-04 13:32:37 -05:00
Eugene and GitHub
497f3ce47f
Skip confirmation step on email subscription ( #1646 )
...
* Email subscription params in request body
* Email subscription params in request body
fix tests
* Skip confirm step on email sub
When user logged in with the same email he tries to subscribe
* Skip confirm step on email sub
set autoConfirm param to make it work
* Update size-limit
* Handle 409: already subscribed
* refactor: prevStep to justSubscribed
prevStep is not used anywhere else and because of it influences output text (haveSubscribed), have changed it to more intuitive justSubscribed variable
* Test case for http error 409
2023-06-29 14:15:59 -05:00
LoneExile and Umputun
64188e5713
docs: added Astro w/ React/Preact Components Integration
2023-06-29 13:21:42 -05:00
Eugene Orlov and Umputun
33a6d6da97
Email subscription params in request body
...
fix tests
2023-06-29 10:52:36 -05:00
Eugene Orlov and Umputun
6410e3be85
Email subscription params in request body
2023-06-29 10:52:36 -05:00
Dmitry Verkhoturov and Umputun
136d7e8215
switch from telegram_bot_username to telegram_notifications
...
Bot username is returned as an answer to subscribe request,
so knowing it in advance is unnecessary.
2023-06-29 10:52:00 -05:00
Eugene Orlov and Umputun
d3fdd7b0d8
Fix color var usage
2023-06-27 22:16:38 -05:00
Eugene Orlov and Umputun
329fcc204c
Update size-limit
2023-06-27 22:16:38 -05:00
Eugene Orlov and Umputun
ba2c7894a8
Telegram QR styling
...
- 1/1 aspect ratio
- white border around (for easier scan)
2023-06-27 22:16:38 -05:00
Eugene Orlov and Umputun
07667c8881
fix: Gap between buttons and markdown tip
2023-06-12 09:44:04 -05:00
Eugene Orlov and Umputun
68504a70a0
[site] fix: anchor offset
...
use different header size on mobiles and desktops
2023-06-06 15:22:02 -05:00
Eugene Orlov and Umputun
32073b3d66
[site] fix: anchor offset
...
make it use tailwind styles
2023-06-06 15:22:02 -05:00
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
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
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
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
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
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
Dmitry Verkhoturov
63a2bdea48
get rid of getstarted.html mentions
...
umputun introduced that reference in 70649b271 ,
but I can't find any references to it or the file itself now.
2022-07-27 23:22:08 +02:00
Dmitry Verkhoturov
41d47fdb3e
don't enable telegram user notifications when they are disabled
...
Before that change, enabling Telegram auth
also enabled Telegram user notifications.
2022-07-27 23:21:09 +02:00
Paul Mineev
86dae37c5d
docs: improve frontend dev instructions
2022-07-27 10:39:10 -07:00
Dmitry Verkhoturov
2a97d9379e
fix unsubscribe template filename
2022-07-27 19:02:34 +02:00
orangesobeautiful and Umputun
ba0060316c
add Traditional Chinese (zh-tw) translations
2022-07-27 11:43:45 -05:00
Paul Mineev and Umputun
41f18a23e5
docs: link backend dev docs to readme.md
2022-07-25 16:39:11 -05:00
Paul Mineev and Umputun
bf26ad4acc
link readme for frontend dev
2022-07-25 16:39:11 -05:00
Paul Mineev and Umputun
acc56ad42b
run dev env for site in docker
2022-07-25 13:29:33 -05:00
Paul Mineev and Umputun
922e779118
docs: reorg contributing section
2022-07-25 13:23:36 -05:00
Dmitry Verkhoturov and Umputun
f104a6e1b6
move common options to cmd.go
...
Timeout, admin password and site id are set in many commands,
and we need to take care of synchronising the descriptions
and flags between them.
This change moves these standard options to cmd.go importing them
in the same manner CommonOpts imported by all commands already.
2022-07-25 12:42:13 -05:00
Dmitry Verkhoturov and Umputun
0aa6052eba
update backup documentation
...
Few things here:
1. Merge automatic and manual backup to a single page
2. State that ADMIN_PASSWD must be enabled for backup or restore to work
3. Remove unneeded usage of --admin-passwd from commands
inside the container
4. Make the main backups page (not clickable through the interface,
available only in search) redirect to information about backups
instead of displaying text
5. Add HTTPS port to canonical docker-compose.yml
6. Clarify build option in the canonical docker-compose.yaml
2022-07-25 12:09:42 -05:00
Robin and Umputun
f25b34d5e2
docs(manuals): add ts version of react component
...
Some time ago Gatsby started to support Typescript natively. Also the frontend of remark42 is written in Typescript. So I thought it's a good idea to add a Typescript version of the component.
2022-07-25 12:02:08 -05:00
Dmitry Verkhoturov and Umputun
5e5b3e0830
hardcode dockerhub username and ghcr.io repo for docker build
...
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-24 16:43:38 -05: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
Paul Mineev and Umputun
5db6e4364a
fix simple mode
2022-07-21 22:24:32 -05:00
Paul Mineev and Umputun
3d1a3fd7cf
update ci workflows
2022-07-21 19:52:48 -05:00
Paul Mineev and Umputun
6625face50
update dev docs
2022-07-21 18:27:33 -05:00
Paul Mineev and Umputun
d9764c251d
workspaces
2022-07-21 18:27:33 -05:00
Dmitry Verkhoturov
243c8356e7
do not sanitise the original comment markdown
...
Previously it was sanitised using the HTML sanitiser,
but it had proven troublesome and unnecessary.
Remark42 rendered the markdown into proper HTML, but then some pieces
of it (like cited HTML code inside the code block, marked by backticks)
were cut out, which then showed the incorrect markdown to a user when
they were editing the comment.
For example, the comment "`foo<bar>`" became "foo" after sanitising,
and despite the proper render user saw only "foo" when editing
the comment.
After this change, the initial comment markdown is preserved unaltered.
It could contain dangerous HTML with JS, which I assume shouldn't
be a problem as it's never rendered as HTML but instead supposed
to be converted to HTML by the interpreter. In Remark42, it's stored
in a comment.Text field and sanitised and thus safe.
I've left information about the potential danger of rendering
the original markdown as-is without an interpreter in
all relevant places I could find.
2022-07-22 01:08:08 +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
Paul Mineev and Umputun
8c658b7eda
fix frontend test/build in docker
2022-07-13 14:35:54 -05:00
Paul Mineev and Umputun
26d8d3daee
use pnpm lock
2022-07-13 14:00:48 -05:00
Dmitry Verkhoturov and Umputun
26476db95d
update go-pkgz/rest, stretchr/testify, three stdlib modules
2022-07-13 12:40:30 -05:00
Pavel Mineev
3c90f6ae61
increase size-limit
2022-07-12 13:34:44 -07:00
Pavel Mineev
4889afdf0c
use size-limit/file
2022-07-12 13:34:44 -07:00
Paul Mineev and Paul Mineev
2e777ea752
switch to pnpm
2022-07-11 20:13:39 -07:00
Paul Mineev and Paul Mineev
fddf1e21f3
prettier
2022-07-11 16:21:44 -07:00
Paul Mineev and Paul Mineev
d6013b10e6
separate persist logic from compnennt
2022-07-11 16:21:44 -07:00
Pavel Mineev and Umputun
aac6af40cc
update height when an image is loaded
2022-07-11 12:54:48 -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
Paul Mineev and Umputun
99716984ad
up node version, add nvmrc, recommend nvm
2022-07-02 11:48:22 -05:00
Paul Mineev and Umputun
24e9404a6f
Fix email autofill in subscription popup
2022-07-01 12:33:15 -05:00
Paul Mineev and Umputun
1f1adba5fd
up eslint
2022-07-01 12:22:57 -05:00
Paul Mineev and Umputun
b907354746
update size limit for remark chunk
2022-07-01 12:22:57 -05:00
Paul Mineev and Umputun
9a08d4a412
fix problems after update
2022-07-01 12:22:57 -05:00
Paul Mineev and Umputun
3a08e6dd55
bump prod deps
2022-07-01 12:22:57 -05:00
Paul Mineev and Umputun
02f782a5ab
use ts for jest config, use transformIgnorePatterns, jsdom env by default
2022-07-01 12:22:57 -05:00
Paul Mineev and Umputun
30d68b2d1e
update eslint config
2022-07-01 12:22:57 -05:00
Paul Mineev and Umputun
8974cde582
bump dev deps
2022-07-01 12:22:57 -05:00
Paul Mineev and Umputun
5f3206a4e8
preact preset already includes rules for jest
2022-07-01 11:13:28 -05:00
Paul Mineev and Umputun
40e38d225e
fix broken deps
2022-07-01 11:13:28 -05:00
Dmitry Verkhoturov and Umputun
a73072c8fb
add documentation on running remark42 on a separate domain
2022-06-30 19:12:00 -05:00
Dmitry Verkhoturov and GitHub
6a5c5a4c08
add missing env_delim to ALLOWED_HOSTS parameter ( #1395 )
2022-06-29 22:32:48 -05:00
Dzung Do and GitHub
fa7d5cee87
Translate some string into Vietnamese ( #1381 )
...
* Finish Vietnamese translation and editing some typo missing
* Update vi.json
2022-06-07 10:45:41 -05:00
Paul Mineev and Umputun
fe4db30e6d
show subscription buttons in simple view, add ability to hide rss button
2022-06-06 10:00:24 -05:00
Paul Mineev and Umputun
6936268fd2
fix basepath for oauth icons
2022-06-05 17:46:31 -05:00
Umputun
e55f6ffdf3
go mod tidy for examples
2022-06-05 12:53:34 -05:00
Umputun
e182e3c776
switch to master version of auth
...
for https://github.com/go-pkgz/auth/pull/119
2022-06-05 12:49:30 -05:00
Umputun and GitHub
6309443d1f
removes .git from build layer, emulates GH build ( #1375 )
...
* removes .git from build layer, emulates GH build #269
* rundev target with git version passed in
2022-06-05 12:36:18 -05:00
Umputun
6f81bf00e8
add validation for email and site
2022-06-05 11:57:51 -05:00
Umputun
86a1f5ee5d
exact match on email login path
2022-06-05 11:57:51 -05:00
Umputun
b3e460eebd
sleep in anon test to prevent limiter
2022-06-05 11:57:51 -05:00
Umputun
5121c48c31
reduce max limiter for /auth to 2r/s
2022-06-05 11:57:51 -05:00
Umputun
5f8e16cbe2
add email auth validation with middleware
2022-06-05 11:57:51 -05:00
Ruslan Nagimov and Umputun
12e4f283fe
typo
2022-06-02 10:47:06 -05:00
Dzung Do and Umputun
20ca0896a6
Finish Vietnamese translation
...
and editing some typo missing
2022-05-30 13:39:45 -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
9049d7a616
add missing RPC type of image storage to the documentation
2022-05-15 15:56:53 -05:00
Dmitry Verkhoturov and Umputun
adb77d9a11
sync server parameters with their description
2022-05-12 11:41:52 -05:00
Paul Mineev and Umputun
18cc34535f
fix lint and test
2022-05-10 14:47:34 -05:00
Paul Mineev and Umputun
9053668cfe
fix editing mode
2022-05-10 14:06:02 -05:00
Alena Maslova and Umputun
b82ed825f7
add comment about custom ID user generation
2022-05-10 12:59:49 -05:00
Alena Maslova and Umputun
ac492180e8
use custom UserIDFunc for anonymous provider
2022-05-10 12:59:49 -05:00
dmitry.konchalenkov and Umputun
168a6d36c0
Update translations
2022-05-09 02:52:06 -05:00
Umputun and GitHub
7cdb006f81
Links rune ( #1344 )
...
* shorten links with non-latin properly
* lint: unneeded conversion
2022-04-30 12:03:52 -05:00
dependabot[bot] and Umputun
5a6ca7a82b
Bump ejs from 3.1.6 to 3.1.7 in /site
...
Bumps [ejs](https://github.com/mde/ejs ) from 3.1.6 to 3.1.7.
- [Release notes](https://github.com/mde/ejs/releases )
- [Changelog](https://github.com/mde/ejs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mde/ejs/compare/v3.1.6...v3.1.7 )
---
updated-dependencies:
- dependency-name: ejs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-29 13:34:05 -05:00
Dmitry Verkhoturov and Umputun
a980bdbad2
switch to go-pkgz/notify package: email
2022-04-29 13:32:15 -05:00
Dmitry Verkhoturov and Umputun
0d9c80aec7
switch to go-pkgz/notify package: slack
2022-04-29 13:32:15 -05:00
Dmitry Verkhoturov and Umputun
59fb68ab2d
switch to go-pkgz/notify package: telegram
2022-04-29 13:32:15 -05:00
Dmitry Verkhoturov and Umputun
ad0ac693de
switch to go-pkgz/notify package: webhook
2022-04-29 13:32:15 -05:00
Dmitry Verkhoturov and Umputun
0560a893cf
switch to go-pkgz/notify package: modules
2022-04-29 13:32:15 -05:00
Umputun
598d767791
resolves #415 and the similar issue with title
2022-04-29 10:52:05 -05:00
Dmitry Verkhoturov and Umputun
0c3053d4ad
CloseIdleConnections on http clients
...
Without this, go.uber.org/goleak reports
leaking goroutine caused by HTTP client
on many tests when ran one by one.
2022-04-29 10:51:49 -05:00
Dmitry Verkhoturov and Umputun
91b9324080
cleanup test files
2022-04-29 10:51:49 -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
Paul Mineev and Umputun
21d0339d3d
restore low_score comment state
2022-04-24 20:19:13 -05:00
Paul Mineev and Umputun
9e30e3bd2c
enable downvoting for only positive
2022-04-24 20:19:13 -05:00
Paul Mineev and Umputun
bf6a08bdcd
Move back last comments css file
2022-04-21 17:43:35 -05:00
Umputun
3f3bfaffc6
Merge remote-tracking branch 'origin/master'
2022-04-18 00:03:59 -05:00
Umputun
9efcc9aba3
add removal info to policy
2022-04-18 00:03:53 -05:00
Dmitry Verkhoturov and Umputun
2a7966b9e6
replace numbers with proper HTTP status codes in tests
...
Also, remove unneeded whitespaces using whitespace
linter for golangci-lint.
2022-04-17 19:42:45 -05:00
Umputun
9ab27da343
update deps on example
2022-04-15 20:29:14 -05:00
Umputun
f4856c86d7
update deps
2022-04-15 12:50:05 -05:00
dependabot[bot] and Umputun
53df70bcef
Bump async from 2.6.3 to 2.6.4 in /frontend
...
Bumps [async](https://github.com/caolan/async ) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases )
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md )
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4 )
---
updated-dependencies:
- dependency-name: async
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-15 12:40:55 -05:00
Paul Mineev and Umputun
2d3677d629
clean testid in production build
2022-04-15 12:39:26 -05:00
Paul Mineev and Umputun
58b0841360
update comment actions block
2022-04-15 10:32:01 -05:00
Paul Mineev and Umputun
cd7a2a3c73
fix light bg on dark theme
2022-04-13 22:06:12 -05:00
Paul Mineev and Umputun
c58e6471ff
recover translation for controversion string
2022-04-13 12:54:55 -05:00
Paul Mineev and Umputun
a840dd9081
increce size limit for last-comments widget
2022-04-13 12:51:38 -05:00
Paul Mineev and Umputun
0e4ae6e050
rewrite vote component
2022-04-13 12:51:38 -05:00
Paul Mineev and Umputun
a290d906ee
fix copy for latest safari
2022-04-13 12:15:31 -05:00
Paul Mineev and Umputun
000d64d78f
fix broken verify icon on admin view and optimize the icon
2022-04-13 03:40:39 -05:00
Paul Mineev and Umputun
c987513886
add icon for paid patreon sub
2022-04-13 03:40:39 -05:00
Paul Mineev and Umputun
001b994e73
replace ts-jest and babel-jest to swc/jest
2022-04-13 03:40:19 -05:00
Paul Mineev and Umputun
5ed9e9d41b
update size-limit and move to app preset metrics
2022-04-12 12:18:56 -05:00
Paul Mineev and Umputun
5de9544337
update max size limit for counter.js
2022-04-10 15:35:31 -05:00
Paul Mineev and Umputun
a320ae03ae
Prevent code execution from the query
2022-04-10 15:35:31 -05:00
Paul Mineev and Umputun
fe6b119254
fix xss from iframe name
2022-04-10 15:35:09 -05:00
Paul Mineev and Umputun
145b4c474c
use default system font
2022-04-10 15:34:54 -05:00
Paul Mineev and Umputun
f7bddd757d
Improve frontend docs
2022-04-10 11:18:15 -05:00
Paul Mineev and Umputun
d89c9a1d1c
make content width on docs pages wider
2022-04-09 19:22:25 -05:00
Dmitry Verkhoturov and Umputun
0eac76ce6c
improve notifications description in parameters doc
2022-04-07 18:27:39 -05:00
Dmitry Verkhoturov and Umputun
977e5f018b
renew Google auth documentation
2022-04-07 17:14:56 -05:00
Dmitry Verkhoturov and Umputun
38a680ec4c
use remark42.mysite.com consistently in documentation
2022-04-07 17:14:56 -05:00
Dmitry Verkhoturov and Umputun
7af30852db
add variables into auth instructions
2022-04-07 17:14:56 -05:00
Dmitry Verkhoturov and Umputun
0047fa057f
add missing main component to frontend config examples
2022-04-06 18:40:27 -05:00
Dmitry Verkhoturov and Umputun
7d4ba01409
improve getting started installation instructions
2022-04-06 17:33:34 -05:00
Umputun
65e3a82d8b
add no-signature mode suppressing app info middleware #1305
2022-04-05 12:08:44 -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
konstantin krivlenia and Umputun
5ed7f27d5e
update stylelint
2022-04-03 12:03:01 -05:00
dependabot[bot] and Umputun
4e0c41cf86
Bump minimist from 1.2.5 to 1.2.6 in /site
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-01 13:18:30 -05:00
itsmejoeeey and Umputun
86b0e8d57c
Remove emoji from warning in Twitter section in auth docs
2022-03-25 23:09:39 -05:00
itsmejoeeey and Umputun
d3fe35bdf2
Add warning to Twitter section in docs Authorization page
2022-03-25 23:09:39 -05:00
Dmitry Verkhoturov and Umputun
39c141c98d
increase timeout for backup and restore and remap 15m->60m
...
Resolves #1297
2022-03-25 15:55:37 -05:00
dependabot[bot] and Paul Mineev
d46c5c0c24
Bump nanoid from 3.1.23 to 3.2.0 in /frontend
...
Bumps [nanoid](https://github.com/ai/nanoid ) from 3.1.23 to 3.2.0.
- [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/3.1.23...3.2.0 )
---
updated-dependencies:
- dependency-name: nanoid
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-25 21:29:03 -06:00
dependabot[bot] and Umputun
0ba8ecdf82
Bump prismjs from 1.26.0 to 1.27.0 in /site
...
Bumps [prismjs](https://github.com/PrismJS/prism ) from 1.26.0 to 1.27.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.26.0...v1.27.0 )
---
updated-dependencies:
- dependency-name: prismjs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-25 20:16:27 -06:00
mstfelg and Umputun
08903ac6f6
add arabic locale
2022-02-25 14:20:14 -06:00
Dmitry Verkhoturov and Umputun
932c0e8af0
optimise images for smaller size
2022-02-24 16:54:03 -06:00
Dmitry Verkhoturov and Umputun
d47133c004
add admin UI documentation, fix title for no-subdomain doc
2022-02-24 16:54:03 -06:00
Dmitry Verkhoturov and Umputun
cfb7361adf
optimise images for smaller size
2022-02-24 16:18:28 -06:00
Dmitry Verkhoturov
d4481d145f
fix remark_config reference in the installation documentation
2022-02-23 09:12:21 +01:00
Dmitry Verkhoturov and Umputun
2ef1cfe1ea
fix logic of detecting deprecated notify type params
2022-02-19 02:43:34 -06:00
Pavel Mineev and Umputun
9216d4189e
add telegram translation string
2022-02-18 15:59:29 -06:00
Paul Mineev and Umputun
286e4c8a43
update telegram qr size
2022-02-15 18:37:24 -06:00
Dmitry Verkhoturov and Umputun
f03fcf3fcf
make QR for telegram borderless
2022-02-15 18:33:51 -06:00
Dmitry Verkhoturov and Umputun
f448208475
allow skipping frontend build in Docker
...
That option allows having backend-only build,
skipping the long frontend build and test step.
Frontend developers run NodeJS locally and usually
don't need to have frontend built inside the docker image.
2022-02-15 18:30:38 -06:00
dependabot[bot] and Umputun
214e183b07
Bump follow-redirects from 1.14.7 to 1.14.8 in /site
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-15 00:19:36 -06:00
dependabot[bot] and Paul Mineev
338059e507
Bump follow-redirects from 1.14.7 to 1.14.8 in /frontend
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-15 00:18:45 -06:00
konstantin krivlenia and Umputun
188e3974bc
add support node 17
2022-02-13 23:33:41 -06:00
Dmitry Verkhoturov and Umputun
b5f34b8777
remove notice about user notifications in telegram
2022-02-12 03:52:16 -06:00
Umputun
9d8985e616
change update to silent curl
2022-02-11 12:00:55 -06:00
Paul Mineev and Umputun
9bae155e79
Fixes for telegram
...
- fix type for an error in fetcher
- use is-object func for checks
- better error handling for auth requests
2022-02-11 10:59:19 -06:00
Umputun
7b47bd2f05
return 200 and empty list on user comments if nothing #1265
2022-02-10 15:31:09 -06:00
Umputun and GitHub
74b47d3a8a
Merge pull request #1107 from Ksinia/master
...
Add telegram auth to frontend
2022-02-09 11:05:44 -06:00
Dmitry Verkhoturov and Umputun
6fd730655a
bump Go modules
2022-02-09 11:04:13 -06:00
Pavel Mineev
c9b1fb4737
simplify click outside
2022-02-07 22:47:00 -06:00
Pavel Mineev
38414c4628
move error hook to hooks file
2022-02-07 22:36:36 -06:00
Pavel Mineev
b97b1f9462
telegram adjustments and tests
...
- get rid of redux store in favor of local state
- add tests for telegram happy path
- lift auth handling on Auth level
2022-02-07 22:28:19 -06:00
dependabot[bot] and Pavel Mineev
7395198843
Bump nanoid from 3.1.23 to 3.2.0 in /frontend
...
Bumps [nanoid](https://github.com/ai/nanoid ) from 3.1.23 to 3.2.0.
- [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/3.1.23...3.2.0 )
---
updated-dependencies:
- dependency-name: nanoid
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-07 22:28:07 -06:00
dependabot[bot] and Umputun
988391bc9d
Bump nanoid from 3.1.23 to 3.2.0 in /frontend
...
Bumps [nanoid](https://github.com/ai/nanoid ) from 3.1.23 to 3.2.0.
- [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/3.1.23...3.2.0 )
---
updated-dependencies:
- dependency-name: nanoid
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-07 19:52:35 -06:00
Ksinia
5c91b8764e
Switch QR to backend rendering
2022-02-08 00:28:34 +01:00
Ksinia
7c6b44a5bb
Get rid of isTelegramShown state
2022-02-07 23:33:32 +01:00
Ksinia
0f4ac6348c
Fix function name
2022-02-07 23:33:32 +01:00
Pavel Mineev and Ksinia
0ea91bb99f
update tg icon
2022-02-07 23:33:32 +01:00
Pavel Mineev and Ksinia
3e12ca4074
fix tests
2022-02-07 23:33:32 +01:00
Ksinia
69b110e36b
Add telegram auth to frontend
2022-02-07 23:33:32 +01: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
JoeyZhouAus and Umputun
e0980d4700
Fix typo in index.md
...
The text in the backend development section should be backend instead of frontend
2022-02-06 21:30:01 -06:00
Dmitry Verkhoturov and Umputun
f58073fa57
add proper default values for two boolean variables
2022-02-06 16:37:47 -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
49d2552a78
fix frontend documentation typo
2022-02-06 13:55:52 -06:00
Roganik and Umputun
78be64900b
Add tips to url-migration docs
2022-02-06 12:42:32 -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
Dmitry Verkhoturov and Umputun
3a9806a368
improve doc on backend run without docker
2022-01-30 19:05:57 -06:00
Dmitry Verkhoturov
31af19e456
make FindDeprecatedFlagsCollisions private method
2022-01-31 00:40:03 +03:00
Dmitry Verkhoturov
8689b11e7c
log when deprecated and new args are set at the same time
...
For example, when notify.telegram.token and telegram.token
are both set but to different values, user might see
"access denied" error in log on attempt to send telegram
notification, thinking that notify.telegram.token value
is used, when in fact it is ignored and only telegram.token
is used.
New behavior is the same, ignoring the old param when new
one is set, but issuing the error log message which
explicitly tells the user about that.
Resolves #1218 .
2022-01-31 00:40:03 +03:00
Dmitry Verkhoturov and Umputun
ffa0d34ed1
improve backend and frontend development docs
...
Remove generic development documentation, make frontend
and backend pages more specific and self-sufficient,
as previously you had to read development and frontend
pages in order to understand how to properly develop
frontend.
2022-01-30 12:25:07 -06:00
Umputun
dc9411e2b9
add work-in-progress note about tg auth docs
2022-01-30 04:09:45 -06:00
Dmitry Verkhoturov and Umputun
bd42c75a84
improve telegram notifications documentation
2022-01-24 15:06:50 -06:00
Umputun
6af938051a
drop drone legacy magic from artifact build
2022-01-23 16:25:24 -06:00
Umputun
33b96a4263
the same buildplatform only for node deps step
2022-01-23 16:04:14 -06:00
Umputun
2d033de224
build node things only once, on builplatform only
2022-01-23 16:02:46 -06:00
Umputun
c5d56a89cd
pass GITHUB_REF into docker build
2022-01-23 15:17:13 -06:00
Umputun
e8bd5dfc6e
add missing args
2022-01-23 15:12:19 -06:00
Umputun
077b2d297c
switch to versions.sh instead of legacy git-rev.sh
2022-01-23 14:34:45 -06:00
Umputun
45c633776f
skip legacy drone check
2022-01-23 14:06:26 -06:00
Dmitry Verkhoturov and Umputun
ddba4059b0
add "invite your tg bot" note to documentation
...
Pointed out in #1221 originally.
2022-01-23 13:20:14 -06:00
Ivan Uhalin and Umputun
434f0f5f3d
update docs link
2022-01-20 02:23:53 -06:00
Paul Mineev and Umputun
aabee8312d
update eleventy config
2022-01-18 13:09:30 -06:00
Paul Mineev and Umputun
5d1f021667
update site lockfile
2022-01-18 12:59:17 -06:00
Umputun
8ef308e6a2
Revert "update site lockfile"
...
This reverts commit a5d1be80d7 .
2022-01-18 12:59:03 -06:00
Paul Mineev and Umputun
a5d1be80d7
update site lockfile
2022-01-18 12:41:23 -06:00
Pavel Mineev and Umputun
dd06500573
bump frontend deps
2022-01-18 01:38:30 -06:00
Pavel Mineev and Umputun
249dd5d2b2
move gatsby integration to manuals
2022-01-18 00:10:13 -06:00
Pavel Mineev and Umputun
ac610db7e3
bump site deps
2022-01-18 00:02:27 -06:00
a748e26166
Integrating Remark42 with Gatsby (documentation) ( #1222 )
...
* add sample Gatsby/React component with comments md
* fix typo
* remove semicolons
* add link to gatsby doc in nav.json
* fix typo
* make comment actually a comment in the return
* improve comment syntax
Co-authored-by: Ben <BenRoe@users.noreply.github.com >
2022-01-15 12:04:40 -06:00
Umputun
0521c7024c
attempt to fix ci
...
another fix for ci
fix build tagged images
2022-01-12 12:16:37 -06:00
Ivan Nedzveckij and Umputun
c3b39b41ae
telegram notifications format headers, resolve #1202
2022-01-12 11:40:00 -06:00
Paul Mineev and Umputun
f6772a7253
use double quotes
2021-12-24 04:17:39 -06:00
esvyridov and Umputun
ab0c29cb0c
Add container to a markdown table with overflow-x auto
2021-12-24 04:17:39 -06:00
esvyridov and Umputun
f4ef0a7e78
Add data-testid to preloader and spinner, add test case for profile.spec
2021-12-23 17:44:45 -06:00
esvyridov and Umputun
78e2be8ea4
Show Preloader only on first request for comments in Profile sidebar
2021-12-23 17:44:45 -06:00
Pavel Mineev and Umputun
6ec10c877b
fix lint
2021-12-23 17:44:45 -06:00
Pavel Mineev and Umputun
19121ff0b7
Review for load more comments in profile
...
- compose everything inside fetchComments
- put skip counter in ref and prevent unnecessary rerenders
- got rid of additional handlers for loading
- add spinner as loading indicator for loading of additional comments
2021-12-23 17:44:45 -06:00
esvyridov and Umputun
250f730d5e
Remove unnecessary useMemo from Profile, add ru translation for user.load-more
2021-12-23 17:44:45 -06:00
esvyridov and Umputun
0bf5a91091
Add tests for updated getUserComments func
2021-12-23 17:44:45 -06:00
esvyridov and Umputun
cd391a8b0e
Add Load More button to profile sidebar
2021-12-23 17:44:45 -06:00
esvyridov and Umputun
53f02ab4cd
Remove expandability of menu items from docs site
2021-12-23 12:59:16 -06:00
Dmitry Verkhoturov and Umputun
151913f371
style fixes to the documentation and CLI params description
2021-12-20 13:36:58 -06:00
Dmitry Verkhoturov and Umputun
e341e25f0f
improve notifications documentation (telegram, webhook)
2021-12-20 02:56:38 -06:00
Dmitry Verkhoturov and Umputun
4f672cdec5
fix formatting for telegram reply notifications
2021-12-20 00:07:15 -06:00
Dmitry Verkhoturov and Umputun
11c8bf6228
do not issue deprecation warning on notify.type by default
...
Default configuration for notify.type is "none",
and prior to this change it was issuing the
deprecation warning which was not an intended
behaviour.
2021-12-19 23:32:48 -06:00
Dmitry Verkhoturov and Umputun
f43dfd57e0
clarify telegram channel ID param and documentation
2021-12-19 13:56:16 -06:00
Dmitry Verkhoturov and Umputun
e1d629191e
properly format email documentation
2021-12-19 13:54:49 -06:00
Umputun
27888eb331
switch base images to v1.8.0
2021-12-12 17:31:21 -06:00
Umputun
fcb13e2016
update mod sum for examples
2021-12-07 13:12:34 -06:00
Umputun
5cb7a3f64b
fix mod inconsistency
2021-12-07 13:08:23 -06:00
Umputun
f621555ef4
update auth lib with /status support
...
potential fix for #1188 can use /auth/status
2021-12-07 13:03:12 -06:00
Bal Krishna Jha and Umputun
c8361a3844
Add link of docker-compose file
2021-12-04 13:33:24 -06:00
Yuriy Synyaiev and Umputun
a1050472c4
feat: add cursor pointer for buttons
2021-11-29 03:00:57 -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
esvyridov and Paul Mineev
8e77acd908
Fix broken verified user icon
2021-11-22 14:12:21 -08:00
Timofey and Umputun
f03f99b5b4
update ru locale
2021-11-19 11:19:38 -06:00
adfslslddkds and GitHub
2387518831
Add favicon to site ( #1177 )
...
* add favicon files
* do not add font description to production
* add correct image for favicon
* fix .dockerignore
by @adfslslddkds
2021-11-16 14:16:58 -06:00
witjem and Umputun
473e3328e1
updated comment for rest.SendErrorJSON
2021-11-12 03:32:14 -06:00
Ksinia and Umputun
832f4fd858
Fix typos in frontend code
2021-11-09 02:05:41 -06:00
Dmitry Verkhoturov and Umputun
be3643ed10
use single loop for telegram auth and notify
2021-11-09 02:04:51 -06:00
Dmitry Verkhoturov and Umputun
c751fbaf37
bump project dependencies, go-auth
2021-11-08 11:41:07 -06:00
Dmitry Verkhoturov and Umputun
90ec2ff907
move more parts of Readme to the docs site
2021-11-07 11:58:08 -06:00
Dmitry Verkhoturov and Umputun
19a4eada25
move privacy section of readme to the docs site
2021-11-07 11:53:28 -06:00
Dmitry Verkhoturov and Umputun
c027dcd765
enable telegram notify trough writing bot a message
...
Previously it was done through writing bot first,
clicking a button, copying the token, and pasting
it into the web interface.
The new flow is way simpler: click the link
to write bot a message, then click the "Check"
button in the web UI and you got notifications
enabled.
2021-11-07 11:51:28 -06:00
Dmitry Verkhoturov and Umputun
e1a2374a2d
clarify telegram notification flow
2021-11-04 15:42:04 -05:00
Dmitry Verkhoturov and Umputun
6449b7d92b
improve telegram notifications
...
These changes are designed to ease the transition into
the simplified telegram notifications verification model.
2021-11-01 14:35:37 -05:00
Dmitry Verkhoturov and Umputun
c852ea4834
bump go modules
2021-10-29 11:48:46 -05:00
Umputun
8818faf189
add darwin arm64 bin release
2021-10-28 23:30:45 -05:00
Dmitry Verkhoturov and Umputun
4d03c20be6
fix non-HTTPS site link on the privacy page
2021-10-25 17:29:55 -05:00
Dmitry Verkhoturov and Umputun
b3d28f97ae
fix links in docs, move frontend readme to site
2021-10-25 17:21:24 -05:00
Dmitry Verkhoturov and Umputun
8fc9141f19
extract TelegramBotInfo structure
2021-10-25 16:47:15 -05:00
Dmitry Verkhoturov and Umputun
ca7cbedea4
regenerate mocks and use require.NoError in place of Nil
2021-10-25 16:47:15 -05:00
Dmitry Verkhoturov and Umputun
498073c509
send telegram messages in HTML mode
...
That resolves problem with inability
to properly render message text in the
resulting telegram message due to markdown
escaping trickiness.
2021-10-24 14:05:06 -05:00
Dmitry Verkhoturov and Umputun
f817fd38ed
improve telegram messages escaping
...
Due to the wrong order of `html.UnescapeString`
applying, messages sometimes ended up crippled.
Due to `parse_mode=Markdown` set in Telegram
send message call, `ParseMode` in message
was ignored.
2021-10-24 14:05:06 -05:00
esvyridov and Umputun
ad51e087b1
Add EOF to counter.module.css
2021-10-23 11:39:33 -05:00
esvyridov and Umputun
ad5aed9787
Rename commentsCounts variable to commentsAmount, update condition for showing amount of comments
2021-10-23 11:39:33 -05:00
esvyridov and Umputun
27ee16180b
Add user.my-comments and user.comments keys to it translations
2021-10-23 11:39:33 -05:00
esvyridov and Umputun
f104c3822f
Add tests for comments counter in profile sidebar
2021-10-23 11:39:33 -05:00
esvyridov and Umputun
eb941fc095
Update profile sidebar title, add comments counter next to the title
2021-10-23 11:39:33 -05:00
Dmitry Verkhoturov and Umputun
aa34dc8384
move non-technical part of the readme to site
2021-10-23 11:37:23 -05:00
Dmitry Verkhoturov and Umputun
c222b8a2ba
cut parameters list from readme to site
2021-10-22 01:21:33 -05:00
Dmitry Verkhoturov and Umputun
032f88c61e
move technical part of readme to docs site
2021-10-21 13:06:40 -05:00
Milo and Umputun
3d06a04acd
Updated documentation with new Italian translations
2021-10-19 11:50:22 -05:00
Milo and Umputun
2889cd0b40
Add italian translations
2021-10-19 11:50:22 -05:00
Umputun
edb45a61fc
fix example mod
2021-10-18 23:53:08 -05:00
Umputun
bec8079af9
update bluemonday deps
2021-10-18 23:45:22 -05:00
Dmitry Verkhoturov and Umputun
4793a31075
move previewCommentCtrl to private REST struct
2021-10-16 11:04:03 -05:00
Dmitry Verkhoturov and Umputun
d0d4f06bad
replace deprecated CLI options with current ones
2021-10-16 10:58:35 -05:00
dependabot[bot] and Umputun
7b1de77dc2
Bump tmpl from 1.0.4 to 1.0.5 in /frontend
...
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl ) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases )
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5 )
---
updated-dependencies:
- dependency-name: tmpl
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-10-15 13:38:21 -05:00
Umputun and GitHub
73f7e203b6
Merge pull request #1144
...
patreon auth
2021-10-15 13:36:40 -05:00
romanilchyshyn
df0d4d27fa
patreon auth
2021-10-13 00:30:14 +03:00
Umputun
0c069c1e8f
remove hard breaks from privacy policy
2021-10-10 12:49:02 -05:00
Pavel Mineev and Umputun
24f989109a
restore pricavy policy, add footer
2021-10-10 12:32:42 -05:00
Umputun
106fb1ff38
update security versions
2021-10-09 13:50:50 -05:00
Umputun
6d81eaefd1
revert as dup
2021-10-09 13:10:56 -05:00
Umputun
509d29dea6
add api section to docs
2021-10-09 13:05:03 -05:00
romanilchyshyn and Umputun
e341227cae
import from commento engine
2021-10-06 13:51:31 -05:00
Dmitry Verkhoturov and Umputun
5abeab4008
stop Ticker after use to prevent the memory leak
...
https://github.com/golang/go/wiki/CodeReviewConcurrency#ticker-stop
2021-10-03 16:09:30 -06:00
Umputun
7f575c4dd7
add multiarch make target
2021-09-24 16:17:47 -05:00
dependabot[bot] and Umputun
ab3a6f7fe6
Bump nth-check from 2.0.0 to 2.0.1 in /site
...
Bumps [nth-check](https://github.com/fb55/nth-check ) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/fb55/nth-check/releases )
- [Commits](https://github.com/fb55/nth-check/compare/v2.0.0...v2.0.1 )
---
updated-dependencies:
- dependency-name: nth-check
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-09-21 10:40:00 -05:00
Umputun
198759ca1b
rename jobs to avoid confusions
2021-09-21 03:52:31 -05:00
Pavel Mineev and Umputun
337b4d633e
update site deps to the last versions
2021-09-21 03:48:54 -05:00
dependabot[bot] and Umputun
65479f8207
Bump prismjs from 1.24.0 to 1.25.0 in /site
...
Bumps [prismjs](https://github.com/PrismJS/prism ) from 1.24.0 to 1.25.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.24.0...v1.25.0 )
---
updated-dependencies:
- dependency-name: prismjs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-09-21 02:54:19 -05:00
Umputun
8a640b98f6
fix ci formatting
2021-09-21 01:44:41 -05:00
Umputun
9fbf095225
add multi-arch docker build
2021-09-21 01:43:21 -05:00
Dmitry Verkhoturov and Umputun
3f0ede560c
bump go modules in the project
2021-09-08 11:34:48 -05:00
Pavel Mineev and Umputun
5c59e87f94
bump vulnerable frontend dependencies
2021-09-08 11:32:39 -05:00
Dmitry Verkhoturov and Umputun
2443b9d0a2
prevent data race within TestService_UserReplies
2021-09-04 15:22:02 -05:00
Dmitry Verkhoturov and Umputun
fa6c0e0d5e
don't use "t" inside assert.Eventually
2021-09-04 13:00:25 -05:00
Pavel Mineev and Umputun
987a066a80
add more space between error message and retry button
2021-09-04 12:45:07 -05:00
esvyridov and Umputun
c0dc64f0a0
Update user profile UI: move loading and error to center
2021-09-04 12:45:07 -05:00
esvyridov and Umputun
3d3162de41
Update UI for user comments sidebar
2021-09-04 12:45:07 -05:00
Dmitry Verkhoturov and Umputun
bb3c86281c
make TestService_UserReplies more robust
...
It flaps (see #380 ), and with this change, it will
have more time to get the expected output in
the flaky GitHub Actions environment.
2021-09-04 12:44:42 -05:00
Umputun
91441d1160
add controversy and imported to untrusted list
2021-09-01 14:21:52 -05:00
Umputun
72bdf1b176
fix quoting issue
2021-09-01 14:18:18 -05:00
Umputun
e90dae2b94
sanitize Title on find level as well
2021-09-01 14:14:12 -05:00
Umputun
a7b44eee1a
sanitize PostTitle
2021-09-01 13:56:06 -05:00
Umputun
8754add874
add skip to user's comment rest request #1085
2021-08-29 12:45:35 -05:00
bakurin and Umputun
be46e849a4
Webhook destination for notifications
2021-08-28 12:50:36 -05:00
Sergii Gatezh and Umputun
9f6c766919
Apply feedback
2021-08-20 11:22:31 -05:00
6f3fa4084c
Update frontend/app/locales/ua.json
...
Co-authored-by: Eugene <ievgenteslia@gmail.com >
2021-08-20 11:22:31 -05:00
de0656d6a9
Update frontend/app/locales/ua.json
...
Co-authored-by: Eugene <ievgenteslia@gmail.com >
2021-08-20 11:22:31 -05:00
4556133371
Update frontend/app/locales/ua.json
...
Co-authored-by: Eugene <ievgenteslia@gmail.com >
2021-08-20 11:22:31 -05:00
f92b49d3d0
Update frontend/app/locales/ua.json
...
Co-authored-by: Eugene <ievgenteslia@gmail.com >
2021-08-20 11:22:31 -05:00
Sergii Gatezh and Umputun
02f671b891
Apply feedback
2021-08-20 11:22:31 -05:00
5c083e7e0a
Update frontend/app/locales/ua.json
...
Co-authored-by: Eugene <ievgenteslia@gmail.com >
2021-08-20 11:22:31 -05:00
Sergii Gatezh and Umputun
61230646b3
Update Ukrainian locale
2021-08-20 11:22:31 -05:00
Pavel Mineev and Umputun
5718a699cf
remove unused const, move single used var to chunk
2021-08-19 12:55:56 -05:00
Dmitry Verkhoturov and Umputun
fd5df39fe2
bump backend auth module to fix telegram auth
2021-08-17 16:33:53 -05:00
RikoDEV and Umputun
f0ae4b6de8
Update Polish localization
2021-08-15 14:24:42 -05:00
Umputun and GitHub
de4ab97c9a
Merge pull request #1101 from umputun/paskal/email_doc
...
clarify user and admin email instructions
2021-08-14 14:19:33 -05:00
Dmitry Verkhoturov and GitHub
58409ae05c
clarify user and admin email instructions
2021-08-14 12:41:55 +02:00
Umputun
193b107590
add remote site deployment from master
2021-08-11 01:45:39 -05:00
Umputun and GitHub
059d6f0455
Merge pull request #1098 from umputun/dependabot/npm_and_yarn/frontend/url-parse-1.5.3
2021-08-10 18:53:16 -05:00
dependabot[bot] and GitHub
6f70823df8
Bump url-parse from 1.5.1 to 1.5.3 in /frontend
...
Bumps [url-parse](https://github.com/unshiftio/url-parse ) from 1.5.1 to 1.5.3.
- [Release notes](https://github.com/unshiftio/url-parse/releases )
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.1...1.5.3 )
---
updated-dependencies:
- dependency-name: url-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-08-10 23:52:56 +00:00
Umputun and GitHub
7945240436
Merge pull request #1097 from umputun/dependabot/npm_and_yarn/frontend/path-parse-1.0.7
2021-08-10 18:51:28 -05:00
dependabot[bot] and GitHub
29ff5aee94
Bump path-parse from 1.0.6 to 1.0.7 in /frontend
...
Bumps [path-parse](https://github.com/jbgutierrez/path-parse ) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases )
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7 )
---
updated-dependencies:
- dependency-name: path-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-08-10 23:50:46 +00:00
Umputun and GitHub
f5ffb208b1
Merge pull request #1096 from umputun/site-fb-auth-manual
...
docs: edit facebook oauth doc
2021-08-10 02:44:26 -05:00
Pavel Mineev
f2c13d3126
edit facebook oauth manual
2021-08-10 10:36:21 +03:00
Umputun
3f7fbb4b31
rename site build
2021-08-09 19:45:43 -05:00
Umputun
b769fe45bd
change nginx-le to reproxy
2021-08-09 19:43:13 -05:00
Umputun and GitHub
ff9359aa14
Merge pull request #1086 from umputun/site-link-to-releases
...
set releases link on version in header
2021-08-09 16:25:03 -05:00
Pavel Mineev and Umputun
184ac7efb6
fix title on icon button
2021-08-09 11:10:19 -05:00
Pavel Mineev and Umputun
79386a8b14
move docs about third party soft in manual section
2021-08-09 11:09:33 -05:00
Pavel Mineev and Umputun
712728f554
update license year
2021-08-09 11:08:42 -05:00
Pavel Mineev and GitHub
67ab44dd82
Merge branch 'master' into site-link-to-releases
2021-08-09 10:39:28 +03:00
Pavel Mineev and Umputun
5668614945
fix link to demo page in header
2021-08-09 02:04:46 -05:00
Pavel Mineev
57af9e7a66
set releases link on version in header
2021-08-09 00:49:30 +03:00
Pavel Mineev and Umputun
7f0a01a6ca
fix demo page locator
2021-08-08 15:50:23 -05:00
Umputun
878d5c6cf3
change CMD to RUN in the build step
2021-08-08 15:21:21 -05:00
Umputun
cc686557ef
typo
2021-08-08 15:16:12 -05:00
Umputun
a752f14ecb
no-cache for site ci
2021-08-08 15:14:47 -05:00
Umputun
7b0da93f64
add ls to ci build step
2021-08-08 15:04:32 -05:00
Umputun
8729ff81cd
missing working directory
2021-08-08 14:59:46 -05:00
Umputun
f7d099d8fc
typo
2021-08-08 14:48:54 -05:00
Umputun
94f6ff0aef
add ci build for site
2021-08-08 14:48:13 -05:00
Pavel Mineev and Umputun
cac1eb2601
remove unused code
2021-08-08 14:25:10 -05:00
Pavel Mineev and Umputun
3216641cbc
unify icons
2021-08-08 14:25:10 -05:00
Pavel Mineev and Umputun
3314ed30a8
add sort-picker
2021-08-08 14:25:10 -05:00
Pavel Mineev and Umputun
e5e9d5a10e
format
2021-08-08 14:25:10 -05:00
Pavel Mineev and Umputun
76244fca88
remove unused vars
2021-08-08 14:25:10 -05:00
Pavel Mineev and Umputun
a733733e69
update sort-picker
2021-08-08 14:25:10 -05:00
Pavel Mineev and Umputun
b47174af4a
add tests for sort picker and update select tests
2021-08-08 14:25:10 -05:00
Pavel Mineev and Umputun
718ad691c0
add tests for select
2021-08-08 14:25:10 -05:00
Pavel Mineev and Umputun
7317d46699
update locales
2021-08-08 14:25:10 -05:00
Pavel Mineev and Umputun
a04204b3d5
move sort picker below comment form
2021-08-08 14:25:10 -05:00
Pavel Mineev and Umputun
be41016266
fix: open own profile from comment
2021-08-08 14:25:10 -05:00
Pavel Mineev and Umputun
c6fcb06086
fix typo
2021-08-08 14:25:10 -05:00
Pavel Mineev and Umputun
484e547c79
fix spinner
2021-08-08 14:25:10 -05:00
Pavel Mineev and Umputun
3a20bfcbb2
profile popup
2021-08-08 14:25:10 -05:00
Umputun
628dd898b6
change site docker build to proper two-stage with repoxy to serve content
2021-08-08 13:55:10 -05:00
Dmitry Verkhoturov and Umputun
9df8de511a
Run telegram auth goroutine
...
Fix for https://github.com/go-pkgz/auth/issues/90
2021-08-06 16:56:07 -05:00
Dmitry Verkhoturov and Umputun
7b28cb9fa9
fix typo in oauth
2021-08-05 18:14:50 -05:00
Pavel Mineev and Umputun
a45c1d1994
update docs nav definition
2021-08-05 12:57:43 -05:00
Pavel Mineev and Umputun
ad1f95dc74
format md files
...
- use doublequote in yaml
- right indentation in yaml
- format missformatted places
2021-08-05 12:22:49 -05:00
Pavel Mineev and Umputun
c5e3ea898d
fix images
2021-08-05 03:23:51 -05:00
Pavel Mineev and Umputun
8d33265487
remove quote style because it isn't supported
2021-08-03 03:51:22 -05:00
Pavel Mineev and Umputun
36840ed240
double quotes in yml
2021-08-03 03:22:27 -05:00
Pavel Mineev and Umputun
b27a09fb3f
Disable injection of last-comments.css in dev
...
...because it handled by webpack
2021-08-01 16:08:19 -05:00
Pavel Mineev and Umputun
2285bae782
add eof
2021-08-01 12:26:40 -05:00
Pavel Mineev and Umputun
0352d047fa
use 2 space indentation for yml
2021-08-01 12:26:40 -05:00
Pavel Mineev and Umputun
d7936a6a29
optimize css
2021-07-29 10:35:13 -05:00
Dmitry Verkhoturov and Umputun
0efc04e5cd
fix deprecated flag, improve tests
2021-07-27 11:45:42 -05:00
Umputun
4c2f2aa097
change go.mod version to 1.16, change ci to 1.16
2021-07-27 04:25:27 -05:00
Pavel Mineev and Umputun
4d1d32016e
fix typo
2021-07-27 04:22:40 -05:00
Pavel Mineev and Umputun
deb7f7c209
use spaces for indentation in markdown
...
- adds global editorconfig (supports in intellij by default and with plugin in vscode)
- fixes prettier config
2021-07-27 04:22:40 -05:00
Pavel Mineev and Umputun
6b9770b8b6
fix placeholder
2021-07-27 04:22:40 -05:00
Pavel Mineev and Umputun
07b6454b79
add docs from readme on the site
2021-07-27 04:22:40 -05:00
Umputun
5abdaaf793
clarify image proxy description
2021-07-26 21:25:22 -05:00
Umputun
b66c94e002
migrate jwt lib to maintained fork and updated (the same way) go-pkgz/auth
2021-07-26 21:06:12 -05:00
Pavel Moiseenko and Umputun
2d32765453
Update information in index.md
...
Synchronize the project description with the description from the repository.
2021-07-26 11:01:55 -05:00
Dmitry Verkhoturov and Umputun
2c8556ff2f
consistent formatting for markdown files
2021-07-25 13:28:08 -05:00
Dmitry Verkhoturov and Umputun
ea644a1a31
add telegram auth backend support
2021-07-25 13:16:50 -05:00
Pavel Moiseenko and Umputun
50b3776d2a
Improve README
...
* Update links
* Update table of contents
* Improve the design
* Improve formatting
* Fix abbreviations and proper names
* Fix tables
* Fix indentation in code snippets
* Fix typos
2021-07-25 13:08:34 -05:00
Dmitry Verkhoturov and Umputun
f093d6a07a
don't run CI pipelines on markdown file changes
2021-07-25 13:06:30 -05:00
Dmitry Verkhoturov and Umputun
c15a280181
don't run CI pipelines on frontend Readme file change
2021-07-25 12:58:48 -05:00
Umputun
ad54a9450b
fix parent tg formatting
2021-07-04 00:30:11 -05:00
Umputun
b8050f817c
quote parrent comment in tg notif
2021-07-04 00:03:23 -05:00
Umputun
70245504f5
restore link to original in tg notif
2021-07-03 23:52:20 -05:00
Umputun
05a85b6bfd
reformat tg message to make it readable again
2021-07-03 23:48:00 -05:00
Dmitry Verkhoturov and Umputun
83ae758573
address review commends
2021-07-03 14:57:09 -05:00
Dmitry Verkhoturov and Umputun
200733ed03
add user telegram notifications
2021-07-03 14:57:09 -05:00
dependabot[bot] and Umputun
7f081e1d2c
Bump prismjs from 1.23.0 to 1.24.0 in /site
...
Bumps [prismjs](https://github.com/PrismJS/prism ) from 1.23.0 to 1.24.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.23.0...v1.24.0 )
---
updated-dependencies:
- dependency-name: prismjs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-06-28 16:05:01 -05:00
Dmitry Verkhoturov and Umputun
936ccd825f
Move existing documentation to the new site
2021-06-27 14:53:20 -05:00
Pavel Mineev and Umputun
68aba33765
fix typo
2021-06-16 01:27:10 -05:00
Pavel Mineev and Umputun
5aa24f95fc
fix more comments button
2021-06-16 01:17:20 -05:00
Dmitry Verkhoturov and Umputun
2b15e9291f
fix typos
2021-06-15 02:02:48 -05:00
Namkhai B and Umputun
98bfc7f5f5
Don't set X-XSRF-TOKEN when the user isn't logged in
...
An HTTP header cannot be empty, and although some webservers allow this
(nginx, Apache), others answer 400 Bad Request (lighttpd), preventing
the widget from loading.
2021-06-15 02:01:57 -05:00
Dmitry Verkhoturov and Umputun
1847184960
clarify telegram notifications code and text
2021-06-13 19:07:56 -05:00
Dmitry Verkhoturov and Umputun
ef6979e7d6
improve email notifications text
2021-06-13 19:07:56 -05:00
Dmitry Verkhoturov and Umputun
b96f29aa26
add Intellij http-client.env.json to gitignore
2021-06-13 19:07:56 -05:00
dfcf728e6f
Site ( #1049 )
...
by @akellbl4
* create infrastructure for site
* wip
* fix docker build and add readme
* add docker-compose as a build and a run method
* rename compose file yaml -> yml
* add `src` as volume for watching changes
* update configs
* update README
* add padding at the end of the pages
* move demo settings in config
* fetch latest release from github
* update docs navigation
- add sections
- redirect from root of the section to first doc
- nice styles for navigation
- add brand colors
* cache github data from first load
* add redirects and fix link to docs
* fix docs nav styles
* add installation page placeholder
* fix demo
* add 404
* add dark theme, add theme switcher, remove unused files
* fix dark theme on main page
* fix dark theme background
* fix node version
* change installation docs
* add note block
* minor fixes
* add code highlighting styles
* fixes
* fixes
* mobile navigation, fix code highlighting colors
* fix dev server
* fix fetching error
* fix path to edit
Co-authored-by: Pavel Mineev <pavel@mineev.me >
Co-authored-by: Dmitry Verkhoturov <paskal.07@gmail.com >
2021-06-13 18:44:49 -05:00
Stanislas and Umputun
5ce89c6c29
docs(import): clarify import path for wordpress
2021-06-13 17:40:01 -05:00
Dmitry Verkhoturov and Umputun
de6e541604
fix telegram token server setting
2021-06-13 15:47:52 -05:00
Dmitry Verkhoturov and Umputun
fd4c6ceb18
add UserDetailTelegram support
2021-06-13 13:18:33 -05:00
Dmitry Verkhoturov and Umputun
d6167980f4
remove ability to set telegram API, clarify params
2021-06-13 01:49:15 -05:00
Dmitry Verkhoturov and Umputun
ea15b28bf6
clarification of notify comments and code
2021-06-12 12:59:26 -05:00
Pavel Mineev and Umputun
4f0002abdb
chage iframe size if any element is changed
2021-06-09 13:09:57 -05:00
dependabot[bot] and Umputun
be60c7a481
Bump trim-newlines from 3.0.0 to 3.0.1 in /frontend
...
Bumps [trim-newlines](https://github.com/sindresorhus/trim-newlines ) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/sindresorhus/trim-newlines/releases )
- [Commits](https://github.com/sindresorhus/trim-newlines/commits )
---
updated-dependencies:
- dependency-name: trim-newlines
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-06-09 13:03:36 -05:00
dependabot[bot] and Umputun
c22d371157
Bump normalize-url from 4.5.0 to 4.5.1 in /frontend
...
Bumps [normalize-url](https://github.com/sindresorhus/normalize-url ) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/sindresorhus/normalize-url/releases )
- [Commits](https://github.com/sindresorhus/normalize-url/commits )
---
updated-dependencies:
- dependency-name: normalize-url
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-06-09 11:21:29 -05:00
dependabot[bot] and Umputun
91deae576b
Bump ws from 6.2.1 to 6.2.2 in /frontend
...
Bumps [ws](https://github.com/websockets/ws ) from 6.2.1 to 6.2.2.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/commits )
---
updated-dependencies:
- dependency-name: ws
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-06-04 21:10:23 -05:00
Pavel Mineev and Umputun
3068dfe637
post messages from iframe
...
- fix user info opening
- remove iframe height checks by interval
- update height by mutation observer events
- rename events
2021-06-03 00:56:16 -05:00
Dmitry Verkhoturov and Umputun
c0b392ad4c
separate user and admin notifications
...
The current state is a mess of user and admin
notifications, which will become worse after
implementing the new user notification methods
like a telegram.
This change makes things simpler
for the remark42 users.
2021-06-03 00:30:53 -05:00
Pavel Mineev and Umputun
97934e23f9
fix tests
2021-05-30 12:50:37 -05:00
Pavel Mineev and Umputun
79eab8ccde
fix copy message with styles
2021-05-30 12:50:37 -05:00
Dmitry Verkhoturov and Umputun
c6e2c38e34
fix email templates path in tests
...
Before:
failed to make notify service,
failed to create email notification destination:
can't set templates:
can't read message template:
open email_reply.html.tmpl:
no such file or directory
After:
make notify, types=[email]
create notifier service, queue size=100, destinations=1
2021-05-27 12:23:12 -05:00
Vladimir Rusinov and Umputun
93a75d698e
Add example of Helm-less Kubernetes setup
2021-05-27 11:36:52 -05:00
dependabot[bot] and Umputun
7b580cec15
Bump dns-packet from 1.3.1 to 1.3.4 in /frontend
...
Bumps [dns-packet](https://github.com/mafintosh/dns-packet ) from 1.3.1 to 1.3.4.
- [Release notes](https://github.com/mafintosh/dns-packet/releases )
- [Changelog](https://github.com/mafintosh/dns-packet/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mafintosh/dns-packet/compare/v1.3.1...v1.3.4 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-05-27 11:08:24 -05:00
Dmitry Verkhoturov and Umputun
1cff4eb847
clarify deprecation messages
...
Turned out we don't really want to break
users configurations, so deprecated values
stay with us at least before 2.0 is released.
2021-05-25 14:42:29 -05:00
Dmitry Verkhoturov and Umputun
b13fa228b6
start using the provided timeout in the telegram notify
2021-05-25 13:29:19 -05:00
dependabot[bot] and Umputun
8d8c6ee93d
Bump browserslist from 4.16.0 to 4.16.6 in /frontend
...
Bumps [browserslist](https://github.com/browserslist/browserslist ) from 4.16.0 to 4.16.6.
- [Release notes](https://github.com/browserslist/browserslist/releases )
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md )
- [Commits](https://github.com/browserslist/browserslist/compare/4.16.0...4.16.6 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-05-24 22:45:46 -05:00
Dmitry Verkhoturov and Umputun
9fa23cc537
reset image cleanup TTL on Submit
...
Also:
- make commitTTL equal to EditDuration,
so that image is committed to permanent
storage after comment can no longer be edited
- move cleanupTTL to Cleanup function,
as it's not used elsewhere in the code
- add variables to some tests sleeps, so that
instead of being magic numbers they would
rely on timers of structures they suppose
to wait for
2021-05-24 17:33:59 -05:00
Dmitry Verkhoturov and Umputun
86b2648d66
reset image cleanup timer on comment preview
2021-05-24 17:33:59 -05:00
Dmitry Verkhoturov and Umputun
0e550e83fa
add method to renew image cleanup timer
2021-05-24 17:33:59 -05:00
Dmitry Verkhoturov and Umputun
82387729a4
make docker init script chown command verbose
2021-05-24 17:16:53 -05:00
Dmitry Verkhoturov and Umputun
4f2db3cdf6
cover all auth providers with tests, clean up env
2021-05-24 17:15:58 -05:00
Dmitry Verkhoturov and Umputun
6a54ed86c7
move telegram token and timeout to a separate CLI section
...
This simplifies token and timeout reuse for
the notify module (used now) and for
the auth module later (not yet in the code).
SMTP credentials are already set up that way.
2021-05-24 12:15:03 -05:00
Umputun
b856b6d3af
add reproxy setup manual
2021-05-20 18:47:45 -05:00
Dmitry Verkhoturov and Umputun
fcaf568fcc
update wordpress instructions, fix #871
2021-05-20 13:30:09 -05:00
Umputun
3a8750bd58
adopt deployment destination
2021-05-20 10:45:59 -05:00
Yuriy Karpov and Umputun
6f10a5a4a3
fix mobile navigation to comment for hidden comments
...
issues-82
2021-05-19 03:59:25 -05:00
Dmitry Verkhoturov and Umputun
29ac37c8ea
copy init script earlier than we change /srv owner
...
That would prevent entrypoint script
(https://github.com/umputun/baseimage/blob/master/base.alpine/files/init.sh )
failure on init.sh while running as "app" and not "root"
2021-05-18 13:56:43 -05:00
Pavel Mineev and Umputun
63ae392927
fix oauth text color
2021-05-18 13:29:33 -05:00
Dmitry Verkhoturov and Umputun
4d011aa5f3
remove error return from ExtractPictures
...
That function returns an error in a never
expected condition, and that error would be
logged message on the caller side:
none of the callers handles it.
That change hides that error from the caller
so that function would have a signature that
better fit what it does and how it behaves.
2021-05-17 21:31:56 -05:00
Pavel Mineev and Umputun
75196d185d
avatar fixes after review
2021-05-17 21:29:46 -05:00
Pavel Mineev and Umputun
93b29e934b
renew avatar
2021-05-17 15:14:35 -05:00
Dmitry Verkhoturov and Umputun
f9eb39db03
make commitTTL equal to EditDuration
...
So that image is committed to permanent
storage after comment can no longer be edited.
Also, move cleanupTTL to Cleanup function,
as it's not used elsewhere in the code.
2021-05-17 01:55:05 -05:00
Dmitry Verkhoturov and Umputun
df547cc815
less magic consonants in tests
2021-05-17 01:55:05 -05:00
Dmitry Verkhoturov and Umputun
ef1dd8162b
make consistent returns in bolt_store
2021-05-17 01:55:05 -05:00
Dmitry Verkhoturov and Umputun
717c4aa638
rename variables according to golangci-lint rec.
2021-05-17 01:55:05 -05:00
cbdf5f1e47
Fix text
...
Co-authored-by: Dmitry Verkhoturov <paskal.07@gmail.com >
2021-05-16 16:19:44 -05:00
Pavel Mineev and Umputun
ba5c74a069
Add a new error message and correct another one
2021-05-16 16:19:44 -05:00
Dmitry Verkhoturov and Umputun
fe716b0a71
validate image existence before post or preview
2021-05-16 13:50:09 -05:00
Elephmoon and Umputun
992b843cf5
postMessage without serialization
2021-05-16 13:41:50 -05:00
Dmitry Verkhoturov and Umputun
d1ef3ff247
fix HTTP response body close in proxy/image.downloadImage
2021-05-13 18:06:20 -05:00
Dmitry Verkhoturov and Umputun
63220f330b
close response body, add lint to check it
2021-05-13 17:58:59 -05:00
Umputun
57fc382956
add ability to select listening address #1000
2021-05-13 14:46:52 -05:00
Dmitry Verkhoturov and Umputun
c318e2068e
bump baseimage:app to be consistent with :buildgo
2021-05-13 11:22:16 -05:00
Umputun
470956bbc8
no-cache and pull to artifact build make #994
2021-05-10 19:22:56 -05:00
Umputun and GitHub
52fbac904e
Admin edit ( #997 )
...
* allow admin edits without restrictions
* lint: err reassignment
* lint: suppress false positive
* add admin-edit to readme
* expose admin_edit to config controller
2021-05-10 11:36:02 -05:00
dependabot[bot] and Umputun
6d4be02dab
Bump hosted-git-info from 2.8.8 to 2.8.9 in /frontend
...
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info ) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases )
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md )
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-05-10 02:59:57 -05:00
Dmitry Verkhoturov and Umputun
19ba43b843
dockerfile: remove dead code, bump buildgo
2021-05-07 23:27:58 -05:00
Umputun
c055749dae
revendor to auth:master to provide fix for 404 avatar
2021-05-07 20:00:24 -05:00
Dmitry Verkhoturov and Umputun
4a2ae04571
replace deprecated golangci-lint check, fix goleak reports
2021-05-07 16:09:28 -05:00
Umputun
eb7b34b6b2
add related projects section
2021-05-06 19:27:55 -05:00
Umputun
5bdd1a5c72
lint: remove unneeded lambda
2021-05-06 19:14:07 -05:00
Umputun and GitHub
9838aaac70
Disqus fix ( #989 )
2021-05-06 18:03:15 -05:00
Pavel Mineev and Umputun
048712bcee
remove csso
2021-05-06 16:10:25 -05:00
Pavel Mineev and Umputun
cb40bae89b
minify css bundle
2021-05-06 16:10:25 -05:00
Pavel Mineev and Umputun
d8058c6576
use named imports
2021-05-06 15:55:46 -05:00
Pavel Mineev and Umputun
123cd53c09
fix linter
2021-05-06 15:39:57 -05:00
Pavel Mineev and Umputun
317d932b1f
latest versions
2021-05-06 15:39:57 -05:00
Pavel Mineev and Umputun
58d8fe0f1c
fix linter errors
2021-05-06 15:39:57 -05:00
Pavel Mineev and Umputun
3c6df9e17e
bump
2021-05-06 15:39:57 -05:00
Pavel Mineev and Umputun
b3beca1559
make classnames short
2021-05-06 15:16:39 -05:00
Pavel Mineev and Umputun
1ee571a7f5
remove @types/classnames
2021-05-06 15:11:36 -05:00
Pavel Mineev and Umputun
9f98b46351
replace classnames to faster and smaller package
2021-05-06 15:11:36 -05:00
Pavel Mineev and Umputun
928be7d688
add type module while load modern js bundle
2021-05-06 15:08:20 -05:00
Pavel Mineev and Umputun
5782495b8e
add new error to locales
2021-05-06 15:08:03 -05:00
Pavel Mineev and Umputun
3ad7ba2c09
make form available after failed commit sending
2021-05-06 15:08:03 -05:00
Yuriy Karpov and Umputun
4e0a4e52bd
add the ability to configure the 'simple_view' parameter from the client,
...
the parameter is not required, but if set, it will overwrite the one that came from the backend
issues-916
2021-05-06 11:08:15 -05:00
Dmitry Verkhoturov and Umputun
e841bc27fb
clarify --secret usage based on #861
2021-05-05 02:39:32 -05:00
Umputun
d361564815
fix user view in find for deleted comments #972
2021-05-05 01:15:03 -05:00
Umputun
d3bd966df8
switch version detection to /script/version.sh in artifact release
2021-05-04 18:28:49 -05:00
Umputun
82f8f6c93e
drop branch image builds
2021-05-04 18:05:11 -05:00
Pavel Mineev and Umputun
f4b6d73a4a
use remark_config.host for oauth links
2021-05-04 03:55:52 -05:00
konstantin krivlenia and Umputun
488518cd72
update be translation
2021-05-04 03:55:29 -05:00
Umputun
692a9bdc01
rename release target
2021-05-03 23:36:03 -05:00
Pavel Mineev and Umputun
d1405ac479
regenerate i18n
2021-05-03 14:00:14 -05:00
Dmitry K and Umputun
01359a4fa9
Add translations: Japanese, Korean, Brazilian Portuguese
...
Add translations for Japanese, Korean, Brazilian Portuguese
note: This PR requires generating the code to enable them properly as described in [How to add a new translation](https://remark42.com/docs/latest/translation/#how-to-add-a-new-translation )
2021-05-03 14:00:14 -05:00
Dmitry K and Umputun
4bae705f5c
Delete ko.json
2021-05-03 13:47:14 -05:00
Dmitry K and Umputun
ef089df96c
Delete ja.json
2021-05-03 13:47:14 -05:00
Dmitry K and Umputun
b066c929fa
Delete bp.json
2021-05-03 13:47:14 -05:00
Dmitry K and Umputun
4dd04d95ee
Update Japanese, Brazilian Portuguese
2021-05-03 13:47:14 -05:00
Dmitry K and Umputun
f4e5ee06ab
Update translations
...
Update translations for
- Brazilian Portuguese (`bp.json`) // Not used at the moment, would be nice to support it in [loadLocale.ts](https://github.com/umputun/remark42/blob/master/frontend/app/utils/loadLocale.ts )
- German,
- Spanish,
- French,
- Japanese,
- Korean,
- Russian
- Turkish
- Chinese (Simplified)
2021-05-03 13:47:14 -05:00
Pavel Mineev
b748771fed
allow spaces in username with trim
2021-05-02 18:55:07 +03:00
Umputun
a4f2542924
allow admin email login with restricted names #964
2021-04-30 12:00:24 -05:00
Pavel Mineev and Umputun
befb079207
fix default avatar
...
- fix import of default avatar
- optimaze ghost svg
- add tests
- refactor avatar-icon
2021-04-28 14:13:02 -05:00
Umputun
627ae58ecc
Merge remote-tracking branch 'origin/master'
2021-04-27 00:31:18 -05:00
Umputun and GitHub
d5246c9689
Deps bump ( #956 )
...
* remove redundant sprintf
* bump many deps
* missing vendors
2021-04-27 00:30:38 -05:00
Umputun
abd628e1dc
remove redundant sprintf
2021-04-26 23:59:39 -05:00
Umputun
52084e0510
update bluemonday and related deps
2021-04-23 03:44:17 -05:00
ronan and Umputun
df4b0c80ac
Support for Slack notifications
...
Slack notifications: remove debug log
Slack notifications: code lint
Slack notifications: code lint
Slack notifications: code lint
fix according to comments
2021-04-21 12:56:14 -05:00
Pavel Mineev and Umputun
c9841b81e4
move back css for last comments
2021-04-18 17:18:34 -05:00
Pavel Mineev and Umputun
dfed7e16ba
Update README.md for v1.7
2021-04-16 17:49:49 -05:00
Pavel Mineev and Umputun
6cf2849e70
rewrite tests in recommended way and add more cases coverage
2021-04-09 11:07:12 -05:00
Pavel Mineev and Umputun
c9ce2bbf8c
use named functions instead of arrows
2021-04-09 11:07:12 -05:00
Pavel Mineev and Umputun
adb443571f
Fix form footer
2021-04-09 11:07:12 -05:00
Pavel Mineev and Umputun
8cbdf36bdd
Fix error message on token tab on login
2021-04-09 11:07:12 -05:00
aepetelin and Umputun
65fca4c7e5
change parseQuery implementation to URLSearchParams. I use .forEach() because not all browsers support .entries()
2021-04-06 02:15:53 -05:00
aepetelin and Umputun
41e07c2238
fix link to doc/latest/translation.md in Frontend guide, was 404
2021-04-05 14:54:44 -05:00
aepetelin and Umputun
2f03f11c7e
fix link to Frontend guide in README
2021-04-05 11:04:23 -05:00
Umputun and GitHub
7153af90d0
Create SECURITY.md
2021-04-02 20:10:59 -05:00
Umputun
961b8aacd9
update bluemonday to v1.0.5 to fix https://github.com/microcosm-cc/bluemonday/issues/111
2021-04-02 19:41:16 -05:00
johnwii and Umputun
8ef87f400a
#add auth source title international language support
...
with zh.json and en.json.
2021-03-30 11:13:50 -05:00
Umputun and GitHub
0b13e8a8d2
update backend deps from go-pkgz ( #935 )
2021-03-29 16:24:59 -05:00
Dmitry Verkhoturov and Umputun
5fabbe33d9
make flapping notify drops test less sensitive
2021-03-29 12:48:37 -05:00
William Gerald Blondel and Umputun
70833feb50
Revert default locale to en
2021-03-29 12:45:44 -05:00
William Gerald Blondel and Umputun
3a62e9e93b
Add French translation (fr-FR)
2021-03-29 12:45:44 -05:00
Dmitry Verkhoturov and Umputun
8a3f434bc1
fix flapping notify drops test, clarify debug logs
2021-03-28 14:06:58 -05:00
Umputun
aa14069f8b
lint: fix func comment
2021-03-26 16:05:41 -05:00
Umputun
ddbceb5375
post-sanitize location's url in case if stored already #927
...
this is done via service.alterComment the same way as we handle
leftovers from prev issues with results stored already
2021-03-26 16:00:50 -05:00
Umputun
e72f594134
rollback
2021-03-26 15:45:49 -05:00
Umputun
47fee90c60
post-sanitize location's url in case if stored already #927
2021-03-26 15:37:53 -05:00
Umputun
5ed4c7100c
shorter match condition
2021-03-26 15:06:39 -05:00
Umputun
e762ea7b91
sanitize both locator.URL and user.Picture
2021-03-26 15:06:39 -05:00
Umputun
6f35928396
update bluemonday version
2021-03-26 15:06:39 -05:00
Umputun
d624526473
adjust email test to be less go version-specific
2021-03-26 12:51:25 -05:00
William Gerald Blondel and Umputun
2238ec88f0
NPM scripts now work on Windows systems
2021-03-26 02:20:54 -05:00
Pavel Mineev and Umputun
e7950fcb22
Fix saving comment to LS
...
* save comment after image upload
* do not affect error messages by save to LS mechanism
* check if data in LS in empty
2021-03-22 03:42:03 -05:00
Michael Picht and Umputun
4254169636
corrected path in docker command to import comments from disqus
...
Signed-off-by: Michael Picht <mipi@fsfe.org >
2021-03-18 00:47:49 -05:00
Pavel Mineev and Umputun
682758a58e
resize only comments iframe, prevent to resize iframe by comments info
2021-03-14 04:16:33 -05:00
Pavel Mineev and Umputun
4325a3c249
Fix dropdown opening
...
* change iframe height on content change
* change iframe size on dropdown open
2021-03-13 12:41:25 -06:00
Pavel Mineev and Umputun
78c582493c
don't add margin on user info iframe
2021-03-13 12:40:27 -06:00
Pavel Mineev and Umputun
ea4636afbb
Fix iframe folding
2021-03-13 12:40:27 -06:00
Pavel Mineev and Umputun
345ee88333
add testing-library/jest-dom, fix waitfor
2021-03-04 12:02:46 -06:00
Pavel Mineev and Umputun
4bea9f1d37
new-auth: increase limit for remark.css
2021-03-04 12:02:46 -06:00
Pavel Mineev and Umputun
f922a51a28
new-auth: add tests
...
* use testing-libruaby for new tests
* tests for auth module
* add svg stub
* add global stub for `useIntl`
* add global stub for `common/settings`
2021-03-04 12:02:46 -06:00
Pavel Mineev and Umputun
63218ac51c
new-auth
2021-03-04 12:02:46 -06:00
Umputun and GitHub
553bcf2fd5
Merge pull request #892 from umputun/fetch-mock
...
Make fetch mock global
2021-02-24 12:56:55 -06:00
Umputun and GitHub
71be684739
Merge pull request #894 from umputun/bump-deps
...
bump deps
2021-02-24 12:56:39 -06:00
Pavel Mineev and GitHub
bd6ecedacb
Merge branch 'master' into bump-deps
2021-02-24 18:33:00 +00:00
Pavel Mineev and GitHub
a2ecfa65d0
Merge branch 'master' into fetch-mock
2021-02-24 18:29:37 +00:00
Pavel Mineev and Umputun
ec62b1a572
refac textarea autosize
2021-02-24 12:27:32 -06:00
Pavel Mineev and Umputun
23b5a0c6bb
fix webpack config
2021-02-24 12:26:37 -06:00
Pavel Mineev and Umputun
719b07ec6c
remove unused hook
2021-02-24 12:26:13 -06:00
Pavel Mineev
0a4c8dbe45
clear localstorage-mock after each test
2021-02-24 14:56:22 +00:00
Pavel Mineev
982226e48b
increase size limit after updating deps
2021-02-24 17:44:45 +03:00
Pavel Mineev
313e34a0b5
bump deps
...
- remove additional prettier presets because they was included inside default preset
2021-02-24 17:42:02 +03:00
Pavel Mineev and Umputun
4a43092fb5
ignore autogenerated loadLocale.ts in coverage report
2021-02-22 02:13:03 -06:00
Pavel Mineev
b184bb5b7b
Make fetch mock global
2021-02-22 00:15:31 +03:00
Umputun
d6019e55b0
update limiter deps
2021-02-21 14:04:21 -06:00
VeselovAlex and Umputun
5ec871fd37
Fix NPE when sending message to detached frame
2021-02-21 13:51:02 -06:00
Pavel Mineev and Umputun
111b7a86eb
change fetcher for user delete comment action
2021-02-21 13:32:57 -06:00
Aleksandr Veselov and GitHub
a38fd1fdc3
Encode e-mail subject to support non-ASCII chars ( #888 )
...
* Encode e-mail subject to support non-ASCII chars
* Add test for email subject with unicode
* Fix wrong test argument
* Cleanup test function
2021-02-18 16:23:53 -06:00
Umputun
807160dcf6
prep admin to support multiple keys, per aud (siteID)
2021-02-15 13:14:23 -06:00
Umputun and GitHub
a50adc823b
Merge pull request #881 from Kickoman/be-translation
...
Add Belarusian locale
2021-02-13 13:13:42 -06:00
Umputun and GitHub
c4832ff47a
Merge pull request #887 from umputun/remove-content-type-on-upload
...
Do not send Content-Type on file upload
2021-02-13 13:12:25 -06:00
Pavel Mineev
f4f4764644
Do not send Content-Type on file upload
2021-02-13 21:52:48 +03:00
Umputun
0496c6bb0e
encode discuss user_id made from the name #879
2021-02-12 14:52:00 -06:00
Enes Çakır and GitHub
fb23cd6cf7
Fix empty username check for Disqus migrator ( #879 )
...
by @enescakir
* Fix user ID encoding for empty string
* Revert "Fix user ID encoding for empty string"
This reverts commit 6d901e4b11 .
* Fix empty username check for Disqus migrator
* Fix linter emptyStringTest error
2021-02-12 14:47:19 -06:00
Kanstancin Novikaŭ
1f755e07a4
Belarusian locale introduced
2021-02-12 17:49:40 +03:00
Pavel Mineev and Umputun
008788ad89
rollback readme till release
2021-02-10 01:59:36 -06:00
Pavel Mineev and Umputun
3628467367
fix oauth providers (turn back site id)
2021-02-04 13:09:59 -06:00
Pavel Mineev and Umputun
2e43f09636
Revert "send cookie with request"
...
This reverts commit 656ab84381 .
2021-02-04 13:09:59 -06:00
Pavel Mineev and Umputun
f515676a72
Revert "add fetcher params to test"
...
This reverts commit a89a06a583 .
2021-02-04 13:09:59 -06:00
Pavel Mineev and Umputun
a89a06a583
add fetcher params to test
2021-02-04 12:13:52 -06:00
Pavel Mineev and Umputun
656ab84381
send cookie with request
2021-02-04 12:13:52 -06:00
Pavel Mineev and Umputun
807249db5d
remove export of fetcher creator and use predefined methods
2021-02-02 15:53:40 -06:00
Pavel Mineev and Umputun
4ab2ea9246
fix default export for tests
2021-02-02 15:53:40 -06:00
Pavel Mineev and Umputun
6d0b18f688
move creation of all fetchers to fetcher.ts
2021-02-02 15:53:40 -06:00
Pavel Mineev and Umputun
068eaea86a
fix types for fetcher methods
2021-02-02 15:53:40 -06:00
Pavel Mineev and Umputun
a1cf289845
Use straight declaration of available methods
2021-02-02 15:53:40 -06:00
Pavel Mineev and Umputun
30394b0760
fix link to oauth window
2021-02-02 15:53:40 -06:00
Pavel Mineev and Umputun
4d075f4f7a
fix last comments request
2021-02-02 15:53:40 -06:00
Pavel Mineev and Umputun
8572f809cc
rid of legacy bundles from size-limit
2021-02-02 15:53:40 -06:00
Pavel Mineev and Umputun
f31146a266
add fetcher creator, create fetcher for every case, remove api.test.ts because of test become usless in terms of using URLSearchParams
2021-02-02 15:53:40 -06:00
Pavel Mineev and Umputun
49b70b7b04
Add comments to fetcher
2021-02-02 15:53:40 -06:00
Pavel Mineev and Umputun
8161182e7d
Pass query throw args
2021-02-02 15:53:40 -06:00
Pavel Mineev and Umputun
2fae0c29d2
Update fetcher and add good coverage to it
2021-02-02 15:53:40 -06:00
Pavel Mineev and Umputun
77825ce947
Update frontend CI
2021-02-01 12:28:36 -06:00
Pavel Mineev and Umputun
e1e8da4b2a
use parens for arrow funcs always
2021-01-29 03:17:10 -06:00
Umputun and GitHub
be2f6d0a20
Fix admin names ( #858 )
...
* fix admin name check for anon login #605
* update readme with admin names info
* lint: list of static site params
* typo
* don't allow email users to reuse admin names
* move admin.names to restricted-names
* forgotten names member
* remove names from example admin
* remove names from prepTestStore
2021-01-20 13:12:09 -06:00
Umputun
d40e354265
add more tests for voted_ip
2021-01-18 15:44:32 -06:00
Umputun
1048355b7b
strip voted_ip from response
2021-01-18 15:44:32 -06:00
Umputun
5296074dae
fix sanitize policy to allow loading-lazy for images #855
2021-01-18 15:36:15 -06:00
Umputun
89a4677391
enforce loading=lazy att to rendered images html
2021-01-17 16:32:26 -06:00
Umputun
849c133082
reformat long error calls to multi-line
2021-01-17 14:21:58 -06:00
Pavel Mineev and Umputun
ad25f83954
Add size-limit to CI
2021-01-15 19:53:51 -06:00
Umputun
6d525e4820
remove no-cache from /api/v1/avatar api
2021-01-15 16:22:45 -06:00
Umputun
12b0fbe75d
remove no-cache from /avatar api
2021-01-15 16:18:10 -06:00
Umputun
0dd3cd93ee
add no-cache to Cache-Control on static files
2021-01-15 14:55:32 -06:00
Pavel Mineev and Umputun
758c6bb1b2
fix font in user comments
2021-01-15 12:39:20 -06:00
Umputun
477ee60068
switch to stable auth version
2021-01-15 12:38:05 -06:00
Yury Antonov and Umputun
8b53c68cc3
add missing Fragment import
2021-01-15 12:12:19 -06:00
Umputun
fa22e32757
revendor with update auth #784
2021-01-15 11:37:07 -06:00
Umputun and GitHub
aff79a6fa9
Same site ( #850 )
...
* switch to auth master for same-site
* add same-site policy support #784
* add parse same site param
2021-01-14 13:06:29 -06:00
Pavel Mineev and Umputun
7f7973a78f
Propper settings for collect coverage
2021-01-14 12:11:22 -06:00
Nghiamaster and Umputun
fa2433ee0d
Update Vietnamese translation
2021-01-14 11:24:39 -06:00
Nghiamaster and Umputun
0808599442
Update Vietnamese translation
2021-01-14 11:24:39 -06:00
Nghiamaster and Umputun
3961226e3c
Add Vietnamese locale
2021-01-14 11:24:39 -06:00
Nghiamaster and Umputun
277ebf17f3
Add Vietnamese Language
2021-01-14 11:24:39 -06:00
Pavel Mineev and Umputun
3e0f233c5a
add mjs for sed
2021-01-13 23:16:29 -06:00
Pavel Mineev and Umputun
eb6ef87d42
set fallback for remark_config.host
2021-01-12 16:21:31 -06:00
Pavel Mineev and Umputun
df92500bb4
add size-limit to css
2021-01-12 13:39:26 -06:00
Pavel Mineev and Umputun
e429936831
replace file-loader with url-loader for inline svg to css
2021-01-12 13:39:26 -06:00
Pavel Mineev and Umputun
43935bbd38
fix translation tasks for compatibility with latest version on formatjs
2021-01-12 13:39:26 -06:00
Pavel Mineev and Umputun
f332ab194d
turn back translaton scripts
2021-01-12 13:39:26 -06:00
Pavel Mineev and Umputun
42cc226b16
turn back dotenv
2021-01-12 13:39:26 -06:00
Pavel Mineev and Umputun
bb5907d21f
Replacing REMARK_URL, fix remark_config stub, add minify html/css in templates
2021-01-12 13:39:26 -06:00
Pavel Mineev and Umputun
e77ffef4f4
fix comments locator in example
2021-01-12 13:39:26 -06:00
Pavel Mineev and Umputun
ecc480f51c
rewrite script import in iframe.ejs
2021-01-12 13:39:26 -06:00
Pavel Mineev and Umputun
27e0fa0701
change styles for list-comments
2021-01-12 13:39:26 -06:00
Pavel Mineev and Umputun
1052898589
Change fragments to empty tag
2021-01-12 13:39:26 -06:00
Pavel Mineev and Umputun
b72f4d57ea
Fix paths to static
2021-01-12 13:39:26 -06:00
Pavel Mineev and Umputun
6474821271
Fix styles order
2021-01-12 13:39:26 -06:00
Pavel Mineev and Umputun
b53d4a455b
Fix escaping for shortcuts in messages
2021-01-12 13:39:26 -06:00
Pavel Mineev and Umputun
3bd1bb1c89
fix build
2021-01-12 13:39:26 -06:00
Pavel Mineev and Umputun
a144dd00e3
Remove any from codebase
2021-01-12 13:39:26 -06:00
Pavel Mineev and Umputun
9518d1d83d
Update copy plugin
2021-01-12 13:39:26 -06:00
Pavel Mineev and Umputun
67188880a7
Changes
...
* turn back remark.image
* fix readme
* remove ts-ignore
2021-01-12 13:39:26 -06:00
Pavel Mineev and Umputun
fb60840f9f
fix linter
2021-01-12 13:39:26 -06:00
Pavel Mineev and Umputun
5825a55b69
Update frontend
...
* change root dit and change way to import modules
* update deps to latest versions
* use latest tools for building bundles
* rewrite webpack config
* use nomodule technique for loading modern bundle
* inject polyfills by babel usebuiltins
* update eslint rules
* rename all style files to CSS
* use postcss preset env for building styles
* proper typescript typing
* put all html files to templates folder
* etc
2021-01-12 13:39:26 -06:00
Janik Vonrotz and Umputun
919fb7af62
Update README.md
2021-01-05 11:11:29 -06:00
Umputun
ed3cd197dd
bump deps
2021-01-03 03:55:00 -06:00
Umputun
a0b2bbf1ed
typo
2021-01-03 03:14:19 -06:00
Umputun
2a02a946e7
lint: make scopelint happy on test
2021-01-03 03:13:20 -06:00
Umputun
1e96f9a5b0
Merge remote-tracking branch 'origin/master'
2021-01-03 03:09:31 -06:00
Umputun
0cb0232fa1
escape [ ] ( ) from tg title #839
2021-01-03 03:09:21 -06:00
Umputun
eb21a05b7b
add optional frame-ancestors (Content-Security-Policy) for the list of hosts passed by user
2021-01-03 02:33:51 -06:00
Umputun
b15f07b5f7
update auth module
2021-01-03 02:22:23 -06:00
a.kalin and Umputun
81acaef8a4
#819 Changed jwt storage to local variable
2020-12-30 13:16:23 -06:00
a.kalin and Umputun
c538068d8b
#819 Added jwt token to requests
2020-12-30 13:16:23 -06:00
Umputun and GitHub
9b0fee0737
Merge pull request #832 from umputun/dependabot/npm_and_yarn/frontend/ini-1.3.7
...
Bump ini from 1.3.5 to 1.3.7 in /frontend
2020-12-21 16:25:57 -06:00
Umputun and GitHub
d27a22a6d6
Merge pull request #835 from umputun/dependabot/npm_and_yarn/frontend/node-notifier-8.0.1
...
Bump node-notifier from 8.0.0 to 8.0.1 in /frontend
2020-12-21 16:25:21 -06:00
dependabot[bot] and GitHub
84d06ca392
Bump node-notifier from 8.0.0 to 8.0.1 in /frontend
...
Bumps [node-notifier](https://github.com/mikaelbr/node-notifier ) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/mikaelbr/node-notifier/releases )
- [Changelog](https://github.com/mikaelbr/node-notifier/blob/v8.0.1/CHANGELOG.md )
- [Commits](https://github.com/mikaelbr/node-notifier/compare/v8.0.0...v8.0.1 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-12-21 22:22:19 +00:00
Umputun
104ee308c6
make init to work in alpine, fix typo
2020-12-17 21:25:51 -06:00
dependabot[bot] and GitHub
8306b528e0
Bump ini from 1.3.5 to 1.3.7 in /frontend
...
Bumps [ini](https://github.com/isaacs/ini ) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases )
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-12-11 05:01:38 +00:00
Umputun and GitHub
2a9b59ebf7
Merge pull request #827 from umputun/paskal/fix_doc
...
readme: fix SPA link, web config syntax
2020-12-06 14:40:54 -06:00
Umputun and GitHub
097788a772
Merge pull request #828 from umputun/paskal/logs
...
documentation: fix email templating doc, add remap doc
2020-12-06 14:39:49 -06:00
Dmitry Verkhoturov
d0d09604e1
add remap doc by @mind-overflow #810
2020-12-06 20:08:26 +01:00
Dmitry Verkhoturov
3111c0e722
fix formatting for email templating doc
2020-12-06 20:02:42 +01:00
Dmitry Verkhoturov
b426055ad0
readme: fix SPA link, web config syntax
2020-12-06 18:50:53 +01:00
Umputun and GitHub
4f4c302a9d
Merge pull request #826 from umputun/paskal/clean_stream
...
Clean unused stream code
2020-11-30 10:46:33 -06:00
Dmitry Verkhoturov
809a7c7dbd
Clean unused stream code
...
It was supposed to solve #253 but frontend part for it in
#357 was never finished, and backend code produces false
positive test failures since day 0. The cost of just having
this code around is too high, we'll re-add it in case
frontend implementation will be finished.
2020-11-30 02:00:59 +01:00
Dmitry Verkhoturov and Umputun
6426ea154e
#819 add SendJWTHeader auth option, expose it on /config
2020-11-29 18:18:22 -06:00
Ksinia and Umputun
5b4e492c1b
Save logged in user email in local storage
2020-11-18 10:59:44 -06:00
Umputun and GitHub
e935fedd60
Merge pull request #805 from markiewiczjulian/master
...
added translations to pl language
2020-11-17 11:25:40 -06:00
Julian Markiewicz and GitHub
2df51fe111
Merge branch 'master' into master
2020-11-17 09:02:32 +01:00
sattellite and Umputun
60f554f2fa
Simplified definition of REMARK_URL to templates in webpack config
2020-11-10 11:04:07 -06:00
sattellite and Umputun
abe3b0d47a
Simplified js expression in templates
...
REMARK_URL is required and window.location.origin is not needed.
https://github.com/umputun/remark42/pull/806#discussion_r519458452
2020-11-10 11:04:07 -06:00
sattellite and Umputun
06c3406e30
Replace predefined site_id by SITE_ID
2020-11-10 11:04:07 -06:00
sattellite and Umputun
0d42761a12
Replace BASE_URL constant by REMARK_URL in html
2020-11-10 11:04:07 -06:00
sattellite and Umputun
2a48cc9682
use REMARK_URL in frontend templates
2020-11-10 11:04:07 -06:00
aa048a0db9
Apply suggestions from code review
...
Co-authored-by: Pavel Mineev <pavel@mineev.me >
2020-11-10 09:45:48 -06:00
Ksinia and Umputun
d87135a80a
Fix test for Replies link
2020-11-10 09:45:48 -06:00
Ksinia and Umputun
e6aa4736ea
Fix RSS links
2020-11-10 09:45:48 -06:00
Pavel Mineev and Umputun
f4aa7332d5
Add tests and change props/state getting to fix TS error
2020-11-09 15:43:03 -06:00
Pavel Mineev and Umputun
4da83d9231
#212 : Fix max length counter in Safari
2020-11-09 15:43:03 -06:00
ivanezko and Umputun
18ba05cea0
add ukranian locale
2020-11-06 02:15:04 -06:00
ivanezko and Umputun
a8752bb41c
add ukranian locale
2020-11-06 02:15:04 -06:00
ivanezko and Umputun
3396c56f2e
add ukranian locale
2020-11-06 02:15:04 -06:00
ivanezko and Umputun
f281faa0da
add ukranian locale
2020-11-06 02:15:04 -06:00
Ivanezko and Umputun
b88f99e099
add ukranian locale
2020-11-06 02:15:04 -06:00
Artur Mullakhmetov and Umputun
b04eba2d91
do not decrease comments count in case of repeated deletion
2020-11-05 11:00:30 -06:00
markiewicz.julian@gmail.com
48ed23e70d
added translations to pl language
2020-10-28 08:50:51 +01:00
Vitaly Zdanevich and Umputun
55a8eb10e7
опечатка
2020-10-23 21:21:08 -05:00
Dmitry Verkhoturov and Umputun
b447863542
add deduplication of emails in recursive notifications
2020-10-20 11:08:04 -05:00
Dmitry Verkhoturov and Umputun
4ba32141fa
add recursive email notifications up to highest parent
2020-10-20 11:08:04 -05:00
Dmitry Verkhoturov and Umputun
1ce3cf3d1f
simplify admin email notifications
2020-10-20 11:02:04 -05:00
Dmitry Verkhoturov and Umputun
91580194e9
clean up formatting and typos in documentation
2020-10-19 02:42:19 -05:00
Dmitry Verkhoturov and Umputun
6f122f93d1
extract Email.buildAndSendMessage from Email.Send
2020-10-18 17:29:44 -05:00
Dmitry Verkhoturov and Umputun
ced40b525a
move email notification logic into Email struct
2020-10-18 17:29:44 -05:00
Dmitry Verkhoturov and Umputun
bcc2fc7a9e
use correct case for GitHub mentions
2020-10-14 12:05:15 -05:00
Dmitry Verkhoturov and Umputun
c9b395f60d
separate notify.SubmitVerification from notify.Submit
2020-10-11 23:13:24 -05:00
Dmitry Verkhoturov and Umputun
1980f30666
rewrite notify.Service.do from range to select
2020-10-11 23:13:24 -05:00
Umputun
b4f4c5e777
auto deploy docs
2020-10-11 23:06:34 -05:00
Pavel Mineev and Umputun
3e37434483
Fix images paths in docs
2020-10-11 20:03:14 -05:00
Pavel Mineev and Umputun
7b1ecccb4b
fix files naming add files to menu
2020-10-11 17:12:14 -05:00
Pavel Mineev and Umputun
fc9882098d
arename readme to index
2020-10-11 17:12:14 -05:00
Pavel Mineev and Umputun
e52499316e
split docs by versions
2020-10-11 17:12:14 -05:00
Dmitry Verkhoturov and Umputun
bec6bcee0d
use template files instead of statik in dev Dockerfile
2020-10-07 19:32:39 -05:00
Dmitry Verkhoturov and Umputun
36dce6c2ac
fix golangci-lint timeout, bump email min TLS version
2020-10-07 19:32:39 -05:00
Dmitry Verkhoturov and Umputun
593ca0387f
adjust dockerfile to support go test with -race, bump images
2020-10-07 19:32:39 -05:00
konstantin krivlenia and Umputun
a1fcef670e
update dependencies
2020-10-04 23:46:39 -05:00
dependabot[bot] and Umputun
ecb146bf20
Bump node-fetch from 2.6.0 to 2.6.1 in /frontend
...
Bumps [node-fetch](https://github.com/bitinn/node-fetch ) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases )
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md )
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-10-04 16:25:08 -05:00
Pavel Pustovalov and Umputun
c02590665f
Setup coverage for FE
2020-09-06 14:15:56 -05:00
Pavel Pustovalov and Umputun
1cb724a264
Set node version for each job
2020-09-05 12:22:02 -05:00
Pavel Pustovalov and Umputun
82de2a1d8f
Regenerate package-lock.json
2020-09-05 12:22:02 -05:00
Dmitry Verkhoturov and Umputun
b974fd9cc4
add ability to set multiple admin emails for notifications
2020-09-02 15:09:46 -05:00
Umputun
4f135fe91b
switch ci and docker build to node 12
2020-08-30 21:58:48 -05:00
Pavel Pustovalov and Umputun
f72603d967
make FE CI more parallel
2020-08-30 13:58:22 -05:00
Pavel Pustovalov and Umputun
0ba8faefc9
change target browsers to defaults
2020-08-30 13:53:25 -05:00
Pavel Pustovalov and Umputun
63b879ac45
npm dedupe
2020-08-30 13:53:25 -05:00
Pavel Pustovalov and Umputun
07efd657af
Update babel & jest
2020-08-30 13:53:25 -05:00
Pavel Pustovalov and Umputun
dfd66b95b0
Unify target browsers
2020-08-30 13:53:25 -05:00
vdimir and Umputun
295191955a
Add function createAppFromCmd to server_test.go
2020-08-26 12:39:31 -05:00
vdimir and Umputun
14bcbfa901
Add function randomPath to rest_test.go
2020-08-26 12:39:31 -05:00
Pavel Mineev and Umputun
5c23206d00
Hide email subscription by param from frontend
2020-08-20 18:15:50 -05:00
Pavel Mineev and Umputun
c9800a3799
Update vurnulable deps
...
* automatic update deps
* update copy-webpack-plugin to next major version
* update webpack config connected with new copy-webpack-plugin API
2020-08-20 03:58:04 -05:00
Pavel Pustovalov and Umputun
a59be983f2
Update lint-staged & husky
2020-08-20 02:53:33 -05:00
Pavel Pustovalov and Umputun
71e0e98e05
Update prettier
2020-08-20 02:53:33 -05:00
Pavel Pustovalov and Umputun
11f222c6e3
Run ui specs on CI
2020-08-20 02:52:13 -05:00
Umputun
1eedcc0eb3
don't allow anon with space prefix or suffix
2020-08-16 21:12:42 -05:00
Pacharapol Withayasakpunt and GitHub
5d6729ddd5
Fix to work without errors in Nuxt Universal ( #723 )
...
by @patarapolw
* allow manual init and destroy for use with Nuxt
* fix onDestroy-related methods
* avoid global scope, and use function scope instead
* add createInstance function to window.REMARK42
* 1. allow DOMNode to be put in remark_config 2. check remark_config before try to attach node
* move createInstance function outside
* update embed.ts
* avoid ?.
* 📚 Docs: doc on how to make it work with SPAs
* 📚 Docs: fix spa.md to be more flexible
* ✨ Feat: add REMARK42::ready event
* remove nuxt-specific terminologies
* tell MutationObserver to disconnect on destroy
* update docs/spa.md
2020-07-31 12:21:00 -05:00
Pacharapol Withayasakpunt and Umputun
d1268bbe8c
update README according to #737
2020-07-30 12:24:48 -05:00
dependabot[bot] and Umputun
424016e994
Bump elliptic from 6.5.2 to 6.5.3 in /frontend
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases )
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-07-30 12:21:41 -05:00
Umputun
729b6d2d08
add --proxy-cors $PROXY_CORS disabling internal cors middleware #749
2020-07-27 16:58:47 -05:00
dependabot[bot] and Umputun
0f9c41cfc6
Bump lodash from 4.17.15 to 4.17.19 in /frontend
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-07-22 11:58:04 -05:00
0xflotus and Umputun
8b77ff953e
docs: fixed small error
2020-07-22 11:57:44 -05:00
0xflotus and Umputun
69a81042db
docs: enabled nginx syntax highlighting
2020-07-22 11:56:49 -05:00
vdimir and Umputun
09f06f587c
Add tests for comment.Imported, refine image.SubmitAndCommit tests
2020-07-09 12:43:07 -05:00
vdimir and Umputun
d7c9aecf03
Submit images from service.Create only after creation in Engine
2020-07-09 12:43:07 -05:00
vdimir and Umputun
9957ab642b
Add Imported field to comment, do not wait image submission for such comments
2020-07-09 12:43:07 -05:00
vdimir and Umputun
1f9566bb47
Use comment timestamp for submitting image ttl
2020-07-09 12:43:07 -05:00
Dmitry Verkhoturov and Umputun
9510962e25
add redis PubSub web cache as an option
2020-06-25 23:14:50 -05:00
Dmitry Verkhoturov and Umputun
ebf379f4d6
bump go-pkgz/lcw to v0.7.1
2020-06-25 17:28:33 -05:00
Umputun
df9c05b490
add microsoft auth
2020-06-18 18:25:35 -05:00
Dmitry Verkhoturov and Umputun
42d0c67cb3
add context to server errors, properly close datastore in case of errors
2020-06-13 19:07:33 -05:00
Umputun
46f3ced83d
disable some stream tests
2020-06-08 16:10:31 -05:00
Umputun
4d0f909f0e
add reset of the same ip votes on -+ or +- changes and move same ip set and reject check up (above this reset)
2020-06-08 14:59:40 -05:00
dependabot[bot] and Umputun
1e60cb813a
Bump websocket-extensions from 0.1.3 to 0.1.4 in /frontend
...
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node ) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/faye/websocket-extensions-node/releases )
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md )
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-06-07 15:46:51 -05:00
Umputun
dc7bb5810f
typo in from_address param
2020-06-05 03:49:49 -05:00
Dmitry Verkhoturov
80f4862c9c
fix leaking goroutines and add tests for them
2020-06-01 09:58:48 +02:00
Umputun
55dd5bd25b
skip LastCommentStream test
2020-05-26 15:29:56 -05:00
Dmitry Verkhoturov and Umputun
890d7154e7
bump go modules
2020-05-24 19:00:07 -05:00
Dmitry Verkhoturov and Umputun
0d67f7e53d
bump golangci-lint version, fix discovered issues
2020-05-24 19:00:07 -05:00
foxbg and GitHub
13220c044c
Adding BG translation ( #719 )
...
* adding BG translation part 1
* agging BG locale part 2
* adding BG translation part 1
* agging BG locale part 2
* adding BG translation part 1
* agging BG locale part 2
* adding BG translation part 1
* agging BG locale part 2
* fixing typo
* remove duplicate line
* more translation and fixed typos
@foxbg
2020-05-24 14:08:48 -05:00
Umputun and GitHub
5c36aca9ec
Merge pull request #716 from Mavrin/fix_name_regexp
...
allow non latin letter for user name
2020-05-23 11:58:39 -05:00
Umputun
2f20b64c0f
switch lcw to stable version
2020-05-22 14:18:34 -05:00
Umputun
87b44fa74c
switch to tagged base images
2020-05-22 14:13:05 -05:00
konstantin krivlenia
07a9f84c49
allow non latin letter for user name
2020-05-22 00:33:54 +03:00
Umputun
80854f9d40
allow anon names to inlude non-latin. Add limit (64) to max len #715
2020-05-21 13:18:10 -05:00
konstantin krivlenia and Umputun
4682694092
update frontend dev dependencies
2020-05-19 15:11:35 -05:00
Gürkan Gür and Umputun
0bb2877b07
frontend: Add Turkish language support
2020-05-17 13:34:40 -05:00
Gürkan Gür and Umputun
d3b58c0795
docs: Extend translation howto
2020-05-17 13:34:40 -05:00
Umputun
d8ce444df0
move logging for protected routes to INFO level
2020-05-12 23:15:06 -05:00
Umputun
7edf8e0b23
pull latest docker image on dev build
2020-05-12 22:27:08 -05:00
Umputun
c10354584d
dbl request limit size for count query
...
for sites with a lot of posts on the page, the list of all urls can exceed the default 64k limit. I've see the request like this from news.radio-t.com
2020-05-12 22:26:45 -05:00
Umputun
ef8407b23e
typo in app image
2020-05-12 12:17:41 -05:00
Umputun
11fde80d27
replace references to legacy remark url in docs
2020-05-12 12:08:18 -05:00
Umputun
6bee151b25
switch base image
2020-05-12 12:02:13 -05:00
Umputun
0895de2f7e
rename all packages from the legacy remark/ to remark42
2020-05-12 11:34:16 -05:00
Pavel Mineev and Umputun
b90d076fdf
Move html to separete files
2020-05-10 23:51:13 -05:00
Dmitry Verkhoturov
f5fcd5b254
switch from go-cache to lcw
2020-05-10 20:41:26 +02:00
Umputun
a8f3e1730b
update to lcw@master
2020-05-09 21:20:03 -05:00
Dmitry Verkhoturov and Umputun
bbfeaeb3d0
go-consistent proposed changes
2020-05-04 02:22:16 -05:00
Serge Adamovich and Umputun
5afa74eec1
#594 Open hidden thread and jump to linked comment
2020-05-04 02:20:44 -05:00
Serge Adamovich and Umputun
d111cbd3e1
#594 Scroll to parent of hidden comments
2020-05-04 02:20:44 -05:00
Dmitry Verkhoturov and Umputun
e922fc31a2
enable gocritic linter and fix found issues
2020-04-26 17:05:34 -05:00
Dmitry Verkhoturov and Umputun
71dcb13a71
commit proxy images same way as normally uploaded ones
2020-04-25 12:15:26 -05:00
Dmitry Verkhoturov and Umputun
5579bd1a88
close response.Body in image proxy tests
2020-04-24 14:16:01 -05:00
Dmitry Verkhoturov and Umputun
b71e0be095
move cachedImgID and sha1Str from rest.proxy to store.image
2020-04-24 14:16:01 -05:00
Umputun and GitHub
4b26b8e259
Merge pull request #699 from umputun/github_golangci_lint
...
change golangci-lint format to github-actions for CI
2020-04-23 18:07:03 -05:00
Dmitry Verkhoturov
1a2cceba4a
change golangci-lint format to github-actions for CI
2020-04-24 01:02:03 +02:00
Umputun
42509cf0dd
update linter to 1.25
2020-04-23 01:13:35 -05:00
Umputun and GitHub
d3c77d0c4c
Merge pull request #693 from umputun/img_commit_on_start
...
Image commit on start
2020-04-23 00:52:27 -05:00
Dmitry Verkhoturov
8cb274934e
add DataService.ResubmitStagingImages function call on server start
2020-04-23 00:55:13 +02:00
Dmitry Verkhoturov
5ae6dcf652
introduce image.Service commitTTL and cleanupTTL properties
...
This allows having separate values of TTL for Commit and Cleanup
and moving them apart in time, also clarifying their connection
to EditTime which was previously outside of the package level.
2020-04-23 00:54:30 +02:00
Dmitry Verkhoturov
c7f73a6c84
add image.Store.Info() function
2020-04-23 00:52:36 +02:00
Umputun and GitHub
cebc40f9ce
Merge pull request #697 from umputun/tests_golangci_lint
...
Enable golangci-lint for tests
2020-04-21 11:58:35 -05:00
Dmitry Verkhoturov
3a0529e51b
enable golangci-lint for tests, fix discovered problems
2020-04-21 12:01:10 +02:00
Dmitry Verkhoturov
318feb8ed2
golangci-lint fixes for memory_store tests
2020-04-21 11:47:15 +02:00
Umputun
b4a6cc5473
format comment for UserDetail
2020-04-21 02:40:24 -05:00
Umputun and GitHub
cb54d0ee76
Merge pull request #691 from dellink/add-error-message-for-anonymous-in-comment-form
...
Add message of image upload try by anonymous user
2020-04-20 10:38:26 -05:00
Serge Adamovich
84e68b9bc8
Check messages in tests
2020-04-20 11:22:14 +03:00
Serge Adamovich
645b2390c2
Generate locales
2020-04-20 10:35:26 +03:00
Dmitry Verkhoturov and Umputun
513c8f353d
sticter golangci config, fix discovered issues
2020-04-19 16:21:09 -05:00
Dmitry Verkhoturov and Umputun
2acb00d424
rename image.Store.SaveWithID to Save
2020-04-19 16:21:09 -05:00
Dmitry Verkhoturov and Umputun
36cee9cc66
simplify image.Store interface
2020-04-19 16:21:09 -05:00
Serge Adamovich
7115329060
Add tests
2020-04-19 20:41:46 +03:00
Serge Adamovich
2f966d09ca
Fix work with message in onDrop method
2020-04-19 20:12:44 +03:00
Serge Adamovich
5fc67f1c12
Add message of image upload try by anonymous user
2020-04-18 17:24:54 +03:00
Pavel Mineev and Umputun
b5e31f3081
Remove unused sed from artifacts build
2020-04-17 13:48:54 -05:00
Dmitry Verkhoturov and Umputun
381ca75126
#614 serve proxified images disregarding if saving is enabled
2020-04-15 20:05:13 -05:00
Dmitry Verkhoturov and Umputun
4d988c427a
#641 bump golangci-lint version to 1.23.8
2020-04-15 20:02:55 -05:00
Dmitry Verkhoturov and Umputun
7cebb9e4ee
#641 bump CI go version to 1.14
2020-04-15 20:02:55 -05:00
Dmitry Verkhoturov and Umputun
c3896934c9
don't use cache in rest tests which don't utilize it
2020-04-14 13:47:27 -05:00
Umputun and GitHub
1c28f44f08
Merge pull request #671 from akellbl4/update/dev-deps
...
Update dev dependencies
2020-04-14 10:15:46 -05:00
Pavel Mineev
78125ed975
revert formatjs/cli to old version
2020-04-14 11:42:31 +03:00
Pavel Mineev
e5df2a0f52
up prettier
2020-04-14 11:42:31 +03:00
Pavel Mineev
e552c78491
Update dev dependencies
2020-04-14 11:42:29 +03:00
Umputun
3cb07b9cd6
fix incorrect sinceTime for comments stream
2020-04-14 03:40:10 -05:00
Umputun and GitHub
e94af6a059
Merge pull request #685 from umputun/fix_memory_store_tests_panic
...
remove t.Log from test server.Run in memory_store
2020-04-13 17:34:39 -05:00
Dmitry Verkhoturov
828669ac95
remove t.Log from test server.Run in memory_store
2020-04-14 00:20:42 +02:00
Umputun and GitHub
fab32ace10
Merge pull request #679 from akellbl4/frontend-scripts
...
Frontend scripts and docs updates
2020-04-13 16:49:02 -05:00
Dmitry Verkhoturov and Umputun
4605d567ae
make image.Close wait for all images Submit completion
2020-04-13 16:01:51 -05:00
Dmitry Verkhoturov and Umputun
7151698b18
add -race key to backend tests in CI pipeline and Dockerfile
2020-04-13 16:01:51 -05:00
Dmitry Verkhoturov and Umputun
afc94adc1b
remove log package usage from tests, sort imports
2020-04-13 16:01:51 -05:00
Umputun
360f47e16b
go mod for memory_store example
2020-04-13 14:31:58 -05:00
Umputun
ee559e7deb
remake modules.txt with go 1.14
2020-04-13 14:30:48 -05:00
Pavel Mineev
5e71613d4f
add instant commands
2020-04-13 22:03:37 +03:00
荒野無燈 and Umputun
9459a2a2f5
notify/email.go: fixup smtp.NewClient second param
2020-04-13 14:02:00 -05:00
荒野無燈 and Umputun
200f464925
smtp buildMessage(): flush quotedprintable writer buff explicitly
2020-04-13 14:01:21 -05:00
Pavel Mineev
51fc0f7a92
put all config in separate js files
2020-04-13 21:58:01 +03:00
Umputun
d7442ef1a9
switch flags, revendor
2020-04-13 12:30:23 -05:00
Dmitry Verkhoturov and Umputun
d6c7e151a0
bump modules
2020-04-13 12:03:26 -05:00
Umputun and GitHub
b39874fe08
Merge pull request #684 from quantonganh/i444-arm-32
...
the correct GOARCH value is arm, not arm32
2020-04-13 11:57:56 -05:00
Quan Anh Tong
7ebea0ca9d
Revert "fix artifact filename on arm32"
...
This reverts commit 2e47fde46e .
2020-04-13 20:20:02 +07:00
Quan Anh Tong
cdda2d0319
the correct GOARCH value is arm, not arm32
2020-04-13 20:12:47 +07:00
Pavel Mineev
8d02ad432c
add cross-env for npm run check
2020-04-13 16:10:35 +03:00
Pavel Mineev
7d4b6d22f0
show only warn and error messages on install without other visual noise
2020-04-13 16:08:04 +03:00
Pavel Mineev
af38a64f5c
Frontent infrastructure updates
...
* rename and combine npm scripts
* move to checkout@v2 in actions
* change dev docs
* move liststaged config to package.json because it easier to understand what husky doing
2020-04-13 14:36:19 +03:00
Umputun and GitHub
a15acaf293
Merge pull request #632 from Smolevich/small-improvements
...
Small improvements
2020-04-13 02:38:20 -05:00
Dmitry Verkhoturov and Umputun
dba77d403d
bump go-pkgz modules, bbolt new url
2020-04-12 16:09:01 -05:00
Pavel Mineev and Umputun
40eb39f8f0
increace deleteme size after update preact
2020-04-12 15:31:17 -05:00
Pavel Mineev and Umputun
c291dd491d
update preact
2020-04-12 15:31:17 -05:00
Pavel Mineev and Umputun
78f1f39f33
increase deleteme size
2020-04-12 14:07:16 -05:00
Pavel Mineev and Umputun
d5ef0db394
Update production deps
2020-04-12 14:07:16 -05:00
lalentine and Umputun
82cbb5a836
Adds background transition to .comment class
2020-04-12 13:17:58 -05:00
荒野無燈 and Umputun
4b3e59f8d0
locale: zh.json: fixup typo for subscribeByEmail.submit
2020-04-12 13:16:44 -05:00
Dmitry Verkhoturov and Umputun
fc63493e7e
return proper content type instead of image/*
2020-04-12 03:57:08 -05:00
Umputun
7614edf167
extract wait in image close
2020-04-12 03:45:03 -05:00
Dmitry Verkhoturov and Umputun
a133ab31fa
add context cancellation to image.Service.Cancel()
2020-04-12 03:34:13 -05:00
Dmitry Verkhoturov and Umputun
449e375cbb
fix image.Service termination in case Submit was never called
2020-04-12 03:34:13 -05:00
Dmitry Verkhoturov and Umputun
97d7467033
fix Docker capitalization in Readme, fix backend run instructions
2020-04-12 03:34:13 -05:00
Pavel Mineev and Umputun
053bea18cd
Cut react devtools forwarding by webpack in production build
2020-04-12 02:31:34 -05:00
lalentine and Umputun
49dd5bdf21
Resolves #559
...
Adds .comment_highlighting class after scrolling to comment.
2020-04-11 23:03:47 -05:00
Quan Anh Tong and Umputun
2e47fde46e
fix artifact filename on arm32
2020-04-11 22:51:01 -05:00
Dmitry Verkhoturov and Umputun
1e67850e87
fix docker run error without attached /srv/var
2020-04-11 20:08:35 -05:00
Dmitry Verkhoturov and Umputun
f350e26740
#655 add documentation for using SendGrid and for Mailgun API
2020-04-11 20:07:41 -05:00
Umputun and GitHub
c76117d5c6
Merge pull request #656 from akellbl4/docs/add-ram-requirements
...
Add info about RAM requirements
2020-04-10 12:10:39 -05:00
Pavel Mineev
9660e2f6c2
add info about RAM requirements
2020-04-10 15:41:12 +03:00
荒野無燈 and Umputun
d336ab5053
add Simplified Chinese locale
2020-04-10 02:52:43 -05:00
Smolevich
6b2bc11710
Merge branch 'master' of github.com:umputun/remark into small-improvements
2020-04-09 21:50:44 +03:00
Pavel Mineev and Umputun
aecad2fce9
update node deps
2020-04-09 03:35:35 -05:00
Umputun and GitHub
923f182be5
Merge pull request #646 from codiflow/master
...
Added new language strings
2020-04-08 11:47:24 -05:00
Pavel Mineev and Umputun
b53f1872bb
create type check config by extending default config
2020-04-08 11:47:00 -05:00
Pavel Mineev and Umputun
01befe0c29
Fix linter errors
2020-04-08 11:47:00 -05:00
Pavel Mineev and Umputun
ddafb40b2d
Update typescript to 3.8.3
2020-04-08 11:47:00 -05:00
Pavel Mineev and Umputun
2a1690afcf
Encode email in subscribe request
2020-04-08 11:10:32 -05:00
codiflow
97763c681f
Merge remote-tracking branch 'origin/master'
2020-04-08 14:44:43 +02:00
Christian
48aff63eca
Added new language strings
2020-04-08 14:43:52 +02:00
Umputun and GitHub
a4e262e9e6
Switch back to go 1.13 and lint 1.23 ( #647 )
...
* combine lint and test for examples
* combine backend test and lint
* switch linter to 1.23
* back to go 1.13
* comment -mod=mod for 1.13
2020-04-07 15:30:00 -05:00
Christian and GitHub
c7e5059341
Added new language strings
2020-04-07 11:49:48 +02:00
Umputun and GitHub
1bb8fa4b61
Merge pull request #645 from lufte/es-locale
...
Spanish locale
2020-04-07 03:01:36 -05:00
konstantin krivlenia
879e5c8383
fix default en message form symbol limit
2020-04-07 10:48:00 +03:00
lufte
467496f34c
Add translations for "new page" and english improvements
2020-04-06 23:39:40 -03:00
lufte
a0d68b12ea
Spanish locale
2020-04-06 23:37:11 -03:00
Umputun
9f12cc9f5f
cut-paste err
2020-04-06 18:06:33 -05:00
Umputun
cadd1e8a7c
enforce -mod=mod for example ci
2020-04-06 18:03:54 -05:00
Umputun
73adc23176
try to copy .golangci.yml to _example
2020-04-06 17:22:58 -05:00
Dmitry Verkhoturov and Umputun
cab3b8a831
move admin email notifications call to rest/api module
2020-04-06 16:27:19 -05:00
Dmitry Verkhoturov and Umputun
04d3541de1
add admin email notifications on new comments
2020-04-06 16:27:19 -05:00
Dmitry Verkhoturov and Umputun
e377bceeb4
make notify.Email support multiple messages in one Send
2020-04-06 16:27:19 -05:00
Dmitry Verkhoturov and Umputun
726a4d7fc3
add translation instructions
2020-04-06 16:18:56 -05:00
Umputun and GitHub
079721298e
update lic year
2020-04-06 13:04:50 -05:00
Pavel Mineev and Umputun
dfeff72d3e
update vulnerable packages
2020-04-06 12:07:14 -05:00
Pavel Mineev and Umputun
78a5bf15b5
Fix back button in email subscription form
2020-04-06 10:14:50 -05:00
Smolevich
a404b8a87a
Try to delete parallel flag
2020-04-06 11:27:27 +03:00
Smolevich
ca9586491b
Merge branch 'master' of github.com:umputun/remark into small-improvements
2020-04-06 10:41:34 +03:00
Umputun
40db689b27
update linter to 1.24 #641
2020-04-06 01:51:23 -05:00
Dmitry Verkhoturov and Umputun
106218df19
fix memory_storage run
...
- add proper formatting to Readme instructions
- fix docker-compose yaml
- add Enabled flag to admin storage, as without it I saw following error on trying to post a comment:
```
mem_store.r42 | 2020/04/03 15:53:52.433 [INFO] {logger/logger.go:120 logger.(*Middleware).Handler.func1.1} POST - /cmd - 172.20.0.3 - 200 (25) - 126.8µs - {"method":"admin.enabled","params":"remark","id":29}
remark42 | 2020/04/03 15:53:52.434 [WARN] {rest/httperrors.go:85 rest.SendErrorJSON} can't save comment - failed to prepare comment: can't get secret for site remark: site remark disabled - 500 (0) - dev_user/dev_user - /api/v1/comment - [rest/api/rest_private.go:121 api.(*private).createCommentCtrl]
```
Flag was originally added 106c018ef1
2020-04-04 14:06:39 -05:00
Dmitry Verkhoturov and Umputun
0355ba4ff7
add image storage to memory_store
2020-04-04 14:06:39 -05:00
Dmitry Verkhoturov and Umputun
ce92f63215
add remote image storage support to backend
2020-04-04 14:06:39 -05:00
Umputun and Dmitry Verkhoturov
b6ef4f393a
switch to go 1.14 #636
2020-04-04 18:38:35 +02:00
Umputun and GitHub
98b77f076c
Merge pull request #628 from paskal:img_fixes
...
image.Service and image.Store improvements
2020-04-02 21:48:41 -05:00
Pavel Mineev and Umputun
7de82e0fef
Fix clear localstorage after comment sending
...
* add functions for saving json to localstorage and tests
* remove comment form localstorage after posting
2020-04-02 16:25:37 -05:00
Smolevich
11c7f4ff55
Remove GOPATH from last step
2020-04-02 19:54:09 +03:00
Smolevich
509b4b66bd
Recover old name of step and remove GOPATH
2020-04-02 19:52:45 +03:00
Smolevich
e8f1e2d6b0
Remove unused config parts
2020-04-01 17:48:10 +03:00
Smolevich
be8706efcf
Fix path to profile.cov
2020-04-01 17:43:49 +03:00
Smolevich
1be319b4b9
Add working directory arg
2020-04-01 17:40:43 +03:00
Smolevich
0b53c4aeaa
Add go env
2020-04-01 17:25:17 +03:00
Smolevich
b713d0d3f1
Add GOPATH
2020-04-01 12:53:23 +03:00
Smolevich
cede669c20
Add temporary using action
2020-04-01 12:40:49 +03:00
Smolevich
197eb0c9a0
Change ci-test-backend.yml
2020-04-01 12:20:53 +03:00
Dmitry Verkhoturov and Umputun
10c1aa939f
remove .golangci.yml file for golangci-lint service
2020-04-01 02:33:39 -05:00
Pavel Mineev and Umputun
d9f913dbb0
fix ru translate
2020-04-01 02:32:30 -05:00
Dmitry Verkhoturov
4539b8ffb4
hide image.Store from image.Service consumers
2020-03-27 21:03:49 +01:00
Dmitry Verkhoturov
e1d502ecf8
add clarifying comment to image.Store interface
2020-03-27 02:24:44 +01:00
Dmitry Verkhoturov
33dde7d4dd
move MaxSize, MaxHeight and MaxWidth from image Storage to Service
2020-03-27 02:10:49 +01:00
Dmitry Verkhoturov
ef6634e9b3
exclude unused filename from image.Store.Save() parameters
2020-03-26 23:04:49 +01:00
Dmitry Verkhoturov
d714e32668
explicitly ignore error in test fmt.Fprint
2020-03-26 23:04:31 +01:00
Dmitry Verkhoturov
fa4e779fa0
bump go modules in memory_store
2020-03-26 23:02:08 +01:00
Pavel Mineev and Umputun
7ce400a5e5
move getting of hidden users to utils
...
* get hidden user by util
* add tests for changed actions
* add tests for getting users from local storage
2020-03-25 01:52:46 -05:00
Pavel Mineev and Umputun
e7dfd1efbb
Fix hide/unhide user and setVerifiedStatus
...
* add tests for user store
2020-03-25 01:52:46 -05:00
Dmitry Verkhoturov and GitHub
c9a23698ba
Image interface changes ( #623 )
...
@paskal
* sort imports, add missing copyright
* regenerate engine mock
* make all image.Store interface functions public
* go mod tidy
* make image.Store.Load return []byte instead of io.ReadCloser
* separate memory_store example RPC server to multiple files by handlers groups
2020-03-22 20:43:43 -05:00
Pavel Mineev and Umputun
a883052e03
Fix saving of comment sorting
...
* Add tests
2020-03-22 16:11:01 -05:00
Yonatan Rybinski and GitHub
1ba5e7a67e
Added instructions for SES email configuration ( #622 )
...
@cigan1 (Yonatan Rybinski)
* Added instructions for SES
* Fixed domain
* Changed the name to Amazon SES not AWS SES
* Removed the extra URL
2020-03-22 15:57:59 -05:00
1c5928ad0b
Add russian translates and update readme ( #621 )
...
Author: Pavel Mineev @akellbl4
* add russian translates and update readme
* Fix email adress string
Co-Authored-By: Dmitry Verkhoturov <paskal.07@gmail.com >
* Fix uploading disabled message
Co-Authored-By: Dmitry Verkhoturov <paskal.07@gmail.com >
* Change phrase for empty token string
Co-Authored-By: Dmitry Verkhoturov <paskal.07@gmail.com >
* Fix grammar for invalid email string
Co-Authored-By: Dmitry Verkhoturov <paskal.07@gmail.com >
* change word for thread
Co-Authored-By: Dmitry Verkhoturov <paskal.07@gmail.com >
Co-authored-by: Dmitry Verkhoturov <paskal.07@gmail.com >
2020-03-19 11:31:43 -05:00
Nikolay Korotkiy and Umputun
79e1009b19
Updated Russian translation
2020-03-18 13:16:34 -05:00
Nikolay Korotkiy and Umputun
61b78a1beb
Added Finnish translation
2020-03-18 11:15:30 -05:00
Pavel Mineev and Umputun
0363855de8
add license field
2020-03-12 15:52:38 -05:00
Pavel Mineev and Umputun
24f0c19378
Update deps
...
* update vulnerable packages
* set fresh version of node because of using Object.fromEntries
2020-03-12 15:52:38 -05:00
konstantin krivlenia and Umputun
156f8e446f
check that all translation messages are commit
2020-03-12 15:45:35 -05:00
Pavel Mineev and Umputun
fe4b46f924
fix id and generate langs
2020-03-12 15:44:31 -05:00
Pavel Mineev and Umputun
0725013481
Hide error message after login
2020-03-12 15:44:31 -05:00
Pavel Mineev and Umputun
779839aeb4
Add error on image upload by anonymous user
2020-03-12 15:44:31 -05:00
Pavel Mineev and Umputun
c9485fab3f
Use named function for AuthPanel wrapped component
2020-03-12 15:44:31 -05:00
Pavel Mineev and Umputun
93fd445bd4
On-demand auth
...
* auth block was moved to comment form
* if comments on page read only auth form shows in old place
* comment value in form will be saved between refreshes (it is side effect form saving comment value between unauth and auth states)
2020-03-12 15:44:31 -05:00
Dmitry Verkhoturov and Umputun
d85e185aa1
add caddy documentation
2020-03-09 12:59:24 -05:00
Umputun
7497561d9c
set anonymose with admin names to blocked #605
2020-03-08 15:37:31 -05:00
Pavel Mineev and Umputun
827bc7dc40
Fix sorting
2020-03-08 00:14:03 -06:00
Pavel Mineev and GitHub
85c71716f9
Small refactoring ( #609 )
...
* Move visibility param from redux store to local state
* use func for parsing location.search
* Remove bad wrapper
* we already have wrapper with NODE_ID on page and we shouldn't another one with the same id on page
* move common part of markup to level up
* Tinny refac of setSorting
* add dummy types for pollyfils
also, a bit rewrited way to resolve imports
* Move sort flag to local store
Because we don't need to share this param between diffrent parts of interface
* Add action creators
* move action to action creators
* Remove unused functions
* Merge in conditions in one
* One way for export API methods
* add default tags
* Rewrited changing read only mode
* removed unused function
* set sort changes
* always send sort from store
* rollback if sort don't work
* constanst
* add typing
* shorten export
* remove double define of host
2020-03-07 12:25:18 -06:00
Pavel Mineev and Umputun
30f3ffe517
Reduce size of last-comments widget
...
* use one api method insted full api file
* remove debug for preact
* use smaller constans file
* move unique constants
2020-03-07 03:59:03 -06:00
konstantin krivlenia and Umputun
ea4e95c710
fix markup for subscribe block for long description
2020-03-07 03:58:34 -06:00
Christian and Umputun
f0eeb37dc0
Fixed typo
2020-03-06 12:22:32 -06:00
Christian and Umputun
2287e2a889
Added german translation
2020-03-06 12:22:32 -06:00
Umputun and GitHub
75663ee227
Merge pull request #599 from Mavrin/use_css_custom_properties_for_colors
...
Use css custom properties for colors
2020-03-06 01:21:26 -06:00
konstantin krivlenia
f6e73299cd
#5 fix after rebase
2020-03-05 12:35:16 +03:00
konstantin krivlenia
6aeb72c3d9
#5 implement POC for theming api
2020-03-05 12:35:15 +03:00
konstantin krivlenia
be6aa8314b
#5 use css custom properties instead of color constant
2020-03-05 12:34:40 +03:00
b22cd5f76a
Add localization ( #602 )
...
* #10 add localization
* #10 revert locale from dev page
* #10 add more examples
* #10 localize auth panel
* #10 localize some comment message
* #10 localize some comment form message
* #10 translate vote messages
* #10 translate comment message
* #10 use messages value for translate reference
* #10 fix compile issue
* #10 use messages value for translate reference
* #10 use messages value for translate reference
* #10 use messages value for translate reference
* #10 use messages value for translate reference
* #10 use messages value for translate reference
* #10 translate comment message
* #10 translate comment form
* #10 translate comment form
* #10 translate root component
* #10 translate user info
* #10 translate settings
* #10 translate settings
* #10 translate toolbar
* #10 translate errors messages
* #10 sort dict
* #10 fix after rebase
* #10 localize anonymousLoginForm
* #10 localize emailLoginForm
* #10 update size-limit
* #10 localize subscribe by rss
* #10 localize subscribe by email
* #10 add de locale
* #10 increase limit size
* #10 auto generate loadLocale
* #10 add some documentation
* #10 fix error messages
* fix typo
* don't bundle en locale
* fix message id
* change size limits
* Update extract message pattern
Co-Authored-By: Pavel Mineev <pavel@mineev.me >
Co-authored-by: Pavel Mineev <pavel@mineev.me >
2020-03-04 14:56:00 -06:00
konstantin krivlenia and Umputun
5039e8d277
optimize last comment widget
2020-02-22 12:55:25 -06:00
konstantin krivlenia and Umputun
ffb41abfd4
optimize bundle sizes
2020-02-22 00:48:22 -06:00
Konstantin Krivlenia and GitHub
390ecbe8d9
Cleanup embed.ts and add limit-size checker ( #601 )
...
* Cleanup embed.ts and add limit-size checker
* add size limit for dist files
* check only size of files
2020-02-19 16:08:35 -06:00
Konstantin Krivlenia and GitHub
11327cee5b
Introduce stylelint ( #600 )
...
* introduce stylelint config
* run stylelint check on ci
2020-02-16 11:25:59 -06:00
Umputun
1334048d89
allow /api/v1/user calls for robots
2020-02-09 14:41:38 -06:00
Pavel Mineev and Umputun
75ff933add
Small restyling of comment elements
...
* quote with left border and without background
* style for old code insetions (structure pre > code)
* unified elemets margins
* 1px separator height
2020-02-09 13:49:58 -06:00
Pavel Mineev and Umputun
90bd79abbb
Add style for code element
...
* code-highlight.scss was moved
* css vars was defined in `raw-content`
* `pre` styles was used for `code`
2020-02-09 12:18:56 -06:00
d081bf4a24
Code colors ( #592 )
...
* render code htm with classes
* code highlight styles
* revert unneded gitignore change
Co-authored-by: Umputun <umputun@gmail.com >
Co-authored-by: Dmitry Verkhoturov <paskal.07@gmail.com >
2020-02-09 03:18:42 -06:00
1e548eb85f
Code colors (backend support) ( #590 )
...
* testing code highlight with bfchroma render
* add bfchroma vendoring
* render code htm with classes
* adjust bfchroma test cases inside formatter
* go mod tidy
* fix markdown code render tests
* adjust comment text sanitizer to permit code HTML classes
* go mod tidy
* add chroma classes list regexp
* unify gitignore entries style
Co-authored-by: Umputun <umputun@gmail.com >
2020-02-08 21:11:12 -06:00
Umputun and GitHub
b566d7f844
Merge pull request #589 from paskal/blackfriday
...
Replace blackfriday.v2 with blackfriday/v2
2020-02-07 15:25:37 -06:00
Dmitry Verkhoturov
62c43cce77
replace blackfriday.v2 with blackfriday/v2
2020-02-07 22:15:05 +01:00
Pavel Mineev and Umputun
d22e364d1b
Autosubmit token by paste and a bit more ( #583 )
...
* Use lib for typing tests instead copied types
* add jwt utils
* Add autosending
* fix
* tests
* remove atob and fix tests
2020-01-28 00:38:02 -06:00
019fa9e5ac
Simpler image service ( #580 )
...
* fix potential race on close
* move validate inside
* demote commit and cleanup in image.Store to non-exposed functions.
* replace immediate image commit with delayed via Submit
* minor: remove error logging, rename tests
* minor: err wrapping, comments wording
* clarify FileSystem.Save code
* attempt to fix #584 by making submitted image commits on a half of TTL
Co-authored-by: Dmitry Verkhoturov <paskal.07@gmail.com >
2020-01-27 14:17:58 -06:00
Umputun
be3e5f0246
set exclude-use-default: false for linter
2020-01-27 14:17:05 -06:00
Artur Mullakhmetov and Umputun
22a88c579f
Fix unstable test
...
Make comment consistent with code
Decrease timeout param to prevent unwanted 200 response
2020-01-26 11:35:17 -06:00
Artur Mullakhmetov and Umputun
dcab5a1622
switch image interpolation to CatmullRom
2020-01-26 11:35:17 -06:00
Umputun and GitHub
5ecea4f80c
Update FUNDING.yml
2020-01-26 11:30:49 -06:00
Pavel Mineev and Umputun
1804571d4d
fix
2020-01-24 00:17:32 -06:00
Pavel Mineev and Umputun
45f929868a
fix name line break and add styles for blockquote
2020-01-23 21:45:32 -06:00
Dmitry Verkhoturov and Umputun
f97d8232ed
Add subscription link support to notification email verification template ( #573 )
...
* add subscription link support to notification email verification template
* always show token for email subscription in verification email
* hide SubscribeURL from users
2020-01-20 18:27:23 -06:00
Pavel Mineev and Umputun
091ac9b4c1
Add shallow equality
2020-01-20 13:17:27 -06:00
Vyrtsev Mikhail and Umputun
029f50c52c
do not render dummy for comment once it gets into viewport
2020-01-19 12:51:28 -06:00
Dmitry Verkhoturov and Umputun
8c37fac06e
actualise CLI options information in the readme
2020-01-19 04:10:55 -06:00
Umputun
4d2ed6bde4
typo in version info print
2020-01-18 22:42:51 -06:00
Umputun
f30f9b97af
missing methods comments
2020-01-18 22:39:21 -06:00
Anton Panferov and Umputun
d69495a9e4
Preserving external images (issue #399 ) ( #447 )
...
* added passing userID to formatters
* added images preserver
* pinned version of golangci-lint
* implemented caching in proxy
* added tests for caching proxy
* removed previous implementation
* removed passing userID into formatter
This reverts commit 05014a5b24190836958377fcd7304294ed02f061.
* made linter happy
* removed storing image extension for FS store
* fixed bug with context cancelation preventing reading downloaded image
* fixed bug with trusting return value and ignorring error
* updated README
* added nolint for sha1
* removed unused resized flag
* added backward compatibility for config
* added handling deprecated cli parameter
* corrected func comment
* made linter happy
* made linter happy
2020-01-18 22:31:30 -06:00
Dmitry Verkhoturov and Umputun
0b55c4f7ad
lower Cache-Control max-age from 24h to 1h to increase speed of updates delivery
2020-01-18 17:58:58 -06:00
Dmitry Verkhoturov and Umputun
540d828ea1
fix ParentCommentDate in email template, fix #561
2020-01-17 17:19:19 -06:00
Pavel Mineev and Umputun
a3d038f75b
fix
2020-01-16 16:42:07 -06:00
Dmitry Verkhoturov and Umputun
8148650247
Update documentation for email capabilities ( #555 )
...
* replace deprecated email variables names with new ones
* clarify email authentication instructions
* add email notifications documentation
* add explanation screenshots
* fix punctuation and typos
2020-01-16 11:20:33 -06:00
Umputun
b0898cd1f3
add cache control for frontend assets
2020-01-15 15:07:45 -06:00
Pavel Mineev and Umputun
b082c2a82f
Fix
...
* fix score position
* add margin before bloquote if it is placed after text
2020-01-15 02:44:05 -06:00
Pavel Mineev and Umputun
4f38c3ea31
FIx height of comment info
2020-01-15 01:50:10 -06:00
Pavel Mineev and Umputun
658279379a
Update email templates ( #550 )
...
* Update email templates
* Fix README
* fix detail
* fix typo
* Changes connected with comment at issue
https://github.com/umputun/remark/issues/494#issuecomment-570801318
* Unify styles between templates
* remove breaking words
* use the same prefix for parent and child
2020-01-15 01:22:00 -06:00
Pavel Mineev and Umputun
ce01a347ca
Collapse comment by thread border ( #545 )
...
* collapse comment by border
* Fix after review
* hide avatar in collapsed state
* fix lines icon
2020-01-14 17:11:30 -06:00
Dmitry Verkhoturov and Umputun
d0ddd8aa80
Unify SMTP settings in separate section ( #536 )
...
* move SMTP settings to separate group
* move deprecated options in separate section in readme
* adjust variables in docker-compose
* add description to SmtpGroup
* remove SMTP option setting which is already set to same value
* remove smtp port default for consistency
* add server deprecated functions handling
* satisfy linter
* add missing bracket in description
* add test for handleDeprecatedFlags
* add HandleDeprecatedFlags function to CommonOptionsCommander
* improve HandleDeprecatedFlags behavior
* add missing result check to ServerCommand.HandleDeprecatedFlags
2020-01-14 14:49:39 -06:00
Konstantin Krivlenia and Umputun
17be003652
#378 Emoji suggestions ( #546 )
...
* #378 add emoji suggestion
* #378 use lazy load for nodeEmoji
* #378 apply remark styles only for light theme
* #378 add dark theme
* #378 fix test
* #378 use permanent class names
* #378 flip if else for readability
2020-01-13 18:26:32 -06:00
Umputun
3c12fde0f8
fix .golangci.yml location inside docker build
2020-01-13 18:19:57 -06:00
Stas and Umputun
b2176a175d
Use golangci lint action ( #549 )
...
* Use action insted download binary file
* Update ci
* Add config option
* Use pre-built docker image for golangci-lint-action
* Remove pre build docker action
* Update action name
* Remove env
* Update ci file
* Add working directory
* Change GITHUB_WORKSPACE
* Update ci file
* Fix ci
* Comment golangci-lint-action
* Update working-directory
* Fix path
* Update ci-build.yml
* Update path
* Revert changes
* Update .golangci.yml
* Add new path for triggers ci
* Separate steps
* Add working-directory
* Add test pwd and ls
* Fix working directory
* Update script for linting in Dockerfile
* Move .golangci.yml to dir backend
* Delete unnecessary word
* Remove multiline string
* Reformat multiline strings to single
* Update disable-all option
2020-01-13 10:56:56 -06:00
Pavel Mineev and Umputun
3447afffdd
fix position on "show more" button
2020-01-12 13:01:04 -06:00
Pavel Mineev and Umputun
7b67b10d5d
Run es-check by cli
2020-01-08 16:18:39 -06:00
Pavel Mineev and Umputun
7d9e8ce076
UI for email subscription ( #537 )
...
* Add api methods for subscription
* Small changes
* little changes in remark.tsx
* disallow pass className to Button and Input
* Subscribe block
* add RSS and Email subscription drobdowns
* add hook useTheme
* unify dropdown import/export
* Change API
* rename subscribe methods
* add unsubscribe method
* Add email subscription to settings and user
* Refactor and add new steps
* render by single component
* add final step
* add unsubscribe step it user is subscribed
* Add tests
* Update subscription logic
* test without mocking redux methods but with mocking store
* update user in store after subscribe and unsubscribe
* little changes in subscription flow
* fix drobdown size
* Fix RSS subscription link for site
* fix link
* add test for RSS subscription
* Fix showing email subscription
* it don't show to unauth users
* it don't show to anonymous users
* it tested
* isUserAnonymous is a bit rewrited
* isUserAnonymous is tested
* Make Email button visible for anon users
* React X supporst Fragments thats why .babelrc changed
* disabled button is more visible
* fix hovering on disabled buttons
* create mocks for tests
* move email dropdown to __subscribe-by-email
2020-01-08 13:55:50 -06:00
Pavel Mineev and Umputun
bfa308e8da
Allow voting for anonymous users
2020-01-07 23:43:49 -06:00
Pavel Mineev and Umputun
5ee76febf2
Update vulnerable dependencies
2020-01-07 18:33:23 -06:00
Dmitry Verkhoturov and Umputun
e4d982dbca
Delete user email on /deleteme request ( #540 )
...
* delete user email on deleteme request
* add tests for user email deletion in /deleteme request
2020-01-07 14:49:24 -06:00
Dmitry Verkhoturov and Umputun
eeb9c72248
check user equality for email notifications only by ID
2020-01-07 14:25:27 -06:00
Pavel Mineev and Umputun
a309fc8fb0
Refactor preloader
...
* make it simple (use only one DOM element for preloader)
* remove useless test (it tests nothing)
* unify preloader import/export
2020-01-07 11:14:59 -06:00
Pavel Mineev and Umputun
78bb9dd153
Add auto-changing theme for development
...
Theme is changing follows to OS settings.
2020-01-07 03:57:34 -06:00
Pavel Mineev and Umputun
c660d2a522
Change text sign in to login
2020-01-05 18:35:22 -06:00
Pavel Mineev and Umputun
07137b34e7
Run prettier on all files
2020-01-05 17:52:25 -06:00
Pavel Mineev and Umputun
51d2310c1f
Nice inputs and buttons ( #510 )
...
* Set default font in examle
* prettify file
* add ui elements
* Use UIButton at AuthPanel
* sort deps
* remove unsed getUserTitle method
* move UserId inside AuthPanel
* tests
* use UIButton and UInput in Anonymous login
* Use UIButton and UIInput in email login
* Replace Button to UIButton
* fix context for onTitleClick in dropdown
* rearrage class props in dropdown
* TODO: change finding over DOM to using ref
* Use UIButton in input
* rearrage deps
* Use UIButton in comment
* test
* Focus and Input buttons
* custom focus style for inputs and buttons
* the same focus style for comment input
* align buttons by top line in input
* Token dropdown & hover fix
* disable hover when button disabled
* make token dropdown markup in new style
* Fix trailing comma
* update prettier
* move prettier config to json format because it is more hendy for settings
(for example vscode can suggest rules)
* prettier fixed trailing comman in ejs
* Remove unnecessary conditions
* Files was formatted by Prettier
* fix cursor pointer on collapse button
* Move components and right naming
* ui-button -> button
* ui-input -> input
* input -> comment-form
* Change cursor behavior on disabled state
* Change button style
* font-weight: normal by default
* add small border-radius
* Change another one button to component
* Fix autofocus on username in email login form
* use preact inbuild autoFocus
* fix autofocus on back from token step
* sleep for 0s enough to wait next render before focus
* use more specific name for username input
* fix line-height at auth line on mobile
* fix className
2020-01-05 14:58:10 -06:00
Umputun
aea7724769
populate version info to the local builds
2020-01-05 14:36:53 -06:00
Pavel Mineev and Umputun
c49b88d930
I removed build actions from test part
2020-01-05 14:17:30 -06:00
Dmitry Verkhoturov and Umputun
d15176f36d
Add email subscription info to User information ( #528 )
...
* replace store.Locator with SiteID where only it is used
* add EmailSubscription flag to User information
* add /user endpoint test for email subscription
2020-01-05 13:42:16 -06:00
Pavel Mineev and Umputun
2efab67640
fix warnings
2020-01-05 12:59:35 -06:00
Pavel Mineev and Umputun
01f19ea511
fix rtl typing in ie11/edge
2020-01-05 12:58:54 -06:00
tim.ivaikin and Umputun
a4d10f54dd
Support for 3x devices including 11 Pro and MacPro
2020-01-05 12:58:25 -06:00
tim.ivaikin and Umputun
0462cbcd9e
Added retina display support
2020-01-05 12:58:25 -06:00
Umputun
d0925ba95f
ident ci lists for better readability
2020-01-04 21:09:27 -06:00
Umputun
d06a27193c
add codeowners file
2020-01-04 20:49:56 -06:00
Dmitry Verkhoturov
c56c39c59d
separate build and test CI workflow, separate frontend and backend tests
2020-01-04 20:53:39 +01:00
Dmitry Verkhoturov and Umputun
b7980849b2
improve TestService_WithDrops failure output
2020-01-04 12:53:31 -06:00
Dmitry Verkhoturov and Umputun
88e46446b6
remove empty lines from dockerfile
2020-01-04 12:53:31 -06:00
Umputun
3307394932
don't run any test on rundev target, use private compose
2020-01-04 01:36:44 -06:00
Pavel Mineev and Umputun
c69e375e45
Add "simple view" mode ( #502 )
...
* Add "simple view" mode support
It just hide elements from view when SIMPLE_VIEW recived from server
* Fix typing and add ts check before push
* proper input styling
* Changes for frontend dev compose
* remove SIMPLE_VIEW from default settings for forntend dev
* add private compose to gitignore
* Added simpleView mode for replay and edit modes.
* `simpleView` changed to required param
* FIx border-width in reply form
* Fix border-width in editing mode
2020-01-04 01:31:06 -06:00
Dmitry Verkhoturov and Umputun
4cae7f0324
make TestServerApp_MainSignal more robust
2020-01-02 14:35:50 -06:00
Dmitry Verkhoturov and Umputun
07a14edc3b
adjust name for CI build with frontend tests
2020-01-02 14:35:50 -06:00
Umputun
b434f52aa1
resolve potentially concurrent writes to bolt in service tests
2020-01-02 14:02:16 -06:00
Umputun and GitHub
ffc81f1f78
Merge pull request #519 from akellbl4/fix/hide-error-in-email-form
...
Hide error after repeated request in email login form
2020-01-02 11:54:50 -06:00
Pavel Mineev
ff83b446b8
Fix error hiding after repeated request
2020-01-02 15:19:13 +03:00
Umputun and GitHub
82d0cb97d1
Merge pull request #518 from mullakhmetov/close-testserver
...
Shutdown test servers
2020-01-01 16:13:37 -06:00
Artur Mullakhmetov
2d942f0a2c
Shutdown test servers
2020-01-02 00:29:43 +03:00
Artur Mullakhmetov and Umputun
12b916b097
Make test offline friendly
2020-01-01 15:14:26 -06:00
Dmitry Verkhoturov and Umputun
6f9c87850a
Adjust tests timouts to work on machine with HDD ( #516 )
...
* increase timeout for TestServerAuthHooks http client
* replace assert.Equal checks for slice length with require.Equal
* unify channel name across tests
* fix panic in Test_Main
* increase TestRest_CreateWithPictures timeout for HDD slowness
* increase TestService_VoteSameIPWithDuration timeout for HDD slowness
* increase go test timeout for HDD run
* increase TestRest_CreateWithPictures timeout for HDD slowness
2020-01-01 14:46:39 -06:00
Pavel Mineev and Umputun
25782d7d3e
fix ts error
2019-12-30 15:53:33 -06:00
Umputun
4352c86d1f
Merge branch 'master' of github.com:umputun/remark
2019-12-30 15:31:05 -06:00
Umputun
9660f7ea7e
add more private composes to ignore
2019-12-30 15:25:13 -06:00
Dmitry Verkhoturov and Umputun
a1f8ad7bd8
expose email_notifications flag on /config endpoint ( #514 )
2019-12-30 15:05:55 -06:00
Dmitry Verkhoturov and Umputun
dbd83a1f0d
Fix flapping TestRest_ tests ( #513 )
...
* replace single-member wait groups with channels
* increase TestRest_LastCommentsStreamSince comment write delay
* increase timeout for TestRest_InfoStreamCancel
* increase TestServerApp timeout
* adjust waiting time in TestRest_LastCommentsStreamSince in attempt to fix false positive
* adjust comments waiting location in multiple TestRest_ tests
2019-12-30 14:31:49 -06:00
Dmitry Verkhoturov and Umputun
20f667bd1d
Improve TestMigrator_* tests reliability ( #512 )
...
* simplify api tests set up
* close DataStore\Engine in all test code after usage
2019-12-30 13:41:24 -06:00
Dmitry Verkhoturov and Umputun
f416c6c5eb
Fixes for multiple tests ( #511 )
...
* improve TestServer* reliability
* improve TestService_UserReplies reliability
* increase timeout for Test_Main
* improve TestRest_CreateWithPictures readability and reliability
* introduce random port to REST over SSL tests
* tinker TestRest_InfoStreamSince to have more slack before failure
* finalize test errors check unification
* simplify prepServerApp in cmd package tests
* improve TestRest_InfoStreamCancel reliability
2019-12-30 12:09:05 -06:00
Dmitry Verkhoturov and Umputun
62cc504600
Improve Test_Main reliability ( #509 )
...
* adjust TestServerApp_WithSSL to use sslPort in all test checks
* make Test_Main reliable and remove 5s sleep
* make test finishing reliable using "done" channel for TestServerApp*
2019-12-30 03:44:10 -06:00
Dmitry Verkhoturov and Umputun
fddb737657
Improve TestServer* tests reliability ( #508 )
...
* explicitly ignore error from test connection close
* add client with timeout to places which used default http client
* move random port creation and waiting for server in separate function for reuse
* improve TestServer tests robustness
* move all server waiting code in tests to separate functions
* change chooseRandomUnusedPort to try to listen to port before return
* fix waitForHTTPSServerStart
2019-12-29 20:46:22 -06:00
Dmitry Verkhoturov and Umputun
b82be0cc2d
Check if the port already in use in TestRPC_ tests server startup ( #506 )
...
* check if the port already in use in TestRPC_ tests server startup
* check for open port instead of for HTTP server listening
2019-12-29 18:24:42 -06:00
Dmitry Verkhoturov and Umputun
f319cf3c05
fix "address is already in use" for TestRest_RunStaticSSLMode and TestRest_RunAutocertModeHTTPOnly ( #507 )
2019-12-29 17:47:20 -06:00
Dmitry Verkhoturov and Umputun
36b4f6774c
make TestRPC tests reliably wait for HTTP server to start ( #505 )
...
* make TestRPC tests reliably wait for HTTP server to start
* adjust the wait period to be limited by 3 seconds
2019-12-29 16:23:47 -06:00
Dmitry Verkhoturov and Umputun
828aeda9b1
fix flapping TestFsStore_Cleanup ( #504 )
2019-12-29 16:02:36 -06:00
Dmitry Verkhoturov and Umputun
7bab10ab57
Replace "(Not)Nil" test checks for errors with with "(No)Error" ( #503 )
...
* replace "(Not)Nil" test checks for errors with with "(No)Error"
* unify error text checks style
* clarify error check in tests in memory_store
2019-12-29 15:42:39 -06:00
Umputun
fe4e38a5b1
add make targets for backend build and test
2019-12-29 13:27:36 -06:00
Dmitry Verkhoturov and Umputun
9df2b2a9ed
Move email unsubscription endpoint outside of API and make it HTML ( #500 )
...
* move email unsubscription page outside of API and make it HTML
* make separate HTML template for SendErrorHTML
* fix error template name
* add test for SendErrorHTML, introduce MustExecute function
* fix content check in test of TestSendErrorHTML
* fix logging test to be more generic and not depend on line numbers
2019-12-27 01:04:57 -06:00
Dmitry Verkhoturov and Umputun
b055c61be7
Add backend support for anonymous voting ( #501 )
...
* add backend support for anonymous voting
* add test for anonymous user voting
* clarify test code
2019-12-26 17:42:03 -06:00
Umputun and GitHub
151809825a
Merge pull request #499 from paskal/improve_service_tests
...
Add unit tests for service operations with user details
2019-12-22 16:04:57 -06:00
Dmitry Verkhoturov
997127f33e
add tests for service operations with user details
2019-12-22 22:23:37 +01:00
Dmitry Verkhoturov and Umputun
fde6f520c9
improve email notifications tests coverage ( #498 )
2019-12-21 11:31:01 -06:00
Umputun
3eacd6f201
add freebsd binary build target
2019-12-18 07:58:28 -06:00
Umputun
3b06571f62
inject version number to bin builds #456
2019-12-17 03:22:10 -06:00
Umputun
0e19d11df8
reformat mock
2019-12-17 02:54:58 -06:00
Dmitry Verkhoturov and Umputun
6a5cd79074
docker-compose format and comment fixes ( #492 )
...
* fix typos in readme
* unify format of docker-compose files, fix comments
2019-12-17 01:36:10 -06:00
Dmitry Verkhoturov and Umputun
d23d119d70
Add API methods for setting and deleting email ( #483 )
...
* add API methods for setting and deleting email
* fix service.SetStringUserDetail signature to return string
* switch table test with description to t.Run()
* remove debug logging
* clarify error handling, functions names
* add email integration test
* add information about email subscription to readme
* change email API calls method from PUT to POST
* typo fix, remove unneeded capturing of range variable
* email test draft
* fix notify mock, email notification test draft
* add MockDestination to startupT return
* fix tests
* add email retrieval for notifications sending
* fix mock for notify
* rearrange mock notify declaration
* add GET /email API handler, fix typos
* revert startupT signature change
* get rid of startupTWithDest workaround
* add rest examples for rest notification
* improve email messages formatting
* fix email send repeater location
* remove unneeded context from sendMessage
* change signatures of buildMessage functions to have same field name
* add missing authenticate call on TLS connection
* add dev user auth token to email requests
* change email verification template
* email code and tests cleanup
* replace fixed spaces with normal ones
* human-readable variables names for new comment reply notification
* rename Comment to CommentText
* add html for comment email notification
* fix comment notification html style
* fix email test
* fix notify email messages rendering
* fix comments on rest examples for email
* explicitly state email notify email template fields
* clarify email API documentation
* change email test not to check quoted-printable part of message
* Fix link color, add unsubscribe link
* fix rest examples tokens
* add UnsubscribeLink support to Email
* add unsubscribe email handler
* fix new reply notification email style
2019-12-16 16:39:55 -06:00
Slava Semushin and Umputun
45fa60f5a1
README.md: fix a typo in a variable name from an example ( #491 )
...
s/TIME_ZINE/TIME_ZONE/
2019-12-15 21:28:40 -06:00
Dmitry Verkhoturov and Umputun
30c42ce36b
Multiple CI and code fixes ( #486 )
...
* enable golangci-lint for momeory_store example
* add race_test option to makefile
* prune lost goroutine in TestRest_Shutdown
* run race tests without cache
* fix ci pipeline
* fix typos
2019-12-09 12:30:07 -06:00
Dmitry Verkhoturov and Umputun
b40cb7866b
Email sender implementation ( #471 )
...
* email sender initial implementation
* add VerificationMetadata into notify.Request
* multiple review fixes
- customizable verification notification message subject
- clarify autoFlush nature in its commentary
- defer writer.Close in Email.sendEmail instead of calling it manually,
potentially missing the call if error happened between the creation and
closing.
* add explanatory commentary to notify.Request structure
* fix TCP connection timout commentary typo
* improve table tests presence
* introduce parallelism to tests
* abstract smtpClientWithMaker away
* fix incorrect Email reference in Email.sendMessages
* naming fixes, remove t.Parallel() from tests
* consistent space in commentary
* rename sendEmail to smtpSend, rearrange variables definitions
* switch Email to create new connection for every Send request
* fix tests for connection-per-submit email sending
* fix tests
* simplify sender object
2019-12-02 18:59:32 -06:00
Umputun and GitHub
ea8ac08c72
Merge pull request #480 from paskal/email_interface_clarification
...
Switch notify.Submit to receive notify.Request instead of store.Comment
2019-11-23 13:22:17 -06:00
Dmitry Verkhoturov
6c73a38c49
switch notify.Submit to receive notify.Request instead of store.Comment
2019-11-23 13:24:57 +01:00
Dmitry Verkhoturov and Umputun
ddd466ec41
implement user details storage ( #469 )
...
* implement (strings) user details storage
* add rpc user details implementation
* return error from getUserDetail, rewrite tests to table tests
* make UserDetails store UserDetailEntry instead of strings
* update comment about user_details
* fix confusing return
* add user details support for memory store
* add engine.UserDetailEntry to service.UserMetaData
* add ListDetails support to memory storage
* add user details support to native migrator, ListDetails func to storage
* go mod tidy for memory storage
* increase memory storage test coverage, fix tests naming
* add ListDetails tests to memory storage
* add engine.ListDetails and service.[Set]Metas tests
* change Fprintf to Fprint (triggered by explicitly ignoring error)
* remove Delete from engine.UserDetail, implement list via same method
* adjust service.Metas to new engine.UserDetails signature
* introduce engine.UserDetail("all") consonant
* fix Meta user detail retrieval
* extend store implementations Delete method with UserDetail deletion
* make UserDetail test answer order-independent
* fix flaky test check in TestMemData_FlagListBlocked
* delete user details alongside with comments on deleteme request
* add tests to UserDetail store.Delete implementations
* clarify engine module user details consonants names
* update comments to reflect current state of code
* check for value absence instead of it's length
* revert unneeded code change
* add extensive commentary on UserDetail return type
* remove unused check condition
* clarify UserDetail tests to be truly stateless
* add clarifying comment for pre-table test
2019-11-22 02:24:26 -06:00
Dmitry Verkhoturov and Umputun
773da16649
Improve memory store tests reliability ( #479 )
...
* remove unnecessary GIT_BRANCH export
* go mod tidy
* fix tests naming, improve coverage
* make flaky TestMemData_FlagListBlocked reliable
2019-11-17 15:47:01 -06:00
Umputun
6f969a0a76
fix _example test call
2019-11-11 18:55:23 -06:00
Umputun
ae40fbeaf4
add example test
2019-11-11 18:52:13 -06:00
Umputun
21e6360ca4
update deps and vendor
2019-11-11 18:50:30 -06:00
Umputun
6abb2727c4
switch to lcw cache
2019-11-11 18:50:09 -06:00
Umputun
f86f7dcc23
typo
2019-11-11 09:33:20 -06:00
Umputun
b41c539d48
Merge branch 'master' of github.com:umputun/remark
2019-11-11 09:29:39 -06:00
Umputun
5d50f0d794
typo
2019-11-10 17:02:34 -06:00
Umputun and GitHub
ffec9272ce
Merge pull request #475 from Smolevich/fix-readme
...
Add href for new paragraph in README.md
2019-11-10 16:23:54 -06:00
Umputun
0672cb41d4
change From email to example.com
2019-11-10 16:17:41 -06:00
Umputun
f821049d34
add docs about email
2019-11-10 13:13:43 -06:00
Umputun
c5c065975a
adjust tests for updated error logs
2019-11-09 13:50:14 -06:00
Umputun
731bcb9606
remove caller ip from logs on http errors
2019-11-09 13:45:36 -06:00
Umputun
0ebf5e1822
make docs to allow easier contributions #422
2019-11-09 13:33:36 -06:00
Umputun
9831f75ea9
promote rest errors to WARN level
2019-11-09 12:34:19 -06:00
Umputun
96d19afbb4
correct twitter auth description
...
https://github.com/umputun/remark/commit/38e9dc97e63890c3bd65970e888bf7d47c47e1ff
2019-11-09 12:14:57 -06:00
Shupilkin Stanislav Yurevich
2e473ae1b8
Add href for new paragraph in README.md
2019-11-08 18:24:34 +03:00
Umputun
38e9dc97e6
add auth twitter info
2019-11-08 01:54:13 -06:00
Umputun
18ae77a806
longer streamer timeout in cancel test
2019-11-06 17:01:43 -06:00
Umputun
9269666931
add simple-view param and env (SIMPLE_VIEW) #474
2019-11-06 13:47:45 -06:00
Dmitry Verkhoturov and Umputun
7536e265b2
Change coveralls to use build-in GITHUB_TOKEN ( #465 )
...
* change coveralls to use build-in GITHUB_TOKEN (should work in forks)
* send GITHUB_REF as GIT_BRANCH
* add debug output
* change service to github
* remove debug output
* move COVERALLS_TOKEN to environment, remove argument
2019-11-05 18:13:25 -06:00
Umputun
4c7e454d86
fix login url with wrong ? #463
2019-11-05 12:45:06 -06:00
Umputun
95fa79241b
add details to aud mismatch message
2019-11-05 12:19:01 -06:00
Umputun and GitHub
9b570ae273
change to github sponsors
2019-11-04 18:59:07 -06:00
Umputun
dff1e97604
remove ci debug prints
2019-11-01 03:08:13 -05:00
Umputun
524e963130
show GITHUB_EVENT_PATH content
2019-11-01 03:03:18 -05:00
Umputun
8494296b85
fix out lcov name
2019-11-01 02:31:30 -05:00
Umputun
aa5ebda1eb
convert 2 lcov manually
2019-11-01 02:27:32 -05:00
Umputun
9c5d1840ae
use short path for coverage reports
2019-11-01 02:18:30 -05:00
Umputun
8bfe66e725
split coveralls
2019-11-01 02:13:04 -05:00
Umputun and GitHub
37b2f48144
Actions ( #458 )
...
* remove coverage report from docker, add build and test step to actions
* install deps to actions
* formatting fix
* install go 1.13
* change linter location
2019-11-01 02:01:24 -05:00
Umputun
b706bbaf05
trigger rebuild
2019-10-31 23:40:42 -05:00
Umputun
93c9a2e608
remove service selection
2019-10-31 23:19:57 -05:00
Umputun
a60128a957
pass GITHUB_REPOSITORY to ci
2019-10-31 22:58:46 -05:00
Umputun
cd5f0b3b91
typo in passing env to ci docker build
2019-10-31 22:34:53 -05:00
Umputun
93103534bc
ling: nolint for choice in flags
2019-10-31 22:20:32 -05:00
Umputun
cdcf5171cf
lint: new warnings from 1.21 golang-lint
2019-10-31 22:09:28 -05:00
Umputun
ecb804ce41
update coveralls badge link
2019-10-31 21:56:40 -05:00
Umputun
e9cf8ca69e
pass more env to ci build to make coveralls happy
2019-10-31 21:43:26 -05:00
Umputun
3ad37810e6
add build compat with actions
2019-10-31 21:05:55 -05:00
Umputun
c154fae28f
rename actions, replace travis badge by action's
2019-10-31 20:38:13 -05:00
Umputun and GitHub
776b9117fc
CI changes ( #457 )
...
* make tests more resilient
* adjust drone for v1.x and dev-box, remove travis support
* add backend build step on branch for drone
* fix from email
* change notif email
* less demanding test wait
* add settings section to drone plugins
* adjust branch build
* convert all drone ci docker confs
* rename drone targets
2019-10-31 20:20:18 -05:00
Umputun
3a7ae4f616
revert increase import expired timeout
2019-10-29 03:56:36 -05:00
Umputun
9bd4519e48
increase import expired timeout
2019-10-29 03:51:13 -05:00
Umputun
653238bc99
increase test timeouts
2019-10-29 02:43:11 -05:00
Umputun
f859239bdf
faster import test
2019-10-28 23:34:36 -05:00
Umputun
ab0866cb77
randomize bold db for native migrator test
2019-10-28 22:19:14 -05:00
Umputun
488f9bedcf
add image.bolt.file info
2019-10-28 21:40:27 -05:00
Umputun and GitHub
9be7925246
Merge pull request #454 from Reeywhaar/preact-10
...
update preact to preact 10
2019-10-27 19:43:36 -05:00
Vyrtsev Mikhail
a2e508cc1e
update deps
2019-10-28 02:46:34 +03:00
Vyrtsev Mikhail
02b2895cac
update Preact to Preact X
2019-10-28 02:30:49 +03:00
Vyrtsev Mikhail
4240a4d6ee
update minor deps
2019-10-27 23:22:58 +03:00
Vyrtsev Mikhail
4f3400e594
update Comment type
2019-10-27 23:22:57 +03:00
Umputun
eb67ba85d1
update deps
2019-10-27 13:57:10 -05:00
Umputun
6ad2263859
Merge remote-tracking branch 'origin/master'
2019-10-27 13:32:40 -05:00
Umputun and GitHub
cc5e8a6356
Merge pull request #453 from StaroKep/fix/452_dark-theme-shows-white-preview
...
Dark theme shows white preview #453
2019-10-24 15:56:21 -05:00
Kirill Eremin
64b2830b5b
fix
2019-10-24 23:37:17 +03:00
Vdimir and Umputun
b7045d9771
Add bolt image storage ( #449 )
...
* Add bolt image store support
* Fix lint errors
* Use separate bolt buckets for staging and commited
* Comment bolt store public entities
* Fix spelling
2019-10-22 02:35:48 -05:00
Umputun
58f92062d9
Merge branch 'master' of github.com:umputun/remark
2019-10-19 13:05:27 -05:00
Umputun and GitHub
d7faf2df0e
Merge pull request #448 from Vdimir/backend-test-timeout-param
...
Add parameter to change backend test timeout
2019-10-19 12:42:43 -05:00
VDimir
13bdf8358a
Add parameter to change backend test timeout
2019-10-19 12:48:49 +03:00
Umputun
7644259a38
update deps
2019-10-17 15:50:59 -05:00
Umputun and GitHub
a310e222d9
Merge pull request #442 from umputun/twitter-auth-70
...
add twitter to the list of providers on frontend #70
2019-10-10 11:29:39 -05:00
Umputun
d14f7e2c47
add arm target arch #444
2019-10-10 00:33:10 -05:00
Umputun and GitHub
71742f5cfa
Merge pull request #443 from smaant/fix-development-docs
...
Fix docs
2019-10-09 16:36:14 -05:00
Anton Panferov
43ebc61eca
removed mongo mentions
2019-10-09 11:26:56 -10:00
Anton Panferov
74a58562f0
corrected non docker run command
2019-10-09 11:25:50 -10:00
Umputun
da63dd2c78
add twitter to the list of providers on frontend #70
2019-10-08 03:14:24 -05:00
Anton Kosourov and Umputun
4dc123dbe8
Change url in comments, decorate approach ( #431 )
...
* WIP: url mapper, wrapped reader approach
* create url mapper on start
* add pattern matching in mapper
* check pattern matching in test
* change site-id from radio-t to remark42 in tests
* create new url mapper on demand, based on given func, union strict and prefix rules
* rename convert to remap
* add import with mapper test
* rename mapper func to UrlMapperMaker, create comments in test via data service
* move /import/wait to /wait ctrl
* add remap cmd
* fix url naming
2019-09-30 13:12:42 -05:00
Misha Vyrtsev and Umputun
6b2addc280
Fix #430 ( #440 )
...
* add postMessage util
* use scrollTo via postMessage (fixes "scroll to parent" on Safari #430 )
* use postMessage
2019-09-29 15:38:09 -05:00
Misha Vyrtsev and Umputun
9fbdff106d
Update deps 2019 09 ( #439 )
...
* update minor deps
* update minor deps
* update major deps
* fix eslint warnings
2019-09-29 14:09:00 -05:00
Umputun and GitHub
ea2a15ea8e
add patreon link
2019-09-27 12:03:16 -05:00
Umputun
1cbedb85b0
fix -time sort for user comments
2019-09-26 23:06:20 -05:00
Umputun and GitHub
8cf611690a
Merge pull request #437 from bessarabov/patch-1
...
Added missing comma to the snippet code in README
2019-09-22 13:33:24 -05:00
Ivan Bessarabov and GitHub
851c9dc3b0
Added missing comma to the snippet code in README
2019-09-22 16:19:45 +03:00
Stas and Umputun
582c9d6bce
Fix problem with DEBUG variable ( #435 )
...
* Fix problem with DEBUG variable
* Add condition for starting ci on pull requests
* Add default value
* Add default value in another place
* Fix error in bash statement
* Replace && on if condition
2019-09-20 15:12:50 -05:00
Stas and Umputun
4f6c336f6c
Use GitHub actions as ci ( #434 )
...
* Add blank.yml
* Fix ci
* Update blank.yml
* Update blank.yml
* Add debug
* Show environments variables
* Add test env for travis
* Update blank.yml
* Update formatting
* Add env variable GIT_BRANCH
* Change setting CI
* Add quotes for env variable value
* change on in ci
2019-09-20 13:51:52 -05:00
Umputun and GitHub
14f267c89e
Delete FUNDING.yml
2019-09-12 17:44:12 -05:00
Umputun and GitHub
44021b4dac
Update FUNDING.yml
2019-09-12 17:43:43 -05:00
Umputun and GitHub
8eb00d94ad
Create FUNDING.yml
2019-09-12 17:42:41 -05:00
Umputun
e018fac6c4
revendor
2019-09-05 18:56:43 -05:00
Umputun
7971ebe6f4
ignore deleted comment for activity sorting
2019-09-03 16:39:14 -05:00
Umputun
cdc1ae1e85
fix dev mode test
2019-09-01 13:29:34 -05:00
Umputun
9c62453869
fix anon test failed due to email added
2019-09-01 13:24:31 -05:00
Umputun
44ff590183
reword template file description
2019-09-01 13:21:05 -05:00
Umputun
1300464d2d
Merge branch 'master' of github.com:umputun/remark
2019-08-27 03:33:43 -05:00
Umputun
22e5c25668
add custom email auth template
2019-08-27 03:33:34 -05:00
Umputun
074edc25ed
fix unstable auth hook test
2019-08-27 03:12:11 -05:00
Umputun
8b6452f938
missing delete event in edit request
2019-08-26 22:36:52 -05:00
Umputun
68235164ff
add OnEvent event to admin on each update/create/vote/delete
2019-08-26 20:53:04 -05:00
Umputun
e9414f7267
fix comment typo
2019-08-26 00:59:26 -05:00
Umputun
106c018ef1
mem store example updated with adm.Enabled support
2019-08-26 00:58:27 -05:00
Umputun and GitHub
3c321f8992
Verified site id ( #425 )
...
* WIP: start with aud verification
* adjust rest test for token's site_id remark42
* add tests for non-matching aud
* fix auth hook test with updates limiter
* check siteID with enabled call for static store
* fix site enabled check
2019-08-25 22:00:19 -05:00
Umputun
ef7476d3e1
change auth lib to 0.8.2, fixed user's aud promotion
2019-08-24 14:17:35 -05:00
Umputun
a6149ae064
add support for avatar store uri
2019-08-24 01:59:24 -05:00
Umputun
141c75401a
switch to latest baseimage allowing custom TZ and UID
2019-08-23 17:01:09 -05:00
Umputun
7fbf2cde61
add twitter auth #70
2019-08-23 03:17:31 -05:00
Umputun
c5b927904f
extend User struct with site_id/aud
...
updated to 0.8.0 of auth pkgs supporting user-space aud
2019-08-23 03:12:08 -05:00
Umputun
8d109901b8
Merge branch 'master' of github.com:umputun/remark
2019-08-20 00:07:19 -05:00
Umputun
07b16c46dc
unescape quotes from user name #415
2019-08-20 00:07:13 -05:00
Umputun and GitHub
2e90b6172b
Votes ip ( #416 )
...
* change vote params to request
* limit voting for the same ip
* limit same ip vote duration
* add same ip vote check for directions
* wire RestrictVoteIP and duration
* add votes-ip and votes-ip-time description
2019-08-19 14:04:12 -05:00
Umputun
9a5684de71
rename Blocked to better named BlockedUsers
2019-08-19 01:37:56 -05:00
Vyrtsev Mikhail and Umputun
d6d0109e80
change default post url from window.location.href to window.location.origin + window.location.pathname
2019-08-16 16:33:04 -05:00
Ivan Bessarabov and Umputun
f77ad01fbf
Fixing indent in README.md
2019-08-11 16:01:35 -05:00
Umputun and GitHub
3ec9d0d8b2
Merge pull request #407 from elnardu/patch-1
...
Small README.md fix
2019-08-05 13:58:05 -05:00
Elnard Utiushev and GitHub
d9e08b65a4
Small fix
...
The table mentions `positive-score` twice (lines 165 and 167)
2019-08-06 00:56:26 +06:00
Umputun
1c6c9d6dcf
increase timeouts in unstable tests
2019-08-05 01:28:14 -05:00
Umputun and GitHub
ae1f00f3a4
Merge pull request #402 from johnpuddephatt/master
...
Allow ID of container node to optionally be provided in comments widget config
2019-08-04 11:35:23 -05:00
Umputun and GitHub
0d4ee15df4
Merge pull request #403 from ShoshinNikita/master
...
Small fix of README.md
2019-08-04 11:35:11 -05:00
Umputun and GitHub
79a1cfca91
Merge pull request #406 from Reeywhaar/master
...
Fixes
2019-08-04 11:23:46 -05:00
Vyrtsev Mikhail
a51b00760a
fix: Comment reply/edit box resets if it gets out of view
2019-08-04 18:11:32 +03:00
Vyrtsev Mikhail
437c805e96
change scss import order (after component)
2019-08-04 17:40:02 +03:00
Vyrtsev Mikhail
e92cce20c0
replace map with WeakMap
2019-08-04 17:22:41 +03:00
Shoshin Nikita and GitHub
c5b62fa34e
Small fix of README.md
...
Fix description of "image.type"
2019-08-02 00:57:35 +03:00
John Puddephatt
33c235ed3b
remove stray space
2019-08-01 20:39:54 +01:00
John Puddephatt
95168041b9
allow ID of container node to optionally be provided in remark_config
2019-08-01 20:08:06 +01:00
Umputun and GitHub
f0750c2433
Merge pull request #401 from umputun/rpc-example
...
RPC example
2019-08-01 02:08:26 -05:00
Umputun
5b173a05df
add dockerfile and compose
2019-08-01 01:49:58 -05:00
Umputun
796c4f45eb
fix rpc deps
2019-08-01 01:49:38 -05:00
Umputun
17baa0cff6
fix admin.admins call
2019-08-01 01:49:09 -05:00
Umputun
da671c005c
prep compose and Dockerfile
2019-07-31 23:24:48 -05:00
Umputun
3d883ba4bb
clean rpc leftovers
2019-07-31 22:49:50 -05:00
Umputun
9ab18dfe1a
fix zero time check
2019-07-31 18:47:28 -05:00
Umputun
3c21cba9c1
switch core to go-pkgz/jrpc
2019-07-31 18:38:53 -05:00
Umputun
e84a155ef5
switch example to go-pkgz/jrpc
2019-07-31 18:34:32 -05:00
Umputun
fcf175c905
Merge branch 'master' into rpc-example
2019-07-30 00:44:14 -05:00
Christian Oliff and Umputun
159f4d4faf
Fix GitHub capitalization
2019-07-29 13:48:32 -05:00
Vyrtsev Mikhail and Umputun
b6135510ab
fix lint warnings
2019-07-29 13:47:35 -05:00
Vyrtsev Mikhail and Umputun
998e6a9a27
update demo page to look better on mobile
2019-07-29 13:47:35 -05:00
Vyrtsev Mikhail and Umputun
1aaad59afb
add intersection-observer polyfill
2019-07-29 13:47:35 -05:00
Vyrtsev Mikhail and Umputun
cbf6abb201
make webpack exclude work
2019-07-29 13:47:35 -05:00
Vyrtsev Mikhail and Umputun
13e4f78762
add es5 compatibility check on post build
2019-07-29 13:47:35 -05:00
Vyrtsev Mikhail and Umputun
0f05b5097a
rename action
2019-07-29 13:47:35 -05:00
Vyrtsev Mikhail and Umputun
cb1b42a2e0
render Comment with InView
2019-07-29 13:47:35 -05:00
Vyrtsev Mikhail and Umputun
a36733a2e3
add InView component which tracks element intersection with view
2019-07-29 13:47:35 -05:00
Vyrtsev Mikhail and Umputun
b4f083a051
remove redundant mutation
2019-07-29 13:47:35 -05:00
Vyrtsev Mikhail and Umputun
0f78bbf918
update package-lock.json after rebase
2019-07-29 13:47:35 -05:00
Vyrtsev Mikhail and Umputun
49a16f9071
clear interval on component unmount
2019-07-29 13:47:35 -05:00
Vyrtsev Mikhail and Umputun
8d748b6c65
reorganize comments reducers
2019-07-29 13:47:35 -05:00
Vyrtsev Mikhail and Umputun
48de9e15a3
add shallow compare util
2019-07-29 13:47:35 -05:00
Vyrtsev Mikhail and Umputun
e0ba7564f1
add bench util
2019-07-29 13:47:35 -05:00
Vyrtsev Mikhail and Umputun
a9e4ce368d
add cmpRef util
2019-07-29 13:47:35 -05:00
Vyrtsev Mikhail and Umputun
0d6ae9edd4
add lodash
2019-07-29 13:47:35 -05:00
Vyrtsev Mikhail and Umputun
f34ab737d8
remove unused action
2019-07-29 13:47:35 -05:00
Vyrtsev Mikhail and Umputun
734eb0ebf3
replace duplicating babel config with common excludes getter
2019-07-29 13:47:35 -05:00
Vyrtsev Mikhail and Umputun
1d01a21480
replace require with import
2019-07-29 13:47:35 -05:00
Vyrtsev Mikhail and Umputun
7fd3c563c7
add focus style to sort select
2019-07-26 18:02:11 -05:00
Vyrtsev Mikhail and Umputun
82d1969393
remove unused test renderer
2019-07-26 18:02:11 -05:00
Vyrtsev Mikhail and Umputun
e1e1fdf5cf
Comment test: replace inhouse test renderer with enzyme
2019-07-26 18:02:11 -05:00
Vyrtsev Mikhail and Umputun
a17204f85f
Preloader test: replace inhouse test renderer with enzyme
2019-07-26 18:02:11 -05:00
Vyrtsev Mikhail and Umputun
9da826219f
AuthPanel test: replace inhouse test renderer with enzyme
2019-07-26 18:02:11 -05:00
Vyrtsev Mikhail and Umputun
187674b54e
remove duplicate checks in test
2019-07-26 18:02:11 -05:00
Vyrtsev Mikhail and Umputun
0493ece73e
fix auth panel providers sorting
2019-07-26 15:54:39 -05:00
Vyrtsev Mikhail and Umputun
b69cd08bf0
fix auth panel columns vertical alignment
2019-07-26 15:18:12 -05:00
Umputun
f4bc6555dd
Merge branch 'master' of github.com:umputun/remark
2019-07-26 12:53:18 -05:00
Umputun
2bf4ad80da
add multiple auth methods to dev compose
2019-07-26 12:53:07 -05:00
Umputun
1ed0139304
fix screenshots image link
2019-07-26 11:12:20 -05:00
Umputun
86cefec13b
add link to demo and screenshots to readme
2019-07-26 11:11:29 -05:00
Umputun
2d92266b60
add delete comment screenshot
2019-07-26 10:52:17 -05:00
Umputun
8b9a00ee0c
add screenshots
2019-07-26 10:42:20 -05:00
Misha Vyrtsev and Umputun
3b4628d0bd
Auth login design ( #390 )
...
* break auth panel render into submethods
* move var definition
* break renderUnathorized into submethods
* hide login providers behind dropdown if they are exceed length of 3
* amend dropdown to behave nicely being placed in another dropdown
* add style to providers enclosed in dropdown
* add provider reducer and actions
* add provider save/restore to app flow
* place last login provider first in providers list
* infer StoreState from combineReducers return type
* move collapsed threads retoration to action
* fix: provider lost in other
* add dynamic threshold depending on window width
* fix & add tests
2019-07-25 22:54:59 -05:00
Umputun and GitHub
eb3589869d
Find since ( #388 )
...
* support since param in bolt find for post
* add find with since to store service
* add since param to find request, plain only
2019-07-25 13:58:22 -05:00
Misha Vyrtsev and Umputun
5431f80e84
fix unblocking after page refresh stalled ( #384 )
2019-07-23 16:45:52 -05:00
Misha Vyrtsev and Umputun
4d7699ec5e
Fix blocking ( #381 )
...
* fix blocked user appears unblocked after refresh
* modify comment rendering to temporary blocking
2019-07-22 19:05:02 -05:00
Misha Vyrtsev and Umputun
7103dbb589
fix sort been stalled ( #379 )
2019-07-22 16:06:53 -05:00
Umputun
240796b2d6
update doc with the current /config response document
2019-07-21 12:26:15 -05:00
Umputun
ad3b7c695a
expose emoji_enabled flag in /config response #378
2019-07-21 12:24:56 -05:00
Umputun
8759facb27
adjust alterComment test for #377
2019-07-21 11:35:45 -05:00
Umputun
a60072564e
temporary blocking doesn't need to delete/hide comments #377
2019-07-21 11:30:11 -05:00
Konstantin Krivlenia and Umputun
2f7c4e7e03
Add a button for image upload ( #372 )
...
* #371 add image icon for toolbar
* #371 add file upload handler
* #371 upload image from clipboard
* #371 change title and decrease size for upload button
* #371 allow upload few files
* #371 prevent paste text after file was uploaded in firefox
2019-07-16 10:27:44 -05:00
Vyrtsev Mikhail and Umputun
17f61ee339
fix wrong className
2019-07-15 19:58:52 -05:00
Vyrtsev Mikhail and Umputun
8cd5533aed
fix lint errors
2019-07-15 17:57:43 -05:00
Vyrtsev Mikhail and Umputun
9e726d5769
npm audit fix
2019-07-15 17:57:43 -05:00
Vyrtsev Mikhail and Umputun
9863b2ddf0
update focus-visible
2019-07-15 17:57:43 -05:00
Vyrtsev Mikhail and Umputun
461d8fbac5
update css-loader
2019-07-15 17:57:43 -05:00
Vyrtsev Mikhail and Umputun
d5e18d4290
update lint-staged
2019-07-15 17:57:43 -05:00
Vyrtsev Mikhail and Umputun
343ea07d91
update husky
2019-07-15 17:57:43 -05:00
Vyrtsev Mikhail and Umputun
387b6293ee
update minor deps
2019-07-15 17:57:43 -05:00
Umputun
d3a5151ab4
switch rss parent to blockquote only
2019-07-14 11:57:03 -05:00
Umputun
a2aaf48c84
Merge branch 'master' of github.com:umputun/remark
2019-07-14 11:52:37 -05:00
Umputun
00cdfa2aa3
add missing help commands to readme
2019-07-14 11:52:28 -05:00
Umputun
a4b24c1edb
add blockquote inside summary, some rss readers seems to ignore summary
2019-07-14 00:15:26 -05:00
Umputun
dfaf4d13d3
add parent summary to rss description #339
2019-07-14 00:00:02 -05:00
Umputun
dda4f87db2
support optional emoji translation
2019-07-13 14:04:03 -05:00
Umputun
9585bdff34
lint: multiple warnings, mostly in tests
2019-07-13 13:40:41 -05:00
Andrey Blinov and Umputun
accaae0bbd
Change label in editing form from Edit to Save
2019-07-10 09:11:02 -05:00
Vyrtsev Mikhail and Umputun
e9e4b5476b
change type of email field to email
2019-07-07 17:17:01 -05:00
Vyrtsev Mikhail and Umputun
947ddd4da4
refine droppown content positioning
2019-07-07 17:17:01 -05:00
Vyrtsev Mikhail and Umputun
8132819e1d
add window expanding on dropdown open
2019-07-07 17:17:01 -05:00
Vyrtsev Mikhail and Umputun
67cfc422b4
add onOpen/onClose props
2019-07-07 17:17:01 -05:00
Vyrtsev Mikhail and Umputun
cf84ad3cf5
unwrap if
2019-07-07 17:17:01 -05:00
Vyrtsev Mikhail and Umputun
19efaf7e96
increase margins in email auth popup
2019-07-06 19:24:24 -05:00
Umputun
088294d36e
switch to go-pkgz/auth v0.7.2 with limited verification token
2019-07-06 18:56:49 -05:00
Umputun
cbbd8a7ae0
update email template
2019-07-06 18:54:28 -05:00
Umputun
820f3129fb
integrate email template #366
2019-07-06 17:19:34 -05:00
Vyrtsev Mikhail and Umputun
fefd225b1a
replace token input with textarea
2019-07-06 13:58:58 -05:00
Vyrtsev Mikhail and Umputun
6fd803e891
fix undefined ref
2019-07-06 13:58:58 -05:00
Vyrtsev Mikhail and Umputun
8ea5936ab0
reset email form on success
2019-07-06 13:58:58 -05:00
Vyrtsev Mikhail and Umputun
29322d920a
add input focus on email auth form popup
2019-07-06 13:58:58 -05:00
Vyrtsev Mikhail and Umputun
18f41d21d7
add email auth ui test
2019-07-06 13:58:58 -05:00
Vyrtsev Mikhail and Umputun
3d62302bf0
add enzyme test renderer package
2019-07-06 13:58:58 -05:00
Vyrtsev Mikhail and Umputun
23691fb979
add jest-extended package
2019-07-06 13:58:58 -05:00
Vyrtsev Mikhail and Umputun
0ddb510e0e
add constants mocking
2019-07-06 13:58:58 -05:00
Vyrtsev Mikhail and Umputun
3c2977f98c
add redux-mock-store package
2019-07-06 13:58:58 -05:00
Vyrtsev Mikhail and Umputun
fedfe92781
add mockHeaders test util
2019-07-06 13:58:58 -05:00
Vyrtsev Mikhail and Umputun
81bf3ef35c
add fetch-mock package
2019-07-06 13:58:58 -05:00
Vyrtsev Mikhail and Umputun
84a3e6db7d
add aggregateTimeout to webpack watch options
2019-07-06 13:58:58 -05:00
Vyrtsev Mikhail and Umputun
ac60bb8750
add email auth ui
2019-07-06 13:58:58 -05:00
Vyrtsev Mikhail and Umputun
c3253bec85
fix: DropDown doesn't remove listeners on unmount
2019-07-06 13:58:58 -05:00
Vyrtsev Mikhail and Umputun
c9ced7bd58
enable email auth in frontend dev compose
2019-07-06 13:58:58 -05:00
Umputun
52ecb53d31
resort imports
2019-07-06 13:36:34 -05:00
Umputun
b2de952f38
move email auth before anon
2019-07-06 13:35:35 -05:00
Umputun
f4335105c2
allow gravatars
2019-07-06 12:45:33 -05:00
Umputun
ed3d0a314f
Merge branch 'master' into email
2019-07-06 12:43:31 -05:00
Umputun
dfbeb48a45
.
2019-07-04 20:21:57 -05:00
Umputun
1094d365a9
revendor with go-pkgz/auth v0.7.1
2019-07-02 22:42:26 -05:00
Umputun
24d685c4de
add email notificator with auth sender
2019-07-02 22:02:36 -05:00
Umputun
af67ec0fc8
revendor bf to v 2.0.1
2019-07-01 14:04:01 -05:00
Vyrtsev Mikhail and Umputun
e63ccdd18d
fix: controls not visible on safari because of it doesn't have hover
2019-06-30 14:19:54 -05:00
Umputun
b98d7ef1ef
Merge remote-tracking branch 'origin/master'
2019-06-30 12:45:20 -05:00
Umputun
8ddfa56b82
add unescape table processing after md parsing #354
2019-06-30 12:45:15 -05:00
Vyrtsev Mikhail and Umputun
f70fa5f72e
add spellcheck attribute
2019-06-30 12:31:39 -05:00
Umputun
c224676ccd
enable Smartypants for md rendering
2019-06-29 21:58:50 -05:00
Umputun
49593a3327
wip: memory rpc example
2019-06-29 21:17:34 -05:00
Vyrtsev Mikhail and Umputun
90103a5fe5
make levels 5+ unindented
2019-06-29 21:00:31 -05:00
Vyrtsev Mikhail and Umputun
75c294a692
move thread related styles to thread component
2019-06-29 21:00:31 -05:00
Vyrtsev Mikhail and Umputun
12793c1110
make level5+ lines more dimmed
2019-06-29 21:00:31 -05:00
Vyrtsev Mikhail and Umputun
d7ec92ee39
make thread lines dotted
2019-06-29 21:00:31 -05:00
Vyrtsev Mikhail and Umputun
1ac0421bb8
move selector for dark theme according to convent
2019-06-29 21:00:31 -05:00
Konstantin L and Umputun
e2237e7396
show threads
2019-06-29 19:08:52 -05:00
Umputun
b95179303b
enforce empty [] response on flag's list instead of null #356
2019-06-29 12:01:55 -05:00
Vyrtsev Mikhail and Umputun
e5cc5e677b
fix: settings widget fails because it expects list but gets null
2019-06-29 11:13:05 -05:00
Umputun
60d9f207ae
only permanent blocking delete all comments
2019-06-28 11:58:09 -05:00
Umputun
c09eaa6e00
rename remote to rpc
2019-06-27 14:29:46 -05:00
Umputun
63a555126e
add test for app with remote plugins
2019-06-25 20:06:30 -05:00
Umputun
06bac880cb
lint: more test warns
2019-06-25 20:06:30 -05:00
Umputun
f6e69e86bb
lint: test warnings
2019-06-25 20:06:30 -05:00
Umputun
5b79f7c435
clean drone build
2019-06-25 20:06:30 -05:00
Umputun
01bdf4d839
clear mongo leftovers
2019-06-25 20:06:30 -05:00
Umputun
82ce19fd3c
larger limit for remote srv throttler
2019-06-25 20:06:30 -05:00
Umputun
348bede009
fix recreation of bdb in delete
2019-06-25 20:06:30 -05:00
Umputun
48fcb0a5d9
add remote selection to store and admin
2019-06-25 20:06:30 -05:00
Umputun
126d2d93da
adjust remote tests, remove legacy mongo tests
2019-06-25 20:06:30 -05:00
Umputun
db6c387fe9
support remote server group handler
2019-06-25 20:06:30 -05:00
Umputun
f30937c55e
fix empty (no args) remote calls
2019-06-25 20:06:30 -05:00
Umputun
b30492556f
add remote implementation of admin store
2019-06-25 20:06:30 -05:00
Umputun
988206bed4
change remote interface to struct requests
2019-06-25 20:06:30 -05:00
Umputun
bab09effa2
error responses of json api with json, time out on remote server close
2019-06-25 20:06:30 -05:00
Umputun
e307722901
switch list flag to struct param
2019-06-25 20:06:30 -05:00
Umputun
f2cecafb27
fix remote client tests with id
2019-06-25 20:06:30 -05:00
Umputun
9f875394e8
remote server covered with tests
2019-06-25 20:06:30 -05:00
Umputun
c1d14082ca
implement DeleteUser soft mode to allow mapping for blocked users #341
2019-06-25 20:06:30 -05:00
Umputun
375e4a6dec
initial ver of remote server
2019-06-25 20:06:30 -05:00
Umputun
d8a2bb2f7b
split remote to common protocol package and engine implemetation
2019-06-25 20:06:30 -05:00
Umputun
c2b56eae30
remote client adjusted to new engine flavour
2019-06-25 20:06:30 -05:00
Umputun
3aba348e87
make new engine primary, rename package
2019-06-25 20:06:30 -05:00
Umputun
92d9b7703d
restore all service coverage with new engine
2019-06-25 20:06:30 -05:00
Umputun
690c0df9b8
wip: engine2 passing test with updates service
2019-06-25 20:06:30 -05:00
Umputun
8d7c486e96
eliminate write timeout
2019-06-18 18:29:04 -05:00
Umputun
7819c9ec4b
add keep-alive header to streamer
2019-06-18 18:14:58 -05:00
Dmitry Verkhoturov and Umputun
f1b03b4bc6
fix typos, add missing configuration options to readme
2019-06-18 13:14:45 -05:00
Umputun
896f67ecdc
add info and SSE streams and response example to readme
2019-06-18 12:58:50 -05:00
Umputun
64bc99fc8d
fix incorrect default since for last comments stream
2019-06-18 12:38:51 -05:00
Umputun
445aec860e
add support of "since" param (unix msec) #336 #253
2019-06-18 12:14:27 -05:00
Umputun
e1bec310cf
convert streams to SSE #336
2019-06-18 12:01:37 -05:00
Vyrtsev Mikhail and Umputun
dad51f052f
fix sorting change makes hidden users to appear
2019-06-16 17:35:56 -05:00
Misha Vyrtsev and Umputun
556b053ae7
Fix ui errors (preview and image upload) ( #347 )
...
* fix broken preview
* fix broken image upload
2019-06-16 16:02:13 -05:00
Misha Vyrtsev and Umputun
a302bdbe5d
Hide user comments ( #334 )
...
* add ability to hide user via localstorage
* remove closures to avoid reconcilation
* add actionBinder utilities
* add user hide/show feature
* remove unused type
* fix css for settings user id
* remove pointless confirmation for hide/show user in settings
* add redux-dev-tools support
2019-06-10 19:20:39 -05:00
Umputun
133f5fc3f2
image removal from staging increased to 5*EditTTL
...
this is needed in case if user worked on the comment for long time
until submitting in order to avoid false-positive cleanup from the
staging
2019-06-08 21:54:00 -05:00
Umputun and GitHub
3a266111fa
Merge pull request #338 from Reeywhaar/update-deps-2019-06
...
Update deps 2019 06
2019-06-05 16:33:59 -05:00
Vyrtsev Mikhail
9140e87152
fix lint-staged ignoring warnings
2019-06-05 23:36:24 +03:00
Vyrtsev Mikhail
c8d39a9286
update frontend deps
2019-06-05 23:28:57 +03:00
Umputun
20764b7b4e
enclose streamer in rest's struct
2019-06-05 02:14:34 -05:00
Umputun
a8b2dee85c
update deps
2019-06-04 23:32:23 -05:00
Umputun
342b4052a9
add error checks to pub rest test
2019-06-04 23:20:40 -05:00
Umputun
fe46509e8e
generalize stream api, move to separate struct & file
2019-06-04 22:06:33 -05:00
Umputun
e1bd0e5104
eliminate first update on info stream on cold cache
2019-06-04 21:02:28 -05:00
Umputun
0f2298d193
externalize all stream params
2019-06-03 22:48:28 -05:00
Umputun
f4d346c25a
limit max number of active streams
2019-06-03 19:44:39 -05:00
Umputun
458eb27d8c
add stream api for /last
2019-06-03 16:44:46 -05:00
Umputun
d1cf9aecb3
make stream refresh slower, every 5s
2019-06-03 13:02:12 -05:00
Umputun
994a97b13f
generalize event streams
2019-06-03 12:41:04 -05:00
Umputun and GitHub
ca083f451e
Info stream ( #336 )
...
* add /stream/info as a cheap way to subscribe to comment updates #253
* add check for lastTS change to allow proper info streams in no-cache mode
* check write error in info stream and terminate
* flaky info stream test
* add stream info to readme
* separate timeout middleware foe each route's group
* debug info on stream close
* fix test for streams
* stream timeout on inactivity only
* throttle streams to 500
* restore common throttle
2019-06-03 11:34:00 -05:00
Umputun
bccf716a8d
support view=user #323
2019-05-31 16:09:40 -05:00
Umputun
bddb287e68
copy licence and readme to the curr directory #335
2019-05-26 22:03:27 -05:00
Umputun
2d38018722
remove commented old rss code
2019-05-19 13:24:54 -05:00
Umputun
350cca894d
move reply retrieval to service, fix incorrect RSS title for reply
2019-05-19 12:56:47 -05:00
Umputun
6de89888c3
make controllers assignment explicit
2019-05-18 12:57:49 -05:00
Umputun
0142a65441
consolidate engine interfaces
2019-05-18 01:48:11 -05:00
Umputun
e8e335d104
convert rss controllers to object
2019-05-17 22:05:53 -05:00
Umputun
255b9ad9c8
move config controller to rest
2019-05-17 21:50:23 -05:00
Umputun
2b8a2a082b
move routes group setup to func
2019-05-17 21:50:06 -05:00
Umputun
6e12122e44
blocking also delete comments #332
2019-05-17 13:57:52 -05:00
Umputun and GitHub
7b8bc80468
Merge pull request #331 from umputun/alter
...
Alter
2019-05-17 02:50:32 -05:00
Umputun
00166fe57c
add test to alter comment
2019-05-17 02:40:38 -05:00
Umputun
cc37fbef13
switch admin rest to interface with subset of store api
2019-05-16 23:16:08 -05:00
Umputun
622a0bdacf
move all private rest controllers to private struct, restrict store
2019-05-16 23:07:26 -05:00
Umputun
a80c62517f
wrap public rest into struct with safe/read-only interface as store
2019-05-16 21:41:25 -05:00
Umputun
b9c80e64d0
add engine mock
2019-05-16 21:06:48 -05:00
Umputun
0590246112
move comment alter functionality from rest and admin to store service
2019-05-16 20:49:07 -05:00
Umputun and GitHub
5218f3f37c
Support "since" parameter in "/last" query ( #330 )
...
* strip \n and spaces from retrieved title
* add "since" support to last storage and rest #329
* add info about since to readme
2019-05-16 13:58:37 -05:00
Misha Vyrtsev and Umputun
61e594786c
Define remark host in runtime ( #325 )
...
* convert closest-polyfill to ts
* make remark respect host property in client setup
2019-05-13 10:51:17 -05:00
Misha Vyrtsev and Umputun
53f2f82e05
Fix "delete me" feature ( #326 )
...
* wip: fix "delete me" feature
* minor fixes
2019-05-13 09:52:28 -05:00
Umputun
7d01165d1e
overwrite default "token" for auth ta avoid conflict with deleteme #324
2019-05-12 21:24:59 -05:00
Umputun
3d7f08457a
mod files after revendor
2019-05-12 21:23:41 -05:00
Umputun
489b8a36e3
revendor with 0.5.2 of auth, with ability to redefine token query
2019-05-12 21:23:13 -05:00
Umputun
4cf9bf2b63
add deleteme rest example
2019-05-12 13:26:47 -05:00
Umputun and GitHub
4adbca22b2
Refactor rest ( #320 )
...
* fresh vendor
* enforce vendor flag with env
* move tree to service package
* move controllers routing to rest.go, remove separate subrouters
* cleanup/formatting
* missing vendor packages
* move rss, img proxy, robots and getstarted to top-level routes
* simplify logger middleware usage
* randomize server test ports
* check for non-admin in admin tests
* lint: minor warns
* admin test to jwt admin
2019-05-07 01:54:19 -05:00
Umputun
1616f43f0c
clean empty staging directory
2019-05-04 12:39:24 -05:00
Umputun
cc49ee0946
fix uninitialized imageapi pattern string
2019-05-04 12:10:39 -05:00
Umputun
a9a368e02d
lint: typos
2019-04-28 13:13:12 -05:00
Umputun and GitHub
02b27d2c12
Merge pull request #317 from Reeywhaar/mv-web-to-frontend
...
Rename "web" to "frontend"
2019-04-28 12:07:50 -05:00
Vyrtsev Mikhail
24860e124e
mv web -> frontend
2019-04-28 19:27:36 +03:00
Umputun and GitHub
f7d2bf976e
Merge pull request #316 from Reeywhaar/fix-comment-input-top-margin
...
Fix comment input top margin in editing or replying mode
2019-04-21 16:03:22 -05:00
Vyrtsev Mikhail
b7ece816a4
fix comment input top margin in editing or replying mode
2019-04-21 23:13:30 +03:00
Umputun and GitHub
f4b0e0ca5f
Merge pull request #315 from Reeywhaar/handle-error-http-code
...
Handle specific rest status codes in fetcher
2019-04-21 15:04:32 -05:00
Vyrtsev Mikhail
a37761fe9e
handle specific rest status codes in fetcher
2019-04-21 22:52:44 +03:00
Umputun
6b31741fa3
fix cache enabled for pictures
2019-04-21 01:26:51 -05:00
Umputun
ace1cbc278
allow caching for /img api calls
2019-04-20 19:06:05 -05:00
Umputun and GitHub
1db544a54f
Merge pull request #313 from Reeywhaar/add-ie11-support
...
Restore ie11 support
2019-04-20 19:02:32 -05:00
Umputun
0156c5ac97
add no-cache middleware to api calls #313
2019-04-20 18:49:42 -05:00
Vyrtsev Mikhail
38db4a5511
restore ie11 support
2019-04-21 00:47:26 +03:00
Umputun and GitHub
ee21c34c12
Merge pull request #312 from Reeywhaar/fix-useless-comment-collapse
...
Fix useless comment collapse
2019-04-20 14:40:58 -05:00
Vyrtsev Mikhail
22006bee81
add logError: boolean param to fetcher
...
Case for it is getUser api method. When user is not authenticated, api returns 403 error which pops up in console and have no meaning
2019-04-20 21:24:00 +03:00
Vyrtsev Mikhail
d1420286dd
fix comment collapsing button works on second click on useless comment
2019-04-20 21:13:24 +03:00
Vyrtsev Mikhail
38f9fd855c
fix #310 : useless comment remains uncollapsed
2019-04-20 20:58:58 +03:00
Vyrtsev Mikhail
7e84b356a2
fix tests
2019-04-20 20:58:58 +03:00
Vyrtsev Mikhail
68294fd3d2
forbid dynamic type acquisition for typescript
...
was useful during refactoring but makes no sense now
2019-04-20 20:47:37 +03:00
Umputun and GitHub
c078bc31a6
Merge pull request #308 from Reeywhaar/ui-fixes
...
Ui fixes
2019-04-20 12:08:12 -05:00
Vyrtsev Mikhail
0a77baff89
set eslint to fail on warnings
2019-04-20 18:54:23 +03:00
Vyrtsev Mikhail
fa63b4bc70
disable eslint warnings
2019-04-20 18:54:22 +03:00
Vyrtsev Mikhail
34772fa1b6
deny anonymous image upload
2019-04-20 18:54:21 +03:00
Vyrtsev Mikhail
1dd97d42a1
hide unexpected error message from ui, still can be seen in console
2019-04-20 18:54:20 +03:00
Umputun
619e9fec3b
clean image tests leftovers from tmp
2019-04-17 13:38:29 -05:00
Umputun
15a8fb946d
lint: err shadowing
2019-04-17 13:36:16 -05:00
Umputun
c46a21af72
simplify image Save logic by switching to loaded []byte
...
note: resize loaded to memory anyway
2019-04-17 13:35:41 -05:00
Umputun and GitHub
68b892f5e9
Image resize ( #311 )
...
* resize uploaded images #309
* fix temp files created in current dire after image test
* update mod
* missing image test files
* fix failed goroutine test on image-resize submit
* switch to mockery
* missing in mock change
* resize by both ResizeWidth and ResizeHeight
* add IMAGE_RESIZE params to readme
* add latest features to the description
* lint: missing file close in image test
2019-04-17 02:53:35 -05:00
Umputun and GitHub
24606e46bf
Merge pull request #307 from Reeywhaar/image-upload-ui
...
Image upload ui
2019-04-14 22:58:39 -05:00
Umputun and GitHub
0585c325a4
Merge pull request #305 from Mavrin/master
...
#299 add toolbar for markdown formatting
2019-04-14 19:33:03 -05:00
konstantin krivlenia
c7824e603d
#299 increase height textarea
2019-04-14 11:19:03 +03:00
konstantin krivlenia
5f86519aad
#299 make it working in IE11
2019-04-14 11:18:17 +03:00
konstantin krivlenia
abeca3cc23
#299 add list format buttons
2019-04-14 11:18:16 +03:00
konstantin krivlenia
b38bbf4f00
#299 add link format button
2019-04-14 11:18:16 +03:00
konstantin krivlenia
8fb147e8b4
#299 add code format button
2019-04-14 11:18:15 +03:00
konstantin krivlenia
b13cc1cae7
#299 add quote format button
2019-04-14 11:18:14 +03:00
konstantin krivlenia
2b68c8e8d3
#299 add italic format button
2019-04-14 11:18:14 +03:00
konstantin krivlenia
4c5363835f
#299 add header format button
2019-04-14 11:18:13 +03:00
konstantin krivlenia
8e19729718
#299 add bold toolbar for formatting
2019-04-14 11:18:13 +03:00
Vyrtsev Mikhail
1aea8be941
add image upload drag and drop
2019-04-14 00:06:42 +03:00
Umputun
2a53a54a78
allow image/webp
...
https://github.com/umputun/remark/pull/307#issuecomment-482873793
2019-04-13 14:52:21 -05:00
Umputun
6bdbcb8351
lint: missing check for header load error
2019-04-13 14:48:47 -05:00
Umputun
3debfff93d
another test rejection due to image type check
2019-04-13 14:44:36 -05:00
Umputun
ac261940d7
fix rest test with rejected non-pic
2019-04-13 14:39:55 -05:00
Umputun
44bd512de7
miss vendor for xid package
2019-04-13 14:28:34 -05:00
Umputun
d72154b3c8
make shorted image uids, check image type and restrict to png, gif and jpeg only #285
2019-04-13 14:27:40 -05:00
Umputun
e182d34c2c
update readme with info about max_image_size
2019-04-12 10:20:14 -05:00
Umputun
3d61be8c44
make AuthHooks test faster
2019-04-12 10:14:17 -05:00
Umputun
c52e5b3920
expose max image size via config rest #307
2019-04-12 10:13:14 -05:00
Umputun and GitHub
db562ab8ab
Merge pull request #306 from Reeywhaar/master
...
Minor fixes
2019-04-11 22:45:54 -05:00
Vyrtsev Mikhail
bed8d28c5a
update deps
2019-04-12 01:52:53 +03:00
Vyrtsev Mikhail
69d5a5e4a9
add admin indicator for pinned comment
2019-04-12 01:44:20 +03:00
Umputun and GitHub
25cf349dec
Merge pull request #304 from Reeywhaar/fixes
...
Fixes
2019-04-10 17:30:23 -05:00
Vyrtsev Mikhail
dae3300125
fix comment admin indicator
2019-04-11 01:17:29 +03:00
Vyrtsev Mikhail
1cd12932ca
additional typecheck
2019-04-11 00:52:27 +03:00
Umputun and GitHub
1c418eed4c
Merge pull request #303 from umputun/vote
...
Vote
2019-04-10 00:41:27 -05:00
Umputun and GitHub
67a5ed6669
Merge pull request #300 from Reeywhaar/vote
...
support new voting api in ui
2019-04-10 00:39:21 -05:00
Vyrtsev Mikhail
3246b66214
support new voting api in ui
2019-04-10 02:49:45 +03:00
Vyrtsev Mikhail
6f67cbc30d
remove webpack log spam
2019-04-10 02:49:45 +03:00
Vyrtsev Mikhail
eca230b87f
fix tabs
2019-04-10 02:40:17 +03:00
Vyrtsev Mikhail
bed336cfb1
update readme
2019-04-10 02:25:47 +03:00
Umputun
02be2144d5
Merge branch 'master' into vote
2019-04-09 14:21:05 -05:00
Umputun
af199f46ee
make main test slower for unusually slow travis storage init time(?) for master
2019-04-09 14:20:12 -05:00
Umputun
46244b855a
make main test slower for unusually slow travis storage init time(?)
2019-04-09 14:17:08 -05:00
Umputun and GitHub
08bc105da9
Merge pull request #295 from Reeywhaar/feature/front-anon-login
...
Add frontend support for anonymous user login
2019-04-09 14:04:37 -05:00
Umputun
cecf147fd0
add tests for URLKeys
2019-04-09 00:10:21 -05:00
Umputun
22d787de58
user comment cached with user_id as well
2019-04-07 18:38:06 -05:00
Umputun
078bedd8e8
separate caching key URLKeyWithUser for find only
2019-04-07 18:34:20 -05:00
Umputun
dc5ceeee12
cache find with userID to prevent leaking (and incorrect) vote status
2019-04-07 18:20:05 -05:00
Umputun
128ca53725
more voting tests
2019-04-07 15:58:25 -05:00
Umputun
4845bf357a
restore rest setter for vote info of the current user
2019-04-07 14:12:40 -05:00
Umputun
2e4dfe3891
move vote setter to service level
2019-04-07 14:05:19 -05:00
Umputun
446cb486a0
extend test fo votes
2019-04-07 13:47:22 -05:00
Umputun
556e330af2
merge current master
2019-04-07 13:32:12 -05:00
Umputun and GitHub
6913f3b164
Merge pull request #301 from ns-cweber/patch-1
...
Fix formatting in README
2019-04-07 13:13:47 -05:00
ns-cweber and GitHub
db2c1c0c35
Fix formatting in README
2019-04-07 10:19:35 -05:00
Umputun
3662cd0ab5
lint: convert string to string
2019-04-05 16:49:42 -05:00
Umputun
47414a252f
increase main test time to address crazy CI (travis) slowness in making buckets
2019-04-05 16:47:44 -05:00
Umputun
e1d4c9ef23
add progress debug for bolt creation
2019-04-05 16:42:36 -05:00
Umputun
bf17b31eaa
add caller func to debug logging
2019-04-05 16:24:58 -05:00
Umputun
5d052f8eff
remove pkg info for prod logging, add braces
2019-04-05 16:24:01 -05:00
Umputun
50e437c22c
switch test port
2019-04-04 22:51:41 -05:00
Umputun
ad3430883f
make temp for integration tests
2019-04-04 13:54:23 -05:00
Umputun
0de9a7b0d6
set longer time to start integration server test
2019-04-04 09:37:28 -05:00
Umputun
70134578e1
switch to chi v4
2019-04-04 02:17:12 -05:00
Umputun
0f433722da
disable picture upload for anonymous
2019-04-04 01:53:47 -05:00
Umputun
45ae2e6f13
revendor with lgr 0.6.1
2019-03-31 16:21:32 -05:00
Umputun
29dc368ea8
revendor with fresh lgr, add logger to http server
2019-03-31 13:45:44 -05:00
Umputun
56c5cd64bc
lint: more test warnings
2019-03-26 00:04:59 -05:00
Umputun
6ef88bf375
lint: tests warning
2019-03-25 23:57:27 -05:00
Umputun
4f73ddc40c
move error parsing for rest to separate func
2019-03-25 23:31:02 -05:00
Umputun and GitHub
c21ce7d26f
Merge pull request #296 from umputun/image
...
Image storage
2019-03-25 21:20:59 -05:00
Umputun
cf09ea27eb
remove mock from test coverage
2019-03-25 21:10:49 -05:00
Umputun
38da69ea49
simplify counts hashing key
2019-03-25 20:58:57 -05:00
Umputun
7a948266a3
test more image types
2019-03-25 19:54:16 -05:00
Umputun
542a1e9957
missing vendor flag in build cmd
2019-03-25 18:05:14 -05:00
Umputun
1e06c372d9
fix tests for votes default value
2019-03-25 16:28:22 -05:00
Umputun
3b5a1a62de
add vote for the current user, hide list of other votes #297
2019-03-25 16:14:10 -05:00
Umputun
7f796d5ed9
add image related docs
2019-03-25 12:02:06 -05:00
Umputun
4f67afffb1
adjust partition tests
2019-03-25 02:45:59 -05:00
Umputun
2a64a71eb8
lint: missing err check in test
2019-03-25 01:15:51 -05:00
Vyrtsev Mikhail
24ea8805bb
implement ui support for anonymous login https://github.com/umputun/remark/issues/279
2019-03-25 01:25:47 +03:00
Vyrtsev Mikhail
13f914f58c
update npm deps
2019-03-25 01:09:49 +03:00
Umputun
65738bc158
Merge remote-tracking branch 'remotes/origin/master' into image
2019-03-24 16:39:38 -05:00
Umputun
2a03afddc6
update auth to v0.5.0
2019-03-24 16:35:23 -05:00
Umputun
02da07925c
merge master
2019-03-24 16:28:12 -05:00
Umputun
bba958a813
Merge remote-tracking branch 'remotes/origin/master' into image
2019-03-24 16:27:20 -05:00
Umputun
b534991770
trigger drone
2019-03-24 15:31:15 -05:00
Umputun
e99153ee7b
trigger drone
2019-03-24 15:27:23 -05:00
Umputun
96c7e16ff7
try to trigger drone
2019-03-24 15:21:29 -05:00
Umputun
95e634108d
switch drone build to 1.12
2019-03-24 15:13:40 -05:00
Misha Vyrtsev and Aleksei Gurianov
5809419bce
Refactor frontend to typescript ( #281 )
2019-03-24 22:53:55 +04:00
Umputun
2c0cd1dec7
add test for submitImages
2019-03-24 03:16:37 -05:00
Umputun
ded10dde6c
integration test for create comment with images
2019-03-24 00:23:46 -05:00
Umputun
8aa24341c3
make image ids extraction safe for pos-edits, delays comment parsing
2019-03-23 23:30:53 -05:00
Umputun
42767b94a4
missed vendor for gomock
2019-03-23 19:15:40 -05:00
Umputun
db3f22d9fd
change image submit to single goroutine with active wait. flush all submitted on close
2019-03-23 19:13:58 -05:00
Umputun
58ec50e613
wire image submit to store.Service
2019-03-23 18:33:19 -05:00
Umputun
c990b05c21
add image service with delayed commit. Move cleanup loop to service
2019-03-23 14:54:45 -05:00
Umputun
de292a4146
add extraction of image ids
2019-03-23 03:47:07 -05:00
Umputun
b49e242891
wire image staging and image cleanup
2019-03-23 03:06:24 -05:00
Umputun
eb79c3d9f9
implement two-stage image commit with background cleanup
2019-03-23 02:56:58 -05:00
Umputun
debd914e39
adjust image comments
2019-03-22 03:12:54 -05:00
Umputun
eb3dd467ad
change image location to user based, make random uuid for file name
2019-03-22 03:03:41 -05:00
Umputun
bc714480d4
lint: multiple shadowed errors, missed comments for exported methods
2019-03-19 20:54:05 -05:00
Umputun
83de28c2da
strip trailing / from REMARK_URL
...
https://github.com/umputun/remark/issues/289#issuecomment-474030504
2019-03-18 13:04:21 -05:00
Umputun
0aba6a5653
longer test time for server app
2019-03-11 14:23:12 -05:00
Umputun
3c3097cf77
add more image tests, generalize prep for those tests
2019-03-11 14:09:28 -05:00
Umputun
58eb4e8852
typos
2019-03-11 14:09:05 -05:00
Umputun
00d3930981
image hashing to sha256
2019-03-11 01:36:54 -05:00
Umputun
4def2affd8
fix robosts test with added picture
2019-03-11 01:23:13 -05:00
Umputun
3dc20bcbb5
image comments
2019-03-11 01:18:36 -05:00
Umputun
639f6c15f3
wire image save/load to rest and cmd
2019-03-11 01:16:25 -05:00
Umputun
a1450cff57
add image storage
2019-03-10 19:40:14 -05:00
Umputun and GitHub
034101fb64
Merge pull request #286 from umputun/mod
...
switch to go mod
2019-03-10 15:42:52 -05:00
Umputun
1561dc2fda
switch to go mod
2019-03-09 02:02:55 -06:00
Umputun
d37ce1a912
move reports gen to test step
2019-03-08 01:31:43 -06:00
Umputun
a7004f15a5
add non-anon middleware to vote post controller #279
2019-03-07 15:13:42 -06:00
Umputun
347fe1a0db
randomize db name for rest test to avoid conflicts in parallel testing
2019-03-06 12:15:44 -06:00
Umputun
e638fbb2c3
restore .git in build layer, needed for goverals to work right
2019-03-06 12:04:20 -06:00
Umputun
0d1ecd684c
reorg ignore file
2019-03-05 22:43:28 -06:00
Umputun
7d475b185a
common teardown for bolt tests
2019-03-05 22:32:57 -06:00
Umputun
e3d6869cb0
common teardown for migrator tests, simplify WP import test
2019-03-05 22:32:34 -06:00
Umputun
2105b5ddfe
revendor with latest lgr (logging)
2019-03-05 22:31:37 -06:00
Umputun and GitHub
084a7a9f99
Merge pull request #282 from alehano/patch-1
...
Update README.md
2019-02-24 03:40:38 -06:00
Alex and GitHub
279e200e3a
Update README.md
2019-02-24 12:26:01 +03:00
Umputun
90a84dd886
update go-pkgz/auth to 0.4.2 with fixed direct id
2019-02-19 16:18:49 -06:00
Umputun
fb6af6ca13
refactor readme about anon access
2019-02-19 14:24:30 -06:00
Umputun and GitHub
298987e662
Merge pull request #280 from umputun/anon
...
add anon option and direct provider #279
2019-02-19 14:10:26 -06:00
Umputun
0c950ae4f7
add anon option and direct provider #279
2019-02-19 13:59:43 -06:00
Andrei Alikov and Umputun
d62825642d
Add "contradiction index" metric ( #278 )
...
* show the value of `controversy` in the hover on scores
* add a new sorting mode "controversial" to "sort by" dropdown
2019-02-17 17:48:49 -06:00
Misha Vyrtsev and Umputun
a2b9b39640
Update dependencies ( #277 )
...
* update dependencies
* fix eslint warnings
* remove redundant sass-loader
2019-02-17 13:32:51 -06:00
Andrei Alikov and Umputun
653125d525
Hanlde limiter rejection on UI side ( #275 )
...
- Adds common function to get error message from the http response
- Adds error message for the voting displayed under the voting buttons
- Adds restoring of voting data after voting request failed
fixed re-writing error message when user tries to vote for the same comment
2019-02-12 09:35:14 -06:00
Umputun
643f255832
fix sorting after altering find results
2019-02-11 16:15:41 -06:00
Umputun
3ba38dd4c7
Revert "attempt to fix #276 "
...
This reverts commit c98caace33 .
2019-02-11 13:40:43 -06:00
Umputun
c98caace33
attempt to fix #276
2019-02-11 13:11:10 -06:00
Umputun
cb392c5df6
lint: missing comment for errors
2019-02-10 17:52:24 -06:00
Umputun
70ef130976
add error codes
2019-02-10 17:47:58 -06:00
Umputun
08ab725b3d
lint: missing a comment for service.Find
2019-02-10 16:46:21 -06:00
Umputun
13c511b1b0
support controversy in Find for comments stored without it #274
2019-02-10 16:39:08 -06:00
Umputun
ef59281112
add controversy sorting #274
2019-02-10 16:10:58 -06:00
Umputun
7128f66374
add controversy value (votes metric) #274
2019-02-10 15:53:29 -06:00
Umputun and GitHub
fb0d8167eb
Merge pull request #272 from AnyRoad/issue_148_strange_block_user_select_behavior
...
Fix block users select behavior
2019-02-06 15:02:11 -06:00
Andrei Alikov
3e72ec379a
Fix block users select behavior
...
We need to have onBlur and onChange events listeners for the select for the "block user" as it advised by es-lint. But if we simply add onBlur event listener it will cause infinite loop of blur -> confirm pop-up -> cancel -> blur -> confirm pop-up... So we have to debounce the events to process them only one time.
2019-02-06 18:50:15 +09:00
Umputun
4917ba01ec
update rest lib to fix recoverd panic
2019-02-06 00:45:47 -06:00
Umputun
58acbecf53
disable mgo debug
2019-02-02 23:46:38 -06:00
Umputun
72b60bf823
const for cache TTL
2019-02-02 23:26:03 -06:00
Umputun
38fc7e500c
simplify title setter with anon func
2019-02-02 22:29:02 -06:00
Umputun
3314223120
switch native import lock to sized group
2019-02-02 22:28:16 -06:00
Umputun
e6f30b0768
sync with preemptuve lock in concurrent migrator
2019-02-02 18:45:24 -06:00
Umputun
588af7fc9a
switch title to lcw cache, optimize error hits
2019-02-02 18:25:57 -06:00
Umputun
0af3eda684
write imported records concurrently
2019-02-02 18:09:23 -06:00
Umputun
7ddf1fc096
add syncs lib
2019-02-02 17:51:44 -06:00
Umputun
a731856bb1
fix shared title client caused races
2019-02-02 17:50:13 -06:00
Umputun
0fe3f6dd7d
fix bad default for restricted words
2019-02-02 13:38:40 -06:00
Umputun
0e296bf1de
less verbose MGO debug
2019-02-02 13:00:23 -06:00
Umputun
76d0cc32e2
use repeater context to avoid long calls
2019-01-30 15:59:00 -06:00
Umputun
44cb54477e
reject logout on empty providers
2019-01-30 15:36:47 -06:00
Umputun and GitHub
4c2e0d0147
Merge pull request #266 from Reeywhaar/#260-ui
...
Support positive score only mode
2019-01-30 11:53:13 -06:00
Umputun and GitHub
5b25ea17b7
Merge pull request #271 from zonescape/comment-typo
...
Fix comment typo
2019-01-29 12:12:20 -06:00
zonescape
de68b8d8ee
fix comment typo
2019-01-29 18:37:25 +03:00
Umputun
3471c5dab8
add missing params to readme
2019-01-27 16:21:05 -06:00
Umputun and GitHub
1fb93fc823
Merge pull request #270 from nagimov/patch-1
...
add info about /web demo page
2019-01-27 16:15:29 -06:00
Ruslan Nagimov and GitHub
ef6cc71e02
add info about /web demo page
2019-01-27 14:09:37 -08:00
Umputun
af6076187f
set rss descriptions matching rss type
2019-01-27 15:08:39 -06:00
Umputun
93246aec0f
Merge remote-tracking branch 'origin/master'
2019-01-27 14:28:35 -06:00
Umputun
b106fe0fc6
increase size of last comments for reply detection to 5000 and time to 31 days #268
2019-01-27 14:28:24 -06:00
Umputun and GitHub
7712f3765f
Merge pull request #269 from nagimov/patch-1
...
do not add .git folder to a build layer
2019-01-27 14:20:34 -06:00
Ruslan Nagimov and GitHub
9870469e2e
do not add .git folder to a build layer
...
`.git` folder isn't present in tarballs pulled from releases, e.g. `wget https://github.com/umputun/remark/archive/v.1.2.1.tar.gz `, and not used during the build anyways
2019-01-27 12:03:27 -08:00
Umputun
c7468184ba
fix unexpected blocking if +1 vote in positive score only mode on 0
2019-01-26 17:05:54 -06:00
Vyrtsev Mikhail
24f0c301d3
update readme
2019-01-27 01:23:04 +03:00
Vyrtsev Mikhail
7a394b8e90
support positive score only mode
2019-01-26 23:47:20 +03:00
Umputun
cb5fc79dbe
add site-level positve score support #260
2019-01-26 01:38:56 -06:00