Commit Graph

48 Commits

Author SHA1 Message Date
Guillermo Giuliana b73d6d534d
Fix ticket seach query when you are looking for an own ticket that is not in an owned department (#897)
* update departments filter

* update php test
2020-09-29 01:14:06 -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 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
LautaroCesso 6d476d5d5d
Ticket filters (#795)
* Delete one line break in table.js

* Add status icon in ticket title

* Compare new filters with previous filters

* Add ticket query filters

* Add departments and priority filters.

* Minor style changes in TagSelector and Tag

* Add content on selected items Autocomplete component

* Delete id prop from autocomplete component

* Add DateSelector and DateRange component.

* Delete compare function and add arrow orderby icon.

* Add dateRange and orderBy filters.

* Add minors changes of tabulations

* Minors changes of funtion name and constant name

* Minors changes of funtion name and constant name part 2.

* Transform SearchBox in a controlled component.

* Add Autocomplete and DateRange component int FormField.

* Add preventDefault event in DropDown.

* Create some customs list.

* Add TagSelector in FormField.

* Add private icon in autocomplete departments filters and correct some errors.

* Delete consoleLogs.

* Add ANY and TAGS (i18n).

* Add search-filters reducer.

* Add CLEAR (i18n).

* Add clear form button in ticket search.

* Correrct titel error in ticket search.

* Correrct style submit button in ticket search.

* Submit form not change orderBy.

* Replace AdminPanelAllTicekts to AdminPanelSearchTicket.

* Correct error when query is empty string.

* Change form style.

* Add show filters button.

* Add minors style changes.

* Add autors filters first part.

* Add autors filters second part.

* Apply filters when enter is pressed in searchbox.

* Change prop name to node proptype in tag component.

* Change search filter actions name.

* Change name of render arrow icon in ticketList Component.

* Fix an error with Autocomplete component.

* Restore demo page and system.

* Update ticket list test.

* Fix an error with timeout in autocomplete test.

* Delete custom ticket list in index.html.

* rder the functions in search-filters-reducer.

* Fix store undefine in session-action-test.

* fix import store in session action test.

* Delete unlock icon in ticket list.

* Change style in autocomplete component.

* Change size of lock icon in ticket list.

* Fix error with blacklist in authors autocomplete.

* Comment session action test.

* Fix test in get-authors.rb and searchTest.php

* Add onChange in tag-selector

* Fix some bugs and autocomplete authors.

* Wip

* wip

* wip

* wip

* Fix authors bugs in orderBy filter.

* Delete some consoleLogs in autocomplete component.

* Fix bug with authors filters when clicked custom list menu.

* Fix highlight menu item bug.

* Fix error when custom tickets list is undefined.

* change double quote to single quote in search filters reducer

* Fix error with get authors path in admin panel ticket search

* Add page in ticket search filters

* Join componentDidMount from Ticket QueryFilter and TicketQuery List in AdminPanelSearchTicket and add retrieveSearchTickets action in seartch ticket reducer.

* rename search tickets api to search tickets utils

* correct import of searchFiltersActions

* move some functions to search tickets utils and date transformer

* Fix bug with component did mount when custom tickets list menu option was clicked

* Fix bug with component did mount and closed filters in url

* Fix bug with authors filters in url when did mount search tickets page

* Fix bug with closed urlFilters in search tickets did mount

* Fix bug when change authors in urlFilters

* Fix bug with authors filters in retrieveSearchTickets action

* Delete changeCustomListFilters action

* Fix error with dateRange filters in retrieveSearchTickets action

* Add page in url

* Rename filtesForAPI to filtersForAPI in search filters reducer.

* Update Autocomplete test

* Fix error with get-authors-test

* fix bug with double request when search ticket page was mounted with item selected menu and delete custom param in url when custom ticket list form was edited

* Add separator line between form filters and tickets table and delete console log

* doubles the animation speed of show filters

* Show form filters in search tickets

* delete console log in session action

* wip

* Fix error with ticket list when custom list change.

* Fix bug with hover of date range component.

* Fix Autocomplete test.

* Fix error with autocomplete owners in ticket query filters component.

Co-authored-by: Ivan Diaz <ivan@opensupports.com>
2020-06-24 16:45:55 -03:00
Guillermo Giuliana 7daa53e47d
set ticket author correctly (#817)
* set ticket author correctly

* x
2020-06-24 02:12:13 -03:00
Ivan Diaz 1d19d5578b
Add gif support, fix styling issues, fix login test (#784) 2020-05-13 16:08:42 -03:00
Guillermo Giuliana 55e88f2ac6 update search php test 2020-03-02 00:20:55 -03:00
Guillermo Giuliana 74de20641f fix department filter of ticket search 2020-01-31 21:47:56 -03:00
Guillermo Giuliana 46ca19c2cc add owner filter to ticketSearch BE 2020-01-23 22:26:32 -03:00
Guillermo Giuliana 9cff8cd789 fix ticket search unitary tests 2020-01-23 19:39:22 -03:00
Ivan Diaz 9ca6632ee9 Fix APIKey mock 2020-01-07 15:09:06 -03:00
Guillermo d25da2c5ff add validation test 2019-12-27 19:50:50 -03:00
Guillermo f9e8a0abec add department test and escape query 2019-12-26 17:25:00 -03:00
Guillermo Giuliana 2099af5f3a
Update LinearCongruentialGeneratorTest.php 2019-12-17 10:15:19 -03:00
Guillermo bac138757e fix search php test 2019-12-17 09:04:49 -03:00
Guillermo 2678947f85 ticket search list frontend 2019-12-17 08:35:04 -03:00
Guillermo 57d3766c9d unit test for Search ticket 2019-11-14 17:17:45 -03:00
Ivan Diaz ca80e3ed1f Use custom exception on response 2018-11-22 16:00:40 -03:00
Ivan Diaz 4251e3b5e7 Fix login with rememberToken 2018-11-16 19:34:07 -03:00
Ivan Diaz 85eced56ff Fix mailtemplate tests 2018-11-16 17:24:43 -03:00
Sam Mousa 5d83143664
Use composer autoloader for source files (except tests) 2018-11-12 17:14:30 +01:00
Ivan Diaz 3f7dcc8d2c Fix php tests 2018-10-05 02:28:57 -03:00
ivan 83b1a7c69b Fix version upgrade 2017-12-06 20:56:12 -03:00
ivan a81e7320b7 Prepare 4.1.1 2017-11-30 18:06:09 -03:00
ivan 1b48369e27 add test for linear congruential generator 2017-11-06 21:39:12 -03:00
ivan 3fabdfbe2f fix phpunit tests 2017-11-06 16:06:34 -03:00
ivan 892e1536a2 Ivan - Fix installation in subfolder and file permissions 2017-04-10 22:30:39 -03:00
Ivan Diaz 575f34256a Ivan - Fix unit testing backend 2017-01-14 23:51:31 -03:00
ivan cc7c5bfb3d Ivan - STAFF LOGIN - Add Staff login to backend [skip ci] 2016-09-25 01:16:10 -03:00
ivan 157cce4b5e Ivan - Backend - Fix captcha test 2016-08-30 16:13:31 -03:00
ivan 12cf0df27f Ivan - Backend - Fix captcha tests 2016-08-30 15:41:35 -03:00
ivan d1f1909cc3 Ivan - Backend - Fix captcha tests 2016-08-30 15:35:10 -03:00
ivan 8a87e8118d Ivan - Backend - Add unit test for captcha validation [skip ci] 2016-08-20 19:19:18 -03:00
ivan d6853b3a4b Ivan - Fix all list/beanInstance functionality 2016-08-04 00:59:04 -03:00
ivan 50974d2ed2 Ivan - Fix mocks and unit testing to use NullDataStore and BeanMock [skip ci] 2016-07-27 18:27:28 -03:00
ivan 3f01526814 Ivan - Fix issues with mail templating and add it to ruby tests [skip ci] 2016-07-27 00:44:07 -03:00
Ivan Diaz 4c075d3821 Merged in Add-email-sender-class (pull request #22)
Add email sender class
2016-07-19 17:49:21 -03:00
ivan c613d886b3 Ivan - Fix master login test 2016-07-19 10:51:43 -03:00
ivan e6fb52791e Ivan - Add Unit testing for MailTemplate [skip ci] 2016-07-14 19:31:23 -03:00
Ivan Diaz 108ebd781c [Ivan Diaz] - OS-#39 - Fix test issues 2016-05-14 20:22:46 -03:00
Ivan Diaz e7445a1c21 [Ivan Diaz] - Remove isAdmin property form user model 2016-04-28 21:23:27 -03:00
Ivan Diaz 993c618c9f [Ivan Diaz] - Move folder architecture 2016-04-17 18:44:24 -03:00
Ivan Diaz b9eefa3213 [Ivan Diaz] - Remaname server folder to api 2016-01-27 13:40:25 -03:00
Ivan Diaz ce19284159 [Ivan Diaz] - Create libraries Controller and Session 2016-01-14 23:45:22 -03:00
Ivan Diaz 814c8d5448 [Ivan Diaz] - Update testing values 2015-12-29 17:42:36 -03:00
Ivan Diaz b39fd2f948 [Ivan Diaz] - Add Mocks and Model tests 2015-11-27 19:58:05 -03:00
Ivan Diaz 4873613799 [Ivan Diaz] - Code Updates 2015-11-18 21:57:59 -03:00
Ivan Diaz 0244585193 [Ivan Diaz] - Update server folder structure 2015-10-28 20:47:40 -03:00