* remove word cloud from viz.py
* Fix Run in SQL Lab
* remove deprecated python tests
* break out legacy endpoint type into function
* Break out exploreChart from exportChart and implement results type
* Fix jest tests and refactor accordingly
* lint
* Rename v1 payload function
* Add dashboard id to v1 chart data request url params
* Add support for domain sharding to v1 chart data request
* Visualize after running Ctas query (#4)
* Visualize after running Ctas query.
Stub for table viz
Work on the viz
Add JS functionality for Ctas viz
Add test for the table viz flow
Fix test
Add js test for the ctas viz
* Fix tests
* Resolve comments
* Leverate tmpSchema in the query object
* Fix i18n string
Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com>
* Make schema name configurable
Fixing unit tests
Fix table quoting
Mypy
Split tests out for sqlite
Grant more permissions for mysql user
Postgres doesn't support if not exists
More logging
Commit for table creation
Priviliges for postgres
Update tests
Resolve comments
Lint
No limits for the CTA queries if configures
* CTA -> CTAS and dict -> {}
* Move database creation to the .travis file
* Black
* Move tweaks to travis db setup
* Remove left over version
* Address comments
* Quote table names in the CTAS queries
* Pass tmp_schema_name for the query execution
* Rebase alembic migration
* Switch to python3 mypy
* SQLLAB_CTA_SCHEMA_NAME_FUNC -> SQLLAB_CTAS_SCHEMA_NAME_FUNC
* Black
* Avoid fetch fav dashboard stat not logged in
* Fix old Header tests and add a new one
* Add userId to other Header tests to be consistent
* Format code to make 'prettier' tests pass
Migrates and completely removes: '/superset/table/<database_id>/<table_name>/<schema>/'
- Guarantees database filtering based on the user permissions
- Full OpenAPI spec
- Better error handling
* first pass
* whittling unused code
* updating to shortened name
* removing unnecessary z-index
* removing unnecessary flexbox vendor prefixing
* hover pseudoclass not needed for cursor styling.
* Seemingly unnecessary z-indices on ACE content editor in dashboard
* seemingly uused styles.
* seemingly unncessary z-index setting
* seemingly unnecessary z-index
* LESS is more
* nixing antiquated gridster styles
* clearing out unnecessary z-indices
* adding z-dashedits layer
* removing a seemingly unnecessary z-index
* renaming var... more of a layer than edit-situation
* nixing unused z-indices
* moving to var
* comments/org
* moving to var. Lower value, but seems fine.
* usage note
* formatting/linting ✨
* better notes/labeling
* dash -> dashboard
* Do or do not. There is no try.
* no comment
* z-... -> z-index-...
Co-authored-by: Maxime Beauchemin <maximebeauchemin@gmail.com>
* fix: shut off all uneeded endpoints
We recently added a new feature to FAB allowing to whitelist the needed
endpoints in ModelView and ModelRestApi.
First, we set our base wrapper class to an empty set, forcing each
class inheriting from it to explicitely turn on the endpoints that
Superset intends to use.
Second, we go ModelView by ModelView to whitelist the actual endpoints
used in the app.
Notes:
* as a result a large set of [unneeded] permissions should be cleaned up
* outside of the "private" use of endpoints in the app, people that have
been using endpoints in their environment for other purposes may
experience loss of functionality
* Tweaking
* Reduce the amount of endpoints using white lists
* Fix, included needed endpoints for dashboard and druid
* Drying things up
* fixes
* limiting more endpoints
* Read only on some FAB model views
* fixing some tests
* fixes
* Fixing more tests
* Addressing comments
* Drying up route_methods
* further drying
Co-authored-by: Daniel Vaz Gaspar <danielvazgaspar@gmail.com>
* parameterizing dot for easy resizing.
* first pass
* all timing normalized
* seeing no need to 'reset' this transition
* getting most border radii, a little light linting.
* parameterizing dot dimensions
* [sip-15] Displaying endpoints for all start/end time ranges
* Update superset/assets/src/explore/components/controls/DateFilterControl.jsx
Co-Authored-By: Erik Ritter <erik.ritter@airbnb.com>
* Update superset/assets/src/explore/components/controls/DateFilterControl.jsx
Co-Authored-By: Erik Ritter <erik.ritter@airbnb.com>
* Update DateFilterControl.jsx
Co-authored-by: Erik Ritter <erik.ritter@airbnb.com>
* Bumping less-loader
* moving/updating styles, with a bit of linting as I go.
* more whittling
* caught a couple more colors
* reverting plugin config changes I was hacking around with.
* toast messages now use status colors across the board.
* no more pink.
* expanding scope of linting
* a little more CSS linting
* fixing popover adhoc metric title height issue
* eslint: Ignoring nore modules in subfolders
* Use PyArrow Table for query result serialization
* Cleanup dev comments
* Additional cleanup
* WIP: tests
* Remove explicit dtype logic from db_engine_specs
* Remove obsolete column property
* SupersetTable column types
* Port SupersetDataFrame methods to SupersetTable
* Add test for nullable boolean columns
* Support datetime values with timezone offsets
* Black formatting
* Pylint
* More linting/formatting
* Resolve issue with timezones not appearing in results
* Types
* Enable running of tests in tests/db_engine_specs
* Resolve application context errors
* Refactor and add tests for pyodbc.Row conversion
* Appease isort, regardless of isort:skip
* Re-enable RESULTS_BACKEND_USE_MSGPACK default based on benchmarks
* Dataframe typing and nits
* Renames to reduce ambiguity
* move cypress into it's own directory with package.json
* update contributing and include cypress fixtures dir
* newline
* fix rebase
* add cypress dep
* bump cypress
* fix: don't show filter popover on explore view load
There's this confusing "feature" that I thought was a bug that shows the
metric popover opened when entering the explore view when the filter
comes from an active dashboard filter, based on the "fromFormData"
attribute of the filter.
The popover is confusing and often shows as misaligned with the actual
element it's supposed to float over when overflowing.
* warn
* fix cypress
* also shut off metrics