Commit Graph

879 Commits

Author SHA1 Message Date
Ville Brofeldt 5752372dd2
refactor(docs): clean up deploy of static files (#18923) 2022-02-24 14:01:26 +02:00
Ville Brofeldt 16380906d1
fix(docs): add missing static files to build (#18920) 2022-02-24 13:17:50 +02:00
Ville Brofeldt a378a1f572
docs: remove old viz plugin docs (#18914) 2022-02-24 11:54:22 +02:00
Paulo Cauca 7345795a2f
fix: Source from Apache Foundation's website link (#18894)
This PR fixes a link to latest version on Download the source from Apache Foundation's website link

from : https://dist.apache.org/repos/dist/release/superset/1.0.0/
to: https://dist.apache.org/repos/dist/release/superset/1.4.1/
2022-02-23 17:59:12 -05:00
Geido f38bcab936
Fix database list (#18886) 2022-02-23 18:56:41 +02:00
Michael Zusev 0edb97907f
docs: fix toc position scroll bug (#18868) (#18878) 2022-02-23 09:25:46 -05:00
Ville Brofeldt 700829b74a
docs: add GA conf to config (#18861)
* docs: add GA conf to config

* add license and bump docusaurus
2022-02-23 10:33:12 +02:00
Niko Rebenich a29153778e
Update configuring-superset.mdx (#18819)
Fixes typo dateime -> datetime
2022-02-21 07:52:35 +02:00
Srini Kadamati e3129e8999
docs: add_db_logos (#18818)
* docs: added yugabytedb and teradata logos in all the right places

* docs: added yugabytedb and teradata logos in all the right places
2022-02-18 20:49:12 -05:00
Jacob Roope e7ff4a58e6
docs: Added reference and link to configure instructions for docker-compose… (#18815)
Co-authored-by: Jacob Roope <[jacobcroope@gmail.com]>
2022-02-18 11:59:04 -08:00
Xiang Fu 642e80cc64
Update pinot docs with fixed pinot connection (#18800) 2022-02-18 14:04:42 +08:00
dependabot[bot] d3d778134c
chore(deps): bump url-parse from 1.5.3 to 1.5.7 in /docs (#18804)
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.3 to 1.5.7.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.3...1.5.7)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-17 22:47:41 -07:00
dependabot[bot] 70054b0277
chore(deps): bump shelljs from 0.8.4 to 0.8.5 in /docs (#18759)
Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5.
- [Release notes](https://github.com/shelljs/shelljs/releases)
- [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/shelljs/shelljs/compare/v0.8.4...v0.8.5)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-16 20:27:49 -07:00
dependabot[bot] 4c7d220cb4
chore(deps): bump follow-redirects from 1.14.5 to 1.14.8 in /docs (#18760)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.5 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.5...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-16 20:27:37 -07:00
dependabot[bot] e492674233
chore(deps): bump nanoid from 3.1.30 to 3.3.1 in /docs (#18763)
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.30 to 3.3.1.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.30...3.3.1)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-16 20:27:29 -07:00
Ville Brofeldt 168899b9af
docs: add docs for viz plugin development (#18709) 2022-02-14 10:03:26 +02:00
wiktor2200 33d1c96764
feat(Helm): Redis with password supported in helm charts and redis chart version updated (#18642)
* fix import_datasources documentation

* Redis with password supported in helm chart

* fix conditionals format and redisURL
2022-02-10 09:45:30 -08:00
Geido 9ca55a7c83
chore: Update Docusaurus links (#18581)
* Fix links

* Fix internal link refs

* Add contribution page redirect
2022-02-10 17:55:58 +02:00
Srini Kadamati 1720fa68fa
docs: fixed URL for contributing landing page (#18600) 2022-02-07 11:39:42 -05:00
Hugh A. Miles II aa648ed13f
Update docusaurus.config.js (#18577) 2022-02-03 12:17:37 -08:00
Geido f7f1df2d06
Remove roadmap (#18568) 2022-02-03 10:17:37 -05:00
Ville Brofeldt 34335ed676
docs(i18n): make translation guide more explicit (#18254) 2022-02-03 12:10:48 +02:00
Hugh A. Miles II 9c3205b573
feat: 🚀 Docs V2 CI Script (#18560)
* switch to v2

* promote docv2

* remove on triggers
2022-02-02 13:02:51 -08:00
Dave McNulla 8c376548e3
fix(teradata): LIMIT syntax (#18240)
Co-authored-by: Mccush, Jack <jack.mccush@teradata.com>
Co-authored-by: Jack McCush <33156805+mccushjack@users.noreply.github.com>
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
Co-authored-by: David McNulla <david.mcnulla@teradata.com>
2022-01-31 19:15:42 -08:00
Ville Brofeldt 0a91a6880a
feat(docker-compose): add TAG option (#18214) 2022-01-28 15:00:15 +02:00
Anca Sarb b2bfb92cc4
docs(docker compose installation) : add pull command to avoid errors when installing superset using docker compose. fixes #17712 (#18196)
Co-authored-by: asarb <asarb@expediagroup.com>
2022-01-28 12:52:16 +02:00
Farid Rener 350da92f98
Docs: fix typo (#18125) 2022-01-24 09:19:37 -08:00
Adam Dobrawy 5ce79ff856
fix(docs): fix path of image for "Create New Chart" (#18089) 2022-01-20 15:33:12 +01:00
Adam Dobrawy f53a267ffb
Correction of proper names format in README (#18087) 2022-01-19 09:20:40 -05:00
Ville Brofeldt 5bfe2d47b0
fix(generator): add lockfile and fix styling issues (#18073)
* fix(generator): add lockfile and fix styling issues

* fix margins and remove redundant scroll

* update tutorial
2022-01-18 12:37:09 +02:00
Ville Brofeldt 8dea7f500b
fix(generator): more cleanup to plugin framework (#18027)
* fix(generator): more cleanup to plugin framework

* fix typo and package name

* add docs

* fix typo

* Update superset-frontend/webpack.config.js

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

* fix generator reference

* add steps to tutorial and fix package version

* refine docs/readme

Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
2022-01-17 10:23:35 +02:00
Đặng Minh Dũng 0b67fe1beb
feat: Trino Authentications (#17593)
* feat: support Trino Authentications

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

* docs: Trino Authentications

Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
2022-01-14 21:02:47 -08:00
Daniel Vaz Gaspar 412189fcb7
fix: Change default SECRET_KEY, improve docs and banner warning (#17984)
* fix: Change default SECRET_KEY, improve docs and banner warning on default

* lint

* Update superset/initialization/__init__.py

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

* add a secret migration procedure, update UPDATING

* fix lint

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2022-01-11 15:13:04 +00:00
Daniel Vaz Gaspar 44df04f15d
chore: use new FAB functionality for component schemas update OAS (#17967)
* chore: use new FAB functionality for component schemas and update OpenAPI spec

* remove unused import

* fix spec and lint

* EOF fix

* update open api spec with latest master
2022-01-11 09:30:00 +00:00
Moriah Kreeger 7329e3c847
docs(contributing): update contributing section on docs page to match CONTRIBUTING.md (#17718)
* add contributing section with CONTRIBUTING.MD sections to docs page

* rm extraneous links

* add chart param reference, update section titles

* useful links

* test openapi

* revert test code

* bump swagger-react-ui version

* update package lock

* fix lock
2022-01-10 11:36:35 -05:00
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
Christoph Lingg 1d5718a1a8 introduce a space in command line option (#8438)
see https://docs.celeryproject.org/en/latest/userguide/optimizing.html
2019-10-24 16:00:33 -07:00
Christoph Lingg a39c24ef6a explain the need to enable async queries (#8444) 2019-10-24 09:52:16 -07:00
Austin Pray 19d2ea2c8c spelling fix (#8442) 2019-10-24 19:32:51 +03:00
francishemingway 1e533db3a2 fixed typo in installation instructions (#8413) 2019-10-20 21:21:40 -07:00
Daniel Vaz Gaspar c62b2f4340
[docs] CTAS on PostgreSQL needs commit to apply (#8367)
* [docs] New, document need for PG to use autocommit for CTAS
2019-10-17 14:54:02 +01:00
Rob DiCiuccio c422b492eb Update Slack invitation link (#8399)
* Update Slack invitation link

* Update remaining Slack links
2019-10-16 08:33:43 -07:00
kevang 783667168b Add support for Exasol (#8343)
* Add support for Exasol

* add time grain functions for Exasol

* remove duplicate of

* override ExasolEngineSpec's fetch_data method

* remove duplicate https

* simplify super call
2019-10-06 14:43:45 +03:00
Ville Brofeldt 52a84d2581
Add explicit support for python 3.7 (#8309) 2019-09-27 17:54:45 +03:00
Maxime Beauchemin 115bc83b28
docs: reflect the pypi move from superset to apache-superset (#8244) 2019-09-18 14:55:20 -07:00
Beto Dealmeida 8847e10529
Allow users to estimate query cost before executing it (#8172)
* WIP

* Basic functionality working

* Enable per DB

* Show error message

* Small improvements

* Fix lint

* Address comments

* Address comments

* Remove logging, fix exception

* Fix tests

* Bump FAB requirements
2019-09-17 09:09:40 -07:00
Maxime Beauchemin 9d4b955cc7
chore: deprecate restricted metrics (#8197)
* chore: deprecate restricted metrics

An early community contribution added the concept of restricted metrics.

The idea was to allow for some metrics to be restricted, and if a metric
was tagged as such, a user would need to be given access to that metric
more explicitely, through a special perm we would maintain for that
metric.

Now since the new concept of "Adhoc Metrics", the popover that lets a
user pick a column and an aggregate function or to write their own SQL
expression inline, this restriction is completely bypassed. Adhoc
metrics was developed without the restricted metrics in mind.

Anyhow, in the near future, we'll be rethinking the ideas behind
data-access permissions, and things like column-level or row-level
security will be redesigned from scratch.

By deprecating this feature, we're removing a confusing and mostly broken
feature, and making it easy to move forward

* Use context manager to drop columns

* disable jest's maxWorkers
2019-09-09 17:20:32 -07:00
Rob DiCiuccio 7595d9e5fd [SQL Lab] Async query results serialization with MessagePack and PyArrow (#8069)
* Add support for msgpack results_backend serialization

* Serialize DataFrame with PyArrow rather than JSON

* Adjust dependencies, de-lint

* Add tests for (de)serialization methods

* Add MessagePack config info to Installation docs

* Enable msgpack/arrow serialization by default

* [Fix] Prevent msgpack serialization on synchronous queries

* Add type annotations
2019-08-27 14:23:40 -07:00
Marcus b1269c31f7 removed database deps from reqs-dev.txt and typo. (#8111)
* removed database deps from reqs-dev.txt and typo.

* Revert requirements-dev.txt to limit scope
2019-08-26 16:13:58 -07:00
Beto Dealmeida 478d0969a8
Add feature flag for Presto expand data (#8056)
* Add feature flag for Presto expand data

* Fix unit tests

* Fix black

* Revert temporary file change
2019-08-15 20:10:05 -07:00
Dave Smith 9233a63a16 Event logger config takes instance instead of class (#7997)
* allow preconfigured event logger instance; deprecate specifying class

* add func docs and simplify conditions

* modify docs to reflect EVENT_LOGGER cfg change

* commit black formatting fixes and license header

* add type checking, fix other pre-commit failues

* remove superfluous/wordy condition

* fix flake8 failure

* fix new black failure

* dedent warning msg; use f-strings
2019-08-08 13:47:18 -07:00
Matthew Mutiso cbfd1302c0 Update to fix the broken blueprints link (#7949)
* Updated to fix the broken blueprints link

The current link is http://flask.pocoo.org/docs/0.12/blueprints/ which redirects to a non-existent page. The new link is https://flask.palletsprojects.com/en/1.1.x/tutorial/views/.

* Link to the current Flask version(1.0.x)
2019-08-07 14:31:22 -07:00
Erik Ritter cd6de3a1d8 [Jinja] Make Presto template functions backwards compatible (#7993) 2019-08-07 09:35:16 -07:00
Erik Ritter d58dbad076 [DB Engine] Support old and new Presto syntax (#7977) 2019-08-05 11:56:56 -07:00
Grace Guo 06d547fbac
[feature flag] Enforce csrf protection on explore_json endpoint (#7935)
also added a section for featured flags in http://superset.incubator.apache.org/installation.html
2019-07-29 16:22:47 -07:00
Ville Brofeldt 4568b2a532 Add cache_key_wrapper to Jinja template processor (#7816) 2019-07-20 09:12:35 -07:00
Rob DiCiuccio df051813d5 Adds the ability to replace/extend caching backend (#7856)
* Add ability to override cache backend with custom module

* Tests for setup_cache

* Add custom CACHE_CONFIG documentation

* Fix linter errors and documentation link

* Fix black formatting errors
2019-07-12 14:06:56 -07:00
Daniel Vaz Gaspar 1ab04190cd [log] New, make action log configurable and generic (#7705)
* [log] New, make action log configurable and generic

* [log] Fix, missing apache license

* [log] Fix, user_id is a required parameter on event logs

* [log] Fix, Rename Action to Event

* [log] Fix, flake8

* [logger] Change all log_this decorators to new abstract one

* [logger] [docs] Simple docs to show how to override the event log

* [style] Fix, single quote to double quote

* [style] Fix, single quote to double quote
2019-07-08 09:38:12 -07:00
Ville Brofeldt 0125ba40ef
Improve documentation (#7813)
* Improve documentation and add type annotations for jinja context

* Fix linting errors

* Move requirements to correct place and remove redundant line change

* Make example query more ANSI SQL
2019-07-03 19:54:03 +03:00
John Bodley 541db94133
Update index.rst (#7672) 2019-06-11 09:46:27 -07:00
Thoralf Gutierrez f3e5805b92 Remove duplicate paragraph in celery tasks documentation (#7392) 2019-06-08 09:20:49 -07:00
Charles S. Givre fc3b043462 Add support for Apache Drill (#6610)
* Add support for Apache Drill

* Updated Docs

* Removed Extraneous Functions

* Removed Extraneous Functions

* Final Mods

* Fixed Unit Test Error

* Fixed Epoch Conversion Functions
2019-05-28 21:16:09 -07:00
Beto Dealmeida 265e117a4a
Add link to scheduled pipeline (#7584)
* Add link to scheduled pipeline

* Split utils into separate file

* Fix unit test

* Fix separator recursion
2019-05-23 11:22:15 -07:00
Russell Jurney 023faf3b56 Rjurney master docs update (#7426)
* resolved conflict

* Docs updated re: Anaconda/certifi issue re #7373

* Removed --console-log "not working" note

* A note about Anaconda virtualenvs

* Make anaconda comment fit on page

* Added README to docker directory

* Added install doc reference to master copy of contrib/docker/README.md

* merged master, removed mysqlclient

* Removed mysql dependency, Anaconda and --console-log references

* Add cypress install command to cypress test instructions

* Fixed cypress instructions re: port 8081

* Removed anaconda reference, runserver references

* Remove anaconda reference

* Added back a self-contained version of mysqlclient to dev requirements

* Added ASF license to docker README.md
2019-05-20 17:06:08 -07:00
Beto Dealmeida f0f719cb8d
Validate start/end when scheduling queries (#7544)
* Validate start/end when scheduling queries

* Use chrono instead of Sugar
2019-05-17 17:30:13 -07:00
Alex Berghage 24970485cf feat: Add `validate_sql_json` endpoint for checking that a given sql query is valid for the chosen database (#7422) (#7462)
merge from lyft-release-sp8 to master
2019-05-06 10:21:02 -07:00
Dave Smith 5cf454b464 feat: Scheduling queries from SQL Lab (#7416) (#7446)
* Merge lastest from master into lyft-release-sp8 (#7405)

* filter out all nan series (#7313)

* improve not rich tooltip (#7345)

* Create issue_label_bot.yaml (#7341)

* fix: do not save colors without a color scheme (#7347)

* [wtforms] Strip leading/trailing whitespace (#7084)

* [schema] Updating the datasources schema (#5451)

* limit tables/views returned if schema is not provided (#7358)

* limit tables/views returned if schema is not provided

* fix typo

* improve code performance

* handle the case when table name or view name does not present a schema

* Add type anno (#7342)

* Updated local dev instructions to include missing step

* First pass at type annotations

* [schema] Updating the base column schema (#5452)

* Update 937d04c16b64_update_datasources.py (#7361)

* Feature flag for client cache (#7348)

* Feature flag for client cache

* Fix integration test

* Revert "Fix integration test"

This reverts commit 58434ab98a.

* Feature flag for client cache

* Fix integration tests

* Add feature flag to config.py

* Add another feature check

* Fix more integration tests

* Fix raw HTML in SliceAdder (#7338)

* remove backendSync.json (#7331)

* [bubbles] issue when using duplicated metrics (#7087)

* SUPERSET-7: Docker compose config version breaks on Ubuntu 16.04 (#7359)

* SUPERSET-8: Update text in docs copyright footer (#7360)

* SUPERSET-7: Docker compose config version breaks on Ubuntu 16.04

* SUPERSET-8: Extra text in docs copyright footer

* [schema] Adding commits and removing unnecessary foreign-key definitions (#7371)

*  Store last selected dashboard in sessionStorage (#7181)

* Store last selected dashboard in sessionStorage

* Fix tests

* [schema] Updating the base metric schema (#5453)

* Fix NoneType bug & fill the test recipients with original recipients if empty (#7365)

* feat: see Presto row and array data types (#7391)

* feat: see Presto row and array data types

* fix: address PR comments

* fix: lint and build issues

* fix: add types

* Incorporate feedback from initial PR (prematurely merged to lyft-release-sp8) (#7415)

* add stronger type hints where possible

* fix: lint issues and add select_star func in Hive

* add missing pkg init

* fix: build issues

* fix: pylint issues

* fix: use logging instead of print

* feat: view presto row objects in data grid

* fix: address feedback

* fix: spacing

* Workaround for no results returned (#7442)

* feat: view presto row objects in data grid (#7436)

* feat: view presto row objects in data grid

* fix: address feedback

* fix: spacing

* feat: Scheduling queries from SQL Lab (#7416)

* Lightweight pipelines POC

* Add docs

* Minor fixes

* Remove Lyft URL

* Use enum

* Minor fix

* Fix unit tests

* Mark props as required
2019-05-03 16:45:19 -07:00
Daniel Vaz Gaspar 06c4610e8e Bump FAB to 2.0.0 (#7323)
* Bump FAB to 2.0.0

* [tests] whitelist SecurityApi login and refresh endpoints

* [style] Fix, C812 missing trailing commas

* [security] Remove SUPERSET_UPDATE_PERMS flag

Registering sources needs to be performed after the views are
initialized on UPDATE_PERMS=False configuration

* [docs] New, FAB_UPDATE_PERMS and flask fab cli

* [docs] Fix, db upgrade needs to come first, create-admin needs a db

* [cli] New, superset init bootstraps all permissions for FAB and Superset

* [style] Fix, flakes
2019-04-30 09:01:18 -07:00
Andrew Musselman 7bc8355b75 SUPERSET-8: Update text in docs copyright footer (#7360)
* SUPERSET-7: Docker compose config version breaks on Ubuntu 16.04

* SUPERSET-8: Extra text in docs copyright footer
2019-04-24 12:31:47 -07:00
Beto Dealmeida 4ab89dbcf7 Celery task for warming up cache (#7148)
* Sparkline dates aren't formatting in Time Series Table (#6976)

* Exclude venv for python linter to ignore

* Fix NaN error

* Fix the white background shown in SQL editor on drag (#7021)

This PR sets the background-color css property on `.ace_scroller` instead of `.ace_content` to prevent the white background shown during resizing of the SQL editor before drag ends.

* Show tooltip with time frame (#6979)

* Fix time filter control (#6978)

* Enhancement of query context and object. (#6962)

* added more functionalities for query context and object.

* fixed cache logic

* added default value for groupby

* updated comments and removed print

(cherry picked from commit d5b9795f87)

* [fix] /superset/slice/id url is too long (#6989)


(cherry picked from commit 6a4d507ab6)

* [WIP] fix user specified JSON metadata not updating dashboard on refresh (#7027)


(cherry picked from commit cc58f0e661)

* feat: add ability to change font size in big number (#7003)

* Add ability to change font sizes in Big Number

* rename big number to header

* Add comment to clarify font size values

* Allow LIMIT to be specified in parameters (#7052)

* [fix] Cursor jumping when editing chart and dashboard titles (#7038)


(cherry picked from commit fc1770f7b7)

* Changing time table viz to pass formatTime a date (#7020)

(cherry picked from commit 7f3c145b1f)

* [db-engine-spec] Aligning Hive/Presto partition logic (#7007)


(cherry picked from commit 05be866117)

* [fix] explore chart from dashboard missed slice title (#7046)


(cherry picked from commit a6d48d4052)

* fix inaccurate data calculation with adata rolling and contribution (#7035)


(cherry picked from commit 0782e831cd)

* Adding warning message for sqllab save query (#7028)


(cherry picked from commit ead3d48133)

* [datasource] Ensuring consistent behavior of datasource editing/saving. (#7037)

* Update datasource.py

* Update datasource.py

(cherry picked from commit c771625f10)

* [csv-upload] Fixing message encoding (#6971)


(cherry picked from commit 48431ab5b9)

* [sql-parse] Fixing LIMIT exceptions (#6963)


(cherry picked from commit 3e076cb60b)

* Adding custom control overrides (#6956)

* Adding extraOverrides to line chart

* Updating extraOverrides to fit with more cases

* Moving extraOverrides to index.js

* Removing webpack-merge in package.json

* Fixing metrics control clearing metric

(cherry picked from commit e6194051f4)

* [sqlparse] Fixing table name extraction for ill-defined query (#7029)


(cherry picked from commit 07c340cf82)

* [missing values] Removing replacing missing values (#4905)


(cherry picked from commit 61add606ca)

* [SQL Lab] Improved query and results tabs rendering reliability (#7082)

closes #7080

(cherry picked from commit 9b58e9f492)

* Fix filter_box migration PR #6523 (#7066)

* Fix filter_box migration PR #6523

* Fix druid-related bug

(cherry picked from commit b210742ad2)

* SQL editor layout makeover (#7102)

This PR includes the following layout and css tweaks:
- Using flex to layout the north and south sub panes of query pane so resizing works properly in both Chrome and Firefox
- Removal of necessary wrapper divs and tweaking of css in sql lab so we can scroll to the bottom of both the table list and the results pane
- Make sql lab's content not overflow vertically and layout the query result area to eliminate double scroll bars
- css tweaks on the basic.html page so the loading animation appears in the center of the page across the board

(cherry picked from commit 71f1bbd2ec)

* [forms] Fix handling of NULLs

(cherry picked from commit e83a07d3df)

* handle null column_name in sqla and druid models

(cherry picked from commit 2ff721ae07)

* Use metric name instead of metric in filter box (#7106)


(cherry picked from commit 003364e74e)

* Bump python lib croniter to an existing version (#7132)

Package maintainers should really never delete packages, but it appears
this happened with croniter and resulted in breaking our builds.

This PR bumps to a more recent existing version of the library

(cherry picked from commit 215ed392a1)

* Revert PR #6933 (#7162)

* Celery worker for warming up cache

* Remove testing changes

* Add documentation

* Fix lint

* WIP dashboard filters

* Use new cache so it works with dashboards

* Add more unit tests, fix old ones

* Fix flake8 and docs

* Sparkline dates aren't formatting in Time Series Table (#6976)

* Exclude venv for python linter to ignore

* Fix NaN error

* Changing time table viz to pass formatTime a date (#7020)

(cherry picked from commit 7f3c145b1f)

* SQL editor layout makeover (#7102)

This PR includes the following layout and css tweaks:
- Using flex to layout the north and south sub panes of query pane so resizing works properly in both Chrome and Firefox
- Removal of necessary wrapper divs and tweaking of css in sql lab so we can scroll to the bottom of both the table list and the results pane
- Make sql lab's content not overflow vertically and layout the query result area to eliminate double scroll bars
- css tweaks on the basic.html page so the loading animation appears in the center of the page across the board

(cherry picked from commit 71f1bbd2ec)

* Celery worker for warming up cache

* Remove testing changes

* Add documentation

* Fix lint

* WIP dashboard filters

* Use new cache so it works with dashboards

* Add more unit tests, fix old ones

* Fix flake8 and docs

* Fix bad merge and pylint
2019-04-03 16:57:59 -07:00
Ville Brofeldt 23e823f0c1 Bump SQLAlchemy to 1.3 (#7099)
* Bump sqla to >=1.3.1

* Refine mssql column types to only use N-prefixing when necessary

* make join explicit

* replace set with list

* Add additional test case for N-prefix

* Replace engine with dialect and fix linting error

* Remove unneeded import
2019-03-24 20:44:05 -07:00
Maxime Beauchemin c7ffdd643f docs: fix RST issues while building docs (#7012) 2019-03-18 18:11:53 -07:00
Boris Hajduk 5137539a86 [fix] Use HTTPS, not HTTP wherever practical (#7040)
* Download RAT binary via HTTPS, not HTTP

* Merge branch 'patch-1' of github.com:hajdbo/incubator-superset into patch-1
2019-03-17 23:21:32 -07:00
Marcus 83b5dcc8c2 fixing a broken link for the ORM documentation (#7005) 2019-03-11 22:41:16 -07:00
Maxime Beauchemin c1ba914a41 docs: warn that docker installation instructions are `contrib/` (#6925)
* [docs] warn that docker installation instructions are `contrib/`

* Words
2019-03-06 08:33:11 -08:00
agrawaldevesh 2132522fbb Update docs for pinot support (#6865) 2019-02-14 10:56:36 -08:00
Ville Brofeldt c44ae612df Improve Unicode support for MSSQL (#6690)
* Implement unicode where cluases for mssql queries

* Add comment about unicode support on sqla 1.3+
2019-01-28 22:56:46 -08:00
Maxime Beauchemin 7c02587924
[docs] improve upgrading instructions (#6766) 2019-01-28 22:14:02 -08:00
Maxime Beauchemin a62a8d3d98
[docs] bump cryptography lib version in docs (#6755) 2019-01-25 14:26:08 -08:00
bolkedebruin 1fece0d2fa Add licenses to translations (#6732)
* Add licenses

* More licenses

* Ignore messages.json as they are generated

* More licenses

* Also typescript

* Fix alignment

* Add to svg

* Many more licenses

* more licenses

* Better excludes

* Add licenses to docs and md files

* Pre-finalize licenses

* Fix newlines

* Finalize all sourde licenses

* Fix lint
2019-01-22 08:21:13 -08:00
Maxime Beauchemin 75322ab12c
More ASF licenses (css + html/jinja) (#6711)
* More ASF licenses

* html

* removing from vendors
2019-01-17 22:39:00 -08:00
Maxime Beauchemin e03e276571
Bump some of the requirements-dev.txt (#6700)
* Bump some of the requirements-dev.txt

* addressing comments
2019-01-16 20:40:16 -08:00
Maxime Beauchemin 1dd4d7a587
Apply ASF licenses throughout the code base (#5800)
* Add license headers

* reabased

* lint

* Removing licenses from vendors folder
2019-01-15 15:53:27 -08:00
Tao Feng fafa6b4dda Minor doc fix for superset (#6662) 2019-01-11 09:50:31 -08:00
Ville Brofeldt c4884e3c2e Remove note about snowflake-sqlalchemy stable version regression (#6398) 2018-12-17 21:20:00 -08:00
Kengo Seki d203886e47 Fix malformed table in docs/visualization.rst (#6409) 2018-12-11 16:49:17 -08:00
Mahendra M 808622414c [SIP-3] Scheduled email reports for Slices / Dashboards (#5294)
* [scheduled reports] Add support for scheduled reports

* Scheduled email reports for slice and dashboard visualization
  (attachment or inline)
* Scheduled email reports for slice data (CSV attachment on inline table)
* Each schedule has a list of recipients (all of them can receive a single mail,
  or separate mails)
* All outgoing mails can have a mandatory bcc - for audit purposes.
* Each dashboard/slice can have multiple schedules.

In addition, this PR also makes a few minor improvements to the celery
infrastructure.
* Create a common celery app
* Added more celery annotations for the tasks
* Introduced celery beat
* Update docs about concurrency / pools

* [scheduled reports] - Debug mode for scheduled emails

* [scheduled reports] - Ability to send test mails

* [scheduled reports] - Test email functionality - minor improvements

* [scheduled reports] - Rebase with master. Minor fixes

* [scheduled reports] - Add warning messages

* [scheduled reports] - flake8

* [scheduled reports] - fix rebase

* [scheduled reports] - fix rebase

* [scheduled reports] - fix flake8

* [scheduled reports] Rebase in prep for merge

* Fixed alembic tree after rebase
* Updated requirements to latest version of packages (and tested)
* Removed py2 stuff

* [scheduled reports] - fix flake8

* [scheduled reports] - address review comments

* [scheduled reports] - rebase with master
2018-12-10 22:29:29 -08:00
Marek Šuppa 002518ba49 Update sqllab.rst (#6469)
* Set correct link to the Celery Project
2018-12-01 09:34:49 -08:00
Grace Guo 8e14e0bd67
allow domain sharding in frontend (#5039) 2018-11-30 10:30:04 -08:00
Victor Noël 02aa3c6395 Improve development experience with Docker (#5966)
- Improve Docker image
  - smaller
  - faster to build
  - deterministict dependencies (see #5958)
- Rework process to simplify setting things up
  - updated documentation
  - less commands to type
  - no files to move and modify
  - optional loading of samples
- Still working in standalone mode (without volumes for superset)
2018-11-27 11:19:55 -08:00
pavitranrambo 2b2c650040 Grammatical Error (#6439) 2018-11-26 23:22:05 -08:00
Kengo Seki e66b0469b4 Add Japan country map (#6368)
* Add Japan country map

* Fix obsolete paths in the document about adding new country map
2018-11-14 18:46:57 -08:00
Kengo Seki a5b528c688 Update the installation document based on Python 3.6+ (#6370)
* Update the description based on Ubuntu 16.04 with 18.04,
  since Python version bundled with the former is 3.5,
  which is not already supported

* Remove obsolete descriptions based on Python <= 3.5
2018-11-14 18:14:11 -08:00
Rakshit Kumar 9710369d52 Fixed grammatical errors. (#6246)
* Fixed grammatical errors.

* Update druid.rst
2018-10-31 13:32:25 -07:00
Rakshit Kumar bfec5916ed Fixed grammatical errors. (#6245) 2018-10-31 13:31:48 -07:00
Rakshit Kumar 6d0069230c Fixed grammatical errors (#6247) 2018-10-31 13:31:35 -07:00
Rakshit Kumar bc8c8a2168 Fixed typos and grammatical errors (#6248) 2018-10-31 13:31:11 -07:00
Rakshit Kumar db93dca947 fixed grammatical errors and typos (#6249) 2018-10-31 13:30:15 -07:00
Rakshit Kumar 0a701d6115 Corrected name of an area and fixed major grammatical errors (#6250) 2018-10-31 13:29:36 -07:00
Maxime Beauchemin 81fc3dfbee [build] fix pip install issues on OSX High Sierra (#6201)
* [build] fix pip install issues on OSX High Sierra

I think requirements.txt was out-of-sync as well.

Also had to:
export
  LDFLAGS="-L/usr/local/opt/openssl/lib"
export
  CPPFLAGS="-I/usr/local/opt/openssl/include"
export
  PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig"

* Fix click
2018-10-29 10:33:51 -07:00
Max Goodridge 9580103c22 Fix typo in load-examples command (#6193) 2018-10-25 20:47:43 -07:00
timifasubaa 46c86672c8 remove utf8 declaration (#6096) 2018-10-15 11:53:24 -07:00
Maxime Beauchemin 160e47720c
Deprecate support for Python < 3.6 (#5985)
* Deprecate support for Python < 3.6

This is a first step, beyond this we can:
* remove all from future imports
* remove 'six' lib as a dependency
* start using f-strings
* enjoy ourselves

* fix tox

* Rebasing

* fix
2018-10-05 13:44:45 -04:00
Maxime Beauchemin 896c2608aa
[docs] iterating to get to ASF compliance on project site (#5923)
* [docs] iterating to get to ASF compliance on project site

https://whimsy.apache.org/pods/project/superset is a place to check on
whether we match the ASF's requirements

* Minor adjustments
2018-09-20 13:51:06 -07:00
Alek Storm 549328f8f0 Clean up CONTRIBUTING.md: (#5911)
- Reorganize sections for better navigability
- Add table of contents
- Rework frontend assets section for clarity and DRY
- Rework translating section for clarity, add "Add Translations" contribution type
- Move release docs only useful for maintainers to RELEASING.md
- Other miscellaneous improvements
2018-09-19 10:01:51 -07:00
Manuel Silva 041fe52028 Adds a new macro to allow getting filter values easily (#5547)
* Adds new macro to get filter values from "filters" and "extra_filters"

Adds test for filter_values macro

Adds doco for filter_values

Changes filter_values return type to be a list rather than string

* Makes return value type consistent
- filter_values always return a list
2018-09-17 09:36:47 -07:00
livinm 057c749471 Addded documentation for Teradata DB (#5885)
Documentation extension for PR5870
2018-09-13 08:01:37 -07:00
Maxime Beauchemin 517fea33b6
[docs] suggest using python3.6 in installation docs (#5834) 2018-09-10 08:48:03 -07:00
Maxime Beauchemin 98d9fb1e7e
Adding 'Resources' section to the docs (#5823)
* Adding 'Resources' section to the docs

* Join slack entry
2018-09-05 22:30:56 -07:00
Ville Brofeldt 77fe9ef130 Force quoted column aliases for Oracle-like databases (#5686)
* Replace dataframe label override logic with table column override

* Add mutation to any_date_col

* Linting

* Add mutation to oracle and redshift

* Fine tune how and which labels are mutated

* Implement alias quoting logic for oracle-like databases

* Fix and align column and metric sqla_col methods

* Clean up typos and redundant logic

* Move new attribute to old location

* Linting

* Replace old sqla_col property references with function calls

* Remove redundant calls to mutate_column_label

* Move duplicated logic to common function

* Add db_engine_specs to all sqla_col calls

* Add missing mydb

* Add note about snowflake-sqlalchemy regression

* Make db_engine_spec mandatory in sqla_col

* Small refactoring and cleanup

* Remove db_engine_spec from get_from_clause call

* Make db_engine_spec mandatory in adhoc_metric_to_sa

* Remove redundant mutate_expression_label call

* Add missing db_engine_specs to adhoc_metric_to_sa

* Rename arg label_name to label in get_column_label()

* Rename label function and add docstring

* Remove redundant db_engine_spec args

* Rename col_label to label

* Remove get_column_name wrapper and make direct calls to db_engine_spec

* Remove unneeded db_engine_specs

* Rename sa_ vars to sqla_
2018-09-03 22:49:58 -07:00
Maxime Beauchemin 13e48e8c8e typo-delipo 2018-08-27 21:28:04 -07:00
Maxime Beauchemin bddc9522e8 [docs] FAQ entry 'Does Superset work with [database engine]?' 2018-08-25 16:18:19 -07:00
Beto Dealmeida cae070467b Fix FAQ on filters (#5720) 2018-08-24 21:54:16 -07:00
Jillian Rowe a39dfb9ff9 Add additional heatmap schemas (#5549)
* got skeleton started

* added d3-scale-chromatic to package.json

* got hex values instead of calling from a function

* got rid of d3-scale-chromatic - no longer needed

* added schemas to controls

* damn editor broken some line spacing

* commit

* fix style issues

* whyyyyy won't this build

* whyyyyy won't this build

* damn typo

* hahaha got editor to deal with style configs

* no i guess i didn't

* gotta get them all

* again

* trying to get docker build ot work

* updated installation docs with some osx instructions

* restoring yarn.lock not sure why it changed

* trying to fix indent

* trying again

* CODE STYLE CHANGES WORK

* removing some colors that are too close to white

* human readable labels for names

* human readable labels for names
2018-08-13 23:37:17 -07:00
Octavian 39ff9deb57 update python3 version for testing to 3.6 (#5562)
* update python version for testing to 3.6

* CONTRIBUTING.md states pull requests should work on py27, py36+

* CONTRIBUTING.md states pull requests should work on py27 and py36
2018-08-07 13:22:19 -07:00
Yoon 3df82d9da6 Modify Athena connection description (#5492) 2018-07-25 23:12:14 -07:00
Ville Brofeldt 670b145b1e Add Snowflake connection string instructions (#5443) 2018-07-20 15:19:18 -07:00
Zachary Friedman 976e815a6e RST formatting fix for Installation docs (#5346) 2018-07-04 17:03:41 -04:00
Zachary Friedman 6f4a2e3505 Fix typo in Start with Docker (#5348) 2018-07-04 17:02:03 -04:00
Ricardo Peironcely a84f4304de Describe the use of custom OAuth2 authorization servers (#5220)
As Superset extends flask SecurityManager with its own implementation, it's not obvious how to connect Superset with OAuth2 authorization servers that are not covered under flask.
2018-06-19 08:48:48 -07:00
Xiao Hanyu 0a276ff75d Init docker for local development environment. (#4193)
This commit will try to dockerize superset in local development
environment.

The basic design is:
- Enable superset, redis and postgres service instead of using sqlite,
  just want to simulate production environment settings
- Use environment variables to config various app settings. It's easy to
  run and config superset to any environment if we use environment than
  traditional config files
- For local development environment, we just expose postgres and redis
  to local host machine thus you can connect local port via `psql` or
  `redis-cli`
- Wrap start up command in a standard `docker-entrypoint.sh`, and use
  `tail -f /dev/null` combined with manually `superset runserver -d` to
  make sure that code error didn't cause the container to fail.
- Use volumes to share code between host and container, thus you can use
  your favourite tools to modify code and your code will run in
  containerized environment
- Use volumes to persistent postgres and redis data, and also
  `node_modules` data.
  - If we don't cache `node_modules` in docker volume, then every time
    run docker build, the `node_modules` directory, will is about 500 MB
    large, will be sent to docker daemon, and make the build quite slow.
- Wrap initialization commands to a single script `docker-init.sh`

After this dockerize setup, any developers who want to contribute to
superset, just follow three easy steps:

```
git clone https://github.com/apache/incubator-superset/
cd incubator-superset
cp contrib/docker/{docker-build.sh,docker-compose.yml,docker-entrypoint.sh,docker-init.sh,Dockerfile} .
cp contrib/docker/superset_config.py superset/
bash -x docker-build.sh
docker-compose up -d
docker-compose exec superset bash
bash docker-init.sh
```
2018-06-09 21:26:41 -07:00
Ky-Anh Huynh 556ef44fac docs: Add new Athena URI scheme awsathena+rest:// (#5112)
See also some discussions on https://github.com/laughingman7743/PyAthenaJDBC/pull/62
2018-05-31 22:19:07 -07:00
Maxime Beauchemin f21ba1aba7
[docs] add entry for Hive in installation.rst (#4942) 2018-05-07 15:26:19 -07:00
Vihar Kurama a60d577b7d Update installation.rst (#4930) 2018-05-07 13:48:41 -07:00
Casper CY Chiang 976e43e681 Install superset in Kubernetes with helm chart (#4923)
* Add helm chart to install superset in kubernetes

* set resources into unlimited

* Add descriptions to Chart.yaml

* add an entry in docs/installation.rst
2018-05-03 17:35:38 -07:00
Maxime Beauchemin fa4acb1bda
Add doc entry for BigQuery support (#4917)
closes https://github.com/apache/incubator-superset/issues/945
2018-05-01 21:28:27 -07:00
Ville Brofeldt fa3da8c888 Implement Snowflake engine with supported time grains (#4882)
* Implement Snowflake engine with supported time grains

* Fix typo in second grain
2018-04-25 14:44:24 -07:00
Maxime Beauchemin 23a3365cd1
Update README with fresher screenshots (#4825)
* Improve screenshots in README.md

* Add border to images

* Add visualizations.png
2018-04-14 15:32:26 -07:00
Maxime Beauchemin 4c268ec678
[docs] many improvements to the documentation / cleanup (#4817)
* fixed RSTs so images will show up on github
* fresh screenshots on main page
* removing irrelevant portions
* moved a set of sections under 'Misc'
* rebuilt the Gallery with all screenshots
2018-04-13 10:23:27 -07:00
Riccardo Magliocchetti daf9a3bfb5 docs: use proper dialect for redshift (#4823)
Use redshift+psycopg2 instead of the postgresql one.
2018-04-13 09:13:33 -07:00
John Bodley 1627fd096b
[travis/tox] Restructuring configuration (#4552) 2018-04-10 15:59:44 -07:00
Maxime Beauchemin adda30bf66
Set longer CSRF token duration (one week) (#4741)
Default is one hour (3600), also this entry makes the setting a bit more
discoverable
http://flask-wtf.readthedocs.io/en/stable/config.html?highlight=csrf
2018-04-04 15:55:32 -07:00
John Bodley b3442a7b53
[cli] Deprecating gunicorn/flower dependencies (#4451) 2018-03-30 09:28:16 -07:00
Maxime Beauchemin 1e0bcba568
Allowing config flag to turn off flask-compress (#4617) 2018-03-15 17:17:04 -07:00
Riccardo Magliocchetti 1d27fb30ff docs: fixup code blocks rendering (#4594) 2018-03-11 11:34:58 -07:00
Hugh A. Miles II 9478291bf6 Added Example snippet for setting up Redis cache (#4434)
* Added Example snippet for setting up Redis cache

* Update installation.rst

* Update installation.rst
2018-02-15 20:27:03 -08:00
Maxime Beauchemin 6e1d169d0f
Change current thumbnails to smaller ones. (#4430)
* Change current thumbnails to smaller ones.

* More density in the VizTypesControl modal
2018-02-15 17:53:20 -08:00
Raffaele Spangaro 75a2b4f610 Update installation.rst for Ubuntu 16.04 LTS (#4321)
Ubuntu 16.04 by default install python2.7 alongside with python 3.5 and set python2.7 as default. If you have created a virtualenv with python3.5 compilation fails due to wrong python-dev library installed. 

If you install ``python3.5-dev`` the build for the wheel package of  ``cryptography`` run fine.
2018-01-31 18:03:16 -08:00
Yongjie Zhao 0367dce38b Fix tutorial doesn't match the current interface #4138 (#4215) 2018-01-16 21:18:00 -08:00
John Bodley d57012067b [FAB] configuring updating of permissions (#4172) 2018-01-08 14:39:18 -08:00
zhao yongjie 9e053923d4 Adding Apache Kylin datasource for documentation (#4148) 2018-01-03 20:24:15 -08:00
Benedict Jin 82ed4878c4 Fix rst grammar problems (#4116) 2017-12-25 23:39:28 -08:00
Maxime Beauchemin 44e753d94d
[sql lab] deeper support for templating (#3996)
* [sql lab] deeper support for templating

* Fixing py tests

* Fix typo
2017-12-19 15:55:58 -08:00
fabianmenges 72627b1761 Adding YAML Import-Export for Datasources to CLI (#3978)
* Adding import and export for databases

* Linting
2017-12-05 11:14:52 -08:00
rumbin f10395b2f7 [doc] added setting X-Forwarded-Proto to https behind reverse proxy with ssl encryption; fixes #3655 (#3976) 2017-12-03 22:00:58 -08:00
Maxime Beauchemin 84a7730f47
[docs] making it clear sqlite shouldn't be used in a cluster (#3965) 2017-11-30 22:06:16 -08:00
timifasubaa 268edcfedd Import CSV (#3643)
* add upload csv button to sources dropdown

* upload csv to non-hive datasources

* upload csv to hive datasource

* update FAQ page

* add tests

* fix linting errors and merge conflicts

* Update .travis.yml

* Update tox.ini
2017-11-27 21:07:12 -08:00
Maxime Beauchemin a82bb588f4
Allow users to specify label->color mapping (#3879)
Users can define `label_colors` in a dashboard's JSON metadata that
enforces a label to color mapping.

This also makes the function that maps labels to colors case insensitive.
2017-11-17 15:56:04 -08:00
Maxime Beauchemin 83e6807fa0
[docs] add StatsD setup instructions (#3813) 2017-11-10 17:54:56 -08:00
Prasanna Swaminathan 9500f0aae3 Fix typo in installation.rst (#3818)
`superser runserver` should be `superset runserver`
2017-11-09 20:22:45 -08:00
Stephanie Rivera 7fd9c82ae8 Update to reflect new version of cryptography (#3748)
update to 1.9

I have built and pip installed with latest cryptography.
2017-11-02 13:51:17 -07:00