Commit Graph

87 Commits

Author SHA1 Message Date
Joel Elias Méndez 93fa9e12a3
[DEV-332] Create ruby tests for the new page size parameter (#1196) 2022-05-16 13:45:12 -03:00
LautaroCesso c82aaa001e
[DEV-318] Add edit comment tests (#1194)
* WIP Fix ruby tests

* WIP

* WIP

* Add edit ticket comment test
2022-05-04 11:30:37 -03:00
Maximiliano Redigonda a74d6ab4d7
[DEV-328] Fix array offset on null in /user/login (#1185) 2022-05-02 16:48:14 -03:00
Guillermo Giuliana 639d40ddb0
[DEV-194] Change same department of a ticket bug (#1135)
* add logic into change-departmetn path

* add ruby tests
2022-01-28 14:22:07 -03:00
LautaroCesso b39e4c2a5f
Fix edit ticket comment (#1107)
* Fix edit ticket comment

* Add some docs comments

* Change some test names
2021-12-02 21:35:37 -03:00
LautaroCesso d7ccff1a5a
[DEV-26] Update length validations (#1075)
* Update length validations

* Fix language validations

* Remove unnecessary import

* Delete some semicolons
2021-11-11 17:17:39 -03:00
Guillermo Giuliana 9ed4caf202
[DEV-160] Add user permission into logout path (#1073)
* fix apidoc

* add user verification into logout.php and update ruby tests
2021-11-05 17:06:08 -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
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
LautaroCesso 52eae4d242
Thorough ruby tests /ticket/search path (#870)
* Add ticket/search test (ruby)

* Resolve github maxi comments.

* Resolve github maxi comments second part.

* wip

* Rename some test.

* Add query filter test.

* Add test combining multiple parameters.

* wip

* comment query test in search.rb

* comment query test in search.rb second part.
2020-08-28 05:19:47 -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
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
Ivan Diaz eca89ea9b4 Fix docker implementation 2020-05-13 02:51:51 -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 5b75e5d732 allow empty query in get authors path, changes names 2020-03-02 19:08:19 -03:00
Guillermo Giuliana c6c1a57c57 ruby tests get authors path 2020-03-02 17:19:14 -03:00
Guillermo Giuliana aedae876d6 increase length liming content, allowes title-articles with 1 caracted 2020-02-05 16:43:14 -03:00
Guillermo Giuliana a2502bc1c6 add length limit contents 2020-02-05 15:43:25 -03:00
Guillermo Giuliana d520b96932 fix ruby tests and change ticket search departmentvalid functions 2020-02-04 16:22:08 -03:00
Guillermo eb9a970353 Edit ticket title feature 2020-01-07 17:11:52 -03:00
Guillermo af92a6bbf2 part 1 edit ticket title 2020-01-02 09:55:55 -03:00
Guillermo 702b786202 search ruby test 2019-12-27 22:46:25 -03:00
Guillermo e64e8e65f1 update rudy test 2019-12-27 20:51:22 -03:00
Guillermo 9f84239c3e search ruby tests 2019-12-27 19:59:23 -03:00
Maxi Redigonda 87e2984fa4 Removes /staff/add path, updates tests accordingly, and adds log when a staff member is invited 2019-10-31 16:13:04 -03:00
Ivan Diaz a477941b18
Merge pull request #638 from mredigonda/fix-release-bugs
Fix various bugs pre-release 4.5.0
2019-10-14 16:52:28 -03:00
Maxi Redigonda 81a7300b14 Fixes tests to meet requirements on color format, and add new test to rule out for invalid formats 2019-10-14 11:17:16 -03:00
Guillermo Giuliana d0a6dd06d8 fix Staff class,canManageTicket function to camelcase form.fix bug edit commment FE id ternary 2019-10-10 18:22:04 -03:00
Guillermo Giuliana 4b2d27e757 fix ticket seen path and tests 2019-10-10 15:24:50 -03:00
Guillermo Giuliana 63ef66198a Remove special functionality of "ticket assignment", other minor fixes (#587)
* fix ticketEventId submit

* staff allow manage ticket feature

* edit-comment log

* fix staff1/2 change own perfile pic

* Makes frontend allow ticket editing for any staff member

* Allows all staff members in charge of the department of a ticket to manage it (change its department, priority, comment on it, etc.)

* fix comments github pt1

* tests ruby

* fix

* Fix ruby tests

* add commenteed tests
2019-10-01 16:40:30 -03:00
Guillermo 69d0c58172 fix test ruby 2019-07-01 20:38:34 -03:00
Guillermo 94a8cd4431 edit comment ticket feature 2019-06-26 22:04:56 -03:00
Guillermo 36d09ec919 tag tests ruby 2019-02-25 13:34:22 -03:00
Ivan Diaz 28f26d0956 Fix custom tags tests errors 2019-02-14 19:45:52 -03:00
Guillermo 234de7ed2c feature#146 backend 2018-12-12 01:23:58 -03:00
Guillermo 1bc30240bd fix test 2018-11-26 02:43:37 -03:00
Guillermo b4dc92b8f1 features #340 2018-11-23 19:44:10 -03:00
Ivan Diaz 099dd5a5a0 Fix ticket delete test issues 2018-10-29 19:32:03 -03:00
Guillermo b8bac44d43 s 2018-10-29 11:32:31 -03:00
Guillermo b5c3d7ee23 feature #174 2018-09-27 21:19:34 -03:00
Ivan Diaz 0b38addd58 Update ruby tests 2018-07-19 18:09:54 -03:00
Ivan Diaz 0a5d444186 Mark as unread if author is not making the change 2018-07-17 02:04:00 -03:00
Ivan Diaz 050623713c Merge branch 'master' of github.com:opensupports/opensupports
Conflicts:
	tests/ticket/close.rb
2018-07-17 01:22:00 -03:00
Ivan Diaz 96868abd92 Allow tickets to be created by staff members #175 2018-07-17 01:17:49 -03:00
Guillermo 52934bc473 fix some tests 2018-07-14 15:11:38 -03:00
Guillermo 787bd9a42b test of feature #101 2018-07-12 02:08:37 -03:00
Guillermo 9c8052439c Synchronize beckend title lenght validator 2018-06-02 02:10:31 -03:00
ivan 43f8b6017a Fix test issues 2018-04-18 15:31:17 -03:00
ivan fcb26fab60 Ivan - Fix comment bug #27 2017-06-25 06:07:14 -03:00