Commit Graph

61 Commits

Author SHA1 Message Date
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 62497d1263
Delete ticket priorities. (#822)
* Delete ticket priorities.

* Fix style in autocomplete component.

* Fix style in tag selector component.

* Fix style in ticket query filters.

* Fix style in ticket viewer.

* Delete commented lines.
2020-07-06 13:39:38 -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
Ivan Diaz 71a1d434ef Add base schema population 2020-01-22 14:26:07 -03:00
Guillermo eb9a970353 Edit ticket title feature 2020-01-07 17:11:52 -03:00
Guillermo af92a6bbf2 part 1 edit ticket title 2020-01-02 09:55:55 -03:00
Guillermo Giuliana efbe553076 release v4.5.0 2019-10-07 20:21:43 -03:00
Guillermo 94a8cd4431 edit comment ticket feature 2019-06-26 22:04:56 -03:00
Ivan Diaz 28d50e7d24 Release v4.4.0 2019-03-06 12:50:25 -03:00
Ivan Diaz c970c9923f API path AddTag for tickets 2019-02-21 19:37:53 -03:00
Ivan Diaz 623a81b51d Add Custom Fields feature 2019-02-03 16:47:29 -03:00
Ivan Diaz e47df8e6dc Prepare v4.3.2 release 2018-11-29 13:35:14 -03:00
Ivan Diaz 5f0996f243 solve merge conflics with languages 2018-11-15 17:09:10 -03:00
Ivan Diaz c436365c07
Merge pull request #379 from ivandiazwm/v4.3.1
Fix ticket number collision #378
2018-11-15 16:19:11 -03:00
Ivan Diaz aa86fd9763 Retrieve tickets individually for users 2018-11-15 16:15:46 -03:00
Ivan Diaz b09ccdec02 Fix ticket number collision #378 2018-11-08 18:42:48 -03:00
Guillermo ceb2717bd2 feature #311 2018-10-18 22:30:06 -03:00
Ivan Diaz 60066bb9ca Fix user system disabled issues, add tests 2018-10-06 16:08:39 -03:00
Ivan Diaz 36b9c99243 Fix issues with no user system 2018-10-05 23:54:49 -03:00
Ivan Diaz 303f71dab3
Merge branch 'master' into master 2018-10-01 17:22:43 -03:00
Guillermo b5c3d7ee23 feature #174 2018-09-27 21:19:34 -03:00
Ivan Diaz b4342167e4 Update API documentation 2018-09-20 17:19:47 -03:00
Ivan Diaz 03778f0e95 Fix TextEditor, improve image uploading 2018-09-14 01:14:15 -03:00
Ivan Diaz 5335f67746 Update version 4.2.0 2018-08-19 19:17:03 -03:00
Ivan Diaz 96868abd92 Allow tickets to be created by staff members #175 2018-07-17 01:17:49 -03:00
ivan 83b1a7c69b Fix version upgrade 2017-12-06 20:56:12 -03:00
ivan a81e7320b7 Prepare 4.1.1 2017-11-30 18:06:09 -03:00
ivan 989c2e35f8 Ivan - OpenSupports v4.1.0 release changes 2017-06-28 10:02:54 -03:00
ivan 145b73b3c8 Ivan - Update model documentations. 2017-05-11 16:37:03 -03:00
AntonyAntonio 7a6eccb1bd Merge branch 'DataAPI' 2017-04-21 22:41:29 -03:00
AntonyAntonio 3f2157ac4e Guillermo - things [skip ci] 2017-04-21 00:34:20 -03:00
ivan 7792d6b527 Ivan - Add error documentation [skip ci] 2017-04-20 02:23:30 -03:00
ivan b985d02f1b Ivan - Add error documentation 2017-04-20 02:07:55 -03:00
ivan 892e1536a2 Ivan - Fix installation in subfolder and file permissions 2017-04-10 22:30:39 -03:00
Ivan Diaz 484bfd4e99 Ivan - Fix enabling user system [skip ci] 2017-03-04 02:57:51 -03:00
ivan 6bff8e1493 Ivan - Add new logo, fix user system disabled architecture [skip ci] 2017-03-03 21:39:59 -03:00
AntonyAntonio 1c0c16f7f6 Merge branch 'master' into OS156-Disable-user-system
Conflicts:
	server/controllers/system.php
	server/controllers/system/init-settings.php
	server/data/ERRORS.php
	server/libs/Controller.php
	tests/init.rb
2017-01-16 16:13:40 -03:00
AntonyAntonio fdd35ed2c1 Guillermo - disable-user-system [skip ci] 2017-01-16 16:07:53 -03:00
ivan 134540fed9 Ivan - Add Database Backup, FileDownloader, FileUploader and LinearCongruentialGenerator classes [skip ci] 2017-01-12 16:45:01 -03:00
AntonyAntonio 69c3410e03 Guillermo - add test supported languages [skip ci] 2016-12-21 01:09:35 -03:00
ivan 9aceff4313 Ivan - Fixes for Deploy 2016-11-20 23:01:38 -03:00
ivan 83e3672f55 Ivan - Add Get all tickets and search [skip ci] 2016-11-04 19:10:32 -03:00
ivan 47f9042c15 Guillermo - Ticket-seen [skip ci] 2016-10-21 16:38:08 -03:00
AntonyAntonio ef3bd809aa Guillermo - ticket-seen[skip ci] 2016-10-21 01:08:06 -03:00
ivan db97ee09b7 guillermo - add asign staff ticket [skip ci] 2016-10-07 19:03:21 -03:00
ivan be8374fd9a antonyantonio - add priority ticket backend[skip ci] 2016-09-29 17:09:34 -03:00