opensupports/client/package.json

99 lines
3.0 KiB
JSON
Raw Normal View History

2015-08-16 01:47:51 +02:00
{
"name": "OpenSupports",
"version": "4.10.0",
"author": "Ivan Diaz <contact@opensupports.com>",
"description": "Open source ticket system made with PHP and ReactJS",
2015-08-16 01:47:51 +02:00
"repository": {
"type": "git",
"url": "https://github.com/opensupports/opensupports"
2015-08-16 01:47:51 +02:00
},
"private": false,
2015-08-16 01:47:51 +02:00
"engines": {
"node": "^0.12.x",
"npm": "^2.1.x"
},
2015-08-16 19:35:14 +02:00
"scripts": {
2019-07-13 02:24:29 +02:00
"start": "webpack-dev-server",
"start-fixtures": "webpack-dev-server --env.FIXTURES=1",
2020-10-29 18:06:44 +01:00
"build": "./node_modules/.bin/rimraf build && NODE_ENV=production ./node_modules/.bin/webpack -p --devtool none",
2019-08-04 18:03:06 +02:00
"test": "export NODE_PATH=src && mocha src/lib-test/preprocessor.js --require @babel/register --recursive src/**/**/__tests__/*-test.js"
2015-08-16 19:35:14 +02:00
},
2015-08-16 01:47:51 +02:00
"devDependencies": {
2019-08-04 18:03:06 +02:00
"@babel/cli": "^7.5.5",
"@babel/core": "^7.5.5",
"@babel/node": "^7.5.5",
2019-07-13 02:24:29 +02:00
"@babel/plugin-proposal-class-properties": "^7.4.4",
2019-08-04 18:03:06 +02:00
"@babel/plugin-transform-modules-commonjs": "^7.5.0",
"@babel/preset-env": "^7.5.5",
2019-07-13 02:24:29 +02:00
"@babel/preset-react": "^7.0.0",
2019-08-04 18:03:06 +02:00
"@babel/register": "^7.5.5",
"axios-mock-adapter": "^1.15.0",
2019-08-10 14:36:36 +02:00
"babel-loader": "^8.0.6",
2019-08-04 18:03:06 +02:00
"babel-plugin-add-module-exports": "^1.0.2",
"browser-sync": "^2.27.5",
"chai": "^3.5.0",
2019-07-13 02:24:29 +02:00
"copy-webpack-plugin": "^5.0.3",
"css-loader": "^3.0.0",
2015-08-16 01:47:51 +02:00
"debowerify": "^1.3.1",
"del": "^1.2.0",
2019-07-13 02:24:29 +02:00
"eslint": "^5.16.0",
"eslint-loader": "^2.1.2",
2015-08-16 01:47:51 +02:00
"express": "^4.13.1",
2015-12-29 17:03:47 +01:00
"express-http-proxy": "^0.6.0",
2019-07-13 02:24:29 +02:00
"file-loader": "^4.0.0",
"html-webpack-plugin": "^3.2.0",
2015-08-16 01:47:51 +02:00
"humps": "^0.6.0",
"jsdom": "^8.4.1",
2019-08-04 18:03:06 +02:00
"mocha": "^6.2.0",
"morgan": "^1.6.1",
2019-08-10 14:36:36 +02:00
"node-sass": "^4.12.0",
2019-08-04 18:03:06 +02:00
"nodemon": "^1.19.1",
2019-07-13 02:24:29 +02:00
"path": "^0.12.7",
"proxyquire": "^1.7.4",
"react-addons-test-utils": "^15.0.1",
2019-07-13 02:24:29 +02:00
"rimraf": "^2.6.3",
"run-sequence": "^1.1.1",
2019-07-13 02:24:29 +02:00
"sass-loader": "^7.1.0",
"sinon": "^1.17.3",
"sinon-chai": "^2.8.0",
2019-07-13 02:24:29 +02:00
"style-loader": "^0.23.1",
"stylelint-webpack-plugin": "^0.10.5",
"vinyl-source-stream": "^1.1.0",
2019-07-13 02:24:29 +02:00
"watchify": "^3.2.x",
"webpack": "^4.34.0",
"webpack-bundle-analyzer": "^3.3.2",
"webpack-cli": "^3.3.4",
"webpack-dev-server": "^3.7.1",
"webpack-import-glob": "^2.0.0"
},
"dependencies": {
"axios": "^0.21.1",
Add statistics (#904) * 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>
2020-12-27 20:22:55 +01:00
"chart.js": "^2.9.3",
"classnames": "^2.2.5",
"history": "^3.0.0",
2018-06-11 23:28:36 +02:00
"html-to-text": "^4.0.0",
"keycode": "^2.1.4",
2016-07-19 20:49:03 +02:00
"localStorage": "^1.0.3",
"lodash": "^4.17.21",
"messageformat": "^0.2.2",
"moment": "^2.27.0",
"qs": "^6.5.2",
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 21:45:55 +02:00
"query-string": "^6.12.1",
"quill-image-resize-module-react": "^3.0.0",
"quill-magic-url": "^4.1.3",
"random-string": "^0.2.0",
"react": "^15.4.2",
Add statistics (#904) * 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>
2020-12-27 20:22:55 +01:00
"react-chartjs-2": "^2.10.0",
2015-08-16 01:47:51 +02:00
"react-document-title": "^1.0.2",
"react-dom": "^15.4.2",
"react-google-recaptcha": "^0.5.2",
"react-motion": "^0.4.7",
"react-quill": "^1.3.1",
"react-redux": "^4.4.5",
"react-router": "^3.0.2",
"react-router-redux": "^4.0.7",
"redux": "^3.5.2",
"redux-promise-middleware": "^3.3.2"
2015-08-16 01:47:51 +02:00
}
}