Maxime Beauchemin
f742b9876b
Making thrift, pyhive and tableschema as extra_requires ( #6696 )
...
* Making thrift, pyhive and tableschema as extra_requires
Looking at the dependency tree for license related questions, I noticed
that tableschema had a huge tree, and only people running Hive really
need it. Making this as well as pyhive and thrift optional.
Also bumping some python dependencies
* Run pip-compile
* Removing refs to past.builtins (from future lib)
* Add thrift
2019-01-19 14:27:18 -08:00
Krist Wongsuphasawat
ebb799140a
Update CONTRIBUTING.md based on SIP-13 and add how to use labels ( #6701 )
...
* update contributing based on SIP-13
* update link
* add labels instruction
* minor edit
* minor edit
* update table of content
* Add ASF header and update insructions
* update table
* update text
2019-01-19 03:18:22 -08:00
bolkedebruin
3cc7cdfee0
Fix setup.py ASF issues ( #6677 )
...
* This renames the package to apache-superset instead of superset.
This is required.
* It sets the download location to the official ASF repositories
2019-01-19 03:16:33 -08:00
Andrew Kovalyov
01063ce96c
Fix link to SQLAlchemy docs about database URLs format ( #6698 )
...
'Add database' grid refers to SQLAchemy docs, where database URL format is described.
Documentation for 1.0 does not exist on https://docs.sqlalchemy.org/ , which results in 404 when following the current URL.
The link is fixed taking into account [SQLAlchemy 1.2](https://github.com/apache/incubator-superset/blob/master/requirements.txt#L87 ) as a project dependency.
2019-01-18 22:32:29 -08:00
Maxime Beauchemin
057c43c56d
Revert "Truncate long labels ( #6631 )" ( #6723 )
...
This reverts commit 5055157b64
.
2019-01-18 17:24:40 -08:00
Beto Dealmeida
ef79757973
Merge heads ( #6729 )
...
* Merge heads
* Add ASF header
2019-01-18 16:04:06 -08:00
Beto Dealmeida
00388811b6
Allow empty results in Hive (from SET, eg) ( #6695 )
...
* Allow empty results in Hive (from SET, eg)
* Remove patch
* Merge heads
* Delete merge heads
2019-01-18 10:11:59 -08:00
Beto Dealmeida
c954fe314d
Insert a space after auto complete ( #6717 )
...
* Insert space after auto complete
* Fix autocomplete with space
2019-01-18 09:38:56 -08:00
Beto Dealmeida
b260cb66b3
Expose more columns in saved queries API ( #6686 )
2019-01-18 09:38:31 -08:00
Beto Dealmeida
31ea6817b7
Add `extra` column to `SavedQuery` ( #6687 )
...
* Expose more columns in saved queries API
* Add extra column to SavedQuery
* Add ASF header
2019-01-18 09:38:07 -08:00
Ville Brofeldt
7ee8afb608
Improve support for BigQuery, Redshift, Oracle, Db2, Snowflake ( #5827 )
...
* Conditionally mutate and quote sqla labels decouple sqla logic from viz.py
* Prefix hashed label with underscore if bigquery label exceeds 128 chars
* Add comments for label cache
* Rename to mutated_labels and simply
* Rename mutated_label to get_label and simplify make_label_compatible in db_engine_specs
* Add note about deterministic and unique mutated labels
* add hash to label that has been prefixed with underscore
* Fix PEP8 escape warning
* Fix DeckPathViz get_metric_label call
2019-01-18 08:24:11 -08:00
Jeffrey Wang
055467de86
Explicitly declare flags as flags ( #6693 )
2019-01-18 08:19:54 -08:00
Maxime Beauchemin
69fe50a5c9
[cosmetic] remove margin-bottom on dropdowns ( #6627 )
...
* [cosmetic] remove margin-bottom on dropdowns
react-select components have been added 15px bottom-margin without a
good reason. Other controls like text or checkboxes don't have that,
making Selects look non-standard, add making the control list too
sparse.
My perspective is that all controls should have the same
padding/margins.
* Adding a few licenses
2019-01-17 22:56:39 -08:00
Maxime Beauchemin
75322ab12c
More ASF licenses (css + html/jinja) ( #6711 )
...
* More ASF licenses
* html
* removing from vendors
2019-01-17 22:39:00 -08:00
Maxime Beauchemin
6718588781
Add universal "New" button ( #6670 )
...
* [cosmetic] CRUD's list from 'Add Filter' to 'Filter Results'
* Add global new button
* A better viz type selector
* lint
* Move view to new module, add unit test
* 'Filter Results' -> 'Filter'
* db merge
* Filter -> 'Filter List'
2019-01-17 15:48:40 -08:00
Beto Dealmeida
99d6dc07d6
Trim query before parsing ( #6703 )
...
* Ignore empty lines
* Fix unit tests
* Use stripped
* Fix another unit test
2019-01-17 09:16:35 -08:00
Krist Wongsuphasawat
9c7b98a27a
Add more format shims ( #6709 )
...
* add more shims
* update package-lock.json
2019-01-16 23:31:43 -08:00
Christopher Council
30c911919e
Fix Text field to edit SQL snippet of a metric is not large enough ( #6702 )
...
* Fix Text field to edit SQL snippet of a metric is not large enough for entire snippet
* Fix Airbnb bug PRODUCT-62223
2019-01-16 23:28:38 -08:00
Maxime Beauchemin
88964b7dfc
Deprecate auto-generated metrics ( #5461 )
...
* [WiP] deprecate auto-generated metrics & fix examples
Picking up some leftover pieces not needed anymore since the
MetricsControl
* db merge
* db merge
* fix migration
* Creating metrics required for tests
2019-01-16 22:32:13 -08:00
Maxime Beauchemin
65f7f2920d
Fix url_param macro when param is missing ( #6699 )
...
User @ravi on Slack reported issues trying to use url_param jinja macro.
explore_json would raise a "KeyError: 'url_params'".
The feature works when a parameter is passed, but fails hard when none
are passed.
I improved the docstring on the macro as well.
2019-01-16 20:44:28 -08:00
Maxime Beauchemin
e03e276571
Bump some of the requirements-dev.txt ( #6700 )
...
* Bump some of the requirements-dev.txt
* addressing comments
2019-01-16 20:40:16 -08:00
Yuan Liu
4c658444e4
Update README.md ( #6682 )
2019-01-15 21:56:31 -08:00
Maxime Beauchemin
1dd4d7a587
Apply ASF licenses throughout the code base ( #5800 )
...
* Add license headers
* reabased
* lint
* Removing licenses from vendors folder
2019-01-15 15:53:27 -08:00
Maxime Beauchemin
da813b7ee3
[table editor] allow selecting physical table ( #6046 )
...
* [table editor] allow selecting physical table
* Using classes for padding
2019-01-15 08:53:24 -08:00
Maxime Beauchemin
4667f0c288
Committing some licenses to fix master ( #6689 )
2019-01-14 22:28:03 -08:00
Christopher Council
207d9529b2
Fix for #6590 : Numeric values in columns sometimes returned as quoted strings ( #6591 )
...
* Fix: https://github.com/apache/incubator-superset/issues/6590 , also depends on https://github.com/apache-superset/superset-ui/pull/71
* Bumped version of superset-ui-connector
* Added @babel/polyfill import
* Reset mock history before each test, not after each test
* Update CONTRIBUTING.md
2019-01-14 15:35:28 -08:00
Yao Zhou
f480a52074
Add doc about translation using poedit ( #6600 )
...
* Update CONTRIBUTING.md
2019-01-15 01:48:12 +07:00
Beto Dealmeida
5055157b64
Truncate long labels ( #6631 )
2019-01-14 10:42:12 -08:00
Junda Yang
b1dbd1cab6
[bugfix] show results in query history & revert #5848 ( #6436 )
...
* revert 848
* nit
2019-01-13 22:31:27 -08:00
Chinh Nguyen
284a0cccd3
Add fix for pyodbc+mssql ( #6621 )
...
* add fix for odbc+mssql
* fix for pylint/pep8
2019-01-13 09:30:05 -08:00
Maxime Beauchemin
ae6217ba55
Remove dep on unidecode ( #6673 )
...
Not needed anymore in py3
2019-01-13 09:22:13 -08:00
Sirius
b2f0b2bde6
Update Dockerfile ( #6678 )
...
Fix permission issue.
2019-01-13 08:37:37 -08:00
Mahendra M
42cf929f62
Fix scheduled reports for mysql ( #6512 )
...
* Fix scheduled reports for mysql
* Really revert setup.py
* Fix after rebase
2019-01-12 20:29:03 -08:00
bolkedebruin
8e6c114195
Add Apache Rat for license checks ( #6663 )
2019-01-12 20:28:12 -08:00
bolkedebruin
855228c66c
Add NOTICE file and include initial third party licenses ( #6671 )
...
* Add NOTICE file and include initial third party licenses
* Add to manifest
* Use txt
* Fix notice
2019-01-12 16:10:03 -08:00
Kaxil Naik
a55a5e06c6
Remove bad git conflicts from Readme ( #6669 )
2019-01-12 09:57:13 -08:00
Yongjie Zhao
b143b16dff
#6588 Clear all other query tabs ( #6617 )
...
* #6588 Clear all other query tabs
* Improve SQLEditor methods bind
* Update loop syntax
2019-01-11 16:35:53 -08:00
Maxime Beauchemin
0053a86684
[README] use a numbered list instead of bullets for org list ( #6629 )
...
* [README] use a numbered list instead of bullets for org list
* Add companies frmo https://stackshare.io/superset/in-stacks
2019-01-11 16:06:39 -08:00
Maxime Beauchemin
7e0e7c89ba
Improving Filter Box ( #6523 )
...
* Improve Filter Box
* layout tweaks
2019-01-11 15:28:23 -08:00
Tao Feng
fafa6b4dda
Minor doc fix for superset ( #6662 )
2019-01-11 09:50:31 -08:00
Maxime Beauchemin
8051818693
[pie] allow formating nubmers on pie chart ( #6628 )
2019-01-11 08:28:58 -08:00
timifasubaa
9d70c348d3
pass source to db api mutator ( #6497 )
2019-01-10 17:30:32 -08:00
zhaoyu89730105
a2ce9974cd
Add kuaishou to README.md ( #6630 )
...
* add kuaishou
2019-01-10 23:21:59 +07:00
zhaoyu89730105
42437236b2
data point no clipEdge ( #6614 )
2019-01-09 20:35:20 -08:00
Mahendra M
fbf9586adf
Bump requirements ( #6625 )
...
* Bump requirements
* Fix setup.py for email reports
2019-01-09 16:00:04 -08:00
Beto Dealmeida
f6ac0daf7e
Improve padding in NVD3Vis ( #6626 )
...
* WIP, fixing padding
* Remove testing code
2019-01-09 15:43:57 -08:00
Maxime Beauchemin
eafb4f9600
Upgrade webpack-dev-server to fix 'npm audit' issue ( #6607 )
2019-01-08 15:55:27 -08:00
Maxime Beauchemin
accc754a87
Improve false negative on AlteredSliceTag ( #6578 )
...
The "altered" tag in the explore view shows up more often than it
should. By treating null, [] {}, undefined as identical will help reporting
only the differences that matter.
2019-01-08 12:23:12 -08:00
Christine Chambers
49e3638eee
Introduce a more visible resize grabber to the SQL editor ( #6593 )
...
- Clean up css and html of the sql editor button area (removing unused styles)
- Restyle the button area and the resizer to be more like the one proposed in issue 6565
2019-01-08 10:06:00 -08:00
Joe Bordes
28ca07e640
fix(i18n) syntax errors detected by grammarly while translating ( #6271 )
2019-01-09 00:27:26 +07:00