mxmzdlv
5bc734b2e5
Fix has_table method ( #3741 )
...
Dialect's has_table method requires connection as the first argument, not engine (https://github.com/zzzeek/sqlalchemy/blob/master/lib/sqlalchemy/engine/interfaces.py#L454 ). Instead, we can use engine's has_table method that handles the connection for us (https://github.com/zzzeek/sqlalchemy/blob/master/lib/sqlalchemy/engine/base.py#L2141 ). Alternatively, we could call engine.dialect.has_table(engine.connect(), ...).
2017-10-30 21:04:23 -07:00
Ryan Harmuth
814b70ffd8
Escape columns names for time grains - postgres ( #3736 )
2017-10-30 21:02:46 -07:00
Baldo Alessandro
1e18bfdea4
Fix 3657 ( #3739 )
...
* Reorders MANIFEST.in
* Includes the translations dir in MANIFEST
2017-10-30 11:26:42 -07:00
michellethomas
200b66d088
Using indexOf instead of includes for isXAxisString ( #3733 )
2017-10-27 16:00:44 -07:00
Grace Guo
cbd01074ba
bump react-bootstrap version ( #3723 )
...
1. avoid exports is not defined error
2. per jordan's suggestion, update .babelrc only use airbnb presets
2017-10-26 23:10:00 -07:00
Maxime Beauchemin
1582fa1964
Add CRUD action to refresh table metadata ( #3721 )
...
A shortcut to make it easy to refresh a table's schema
2017-10-26 16:17:56 -07:00
Maxime Beauchemin
a9b6d11ade
Validate JSON in slice's params on save ( #3720 )
...
fixes https://github.com/apache/incubator-superset/issues/3507
This prevents malformed JSON from getting saved in a slice's params. It
also prevents the issue described in #3507 from happening though as a
result malformed slices will render using default control values.
2017-10-26 16:16:21 -07:00
Maxime Beauchemin
c4b6324e74
Fix box_plot NaN issue ( #3722 )
...
fixes https://github.com/apache/incubator-superset/issues/3712
2017-10-26 12:00:22 -07:00
Magicansk
9432ea80be
Update messages.po ( #3715 )
...
[Chinese Translation]
2017-10-25 23:26:38 +00:00
Rogan
f412b4c158
Missing the data of one province and two regions of China ( #3686 )
2017-10-25 22:27:18 +00:00
Rogan
547a3bf4e7
Fix the ISO code description of region/province/department ( #3685 )
...
* Fix the ISO code description of region/province/department
* Missing the data of one province and two regions of China
* Revert " Missing the data of one province and two regions of China"
This reverts commit abff4555cd
.
2017-10-25 00:58:54 +00:00
Maxime Beauchemin
e97dc9d3cb
Set logging level to debug for DummyStatsLogger ( #3662 )
2017-10-25 00:50:15 +00:00
Jeff Niu
efae14592e
fixes for bugs in #3689 ( #3692 )
2017-10-24 21:58:15 +00:00
Angus Ma
1d06495629
add VIPKID to the orgs. ( #3703 )
2017-10-24 21:30:54 +00:00
Jeff Niu
ffdfdb94ab
changed metric heading from h1 to h3 ( #3696 )
2017-10-24 21:30:31 +00:00
Yu Xiao
8d7e97a26e
[translation] added japanese support ( #3713 )
...
* [translation] added japanese support
* fix
2017-10-24 21:29:00 +00:00
Maxime Beauchemin
f8b8f6a343
[minor] fix label showing description in time_table's URL ( #3663 )
2017-10-24 21:27:53 +00:00
Grace Guo
4967342362
fix the slice permission issue after user click-edit new slice title ( #3711 )
2017-10-24 11:19:51 -07:00
John Bodley
9893847991
[form-data] Quoting form data ( #3701 )
2017-10-24 10:08:08 -07:00
Grace Guo
18e9640d99
fixing the datasource inconsistence but in visualize flow ( #3698 )
...
datasource in landing explore view is not the datasource created in sal lab.
2017-10-23 20:29:49 -07:00
Maxime Beauchemin
58ea736ed6
[cleanup] removing print() artefacts ( #3683 )
2017-10-23 15:48:47 -07:00
Jay Lindquist
b4bdc45a6b
Add support for IE 11 for markup slices ( #3702 )
...
* Add srcdoc-polyfill tosupport Internet Explorer iframes in markup slices. Add allow-top-navigation and allow-popups to support links within iframes
* Remove jquery from markup.js
2017-10-23 15:35:15 -07:00
michellethomas
fa07b8d51b
defaultSort should be false when no sort is necessary ( #3693 )
2017-10-23 11:17:28 -07:00
Jeff Niu
e121a8585e
[Feature] Percentage columns in Table Viz ( #3586 )
...
* Added percent metric options to table viz
* Added unit tests for TableViz
* fixed code for python3
* bump travis
2017-10-16 20:16:20 -07:00
Alejandro Fernandez
adef519583
DI-1113. Authentication: Enable user impersonation for Superset to HiveServer2 using hive.server2.proxy.user (a.fernandez) ( #3652 )
2017-10-16 20:15:16 -07:00
Maxime Beauchemin
08f09b4761
[minor] fix padding in Time Table ( #3664 )
...
When in dashboard view, the Time Table needs some paddding
2017-10-16 17:01:35 -07:00
Jeff Niu
2a89c90e0b
unit tests for OptionDescription component ( #3678 )
2017-10-16 16:31:43 -07:00
michellethomas
ce5fa379ec
Avoid dividing by zero for sparkline in time table viz ( #3679 )
2017-10-16 16:31:07 -07:00
timifasubaa
d4d4a9b1f1
Sqllab error troubleshooting ( #3680 )
...
* provide troubleshooting link
* add option to append error troubleshooting link beneath sqllab error
2017-10-16 16:30:08 -07:00
Maxime Beauchemin
d0b5b449b2
Add a ColorPickerControl ( #3653 )
...
* Add a ColorPickerControl
* Tests
2017-10-15 23:38:38 -07:00
Jeff Niu
bad6938d1a
[New Viz] Partition Diagram ( #3642 )
...
* Added Partition Visualization
* added unit tests
2017-10-12 21:54:59 -07:00
timifasubaa
48e28eff9b
Add description for running specific test ( #3665 )
2017-10-12 20:53:37 -07:00
michellethomas
f87163413b
Making the sort order for metrics pull from fd for time table viz ( #3661 )
2017-10-12 17:51:26 -07:00
Ali Cirik
52a9f2742b
Make columns that return an exception on click unsortable. ( #3417 )
2017-10-11 22:36:12 -07:00
michellethomas
7f07fbefbc
Adding sort time table ( #3651 )
...
* Updating time_table component to sort
* Removing old sort
2017-10-11 21:25:17 -07:00
Ganesh Krishnan
93660c6838
added aihello as superset user. ( #3647 )
2017-10-11 21:17:54 -07:00
Maxime Beauchemin
3ebadbcda9
Fix #3612 - reverse sign in difference calculation ( #3646 )
2017-10-11 21:14:39 -07:00
Denny Biasiolli
3df3e0d681
Fixing some warnings during tests ( #3648 )
...
* ColorSchemeControl: fixing bad use of PropTypes
Accessing PropTypes via the main React package is deprecated, and will be
removed in React v16.0. Use the latest available v15.* prop-types package from
npm instead. For info on usage, compatibility, migration and more, see
https://fb.me/prop-types-docs
* Control: adding PropTypes.func in types allowed inside `value` prop
This removes a warning during yarn tests
Fix #3589
* tests(QueryStateLabel): removing missing prop warning
```
Warning: Failed prop type: The prop `query` is marked as required in
`QueryStateLabel`, but its value is `undefined`.
in QueryStateLabel
```
* SaveQuery: removing invalid prop `target` supplied to `Overlay`.
This removes a warning during yarn tests:
```
Warning: Failed prop type: Invalid prop `target` supplied to `Overlay`.
```
* RunQueryActionButton: removing `isRequired` from queryState props
This removes a warning during yarn tests:
```
Warning: Failed prop type: The prop `queryState` is marked as required in
`RunQueryActionButton`, but its value is `null`.
```
2017-10-11 21:07:52 -07:00
Jeff Niu
4a3c09187a
[Translations] Restored lost French translations ( #3645 )
...
* Added some missing translations
squash
* Restored previous French translations
2017-10-10 17:52:39 -07:00
Maxime Beauchemin
76f8d33d81
[sql lab] fix impersonation + template issue ( #3644 )
...
When the database impersonation flag is on, a query using a template
fails. It has to do with templating using a database connection without
a username being specified by the caller, along with the fact that the
work is taking place on a worker, outside a web request, where
referencing g.user raises this exception.
2017-10-10 17:52:22 -07:00
Maxime Beauchemin
6cc6637454
Pin moment.js library since 2.19.0 creates problem ( #3641 )
...
The 2.19.0 released today (2017-10-10) creates issues with the
DateFilterControl somehow. Pining lib to latest known version.
2017-10-10 15:53:03 -07:00
Maxime Beauchemin
d7f8a7fde3
[time_table] adding support for URLs / links ( #3600 )
...
Using Mustache templating and providing {{ metric }} as well as
{{ ...formData }} as context.
2017-10-10 11:54:21 -07:00
michellethomas
80eb9c2c64
Set tooltip to show extent of sparkData ( #3626 )
...
* Set tooltip to show extent of sparkData
* Using d3format instead of round
2017-10-10 11:53:53 -07:00
Grace Guo
bd45e3b19a
add explicit message display for 'Fetching Annotation Layer' error ( #3631 )
2017-10-10 11:49:53 -07:00
Maxime Beauchemin
b866b33dee
[bugfix] Template rendering failed: '_AppCtxGlobals' object has no attribute 'user' ( #3637 )
...
Somehow the nature of `g` in Flask has changed where `g.user` used to
be provided outside the web request scope and its not anymore.
The fix here should address that.
2017-10-10 11:46:28 -07:00
Grace Guo
8994bdacbd
fix long title text wrapping in editable-title component ( #3638 )
...
fix https://github.com/apache/incubator-superset/issues/3628
2017-10-10 11:45:48 -07:00
Maxime Beauchemin
f3b403d346
[minor] proper tooltip on ControlHeader's instant re-render trigger ( #3625 )
2017-10-09 23:28:14 -07:00
Yu Xiao
5ad4167512
add annotation option and a linear color map for heatmap viz. ( #3634 )
...
* add annotation option and a linear color map for heatmap viz.
* error fixes.
* fixes for requested changes
2017-10-09 23:17:51 -07:00
Maxime Beauchemin
ca67a7a4e9
[bugfix] empty From date filter NoneType error ( #3633 )
...
Error "AttributeError: 'NoneType' object has no attribute 'split'" is
fired.
2017-10-09 20:59:11 -07:00
Riccardo Magliocchetti
64ef8b14b4
remove unused imports ( #3621 )
...
* superset: remove unused imports
Spotted by pyflakes
* superset: removed unused get_session
2017-10-08 21:04:09 -07:00