Commit Graph

840 Commits

Author SHA1 Message Date
Guillermo Giuliana e15bd15f07
Updates to 4.10.0 (#1061)
* change 4.9 to 4.10

* new translations
2021-10-18 22:06:20 -03:00
Joel Elias Méndez b2e43430b1
Add email status (#1058) 2021-10-15 15:43:55 -03:00
Joel Elias Méndez 8c17d22ab3
Fix frontend issues (#1055)
* fix login widget bugs

* fix ticket issues

* fix path name
2021-10-14 20:29:57 -03:00
Justman10000 6536050fdd
Translation corrected (#1021)
* Corrected translation

* I forgot

* I forgot too

* You already know that Anmelden and Einloggen are the same thing?
2021-10-14 17:52:30 -03:00
Joel Elias Méndez 9a4374d371
[DEV-114] Add "resend verification email" in frontend (#1047)
* resend-verification-token

* force resend email verification

* delete wrong codelines

* improve code

* fix loading
2021-10-14 14:07:23 -03:00
Joel Elias Méndez b8be664809
fix-response-width (#1054) 2021-10-14 13:29:12 -03:00
Joel Elias Méndez 0f976ebde9
Add reopen option after a ticket is closed (#1041) 2021-10-10 15:42:36 -03:00
Joel Elias Méndez af15d0116d
After delete a ticket redirect to previous page (#1044) 2021-10-08 16:09:39 -03:00
Joel Elias Méndez 6ccb389492
[DEV-129] Redirect after ticket is created without user system (#1045)
* Redirect to home/dashboard after ticket is created without user system

* fix min-height in main-home-page-portal component

* Move success messagge

* querystring check

* fix delete ticket button visibility
2021-10-08 16:09:09 -03:00
Joel Elias Méndez ae076de88f
[DEV-104] - Redirect to home/dashboard after ticket is created without user system (#1037)
* Redirect to home/dashboard after ticket is created without user system

* fix min-height in main-home-page-portal component

* Move success messagge

* querystring check
2021-09-27 19:00:43 -03:00
Joel Elias Méndez 59fb9eaef3
[DEV-129] Remove "Delete ticket" from response form (#1038)
* Delete ticket button for logged user

* define variables
2021-09-27 11:16:25 -03:00
Joel Elias Méndez ffe7ef8e0b
Change Registration Api Keys name to Api Keys (#1039) 2021-09-27 10:05:23 -03:00
Joel Elias Méndez fc93ad4c00
[DEV-109] Add Info tooltip warning about tickets not visible (#1031)
* Info tooltip added

* delete blank spaces
2021-09-16 10:50:21 -03:00
Guillermo Giuliana c22a1cdbb3
[DEV-95] add prevent default when pressing down Enter key (#1033)
* add prevent default when pressing down Enter key

* delete listener and add onkeydown prop
2021-09-15 14:21:19 -03:00
LautaroCesso 167d7927db
Clear create ticket form after create a ticket with mandatory login disabled (#966)
* Clear create ticket form after create a ticket with mandatory login disabled.

* WIP
2021-08-29 22:12:41 -03:00
LautaroCesso 55c89d58cc
Fix style diff in create ticket form without attachment file button (#974) 2021-08-29 22:11:22 -03:00
LautaroCesso 0bcc775944
Delete date warning (#975) 2021-08-29 22:09:11 -03:00
LautaroCesso 45a59e0b20
Close panel when inviting user (#960)
* Close panel when inviting user

* Move success invite user message to admin panel list user
2021-01-12 17:39:16 -03:00
Ivan Diaz 9f7b11413c Fix readme version, fix frontend tests 2021-01-08 16:31:06 -03:00
Guillermo Giuliana e554bb64d1
Release 4.9.0 (#965)
Co-authored-by: CircleCI-BOT <ivan@opensupports.com>
2021-01-08 16:27:24 -03:00
Ivan Diaz 0088332562 Use english as default i18n in case it breaks 2021-01-07 20:53:28 -03:00
Guillermo Giuliana 49dc1ab56c
DEV-86 (#959) 2021-01-05 21:02:35 -03:00
dependabot[bot] 1ea4509e4f
Bump axios from 0.18.1 to 0.21.1 in /client (#962)
Bumps [axios](https://github.com/axios/axios) from 0.18.1 to 0.21.1.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v0.21.1/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.18.1...v0.21.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-05 19:58:23 -03:00
Maximiliano Redigonda c5d6068e97
Add statistics (#904)
* Adds first_closed_at and last_closed_at to Ticket

* Fixes ticket isClosed function

* Adds reopened column to Ticket table

* Adds stats path

* Adds stats for instant tickets

* Adds basic connection with frontend

* Creates cards to display ticketData

* Adds tooltips with descriptions and i18n

* Adds date range filter to backend

* Adds DateRange filter on frontend

* Documents and better structures code

* Makes $dateRange local

* Adds departments filter on backend

* Adds stats path to menu

* Adds first UI for departments filter in stats

* Implements departments filter on frontend

* Improves styling by adding bootstrap rows

* Improves structure of dynamics queries

* Adds tags filter on backend

* Adding TagFilter for statistics WIP

* Adds missing `id` to propTypes TagSelector

* Removes console.warns

* Adapts form to pass tagnames as value as FormField

* Sends tags to API too

* Makes tag-selector change form with tagnames only

* Fixes tag-selector from ticket-viewer

* Removes console.warn

* Removes logs

* Adds owner filter on backend

* Connects owners frontend with backend for stats

* Style changes for date-selector

* Adds tickets by hours stat to /system/stats path

* Adds chart for tickets created on each hour

* Adds better wrap for ticketdata cards

* Adds getAverageFirstReply to backend stats path

* Adds getNumberOfCreatedTicketsByWeekday to backend

* Adds created tickets by weekday chart

* Disables clicking on the legend to toggle data

* Adds base functions for efficiency stats

* Adds getAverageFirstClosed to backend stats

* Adds getAverageLastClosed to backend stats

* Adds table, filters, and groupBy variables to queries

* Adds response structure with mocks

* Adds totalOwners and totalDepartments

* Adds SQL queries to get department/staff hops of a ticket

* Changes incorrect name

* Rolls back addition of near useless function

* Improves tag array management from redux store

* Fix bug in autocomplete filters.

* Sets default date range to current month.

improves date.js.

* Adds i18n

* wip

* Add media query in admin-panel-stats.scss

* Updates date handling in search-ticket-utils

* Makes tooltip open on hover of the entire block

* Fix date range mobile style.

* Add Loading

* Add submit button and clear button in admin panel stats

* Adds tests for stats and comments old ones

* Add test for stats after a ticket has been created

* Makes default dateRange for stats go to the end of the day

* Factors out function to create ticket and adds test

* Adds instant ticket test

* Adds reopened test

* Commit to save technique to test created_by_hour but is prohibitively slow.

* Updates test of created_by_hour to be more lightweight

* Adds test for created_by_weekday

* Fixes default date and renames a function

* Fixes hover bug by extracting card-stat to its own component

* Fix drawbacks with previous change in style - mobile

Co-authored-by: LautaroCesso <lautaro_cesso@hotmail.com>

* Set up 0 as a minimum number for bar chart

* Moves styles from stats cards to the component

* Removes old /system/get-stats path

* Changes name from /system/stats to /system/get-stats

* Restore getCurrentDate in date transformer

Co-authored-by: LautaroCesso <lautaro_cesso@hotmail.com>
Co-authored-by: Ivan Diaz <ivan@opensupports.com>
2020-12-27 16:22:55 -03:00
LautaroCesso 51eee4ed7b
Paginate ticket list in admin panel view user (#944)
Co-authored-by: Ivan Diaz <ivan@opensupports.com>
2020-12-26 19:13:59 -03:00
LautaroCesso 1e0e0134a3
Fix style bug in ticket viewer (#947)
* fix style bug in ticket viewer

* Fix style in invite staff modal

Co-authored-by: Ivan Diaz <ivan@opensupports.com>
2020-12-26 18:25:32 -03:00
LautaroCesso bc9023b8a6
Auto discard change before delete custom response (#946) 2020-12-26 18:09:22 -03:00
LautaroCesso 534bf3624a
Fix bug custom fields default values undefined (#945)
* Fix bug in selected custom fields in admin panel invite user

* WIP

* Fix style

* WIP
2020-12-26 17:39:51 -03:00
LautaroCesso a7cb7f376c
Fix bug with discard department change (#942)
* Fix bug with discard department change

* WIP

* WIP

Co-authored-by: Ivan Diaz <ivan@opensupports.com>
2020-12-26 17:39:18 -03:00
Ivan Diaz c3088406da
Fix ticket date style (#958)
* Fix ticket date style in table componenet

* WIP

* WIP

* Add shortcat date in ticket list

Co-authored-by: LautaroCesso <lautaro_cesso@hotmail.com>
2020-12-26 16:29:30 -03:00
Ivan Diaz ea8d0719eb
Fix composer for 5.6 (#956)
* Fix composer lock for 5.6 support

* Fix ticketlist test render error
2020-12-24 20:05:28 -03:00
Ivan Diaz ca54d19bd9 Fix deploy build 2020-11-26 21:03:26 -03:00
Ivan Diaz 5416ef4009 Add automated release 2020-11-24 00:49:17 -03:00
LautaroCesso af3d95cf4d
Styles standardization (#934)
* WIP tag create and tag edit pop up

* WIP admin panel email settings

* WIP admin panel viwe article, article list, edit topic, add article

* WIP admin panel list users and invite user widget

* WIP admin panel view user

* WIP admin panel custom fields and admin panel custom field form

* WIP fix plus icon position and type

* WIP admin panel custom responses

* WIP admin panle my tickets and create ticket form

* change check ticket button to green color

* WIP dashboard edit profile page

* Change icon in invite user button

* WIP
2020-11-19 17:37:59 -03:00
LautaroCesso 16435925b6
Group params of open modal function (#935)
* Agrupate params of open modal function

* Add white color prop in modal componenet
2020-11-18 11:47:38 -03:00
LautaroCesso bb1f5d0ade
Fix bug with departments info in staff editor component (#931) 2020-11-13 14:41:59 -03:00
LautaroCesso 15f765cf85
Fix bug in ticket list in my account and view staff (#921)
* wip

* Delete ticket of staff/get.php response

* Move paginate functions to staff editor component

* wip

* fix assignedTickets and closedTickets values in staff/get-all

* add show closed tickets checkbox in admin panel my account

* WIP

* Add initial api value

* Fix staff/get-all test

* WIP
2020-11-13 14:23:14 -03:00
LautaroCesso 9feb7d6cd4
Add cancel button in api key pop up (#929)
* Add cancel button in api key pop up

* Change space between add api key form buttons

* Add render close button param in open modal container function

* WIP
2020-11-13 14:05:11 -03:00
LautaroCesso 94926f90e6
Fix styles (#916)
* Fix mobile style in admin panle email settings

* Fix style in ticket query filters

* fix style in mobile in ticket query filters
2020-11-13 13:54:54 -03:00
LautaroCesso b02acfdf7b
Fix bug with private departments in default department feature (#930) 2020-11-12 15:12:15 -03:00
LautaroCesso 560f231e51
Add close ticket button at the end of ticket viewer (#932)
* Add close ticket button at the end of ticket viewer

* WIP

* standardization
2020-11-12 14:13:52 -03:00
Ivan Diaz 7fb7be3860 Add circleci config 2020-10-29 18:30:32 -03:00
Guillermo Giuliana b8944a3f04
New apikeys permissions (#869)
* back-end  y ruby test

* ruby test

* frontend part

* delete unused component

* resolve relevant  github maxi comments

* delete .catch of getAllkeys

* fix github ivan comments

* add ruby test and minor changes

* search ruby test

* fix name checkticketpermission
2020-10-14 15:08:14 -03:00
LautaroCesso a64c9f2255
Fix error in searchbox in tickets/search-tickets (#891) 2020-10-02 02:17:22 -03:00
LautaroCesso 994a39ad6d
Add more descriptive error messages when in delete staff. (#892) 2020-09-30 17:35:32 -03:00
Guillermo Giuliana d4cdbab203
Indicate it's myAccount when editing staff (#884)
* add myaccount prop

* take out ternary

* user constand insted this.state
2020-09-05 15:37:30 -03:00
Maximiliano Redigonda 80a9a958a8
Revert "Google social login" (#886) 2020-08-28 14:13:23 -03:00
Maximiliano Redigonda 9125944bc3
Revert "Adds Google platform.js script to index.php (#882)" (#885)
This reverts commit d3638787e6.
2020-08-28 14:12:10 -03:00
Guillermo Giuliana c00720d6a2
Minor GitHub bugs (#806)
* text-validation to edit article content

* shows only own department on my account

* add moment and update date

* Update date transformer

* Delete time zone setting.

* Use local date in date range component and utc date in date range filter.

* Fix github comment.

* Fix merge 'Fix filter show bug in ticket search when ordering'.

* Fix merge 'Fix filter show bug in ticket search when ordering' second part.

* Fix getDefaultUTCEndDate function.

Co-authored-by: Ivan Diaz <ivan@opensupports.com>
Co-authored-by: LautaroCesso <lautaro_cesso@hotmail.com>
2020-08-28 07:13:34 -03:00
LautaroCesso 5184c31907
Fix error in edit button for ticket owner. (#872)
* Retrieve staff members after edit staffs.

* Delete retun after throw new RequestException in staff/edit.php

* Resolve github Ivan comments.

* wip
2020-08-28 06:27:04 -03:00