Commit Graph

470 Commits

Author SHA1 Message Date
Jonas Leiner d2248d34c5 Update mkdocs.yml
adding "advanced configuration" tab and using it as a parent for "sso.md"
2025-04-07 11:58:05 +02:00
Jonas Leiner 33f2f67ba8 Create sso.md 2025-04-07 11:55:51 +02:00
Abhinav Raut be5779e201 Merge pull request #45 from abhinavxd/feat/agent-vacation-mode
feat: Toggle button to reassign replies to conversations aka vacation mode
2025-04-05 19:36:00 +05:30
Abhinav Raut 2d868b7df1 fix: keep translation key camelcase 2025-04-05 18:57:09 +05:30
Abhinav Raut 374aabcb10 fix: remove missing query from queries struct 2025-04-05 18:50:19 +05:30
Abhinav Raut e69b1c3e6d fix: remove missing column reassign_replies from queries 2025-04-05 18:45:31 +05:30
Abhinav Raut 1821647695 feat: allow admins to set availability status
remove unnecessary column `reassign_replies` instead add a new enum `away_and_reassigning` to enum user availability status
2025-04-05 18:12:42 +05:30
Abhinav Raut b4f2186150 fix[shadcn]: make avatar image src default to empty string 2025-04-05 17:52:11 +05:30
Abhinav Raut 6d588f7a4e feat: show user summary on /admin/users
- Displays metrics like last active at, last login along with the avatar.
- Adds new column `last_login_at` to users table.
- Updates translations for the same
2025-04-04 22:00:26 +05:30
Abhinav Raut 2a382d6036 feat: Toggle button for user to reassign replies to conversations if they are away, user status now actually affects the conversation workflow.
Online: Conversations are auto-assigned.
Auto-away (inactivity in browser): Marks agent as away without stopping assignment (nothing changes for agent).
Manual away: Prevents new conversations from being assigned. (option available in the sidebar)
Reassign replies: Customer replies unassigns the conversation, returning it to the team inbox / unassigned inbox.
2025-04-04 03:29:16 +05:30
Abhinav Raut c639bfba40 update welcome email subject 2025-04-03 03:15:36 +05:30
Abhinav Raut 82aac02a97 Merge pull request #42 from abhinavxd/feat/cypress-tests
feat:  Cypress test for user login and workflow for E2E testing
2025-04-03 03:09:03 +05:30
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 c60a0788d9 Merge pull request #43 from abhinavxd/feat/translate-app
Translate app
2025-04-03 03:03:46 +05:30
Abhinav Raut 013b5bf37e fix: add sane default values to email inbox form 2025-04-03 03:02:48 +05:30
Abhinav Raut df0dfb480f fix: enforce stronger password validation rules 2025-04-03 03:02:32 +05:30
Abhinav Raut 2daefccd79 fix: translation keys 2025-04-03 03:00:11 +05:30
Abhinav Raut f69e8dd4f8 fix: update translation for business hours empty name error 2025-04-03 02:16:51 +05:30
Abhinav Raut d171958223 fix: translation key param 2025-04-03 02:14:57 +05:30
Abhinav Raut 3b7550fcf3 fix: update incorrect translation key 2025-04-03 02:11:05 +05:30
Abhinav Raut 0de712762c fix: auth initialization with i18n 2025-04-03 01:21:12 +05:30
Abhinav Raut 6b6549cb03 standardize i18n keys for consistency rename keys
fix: avatar url `null` console warnings.
2025-04-03 01:21:12 +05:30
Abhinav Raut cd4b9a9c23 feat: translate conversations, reply box and message components 2025-04-03 01:21:12 +05:30
Abhinav Raut e19f817c5f feat: translate account section 2025-04-03 01:21:12 +05:30
Abhinav Raut 5ce8ed72ba feat: translate reports, sla badge, view builder and search 2025-04-03 01:21:12 +05:30
Abhinav Raut 4ec564ee2e feat: translate commandbox, app update and simple table 2025-04-03 01:21:12 +05:30
Abhinav Raut 19f08ec76a feat: translate sso 2025-04-03 01:21:12 +05:30
Abhinav Raut dd8053b2bb feat: translate templates 2025-04-03 01:21:12 +05:30
Abhinav Raut 72b92d6c66 feat: translate email notifications 2025-04-03 01:21:12 +05:30
Abhinav Raut 497b54fc49 feat: translate automations 2025-04-03 01:21:12 +05:30
Abhinav Raut 9d18d3d08d feat: translations for admin roles 2025-04-03 01:21:12 +05:30
Abhinav Raut 6bea14e7a9 feat: translate /admin/users 2025-04-03 01:21:12 +05:30
Abhinav Raut 25f23735d5 feat: translate admin email inbox forms 2025-04-03 01:21:12 +05:30
Abhinav Raut 3888793450 feat: translate admin conversation status 2025-04-03 01:21:12 +05:30
Abhinav Raut 88e4a55952 feat: translate macros 2025-04-03 01:21:12 +05:30
Abhinav Raut 9aa9a5e1b2 feat: translate /admin/tags 2025-04-03 01:21:12 +05:30
Abhinav Raut a3098a1dbd feat translate general, business hours, sla.
translate user login , forgot password & set password.
2025-04-03 01:21:12 +05:30
Abhinav Raut 76a24467e7 fix: spanish translation file 2025-04-03 01:21:12 +05:30
Abhinav Raut 4361250c73 feat: backend api response translations 2025-04-03 01:21:12 +05:30
Abhinav Raut 7d9650be2e fix: lock radix-vue and tailwindcss versions to prevent unexpected updates 2025-04-02 13:18:54 +05:30
Abhinav Raut eb707fd8de Merge pull request #38 from jleroy/fix-unsecure-cookies
Allow to disable cookies secure flag when needed
2025-03-31 01:34:52 +05:30
Jonathan Leroy 36077b1837 Update Config struct description 2025-03-30 19:56:15 +02:00
Abhinav Raut d5499229b5 Merge pull request #41 from abhinavxd/dependabot/npm_and_yarn/frontend/axios-1.8.2
chore(deps): bump axios from 1.7.9 to 1.8.2 in /frontend
2025-03-27 02:46:48 +05:30
dependabot[bot] 5e90dfee5a chore(deps): bump axios from 1.7.9 to 1.8.2 in /frontend
Bumps [axios](https://github.com/axios/axios) from 1.7.9 to 1.8.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.7.9...v1.8.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-26 18:41:39 +00:00
Abhinav Raut 1875a62e00 feat: test cases for SLA calculator, string utilities and attachments 2025-03-26 23:57:56 +05:30
Abhinav Raut f60c4e8cb6 fix: force tests to run freshly, even if nothing's changed 2025-03-26 23:57:19 +05:30
Abhinav Raut 495ff02067 fix[sla]: incorrect calculated deadline when SLA minutes ends exact at a working day's closing time.
Example test case for it.
```go
		{
			name:      "Monday to Friday 10:00 to 18:00",
			startTime: time.Date(2025, 03, 22, 18, 1, 43, 0, locIST), // Sat
			// 24 hours.
			slaMinutes: 1440,
			businessHours: models.BusinessHours{
				Hours: mustMarshalJSON(map[string]models.WorkingHours{
					"Monday":    {Open: "10:00", Close: "18:00"},
					"Tuesday":   {Open: "10:00", Close: "18:00"},
					"Wednesday": {Open: "10:00", Close: "18:00"},
					"Thursday":  {Open: "10:00", Close: "18:00"},
					"Friday":    {Open: "10:00", Close: "18:00"},
					"Saturday":  {Open: "10:00", Close: "14:00"},
				}),
			},
			timeZone:       "Asia/Kolkata",
			expectedResult: time.Date(2025, 03, 26, 18, 0, 0, 0, locIST),
		},
```
fix: more validations for working hours.
chore: remove unused struct fields in working hours
2025-03-26 23:56:13 +05:30
Abhinav Raut 5afec04c07 feat: add GitHub Actions workflow to run Go tests 2025-03-25 23:43:43 +05:30