Commit Graph

38 Commits

Author SHA1 Message Date
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
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 92a96c276b
Mandatory Login BE and Ruby tests (#757)
* Mandatory Login BE and Ruby tests

* registration handle and remove user-system setting

* create specific paths to mandatory login changing

* BE logic not allow turn off mandatory login without registratrion

* fix github issues

* Delete config['user-system-enabled'].

* Add some tabulations.

* Create MandatoryLoginReducer.

* Replace 'user-system' to 'mandatory-login'.

* Replace user-system toggle to mandatory-login checbox.

* Add some button in the header.

* Change onChange function mandatory login name.

* Disabled checkbox when you should not change it.

* Delete consolelog and some irrelevant lines.

* Change name of mandatory login reducer.

* Change style button in install step 1

* Change style button in install step 2

* Fix loading bug in submmit button.

* Change style button in install step 5

* Change style button in install step 6

* Delete UserSystemEnabled in ticket viewer component.

* Delete UserSystemEnabled in some files.

* Delete onRetriveFail function in main view ticket page.

* Replace user-system-enabled to mandatory-login in some files.

* replace user-system-enabled to mandatory-login in install steps.

* Fix style in dashboard-[Ccreate-ticket-page and dashboard-list-article-page.

* Fix mandatory login issues

Co-authored-by: LautaroCesso <lautaro_cesso@hotmail.com>
Co-authored-by: Ivan Diaz <ivan@opensupports.com>
2020-05-12 19:22:51 -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
Maxi Redigonda c70e9a444d Allows all staff members in charge of the department of a ticket to manage it (change its department, priority, comment on it, etc.) 2019-07-11 19:42:09 -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 ace895a4a2 Use own exception class 2018-11-20 19:41:21 -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 Diaz 96868abd92 Allow tickets to be created by staff members #175 2018-07-17 01:17:49 -03:00
ivan 989c2e35f8 Ivan - OpenSupports v4.1.0 release changes 2017-06-28 10:02:54 -03:00
ivan a59bea46c6 Merge branch 'master' of https://github.com/opensupports/opensupports 2017-06-13 18:17:28 -03:00
Kallys 33ddbd972d Fix review comments 2017-06-12 12:22:31 +02:00
Ivan Diaz 172d19c57f Merge branch 'master' of https://github.com/opensupports/opensupports into development
Conflicts:
	server/controllers/system/init-settings.php
2017-06-07 02:32:39 -03:00
Ivan Diaz ec34acc080 Ivan - Avoid verification if smtp is not set. Implement singleton pattern in MailSender class 2017-06-05 11:41:52 -03:00
Kallys d576ec726e Allow users to close their tickets with user system disabled 2017-06-01 12:14:23 +02: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 a244a58ebc Ivan - Add all mail templates [skip ci] 2017-03-16 20:00:21 -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
ivan 8b3c8bf284 Ivan - Fix authorUser/authorStaff issues, fix date, add tests for ticket events [skip ci] 2016-11-20 19:00:39 -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 073a429231 guillermo- path-ticket-close and path-ticket-re-open [skip ci] 2016-10-15 03:23:12 -03:00