Commit Graph

1655 Commits

Author SHA1 Message Date
Maximiliano Redigonda d3638787e6
Adds Google platform.js script to index.php (#882) 2020-08-25 16:08:38 -03:00
Maximiliano Redigonda 68c3975ea4
Merge pull request #860 from opensupports/optimize-ticket-search
Optimize ticket search
2020-08-24 09:40:04 -03:00
Maximiliano Redigonda 6e6d2d83e7
Merge pull request #881 from opensupports/google-social-login
Google social login
2020-08-24 09:34:29 -03:00
Maxi Redigonda 371f111706 Fixes frontend tests by mocking gapi object 2020-08-24 07:50:07 -03:00
Maxi Redigonda bb89956e9a Fixes admin logout 2020-08-23 18:55:05 -03:00
Maxi Redigonda a89a465ac9 Adds check to see if email was verified 2020-08-22 00:47:24 -03:00
Maxi Redigonda 9f915a3291 Removes workaround 2020-08-21 00:05:42 -03:00
Maxi Redigonda 0fd23ac6b8 Aligns Google login button 2020-08-20 23:53:44 -03:00
Maxi Redigonda 5021781d25 Implements Google auto signup
If the user doesn't have an account on the system, the first time they
log in with Google, an account will be created.
2020-08-20 23:45:09 -03:00
Maxi Redigonda 47f92569ef Fixes button not showing and re-login 2020-08-20 22:56:31 -03:00
LautaroCesso c92ecf25dc
Transform staff/user Names Into Hyperlinks. (#875) 2020-08-20 19:15:54 -03:00
Maxi Redigonda 38136ade4d Moves renderGoogleButton out of render 2020-08-20 18:27:43 -03:00
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