Commit Graph

1803 Commits

Author SHA1 Message Date
Ivan Diaz 89cb4c18fd Update composer.lock 2021-08-30 00:23:15 -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 e6441179c9
Fix bug in ticket count in admin panel list users (#967) 2021-01-19 17:15:43 -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 42c5dd7210
Add updating script 4.9.0 (#964)
* Add updating script 4.9.0

* Update 4.9.0.php
2021-01-07 19:33:20 -03:00
J0WI 1a9e1a852c
Only erase all mails on success (#894) 2021-01-05 21:47:33 -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 e4a7fe8783 Fix release automation 2020-12-06 20:58:44 -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
Ivan Diaz 3dd76f214d
Remove recaptchakey leftover from test (#937) 2020-11-18 20:52:05 -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
Ivan Diaz ea273970d1
Changing a few texts (#761)
the Spanish version was a mixture of formal, informal and it also had grammatical mistakes. The German version had a few mistakes like 'Fahrkartenummer' which actually means "bus/train ticket number".
2020-11-15 10:51:03 -03:00
Ivan Diaz b9b21ef950 Add request deployment 2020-11-13 17:32:56 -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 b73d6d534d
Fix ticket seach query when you are looking for an own ticket that is not in an owned department (#897)
* update departments filter

* update php test
2020-09-29 01:14:06 -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
LautaroCesso 817240e0b4
Add loading in Autocomplete when dropdown list is updating. (#863)
* Add loading in Autocomplete when dropdown list is updating.

* Fix error with set state in autocomplete.

* Resolve github Ivan comments.
2020-08-28 05:46:19 -03:00
LautaroCesso 52eae4d242
Thorough ruby tests /ticket/search path (#870)
* Add ticket/search test (ruby)

* Resolve github maxi comments.

* Resolve github maxi comments second part.

* wip

* Rename some test.

* Add query filter test.

* Add test combining multiple parameters.

* wip

* comment query test in search.rb

* comment query test in search.rb second part.
2020-08-28 05:19:47 -03:00
Maximiliano Redigonda d3638787e6
Adds Google platform.js script to index.php (#882) 2020-08-25 16:08:38 -03:00
Maximiliano Redigonda 68c3975ea4
Merge pull request #860 from opensupports/optimize-ticket-search
Optimize ticket search
2020-08-24 09:40:04 -03:00
Maximiliano Redigonda 6e6d2d83e7
Merge pull request #881 from opensupports/google-social-login
Google social login
2020-08-24 09:34:29 -03:00