Commit Graph

4652 Commits

Author SHA1 Message Date
Craig Rueda 3bdf764f83 Removing upgrade of pip from Docker build (#8760) 2019-12-04 22:15:18 -08:00
ʈᵃᵢ f7c33680a4 adds react-router to welcome component (#8654)
* adds react-router to welcome component

* prettify

* empty commit
2019-12-04 18:23:53 -08:00
Erik Ritter 737c52541f
Bump viz plugins for bug bash (#8759) 2019-12-04 17:27:21 -08:00
John Bodley e72533506b [fix] Fixing time controls when switching datasource types (#8748)
* [fix] Fixing time controls when switching datasource types

* Update exploreReducer.js

* Update exploreReducer.js

* Fix linting
2019-12-04 16:55:08 -08:00
Maxime Beauchemin e127579fc8
fix: remove unused .js module (#8741)
* fix: remove unused .js module

* fix tests, remove more references

* lints
2019-12-04 16:51:05 -08:00
Evan Rusackas b107cc03bf SHA display touchups (#8614)
* Only showing last 8 chars of SHA

* visual touchups

* Grabbing first 8 rather than last 8

* 10 char SHA rather than 8

* atting config var for SHA length
2019-12-04 13:13:51 -08:00
Craig Rueda e55001b88f Fixing default Dockerfile entrypoint. Gunicorn needed a few tweaks (#8744) 2019-12-04 13:13:15 -08:00
John Bodley 3d2117809f
[fix] Remedying filter-box w/ invalid metrics (#8722) 2019-12-04 11:34:56 -08:00
Beto Dealmeida 5b934bb377
Change column to longtext (#8739)
* Change column to longtext

* Manual merge heads
2019-12-04 11:24:23 -08:00
ʈᵃᵢ a94464b9c9 guard against duplicate columns in datasource save (#8712)
* catch IntegrityError in datasource save

* catch duplicate columns and wrap in exception handling decorators

* use 409

* isort
2019-12-04 11:05:06 -08:00
michellethomas 98a82a0720 Adding error message when there's no partition for a presto table using latest_partition (#8745) 2019-12-04 11:03:50 -08:00
David Aaron Suddjian 0a5e4603c9 Correcting some issues with the Time-Series Table (#8746)
* default timeLag to 0

* correct placeholder

* remove random link default
2019-12-04 10:32:33 -08:00
ʈᵃᵢ c88bb591eb improve performance for filter form selects (#8757) 2019-12-04 10:05:02 -08:00
Daniel Vaz Gaspar 81e45acc43
[docs] Fix, UPDATING had two changes that were not included on 0.35 (#8754) 2019-12-04 17:04:21 +00:00
Daniel Vaz Gaspar 385484eb9d
[config] Enables swagger UI by default (#8732)
* [config] Enables swagger UI by default
2019-12-04 09:50:56 +00:00
John Bodley c74bb6cb9b
[fix] Updating bound filters for PyDruid 0.5.7 (#8742) 2019-12-03 17:44:04 -08:00
John Bodley 38782e260a
[charts] Chart specific time controls (#8674) 2019-12-03 17:41:51 -08:00
Grace Guo 89950440f2
[filter_box] Fix show time column in filter_box (#8740) 2019-12-03 17:02:09 -08:00
David Aaron Suddjian b0b93768bb handle nulls in bar chart series/breakdown (#8724)
* handle nulls in bar chart series/breakdown

* snake_case

* add tests for null groups in bar charts

* black

* comments will save us
2019-12-03 16:11:15 -08:00
ʈᵃᵢ 5e1a6eafe4 bump style-loader to fix FOUC when sourcemaps are enabled (#8738) 2019-12-03 16:07:24 -08:00
Craig Rueda a0b48f0f47 Fixing up Docker installation docs (#8735)
* Fixing up Docker installation docs

* Typo
2019-12-03 15:56:33 -08:00
David Aaron Suddjian f055231e52 require a series on a bar chart in the UI (#8726) 2019-12-03 15:30:12 -08:00
Bogdan 003e98c231 Support schema permissions (#8219)
* Build support for schema access in Superset and SQLab

* Lint
* Test for old and new flask
* Black formatting
* Cleanup modified files
* Support schema permissions
* Add migration
* Make it work for slices as well
* TODO and remove unused field
* Apply schema access check to dashboards as well

Cleaner schema permissions check

Fetch schema permissions in 1 query

Bugfix

Better datasource check

Use security manager for permissions checks and remove dead code

Properly handle anon user

Add database permissions on the database updates

Fix schema filtering

Lint / flake changes

Increase cypress request timeout

Run black

Resolve multiple alembic heads

* Use set comprehensions

* Fixes for the pylint
2019-12-03 14:57:24 -08:00
Erik Ritter 43f637e403
[Explore] Fix annotation layer select box formatting (#8734) 2019-12-03 13:13:42 -08:00
Beto Dealmeida f8e15e1c55
Add protocol to cache warmup (#8721)
* Add protocol to cache warmup

* Update unit tests

* Fix wrong commit

* Update UPDATING.md

* Fix pylint
2019-12-03 10:51:06 -08:00
Craig Rueda fce49680d7 Docker support (#8725)
* Moving Docker stuff around

* docker-compose working as expected

* Updating README

* Addressing comments

* Utilizing requirements-extra
2019-12-03 18:37:18 +00:00
Grace Guo 69dcaca324
[explore] should not triger chart render when overlay is on (#8719) 2019-12-03 10:36:15 -08:00
Beto Dealmeida 606ac3255d
Migrate filter_immune_slice_fields (#8718) 2019-12-03 10:26:54 -08:00
Daniel Vaz Gaspar 0ed0031412
[jinja_context] Fix, allow for app factory pattern (#8693)
Better app factory pattern on jinja context and introduces tests for building docs
2019-12-03 09:42:57 +00:00
Daniel Vaz Gaspar 391d8303cb
[release] Fix, update superset docs process (#8680)
Introduces some automation on superset doc's build using docker
2019-12-03 09:37:33 +00:00
John Bodley 4e998be695
[fix] Druid IS NULL/IS NOT NULL filters (#8714) 2019-12-02 20:38:42 -08:00
Maxime Beauchemin 871af05f68 fix: #8711 CSS loads late and app flickers (#8715) 2019-12-02 17:20:43 -08:00
Erik Ritter 57631f8962
[SQL Lab] Fix unadjustable sql editor height (#8716) 2019-12-02 16:39:49 -08:00
Will Barrett bca2b91417 Split functionality out of views/database/__init__.py, re-enable pylint (#8713)
* Split functionality out of __init__.py, re-enable pylint

* Black, isort

* Test fix

* Remove commented-out code bit
2019-12-02 14:33:35 -08:00
Beto Dealmeida ac0e353a54
Update docs on gunicorn (#8710) 2019-12-02 10:57:05 -08:00
Maxime Beauchemin 6810174fcd
fix: vulnerabilities by running 'npm audit fix' (#8657) 2019-12-02 10:18:39 -08:00
Erik Ritter e06a138aad
[SQL Lab] Re-add erroneously removed css (#8707) 2019-12-02 10:09:21 -08:00
Ville Brofeldt bd91f334d9
fix: default missing values to zero on area chart (#8678)
* Add fill_value to area chart pivot

* Only fill for area chart

* Linting
2019-12-02 18:53:21 +02:00
Daniel Vaz Gaspar b2633a51d4
[docs] Fix, database deps table (#8692) 2019-11-29 13:48:39 +00:00
Daniel Vaz Gaspar 3690fb4979
[setup] Fix, sqlalchemy and sqlparse version interval (#8689) 2019-11-28 18:47:19 +00:00
Daniel Vaz Gaspar 517a643bd4
[databases] [mvc] remove encrypted extra from list of possible filter (#8679) 2019-11-28 09:02:45 +00:00
Erik Ritter 44d919c757
Prettify the frontend code (#8648)
* Add Prettier global configs

* Format js/jsx/ts/tsx/less files
2019-11-27 14:02:48 -08:00
Evan Rusackas e21f768a92 Only list tables in DB test if API returns them (which it doesn't) (#8681)
* only list tables if we get an array of them back (which we probably never will)

* nixing old/busted table display
2019-11-27 11:43:49 -08:00
Will Barrett 16c0599470 Disable deprecated druid connector by default (#8512)
* Disable deprecated druid connector by default

* Add a line in UPDATING.md for the configuration change

* Remove security tests related default-disabled feature

* More test updates

* black
2019-11-27 11:28:23 -08:00
Evan Rusackas 172b90ec50 Font styling consolidation (#8633)
* Font weights standardized

* now with more glob!

* Linting touchups

* caught a low-value color declaration

* first wave of font size alignment

* getting the CRUD styles caught up to speed.

* unneeded inline-block - float does that for ya.

* a few errant colors that snuck in.

* more font stylings.

* caught some more colors that needed variable alignment

* le typo

* whittle, whittle

* dead styles

* whittling

* whittling

* whittling away at font sizes

* since we appear to be adjusting icon sizes for optics, let's get this one too.

* Prettier 

* whittling at line height standardization.

* placing vars, take 1

* 2 more down...

* cleaning out some styles that had no real effect.

* seemingly no change if this is removed for consistency.

* allowing one 8px line height for proper icon placement - adding comment.

* last one, I reckon.

* linting fixes
2019-11-27 10:36:25 -08:00
Evan Rusackas f3555486f5 Filter edit icon component replaced with Font Awesome (#8600)
* replaced!

* added role to the FA image/button

* adding tabindex.

* capitalization of tabIndex matters. I'll have another cup of coffee now.

* added newine at end of file, added stylelint rule to track this.

* re-removing these files after merge conflict resolution.
2019-11-27 18:07:12 +00:00
Evan Rusackas 044348708e Fixing variable conflicts between Superset and Boot(swatch/strap) (#8650)
* Fixing @gray conflict between Superset and Bootswatch

* removing duplicate import... whoops!

* making bootswatch bend it's namespace rather than superset/
2019-11-27 17:53:46 +00:00
Daniel Vaz Gaspar 75c1378d1f
[release] Fix, release docs (#8646)
* [release] Fix, release documentation
2019-11-27 15:28:37 +00:00
Craig Rueda df2ee5cbcb Adding app context wrapper to Celery tasks (#8653)
* Adding app context wrapper to Celery tasks
2019-11-27 15:06:06 +00:00
Daniel Vaz Gaspar 96fb108894
[docs] Update changelog and updating for 0.35.1 (#8662) 2019-11-26 21:52:17 +00:00