Commit Graph

4155 Commits

Author SHA1 Message Date
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
Kim Truong
65cc0e513c chore: update big number package (#7268) 2019-04-09 20:52:39 -07:00
Beto Dealmeida
9856800cee
Do not add tag to non-saved objects (#7266) 2019-04-09 20:51:42 -07:00
Maxime Beauchemin
79dbb3f1fe
[SQL Lab] fix table metadata loading spinner (#7121)
* [SQL Lab] fix table metadata loading spinner

The loading spinner used to be close to the new table name that was just
added, and recently flickers and disappears early.

This puts the spinner where it's expected to be.

* Use class

* Addressing comments

* adapt CSS

* add missing license
2019-04-09 20:51:35 -07:00
Beto Dealmeida
e505e326b2 Revert "Fix issues around Database permissions (#7009)" (#7267)
This reverts commit f5274a9c7f.
2019-04-09 20:39:24 -07:00
Beto Dealmeida
984b04d1e5 Add extra bucket when max outside range (#7264) 2019-04-09 19:35:13 -07:00
Beto Dealmeida
05afe1b8c2
Bump pydruid to 0.5.2 (#7260) 2019-04-09 17:39:24 -07:00
Grace Guo
1104aca5bd
update migration Revision for #6945 (#7258) 2019-04-09 17:38:12 -07:00
Beto Dealmeida
078a9774ce
Pass viz type to GET requests (#7255)
* Pass viz type to GET requests

* Fix integration tests
2019-04-09 16:54:37 -07:00
Kim Truong
2a67e8e457 fix: Handle rendering a single point (#7256)
* fix: Handle rendering a single point

* fix: typo
2019-04-09 15:46:47 -07:00
Grace Guo
c50e6bc981
feat(dashboard): direct link to single chart/tab/header in dashboard (#6964)
* direct display for pre-selected tab

* update parents

* add AnchorLink component

* add unit tests
2019-04-09 15:42:46 -07:00
Grace Guo
139f299ab3
add parent ids into Dashboard layout metadata (#6945) 2019-04-09 15:41:57 -07:00
John Bodley
92166399da
[cache] Render label when cached (#7164) 2019-04-09 15:00:35 -07:00
Maxime Beauchemin
149b31d296 fix: Remove ASF license from github templates (PR and issues) (#7217)
* Remove ASF license from github templates (PR and issues)

It shows as people open issues and PRs and it's confusing...

* add to rat-excludes
2019-04-09 13:18:30 -07:00
Beto Dealmeida
7c80cf58eb
Fix refresh frequency (#7248)
* Fix refresh frequency

* Fix unit tests
2019-04-09 11:22:28 -07:00
Beto Dealmeida
51472e9035 Improve cache (#7227)
* Improve cache

* Improve code, add docs

* Simplify flow

* Update docstring
2019-04-09 11:05:44 -07:00
Beto Dealmeida
51544212b6
Add link to documentation (#7251) 2019-04-09 09:40:19 -07:00
Beto Dealmeida
821860ea7d Fix partition query in Presto (#7250) 2019-04-09 08:44:44 -07:00
Maxime Beauchemin
5192270f26
Fix logo / branding files (#7105)
* Fix logo / branding files

SVG was busted in the branding folder. Files were partly corrupt.

This takes back the original logo, and offers a with-Apache and
without-Apache option. SVG renders nicely. The pngs are also bigger.

* add ASF license
2019-04-08 23:49:02 -07:00
Beto Dealmeida
23ef41ffaa
Fix spinning in Welcome page (#7247) 2019-04-08 16:43:56 -07:00
Thomas Wang
ad7cc01922 increment version numbers (#7245)
* increment version numbers

* increment version numbers

* increment nvd3
2019-04-08 15:45:39 -07:00
Maxime Beauchemin
442cfc692a Tweaks to word cloud controls (#7212) 2019-04-08 15:31:21 -07:00
michellethomas
5ef2712e16
[filter_box] allow empty filters list (#7220) (#7244)
in some cases, people want a time filter only on filter box, without
specifying dimensions (filters), this allows that

(cherry picked from commit e39b169949)
2019-04-08 15:08:47 -07:00
michellethomas
52473c5d34
Fix race condition when fetching results in SQL Lab (#7198) (#7242)
* Fix race condition when fetching results in SQL Lab

* Fix lint

(cherry picked from commit ca6a73b028)
2019-04-08 15:08:32 -07:00
Beto Dealmeida
c6876f7829
Fix for tagging backend (#7240) 2019-04-08 11:06:45 -07:00
Thomas Wang
74bdc3248a increment version number for nvd3 (#7232)
* increment version number for nvd3

* fix: update package-lock.json

* fix: update package-lock.json

* remove package-lock.json created by accident
2019-04-04 23:05:14 -07:00
Maxime Beauchemin
e39b169949 [filter_box] allow empty filters list (#7220)
in some cases, people want a time filter only on filter box, without
specifying dimensions (filters), this allows that
2019-04-04 22:17:35 -07:00
Kim Truong
b4915caa6e fix: give a more accurate time (#7221) 2019-04-04 12:57:57 -07:00
Beto Dealmeida
43874b3750
Fix time grain after revert (#7228) 2019-04-03 21:16:23 -07:00