Commit Graph

190 Commits

Author SHA1 Message Date
Eric Radman
ab71bded7d Automatically tag release candidates (#6416)
Format similar to Ubuntu: YY.MM.N

Discussion:

  https://github.com/getredash/redash/discussions/6411

1. Updates version in:

  package.json
  redash/__init__.py

2. Sets version tag
2023-09-02 01:10:41 +00:00
Eric Radman
f8934b8312 Switch from numeral to numbro (#6344)
numeraljs is no longer maintained, and incorrectly parses high-precision
floats (such as 1.2e-7) as NaN.
2023-08-15 07:59:18 -04:00
Justin Clift
acf77f85ff Fix the broken icon loading (#6340) 2023-08-02 15:56:51 +00:00
Justin Clift
7dfacfc531 Update package.json so yarn watch works again (#6328)
For some unknown reason the `--colors` and `-d` options are no longer recognised by webpack (v4) in our configuration.

This is likely due to some other non-obvious problem in our configuration, as those options should exist (they're documented).

For now though, this gets things working again.
2023-07-31 13:47:05 +00:00
Justin Clift
ae29eb3dfb Bump react-test-renderer to 16.14.0 (#6316) 2023-07-29 12:27:29 +00:00
Justin Clift
ea4ee7ce9b Remove request from the declared dependencies (#6313) 2023-07-28 05:54:35 +00:00
Justin Clift
b43cb1797e Bump Cypress to 11.2.0 (#6312) 2023-07-28 04:24:28 +00:00
Justin Clift
875973bfcd Bump Cypress to 10.11.0 (#6311) 2023-07-28 12:56:03 +10:00
Justin Clift
55690db1d8 Bump Cypress to 9.7.0 (#6309)
* Bump Cypress to 9.7.0

* Initial fixes for Cypress 9.7.0

* Restyled by prettier (#6310)

Co-authored-by: Restyled.io <commits@restyled.io>

---------

Co-authored-by: restyled-io[bot] <32688539+restyled-io[bot]@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io>
2023-07-27 23:40:00 +00:00
Justin Clift
a5a9be352d Bump webpack-build-notifier to 2.3.0 (#6308) 2023-07-28 08:32:02 +10:00
Justin Clift
72db9757f8 Bump @percy/agent to 0.28.7 (#6307) 2023-07-27 20:49:35 +00:00
Justin Clift
d0f5215cd8 Bump eslint-loader to 4.0.2 (#6305) 2023-07-27 19:17:19 +00:00
Justin Clift
6d495bc83d Bump mini-css-extract-plugin to 1.6.2 (#6304) 2023-07-27 18:22:02 +00:00
Justin Clift
5cd38b14b0 Bump file-loader to 6.2.0 (#6295) 2023-07-26 18:01:42 +00:00
Justin Clift
f572d88d8e Bump less to 3.13.1 in main repo, and to 4.1.3 in viz-lib (#6293)
Also bumps some of the less related dependencies in the main repo:

  * less-loader to 5.0.0
  * less-plugin-autoprefix to 2.0.0
2023-07-26 15:30:43 +00:00
Justin Clift
ba1b496f51 Bump webpack-cli to 4.10.0 (#6292) 2023-07-26 23:40:49 +10:00
Justin Clift
050b9e8716 Bump babel-loader to 8.3.0 (#6291) 2023-07-26 12:24:27 +00:00
Justin Clift
239f8abf70 Bump Cypress to 7.7.0 (#6289) 2023-07-26 20:33:58 +10:00
Justin Clift
2eed83bd7c Bump copy-webpack-plugin to 6.4.1 (#6285) 2023-07-25 12:32:02 +00:00
Justin Clift
34d380d427 Bump babel-plugin-istanbul to 6.1.1 (#6284) 2023-07-25 11:44:40 +00:00
Justin Clift
93a2901f6d Bump @cypress/code-coverage to 3.11.0 (#6283) 2023-07-25 10:22:32 +00:00
Justin Clift
1b8f0ac2e9 Bump @babel/(various) to latest. Mostly 7.22.x (#6281) 2023-07-25 07:29:58 +00:00
Justin Clift
0a4d250268 Bump request to 2.88.2 (#6273) 2023-07-25 09:18:05 +10:00
Justin Clift
6e4f96405d Bump React to exactly 16.14.0 (#6270)
This gets rid of a peer dependency warning from viz-lib.
2023-07-25 05:24:06 +10:00
Justin Clift
f8e9887feb Bump @pmmmwh/react-refresh-webpack-plugin to 0.5.10, react-refresh to 0.14.0 (#6258) 2023-07-23 20:39:59 +10:00
dependabot[bot]
37fd7f74dd Bump dompurify from 2.0.7 to 2.0.17 (#6256)
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.0.7 to 2.0.17.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.0.7...2.0.17)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-23 19:26:12 +10:00
Justin Clift
f1477c825e Bump webpack-dev-server from 3.11.0 to 4.15.1 (#6254) 2023-07-23 19:14:53 +10:00
Justin Clift
868453077a Bump css-loader from 0.28.7 to 1.0.1 (#6251) 2023-07-23 18:27:39 +10:00
Justin Clift
7871e80abf Bump webpack to 4.46.0, webpack-bundle-analyzer to 4.9.0 (#6240)
This should help unblock some Dependabot updates
2023-07-23 04:25:08 +00:00
Justin Clift
416126abd3 Bump webpack-cli to ^3.3.12 (#6234) 2023-07-22 23:25:51 +00:00
Justin Clift
7248be14bb Bump html-webpack-plugin to ^4.5.2 (#6232)
In theory (!), this should fix a dependabot warning.
2023-07-23 07:59:16 +10:00
Justin Clift
4869a652c0 Bump Cypress to 6.0.1 (#6205)
* Bump Cypress to 6.0.1

Unfortunately, due to a change in how Cypress treats elements with opacity 0, we need to disable two of the front end tests.

Hopefully someday, someone with better knowledge of JS and Cypress is able to fix these. :)
2023-07-21 02:08:15 +10:00
Justin Clift
9736bc76f7 Bump Cypress to 5.6.0 (#6198) 2023-07-19 10:18:19 +00:00
Jun
af243be0b3 bump copy-webpack-plugin to 5.1.2 (#6195)
Signed-off-by: Ye Sijun <junnplus@gmail.com>
2023-07-19 14:03:48 +09:00
dependabot[bot]
60531a739d Bump axios from 0.21.1 to 0.27.2 (#5652)
* Bump axios from 0.21.1 to 0.21.2

Bumps [axios](https://github.com/axios/axios) from 0.21.1 to 0.21.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.21.1...v0.21.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump axios to 0.27.2, and axios-auth-refresh to 3.3.6

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Justin Clift <justin@postgresql.org>
2023-07-13 01:50:06 +10:00
dependabot[bot]
c707cccfbf Bump moment from 2.24.0 to 2.29.4 (#5787)
Bumps [moment](https://github.com/moment/moment) from 2.24.0 to 2.29.4.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.24.0...2.29.4)

---
updated-dependencies:
- dependency-name: moment
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-12 07:31:02 +09:00
dependabot[bot]
d92fc98b13 Bump lodash from 4.17.20 to 4.17.21 (#5688)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

---
updated-dependencies:
- dependency-name: lodash
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Justin Clift <justin@postgresql.org>
2023-07-07 13:18:04 +00:00
Arik Fraimovich
65d0eb72f5 Update development workflow for Apple Silicon, Node version, default port, and maildev image (#5932)
* Update ngines definition to allow for newer versions of Node.

With Node version 19 I stumbled into some issues so for now bumped it to v16, until we get to updating the libraries we use.

* docker-compose.yml updates:

1. Switch to newer maildev docker image.
2. Update local port to 5001 as 5000 seems to be used by a system process now.

* Update pymssql and pyarrow. Also commented out ibm-db until we have a way to not install it only on ARM.
2023-03-24 14:36:58 -07:00
Arik Fraimovich
28b0a2379d Remove extensions mechanism (#5895)
* Remove extensions mechanism.

* Missing change.
2023-03-20 07:39:21 -07:00
Jesse
86b2c4d06e Bump master to 11.0.0-dev (#5631) 2021-10-21 15:27:55 -05:00
Levko Kravets
7445080d1a Use Yarn instead of NPM (#5541) 2021-08-02 13:16:33 +03:00
Rafael Wendel
c8df7a1c8a Add jsx/a11y eslint plugin (#5439)
* build: install eslint jsx/a11y

* chore: add ESlint rules for jsx/a11y

* bug: add exceptions
2021-03-24 18:50:21 -03:00
dependabot[bot]
2f1394a6f4 Bump axios from 0.19.0 to 0.21.1 (#5366)
Bumps [axios](https://github.com/axios/axios) from 0.19.0 to 0.21.1.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v0.21.1/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.19.0...v0.21.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-25 21:49:32 -03:00
Elad Ossadon
c290864ccd Convert viz-lib to TypeScript (#5310)
Co-authored-by: ts-migrate <>
2020-12-15 18:21:37 -08:00
Elad Ossadon
18ee5343aa Sync date format from settings with clientConfig (#5299) 2020-12-10 11:16:31 -08:00
Elad Ossadon
aab11dc79b Add React Fast Refresh + Hot Module Reloading (#5291) 2020-12-07 11:46:46 -08:00
Gabriel Dutra
fa7ecca485 Frontend updates from internal fork (#5259)
* DynamicComponent for QuerySourceAlerts

* General Settings updates

* Dynamic Date[Range] updates

* EmptyState updates

* Query and SchemaBrowser updates

* Adjust page headers and add disablePublish

* Policy updates

* Separate Home FavoritesList component

* Update FormatQuery

* Autolimit frontend fixes

* Misc updates

* Keep registering of QuerySourceDropdown

* Undo changes in DynamicComponent

* Change sql-formatter package.json syntax

* Allow opening help trigger in new tab

* Don't run npm commands as root in Dockerfile

* Cypress: Remove extra execute query
2020-11-10 14:59:15 +02:00
Rafael Wendel
12f71925c2 Multiselect dropdown slowness (fix) (#5221)
* created util to estimate reasonable width for dropdown

* removed unused import

* improved calculation of item percentile

* added getItemOfPercentileLength to relevant spots

* added getItemOfPercentileLength to relevant spots

* Added missing import

* created custom select element

* added check for property path

* removed uses of percentile util

* gave up on getting element reference

* finished testing Select component

* removed unused imports

* removed older uses of Option component

* added canvas calculation

* removed minWidth from Select

* improved calculation

* added fallbacks

* added estimated offset

* removed leftovers 😅

* replaced to percentiles to max value

* switched to memo and renamed component

* proper useMemo syntax

* Update client/app/components/Select.tsx

Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com>

* created custom restrictive types

* added quick const

* fixed style

* fixed generics

* added pos absolute to fix percy

* removed custom select from ParameterMappingInput

* applied prettier

* Revert "added pos absolute to fix percy"

This reverts commit 4daf1d4bef.

* Pin Percy version to 0.24.3

* Update client/app/components/ParameterMappingInput.jsx

Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com>

* renamed Select.jsx to SelectWithVirtualScroll

Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com>
2020-11-03 21:50:39 +02:00
Alexander Rusanov
ff008a076b Updated Cypress to v5.3 and fixed e2e tests (#5199)
* Upgraded Cypress to v5.3 and fixed e2e tests

* Updated cypress image

* Fixed failing tests

* Updated NODE_VERSION in netlify

* Update client/cypress/integration/visualizations/choropleth_spec.js

Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com>

* fixed test in choropleth

Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com>
2020-10-06 16:06:47 -03:00
Gabriel Dutra
f4dcb2918a Move Cypress to dev dependencies (#3991)
* Test Cypress on package list

* Skip Puppeteer Chromium as well

* Put back missing npm install on netlify.toml

* Netlify: move env vars to build.environment

* Remove cypress:install script

* Update Cypress dockerfile

* Copy package-lock.json to Cypress dockerfile
2020-09-29 09:51:28 +03:00