Commit Graph

4560 Commits

Author SHA1 Message Date
Conglei dc42015e69 feat: bump superset ui table version (#8582) 2019-11-14 17:13:56 -08:00
Beto Dealmeida 9044f210ee
Do not autorun query on tab duplicate (#8577)
* Pass autorun argument to cloneQueryToNewTab

* Accept autorun argument

* Fix unit test
2019-11-14 17:08:03 -08:00
Beto Dealmeida 26c55bd57a
Copy template params when duplicating query (#8580) 2019-11-14 17:07:30 -08:00
Beto Dealmeida 2f77c9f33e
Math.max(...array) considered harmful (#8575)
* Do not use Math.max

* Small fix
2019-11-14 17:07:18 -08:00
Beto Dealmeida 78f41b38e1
Fix more places where feature flags are serialized (#8567) 2019-11-14 10:01:57 -08:00
Beto Dealmeida d66bc5ad90
SIP-23: Persist SQL Lab state in the backend (#8060)
* Squash all commits from VIZ-689

* Fix javascript

* Fix black

* WIP fixing javascript

* Add feature flag SQLLAB_BACKEND_PERSISTENCE

* Use feature flag

* Small fix

* Fix lint

* Fix setQueryEditorSql

* Improve unit tests

* Add unit tests for backend sync

* Rename results to description in table_schema

* Add integration tests

* Fix black

* Migrate query history

* Handle no results backend

* Small improvement

* Address comments

* Store SQL directly instead of reference to query

* Small fixes

* Fix clone tab

* Fix remove query

* Cascade delete

* Cascade deletes

* Fix tab closing

* Small fixes

* Small fix

* Fix error when deleting tab

* Catch 404 when tab is deleted

* Remove tables from state on tab close

* Add index, autoincrement and cascade

* Prevent duplicate table schemas

* Fix mapStateToProps

* Fix lint

* Fix head

* Fix javascript

* Fix mypy

* Fix isort

* Fix javascript

* Fix merge

* Fix heads

* Fix heads

* Fix displayLimit

* Recreate migration script trying to fix heads

* Fix heads
2019-11-14 09:44:57 -08:00
ʈᵃᵢ 59bc220602 bump legacy-preset-chart-nvd3 to 0.11.5 (#8558) 2019-11-13 12:18:34 -08:00
Conglei e14ca1a423 feat: switch to new table (#8560) 2019-11-13 12:18:03 -08:00
Maxime Beauchemin 2b53ace8a4
docs: remove Gitter link from README (#8549) 2019-11-13 11:19:05 -08:00
Erik Ritter 1a5c2573b7
[Dashboard Import] Log error on dashboard import failure (#8550) 2019-11-13 09:41:48 -08:00
Ville Brofeldt 90275fe991
Add convert_dttm method to SnowflakeEngineSpec (#8551) 2019-11-13 11:13:49 +02:00
John Bodley 7bfa24d0da
[fix] Re-cleanup legacy filters (#8523) 2019-11-12 12:29:00 -08:00
Beto Dealmeida a58b3920db
Encode feature flags to JSON pessimistically (#8529)
* Encode feature flags to JSON pessimistically

* Add unit test

* Remove old imports
2019-11-12 11:10:36 -08:00
Evan Rusackas 1b3e40feac Clickable checkbox labels (#8534)
* passing onClick prop to header with the existing onChange method.

* basic test checking that label click fires the onChange method.

* cleaning up stuff caught by linting.
2019-11-12 10:22:17 -08:00
Erik Ritter a867d41d2a Upgrade superset-ui/time-format (#8541) 2019-11-12 10:22:08 -08:00
Daniel Vaz Gaspar b7b655e180 [docs] 0.35.0 CHANGELOG (#8547)
* [docs] Update CHANGELOG with 0.35.0

* [docs] Fix, github md problem
2019-11-12 10:21:56 -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
Paul Vickers 62476c5901 Allow customization of documentation icon and text (#8507)
* Allow customization of documentation icon and text

* Set icon width to 100%

* Use double quotes for strings
2019-11-11 17:35:19 -08:00
ʈᵃᵢ 6bce4f9877 fab 2.2.0 (#8517) 2019-11-11 17:34:08 -08:00
John Bodley 64de9aa056
[docs] Updating slice parameter documentation. (#8535)
* Update CONTRIBUTING.md

* Update CONTRIBUTING.md
2019-11-10 11:31:11 -08:00
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