Commit Graph

4183 Commits

Author SHA1 Message Date
Maxime Beauchemin 929fb6bbb8 Merge branch 'lyftga' 2019-04-24 21:55:12 -07:00
John Bodley f488a3281d
[schema] Updating the base metric schema (#5453) 2019-04-24 21:50:14 -07:00
leakingoxide f83b979342 Store last selected dashboard in sessionStorage (#7181)
* Store last selected dashboard in sessionStorage

* Fix tests
2019-04-24 14:43:13 -07:00
John Bodley 3a359fd892
[schema] Adding commits and removing unnecessary foreign-key definitions (#7371) 2019-04-24 12:33:33 -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
Andrew Musselman e8af852e67 SUPERSET-7: Docker compose config version breaks on Ubuntu 16.04 (#7359) 2019-04-24 11:47:07 -07:00
Maxime Beauchemin e61a8ee6bf
[bubbles] issue when using duplicated metrics (#7087) 2019-04-24 10:35:55 -07:00
Krist Wongsuphasawat 778812419b remove backendSync.json (#7331) 2019-04-24 10:35:13 -07:00
Maxime Beauchemin fef5b5efb0
Fix raw HTML in SliceAdder (#7338) 2019-04-24 10:34:24 -07:00
Beto Dealmeida cb7c8063f3
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
2019-04-23 20:03:57 -07:00
John Bodley f58e7b204e
Update 937d04c16b64_update_datasources.py (#7361) 2019-04-23 18:34:41 -07:00
John Bodley 1388452169
[schema] Updating the base column schema (#5452) 2019-04-23 18:06:21 -07:00
Craig Rueda 48b2af471c Add type anno (#7342)
* Updated local dev instructions to include missing step

* First pass at type annotations
2019-04-23 16:37:52 -07:00
Thomas Wang 4bc69c0a61 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
2019-04-23 13:51:46 -07:00
John Bodley 621cef7048
[schema] Updating the datasources schema (#5451) 2019-04-23 13:22:29 -07:00
John Bodley cf87173c21
[wtforms] Strip leading/trailing whitespace (#7084) 2019-04-23 12:04:50 -07:00
Kim Truong 5f14b559e2 fix: do not save colors without a color scheme (#7347) 2019-04-22 15:46:24 -07:00
Hamel Husain 845218dd88 Create issue_label_bot.yaml (#7341) 2019-04-22 14:11:35 -07:00
Thomas Wang 8fd7d4b670 improve not rich tooltip (#7345) 2019-04-22 11:53:08 -07:00
Maxime Beauchemin 36a219da7f
Allow Gamma and Alpha to access '/users/userinfo/' (#6936)
* Allow Gamma and Alpha to access '/users/userinfo/'

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

* Fix unit test

* Fix test
2019-04-22 11:23:54 -07:00
Maxime Beauchemin aa1d9ae303
[table] highlight selected <td>s (#7013) 2019-04-22 10:40:12 -07:00
Connor Hogendorn 0ea8291b77 fixes #6353 by changing tag on base image (#7335) 2019-04-20 13:17:52 -07:00
Maxime Beauchemin 5db20e3545
Fix #7056 'Unhashable type' in paired t-test chart (#7076) 2019-04-20 10:26:37 -07:00
Maxime Beauchemin eb9295d97f
[docs] improve the RELEASING.md docs (#7329)
* [docs] improve the RELEASING.md docs

* more tweaks
2019-04-20 10:26:01 -07:00
Thomas Wang 7192d36513 filter out all nan series (#7313) 2019-04-19 08:59:19 -07:00
Maxime Beauchemin 5f28027ce7 Merging lyftga into master 2019-04-18 22:47:47 -07:00
leakingoxide 07d9dbd963 fix: typos in translations placeholders (#7161) 2019-04-18 15:14:44 -07:00
Maxime Beauchemin 97718daea3 Fix control validation handling (#7231)
Fixes a series of unexpected things around control validation.

* when a chart opens in a state where a control is invalid, it still
  runs the query, and sometimes gets stuck in what appears to be a 'running'
  state. After this change, no query is run, and a warning is displayed
  in the chart panel body, just like any other error would
* validation used to be done in the <Control> component and alter the
  redux store as it went. Clearly this is not the right approach, now
  validation occurs on loading the initial redux state, as well as in
  the reducer when controls are changed
* currently, when going from a invalid control state to a valid one
  (user addresses what is needed), it auto-triggers a query which can be
  unexpected. After this change, the error message disappears, and the
  "Run Query" overlay gets displayed
* when changing viz type, it's common to get new validation
  errors, and currently when that occurs it will still go ahead and run
  a query with invalid inputs, which often results in errors
  that are not well handled, since much of the logic
  assumes control-validated input.
* prettier control validation messages

(cherry picked from commit a3212eba5df95bca834d8d6d98c11d522d9172f3)
2019-04-18 11:36:38 -07:00
michellethomas 51068f007e
Adding permission for can_only_access_owned_queries (#7234)
* Adding permission for can_only_access_owned_queries

* Fixing lint adding typing to variable

* Adding test for queryview and enabling /queryview/api/read

* Fixing issues with python typing
2019-04-17 16:11:11 -07:00
Kim Truong 81a1e5322b fix: propagate color mapping from dashboard to charts (#7289)
* fix: propagate color map from dashboard to chart

* fix: handle cache scenario

* fix: give default values
2019-04-17 15:36:59 -07:00
Maxime Beauchemin 38dd33e979
Remove LICENSE entry around dataset (#7318) 2019-04-17 14:12:33 -07:00
Krist Wongsuphasawat ab8f4afff7
feat: bump superset-ui versions to 0.11 (#7294)
* feat: bump superset-ui versions to 0.11

* fix: update version number again

* fix: package-lock.json

* test: disable large number test

* fix: revert cors
2019-04-17 14:10:54 -07:00
Maxime Beauchemin 3d08266714
[load_examples] download data at runtime (#7314)
* [load_examples] download data at runtime

When running `superset load_examples` to load example data sets,
Superset used to load from the local package. This created a few issues
notably around licensing (what are these datasets licensed as?) and
around package size.

For now, I moved the data sets here:
https://github.com/apache-superset/examples-data

Altered the logic to download the data from where it is stored.

* flakes
2019-04-17 13:19:14 -07:00
michellethomas 9341995803
fix: time series table (#7302) (#7312)
* fix: time series table

* fix: add default value for label

* fix: use prop values if defined

* fix: revert CollectionControl changes

(cherry picked from commit 5dab983fd8)
2019-04-17 12:37:45 -07:00
Fan Donglai 7aa6c4e9ca Update AceEditorWrapper.jsx (#7315)
THEN is also a keyword in SQL
2019-04-17 08:11:21 -07:00
Daniel Vaz Gaspar 1ffd3b1161 [slice] Fix, remove duplicate label_columns property (#7113) 2019-04-17 08:10:47 -07:00
Kim Truong 5dab983fd8 fix: time series table (#7302)
* fix: time series table

* fix: add default value for label

* fix: use prop values if defined

* fix: revert CollectionControl changes
2019-04-16 10:33:12 -07:00
Kim Truong 154f6abf97 Revert "bugfix: improve 'Time Table' (#6959)" (#7304)
This reverts commit 9b4f5ad8e1.
2019-04-16 10:32:43 -07:00
Maxime Beauchemin d253c5ca0f
Add details to release instructions (#7296) 2019-04-15 12:48:51 -07:00
Maxime Beauchemin 9dfa80d5c8
Add all database access permission to 'Alpha' role (#7271)
* Add all database access permission to 'Alpha' role

* Grant all database access to Alpha
2019-04-15 09:22:54 -07:00
Kim Truong 0f1702b88e chore: update legacy packages (#7293) 2019-04-12 16:43:28 -07:00
Maxime Beauchemin b1ebfbc577 Bump nvd3 dep and 'npm audit fix' (#7292) 2019-04-12 09:55:54 -07:00
Maxime Beauchemin 9b4f5ad8e1
bugfix: improve 'Time Table' (#6959)
* [WiP] debugging and improving 'Time Table'

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

* Lint

* Remove passing down props from CollectionControl

* Declarative passthrough of props

* remove console.error
2019-04-11 23:36:48 -07:00
Maxime Beauchemin 14647fc2ed
Minor improvements to <Hotkeys /> component (#7261)
* left align, close to button it's related to
* text-muted, so it's a bit more subtle
* fix required func props, where no func it actually passed
2019-04-11 23:08:38 -07:00
Yongjie Zhao 763db8fd76 Improve code smell, use py3k super() call (#7100) 2019-04-11 21:48:35 -07:00
Krist Wongsuphasawat 80070d0eaf
fix: make the bot more descriptive (#7279) 2019-04-10 11:02:10 -07:00
Krist Wongsuphasawat f9db605e0d
fix: make SIPs exempt from stale bots (#7278)
* fix: make SIPs exempt from stale bots

* update pr template
2019-04-10 09:24:45 -07:00
Maxime Beauchemin 0c3e46f8ae
Deprecate npm run backend-sync and related logic (#7211) 2019-04-10 08:46:05 -07:00
Krist Wongsuphasawat 6c38cb1a09
chore: add bot config files and update issue templates (#7249)
* chore: add bot config files and update issue templates

* fix: exclude SIP
2019-04-09 22:45:58 -07:00
Maxime Beauchemin b225507bca Run 'npm audit fix' to address vulnerabilities (#7263) 2019-04-09 22:45:42 -07:00