Commit Graph

175 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
J0WI 1a9e1a852c
Only erase all mails on success (#894) 2021-01-05 21:47:33 -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 c00720d6a2
Minor GitHub bugs (#806)
* text-validation to edit article content

* shows only own department on my account

* add moment and update date

* Update date transformer

* Delete time zone setting.

* Use local date in date range component and utc date in date range filter.

* Fix github comment.

* Fix merge 'Fix filter show bug in ticket search when ordering'.

* Fix merge 'Fix filter show bug in ticket search when ordering' second part.

* Fix getDefaultUTCEndDate function.

Co-authored-by: Ivan Diaz <ivan@opensupports.com>
Co-authored-by: LautaroCesso <lautaro_cesso@hotmail.com>
2020-08-28 07:13:34 -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 cd73606852
Super user feature (#841)
* add ruby tests

* update ruby test

* backend part

* add get-supervised-ticket path and ruby tests

* update search-authors path and custom validation to get-supervised-tickets

* add supervised users components and css

* add supervised-users messages

* resolve minor bugs get super ticket, ruby tests and change file name

* add supervisor options on user panel

* change supervisor structure

* add pagination dashboard supervisor tickets

* change error name

* add error to path edit-supervised-list

* fix github comments

* resolve github comment backend

* add minor changes dashboard list tickets page
2020-07-21 06:52:34 -03:00
Ivan Diaz f8342ffa16
Hotfix email polling not working (#839) 2020-07-14 20:34:01 -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 71a1d434ef Add base schema population 2020-01-22 14:26:07 -03:00
Ivan Diaz ec98767e25 Fix APIkey mock 2020-01-07 14:51:16 -03:00
Ivan Diaz 7e1749dbd1 Add create ticket APIKey 2019-11-16 16:07:02 -03:00
Guillermo Giuliana efbe553076 release v4.5.0 2019-10-07 20:21:43 -03:00
Guillermo 69d0c58172 fix test ruby 2019-07-01 20:38:34 -03:00
Ivan Diaz 28d50e7d24 Release v4.4.0 2019-03-06 12:50:25 -03:00
Ivan Diaz 0a5928f0bb Disable statistics 2019-03-06 12:41:53 -03:00
Ivan Diaz a355fc30da
Merge pull request #479 from ivandiazwm/guillermo-master
Guillermo master
2019-03-01 02:46:28 -03:00
Ivan Diaz 30dcca3ea3
Fix variable name 2019-02-28 23:31:01 -03:00
Ivan Diaz fad0e8eafb remove tag path 2019-02-22 14:08:49 -03:00
Ivan Diaz 4627405242 Merge branch 'custom-tags' into guillermo-master
Conflicts:
	server/libs/validations/dataStoreId.php
	tests/init.rb
2019-02-21 17:32:10 -03:00
Ivan Diaz 4b80a9b397 Fix #460 issue: Unable to edit email templates with two text fields 2019-02-20 14:18:14 -03:00
Ivan Diaz ef023d139b Fix custom field description 2019-02-13 20:17:19 -03:00
Ivan Diaz f6f8262880 Add custom fields test 2019-02-13 19:21:59 -03:00
Ivan Diaz 673a92c196 Remove file uploading from email polling 2019-02-10 20:52:42 -03:00
Ivan Diaz 623a81b51d Add Custom Fields feature 2019-02-03 16:47:29 -03:00
Ivan Diaz 58c6f2e63f wip 2019-01-18 20:58:30 -03:00
Ivan Diaz 08a6f7b8d0 Add email polling deletion 2019-01-12 04:49:25 -03:00
Ivan Diaz 466c37cfeb Fix email fields 2019-01-12 04:36:33 -03:00
Ivan Diaz c7f489d988 Add fronted email configuration 2019-01-12 00:38:33 -03:00
Ivan Diaz 429796aee8 Email feature - wip 2018-12-23 21:44:59 -03:00
Ivan Diaz 0780863257 Fix private department issues 2018-11-29 18:52:34 -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
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 4251e3b5e7 Fix login with rememberToken 2018-11-16 19:34:07 -03:00
Ivan Diaz a187e06ce3 Solve merge conflicts 2018-11-16 16:53:40 -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 8654433702 Add email template image header edition 2018-11-14 22:59:00 -03:00
Ivan Diaz 614b5a1a67 Refactor mail templates frontend, update backend refactor 2018-11-14 19:58:32 -03:00
Ivan Diaz e6b23c7f29 Refactor backend of mailtemplates, addd removal of last logs 2018-11-14 12:28:01 -03:00
Sam Mousa 13bd53b326
Removed some more includes; restore loading controller groups manually 2018-11-12 17:46:44 +01:00
Ivan Diaz c3d1637615 #335 fix email template editing 2018-10-26 12:02:07 -03:00
Ivan Diaz b4342167e4 Update API documentation 2018-09-20 17:19:47 -03:00