Commit Graph

694 Commits

Author SHA1 Message Date
Mikhail Kumachev
d2d4f8eb44
feat: Add support for Azure Data Explorer (Kusto) db engine spec (#17898)
* Add two Kusto engine specs: KQL and SQL. Some minor changes in core code to support Kusto engine specs.

* Remove redundant imports and logging.

* docs: Kusto sqlalchemy docs

* fix: Fix mypy and linting errors

* fix: Handle Black vs Pylint checks

* fix: isort problem

* refactor: Merge kustosql and kustokql in the single kusto module

* test: Add tests for Kusto db spec

* feat: Schema override does not require in KQL anymore

* Removed redundant imports.

* Added ".show" queries to readonly query determination.

* Fixed some bugs.
Added tests for convert_dttm.

* Fixed major sqlalchemy-kusto version.

* Fixed by isort.

Co-authored-by: Eugene Bikkinin <xnegxneg@gmail.com>
Co-authored-by: k.tomak <k.tomak@dodopizza.com>
Co-authored-by: Eugene Bikkinin <e.bikkinin@dodopizza.com>
2022-01-10 14:42:20 +02:00
Rich Raposa
c95d6bf88f
Update clickhouse.mdx (#17937)
There is a contradiction on this page - the requirements show `clickhouse-sqlalchemy` and then there is this sentence stating that the recommended connector is `sqlalchemy-clickhouse`, which is somewhat of an abandoned driver that is not seeing any activity in Github. I would suggest either removing the sentence about "recommended connector" or changing the link (as I have done in this PR).
2022-01-07 17:45:53 +02:00
Srini Kadamati
53e2fa6f57
chore: updated screenshots in README.md and added recent events (#17650)
* chore: updated screenshots in readme.md and added recent events

* chore: updated pinot superset connection instructions

* fixed outdated slack link

* addressed all outstanding feedback!

* updated package lock

* reverted package.json to master

* Update README.md

Co-authored-by: Evan Rusackas <evan@preset.io>

Co-authored-by: Evan Rusackas <evan@preset.io>
2021-12-17 11:43:46 -05:00
Ville Brofeldt
f396818616
fix(docs): bump broken packages (#17800) 2021-12-17 15:44:42 +02:00
Moriah Kreeger
8e02d11909
add a native filters section to the exploring data docs (#17605) 2021-12-04 10:26:34 -05:00
Stephen Liu
a3cce5705d
feat(explore): support show annotation label [ID-8] (#17307)
* feat(explore): support always show annotation label

* fix: lint

* fix: lint

* Hopefully appeasing the linter

* fix: lint

* Update superset-frontend/src/explore/components/controls/AnnotationLayerControl/AnnotationLayer.jsx

Co-authored-by: Geido <60598000+geido@users.noreply.github.com>

* change to allow none

* lint

Co-authored-by: Evan Rusackas <evan@preset.io>
Co-authored-by: Geido <60598000+geido@users.noreply.github.com>
2021-12-02 00:26:32 -07:00
Moriah Kreeger
1cd07caa83
docs(exploring-data): various updates to match latest superset version (#17516)
* update db modal screenshots, rm stale info

* pivot table v2 tutorial

* more updates

* rm old images
2021-12-01 08:42:10 -08:00
nick
a3041166a3
fix: update kubernetes.mdx (#14512)
* Update kubernetes.mdx

* added changes per @mvoitko's suggestions

* update k8 mdx

* Update docs/src/pages/docs/installation/kubernetes.mdx

* Update docs/src/pages/docs/installation/kubernetes.mdx
2021-11-26 10:59:26 +02:00
aniaan
5a1c68177e
fix(elasticsearch): time_zone setting does not work for cast datetime expressions (#17048)
* fix(elasticsearch): cast does not take effect for time zone settings

* test(elasticsearch): add test

* fix(test): fix typo

* docs(elasticsearch): add annotation

* docs(elasticsearch): add time_zone desc

* docs(elasticsearch): fix typo

* refactor(db_engine): change convert_dttm signature

* fix(test): fix test

* fix(es): add try catch

* fix(test): fix caplog

* fix(test): fix typo
2021-11-25 11:58:44 +02:00
aniaan
c7a7865f46
docs(exploring-data): Add upload excel notes (#17502)
* docs(exploring-data): Add upload excel notes

* docs(exploring-data): Add upload Columnar file notes

* docs(exploring-data): fix typo
2021-11-23 12:54:59 +02:00
jayakrishnankk
062039c280
docs: mention that username should be admin to load examples (#17484)
Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com>
2021-11-21 17:07:16 -05:00
kurtiswen
19f1c40870
docs: Update frequently-asked-questions-page.mdx (#14837)
* Update frequently-asked-questions-page.mdx

refine answer for first question, added SQL Lab query description.

* fix EOL lint

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-11-21 19:36:10 +02:00
dependabot[bot]
c829614c42
chore(deps): bump hosted-git-info from 2.8.8 to 2.8.9 in /docs (#14576)
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-16 14:59:03 +02:00
Christian Pfarr
333b1371f7
feat: Drill ODBC/JDBC Impersonation feature (#17353)
* Added Drill ODBC Impersonation feature and necessary translations/docs

* Code Cleanup

* add jdbc impersonation_target parameter

* add unittests for DrillEngineSpec.modify_url_for_impersonation method

* reformat test_drill.py with black formatter

* run pre-commit locally

Co-authored-by: Christian Pfarr <Christian.Pfarr@deutschebahn.com>
Co-authored-by: Christian Pfarr <z0ltrix+gitlab@pm.me>
2021-11-10 08:45:16 +02:00
James Kim
b3f0abf0fc
fix numbering on getting started with kubernetes docs (#17306)
Signed-off-by: jameskim0987 <kgh475926@gmail.com>
2021-11-02 13:19:56 -06:00
raghavSharmaSigmoid
0a660a1a38
fix: Updated connection string for Firebolt (#17242)
* New branch from superset for integration with firebolt sqlalchemy adapter

* Added db_engine_spec file for Firebolt

* Removed firebolt code from superset repo

* Deleted virtual env commit

* Adding time grain changes to firebolt.py

* Updated README.md

Added steps to install and run Superset with Firebolt SQLAlchemy Adapter

* Update README.md

Reduced installation steps. Using PyPi installation for adapter now

* Revert "Update README.md"

This reverts commit 5ed17c7a45.

* Revert "Updated README.md"

This reverts commit 45c5072649.

* added epoch methods, added test cases for firebolt db engine spec and edited setup.py

* Added license to files

* Added documentation for Firebolt-SQLAlchemy

* Removed trailing whitespace

* Updated connection string for Firebolt

Co-authored-by: apurva-sigmoid <89530372+apurva-sigmoid@users.noreply.github.com>
Co-authored-by: Apurva Anand <aapurva@sigmoidanalytics.com>
2021-10-29 20:13:17 +03:00
Rosemarie Chiu
ca6a1ecc9e
chore(doc): Update BigQuery Connection database connection UI into doc (#17191)
* Update google-bigquery.mdx

Update BigQuery Connection database connection UI

* fix grammar

Co-authored-by: Geido <60598000+geido@users.noreply.github.com>

* fix grammar

Co-authored-by: Geido <60598000+geido@users.noreply.github.com>

* pre-commit prettier

Co-authored-by: Geido <60598000+geido@users.noreply.github.com>
2021-10-29 09:14:47 -04:00
Shiva Raisinghani
ef3afbde82
refactor: Repeated boilerplate code between upload to database forms (#16756)
* abstract boilerplate code into class and rename csv to file

* add db migration

* fix some stuff

* more renaming of csv to file

* rename in translations

* update down revision

* update down revision

* bump chart version

* switch to alter column name approach in db migration

* fix db migration for MySQL

* db migration conflict
2021-10-25 13:53:06 +03:00
dependabot[bot]
8d54deee4e
build(deps): bump lodash from 4.17.19 to 4.17.21 in /docs (#14577)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-13 16:05:16 -03:00
John Bodley
b9ff85d9ea
chore(engine): Translate fractional time grains—requires @superset-ui bump (#17078)
* chore(engine): Translate fractional time grains

* Bump @superset-ui

Co-authored-by: John Bodley <john.bodley@airbnb.com>
2021-10-12 21:40:48 -07:00
Ville Brofeldt
82601abe17
feat: upgrade docker image to py38 and add support for py39 (#16889)
* feat: upgrade docker image to py38 and add support for py39

* update required tests
2021-10-05 11:35:14 +03:00
apurva-sigmoid
420eff42b8
feat: add Firebolt DB engine spec (#16903)
* New branch from superset for integration with firebolt sqlalchemy adapter

* Added db_engine_spec file for Firebolt

* Removed firebolt code from superset repo

* Deleted virtual env commit

* Adding time grain changes to firebolt.py

* Updated README.md

Added steps to install and run Superset with Firebolt SQLAlchemy Adapter

* Update README.md

Reduced installation steps. Using PyPi installation for adapter now

* Revert "Update README.md"

This reverts commit 5ed17c7a45.

* Revert "Updated README.md"

This reverts commit 45c5072649.

* added epoch methods, added test cases for firebolt db engine spec and edited setup.py

* Added license to files

* Added documentation for Firebolt-SQLAlchemy

* Removed trailing whitespace

Co-authored-by: raghavsharma <raghavs@sigmoidanalytics.com>
Co-authored-by: raghavSharmaSigmoid <88667094+raghavSharmaSigmoid@users.noreply.github.com>
2021-10-01 19:43:15 +03:00
Beto Dealmeida
0ea83c5a00
feat: add Databricks ODBC engine spec (#16862)
* feat: add Databricks ODBC engine spec

* Rename Databricks specs
2021-09-28 19:36:28 -07:00
Francesco Frassinelli
997320ac1a
chore: Update documentation on schema changes (#16784) 2021-09-23 12:21:26 +08:00
WingCode
93fa478507
Fix OpenAPI definition (#16672)
Co-authored-by: WingCode <thewinger94@gmail.com>
2021-09-23 06:59:29 +03:00
Ville Brofeldt
836b5e2c86
feat: add support for generic series limit (#16660)
* feat: add support for generic series limit

* refine series_columns logic

* update docs

* bump superset-ui

* add note to UPDATING.md

* remove default value for timeseries_limit
2021-09-16 12:09:08 +03:00
Ville Brofeldt
83581b126d
feat(sqla): add time grain and time column to jinja params (#16680) 2021-09-13 16:43:22 +03:00
joeADSP
5f8dff1341
docs: update for small typos (#16568) 2021-09-03 15:22:29 -03:00
Daniel Wood
ad8336a5b4
fix: Pin snowflake-sqlalchemy to 1.2.4 (#16515)
* Pin snowflake-sqlalchemy to 1.2.4

* lint files
2021-08-31 07:48:51 +03:00
Ke Zhu
fd6456186d
docs: make code snippet usable with required imports (#16473) 2021-08-26 16:16:30 -06:00
Srini Kadamati
c66d6d83b9
chore: fixed slack invite link (#16466) 2021-08-26 09:04:51 -04:00
David Aaron Suddjian
e71c6e60e4
docs: make FEATURE_FLAGS.md reference a link (#16415) 2021-08-24 14:08:11 -07:00
Ke Zhu
13a2ee373c
docs: document FLASK_APP_MUTATOR (#16286) 2021-08-20 10:54:46 -06:00
AAfghahi
9d0dc561fc
Revert "feat: Changing Dataset names (#16199)" (#16235)
This reverts commit adb3ebbba3.
2021-08-12 13:59:44 -07:00
AAfghahi
6c304b83a9
feat: Changing Dataset names (#16199)
* added google alert

* changing Dataset Names
2021-08-11 08:59:59 -07:00
Josh Berkus
22d8d582f8
docs: update install-from-scratch instructions for CentOS (#16129)
Update install-from-scratch instructions for current CentOS stream, based on doing a test install today.  CentOS stream python packages are now named after the version ("python3") and current Superset code requires updating Pip to a more current version.
2021-08-06 18:52:29 -06:00
ʈᵃᵢ
2bfc1c29c5
docs: fix link and clarify postgres install instructions (#16101) 2021-08-05 21:53:01 -04:00
John Bodley
7effa44d54
refactor: adopt --app as celery global option (#16040)
* Update installation.rst

* Update async_queries_celery.mdx
2021-08-05 06:46:03 +12:00
ʈᵃᵢ
39db6a73ee
docs: update api 2 (#16032)
* docs: update api

* recompile
2021-08-02 13:31:15 -04:00
Sarthak Agrawal
31d79ff67c
docs: add instructions for how to connect to local database from docker container (#15936)
* Update installation instructions for docker

Update installation instructions to include a section on
connecting to local db via superset running in docker container.

Newcomers may have trouble in this part because it involves
knowing about some docker internal details, as well as
google search doesn't bring many directly useful results.

If it's a commonly occurring issue among new comers,
we may accept this commit.

* Update index.mdx

Add a caution regarding changing database config to allow public incoming.
Add a note that mac users may skip configuring database.
Spelling mistake fix.
Style fix, "Superset" is now in title case.
2021-08-02 10:46:32 -04:00
ʈᵃᵢ
22dc3d1eaa
docs: update api (#16005)
* docs: update api

* lint
2021-08-02 09:58:12 -04:00
ʈᵃᵢ
7b503fa710
docs: add .asf.yaml (#15931)
* docs: add asf.yaml

* license

* fix
2021-07-28 15:32:03 -04:00
Janis Puris
019e74652d
Update alerts_reports.mdx (#15904)
Slack requires `chat:write` as part of "OAuth & Permissions" for the slack integration to be able to post messages.
2021-07-27 09:47:04 -04:00
Hugh A. Miles II
9f969d00bd
chore: Add documentation for DB Connection UI (#15599)
* Create ui.mdx

* more fixxxes

* address comments

* Update ui.mdx

* Update ui.mdx
2021-07-13 15:05:49 -07:00
Jacob Kim
9ed8ce53ed
docs: fix typos in docs (#15113)
* Fix small typo

* shareding -> sharding

* commant -> command

* Update helm version
2021-07-10 16:00:04 -04:00
JavierLopezT
78dd17cb29
docs: Small addition in add new databases with docker (#15410)
* Small addition add new databases docker

* Update docker-add-drivers.mdx

Since no reply from @JavierLopezT I've gone ahead and incorporated @mvoitko's feedback and using this as an opportunity to educate (instead of showcasing an escape valve)

Co-authored-by: javier.lopez <javier.lopez@promocionesfarma.com>
Co-authored-by: Srini Kadamati <skadamat@gmail.com>
2021-07-10 13:59:02 -04:00
Srini Kadamati
c732d2dada
updated dremio connection string (#15575) 2021-07-07 14:28:23 -04:00
Hugh A. Miles II
d4480f5c9a
feat: Database Connection UI (#14881) 2021-07-01 14:40:27 -07:00
Beto Dealmeida
e606477ec1
feat: more SIP-40 errors (#15482) 2021-06-30 16:32:59 -07:00
Abhishek Jog
cad5ba828c
documentation changes for netezza (#15475) 2021-06-30 10:58:33 -04:00
Abhishek Jog
7ad8fd5c98
feat(add Netezza database): Add IBM Netezza support (#15450)
* Add netezza to superset

* update netezza logo

* change in logo filename

* fixing linter error

* removing stray code
2021-06-30 08:27:54 -04:00
Beto Dealmeida
149c5fd594
feat: add more SIP-40 errors to SQL Lab (#15436) 2021-06-29 18:17:16 -07:00
AAfghahi
743d9cc928
feat: Better Errors in SQL Lab (#15432)
* snowflake errors

* added big query

* added to setup error messages, first test

* all big query testing added

* added snowflake test

* added syntax error

* added syntax errors to most used databases
2021-06-29 16:48:27 -07:00
Amit Miran
2af928796a
chore(docs): Manage access to Dashboards (#15413)
* chore: docs for Manage access to Dashboards

* fixL pre-commit

* fix: undo mistake

* Update index.mdx

* Update index.mdx

minor tweaks

* fix: pre-commit

Co-authored-by: Srini Kadamati <skadamat@gmail.com>
2021-06-29 12:46:33 +03:00
Bonifacio de Oliveira
fe7755897c
add missing logging import (#14994) 2021-06-29 11:41:23 +03:00
Beto Dealmeida
21d1fb55c6
feat: more error messages (#15409) 2021-06-28 14:51:31 -07:00
Beto Dealmeida
241ee32f56
feat: custom error SQL Lab timeout (#15342)
* feat: custom error SQL Lab timeout

* Update test
2021-06-24 08:02:49 -07:00
kamalkeshavani-aiinside
a330b664c1
docs: correct incorrect hyperlink (#15245)
Current hyperlink is going to https://superset.apache.org/docs/www.mapbox.com
2021-06-23 13:43:02 -04:00
Beto Dealmeida
4b00c152cc
feat: implement specific errors for SQL Lab (#15206)
* RESULTS_BACKEND_NOT_CONFIGURED_ERROR

* DML_NOT_ALLOWED_ERROR

* INVALID_CxAS_QUERY_ERROR

* Fix lint

* Add more tests
2021-06-23 07:58:20 -07:00
Daniel Wood
a1027152ba
add ascend engine spec (#14682) 2021-06-18 10:35:55 -07:00
Ke Zhu
745b57745a
docs: Fix naming: Flask-Cache -> Flask-Caching (#15233) 2021-06-17 20:17:03 -06:00
Srini Kadamati
e82433ee48
docs: jinja (#15019)
* added Jinja macro documentation

* fixed typo!

* Update docs/src/pages/docs/installation/sql_templating.mdx

Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>

* incorporated Villes feedback on cache keys

* fixed section title

Co-authored-by: Evan Rusackas <evan@preset.io>
Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
2021-06-09 12:08:31 -04:00
Ke Zhu
9967a5f640
refactor: adopt --app as celery global option (#15053) 2021-06-08 20:18:55 -07:00
Ke Zhu
b75df937e9
docs: provide config option for openid-connect provider (#15044) 2021-06-08 13:30:04 -06:00
Ke Zhu
a90e16850d
docs: required information for OAuth2 configuration (#15010) 2021-06-06 20:26:13 -06:00
Brian Childress
3138091044
Update index.mdx (#14990)
Correcting typo
2021-06-06 12:56:14 -04:00
Bonifacio de Oliveira
e2d6015974
fix typos (#14950) 2021-06-04 22:29:02 -04:00
ʈᵃᵢ
ff903486a8
docs: fix custom oauth config (#14997) 2021-06-04 21:44:27 -04:00
cccs-jc
f652908a70
fix: renamed sqllab filters to _filters (#14971) 2021-06-03 21:22:50 +03:00
cccs-jc
eef489c667
feat: add support for filters in sqlLab (#14765) 2021-06-01 21:23:51 +03:00
Beto Dealmeida
45020860d5
chore: Update docs on MySQL recommended driver (#14826)
* Update docs

* Update docs/src/pages/docs/Connecting to Databases/mysql.mdx

Co-authored-by: Hugh A. Miles II <hughmil3s@gmail.com>

* Update docs/src/pages/docs/Connecting to Databases/mysql.mdx

Co-authored-by: Hugh A. Miles II <hughmil3s@gmail.com>

Co-authored-by: Hugh A. Miles II <hughmil3s@gmail.com>
2021-05-25 14:59:05 -07:00
Rob DiCiuccio
5776dcb61a
Update docs for GLOBAL_ASYNC_QUERIES_TRANSPORT (#14558) 2021-05-18 11:01:43 -04:00
Beto Dealmeida
31f406a526
feat: API endpoint to validate databases using separate parameters (#14420)
* feat: new endpoint for validating database parameters

* Rebase

* Remove broken tests
2021-05-12 18:32:10 -07:00
dependabot[bot]
7d28225c79
build(deps): bump ssri from 6.0.1 to 6.0.2 in /docs (#14227)
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases)
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md)
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-11 13:12:47 -07:00
Jagadish
9097c29d39
Renamed impyla from implya in impala.mdx and Renamed PIP package impyla from impala in index.mdx (#14425) 2021-04-30 19:51:32 +08:00
Srini Kadamati
b78b7b3fad
docs: improved clickhouse connection details (#14394)
* docs: multiple small fixes around databases

* add link to postgres SSL options

* docs: added more Clickhouse connection details

* minor tweak
2021-04-28 13:06:49 -04:00
Srini Kadamati
bbdb4ee24f
docs: multiple small fixes around databases (#14321)
* docs: multiple small fixes around databases

* add link to postgres SSL options
2021-04-28 10:30:28 -04:00
Aakash Nand
77d17152bc
Update trino connection docs (#14219) 2021-04-27 19:51:00 -04:00
Chris Carini
4d2c9324be
Fixing spelling: clint -> client (#14323) 2021-04-25 22:39:28 +03:00
ʈᵃᵢ
e913ef3261
docs: add publish step (#14304) 2021-04-23 10:43:58 -06:00
Hugh A. Miles II
392d8a8107
fix: Handle bad permission errors for bigquery test connections (#14147)
* starter make file

* yea

* move messaging to config

* Delete Makefile

* remove

* checkout

* check for db generic errors

* checkout bad files

* add proper message

* add docs for new permissions codes

* Update superset/errors.py

Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com>

* Update superset/errors.py

Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com>

* rename var

* starter regex

* fix

* fix

* fix linting

* update test

* yerp

* fixed test

* added regex

* Apply suggestions from code review

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* address comments

* update docs

* prettier

* fux

* add space

* Update errors.py

* Update types.ts

Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com>
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
2021-04-20 19:19:36 -04:00
jawabuu
1cc3b9613e
Add superset helm repository (#14223) 2021-04-18 19:59:38 -07:00
Beto Dealmeida
c7112d1c48
feat: error messages for Presto connections (#14172)
* chore: rename connection errors

* feat: error messages for Presto connections

* Add unit tests

* Update docs/src/pages/docs/Miscellaneous/issue_codes.mdx

Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com>

Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com>
2021-04-16 15:49:47 -04:00
Erik Ritter
a3e302374b
fix: Add extra requires for shillelagh (#14180)
* fix: Add extra requires for shillelagh

* Update google-sheets.mdx

* Update index.mdx
2021-04-16 09:16:35 -07:00
AAfghahi
eadff5f41e
feat: invalid DB name error messages (MySQL/Postgres/Redshift) (#14146)
* initial DB custom errors for mysql

* added redshift and postgres
2021-04-15 08:02:47 -07:00
Beto Dealmeida
21f973f0bd
feat: error messages when connecting to MSSQL (#14093)
* feat: error messages when connecting to MSSQL

* Address comments
2021-04-14 10:57:58 -07:00
AAfghahi
b77477a9dd
feat: invalid hostname and password error messages (MySQL) (#14089)
* custom errors for mySQL

* initial custom errors and tests for MySQL

* revisions
2021-04-13 14:42:31 -07:00
dependabot[bot]
353038e59e
build(deps): bump socket.io from 2.3.0 to 2.4.1 in /docs (#12636)
Bumps [socket.io](https://github.com/socketio/socket.io) from 2.3.0 to 2.4.1.
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/2.4.1/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/2.3.0...2.4.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-13 14:01:16 -07:00
dependabot[bot]
596938628c
build(deps): bump three from 0.68.87 to 0.125.0 in /docs (#13391)
Bumps [three](https://github.com/mrdoob/three.js) from 0.68.87 to 0.125.0.
- [Release notes](https://github.com/mrdoob/three.js/releases)
- [Commits](https://github.com/mrdoob/three.js/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-13 13:10:00 -07:00
dependabot[bot]
4e15e00688
build(deps): bump y18n from 4.0.0 to 4.0.1 in /docs (#13874)
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-13 13:08:15 -07:00
Alex Kreidler
5952d78121
Add docs for configuring Docker Compose setup (#13961) 2021-04-13 01:04:14 +03:00
Beto Dealmeida
786dadc836
feat: invalid password error message (Postgres) (#14038) 2021-04-12 14:03:21 -07:00
Ben Reinhart
1c6173c7ee
feat: Make async query JWT cookie domain configurable (#14007) 2021-04-11 20:33:33 -07:00
Jesse Yang
fe08b698f5
docs: update outdated country map tools instructions (#14027)
also add actionable error for country map vis
2021-04-09 15:15:17 -07:00
Beto Dealmeida
c60a93db9c
feat: add extract_errors to Postgres (#13997)
* feat: add extract_errors to Postgres

* Add unit tests

* Fix lint

* Fix unit tests
2021-04-08 13:24:54 -07:00
Rob DiCiuccio
6a81a7961c
feat: Support feature flag overrides in ephemeral test envs (#14008)
* Add support for feature flag overrides in ephemeral env cmd

* update docs to reference correct config

* Update ephemeral env docs
2021-04-08 11:05:59 -07:00
Beto Dealmeida
a82d72fef6
feat: initial work to make v1 API compatible with SIP-40 and SIP-41 (#13960)
* WIP

* Use errorhandler

* Add response schema

* Fix status on HTTPException

* s/found/encountered/g

* Fix test

* Fix lint

* Fix lint and test
2021-04-06 22:06:32 -07:00
Octavian
09f68c9c7b
Update docs to use the newer WEBDRIVER_TYPE name (#13934) 2021-04-06 10:00:27 +08:00
dependabot[bot]
9031e69dc2
build(deps): bump elliptic from 6.5.3 to 6.5.4 in /docs (#13527)
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.3...v6.5.4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-30 14:18:22 -06:00
Eric Anderson
9d0bb3a3ba
Fix broken link (#13861)
Currently link goes to: https://superset.apache.org/docs/docs/installation/installing-superset-using-docker-compose
It should go to: https://superset.apache.org/docs/installation/installing-superset-using-docker-compose
2021-03-29 23:11:04 -07:00
Ben Reinhart
3ad9c910f9
docs: update setup instructions (#13781) 2021-03-25 15:32:15 -07:00
Hugh A. Miles II
3ea2311b87
chore: Update presto.mdx (#13738) 2021-03-24 13:13:22 -04:00
Anthony Corletti
6c3bfe80dc
docs: update helm documentation (#12932)
* docs: update helm documentation

* docs: fix for end-of-file-fixer pre-commit-config

* update: bump chart apiVersion to v2 and remove requirements.yaml
2021-03-21 14:32:24 -07:00
Beto Dealmeida
db57f90a34
feat: better error message when adding DBs (#13601)
* WIP

* Adding tests

* Add unit tests

* Show error message

* Fix lint

* Fix after rebase
2021-03-17 20:29:26 -07:00
Elizabeth Thompson
bf424e3351
docs: add file for users to see status of feature flags (#13402)
* add file for users to see status of feature flags

* move comment

* update flags per feedback

* move to subfolder and improve docs

* move CODE_OF_CONDUCT to root
2021-03-16 14:11:17 -07:00
Elizabeth Thompson
1835ed02da
create better link for badge (#13587) 2021-03-12 13:02:09 -08:00
Srini Kadamati
bebac5921b
feat: add connector for CrateDB (#13152)
* feat: add connector for CrateDB

* added crate

* fix PyPI reference

* add tests

* added more clarity on installing crate

* fix test

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-03-11 23:03:22 +02:00
Daniel Vaz Gaspar
94fc5d586e
docs: deprecate old alerts and dash/charts reports (#13440)
* docs: deprecated old alerts and dash/charts reports

* revert celery default config

* fix lint
2021-03-05 09:40:08 +00:00
Holger Stitz
09e5ea1f3d
docs: Fix typo in footer (#13455)
The correct spelling is Foundation
2021-03-04 08:19:38 -08:00
Srini Kadamati
26b75fadc4
chore: Added rockset and firebird (#13418)
* added URL rerouting from old alerts & reports page to new one

* edited SQL Server, Rockset, db ordering, and link that Superset logo in left corner takes you to

* added Trino logo and firebird connection string and removed bigquery trailing comma

* added ROckset logo

* changed db list ordering for firebird

* tweaked presnetation of firebird connection string
2021-03-03 08:55:59 -05:00
leocape
1697e1e3b1
chore: update docs for new alerts and reporting feature (#13104)
* update docs for new alerts and reporting feature

* fix punctuation

* fix punctuation

* fix punctuation

fix bullets
fix redis depends on name in docker-compose template

* fix bullets

* Add extra steps for getting v1.0.1 running

step added: Upgrade the db
step added: init
step added: setup admin
fix redis superset naming
add . to docker build command

* fix worker to use gevent instead of prefork

change postgres to internal so it persists on docker-compose down

* add comments to superset_config.py

* ref: Re-organize a bit and make it easier to read

* ref: rm useless level

* docs: md changes + more details + kubernetes

* docs: Rename to Alerts and Reports

* docs: Link to Kubernetes doc

* docs: details for docker-compose + minor md changes

* docs: fix lists indent

* docs: remove unused config

* docs: Put detailed config and dockerfile before specific stuff

* docs: clean Dockerfiles

Co-authored-by: Valentin NOURDIN <vnourdin.externe@bedrockstreaming.com>
2021-02-26 10:19:08 -05:00
Liam
f756518a9e
chore: Update OAuth2 configuration guide to match with FlaskAppBuilder (#13332)
* Change helm requirement to bitnami charts

* chore: Fix OAuth2 Configuration to match FAB version

Co-authored-by: Liam <luyen.nv@teko.vn>
2021-02-26 07:05:31 +02:00
Đặng Minh Dũng
e8114be99a
docs: Connecting to Trino Databases (#13171)
* feat: add trino logo

Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>

* chores: update image links in README.md

Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>

* docs: add Trino Connecting to Databases doc

Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
2021-02-23 14:32:21 -05:00
Pablo Rodriguez Bertorello
3fbd44ecce
chore: update instructions for Pinot in connecting to databases (#12238)
* Update index.mdx

Pinot connection fix

* Update index.mdx
2021-02-23 14:08:53 -05:00
ʈᵃᵢ
aa50161933
chore: add non-dev docker-compose workflow (#13143) 2021-02-18 09:55:15 -08:00
Connor T. Skennerton
51c90ec013
Fix typo in pyathena connection string (#13201) 2021-02-18 10:38:05 -05:00
Erik Ritter
beee11de0f
fix: misspelling Erik Ritter (#13120)
* fix: misspelling Erik Ritter

* Add --all-tags to docker push to account for new default behavior

Co-authored-by: Rob DiCiuccio <rob.diciuccio@gmail.com>
2021-02-16 11:20:23 -08:00
Yann Jouanique
2e93784f86
feat(helm): Helm template for Celery beat (for reporting and alerting) (#13116)
* Custom superset_config.py + secret envs

* Helm template for celery beat

* Fix end of file

* Update helm/superset/values.yaml

Co-authored-by: Valentin Nourdin <valentin.nourdin@lilo.org>

* Rename pods

* Update helm/superset/values.yaml

Co-authored-by: Valentin Nourdin <valentin.nourdin@lilo.org>

* Update helm/superset/templates/deployment-beat.yaml

Co-authored-by: Valentin Nourdin <valentin.nourdin@lilo.org>

* Update helm/superset/templates/deployment-beat.yaml

Co-authored-by: Valentin Nourdin <valentin.nourdin@lilo.org>

* Update helm/superset/templates/deployment-beat.yaml

Co-authored-by: Valentin Nourdin <valentin.nourdin@lilo.org>

* Update helm/superset/templates/deployment-beat.yaml

Co-authored-by: Valentin Nourdin <valentin.nourdin@lilo.org>

* Update helm/superset/templates/deployment-beat.yaml

Co-authored-by: Valentin Nourdin <valentin.nourdin@lilo.org>

* Added Kubernetes documentation

* Data source declarations

Co-authored-by: Valentin Nourdin <valentin.nourdin@lilo.org>
2021-02-16 08:15:21 -08:00
Daniel Ben-Zion
4183a03542
style: fix typo in documentation (#13063)
* Update README.md

* Update introduction.mdx
2021-02-10 11:33:46 -08:00
Srini Kadamati
eb5dc38910
chore: Swap Slack Url 2 more places (#13004)
* swapped slack url

* few more places to swap slack url
2021-02-08 11:00:45 -08:00
Srini Kadamati
92a5f84151
swapped slack url (#12974) 2021-02-05 18:41:36 -05:00
neilsmiller
2b9d5795ad
Slight formatting fixes in exploring-data.mdx (#12846)
Add missing space, correct spacing for bold formatting
2021-01-30 17:54:34 -05:00
Philipp Gortan
bf2cd56eb7
Update index.mdx (#12579)
you need to cd into the git workdir first, only then can you switch the branch...
2021-01-30 11:19:25 -05:00
Srini Kadamati
632a1e1fb9
chore: Added documentation for 1.0 flags (#12778)
* added documentation for 1.0 flags

* reformatted table for better visuals

* fixed links to download for 1.0
2021-01-29 15:17:22 -05:00
Lawrence Kim
c9dcc6aa0d
Update index.mdx (#12833)
This page has a broken link. So I propose this change.
2021-01-29 13:27:41 -05:00
Ye Ding
34549cb5b7
docs: Add support for Hologres (#12710) 2021-01-28 16:36:06 -08:00
Srini Kadamati
017f11f9d8
docs: Updates to Superset Site for 1.0 (#12626)
* incorporating precommit logic

* add 1.0 page

* fixed annoying docz config issue 2

* tweaked indentation

* added asf link 2

* changed Dockerhub link

* reverted frontend package lock json: precommit
2021-01-26 11:13:39 -05:00
Rob DiCiuccio
8c29ba88a4
docs: Remove gatsby-plugin-offline (#12693) 2021-01-25 12:57:22 -05:00
Srini Kadamati
8cfc6eccea
chore: updated Slack URL, old link expired (#12737) 2021-01-25 11:50:19 -05:00
Craig Rueda
57b0bd2a04
Adding gatsby remove serviceworker (#12692) 2021-01-22 13:53:35 -08:00
Carlos Fidel Selva Ochoa
b1c203b7d9
Updade connection prefix (#12673)
The connection prefix should be different if the DB2 dialect is different.
2021-01-22 14:08:48 -05:00
Maxime Beauchemin
06a80cd3f4
docs: fix redirect from bad find/replace (#12642) 2021-01-20 20:25:01 -08:00
Srini Kadamati
7577f47706
docs: update README.MD and FAQ Page for Superset 1.0 launch (#12499)
* fixed whitespace

* commit exclusion of package-lock from large file size precommit hook

* Converted all PNG files to JPG files to save space, stay under <500kb file size

* added link to release notes for 1.0
2021-01-20 16:27:19 -08:00
Rob DiCiuccio
10c2b09942
Add docs for GLOBAL_ASYNC_QUERIES (SIP-39) (#12573) 2021-01-19 13:57:25 -08:00
Radhika
9e47ee26b3
corrected typo in connections index in the documentation (#12577) 2021-01-18 22:33:41 -08:00
Ahmed Adel
e6a76a58d3
feat(db-engine): Add support for Apache Solr (#12403)
* [db engine] Add support for Apache Solr

* Fixing typo
2021-01-15 15:11:56 +02:00
Phillip Kelley-Dotson
321444bfd5
docs: fix styles and add algolia search classes (#12267)
* fix styles and add angolia search classes

* add class

* fix black
2021-01-11 14:13:51 -08:00
Amit Miran
4cf3f99ee8
chore: remove additional incubator references (#12336)
* chore: remove additional incubator references
remove incubator.png from the main docs page

* fix: improve text for contributing-page.mdx

* fix: lint no-unused-vars
2021-01-11 06:09:10 -08:00
dependabot[bot]
c61167d2f7
build(deps): bump ini from 1.3.5 to 1.3.8 in /docs (#12020)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-11 06:07:03 -08:00
ʈᵃᵢ
176f54da7a
docs: remove (some) references to incubating/incubation (#12284) 2021-01-06 13:40:40 -08:00
Amit Miran
b221417e19
chore: remove harmless incubator refs (#12289)
* chore: migrate all harmless incubator refs like comments and documentation files

* chore: migrate all superset.incubator.apache.org to superset.apache.org to

* chore: migrate dist.apache.org refs

* chore: removing incubating and Disclaimer

* fix: linting issues
2021-01-06 13:45:19 +02:00
Daniel Vaz Gaspar
2b6a58780a
fix(database): OpenAPI spec for test_connection (#12274)
* fix(database): OpenAPI spec for test_connection

* updated OpenAPI spec on superset docs

* EOL
2021-01-06 10:29:05 +00:00
Rob DiCiuccio
62e7706035
docs(api): Script to generate API docs (openapi.json) (#12050)
* update_api_docs CLI command for regenerating openapi.json

* Fix /api/v1/async_events spec

* Regenerate openapi.json (docs)

* Pylint fixes
2021-01-04 13:47:01 -08:00
Elizabeth Thompson
895fa19d8d
chore: add latest tag action (#11148)
* add latest tag action

* update documentation with latest tag info

* Python in docs doesn't need v3 reference

* add check that latest tag is truly a later version

* remove rc from acceptable tags

* move tag script to seperate file

* add a check that the tag exists
2020-12-17 20:50:44 +02:00
Alan LaMielle
a3be325b99
Small typo fix in Athena connection docs (#12099) 2020-12-17 09:22:24 -08:00
Beto Dealmeida
8bda6b0bd9
feat: show missing parameters in query (#12049)
* feat: show missing parameters in query

* Fix lint

* Address comments

* Simplify error message

* Use f-string in helper function
2020-12-15 18:47:40 -08:00
Srini Kadamati
3e22668f8d
docs: restored page on roles in security, executed other touchups, and… (#11978)
* Restored docs page on roles in security, executed other touchups, and renamed docs readme.txt to readme.md

* missed a url anchor on the security page

* fixed licensing issue and limited char width to 80

* fixed licensing issue and limited char width to 80

* whitespace experiments

* removed 2 periods

* staging whitespace

* addressed Robs feedback

* implemented robs second round of feedback on public_role_like
2020-12-13 14:06:14 -08:00
Elizabeth Thompson
302357f3e7
update docs around email reports (#11783) 2020-11-24 11:43:43 -08:00
Jesse Yang
4cfcaebb61
feat: rename TABLE_NAMES_CACHE_CONFIG to DATA_CACHE_CONFIG (#11509)
* feat: rename TABLE_NAMES_CACHE_CONFIG to DATA_CACHE_CONFIG

The corresponding cache will now also cache the query results.

* Slice use DATA_CACHE_CONFIG CACHE_DEFAULT_TIMEOUT

* Add test for default cache timeout

* rename FAR_FUTURE to ONE_YEAR_IN_SECS
2020-11-13 22:35:10 -08:00
Maxime Beauchemin
5cb6c25ca0
docs: add support for Google Analytics on superset.apache.org (#11613)
* docs: add support for Google Analytics

* fix failing cypress test in list_view.test.ts

* xit some tests
2020-11-12 13:57:05 -08:00
dependabot[bot]
9c832440b9
build(deps): bump object-path from 0.11.4 to 0.11.5 in /docs (#11484)
Bumps [object-path](https://github.com/mariocasciaro/object-path) from 0.11.4 to 0.11.5.
- [Release notes](https://github.com/mariocasciaro/object-path/releases)
- [Commits](https://github.com/mariocasciaro/object-path/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-30 14:19:24 -07:00
Daniel Vaz Gaspar
5674309080
docs: fix db drivers PG and ES (#11504) 2020-10-30 12:53:13 +00:00
Tony Klin
62629eceab
Add IBM Cloud deployment guide (#11473) 2020-10-28 22:01:39 -07:00
Naren
2e6afdf7e7
docs: Update Dremio doc with Arrow Flight connection details (#11422)
* update dremio doc w arrow flight connection

* Add connection string via Arrow Flight
* Modify the connector link

* Update dremio.mdx
2020-10-26 17:01:16 +02:00
Pavel T
6f85d8d85c
docs: fix typo (#11129) 2020-10-22 16:18:44 -07:00
Maxime Beauchemin
43aca6a26c
docs: add a roadmap page pointing to SIP-53 (#11169)
* docs: add a roadmap page pointing to SIP-53

* large file
2020-10-20 21:36:06 -07:00
Maxime Beauchemin
8676c3ebd6
docs: don't link to database engine pages (#11242)
* docs: don't link to database engine pages

* making the linter happy

* updating database installation link

Co-authored-by: Evan Rusackas <evan@preset.io>
2020-10-13 14:10:06 -07:00
Naren
dcdf15f4d7
docs: Added Dremio to superset home page (#11231)
* add dremio

* dremio logo
2020-10-12 13:02:50 -07:00
Evan Rusackas
fa9963519e
fix: adding nofollow (#11225) 2020-10-09 23:47:57 -07:00
jharding-blw
5561b429f3
Fix typo "insode" -> "inside" (#11204) 2020-10-08 13:58:58 -07:00
John Bodley
6e0d1b8409
chore: cleanup FAB update perms (#11155)
* chore: Using cache factory method

* chore: Deprecate outdated FAB_UPDATE_PERMS information

Co-authored-by: John Bodley <john.bodley@airbnb.com>
2020-10-07 08:33:41 -07:00
Maxime Beauchemin
071c81f82e
fix: 📜 /docs/api won't render (#11168)
* fix: docs/api won't render

    fix: docs/api won't render

    It's unclear to me exactly why, but docz is flimsy with the way
    things are named and runs into odd collision and error messages.

    Somehow renaming the route seem to help. Jut rolling with it after many
    `gatsby clean`

* kill paths-ignore on github-actions

* trigger
2020-10-06 13:51:40 -07:00
Johannes Lange
3a0446f00d
docs: typo (#11152)
* docs: typo

* docs: consistent two-line gap before sections in README

this is merely to touch something outside of docs/ to work around a CI
issue (comment in #11152), while not creating diff-noise only
2020-10-05 13:29:47 -07:00
Maxime Beauchemin
6358a7f1b5
docs: add API page to docs using Swagger UI (#11154)
* docs: add API page to docs using Swagger UI

* silence fossa
2020-10-04 22:01:36 -07:00
Evan Rusackas
2cb2a0093d
docs: docs site footer link tweak (#11140)
* rescinding htaccess rewrite

* Changing License link title to make Apache happy

* Revert "rescinding htaccess rewrite"

This reverts commit 0ee153ef08.

* changing url in asf.yaml
2020-10-01 23:31:52 -07:00
Maxime Beauchemin
d578d8133f
docs: comply to ASF requirements (#11133)
* docs: comply to ASF requirements

* touch something out of docs/

* Just a few more things...

* messing with .htaccess

* SEO
2020-10-01 22:15:36 -07:00
Erik Ritter
fa5dab85c4
feat: more specific presto error messages (#11099) 2020-09-29 21:50:58 -07:00
Srini Kadamati
66e49807ef
fixed routes for customer in docs (#11052) 2020-09-24 20:43:03 -07:00
Maxime Beauchemin
3be8bdad9a
docs: add gallery screenshot & link in README (#10988)
* docs: add gallery screenshot & link in README

* deallowing large files
2020-09-21 22:48:55 -07:00
Maxime Beauchemin
8e4a1c8356
docs: add a "Gallery" page (#10968)
* docs: add a gallery page

* Adding image gallery

* linted

* add more screenshots

* a few more screenshots
2020-09-21 22:27:03 -07:00
Srini Kadamati
4a4fdb1e02
docs: set up client-side redirects from previous era docs urls (#10921)
* one simple redirect, as a test

* adding license to header

* painstakingly added SEO redirects!

* addressed feedback and ran lint-fix!

* lets try newline again!

* Revert "lets try newline again!"

This reverts commit 20f89bd23c.

* Revert "Revert "lets try newline again!""

This reverts commit e441edc54a.

* wait... there were TWO newlines?

Co-authored-by: Evan Rusackas <evan@preset.io>
2020-09-18 13:31:22 -07:00
Evan Rusackas
d4f33cc9de
Ignore '/docs' on some GH actions, give docs its own action (#10949)
* ignore docs on several actions, give docs its own action

* Random doc change to see if the new action runs.

* umm... not paths-ignore, paths!

* eof fix

* enabling typescript checking on docs
2020-09-18 12:23:48 -07:00
Evan Rusackas
2a5946d117
docs: Client side redirects (one POC) (#10898)
* one simple redirect, as a test

* adding license to header
2020-09-16 13:24:26 -07:00
Evan Rusackas
d4ee073bfe
simplifying/clarifying youtube video code/datastructures (#10882)
* simplifying/clarifying youtube video code/datastructures

* adding role to clickable div
2020-09-16 09:57:04 -07:00
Evan Rusackas
87fc425be9
Fixing docs site home screen mobile layout issues (#10886)
* fixing phone layout issues, "sqlab" -> "SQL Lab"

* fixing docs width/scrolling issues

* Revert "fixing docs width/scrolling issues"

This reverts commit 53c6482083.

* minor cherry on top-> remove nowrap and improve a link in README

Co-authored-by: Maxime Beauchemin <maximebeauchemin@gmail.com>
2020-09-16 09:56:56 -07:00
Erik Ritter
f9cfb3ed0e
fix: spelling in docs homepage (#10912) 2020-09-16 09:48:08 -07:00
Maxime Beauchemin
0870d3ae2b
docs: add back issue code links (#10903)
* docs: add back issue code links

closes: https://github.com/apache/incubator-superset/issues/10852

* Addressing comments
2020-09-16 09:28:53 -07:00
Maxime Beauchemin
3b035d2af3
docs: redirect http -> https (#10900)
* docs: redirect http -> https

* fix issues
2020-09-16 08:24:08 -07:00
Evan Rusackas
1f7301025a
correcting 2 steps in docs deployment readme (#10899) 2020-09-15 22:09:32 -07:00
John Bodley
b48dd4b7d9
chore: Using cache factory method (#10887)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2020-09-15 12:48:19 -07:00
Ville Brofeldt
838a70ea8d
docs: fix ubuntu 20.04 installation instructions (#10888) 2020-09-15 21:16:57 +03:00
Maxime Beauchemin
08ec509dc9
docs(style): make more responsive for mobile (#10853)
* docs(style): make more responsive for mobile

* Make a responsive navbar

* more fixes and tweaks

* Add README instructions
2020-09-14 11:58:45 -07:00
Phillip Kelley-Dotson
85a916036c
docs(new docs site): removes old sphinx doc site with gatsby (#10784)
* Remove old apache sphinx doc site with refreshed gatsby

* remove rando

* add licenses

* excluing .mdx files from license checks

* fixes

* Clean up sphinx references

* Addressed comments

* colors and tweaks

* more fixes

* add dummy docs/requirements.txt to satisfy stupid fossa

* cp .prettierrc

* more licenses

* minor touchups

* reqs

* removing old videos

* add github buttons

* prettier

* tweaks

* Eugenia/Fix some of the images and modified some of database pages

* add subheadernav

* add side headers nav and more responsive design for docs

* update resources page and other styling updates

* linting

* tweaks

* removing windows and align:center

* update resources

* remove links and and card hearder

* lots of styling tweaks

* Tweaks and minor improvements

* lint

* fix CI

* trigger pre-comimt

* rererefix CI

Co-authored-by: Maxime Beauchemin <maximebeauchemin@gmail.com>
Co-authored-by: Eugenia Moreno <eugenia@Eugenias-MBP.fios-router.home>
Co-authored-by: Evan Rusackas <evan@preset.io>
2020-09-11 22:59:12 -07:00
cyw233
7c11c9ce16
update all python version in the Dockerfile to 3.7 (#10841)
* update all python version in the Dockerfile to 3.7

* update ubuntu 18.04 to ubuntu 20.04
2020-09-11 14:33:15 +03:00
Ville Brofeldt
9a6697141d
chore: deprecate python 3.6 support (#10803) 2020-09-09 08:51:55 +03:00
Daniel Vaz Gaspar
f6858256f4
security: disallow uuid package on jinja2 (#10794)
* fix: disallow uuid package on jinja2

* update UPDATING.md

* Update UPDATING.md

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

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2020-09-04 16:37:14 +01:00
Will Barrett
ff60e5c62a
Fix precommit hook for docs/installation.rst (#10759)
* Fix precommit hook for docs/installation.rst

* Fix underline too short
2020-09-02 10:06:51 -07:00
Jagadish
b5aecaff5c
docs: Update OAuth configuration in installation.rst (#10748)
Co-authored-by: jagadish <jagadish@nineleaps.com>
2020-09-02 16:10:49 +01:00
kxu
68d5a2bb7f
docs: Updated Docker local install instructions (#10511)
* Updated Docker local install instructions

Updated Docker local install instructions with more detail, structure, and additional info for Linus and Windows users.

* Updated with note on Windows environment
2020-09-01 13:52:22 -07:00
Cory Zue
4ee524736d
improve documentation for country maps (#10621) 2020-08-18 09:36:35 -07:00
John Bodley
8fb304d665
docs: Update engine installation (#10509)
* Update installation.rst

* Update installation.rst

Co-authored-by: John Bodley <john.bodley@airbnb.com>
2020-08-12 09:58:42 -07:00
Hossein Torabi
8190dcb61f
fix drill installation (#10558) 2020-08-10 11:39:46 -07:00
kxu
90c9417b16
docs: Update and refresh homepage of superset.apache.org (#10477)
* Update and refresh Index

Update and refresh index with additional links to community resources, new links to `Databases' section directly to parts of the tutorial that talk about that database,  connect, align Superset topline features with same language as in GitHub

* Added link to Superset users

* Update with relative links

* Add link to docs repo

Add link to docs repo on the homepage to encourage easy access for community contribution.

* Update index.rst
2020-08-07 09:28:14 -07:00
Erik Ritter
2055ecc1ba
feat: refactor error components and add database issue code (#10473)
* feat: refactor error components and add database issue code

* Apply suggestions from code review

Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>

Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
2020-08-06 13:22:24 -07:00
Ville Brofeldt
3983fff084
ci: bump tests to 3.7 and add support for 3.8 (#10110) 2020-08-05 13:29:07 +03:00
Hossein Torabi
514b29f6df
fix db installaion (#10425) 2020-08-04 21:51:32 -07:00
John Bodley
cda764fd4b
chore: Adding pip-compile-multi et al. (#10499)
* chore: Adding pip-compile-multi et al

* Specify requirements.txt path for fossa

* [ci] Fixing CI

Co-authored-by: John Bodley <john.bodley@airbnb.com>
Co-authored-by: Jesse Yang <jesse.yang@airbnb.com>
2020-08-04 19:31:52 -07:00
Hossein Torabi
825f993dcb
authentication type methods docs (#10378) 2020-08-03 12:42:03 -07:00
John Bodley
821916a681
chore: pre-commit run --all-files (#10500)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2020-08-02 14:32:17 -07:00
Maxime Beauchemin
5e93f00a53
docs: pointers to plugins blog post (#10251)
* docs: pointers to plugins blog post

* fix build
2020-07-27 22:46:37 -07:00
Daniel Vaz Gaspar
562012c586
fix(permissions): alpha role has all full features (#10241)
* fix(permissions): alpha role is inconsistent

* reverse and allow Alpha to access manager menu

* Bump FAB to 3.0.1rc1 to include del permission fix

* add docs, tests and UPDATING

* EOL

* Fix query view for Alpha
2020-07-27 10:32:30 +01:00
Erik Ritter
5fa4680447
feat: update timeout error UX (#10274) 2020-07-20 15:32:17 -07:00
Maxime Beauchemin
a460fdf0f8
docs(fix): /swaggerview/v1 has moved to /swagger/v1 (#10276) 2020-07-09 15:16:52 -07:00
John Bodley
774c23a6f1
chore: Deprecating ENABLE_FLASK_COMPRESS (#10233)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2020-07-04 12:46:34 -07:00
Maxime Beauchemin
28bb2e18dd
docs: FAQ entry for 'Does Superset have an API' (#10071) 2020-06-17 17:13:28 +01:00
John Bodley
91f6e708eb
docs: Disable sphinx-autodoc-typehints (#9846)
* Update requirements.txt

* Update conf.py

* Update conf.py
2020-05-20 06:59:59 -07:00
John Bodley
c117e222c0
build: Updating the sphinx configuration (#9833)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2020-05-18 21:27:25 -07:00
Ivan Blinkov
e121e090c7
Update the link to ClickHouse official website (#9834) 2020-05-19 07:02:14 +03:00
Ville Brofeldt
b532c4609f
chore: bump python dependencies (#9786)
* chore: bump pyhton dependencies

* bump flask-testing

* Add note to UPDATING and bump flask-testing in requirements-dev.txt

* fix old sqlparse test case that is fixed with sqlparse==0.3.1

* Fix migration and sqlparse set test

* downgrade alembic

* Downgrade sqlalchemy-utils

* pin sqlalchemy-utils due to regression in 0.36.5

* Refine comment in setup.py

* make cachelib an explicit requirement
2020-05-13 18:49:34 +03:00
ʈᵃᵢ
24db9ab088
[docs] Add SSL config options for postgres (#9767)
* [docs] add postgres SSL documentation

* move caching section to where it makes more sense
2020-05-10 19:37:13 +01:00
ʈᵃᵢ
6237cea952
[docs] add postgres documentation (#9766) 2020-05-07 12:17:37 -07:00
John Bodley
955a4fe792
[fix] Automatically add relevant Jinja methods to cache key if present (#9572)
* [fix] Adding URL params to cache key if present

* [cache] Wrapping Jinja methods

Co-authored-by: John Bodley <john.bodley@airbnb.com>
2020-04-24 08:18:22 -07:00
Ville Brofeldt
c3307fa7aa
fix: move docs image symlink to _static (#9592)
* fix: move docs image symlink to _static

* Remove unneeded copy statements from build script

* Remove copy statement from CI conf
2020-04-22 19:11:20 +03:00
Will Barrett
132d774953
Add documentation build to Github Actions (#9569)
* Add documentation build to Github Actions

* Update requirements for documentation builds

* Minor optimization - only install requirements for documentation in documentation job
2020-04-20 15:48:50 -07:00
Daniel Vaz Gaspar
2295999a91
[docs] fix, elastic.co elasticsearch product location (#9598) 2020-04-20 15:48:03 +01:00
Ville Brofeldt
8476de9640
Bump copyright notice (#9539) 2020-04-15 08:59:29 -07:00
Daniel Vaz Gaspar
d81f720502
[thumbnails] API and celery task for dashboards and charts (#8947) 2020-04-15 09:40:14 +01:00
dandanhub
72f051f3ce
[sqllab] Add CUSTOM_TEMPLATE_PROCESSOR config (#9376)
Co-authored-by: Dandan Shi <dshi@dropbox.com>
2020-04-07 21:00:42 +01:00
Naren
b487834d12
[Doc] Update installation doc for Dremio (#9464)
* update installation doc for Dremio

Customers fail to install pyodbc properly which on linux systems requires you to install unixodbc-devel package. Update the instructions to make it clear.

* fix new line
2020-04-07 12:01:30 +03:00
Ville Brofeldt
499f9c8fca
feat: add SSL certificate validation for Druid (#9396)
* feat: add SSL certificate feature

* Address comments

* don't mutate extras

* Address comments and add polish

* Add further polish
2020-03-27 19:07:07 +02:00
Ville Brofeldt
3682702e91
fix: add connection testing params for snowflake (#9272)
* fix: add connection testingt params for snowflake

* Linting
2020-03-11 06:51:57 +02:00
Will Barrett
99242225d6
Adds default username and password created at installation to documentation (#9263) 2020-03-10 07:30:43 +02:00
Maxime Beauchemin
7b06bb7549
docs: remove focus on Druid in README.md (#9184)
The text in the README seemed overly Druid-centric at this time. While
originally (3-4 years ago) Superset was heavily focussed on druid, it's
just not accurate anymore. Druid is just one of the databases that we
support and docs should reflect that.
2020-02-24 10:30:25 +00:00
altef
dee16de03e
[SIP-29] Add support for row-level security (#8699)
* Support and apply filters.

* Added the UI for row level security, and moved it all under SQLA in order to access the Table model more easily.

* Added a row level security filter documentation entry.

* Accidentally added two new lines to this file.

* Blacked and iSorted, hopefully.  Also, sometimes g.user may not be set.

* Another isort, and handling g not having a user attribute another way.

* Let's try this again #CI tests.

* Adjusted import order for isort; I was sure I'd already done this..

* Row level filters should be wrapped in parentheses in case one contains an OR.

* Oops, did not think that would change Black's formatting.

* Changes as per @mistercrunch.

* RLS filters are now many-to-many with Roles.

* Updated documentation to reflect RLS filters supporting multiple rows.

* Let's see what happens when I set it to the previous revision ID

* Updated from upstream.

* There was a pylint error.

* Added RLS ids to the cache keys; modified documentation; added template processing to RLS filters.

* A new migration was merged in.

* Removed RLS cache key from query_object.

* RLS added to the cache_key from query_context.

* Changes as per @etr2460.

* Updating entry for RLS pull request.

* Another migration to skip.

* Changes as per @serenajiang.

* Blacked.

* Blacked and added some attributes to check for.

* Changed to a manual query as per @mistercrunch.

* Blacked.

* Another migration in the meantime.

* Black wanted some whitespace changes.

* AttributeError: 'AnonymousUserMixin' object has no attribute 'id'.

* Oops, did hasattr backwards.

* Changes as per @mistercrunch.

* Doesn't look like text us required here anymore.

* Changes as per @dpgaspar

* Two RLS tests.

* Row level security is now disabled by default via the feature flag ENABLE_ROW_LEVEL_SECURITY.

* New head to revise.

* Changed the comment.
2020-02-22 11:21:31 +02:00
David Aaron Suddjian
2913063924 SIP-32: Moving frontend code to the base of the repo (#9098)
* move assets out, get webpack dev working

* update docs to reference superset-frontend

* draw the rest of the owl

* fix docs

* fix webpack script

* rats

* correct docs

* fix tox dox
2020-02-09 17:53:56 -08:00
Arian Treffer
0cf354cc88
Add support for Cockroach DB (#9043)
* Add support for Cockroach DB

* Add documentation, fix installation and style for CockroachDB

* Fix formatting for black
2020-02-08 12:07:02 +02:00
Maxime Beauchemin
1a2ba56f46
[docs] add a link to versioned docs in the docs (#9069) 2020-02-04 17:18:23 +00:00
Grace Guo
2b0c7a1b73 [docs] Fix CORS section in installation (#8958) 2020-01-16 00:49:33 -05:00
Maxime Beauchemin
cd7cb147b9 docs: fix bad extras_require reference (#8969) 2020-01-15 08:50:30 +00:00
Naren
3bedee75d3 Add support for Dremio as a new source (#8939)
* Added spec for Dremio

* Installation instructions for Dremio

* added dependency for dremio

* Update dremio.py

* ASF header, dttm, set min version in setup.py

* Update installation.rst

* Update installation.rst

* fix tox 'Title underline too short.'

* change URI example

Co-authored-by: Naren <41924335+naren-dremio@users.noreply.github.com>
2020-01-10 17:37:40 +02:00
Maxime Beauchemin
6ff086df3a
docs: add copyright notice to conform to ASF requirements (#8761)
This should make things green
here: https://whimsy.apache.org/pods/project/superset
2019-12-07 17:52:30 -08:00
Hossein Torabi
d3f7fda778 fix create-admin (#8787) 2019-12-07 16:09:14 -08:00
Craig Rueda
a0b48f0f47 Fixing up Docker installation docs (#8735)
* Fixing up Docker installation docs

* Typo
2019-12-03 15:56:33 -08:00
Daniel Vaz Gaspar
0ed0031412
[jinja_context] Fix, allow for app factory pattern (#8693)
Better app factory pattern on jinja context and introduces tests for building docs
2019-12-03 09:42:57 +00:00
Beto Dealmeida
ac0e353a54
Update docs on gunicorn (#8710) 2019-12-02 10:57:05 -08:00
Daniel Vaz Gaspar
b2633a51d4
[docs] Fix, database deps table (#8692) 2019-11-29 13:48:39 +00:00
Caahlo
07058c5a12 add Liechtenstein to country selection (#8605)
add Liechtenstein to country selection and document its municipalities as regions
2019-11-19 07:06:17 -08:00
Caahlo
c87a140734 add Switzerland to country selection (#8592)
add Switzerland to country selection and document Swiss cantons as regions
2019-11-18 10:13:53 -08:00
axuew
763f59fc58 Add support for database engine SAP Hana (#8411)
* Add support for database engine SAP Hana

* Support hana services

Increase time, minute, and second

* Fix hana return string

* Fix formatting errors
2019-11-12 08:42:44 +02:00
francishemingway
5ed2190ebd [docs] User tutorial (#8459)
* added user tutorial and rearranged docs hierarchy

* added license header, renamed admin tutorial file

* fixed image url issue

* Fix spelling

* Tweaks to text based on feedback

* guilabel and menu test

* added guilabel and upload csv section

* tidy up of rst formatting
2019-11-08 15:45:06 -08:00
Beto Dealmeida
7e7f55386d
Remove tabs (#8508) 2019-11-05 10:55:35 -08:00
John Bodley
5dba2f4b56
[SIP-15] Adding grace period (#8490) 2019-11-04 12:00:41 -08:00
Beto Dealmeida
338a2b1a51
Allow user to customize query cost estimate (#8470)
* Allow user to customize query estimate

* Add docs; run black

* Update docs with types
2019-11-04 11:08:00 -08:00
Taeshik Hwang
51c22900db feat: add korea(South) info on CountryMap viz and bump legacy-plugin-chart-country-map to v0.11.4 (#8478) 2019-11-04 07:45:43 -08:00
francishemingway
a305b1a2c5 Change Fedora installation instructions + some small formatting changes (#8496) 2019-11-03 18:02:14 -08:00
John Bodley
554a6d82db
[sip-15] Adding database level python-date-format (#8474) 2019-10-31 07:13:41 -07:00
Christoph Lingg
06a4108a7d Enhance docs for email reporting (#8486)
* extend documentation about setting up email reporting

* mention EMAIL_REPORTS_USER
2019-10-30 22:37:13 -07:00
Will Barrett
1adf7426c2 Provide documentation for using a Service Account to connect to BigQuery (#8462)
* Provide documentation for using a Service Account to connect to BigQuery

* Alter line wrapping for shorter lines

* Whitespace commit to trigger another build (flake)

* Another meaningless whitespace change to trigger another build
2019-10-29 12:31:45 -07:00
John Bodley
8b74745f9e
[SIP-15] Adding initial framework (#8398)
* [sip-15] Adding initial framework

* [toast] Addressing etr2460's comments

* [fix] Addressing etr2460's comments
2019-10-28 14:23:12 -07:00
Daniel Vaz Gaspar
a757b43164
[db engine] Add support for Elasticsearch (#8441)
* [db engine] Add support for Elasticsearch
2019-10-28 16:04:14 +00:00