Commit Graph

131 Commits

Author SHA1 Message Date
LautaroCesso 8b4b73402e
Change 4.10.0 to 4.11.0 (#1126) 2022-01-04 13:24:06 -03:00
Guillermo Giuliana b9f5f7fcf1
[DEV-205] Users/Staffs should not be able to change the email for one already used by another user/staff (#1121)
* add verification of email on staffs

* add email verification users

* fix inviteStaff ruby test function

* add edit staff ruby tests

* add edit user ruby tests

* update other ruby tests
2021-12-28 00:26:55 -03:00
LautaroCesso 5a1b558a6d
Fix some article bugs (#1102) 2021-12-01 20:00:36 -03:00
LautaroCesso d7ccff1a5a
[DEV-26] Update length validations (#1075)
* Update length validations

* Fix language validations

* Remove unnecessary import

* Delete some semicolons
2021-11-11 17:17:39 -03:00
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 143776febe
update api documentation (#971) 2021-10-14 17:57:02 -03:00
Guillermo Giuliana 5d4fe0250b
[DEV-148] Resend invitation backend (#1050)
* add resend-staff-invite path

* add resend-user-invite path

* add departments verification staff invite and ruby test

* add user invite ruby tests

* add resend invite paths and ruby tests
2021-10-08 19:04:25 -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
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 994a39ad6d
Add more descriptive error messages when in delete staff. (#892) 2020-09-30 17:35:32 -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
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 d520b96932 fix ruby tests and change ticket search departmentvalid functions 2020-02-04 16:22:08 -03:00
Guillermo Giuliana e44559618f Fix blank strings of titles and contents BE 2020-01-31 14:19:48 -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 b9e4a55b91
Merge branch 'master' into master 2019-12-20 11:35:51 -03:00
Guillermo 2678947f85 ticket search list frontend 2019-12-17 08:35:04 -03:00
Guillermo 5219b91388 add valid departments to staff search 2019-11-19 19:55:47 -03:00
Guillermo 57d3766c9d unit test for Search ticket 2019-11-14 17:17:45 -03:00
Guillermo Giuliana b81c628faa Search ticket path backend 2019-11-10 16:14:30 -03:00
Maxi Redigonda 1d84aa488c Removes checks for mailsender since it should always be connected. 2019-11-08 20:39:28 -03:00
Maxi Redigonda 87e2984fa4 Removes /staff/add path, updates tests accordingly, and adds log when a staff member is invited 2019-10-31 16:13:04 -03:00
Maxi Redigonda 643f3c81a9 Minor style changes 2019-10-29 18:23:20 -03:00
Maxi Redigonda 93ade9cf0f Implemented functionality to allow staff members invite other staffs. 2019-10-29 18:23:09 -03:00
Maxi Redigonda aa7cefc959 Fixed PHP documentation for path get-all 2019-10-28 10:49:00 -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 Giuliana 309440caf7
Merge pull request #9 from opensupports/master
Update master
2019-09-20 19:03:37 -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
Ivan Diaz b81a28114f [TR-22] - Fix department filter issue 2019-07-26 12:49:43 +02:00
Guillermo 36cfb1bcbe fix staff1/2 change own perfile pic 2019-07-07 22:06:29 -03:00
Guillermo 1106cd89b8 edit-comment log 2019-07-05 17:56:03 -03:00
Guillermo 53e88a78f7 staff allow manage ticket feature 2019-07-04 20:22:38 -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 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 761c3e4792 Fix get-new-tickets empty list error 2018-11-29 00:31:00 -03:00
Ivan Diaz 7439afff63 Merge branch 'master' of github.com:opensupports/opensupports 2018-11-29 00:09:53 -03:00
Guillermo Giuliana 80b6bcea8a
Merge branch 'master' into master 2018-11-23 21:36:40 -03:00
Ivan Diaz ace895a4a2 Use own exception class 2018-11-20 19:41:21 -03:00
Ivan Diaz a756ac7210 Remove LCG from file uploading 2018-11-16 15:12:15 -03:00
Guillermo e9dfbfb97b wip 2018-11-15 20:51:44 -03:00
Ivan Diaz e8848d898e Paginate all ticket list request, avoid returting too much data 2018-11-15 20:33:08 -03:00
Maxi Redigonda 0657857981 Deleting files uploaded by mistake :'( 2018-11-15 16:22:35 -03:00