Commit Graph

599 Commits

Author SHA1 Message Date
Gabriel Forien 8e0f16fade
feat(helm): support different replicaCount (#20883)
* feat(helm): bump chart version

* feat(helm): add separate replicaCount for superset node / worker

* docs: update documentation

* ref(helm): add replicaCount with condition

* ref(helm): edit condition

* ref(helm): enclose replica with if/else

* ref(helm): remove specific replicaCount in values

* revert: "docs: update documentation"

This reverts commit 6ab95a71a2.

* fix(helm): fix typo

* ref(helm): replace condition with default value

* ref(helm): replace replicaCount with per-component replicaCount

Co-authored-by: Gabriel Forien <gforien.externe@bedrockstreaming.com>
2022-08-01 09:03:10 -07:00
Geido 06d05394c2
chore: Add Applitools logo to the docs homepage (#20917)
* Add Applitools logo

* Remove space
2022-07-29 20:29:47 +03:00
dependabot[bot] c77ea1bb6a
chore(deps): bump terser from 5.9.0 to 5.14.2 in /docs (#20786)
Bumps [terser](https://github.com/terser/terser) from 5.9.0 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-27 12:37:29 -06:00
Jesse Yang 77db0651d8
feat(sql lab): display presto and trino tracking url (#20799) 2022-07-26 20:20:08 -07:00
Srini Kadamati ce1974176f
docs: fix alt image issue (#20856) 2022-07-26 08:25:27 -04:00
Srini Kadamati c4564a91dc
chore: add databricks logo (#20849)
* chore: add databricks logo

* added databricks logo to Readme
2022-07-25 16:05:50 -04:00
Beto Dealmeida 2a4c7cfb2a
chore: add user agent to Databricks requests (#20660) 2022-07-20 08:17:52 -07:00
Cody Leff 84d4302628
fix(explore): Fix chart standalone URL for report/thumbnail generation (#20673)
* Update explore URLs.

* More URL fixes.

* Make frontend accept true/false query params case-insensitively.

* Fix URL mistake.

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-07-19 13:53:55 -03:00
GuinsooLab e1ade31987
Update intro.mdx (#20557)
duplicate
2022-07-13 21:02:31 -04:00
vladik-hbinov 41125a4b83
Added pyodbc (#20598) 2022-07-13 16:13:41 -04:00
Lionel GUILLAUD 415b50cc4c
Update elasticsearch.mdx (#20695)
Configuration to get rid of "urllib3.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1131)"
2022-07-13 16:07:04 -04:00
wiktor2200 d4b59ff1ea
chore(docs): custom and built-in event logging class at the same time (#20098)
* chore: custom and built-in event logging class at the same time

* fix whitespaces

* Update Event Logging docs
2022-07-12 08:30:44 +03:00
wiktor2200 0a316a8ed3
chore(docs): feature flags setting is misleading in docs (#20622) 2022-07-11 08:43:13 -03:00
dependabot[bot] ae8c9319a6
chore(deps): bump moment from 2.29.2 to 2.29.4 in /docs (#20643)
Bumps [moment](https://github.com/moment/moment) from 2.29.2 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.29.2...2.29.4)

---
updated-dependencies:
- dependency-name: moment
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-07 12:41:59 -06:00
Daniel Vaz Gaspar 3b4924f0b0
docs: small fixes for OAuth (#20640) 2022-07-07 15:01:36 +01:00
Daniel Vaz Gaspar b39a3d8f78
docs: fix link for Apache Superset source code (#20620) 2022-07-06 13:49:39 +01:00
Rahul Raj 4137fe03a0
fix(schedule-query): getUISchema function called in SchemaForm component (#20256)
* Revert "Superset - Release and Improvements (12-05-2022)"

* merging conflic changes

* Revert "Revert "Superset - Release and Improvements (12-05-2022)""

This reverts commit 6d18661e03.

* fixed breaking changes

* sync with master

* fixed breaking flows

* fixed getUISchema function call

* added default placeholder and updated docs

* fixed format and comments

* changed flag to configuration

* fix: indentation of SCHEDULED_QUERIES dict

* fix: changed intendation for SCHEDULED_QUERIES

* fix: updated docs for SCHEDULED_QUERIES

* fix: replaced button to menu item for SCHEDULED_QUERIES

* fix: updated docs for SCHEDULED_QUERIES

* fix: trailing whitespace
2022-07-05 14:16:37 +02:00
Stephen Liu aa4068048a
fix(docs): prevent some symbols from being copied with (#20480) 2022-06-23 13:11:42 -04:00
Neeraj-2307 a807290e3d
docs: Added details to Druid connection string (#20264)
* Added details to Druid connection string 

While linking Superset to Druid the correct connection string is very important however in the docs it is not well explained , so I added a little description to it

* Update druid.mdx
2022-06-17 10:55:41 -04:00
Cody Leff fadf0ec5ad
Update documentation on updating documentation. (#20400) 2022-06-16 15:05:37 -06:00
Cody Leff 467d8ef89e
docs: add Matomo tracking to docs (#20398)
* Apply Prettier formatting.

* Add Matomo script to Docusaurus config.

* Add Apache license to Matomo script.
2022-06-16 10:18:59 -06:00
Atticus White 1882c6d5cc
Remove cache warming documentation (#20269)
The cache warming strategies perform unauthorized `GET` requests that are redirected to the login page #9597
2022-06-15 12:38:30 -07:00
Reese 11b33de61b
feat(api): Added "kind" to dataset/<pk> endpoint (#20113) 2022-06-10 13:03:48 -07:00
Beto Dealmeida ec331e683e
feat: Databricks native driver (#20320) 2022-06-09 15:34:49 -07:00
Étienne Boisseau-Sierra 80be1ce657
docs: Detail how to use Jinja parameters (#20308)
We expand the example to show how to use the `from_dttm` and `to_dttm`
Jinja parameters in logic blocks (e.g. `{% if … %}`) and underline when
to use the double braces and when not to.

All this because, well, *one* could lost quite an extensive amount of
time figuring this all out (-_-")

Signed-off-by: Étienne Boisseau-Sierra <etienne.boisseau-sierra@unipart.io>
2022-06-08 10:08:37 -04:00
Maxime Beauchemin df00f0e7ab
docs: facelift the docs (#20180)
* docs: facelift the docs

* lint

* license headers
2022-06-06 09:01:21 -06:00
Ensky 77e326fd95
Fixes #20155 (#20273) 2022-06-06 07:57:54 -03:00
Beto Dealmeida 05a138a191
feat: query datasets from SQL Lab (#15241)
* feat: Jinja2 macro for querying datasets

* Add docs

* Address comments
2022-06-01 15:18:40 -07:00
dependabot[bot] 75e0fc25eb
chore(deps): bump swagger-ui-react from 4.1.2 to 4.1.3 in /docs (#20205)
Bumps [swagger-ui-react](https://github.com/swagger-api/swagger-ui) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/swagger-api/swagger-ui/releases)
- [Commits](https://github.com/swagger-api/swagger-ui/compare/v4.1.2...v4.1.3)

---
updated-dependencies:
- dependency-name: swagger-ui-react
  dependency-type: direct:production
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-27 09:01:33 +03:00
Dan Roscigno e56bcd36bd
Update clickhouse.mdx (#20195)
ClickHouse is camel case.
2022-05-26 10:37:03 -04:00
Aleksei Lissitsin 4674de1e86
fix typo in secutiry.mdx (#20185) 2022-05-25 15:45:16 +03:00
cccs-RyanS ddc01ea781
feat(business-types): initial implementation of SIP-78 (#18794)
* add BUSINESS_TYPE_ADDONS to config with example callback

* Removing uneeded whitespace

* [Work in progress] Modifying cidr function to allow for  single ip and adding port outline

* Added test REST endpoint, added some more ports

I've thrown in a test.py script as well that will try to connect to the
business_type endpoint.

* Moving code from config.py into the business api

Very simple api is exposed that will allow someone to call a checkport
endpoint and get back a response.

* Removing commented out bits.

* Adding fucntion dict back to the config

* Moving business_type endpoint to charts

* Adding schema for get endpoint

* Removing imports, updating docstring, fixing typo

Just some small changes as described in the title.  I've updated the
test.py as well so it functions with the endpoint changes.

* Adding translation dict

* Fixing ops

* Adding check for list

* Modifying changes to add quotes where needed

Also changed BusinessTypeResponse to resp.

* Adding in some code to call the filter config

If a column starts with "cidr_" it will call the code in config.py to
try to translate the filter.  Nothing is changed in the JSON being
executed, just some information is dumped to console.

* Porting Ryan's changes

* Adding migration script (as per Ryan's PR)

* Fixing typo

* Prettier fixes

* [CLDN-1043] Adding rough version of filter changes for business types

* fix down migration

* Fixing bugs after merge

* adding functionality to appy filters in back end

* Fixing linting issues

* fix down revision

* Changing conversion callback to handle multiple values at once

* Adding string representation of values

* Code cleanup plus fixing debouce to only be called once for each entry

* Removing non needed logginh

* Changing operator list to use sting values

* Using text value operators

* Removing clear operator call

* Moving business type endpoints

* fix down revision

* Adding port functions

* update migration

* fix bad rebase and add ff

* implement validator

* dont add invalid values to response

* [CLDN-1205] Added a new exception type for a business type translation error. Added the error message in the display_value field within the business type response. Modified the IP and Port business types to populate the error message field in the response if an error occurs

* [CLDN-1205] Added meaningful error message for port translation errors

* Removing status field from businesstype Response and adding in error message

* [CLDN-1205] Added check to make sure the port business type is within the valid range of ports, if it is not, it will populate the error message

* [CLDN-1205] Fixed the if statement that checks to see if the string_value is in the valid range of port numbers. It did not corrently verify this before now.

* [CLDN-1205] Fixed an error where it was trying to use string_value in <= statements. I just casted string_value to an integer if it is numeric, which allows <= operators to be used on it

* [CLDN-1207] Added unit tests for the cidr_func and port_translation_func functions which are located in /superset/config.py

* [CLDN-1207] removed the assertRaises line as it does not work with the cidr_func and port_translation_func functions

* [CLDN-1207] Added the skeleton of the test_cidr_translate_filter_func unit test, still need to update what the expected response from the function will be.

* [CLDN-1207] Added the remainder of the back-end unit tests for the business types

* [CLDN-1207] Fixed the syntax error which caused the test_cidr_translate_filter_func_NOT_IN_double unit test to fail

* [CLDN-1207] Removed the logging that was added for debugging purposes

* [CLDN-1207] Formatted the commands_tests.py file to make it nicer to look at/read through

* [CLDN-1207] Fixed the code so that it conformed to the pylint requirements (i.e., pylint no longer complains about the code in commands_tests.py)

* [CLDN-1207] Modified some of the docstrings so they made better use of the 100 character per line, line limit

* [CLDN-1207] Added the beginnings of the unit tests for the
business types API

* [CLDN-1207] Added a comment to the top of the commands_tests.py file explaining how to run the unit tests. This prevents the next person who tries to run them from having to waste time trying the different forms of testing that Superset supports (e.g., pytest, tox, etc.)

* [CLDN-1207] Added a grammar fix to the comments describing how to run the unit tests

* [CLDN-1207] Modified the description of the business_type API endpoints as they did not represent what the API was actually doing

* [CLDN-1207] Added further instructions on how to run the unit tests that are within the business_type/api_tests.py file

* add request validation

* disable request if business type missing

* [CLDN-1207] Unit tests for the business type API are now working, however, they need to be modified to make use of @mock as we don't want to have to run the server to be able to run the unit tests

* Removing businesss types deffinitons from config

* Adding select to only show valid business types

* Fixed Enzyme tests

* Added scalfolding for selecting filter dropdown

* Adding intigration tests

* fix revision

* fix typos and unnecessary requests

* break out useBusinessTypes

* Added front-end RTL unit tests for the business type API endpoint

* Fixed error from unit tests

* Added a unit test to ensure the operator list is updated after a business type API response is received

* Removing elect compoenet for business types

* Adding feature flag and allowing saving when no business type present

* fixing useEffect hooks

* Adding feature flag to model

* Changing behavior such that an empty string returns a default response

* add form validation

* Modified comments in unit test as command to run test has changed

* Modified comments in unit test as filename to run test has changed

* Modified the api_tests.py file to conform to the linting requirements

* Changed the name of one of the tests to reflect what the test is actually testing

* Added cypress back to the package.json

* Added informative comments

* Updated comments in files as well as removed imports which were not being used

* Changes made by npm run prettier

* Fixed spelling mistakes

* Updated models.py to remove placeholder comments used in development

* Added feature flag mocking in unit test

* Fixing open api failure

* Fixing business types to pass unit tests

* Reverting unsafe connections back to false

* Removing print statement

* Adding business tpye to export test

* setting default feature flag to false for business type

* Reverting pre commit

* Reverting pre commit and running pre commit

* Reverting pre commit and running pre commit

* Fixing formatting

* Adding license

* Fixing Linting

* Protecting api enpoints

* updating model

* Fixing code path when business type exists

* Linting

* Linting

* Fixing linting

* Fixing spelling

* Fixing schemas

* Fixing app import

* fixing item render

* Added RTL test to make sure business type operator list is updated after API response

* Fixing linting

* fix migration

* Changing unit tests

* Fixing import and DB migration after rebase

* Renaming to advanced types

* Fixing Linting

* More renaming

* Removing uneeded change

* Fixing linting and test errors

* Removing unused imports

* linting

* Adding more detailed name for migration

* Moving files to plugins

* more renaming

* Fixing schema name

* Disabling feature flag that should not be enabled by default

* Adding extra cehck

* NameChange

* formatting

* Fixing equals check

* Moveing all advanced type classes and types to one file, and converting tests to functional

* Adding advanced type to test and fix linitng

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
Co-authored-by: Dan Parent <daniel.parent@cse-cst.gc.ca>
Co-authored-by: GITHUB_USERNAME <EMAIL>
Co-authored-by: cccs-Dustin <96579982+cccs-Dustin@users.noreply.github.com>
2022-05-16 17:58:21 +03:00
thinhnd2104 eea06795f1
docs: Add config for running on a WSGI HTTP server (#19971)
* Add config for running on a WSGI HTTP server

Add example `--worker-connections` to improve gevent performance.

* Update configuring-superset.mdx
2022-05-11 09:04:42 -07:00
Jakob Miksch bba40d7856
Typo (#20009) 2022-05-10 10:12:03 -04:00
Đặng Minh Dũng 58e65ad5bb
feat: switch from `sqlalchemy-trino` to `trino` python client (#19957) 2022-05-05 09:43:31 -07:00
dependabot[bot] 5f3e73c5a3
chore(deps): bump cross-fetch from 3.1.4 to 3.1.5 in /docs (#19888)
Bumps [cross-fetch](https://github.com/lquixada/cross-fetch) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/lquixada/cross-fetch/releases)
- [Commits](https://github.com/lquixada/cross-fetch/compare/v3.1.4...v3.1.5)

---
updated-dependencies:
- dependency-name: cross-fetch
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-29 16:21:27 -06:00
AAfghahi ada1575177
added gtag (#19602) 2022-04-29 17:06:46 -04:00
Josh Soref c32c505742
chore(docs): Spelling (#19675)
* spelling: adding

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: aggregate

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: avoid

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: blacklist

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: cached

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: discontinue

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: exhaustive

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: from

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: github

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: hybrid

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: implicit

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: interim

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: introduced

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: javascript

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: logstash

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: metadata

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: password

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: recommended

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: redshift

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: refactored

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: referencing

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: sqlite

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: the

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: thumbnails

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: undoes

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: very

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2022-04-26 13:17:15 -03:00
Jesse Yang ae384111c1
docs: updated links for country map scripts (#19823) 2022-04-25 13:01:41 -07:00
dependabot[bot] 461286df11
chore(deps): bump async from 2.6.3 to 2.6.4 in /docs (#19727)
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-22 13:54:08 -06:00
Daniel Vaz Gaspar 3db4a1cb80
chore: bump postgres from 10 to 14 (#19790)
* chore: bump postgres from 10 to 14

* update helm chart

* adding docs

* fix docs

* Update docs/docs/installation/configuring-superset.mdx

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>

* Update docs/docs/installation/configuring-superset.mdx

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>

* improve docs

* improve docs

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2022-04-21 10:16:00 +01:00
Cemre Mengu ce77d55396
docs(install): ubuntu default-libmysqlclient-dev (#19715)
add `default-libmysqlclient-dev` to required OS dependencies for ubuntu
2022-04-15 14:51:32 +03:00
dependabot[bot] 01cb6c684b
chore(deps): bump moment from 2.29.1 to 2.29.2 in /docs (#19638)
Bumps [moment](https://github.com/moment/moment) from 2.29.1 to 2.29.2.
- [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.29.1...2.29.2)

---
updated-dependencies:
- dependency-name: moment
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-12 23:23:31 -06:00
Beto Dealmeida 83c3779a6c
feat: add a `where_in` filter for Jinja2 (#19574) 2022-04-07 07:27:23 -07:00
dependabot[bot] fff9dc1181
chore(deps): bump node-forge from 1.2.1 to 1.3.1 in /docs (#19566)
Bumps [node-forge](https://github.com/digitalbazaar/forge) from 1.2.1 to 1.3.1.
- [Release notes](https://github.com/digitalbazaar/forge/releases)
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md)
- [Commits](https://github.com/digitalbazaar/forge/compare/v1.2.1...v1.3.1)

---
updated-dependencies:
- dependency-name: node-forge
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-06 18:16:02 +03:00
dependabot[bot] f9534b25c7
chore(deps): bump minimist from 1.2.5 to 1.2.6 in /docs (#19552)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-06 17:41:26 +03:00
Fatos Morina 1cd8b41061
Remove too many "to"s (#19559) 2022-04-06 09:27:09 -04:00
Srini Kadamati a8e7624eb5
chore: attempt to force docs deploy (#19424) 2022-03-30 10:13:09 +03:00
Srini Kadamati 9d71f33d62
chore: update slack invite url (#19412)
* chore: update slack invite url

* small fix in CoC
2022-03-29 15:13:15 -04:00
Sujith Kumar S d46a550774
docs: Correcting the document font size (#19390)
* Correcting with doc font size

Correcting with doc font size

* Correcting with doc font size

Correcting with doc font size

* Update docs/docs/installation/configuring-superset.mdx

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2022-03-28 11:04:04 +03:00