Commit Graph

696 Commits

Author SHA1 Message Date
Maxi Redigonda 40016635a8 [DEV-367] Use FileDownloader instead of fopen 2022-06-03 16:42:57 -03:00
Maximiliano Redigonda 36c5f3264b
[DEV-143] Handle expired sessions (#1192) 2022-06-02 11:39:31 -03:00
Maximiliano Redigonda 8c732f5dda
[DEV-190] Fix tests in Github Actions (#1217)
* Silly test

* Add better debugging, try starting service

* Try stopping and re-starting the mysql service, the old way

* Check status before running MySQL command

* Now that indeed mysql is not started, make it start

* [DEV-190] Try removing background-running of make run

* Ignore mysql service when not running at the beginning

* [DEV-190] Mount folder with instructions on how to initialize

* [DEV-190] Go back to using normal make run

* Adding -v command to mount volume with init scripts

* Remove SSH terminal to Github Actions instance

* Remove enabling of MySQL

* Remove unnecessary parts from Makefile
2022-06-01 07:00:00 -03:00
LautaroCesso 0ecf88237f
[DEV-340] Refactor edit ticket comment no permission validations (#1207)
* Refactor edit ticket comment no permission validations

* Refactor edit comment path
2022-05-16 17:36:06 -03:00
Maximiliano Redigonda 3720baf370
[DEV-190] Fix tests (#1204)
* Add sudo

* Try with mysql instead of mysqld
2022-05-11 10:39:50 -03:00
Maximiliano Redigonda 615f42a91b
[DEV-190] Fix tests (mysql socket error, initialize mysqld first) (#1202)
* [DEV-190] Fix tests v2

* Try changing to 127.0.0.1

* Try maybe 0.0.0.0 ?

* Try forcing tcp protocol

* Test with equal symbol

* Try with starting the service first

* Add command to start mysqld to both install actions in Makefile

* Remove mounting volume to check who's the culprit
2022-05-05 15:19:16 -03:00
Maximiliano Redigonda 39f8a601db
[DEV-190] Fix tests (#1201)
* [DEV-190] Add extra setup step before running tests

* 🤦
2022-05-04 12:14:03 -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 04923b0e9d
[DEV-190] Migrate tests from Travis CI to GitHub Actions (#1198)
* [DEV-315] Create docker routine for frontend that works on Mac

* Add make option to run bash inside container

* [DEV-190] Migrate tests from Travis CI to Github Actions

* Make install step not interactive

* Run build steps before trying to run tests

* Setup vendor permissions prior to running tests

* Add command to setup permissions in files folder too

* Test tests failing

* Move setup vendor permissions into make install, corrects tests

* Revert "Move setup vendor permissions into make install, corrects tests"

This reverts commit 8092cad24c.

* Revert "Test tests failing"

This reverts commit 57fd123c55.
2022-05-04 11:06:52 -03:00
Maximiliano Redigonda 5e7f39df05
[DEV-315] Create docker routine for frontend that works on Mac (#1175)
* [DEV-315] Create docker routine for frontend that works on Mac

* Add make option to run bash inside container
2022-05-04 11:06:17 -03:00
Maximiliano Redigonda e190710252
[DEV-299] Fix missing validations (#1195) 2022-05-02 17:41:16 -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 41d7aa5406
[DEV-302] Fix custom filed error message padding (#1190)
* add en translation

* add margin

* add i18n to error

* add minor changes

* add en translations
2022-04-25 18:16:07 -03:00
LautaroCesso 62bd70cc3b
[DEV-318] Make staffs able to edit their own content (#1187)
* Fix edit ticket comment permissions

* wip

* Rename ticketEventToArray variable
2022-04-25 12:43:25 -03:00
LautaroCesso 0f6c64674e
Fix ruby tests (#1188)
* Fix ruby tests

* Add pageSize default value
2022-04-25 12:38:44 -03:00
Joel Elias Méndez 83b8e8094b
[DEV-195] Fix php documentation (#1134)
* fix php documentation

* add descriptions to backend docs

* add missing php documentation

* correct some documentation details
2022-04-19 13:18:23 -03:00
Joel Elias Méndez 81cc579d57
[DEV-260] Make modal in CSV import actually check if the password entered is correct (#1155)
* check for correct password when uploading csv file

* allow to import only csv files

* add validation for password in csv import
2022-04-19 13:18:04 -03:00
Joel Elias Méndez b3c8819d83
[DEV-279] Make ticket table show more tickets overview (#1164)
* make ticket table show more tickets overview

* allow user to choose ticket quantity

* add styles

* fix New Tickets section dropdown

* add commented changes

* correct some code issues
2022-04-19 13:17:48 -03:00
Joel Elias Méndez 86cad910ec
[DEV-222] Search fails when staff has no departments assigned (#1172)
* commented pr

* fix no department assigned issue

* undo irrelevants changes
2022-04-19 13:16:31 -03:00
Guillermo Giuliana f890fdc2d3
[DEV-161] Add apikey to ticket comment path (#1173)
* update ticket comment path

* update validations

* remove useless line
2022-03-29 13:48:46 -03:00
Maximiliano Redigonda c64eb9930b
[DEV-258] Add log commands for PHP debugging (#1167) 2022-03-25 19:03:09 -03:00
LautaroCesso 74870c632a
[DEV-290] Fix file attachment in SaaS instances (#1171)
* Update db schema

* Set all AUTO_INCREMENT to 1
2022-03-25 17:25:52 -03:00
Maximiliano Redigonda e0738f1c88
[DEV-270] Increase token size in file names (#1165) 2022-03-16 09:19:12 -03:00
Maximiliano Redigonda 545f88236d
Changes the order of most calls to assertEquals, minor change in DataStore (#868)
* Changes the order of most calls to assertEquals

* Minor changes in datastore
2022-02-24 09:32:27 -03:00
Nícolas Castillo 784d470ba5
Fixed e-mail reply polling (#1154) 2022-02-21 14:12:04 -03:00
LautaroCesso 54a5a9803d
[DEV-239] Remove unexpected error in upload csv file (#1151)
* Remove unexpected error in upload csv file

* Fix bug when render csv file error list

* csv files without eof line work OK

* [DEV-239] Prettify code
2022-02-18 18:33:34 -03:00
Joel Elias Méndez a264d384a1
[DEV-130] add current staff to assign list (#1089)
* add current staff to assign list

* create a unique library

* add owner pic to dropdown

* update staffmember list when profilepic changes

* Improve coding

Co-authored-by: LautaroCesso <lautaro_cesso@hotmail.com>
2022-02-08 13:58:21 -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 8b4b73402e
Change 4.10.0 to 4.11.0 (#1126) 2022-01-04 13:24:06 -03:00
LautaroCesso 9291aa66a4
[DEV-197] Message bug (#1113)
* Fix message bug

* Add controlled pattern to message component

* Fix bug in admin panel custom fields form message

* Fix bug in dashboard ticket page message

* Fix bug in staff editor messages

* Fix bug in ticket viewer messages

* Fix bug in admin login page messages

* Fix bug in password recovery messages

* Fix bug in main home page login widget messages

* Fix bug in main signup widget messages

* Fix bug in admin panel custom responses message

* Fix bug in admin panel email settings message

* Fix bug in admin panel ban users message

* Fix bug in admin panel ban users message

* Fix bug in main recover password page messages

* Fix bug in dashboard list tickets page message

* Fix bug in dashboard edit profile page messages

* Fix bug in create ticket form messages

* Fix bug in invite user widget messages

* Fix bug in create ticket form messages

* Fix bug in admin panel list users messages

* Fix bug in admin panel system preferences messages

* Fix bug in admin panel advanced settings messages

* Fix bug in install step 3 database message

* Fix bug in install step 5 settings message

* Fix bug in install step 6 admin message

* Fix bug in install completed message

* Fix bug in ticket query list message

* Fix bug in articles list message

* Fix bug in admin pane search tickets message

* Fix bug in admin panel my tickets message

* Fix bug in admin panel new tickets messages

* Fix bug in ticket list messages

* Fix bug in main home page portal message

* Fix bug in dashboard create ticket page message

* Fix bug in main home page messages
2021-12-28 14:03:53 -03:00
Guillermo Giuliana b9f5f7fcf1
[DEV-205] Users/Staffs should not be able to change the email for one already used by another user/staff (#1121)
* add verification of email on staffs

* add email verification users

* fix inviteStaff ruby test function

* add edit staff ruby tests

* add edit user ruby tests

* update other ruby tests
2021-12-28 00:26:55 -03:00
Guillermo Giuliana fe1dd1bd48
[DEV-199] Can't put a department in private (#1115)
* add correct validation of repeated name use

* update department create ruby script

* add new edit department ruby tests

* change parameter name of create department ruby scripts

* verify change of private state while editing department ruby tests
2021-12-17 14:10:57 -03:00
Guillermo Giuliana 237801e9ed
Revert "add last files (#1110)" (#1114)
This reverts commit 950439bf47.
2021-12-13 16:32:53 -03:00
Guillermo Giuliana 950439bf47
add last files (#1110) 2021-12-13 09:57:20 -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 5a1b558a6d
Fix some article bugs (#1102) 2021-12-01 20:00:36 -03:00
Guillermo Giuliana 4b9a55b334
[DEV-155] add captcha into login (#1090)
* fix apidoc

* part 1

* pt2

* add classname and css
2021-11-30 01:37:24 -03:00
LautaroCesso 402af565a9
[DEV-162] Fix ticket comment issues (#1081)
* Fix bug in UI

* Fix bug in backend

* Fix some issues

* Improve coding

* Improve coding
2021-11-26 17:37:33 -03:00
Guillermo Giuliana f5e9b2602c
[DEV-113] change ticket date according to selected language (#1086)
* fix apidoc

* update tickets date according selected language

* sync language abbreviations

* fix today/yesterday ticket date & hindi bug

* erase useless comments
2021-11-25 17:55:51 -03:00
Ivan Diaz f31586874e Use old composer file 2021-11-25 11:18:31 +01:00
LautaroCesso d2c126aad9
Update composer lock (#1100) 2021-11-24 17:28:55 -03:00
LautaroCesso ffd09b841f
Revert "Update composer lock (#1097)" (#1099)
This reverts commit e23468d3be.
2021-11-24 17:09:28 -03:00
LautaroCesso e23468d3be
Update composer lock (#1097)
* update composer lock

* update composer lock
2021-11-24 15:27:16 -03:00
kirbypls 9715cdc9a1
Revert "update composer lock (#1095)" (#1096)
This reverts commit b39dca642b.
2021-11-24 15:13:08 -03:00
LautaroCesso b39dca642b
update composer lock (#1095) 2021-11-24 15:12:02 -03:00
kirbypls 6f6acc925d
Revert "Update package lock by guillegui (#1093)" (#1094)
This reverts commit d2e6dc2fbe.
2021-11-24 14:28:00 -03:00
Guillermo Giuliana d2e6dc2fbe
Update package lock by guillegui (#1093) 2021-11-24 14:26:04 -03:00
Guillermo Giuliana 0df57af11e
[DEV-187] Fix duplicated-department-names bug (#1083)
* fix apidoc

* add new custom validation

* add ruby tests

* add frontend error

* take out the ternary
2021-11-24 14:21:16 -03:00
LautaroCesso edddc8d2c5
[DEV-163] Fix custom fields issue (#1079)
* Fix custom fields issue

* Add custom fields options validation

* Add not blank option validation

* Fix description length
2021-11-17 13:31:39 -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