Commit Graph

425 Commits

Author SHA1 Message Date
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
Abhinav Raut
56f00e791e feat: add test target to Makefile for running Go tests 2025-03-25 23:43:12 +05:30
Abhinav Raut
dcede8a461 fix: path matching for /admin route when no sidebar item is selected v0.5.0-alpha 2025-03-25 02:12:00 +05:30
Abhinav Raut
39fd5c9165 fix: update redirect path for unmatched routes to assigned inboxes 2025-03-25 02:11:34 +05:30
Abhinav Raut
4b8a954043 fix: update error message for invalid session to suggest clearing cookies 2025-03-25 02:01:08 +05:30
Abhinav Raut
6ac9f28a32 fix: upsert user teams only when newly created user has a team.
- update error msg for empty permissions
2025-03-25 01:41:18 +05:30
Abhinav Raut
8101c202fa improve logging messages for database installation and system user creation 2025-03-25 01:40:39 +05:30
Abhinav Raut
09746fb365 fix: set default value for Mailbox input in EmailInboxForm 2025-03-25 01:39:51 +05:30
Abhinav Raut
f59ea59a2e fix: set default value to empty array for teams in user form schema 2025-03-25 01:32:36 +05:30
Abhinav Raut
a2cdd728c0 remove app version print 2025-03-25 01:11:56 +05:30
Abhinav Raut
ac59a5defc refactor: update form field description for improved clarity. 2025-03-25 00:54:09 +05:30
Abhinav Raut
05fbe39315 refactor: update placeholder text in TagsForm for improved clarity 2025-03-25 00:53:22 +05:30
Abhinav Raut
c7c65a3d83 refactor: update tag delete dialog alert description for clarity.
fix: show toast when tag is created
2025-03-25 00:53:14 +05:30
Abhinav Raut
5bf6b7df47 refactor: update placeholder text in SLAForm recipients for improved clarity 2025-03-25 00:52:09 +05:30
Abhinav Raut
c034c21fa5 refactor: update label for From Address field to From Email Address in EmailInboxForm 2025-03-25 00:51:50 +05:30
Abhinav Raut
4ed241a03d refactor: update description for Root URL input in GeneralSettingForm 2025-03-25 00:51:35 +05:30
Abhinav Raut
6b00f70c37 fix: business hours form, more zod schema validatons to the business hours form 2025-03-25 00:51:03 +05:30
Abhinav Raut
c51073d289 feat[shadcn]: allow boolean along with string in RadioGroup components for model value 2025-03-25 00:50:10 +05:30
Abhinav Raut
d03d4477de fix: show toast on any tag api errors 2025-03-25 00:48:53 +05:30
Abhinav Raut
3b211dc372 fix: handle unique constraint violation when creating a tag 2025-03-25 00:47:52 +05:30
Abhinav Raut
6b4f243b74 chore: more validations before savign an inbox
chore: update error msgs for clarity
2025-03-25 00:47:35 +05:30
Abhinav Raut
9ff5a53ebb fix: handle null events array in automation rules 2025-03-25 00:39:08 +05:30
Abhinav Raut
9b9282dfd9 feat: add no records found message to SimpleTable component 2025-03-24 23:14:29 +05:30
Abhinav Raut
698e2d960e chore: add more comments to message handlers. 2025-03-24 23:13:55 +05:30
Abhinav Raut
a8db8f64b5 refactor: conversation handlers to use existing enforceConversationAccess function for authz check 2025-03-24 23:13:23 +05:30
Abhinav Raut
f688be1c88 feat: adds support for showing HTML tables in tiptap editor on *paste*.
does not support inserting a table yet from the menu yet.
Adds tiptap extension for the same.
2025-03-22 20:48:48 +05:30
Abhinav Raut
d3eb3499df fix: update docker compose to bind Postgres to local interface by default to prevent unintended access to the DB. 2025-03-22 20:43:11 +05:30
Abhinav Raut
721f7c811c fix: variables not being rendered when there's an fetching default outgoing email template / the outgoing email template is not found. 2025-03-22 18:56:50 +05:30
Abhinav Raut
a33e1453a8 fix: set proper error type when user is not found 2025-03-22 18:55:26 +05:30
Abhinav Raut
b6ce6975c9 fix: mark schedule notification as processed when agent fetch fails for email notification 2025-03-22 18:55:01 +05:30
Abhinav Raut
860b216e2b fix: remove redirect from /admin to /admin/general as some users may not have permission to the general settings 2025-03-22 00:30:04 +05:30
Abhinav Raut
eaa2b1ddcf fix: fixes blur in commandbox when zoom is not 100% 2025-03-22 00:11:22 +05:30
Abhinav Raut
0f12b2a3f3 feat: allow searching conversations by contact email address 2025-03-21 23:54:43 +05:30
Abhinav Raut
def0bb8e4c fix: limit search results to 30 in conversation messages search query 2025-03-21 23:42:24 +05:30
Abhinav Raut
a41c360cdb fix: update timezone from 'Asia/Calcutta' to 'Asia/Kolkata' in schema 2025-03-21 23:39:31 +05:30
Abhinav Raut
159cca6866 feat: add email templates to migration 2025-03-21 23:38:53 +05:30
Abhinav Raut
83f553227a migrations for v0.5.0 2025-03-21 23:24:18 +05:30
Abhinav Raut
28a6a3d246 refactor: use updated SelectTag component that accepts options array instead of string array to work 2025-03-21 23:24:06 +05:30
Abhinav Raut
7e16cc1a74 refactor(notifier): remove dependency on user store, instead accept recipient emails 2025-03-21 23:23:35 +05:30
Abhinav Raut
aeef7d4ad7 feat: configurable SLA alerts per SLA. 2025-03-21 23:23:03 +05:30
Abhinav Raut
f0358f67f0 feat: SelectTag component now supports object-based options (value & label) instead of a plain array 2025-03-21 23:18:48 +05:30
Abhinav Raut
12f2453f5a fix: dashboard chart query 2025-03-21 19:03:01 +05:30
Abhinav Raut
2742be5619 fix: exclude sent messages from report/dashboard charts to avoid data skew 2025-03-21 19:00:56 +05:30
Abhinav Raut
d837defbc9 Merge pull request #37 from abhinavxd/fix/remove-users-from-balancer
Fix: Remove soft deleted / disabled users from round robin balance pool
2025-03-18 23:41:43 +05:30
Abhinav Raut
5cc849e7eb tidy go mod 2025-03-18 23:22:41 +05:30