Commit Graph

1831 Commits

Author SHA1 Message Date
Joel Elias Méndez 7cdb6d3603
[DEV-149] add close button to messages (#1071)
* add close button to messages

* improve coding
2021-11-02 17:39:34 -03:00
LautaroCesso 1836849fa5
Delete unused modal (#1072) 2021-11-02 16:33:56 -03:00
Ivan Diaz 9f9e1dbd91
Remove textContent check for non-textarea elements (#1066) 2021-10-21 12:09:13 -03:00
Ivan Diaz 60b1b5eec5
add x-frame-options for cleint php page 2021-10-21 12:07:33 -03:00
Guillermo Giuliana 7b4427d3e3
add php header (#1064) 2021-10-21 11:50:02 -03:00
Joel Elias Méndez 09150d6940
fix message issue (#1063) 2021-10-20 14:10:09 -03:00
Guillermo Giuliana 02cf8f0da3
Update php cookies security (#1056)
* set php cookies

* update edit title doc

* add session renerate id to session createSession function
2021-10-18 22:06:32 -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
Joel Elias Méndez b2e43430b1
Add email status (#1058) 2021-10-15 15:43:55 -03:00
Joel Elias Méndez 8c17d22ab3
Fix frontend issues (#1055)
* fix login widget bugs

* fix ticket issues

* fix path name
2021-10-14 20:29:57 -03:00
Guillermo Giuliana 143776febe
update api documentation (#971) 2021-10-14 17:57:02 -03:00
Justman10000 6536050fdd
Translation corrected (#1021)
* Corrected translation

* I forgot

* I forgot too

* You already know that Anmelden and Einloggen are the same thing?
2021-10-14 17:52:30 -03:00
Joel Elias Méndez 9a4374d371
[DEV-114] Add "resend verification email" in frontend (#1047)
* resend-verification-token

* force resend email verification

* delete wrong codelines

* improve code

* fix loading
2021-10-14 14:07:23 -03:00
Joel Elias Méndez b8be664809
fix-response-width (#1054) 2021-10-14 13:29:12 -03:00
Ivan Diaz e9a1a2e5be
Create SECURITY.md 2021-10-14 02:52:38 -03:00
Joel Elias Méndez 0f976ebde9
Add reopen option after a ticket is closed (#1041) 2021-10-10 15:42:36 -03:00
Guillermo Giuliana c64f1f1ea6
[DEV-146] resend verification email backend (#1049)
* add path resend signup token

* add ruby tests
2021-10-08 19:07:14 -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
Joel Elias Méndez af15d0116d
After delete a ticket redirect to previous page (#1044) 2021-10-08 16:09:39 -03:00
Joel Elias Méndez 6ccb389492
[DEV-129] Redirect after ticket is created without user system (#1045)
* Redirect to home/dashboard after ticket is created without user system

* fix min-height in main-home-page-portal component

* Move success messagge

* querystring check

* fix delete ticket button visibility
2021-10-08 16:09:09 -03:00
Joel Elias Méndez ae076de88f
[DEV-104] - Redirect to home/dashboard after ticket is created without user system (#1037)
* Redirect to home/dashboard after ticket is created without user system

* fix min-height in main-home-page-portal component

* Move success messagge

* querystring check
2021-09-27 19:00:43 -03:00
Joel Elias Méndez 59fb9eaef3
[DEV-129] Remove "Delete ticket" from response form (#1038)
* Delete ticket button for logged user

* define variables
2021-09-27 11:16:25 -03:00
Joel Elias Méndez ffe7ef8e0b
Change Registration Api Keys name to Api Keys (#1039) 2021-09-27 10:05:23 -03:00
Guillermo Giuliana 27e86c934c
[DEV-131] Fix delete ticket bug (#1035)
* verify ticket author-user before reduce amount of tickets created

* add ruby test

* change geting tickets by id in ruby tests
2021-09-22 18:20:19 -03:00
Ivan Diaz 064f00388a
Fix undefined property check for user 2021-09-18 23:07:09 -03:00
Joel Elias Méndez fc93ad4c00
[DEV-109] Add Info tooltip warning about tickets not visible (#1031)
* Info tooltip added

* delete blank spaces
2021-09-16 10:50:21 -03:00
Guillermo Giuliana c22a1cdbb3
[DEV-95] add prevent default when pressing down Enter key (#1033)
* add prevent default when pressing down Enter key

* delete listener and add onkeydown prop
2021-09-15 14:21:19 -03:00
Ivan Diaz 89cb4c18fd Update composer.lock 2021-08-30 00:23:15 -03:00
LautaroCesso 167d7927db
Clear create ticket form after create a ticket with mandatory login disabled (#966)
* Clear create ticket form after create a ticket with mandatory login disabled.

* WIP
2021-08-29 22:12:41 -03:00
LautaroCesso 55c89d58cc
Fix style diff in create ticket form without attachment file button (#974) 2021-08-29 22:11:22 -03:00
LautaroCesso 0bcc775944
Delete date warning (#975) 2021-08-29 22:09:11 -03:00
LautaroCesso e6441179c9
Fix bug in ticket count in admin panel list users (#967) 2021-01-19 17:15:43 -03:00
LautaroCesso 45a59e0b20
Close panel when inviting user (#960)
* Close panel when inviting user

* Move success invite user message to admin panel list user
2021-01-12 17:39:16 -03:00
Ivan Diaz 9f7b11413c Fix readme version, fix frontend tests 2021-01-08 16:31:06 -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
Ivan Diaz 0088332562 Use english as default i18n in case it breaks 2021-01-07 20:53:28 -03:00
Guillermo Giuliana 42c5dd7210
Add updating script 4.9.0 (#964)
* Add updating script 4.9.0

* Update 4.9.0.php
2021-01-07 19:33:20 -03:00
J0WI 1a9e1a852c
Only erase all mails on success (#894) 2021-01-05 21:47:33 -03:00
Guillermo Giuliana 49dc1ab56c
DEV-86 (#959) 2021-01-05 21:02:35 -03:00
dependabot[bot] 1ea4509e4f
Bump axios from 0.18.1 to 0.21.1 in /client (#962)
Bumps [axios](https://github.com/axios/axios) from 0.18.1 to 0.21.1.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v0.21.1/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.18.1...v0.21.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-05 19:58:23 -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 51eee4ed7b
Paginate ticket list in admin panel view user (#944)
Co-authored-by: Ivan Diaz <ivan@opensupports.com>
2020-12-26 19:13:59 -03:00
LautaroCesso 1e0e0134a3
Fix style bug in ticket viewer (#947)
* fix style bug in ticket viewer

* Fix style in invite staff modal

Co-authored-by: Ivan Diaz <ivan@opensupports.com>
2020-12-26 18:25:32 -03:00
LautaroCesso bc9023b8a6
Auto discard change before delete custom response (#946) 2020-12-26 18:09:22 -03:00
LautaroCesso 534bf3624a
Fix bug custom fields default values undefined (#945)
* Fix bug in selected custom fields in admin panel invite user

* WIP

* Fix style

* WIP
2020-12-26 17:39:51 -03:00
LautaroCesso a7cb7f376c
Fix bug with discard department change (#942)
* Fix bug with discard department change

* WIP

* WIP

Co-authored-by: Ivan Diaz <ivan@opensupports.com>
2020-12-26 17:39:18 -03:00
Ivan Diaz c3088406da
Fix ticket date style (#958)
* Fix ticket date style in table componenet

* WIP

* WIP

* Add shortcat date in ticket list

Co-authored-by: LautaroCesso <lautaro_cesso@hotmail.com>
2020-12-26 16:29:30 -03:00
Ivan Diaz ea8d0719eb
Fix composer for 5.6 (#956)
* Fix composer lock for 5.6 support

* Fix ticketlist test render error
2020-12-24 20:05:28 -03:00
Ivan Diaz e4a7fe8783 Fix release automation 2020-12-06 20:58:44 -03:00