Commit Graph

3955 Commits

Author SHA1 Message Date
John Bodley 80d6f5a090 [mypy] Adding mypy linting (#7053) 2019-03-24 20:35:48 -07:00
Grace Guo 60a7b6df59
handle null column_name in sqla and druid models (#7063) 2019-03-22 20:21:25 -07:00
Chris Williams 7457a35b12
[api] add `available_domains/` endpoint (#7097)
* [api] add available_domains/ endpoint

* [available_domains] no trailing whitespaces
2019-03-22 17:51:28 -07:00
Yongjie Zhao 33d67dad79 [Dashboard] Keeping refresh frequency value in Dashboard (#5741)
* Keeping refresh frequency value in Dashboard

* fix eslint

* Fix arrow function

* Update ut

* start refresh when load dashboard
2019-03-22 14:29:18 -07:00
Krist Wongsuphasawat 4631b7b791
fix: bump pivot table version (#7088)
* fix: bump pivot table version

* fix: update package.json
2019-03-21 22:26:20 -07:00
hitdemo 5241486971 [bugfix] throw "TypeError: 'NoneType'..." when save chart to new/existing dash. (#5835) 2019-03-21 21:03:53 -07:00
Daniel Vaz Gaspar 10d003346f Bump FAB to 1.12.5 (#7085)
* Bump FAB to 1.12.5

* [requirements] New dependency pyJWT added on FAB 1.12.4 for OAuth redirect

* [requirements] Fix, pip-tools bump to 3.5.0 related to #714
2019-03-21 17:03:52 -07:00
Enrico Berti 9b58e9f492 [SQL Lab] Improved query and results tabs rendering reliability (#7082)
closes #7080
2019-03-21 15:13:42 -07:00
Maxime Beauchemin b210742ad2
Fix filter_box migration PR #6523 (#7066)
* Fix filter_box migration PR #6523

* Fix druid-related bug
2019-03-20 21:41:33 -07:00
John Bodley 61add606ca
[missing values] Removing replacing missing values (#4905) 2019-03-20 17:14:15 -07:00
Enrico Berti 30f88caf55 [SQL Lab] Fixed TableElement sorting functionality and tests (#7069) (#7070) 2019-03-20 08:32:04 -07:00
Enrico Berti 209e7a9d91 [SQL Lab] Copy to clipboard should work on the preview tab too (#7068) (#7071) 2019-03-20 08:26:56 -07:00
John Bodley 2524219f98
[tox] Enforcing consistent ordering (#7060) 2019-03-19 21:14:12 -07:00
Ville Brofeldt c1c8e50360 Handle memoryview like bytes instances and decode bytes to utf8 (#7062) 2019-03-19 17:57:09 -07:00
Krist Wongsuphasawat aa9e273900 docs: add hostnfly to company list (#7065)
From old PR #4011
2019-03-19 17:55:55 -07:00
bipinsoniguavus 84109be1bf fix: search for visualizations with case-insensitive keyword 2019-03-19 16:03:49 -07:00
Maxime Beauchemin c7ffdd643f docs: fix RST issues while building docs (#7012) 2019-03-18 18:11:53 -07:00
Rosen Velikov 42a8a92c57 feat: add Bulgaria to country map (#6938) 2019-03-18 18:10:42 -07:00
Krist Wongsuphasawat d56362f248
feat: bump superset-ui-plugins to v0.10.2 (#7051)
* feat: bump superset-ui-plugins version to 0.10.1

* fix: bump version again
2019-03-18 17:56:23 -07:00
michellethomas ead3d48133
Adding warning message for sqllab save query (#7028) 2019-03-18 10:14:26 -07:00
John Bodley c771625f10
[datasource] Ensuring consistent behavior of datasource editing/saving. (#7037)
* Update datasource.py

* Update datasource.py
2019-03-18 09:56:52 -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
Maxime Beauchemin f5274a9c7f
Fix issues around Database permissions (#7009) 2019-03-17 22:49:40 -07:00
Grace Guo a6d48d4052
[fix] explore chart from dashboard missed slice title (#7046) 2019-03-16 10:44:14 -07:00
Enrique Macip 4a3009406a User can turn off download - export csv from a dashboard (#6821)
* User can turn off download - export csv from a dashboard

* Revert changes in the backendSync

* Fix space error in the MenuItem Export CSV
2019-03-16 10:33:45 -07:00
1AB9502 f760ba8d4c fix: groupable only columns populating in filters (#6993) 2019-03-15 15:20:53 -07:00
Grace Guo fc1770f7b7
[fix] Cursor jumping when editing chart and dashboard titles (#7038) 2019-03-15 10:56:19 -07:00
John Bodley 07c340cf82
[sqlparse] Fixing table name extraction for ill-defined query (#7029) 2019-03-15 09:19:30 -07:00
Chris Williams 7d7210d6ce
[api/v1][query_obj] add default prequeries array (#7039)
* [api/v1][query_obj] add default prequeries array

* [api/v1][query_obj] fix prequeries type
2019-03-15 00:22:29 -07:00
Ville Brofeldt 5e66008ba1 Add handling for memoryview (#6987) 2019-03-14 22:35:40 -07:00
bipinsoniguavus 4ca2cc1ef2 fix(css-selector): Fixed incorrect css-selector for CRUD page reported by sonarqube report as a critical vulnerability (#7034) 2019-03-14 17:51:16 -07:00
Conglei 0782e831cd fix inaccurate data calculation with adata rolling and contribution (#7035) 2019-03-14 14:05:06 -07:00
Tom Hunter cc58f0e661 [WIP] fix user specified JSON metadata not updating dashboard on refresh (#7027) 2019-03-14 11:20:22 -07:00
John Bodley 05be866117
[db-engine-spec] Aligning Hive/Presto partition logic (#7007) 2019-03-13 13:22:28 -07:00
michellethomas 7f3c145b1f
Changing time table viz to pass formatTime a date (#7020) 2019-03-13 09:34:51 -07:00
Maxime Beauchemin d308c842f9
Bump sqlalchemy dependency (#7000)
* Bump sqlalchemy dep

* Addressing comments
2019-03-11 23:03:20 -07:00
Marcus 83b5dcc8c2 fixing a broken link for the ORM documentation (#7005) 2019-03-11 22:41:16 -07:00
Grace Guo 6a4d507ab6
[fix] /superset/slice/id url is too long (#6989) 2019-03-09 20:49:08 -08:00
Ville Brofeldt 0535a11fe6 Retrieve df from get_df_payload to hit cache (#6990) 2019-03-09 11:14:04 -08:00
Christine Chambers e47a1b2868
Split tags migration (#7002)
This PR removes the iteration over charts, dashboards and saved queries to create tags in the original migration, leaving only the logic to create the tags and the tagged objects tables.
Tested locally by running `superset db downgrade` to revert to the previous migration and then running `superset db upgrade` to the current version.
2019-03-08 16:27:13 -08:00
ankursinghal2005 83b48a901e fix(fetch-datasource-meta-data): Chart data is not showing after in charts added by edit mode (#6980)
UIC-1046
2019-03-06 23:57:31 -08:00
Krist Wongsuphasawat 23f4c95d47
refactor: bump @superset-ui versions (#6982)
* feat: bump @superset-ui versions

* refactor: remove visUtils and use @superset-ui/dimension

* refactor: remove dead code

* fix: update package lock

* fix: lint two files

* fix: package lock
2019-03-06 22:30:05 -08:00
michellethomas e6194051f4
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
2019-03-06 15:04:04 -08: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
Thomas Wang 8346e62dec Sort Chart Types based on Usage (#6849)
* initial commit for VIZ-58

* address @kristw's comments

* per @mistercrunch's comment to use a static list for now

* fix javascript test errors

* fix lint errors

* per @betodealmeida's comments

* remove unnecessary loop
2019-03-05 21:32:10 +02:00
John Bodley 3e076cb60b
[sql-parse] Fixing LIMIT exceptions (#6963) 2019-03-05 09:36:08 -08:00
Maxime Beauchemin 0421786fed
[dashboard editor] use the theme's btn-primary (#6859) 2019-03-04 20:54:17 -08:00
Maxime Beauchemin ed79134e7f
auto-set 'Is Temporal' to true where column_name == '__time' (#6857)
* auto-set 'Is Temporal' to true where column_name == '__time'

* Adress comments

* lint

* clarifying name and comments
2019-03-04 20:51:11 -08:00
Conglei d5b9795f87 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
2019-03-04 18:06:59 -08:00
John Bodley aded70a156 [date-filter] Adding minus infinity (#6968)
* [date-filter] Adding minus infinity

* Update DateFilterControl.jsx

eqeqeq
2019-03-04 11:34:21 -08:00