Jesse Yang
b89a5d6660
fix: dashboard cache invalid join query ( #11369 )
...
* bugfix: dashboard cache invalid join query
* Use engine instead of session
2020-10-22 12:47:59 -07:00
Beto Dealmeida
633355ab00
feat: export charts as ZIP files ( #11349 )
...
* Export datasets as ZIP files
* Add logging when failing to parse extra
* Export charts as Zip file
* Fix lint
2020-10-22 12:06:58 -07:00
Beto Dealmeida
00e394451f
feat: export datasets as ZIP files ( #11332 )
...
* Export datasets as ZIP files
* Add logging when failing to parse extra
* Fix logging
2020-10-22 10:32:08 -07:00
Daniel Vaz Gaspar
b86f779dc1
feat: add statsd metrics to FAB rest API post, put and delete ( #11362 )
2020-10-22 08:56:26 +01:00
Ville Brofeldt
dcf12762b3
chore(prophet): ignore logged warning for missing plotly package ( #11334 )
...
* chore(prophet): ignore logged warning for missing plotly package
* reset log level after import
2020-10-22 07:27:02 +03:00
Moriah Kreeger
a2a614d760
feat: CSS Templates List Actions ( #11271 )
2020-10-21 20:32:59 -07:00
Rob DiCiuccio
c4effe1261
Log warning for failure to get table/view names from DB ( #11374 )
2020-10-21 20:09:24 -07:00
Maxime Beauchemin
f6436b7652
fix: 'Save Chart' modal's dashboard dropdown isn't sticky ( #11338 )
...
It appears that the logic that makes the dashboard selection sticky
in the 'Save Chart' modal (explore) was broken at some time.
While working on a dashboard, it's nice if this modal can remember the
dashboard selection.
2020-10-21 17:30:19 -07:00
Evan Rusackas
6fe7b4a202
feat: adding feature flags to escape/hide html in markdown ( #11340 )
...
* utilizing feature flag for html escapement
* use src alias
* Feature flag to allow hiding of HTML tags
* strips js attr
* better feature flag naming
* simplifying
* Adding comments to new feature flags
* shorter comment, because pylint,
* pedantic change to get black to format a file
2020-10-21 15:07:27 -07:00
Daniel Vaz Gaspar
f14cf9d6dc
fix: saved_query search on schema and database not working ( #11286 )
...
* fix: saved_query search on schema and database not working
* add tests
2020-10-21 21:17:25 +01:00
Hugh A. Miles II
dfbcbcce67
fix: Allow "EXPLAIN" queries when "Allow DML" setting is False ( #11348 )
...
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
2020-10-21 12:58:57 -07:00
serenajiang
54c2ad4308
fix(sqla): allow 'unknown' type queries in explore view ( #11365 )
2020-10-21 10:24:52 -07:00
Maxime Beauchemin
796a2a6924
fix: error around latest partition in BigQuery ( #11274 )
...
* fix: error around latest partition in BigQuery
* lint
* Going with a backend-first approach
* fix test
* add an extra test
2020-10-20 21:34:46 -07:00
Maxime Beauchemin
c360413fc2
style(menu): clean up right menu - leaving only "Settings" ( #11227 )
...
* style(menu): clean up right menu - leaving only settings
* bring pre-commit back
* fix frontend tests
* pre-commit
* re-introduce subtle '+'
2020-10-20 21:33:28 -07:00
Lily Kuang
9f8d0e7a06
fix: update table_name and schema on dataset editor ( #11218 )
...
* fix dataset editor for updating table_name and schema
* update test
* remove table_name from restrict list
* fix pylint
* fix cypress test
* fix test
2020-10-20 09:38:57 -07:00
Kasia Kucharczyk
55c2892e9b
Fix: bring back type ignore for config import ( #11333 )
2020-10-19 23:11:07 +03:00
Ville Brofeldt
917d02efbd
fix(chart-api): cached-indicator always shows value is cached ( #11326 )
2020-10-19 16:46:42 +03:00
Maxime Beauchemin
a1f8429b4e
chore: make config ENABLE_REACT_CRUD_VIEWS = True by default ( #11259 )
...
React CRUD views have been maturing for a while and are ready for prime
time!
2020-10-18 21:37:41 -07:00
Beto Dealmeida
94e23bfc82
feat: export databases as a ZIP bundle ( #11229 )
...
* Export databases as Zip file
* Fix tests
* Address comments
* Implement mulexport for database
* Fix lint
* Fix lint
2020-10-16 11:10:39 -07:00
rubenSastre
4f0a06dda5
fix: button translations missing ( #11187 )
...
* button translations missing
* blank space before text
2020-10-15 21:27:26 -07:00
Jesse Yang
dde69d82b3
fix: use dashboard id for stable cache key ( #11293 )
2020-10-15 17:09:03 -07:00
ʈᵃᵢ
233e67a854
fix: add schema name to datasource field in chart list ( #11278 )
2020-10-15 14:12:21 -07:00
adam-stasiak-polidea
fc03549299
chore: Added data-test attributes for testing ( #11254 )
...
* Added data-test attributes for testing
* fixed incorrect naming change
* review changes
2020-10-14 16:12:01 -07:00
Jesse Yang
0262daa228
fix: delete the correct dashboard cache key ( #11273 )
...
* bugfix: delete dashboard cache key correctly
* update version number
2020-10-14 15:37:59 -07:00
ʈᵃᵢ
a6224a2ed2
fix(query search): use new api to fetch users ( #11260 )
2020-10-14 13:52:48 -07:00
Jesse Yang
634676d467
refactor: use contextmanager for event_logger decorators ( #11222 )
2020-10-14 10:44:06 -07:00
Yongjie Zhao
22d8171dd6
chore(engine): adapt postgres backend connection URI ( #11233 )
...
* chore(engine): adapt postgres backend connection URI
* fix tests
* Update superset/db_engine_specs/__init__.py
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com >
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com >
2020-10-14 18:57:41 +03:00
Beto Dealmeida
7594161856
fix: do not import superset_config on tests ( #11193 )
...
* Do not import superset_config on tests
* Use strtobool
2020-10-14 07:54:31 -07:00
Jesse Yang
2c649ac20f
perf: cache dashboard bootstrap data ( #11234 )
2020-10-13 18:43:06 -07:00
Erik Ritter
16f7b2b525
fix: improve time compare range error ( #11252 )
2020-10-13 16:00:39 -07:00
Jesse Yang
d7eb1d476f
perf: speed up uuid column generation ( #11209 )
2020-10-13 13:29:49 -07:00
Jesse Yang
6d8541e3b6
test: add admin to the owners of birth_names slices ( #11228 )
2020-10-13 10:31:49 -07:00
John Bodley
51fec1ab16
fix: Ensure consistent naming for testconn ( #11246 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2020-10-13 09:53:03 -07:00
Grace Guo
4f4367edf3
feat: prevent co-edit dashboard collision ( #11220 )
...
* feat: prevent co-edit dashboard collision
* fix comments
2020-10-12 17:58:32 -07:00
Erik Ritter
6cf698cc6a
chore: deprecate REDUCE_DASHBOARD_BOOTSTRAP_PAYLOAD ( #11244 )
2020-10-12 17:31:56 -07:00
Maxime Beauchemin
ae87b0c767
fix: questioning a few lines that force an ORDER clause ( #11153 )
...
* draft: questioning a few lines that force an ORDER clause
* sorting by main metric DESC by default
2020-10-12 14:53:37 -07:00
Daniel Vaz Gaspar
9e9dac68f7
feat(datasets): REST API bulk delete ( #11237 )
...
* feat(datasets): REST API bulk delete
* doc HTTP 400
2020-10-12 13:40:05 +01:00
Ville Brofeldt
9f3d089655
chore(sqla): assert query is single read-only statement ( #11236 )
2020-10-12 15:11:43 +03:00
Ville Brofeldt
e647286393
chore(sql-lab): catch PyArrow deserialization error ( #11201 )
2020-10-12 10:16:00 +03:00
John Bodley
513bf10a38
chore: Leverage SQLALchemy ping rather than explicit SELECT 1 for testconn ( #11223 )
2020-10-11 12:44:15 -07:00
Bogdan
cb3f649a7f
chore: simplify alerting data model to leverage a single class ( #11179 )
...
* Collapse alerting models into a single one
Fixing upgrade migration & tests
* Address feedback
Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com >
2020-10-09 19:20:12 -07:00
Moriah Kreeger
a6fc3d2384
feat: CSS Templates List ( #11189 )
2020-10-09 16:32:31 -07:00
Grace Guo
a10e86ab31
fix: revert eTag cache feature for dashboard ( #11203 )
...
* revert #11137
* revert #10963
2020-10-08 12:15:08 -07:00
Daniel Vaz Gaspar
7c60939429
chore: turn SQL templating off by default ( #11172 )
...
* feat: possible to turn off SQL templating
* turn SQL templating off by default
* Update UPDATING.md
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com >
* fix missing PR number
* fix missing PR number
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com >
2020-10-08 11:55:39 +01:00
Beto Dealmeida
9785667a0d
feat: add UUID column to ImportMixin ( #11098 )
...
* Add UUID column to ImportMixin
* Fix default value
* Fix lint
* Fix order of downgrade
* Add logging when downgrade fails
* Migrate position_json to contain UUIDs, and add schedule tables
* Save UUID when adding charts to dashboard
* Fix heads
* Rename migration file
* Fix dashboard serialization
* Fix migration script with Postgres
* Fix unique contraint name
* Handle UUID when exporting dashboard
* Fix Dataset PUT
* Add UUID JSON serialization
* Fix tests
* Simplify logic
* Try binary=True
2020-10-07 09:00:55 -07:00
John Bodley
6e0d1b8409
chore: cleanup FAB update perms ( #11155 )
...
* chore: Using cache factory method
* chore: Deprecate outdated FAB_UPDATE_PERMS information
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2020-10-07 08:33:41 -07:00
Ville Brofeldt
1fa8bf7d7b
fix(viz): downgrade exception for missing viz/datasource ( #11173 )
...
* fix(viz): downgrade exception for missing datasource
* add translations
2020-10-07 15:16:51 +03:00
Lily Kuang
2eb400a2fc
chore: remove SIP_34_SAVED_QUERIES_UI feature flag ( #11175 )
2020-10-06 15:13:41 -07:00
Jesse Yang
38dccf9e12
fix: enable consistent etag across workers and force no-cache for dashboards ( #11137 )
...
* fix: enable consistent etag across workers
* Use CACHE_DEFAULT_TIMEOUT instead of 0
* Change timeout to 0 and set expires header even for no-cache
* Reduce number of if branches to appease Pylint
* Fix mypy error
2020-10-06 09:43:43 -07:00
John Bodley
5e0603f957
chore: Remove obsolete creating missing metric permissions ( #11143 )
2020-10-04 09:16:29 -07:00