* 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
* [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.
* 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
* Adds first_closed_at and last_closed_at to Ticket
* Fixes ticket isClosed function
* Adds reopened column to Ticket table
* Adds stats path
* Adds stats for instant tickets
* Adds basic connection with frontend
* Creates cards to display ticketData
* Adds tooltips with descriptions and i18n
* Adds date range filter to backend
* Adds DateRange filter on frontend
* Documents and better structures code
* Makes $dateRange local
* Adds departments filter on backend
* Adds stats path to menu
* Adds first UI for departments filter in stats
* Implements departments filter on frontend
* Improves styling by adding bootstrap rows
* Improves structure of dynamics queries
* Adds tags filter on backend
* Adding TagFilter for statistics WIP
* Adds missing `id` to propTypes TagSelector
* Removes console.warns
* Adapts form to pass tagnames as value as FormField
* Sends tags to API too
* Makes tag-selector change form with tagnames only
* Fixes tag-selector from ticket-viewer
* Removes console.warn
* Removes logs
* Adds owner filter on backend
* Connects owners frontend with backend for stats
* Style changes for date-selector
* Adds tickets by hours stat to /system/stats path
* Adds chart for tickets created on each hour
* Adds better wrap for ticketdata cards
* Adds getAverageFirstReply to backend stats path
* Adds getNumberOfCreatedTicketsByWeekday to backend
* Adds created tickets by weekday chart
* Disables clicking on the legend to toggle data
* Adds base functions for efficiency stats
* Adds getAverageFirstClosed to backend stats
* Adds getAverageLastClosed to backend stats
* Adds table, filters, and groupBy variables to queries
* Adds response structure with mocks
* Adds totalOwners and totalDepartments
* Adds SQL queries to get department/staff hops of a ticket
* Changes incorrect name
* Rolls back addition of near useless function
* Improves tag array management from redux store
* Fix bug in autocomplete filters.
* Sets default date range to current month.
improves date.js.
* Adds i18n
* wip
* Add media query in admin-panel-stats.scss
* Updates date handling in search-ticket-utils
* Makes tooltip open on hover of the entire block
* Fix date range mobile style.
* Add Loading
* Add submit button and clear button in admin panel stats
* Adds tests for stats and comments old ones
* Add test for stats after a ticket has been created
* Makes default dateRange for stats go to the end of the day
* Factors out function to create ticket and adds test
* Adds instant ticket test
* Adds reopened test
* Commit to save technique to test created_by_hour but is prohibitively slow.
* Updates test of created_by_hour to be more lightweight
* Adds test for created_by_weekday
* Fixes default date and renames a function
* Fixes hover bug by extracting card-stat to its own component
* Fix drawbacks with previous change in style - mobile
Co-authored-by: LautaroCesso <lautaro_cesso@hotmail.com>
* Set up 0 as a minimum number for bar chart
* Moves styles from stats cards to the component
* Removes old /system/get-stats path
* Changes name from /system/stats to /system/get-stats
* Restore getCurrentDate in date transformer
Co-authored-by: LautaroCesso <lautaro_cesso@hotmail.com>
Co-authored-by: Ivan Diaz <ivan@opensupports.com>
* wip
* Delete ticket of staff/get.php response
* Move paginate functions to staff editor component
* wip
* fix assignedTickets and closedTickets values in staff/get-all
* add show closed tickets checkbox in admin panel my account
* WIP
* Add initial api value
* Fix staff/get-all test
* WIP
* 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
* text-validation to edit article content
* shows only own department on my account
* add moment and update date
* Update date transformer
* Delete time zone setting.
* Use local date in date range component and utc date in date range filter.
* Fix github comment.
* Fix merge 'Fix filter show bug in ticket search when ordering'.
* Fix merge 'Fix filter show bug in ticket search when ordering' second part.
* Fix getDefaultUTCEndDate function.
Co-authored-by: Ivan Diaz <ivan@opensupports.com>
Co-authored-by: LautaroCesso <lautaro_cesso@hotmail.com>
* 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.
* 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.
* 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>
* 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>