Commit Graph

38 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
Guillermo Giuliana e554bb64d1
Release 4.9.0 (#965)
Co-authored-by: CircleCI-BOT <ivan@opensupports.com>
2021-01-08 16:27:24 -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
Guillermo Giuliana 791e0969e9
add script and change 4.7.0 to 4.8.0 (#848)
* add script and change 4.7.0 to 4.8

* change end of line 4.8.0 script

* Delete main.py
2020-07-22 07:32:18 -03:00
LautaroCesso 03df5725f7
Fix bugs in change ticket department. (#828)
* fix change department in ticket viewer (FE).

* fix bug change departmet. (BE)

* fix unassigned ticket for any level staff can use it (BE) and add ruby test

* fix ticket department change to un assign ticket correctly (BE) and add ruby test

* fix an error with author id in ticket viewer

* Use get departments for transder in change department params.

* Rename test in change department rb.
2020-07-21 11:04:24 -03:00
Guillermo Giuliana 6a34c24d7d
update script and change 4.6 to 4.7 (#809)
* update script and change 4.6 to 4.7

* fix 4.7.0 script
2020-06-16 21:26:04 -03:00
Guillermo Giuliana 0a4484133b change 4.6.0 to 4.6.1 2020-02-05 17:15:32 -03:00
Guillermo Giuliana 2d75f87def change 4.5.0 to 4.6.0 add tables creating into upgrade file 2020-01-24 21:37:05 -03:00
Guillermo Giuliana efbe553076 release v4.5.0 2019-10-07 20:21:43 -03:00
Guillermo Giuliana 63ef66198a Remove special functionality of "ticket assignment", other minor fixes (#587)
* fix ticketEventId submit

* staff allow manage ticket feature

* edit-comment log

* fix staff1/2 change own perfile pic

* Makes frontend allow ticket editing for any staff member

* Allows all staff members in charge of the department of a ticket to manage it (change its department, priority, comment on it, etc.)

* fix comments github pt1

* tests ruby

* fix

* Fix ruby tests

* add commenteed tests
2019-10-01 16:40:30 -03:00
Guillermo 844de1e10f tests ruby 2019-09-20 16:58:21 -03:00
Guillermo c0f1f932c6 fix comments github pt1 2019-08-22 16:17:45 -03:00
Guillermo 53e88a78f7 staff allow manage ticket feature 2019-07-04 20:22:38 -03:00
Ivan Diaz 28d50e7d24 Release v4.4.0 2019-03-06 12:50:25 -03:00
Ivan Diaz e47df8e6dc Prepare v4.3.2 release 2018-11-29 13:35:14 -03:00
Ivan Diaz 7439afff63 Merge branch 'master' of github.com:opensupports/opensupports 2018-11-29 00:09:53 -03:00
Ivan Diaz ace895a4a2 Use own exception class 2018-11-20 19:41:21 -03:00
Guillermo e9dfbfb97b wip 2018-11-15 20:51:44 -03:00
Ivan Diaz b4342167e4 Update API documentation 2018-09-20 17:19:47 -03:00
Ivan Diaz 5335f67746 Update version 4.2.0 2018-08-19 19:17:03 -03:00
Ivan Diaz 0a5d444186 Mark as unread if author is not making the change 2018-07-17 02:04:00 -03:00
ivan 43f8b6017a Fix test issues 2018-04-18 15:31:17 -03:00
Guillermo 30fdb384f3 fix bug 115/166 2018-03-09 15:17:28 -03:00
Guillermo d26d511ebd fix bug #115 2018-02-28 02:43:34 -03:00
Guillermo c002fdf00f fix bug #115 2017-12-29 18:40:59 -03:00
ivan 989c2e35f8 Ivan - OpenSupports v4.1.0 release changes 2017-06-28 10:02:54 -03:00
ivan 6d58c44915 Ivan - Update controller documentations 2017-05-12 01:58:40 -03:00
AntonyAntonio 7a6eccb1bd Merge branch 'DataAPI' 2017-04-21 22:41:29 -03:00
AntonyAntonio ce63b407e0 Guillermo - things [skip ci] 2017-04-21 03:09:24 -03:00
AntonyAntonio be3d74ab92 Guillermo - data ticket [skip ci] 2017-04-16 23:59:11 -03:00
ivan 892e1536a2 Ivan - Fix installation in subfolder and file permissions 2017-04-10 22:30:39 -03:00
ivan 6f1638e5fe Ivan - Update backend methods [skip ci] 2017-02-08 15:09:15 -03:00
ivan 5ea4137e41 Max Red - Finally we did it! [skip ci] 2017-01-05 18:01:56 -03:00
ivan c99b5fc881 Ivan Diaz - update backend logs [skip ci] 2017-01-05 16:26:43 -03:00
AntonyAntonio 93fbd1cbf0 Guillermo - add TESTS log [skip ci] 2016-12-29 17:25:45 -03:00
AntonyAntonio 66281df491 Guillermo - staff-get-all-tickets[skip ci] 2016-11-19 22:54:08 -03:00
ivan 221288402e Guillermo - Ticket-seen [skip ci] 2016-10-21 16:12:17 -03:00
ivan ea586072eb guillermo- path- tickets-change-department [skip ci] 2016-10-15 01:32:44 -03:00