Commit Graph

4013 Commits

Author SHA1 Message Date
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
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
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
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
Grace Guo
1104aca5bd
update migration Revision for #6945 (#7258) 2019-04-09 17:38:12 -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
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
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
Maxime Beauchemin
e767e4d9ef Fix <Select> clearable (#7215)
closes https://github.com/apache/incubator-superset/issues/7213
related to
https://github.com/apache/incubator-superset/pull/6722#issuecomment-479366738
2019-04-03 13:25:49 -07:00
agrawaldevesh
8830d3f96e [Data Source Editor] Use type of NUMERIC instead of NUMBER and make editor accept freeform types (#7123) 2019-04-03 10:33:59 -07:00
Thomas Wang
a717a90577 fix: deck.gl polygon tooltip (#7188) 2019-04-01 21:26:30 -07:00
Maxime Beauchemin
c5bdbc0964
[security] make it easier to redefine Alpha/Gamma (#7036)
* [security] make it easier to redefine Alpha/Gamma

While talking about some security aspect and as to how you'd alter Alpha
or Gamma role in a specific environment, I realized that these
module-scoped constants would be much more useful as class attributes.

This way, someone can override these sets in their security manager
to alter base roles.

* fix

* flake8
2019-04-01 18:06:40 -07:00
Grace Guo
a1d4635627
[fix] a typo in variable name (#7197) 2019-04-01 17:55:40 -07:00
Enrico Berti
37d7b2c040 feat: added i18n statements to sqllab (#7194)
Closes #7193
2019-04-01 13:43:22 -07:00
Krist Wongsuphasawat
2af9a84d09
fix: do not crash when a vis type is disabled. (#7180)
* fix: make vis type control handle unregistered type

* fix: hide when not needed

* fix: do not try to read controlpanelconfig for invalid type

* feat: add t
2019-04-01 13:37:40 -07:00
rasmi-ranjan-guavus
efede0af91 fix(sqllab): remove duplicate selector in style file (#7126) 2019-04-01 12:33:23 -07:00
Hannah Squier
03752af4e8 fix PRODUCT-67916 Click OK button cannot close error message modal (#7179) 2019-04-01 10:00:22 -07:00
John Bodley
f13e0a8d58
Update __init__.py (#7166) 2019-04-01 09:50:20 -07:00
Enrico Berti
03c95c86dd [SQL Lab] Show tooltip on schema and table select options (#7120)
Closes #7119
2019-03-30 11:45:53 -07:00
michellethomas
ceb86df063 chore: add main pull request template (#7176)
* Add main pull request template

* Removing individual pull request templates
2019-03-29 13:06:45 -07:00
michellethomas
7059c52a79
Adding pull request templates (#7159) 2019-03-29 08:52:28 -07:00
Christine Chambers
7ffcabd5c0
Fix double scroll bars when content of sql result table overflows horizontally (#7168)
The PR substracts the scrollbar height from the height of the container of the react virtualized table so we don't see double scrollbars.
2019-03-29 06:45:44 -07:00
Alan Carson
41c13152a9 docs: add cloudsmith to company list (#7158)
Thanks!
2019-03-28 22:24:27 -07:00
John Bodley
36a6fade90
[migration] Fixing issue with fb13d49b72f9 downgrade (#7145)
* [migration] Fixing issue with fb13d49b72f9 downgrade

This PR fixes an issue with the downgrade step of migration fb13d49b72f9 which wrongfully labeled the field `metrics` rather than `metric`.

to: @graceguo-supercat @michellethomas @mistercrunch

* Update fb13d49b72f9_better_filters.py
2019-03-28 10:07:55 -07:00
John Bodley
6e79e84b02
[migration] Fixing issue with c82ee8a39623 downgrade (#7144)
* [migration] Fixing downgrade

* Trigger notification
2019-03-27 22:23:21 -07:00
Maxime Beauchemin
d5e8d663dc [bugfix] SQL Lab 'Filter Results' doesn't stick (#7104)
When using a "Search Results" criteria, the subset of rows that match
the criteria get displayed. While this the filter is applied, if another
query is run, the filter is still active, but not displayed in the input
text box. After this change, the state of the input box sticks after
subsequent queries.
2019-03-27 17:53:32 -07:00
Dave Smith
ba19a62412 Injectable statsd client (#7138)
* Add ability to inject statsd client; some py test/reqs updates

- Updated the metrics logger to allow construction with an existing
statsd client, so that it can be configured by external systems or libs.
- added requirements to requirements-dev.txt which are needed to run
  tests-eg coverage, nose
- removed dependency on mock lib, it is in python stdlib now
- updated tox.ini to remove the now-superfluous deps

* add license to test file, and remove blank line at EOF
2019-03-27 14:08:36 -07:00
Enrico Berti
cd54a567dd fix: Superset logo link when logged out (#7118)
Closes #7107
2019-03-27 13:49:34 -07:00
John Bodley
ee36ce8b31 chore: updating extra requires (#7115) 2019-03-27 13:48:11 -07:00
Enrico Berti
c99d9b5d3c [SQL Lab] Avoid closing save query modal on backdrop click (#7111)
Closes #7110
2019-03-27 13:46:39 -07:00
Maxime Beauchemin
c2b971af91
[docs] CONTRIBUTING.md - how to setup SQL Lab in async mode (#7103) 2019-03-26 22:50:19 -07:00
Maxime Beauchemin
215ed392a1 Bump python lib croniter to an existing version (#7132)
Package maintainers should really never delete packages, but it appears
this happened with croniter and resulted in breaking our builds.

This PR bumps to a more recent existing version of the library
2019-03-26 13:27:16 -07:00
Maxime Beauchemin
68d2880bce
Remove super verbose logging.debug call (#7122)
I left this behind on a previous PR, and it gets kind of crazy on large
SQL statements, so decided it's probably a good thing to clean this up.
2019-03-26 08:42:13 -07:00