90 Commits

Author SHA1 Message Date
LautaroCesso
8b4b73402e
Change 4.10.0 to 4.11.0 (#1126) 2022-01-04 13:24:06 -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
c657d8291f
add controller request secure param (#1060) 2021-10-18 22:05:54 -03:00
Guillermo Giuliana
143776febe
update api documentation (#971) 2021-10-14 17:57:02 -03:00
Ivan Diaz
064f00388a
Fix undefined property check for user 2021-09-18 23:07:09 -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
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
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
Ivan Diaz
c7af383ef2
Fix ticket session (#814) 2020-06-19 14:36:49 -03:00
Guillermo Giuliana
17e9dcf53b
fix multiple session handle ticket and update 4.7.0 update script (#812)
* fix multiple session handle ticket

* update 4.7.0 script
2020-06-18 07:08:20 -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
1e7a3e2f4a
Default department feature (#805)
* pt 2

* do not allow to delete default depto

* ticket craete changes and ruby tests

* set langauge to ticket  and ruby tests

* show departments/lenaguages dropdown logic frontend

* default department frontend

* fix github comments

* add logic edit-setting

* add settings to reducer

* resolve git hub comments logic frontend

* delete variables without use

* select default department dropdown

* fix ruby tabulation

* delete creaticketform console.log
2020-06-15 16:27:45 -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
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
Ivan Diaz
4d18bc9aa6
Merge branch 'master' into create-ticket-api-key 2020-01-07 14:22:10 -03:00
Ivan Diaz
7e1749dbd1 Add create ticket APIKey 2019-11-16 16:07:02 -03:00
Maxi Redigonda
a883f4d430 Creates ticket session when an unlogged user creates a ticket.
Fixes runtime error when there is no author associated with a log.
2019-11-08 10:41:50 -03:00
Guillermo Giuliana
efbe553076 release v4.5.0 2019-10-07 20:21:43 -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
Guillermo
e9dfbfb97b wip 2018-11-15 20:51:44 -03:00
Ivan Diaz
77e302f191 Fix text editor css 2018-09-21 23:50:53 -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
25117074a0 Fix issues related with #80 ticket assignment 2018-07-28 02:35:13 -03:00
Ivan Diaz
cd2e1cd3df Add create ticket option for staff members 2018-07-17 23:18:51 -03:00
Ivan Diaz
96868abd92 Allow tickets to be created by staff members #175 2018-07-17 01:17:49 -03:00
ivan
ad7051f2e0 Remove htmlentities, use html-to-text 2018-06-11 18:28:36 -03:00
Guillermo
9c8052439c Synchronize beckend title lenght validator 2018-06-02 02:10:31 -03:00
Guillermo
a98d7ecdd1 Add htmlentities to department name 2018-01-16 20:23:32 -03:00
ivan
989c2e35f8 Ivan - OpenSupports v4.1.0 release changes 2017-06-28 10:02:54 -03:00
ivan
feee217510 Ivan - Fix MailSender instance to use singleton 2017-06-13 18:18:46 -03:00
ivan
a59bea46c6 Merge branch 'master' of https://github.com/opensupports/opensupports 2017-06-13 18:17:28 -03:00
AntonyAntonio
463853aa70 Guillermo - add new option for sending mails to staff when a new ticket is created 2017-06-10 03:27:22 -03:00
ivan
4d5ff5449d Merge branch 'development' of https://github.com/ivandiazwm/opensupports into development 2017-06-08 17:13:33 -03:00
ivan
cf1490711a Guillermo - fix bug #11 2017-06-07 14:18:58 -03: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
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
a76eacb52b Guillermo - things [skip ci] 2017-04-21 22:33:17 -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