Commit Graph

1744 Commits

Author SHA1 Message Date
Maxi Redigonda da534e3018 Adds Google close session functionality 2020-08-20 16:40:15 -03:00
Maxi Redigonda 0518b0ac17 Adds branching for when social login user wasn't created 2020-08-20 16:23:30 -03:00
Maxi Redigonda 5d2e4fcb1f Merge branch 'master' of https://github.com/opensupports/opensupports into social-login 2020-08-20 14:53:39 -03:00
LautaroCesso 7a803dd7ff
Fix security bug, Ticket Number data filtered. (#879) 2020-08-19 23:45:47 -03:00
LautaroCesso 4077dac8c7
Remember me function for staffs (#866)
* fix warning in checbox in form field.

* Add remember me function for staffs.

* Add staff instance in session cookie.

* Add result data staff in get user data in auto login.

* Fix remember me function for user.

* Fix login test rb and add remember me function test in login rb.

* Resolve github maxi comments.
2020-08-19 23:33:40 -03:00
Maxi Redigonda c4e211518c WIP - Stub to log in with Google 2020-08-19 17:33:38 -03:00
Maxi Redigonda 56ca30a7c3 WIP - validates google token and gets its data 2020-08-19 16:17:44 -03:00
Maxi Redigonda fad3dce646 Adds google/apiclient to composer json 2020-08-19 16:17:44 -03:00
Maxi Redigonda deb590ceee Places Google Login button inside login widget 2020-08-19 16:17:44 -03:00
LautaroCesso e36b984b23 Resolve github maxi comments. 2020-08-18 23:48:06 -03:00
LautaroCesso e397d45c53 Merge branch 'master' into remember-me-function-for-staffs 2020-08-13 15:57:31 -03:00
LautaroCesso e4a9366b07 Fix login test rb and add remember me function test in login rb. 2020-08-12 20:32:17 -03:00
LautaroCesso bbbc845fe7 Fix remember me function for user. 2020-08-12 16:02:39 -03:00
LautaroCesso a46140381b Add result data staff in get user data in auto login. 2020-08-11 23:51:41 -03:00
LautaroCesso d72aec3976 Add staff instance in session cookie. 2020-08-11 23:35:10 -03:00
LautaroCesso 1c5d156723
Delete non existent step 7 instalation (#862)
* Delete non existent step 7 instalation

* Add INSTALLATION_COMPLETED_TITLE i18n and delete INSTALLATION_COMPLETED.
2020-08-07 17:29:24 -03:00
Maximiliano Redigonda f72f2ac074
Merge pull request #867 from opensupports/fix-system-get-logs
Fixes /system/get-logs by adding getFetchAs
2020-08-07 17:25:25 -03:00
Maxi Redigonda 01a494ac23 Fixes /system/get-logs by adding getFetchAs 2020-08-05 16:34:27 -03:00
Maxi Redigonda 4fd9db8651 Assumes all tables exist, updates tests.
An internal function has now a new signature, it receives a query,
and now tests correctly reflect that.
2020-08-03 19:39:48 -03:00
LautaroCesso 01718cf92b Merge branch 'master' into remember-me-function-for-staffs 2020-08-03 12:58:28 -03:00
LautaroCesso 96990c8c04 Add remember me function for staffs. 2020-08-03 12:54:15 -03:00
LautaroCesso bb9873be4f fix warning in checbox in form field. 2020-08-03 12:52:12 -03:00
Maximiliano Redigonda 4970b18c2d
Merge pull request #861 from chsjr1996/patch-1
Update br.js translation
2020-07-31 19:52:35 -03:00
Carlos H 92e222f10d
Update br.js
Translate remaining "tickets" words
2020-07-31 14:52:49 -03:00
Maximiliano Redigonda 76b7e2c6e7
Merge pull request #859 from opensupports/forbid-get-supervised-tickets-path-to-staffs
Forbids call to /get-supervised-tickets from staff
2020-07-31 12:03:14 -03:00
Maximiliano Redigonda 38c90e2c07
Merge pull request #850 from opensupports/avoid-manual-parsing-of-query-strings-using-library
Avoid manual parsing of query string using queryString library
2020-07-31 12:02:26 -03:00
LautaroCesso 938e25b2fa
Add edit buttons for fields in ticket viewer (#835)
* Fix style color in autocomplete component and dropdown in ticket search and ticket viewer.

* Change style of ticket status edit in ticket viewer.

* Redirect to ticket search when author name was clicked in ticket viewer

* Add i18n ASSIGNED_TO_ME.

* Add content on selected in dropdown component.

* Add styles in edit tags in ticket viewers

* Add edit owner and delete i18n ASSIGNED_TO_ME.

* Redirect to ticket search when owner name was clicked in ticket viewer

* Add style in edit department in ticket viewer.

* Add nav links in owner and author in ticket viewer.
2020-07-30 22:30:48 -03:00
LautaroCesso 1ecf619892
fix autocomplete bug (#855) 2020-07-30 22:13:14 -03:00
LautaroCesso 57b5ea8820
Autocomplete supervised users should not show supervisor user as option (#856)
* Fix bug in supervised user

* Add some line break in admin panel view user.
2020-07-30 21:59:54 -03:00
LautaroCesso 7866880152
Add authors column in dashboard list ticket page. (#857) 2020-07-30 21:52:43 -03:00
LautaroCesso 6d938bead4
Take out remember data of important inputs. (#858) 2020-07-30 21:42:08 -03:00
Maxi Redigonda 5b16393659 Optimizes query to avoid information_schema (-2s)
This actually also corrects a bug (previous to this, the query would
find any table with the correct name in any database).
2020-07-30 15:36:28 -03:00
Carlos H e3b57bd106
Update br.js
The 'ingressos' word in BR does not represent a "support ticket", but represent a "ticket" of events or places like movie theater, soccer match, etc.

The correct word is already used in this file is "chamados".
2020-07-30 09:26:45 -03:00
Maxi Redigonda 2bf6b2c23f Centralizes calls to expensive functions (-2.5 s). 2020-07-29 15:50:05 -03:00
Maxi Redigonda 384f7c93d7 Avoids redundant call saving 2.5 seconds 2020-07-29 15:36:18 -03:00
Maxi Redigonda 785e2d8ac5 Forbids call to /get-supervised-tickets from staff 2020-07-28 16:36:40 -03:00
Maxi Redigonda 47ea47f971 Avoid manual parsing of query string using queryString library as in the rest of the code. 2020-07-28 15:56:19 -03:00
Guillermo Giuliana c4a2c48eae
and create tags instead priority script 4.8 (#849)
* and create tags instead priority script 4.8

* change names request ticket ids

* add tag model documentation

* .
2020-07-22 13:24:40 -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 302a29db41
Fix filter show bug in ticket search when ordering (#829)
* Fix bug in admin panel search tickets page first part.

* fix show filters in search ticket

* fix a ternary in admin panel search ticket.

* fix a ternary in admin panel search ticket second part.

* Add loading in ticket query filters buttons.

* fix bug in search ticket when ordering.

* Fix error with retrieve staff members in admin panel search tickets.

* get all staff members after staff login.

* Move history listen to index.js and add staff members in local storage.

* Rename className in ticket query filters

* Rename currentSearchObject to currentSearchParams.

* Fix change show tickets in reducer and admin panel search tickets.

* fix get filters for url function in search utils.

* add some tabulations in search tickets utils.

* fix error with initial url in ticket search

* Add empty line at the end of ticket-query-filters.js
2020-07-21 23:07:05 -03:00
Guillermo Giuliana 2e37c35b41
languages (#846) 2020-07-21 22:50:19 -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 9634fdfeb0
Add loading list ticket page (#847)
* add loading list ticket page

* add space to prop

* ,
2020-07-21 09:40:05 -03:00
Guillermo Giuliana 5a62ce10b7
and set 4.7.0 ticket model correct (#845) 2020-07-21 08:40:04 -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
LautaroCesso 507be7bff2
Fix bug in assing ticket dropdown (#840)
* fix assing ticket dropdown bug in ticket viewer.

* add tabulations in render tag
2020-07-16 19:11:07 -03:00
Ivan Diaz f8342ffa16
Hotfix email polling not working (#839) 2020-07-14 20:34:01 -03:00
LautaroCesso 79527c690d
Restore ticket title state when cancel edit ticket title (#838) 2020-07-14 20:07:29 -03:00
LautaroCesso 14d81cff24
Fix style in edit ticket title and add loading logic. (#827) 2020-07-14 19:19:51 -03:00
LautaroCesso 62497d1263
Delete ticket priorities. (#822)
* Delete ticket priorities.

* Fix style in autocomplete component.

* Fix style in tag selector component.

* Fix style in ticket query filters.

* Fix style in ticket viewer.

* Delete commented lines.
2020-07-06 13:39:38 -03:00