Commit Graph

4590 Commits

Author SHA1 Message Date
Daniel Vaz Gaspar
650c848243
[cli] Fix, import datasources exported by UI (#8477)
* [cli] Fix, import datasources exported by UI
2019-11-10 16:29:51 +00: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
John Bodley
c4c01d601c
[docs] Adding Slice parameter documentation (#8531)
* [CONTRIBUTING.md] Adding Slice parameter documentation

* Update CONTRIBUTING.md

* Update CONTRIBUTING.md

* Update CONTRIBUTING.md

* Update CONTRIBUTING.md
2019-11-08 14:19:22 -08:00
Ville Brofeldt
49ea232c3a
[fix] Improve csv upload functionality (#8457)
* [fix] csv upload when table metadata present

* Remove table from hive spec

* Move upload before table metadata creation

* Refine upload logic, dd unit tests and fix translations

* Use ALLOWED_EXTENSIONS from config

* Address review comments

* Fix error message grammar

* Add return type to hive csv upload and replace first with one_or_none
2019-11-07 20:03:42 +02:00
Ville Brofeldt
397e1e3d40
Replace hardcoded default colors with defaults in setupColors.js (#8510) 2019-11-07 20:01:59 +02:00
Juliette Tisseyre
ec476fc67e Default page: remove title attribute to fall back on appbuilder.app_name (#8427) 2019-11-06 13:10:39 -08:00
John Bodley
1e3d833b02
[sip-15] Fixing time range endpoints from dashboards (#8513) 2019-11-06 09:15:58 -08:00
Conglei
d78e59b75c revert tablevis (#8515) 2019-11-05 23:08:44 -08:00
Erik Ritter
571c4745f5
Make Report a bug link open in a new tab (#8509) 2019-11-05 15:30:02 -08:00
Beto Dealmeida
7e7f55386d
Remove tabs (#8508) 2019-11-05 10:55:35 -08:00
John Bodley
0e64dc84de
[SIP-15] Making sure the toast link opens in a new tab (#8503)
* [SIP-15] Ensuring toast opens in a new tab

* Update config.py
2019-11-05 07:02:18 -08:00
Daniel Vaz Gaspar
926dca3214
[docs] Small fixes on the release docs (#8500)
* [docs] Small fixes on the release docs

* [docs] Fix, remove deprecated app parameter from fab create-admin
2019-11-05 08:44:06 +00:00
Paul Vickers
e8af9459ab Update query tab's title when saving a new query (#8484)
* Update query tab's title when saving a new query

Just like it does when you opt to update an existing query

* Remove trailing whitespace
2019-11-04 23:39:33 -08:00
Will Barrett
0730261342 Fix column type on dbs.encrypted_extra, add instructions for testing migration downgrades (#8493)
* Fix column type on dbs.encrypted_extra

* Add instructions for testing migration downgrades

* Account for non-Postgres DBs in migration

* Use batch_alter_table to make SQLite happy

* Another CI-appeasing tweak
2019-11-04 23:13:21 -08:00
liuyanpunk
5617f8721d Updating pip with default timeout (#8492)
* Updating pip with default timeout

Most of the time, the pip default site is realiable but we do see timeouts pops out when network is busy or temporary unavaliable .

The default value was 15 and that's way too short. So adding --default-time and set it to 1000 should be long enough to mitigate

* Update Dockerfile
2019-11-04 23:05:39 -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
serenajiang
9a29116d6b [typing] superset/models/core.py (#8284) 2019-11-04 21:04:53 +02:00
Marcus
4c35de1d1f build: bump dompurify version because of nasty xss bypass. (#8498) 2019-11-04 10:30:46 -08:00
Paul Vickers
5df1fcb7bd Add Duplicate Tab option (#8485)
* Add `Duplicate Tab` option

Adds an option to duplicate the current tab's setting/content into a new tab. Useful if you're iterating on a query.

* Add test
2019-11-04 09:05:10 -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
fda2333cf2
[SIP-15] Updating ISO 8601 regex match to make time optional (#8494) 2019-11-01 17:44:28 -07:00
Grace Guo
acad66dad1
[datasource editor] Only one click target for edit action (#8495) 2019-11-01 17:22:38 -07:00
Conglei
d46b47a5d8 feat(TableVis): Switch to the new table plugin (#8446)
* use new table comp

* remove commented code

* update lock file

* fix lint

* bump version

* update lock file

* fix lock issue
2019-11-01 15:58:29 -07:00
John Bodley
554a6d82db
[sip-15] Adding database level python-date-format (#8474) 2019-10-31 07:13:41 -07:00
John Bodley
eb150eba1f
[sip-15] Fix time range endpoints encoding (#8481) 2019-10-31 07:11:48 -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
Marcus
a8f1589dbf fixing typo. (#8487) 2019-10-30 22:30:06 -07:00
Will Barrett
1ccfa4f11e Re-enable DRUID_IS_ACTIVE flag (#8482)
* Re-enable DRUID_IS_ACTIVE flag

* Make CI happy
2019-10-30 22:16:51 -07:00
Will Barrett
e4ca44e95f Use config[] not config.get() (#8454)
* Typo fix in CONTRIBUTING.md

* Alter references to config.get('FOO') to use preferred config['FOO']

* Set missing configuration constants in superset/config.py

* Misc. CI fixes

* Add type annotation for FEATURE_FLATGS
2019-10-30 16:19:16 -07:00
Kim Truong
3cba1bd990
feat: add expand_data parameter (#8472)
* feat: add expand_data parameter

* fix: reformat files
2019-10-30 11:45:35 -07:00
Maxime Beauchemin
18c6d17b24
docs: more release instructions (#8432) 2019-10-30 10:24:18 -07:00
John Bodley
0a3b121244
[sql] Fixing datetime SQL literal (#8464) 2019-10-29 23:24:48 -07:00
John Bodley
7afda6e4f5
Update UPDATING.md (#8465) 2019-10-29 18:01:49 -07:00
Grace Guo
5fb0bcb854
[Datasource Editor] A few small UI changes in modal to prevent accidental edits (#8471) 2019-10-29 15:26:11 -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
John Bodley
f7f0be502d
[SIP-15] Making client time use UTC as the local time (#8450)
* [fix] Making client time UTC

* Update UPDATING.md
2019-10-28 13:05:01 -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
Will Barrett
148cec4690 Add UI-only database configuration method for extended authorization scenarios (#8448)
* Add encrypted_extra to dbs

* WIP - UI-based BigQuery connection configuration

* Fix 500 bubbling to the surface when adding a database connection

* Add check for valid json

* black formatting:

* isort

* Incorporate PR feedback. Thanks all!

* black

* Typo fix in CONTRIBUTING.md
2019-10-28 15:49:40 +00:00
Daniel Vaz Gaspar
c1810aab15
[docs] Crafting a new release (#8433)
* [docs] Crafting a new release
2019-10-28 10:17:10 +00:00
Alexandre Brilhante
eaeed0c93a removed repeated word (#8458) 2019-10-26 19:47:22 +03:00
Beto Dealmeida
e704e29174
Allow fetching all rows from results endpoint (#8389)
* Allow bypassing DISPLAY_MAX_ROW

* Add unit tests and docs

* Fix tests

* Fix mock

* Fix unit test

* Revert config change after test

* Change behavior

* Address comments
2019-10-25 10:22:16 -07:00
Daniel Vaz Gaspar
59889a4436
[setup] Fix, download_url (#8439)
* [setup] Fix, download_url
2019-10-25 08:59:06 +01:00
Will Barrett
82b174701f Split up tests/db_engine_test.py (#8449)
* Split up db_engine_specs_test.py into a number of targeted files

* Remove db_engine_specs_test.py

* isort
2019-10-24 20:46:45 -07: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
John Bodley
786d7706e7
[fix] Updating parse_human_timedelta typing (#8436) 2019-10-23 16:04:46 -07:00