Commit Graph

4912 Commits

Author SHA1 Message Date
Daniel Vaz Gaspar 1aab4c072c
[charts] Fix, double registration of charts API (#9134) 2020-02-14 08:46:24 +00:00
David Aaron Suddjian 966d321703
[docker] fix, Dockerfile for frontend builds (#9114)
* fix dockerfile for frontend builds

* fix paths

* empty commit for CI

* adjust version_info.json

* making version_info work

* rat

* fixing docker-compose node service

* address feedback
2020-02-12 15:48:24 +00:00
Daniel Vaz Gaspar 30b7064e30
Bump FAB to 2.2.3 (#9117) 2020-02-12 08:59:11 +00:00
Grace Guo a005e4568f
[logging] Add data_age for cached chart (#9121)
* [logging] Add data_age for cached chart

* set data_age be null when is not cached data
2020-02-11 13:11:17 -08:00
David Aaron Suddjian 2913063924 SIP-32: Moving frontend code to the base of the repo (#9098)
* move assets out, get webpack dev working

* update docs to reference superset-frontend

* draw the rest of the owl

* fix docs

* fix webpack script

* rats

* correct docs

* fix tox dox
2020-02-09 17:53:56 -08:00
Arian Treffer 0cf354cc88
Add support for Cockroach DB (#9043)
* Add support for Cockroach DB

* Add documentation, fix installation and style for CockroachDB

* Fix formatting for black
2020-02-08 12:07:02 +02:00
Craig Rueda 607cfd1f29
Moving away from using the root logger everywhere (#9099)
* Moving away from using the root logger everywhere

* self.logger -> logger
2020-02-07 23:38:48 -08:00
David Aaron Suddjian 3cbe228dc1
[dashboard] Fix for dashboard edit modal, loading user list (#9081)
* fix fetching list of potential dashboard owners

* show owners input before data is loaded

* unnecessary fragment
2020-02-07 14:52:35 -08:00
Daniel Vaz Gaspar 4f06236bc4
[datasources] Fix, Prevent gamma user's from accessing save datasources (#9091) 2020-02-07 17:00:47 -05:00
Rob DiCiuccio 161d211c07
SQL Lab: Use numpy structured arrays, fallback to JSON serialization (#9096)
* Use numpy structured arrays, fallback to JSON serialization

* Explicitly cast data as list when creating numpy array
2020-02-06 17:25:22 -08:00
John Bodley 8a138fbd03
[tox] Allowing running of specific tests (#9097) 2020-02-06 16:45:37 -08:00
Daniel Vaz Gaspar ea399047d9
[table] [columns] remove generic checkbox API (#9044) 2020-02-06 20:01:24 +00:00
David Aaron Suddjian f0d3892b26
[dashboard] Fix metadata state (#9088)
* use the full metadata object

* use ace editor for json
2020-02-06 10:00:27 -08:00
John Bodley f24f671a90
[fix] Temporary filename for CSV upload to Hive (#9093) 2020-02-05 15:57:22 -08:00
ʈᵃᵢ e5f5eed425
[chart] new, list view (react) (#8999)
* [charts] new, list view (react)

* DRY up template rendering

* fix i18n

* lint package.json
2020-02-05 12:42:42 -08:00
Grace Guo 26def813b0
[fix] Add Auto Refresh Dashboard user event into dashboard logging (#9087)
1. add logging
2. refactor general periodical render function
2020-02-05 12:25:01 -08:00
Will Barrett 47b5780c5c
Wrap tagging endpoints in a feature flag (disabled by default) (#9078)
* Wrap tagging endpoints in a feature flag (disabled by default)

* Add tests for new feature flag

* Reuse existing feature flag

* Add TAGGING_SYSTEM to feature flags defaulted to False
2020-02-05 11:10:13 -08:00
Daniel Vaz Gaspar 916d184076
[query] deprecate can_only_access_owned_queries (#9046) 2020-02-05 08:58:11 +00:00
Will Barrett fc1c9428e3
Do not show stacktraces on some intentionally-thrown errors (#9056)
* Do not show stacktraces on some intentionally-thrown errors

* Fix pylint error

* Fix JavaScript looking for the wrong key in error response from connection check

* format -> f-string

* Run black because PyCharm missed it on the last save
2020-02-05 07:01:43 +02:00
John Bodley 6cb4ce0e19
[fix] Issue with previously defined SQL configuration (#9082) 2020-02-04 13:37:01 -08:00
Daniel Vaz Gaspar 24ec89a800
[csv upload] Use python's named temp file (#9047)
* [csv upload] Use python's named temp file

* [csv upload] stream write uploaded file

* Added missing ensure that configured path exists

* Fix, lint

* [csv upload] remove python's tmp file default delete behaviour
2020-02-04 10:28:32 -08:00
David Aaron Suddjian d4d7134bf8
[explore] Modal to edit chart properties (#9051)
* chart edit modal

* remove commented code

* remove unused prop

* address PR feedback

* small tweak
2020-02-04 17:38:51 +00:00
Maxime Beauchemin 1a2ba56f46
[docs] add a link to versioned docs in the docs (#9069) 2020-02-04 17:18:23 +00:00
Will Barrett 540df268c2
Add Preset, Inc. to companies using Superset (#9076) 2020-02-03 14:29:38 -05:00
Grace Guo c9a4384b5e
[logging] Add flag for document visibility (#9070) 2020-02-03 11:29:02 -08:00
Grace Guo bee913bbb1
[domain sharding] Freeup main domain when domain sharding is enabled (#9060)
* [domain sharding] Freeup main domain when domain sharding is enabled

* add change per comment + extra cleanup
2020-02-03 11:28:39 -08:00
John Bodley 848c565c8c
[sip-15] Enabling SIP-15 by default (#9017) 2020-02-03 10:37:29 -08:00
zhxjdwh 010fdd20a1
add Dragonpass Com. Ltd. (#9075) 2020-02-03 09:39:18 -08:00
John Bodley 66fd177000
[sqla] Fixing ORDER BY logic (#9065) 2020-02-02 10:37:17 -08:00
semantiDan c5be4f4e08
update organisation name from WPSemantix to timbr.ai (#9068) 2020-02-02 10:36:56 -08:00
Erik Ritter f9c8ca5df2
[SQL Lab] Improve autocomplete performance (#9064) 2020-02-02 09:13:25 -08:00
John Bodley 7364024bba
[fix] Ensure that is_adhoc_metric returns a boolean (#9062) 2020-01-31 17:39:30 -08:00
Evan Rusackas bbe433784d
LESS is more (#9023)
* hover stuff

* pseudos

* lint

* condensation

* linebreaks before ampersands, where prettier allows.

* more condensing, adding whitespace above blocks, adding stylelint rule to enforce that.

* prettier

* a little DRYer
2020-01-31 09:38:31 -08:00
Erik Ritter c214cf1a43
[Viz/Query] Improve logging around cache hits (#9058) 2020-01-31 08:46:12 -08:00
Erik Ritter 47eecb84f5
[SQL Lab] Remove space after schema autocomplete (#9059) 2020-01-31 08:45:00 -08:00
Azhar Khan 2629c779af
[docs] update README.md Peak AI (#9052) 2020-01-30 13:56:37 +00:00
John Bodley 6416ef51ff
[UPDATING] Add metadata cache changes to 0.29.0 (#9050) 2020-01-29 20:22:46 -08:00
Will Barrett 9f4d8a5090
Add revert guidelines to CONTRIBUTING.md (#9018)
* Add revert guidelines to CONTRIBUTING.md

* Add note about age of PR

* Fix nits
2020-01-29 17:47:58 -08:00
John Bodley 51183b36f0
[sqllab] Showing schema length only when schema selected (#9041) 2020-01-29 16:06:57 -08:00
John Bodley 5738f9a159
[fix] Pivot table metric ordering (#9031) 2020-01-29 15:58:46 -08:00
aspedrosa 5f499b9545
Avoid fetch fav dashboard stat not logged in (#8527)
* 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
2020-01-29 15:45:20 -08:00
Will Barrett fd9a713c7e
Remove endpoints allowing arbitrary cache access (#9049) 2020-01-29 15:41:57 -08:00
Daniel Vaz Gaspar d5dbfc886d
[database] new, API table metadata (#9002)
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
2020-01-29 09:51:06 +00:00
Daniel Vaz Gaspar fb17acd122
[api] fix, set default columns to just id when not defined (#8982) 2020-01-29 09:41:40 +00:00
Will Barrett a4ed0758b0
Remove redirect endpoint /superset/explorev2 (#9038) 2020-01-29 00:33:08 -05:00
John Bodley a303c3c73e
[fix] Adding show to FAB CRUD set (#9040) 2020-01-28 17:19:16 -08:00
Rob DiCiuccio 2fc3d84b5a
Serialize nested columns as JSON strings (#9007) 2020-01-28 15:50:36 -08:00
John Bodley 162f81078e
[routes] Re-adding FAB API routes for TableColumnInlineView (#9036) 2020-01-28 13:48:58 -08:00
John Bodley a267446f7b
[routes] Re-adding FAB API routes for SqlMetricInlineView and TableModelView (#9035) 2020-01-28 11:00:48 -08:00
John Bodley dc60db2a43
[fix] Reverting metic logic from #8901 (#9030) 2020-01-27 22:28:42 -08:00