Commit Graph

42 Commits

Author SHA1 Message Date
Abhinav Raut a6e7812c68 name the field in pre-chat length errors and hide the start button when blocked
An over-long pre-chat value came back as "Must be at most 128 characters"
with no clue which field it was about, so use the existing fieldTooLong
message. The home screen also offered the start button when the inbox says
visitors cannot start conversations, and the visitor only found out when
the send failed, so the button now follows the same rule as the server.

Adds a browser-level livechat suite that embeds the widget on a host page
the way a customer site does, drives the real widget UI, and covers every
livechat config option that has a visible effect. CI needs the widget rate
limit lifted because the suite makes more than 100 widget requests a minute.
2026-08-21 23:14:34 +05:30
Abhinav Raut 3bbbb2c737 fix ci e2e failures and unreachable zod defaults
The e2e job failed because upload.fs.upload_path is never created, so
attachment uploads 500. CI now makes the uploads dir, and the readiness
probe has a curl timeout. Four schemas chained .default(x).optional(),
which never applies the default, so those are reordered and their tests
un-skipped.
2026-08-19 13:19:50 +05:30
Abhinav Raut f4763dfc12 add api contract specs, form schema tests and validator unit tests 2026-08-19 03:26:05 +05:30
Abhinav Raut fb4ad5f067 add cypress api and page sweep tests, fix agent and context link bugs they found 2026-08-19 03:18:39 +05:30
Abhinav Raut 5c6f44378e fix timezone country mappings, phone error overlap and welcome workflow 2026-08-17 13:18:36 +05:30
Abhinav Raut e23057363f pin first-interaction action to a commit sha and move to v3 2026-08-17 00:36:34 +05:30
Abhinav Raut e1ed3989b2 add workflow to welcome first time contributors on their first pr 2026-08-17 00:31:26 +05:30
Abhinav Raut 2f8637cb00 warm the go build cache from main so release runs can restore it 2026-08-12 12:59:57 +05:30
Abhinav Raut c6114680de use a dedicated always-saving go build cache in the release workflow 2026-08-12 12:24:10 +05:30
Abhinav Raut 04c4dbab62 Merge pull request #479 from abhinavxd/speed-up-goreleaser
speed up releases with parallel goreleaser builds and fix windows bin name
2026-08-12 02:59:42 +05:30
Abhinav Raut e4f628cd21 bump CI Go toolchain to 1.25.0 to match go.mod 2026-08-11 15:39:40 +05:30
Abhinav Raut 4f9fbb9ee3 speed up releases with parallel goreleaser builds and fix windows .exe.exe binary name 2026-08-08 13:10:06 +05:30
Abhinav Raut 1c500edc70 Revert "temp: test i18n guard, do not merge"
This reverts commit bcfbd45455.
2026-07-27 02:53:53 +05:30
Abhinav Raut bcfbd45455 temp: test i18n guard, do not merge 2026-07-27 02:51:27 +05:30
Abhinav Raut c25ad46729 run i18n guard from the base branch and fail on API errors 2026-07-27 02:12:44 +05:30
Abhinav Raut 763bcd61d9 add CI check to block edits to translated i18n files 2026-07-27 01:12:58 +05:30
Abhinav Raut cfed3cfc28 test: add e2e tests for inbox, team, agent and conversation flows 2026-06-07 14:06:40 +05:30
Abhinav Raut d36c43c9a8 ci: pin pnpm to 9.15.3 and bump release node to 20
Latest pnpm now requires Node >=22.13; CI ran 18.12/20 and broke.
Pinning to the packageManager-pinned 9.15.3 (supports Node >=18.12)
keeps CI in sync with local dev.
2026-05-29 21:33:05 +05:30
Jonathan Leroy 3c3c845d54 Crowdin: Fix source language filename 2026-05-18 02:32:16 +02:00
Jonathan Leroy da3bdb21aa Update translations [2025-05-15] and add regions names in languages filenames 2026-05-15 06:05:44 +02:00
Abhinav Raut b277b30c4c Create issues.yml 2026-03-09 22:16:37 +05:30
Abhinav Raut 36e2bd971b Create issues.yml 2026-03-09 22:15:40 +05:30
Abhinav Raut ae470be4c8 remove mkdocs docs as docs are moved to docs.libredesk.io repository 2025-09-14 22:48:32 +05:30
Abhinav Raut 27de73536e Update confirmed-bug.md 2025-07-23 00:18:36 +05:30
Abhinav Raut df108a3363 feat: add confirmed and possible bug report templates 2025-07-23 00:14:34 +05:30
ketan d6af9d10ea stop crowdin workflow on forks 2025-06-19 02:22:26 +05:30
Abhinav Raut f3881ee0aa fix(ci): update database and Redis host configurations in frontend CI workflow to localhost 2025-06-08 15:15:43 +05:30
Abhinav Raut f7a12cffd3 fix: agent password regex validation
- adds vitest dev dep
- adds test cases for the agent form
- replace form loader svg with css spinner
2025-06-08 11:26:26 +05:30
Abhinav Raut 55ec962003 fix(activity-log): replace RemoteIP with fast-realip pkg for accurate IP retrieval
- Update go version to 1.24.3
2025-05-18 21:48:15 +05:30
Abhinav Raut 4cfe0ccbd9 fix(crowdin): update branch watch comment to reflect correct branch 2025-04-11 00:20:30 +05:30
Jonathan Leroy 2499df866f Add Crowdin GitHub action 2025-04-06 02:35:35 +02:00
Abhinav Raut c348a5c9b7 rename go test workflow file 2025-04-03 03:05:43 +05:30
Abhinav Raut 008f71d7b4 fix: update cypress dependencies to include libasound2t64 2025-04-03 03:04:51 +05:30
Abhinav Raut 9b41aa0e9a chore: Cypress test for user login and workflow for E2E testing 2025-04-03 03:04:51 +05:30
Abhinav Raut 5afec04c07 feat: add GitHub Actions workflow to run Go tests 2025-03-25 23:43:43 +05:30
Abhinav Raut b44290a6f0 feat: add GitHub Actions workflow for MkDocs deployment
- fix: inject correct vars in go releaser builds
2025-02-24 02:27:06 +05:30
Abhinav Raut 5f3b0c3415 ci: update Node.js version to 18.12 in release workflow 2025-02-23 13:56:20 +05:30
Abhinav Raut 13f0d2003c ci: add Node.js setup and pnpm installation to release workflow 2025-02-23 13:55:07 +05:30
Abhinav Raut 5da727350b ci: update GoReleaser action to use latest version and improve release args 2025-02-23 13:41:50 +05:30
Abhinav Raut ef077aeac8 ci: update GoReleaser action in release workflow 2025-02-23 13:33:27 +05:30
Abhinav Raut 2558f97f0a ci: update Docker organization in GitHub Actions workflow 2025-02-23 12:55:09 +05:30
Abhinav Raut cc38d8825d ci: add GitHub Actions workflow for tag-based release and DockerHub push 2025-02-23 12:41:41 +05:30