Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Viz 447 up to date with master #99

Closed
wants to merge 389 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
389 commits
Select commit Hold shift + click to select a range
8a5b898
New entry into superset user (#9259)
Better-Boy Mar 9, 2020
d8fea64
removing safari "fix" for ACE editor font width jank. (#9264)
rusackas Mar 9, 2020
9924222
Adds default username and password created at installation to documen…
Mar 10, 2020
116200c
fix: change database save in DatasourceEditor (#9255)
mistercrunch Mar 10, 2020
753aeb4
fix: upgrade legacy table chart to 0.11.17 (#9269)
ktmud Mar 10, 2020
c04d616
feat: add rolling window support to 'Big Number with Trendline' viz (…
mistercrunch Mar 10, 2020
724b8a3
[fix] copy filter_scopes with duplicate charts (#9271)
Mar 10, 2020
3682702
fix: add connection testing params for snowflake (#9272)
villebro Mar 11, 2020
406ad87
fix: remove duplicate metric from bullet chart (#9274)
villebro Mar 11, 2020
c9c1801
fix(table-chart): bump legacy-table-chart to 0.11.18 (#9275)
ktmud Mar 11, 2020
c0f0d45
[requirements] Bumpy Celery (#9277)
john-bodley Mar 11, 2020
fe2dd75
fix: bump legacy-table-chart to 0.11.20 (#9286)
ktmud Mar 11, 2020
78ba7d5
[dashboard][api] Fix, PUT publish/draft to not clean slug and owners …
dpgaspar Mar 12, 2020
0c8c4d6
[api] Fix, related fields need to be explicitly defined (#9283)
dpgaspar Mar 12, 2020
1cbd955
[SIP-36] Migrate RunQueryActionButton.jsx to RunQueryActionButton.tsx…
asif-ir Mar 13, 2020
e9b0095
Docker-Compose Memory Issue Fix? (#9285)
craig-rueda Mar 13, 2020
f80fadf
Reduce dashboard bootstrap payload (#9284)
Mar 13, 2020
5767fb1
[datasets] new, listview (react) (#9197)
nytai Mar 13, 2020
91f3cb9
fix: bump click in setup.py and requirements.txt (#9299)
villebro Mar 13, 2020
f6f40c8
[Charts] Use the Edit Properties modal throughout React views (#9267)
suddjian Mar 13, 2020
b1916a1
Fixed two typos in the README (#9305)
mfharding Mar 14, 2020
8764ae3
[sqllab] fix exception caused by casting string to int with psycopg2 …
nytai Mar 16, 2020
f1370c5
fix: add saved metrics to point size metric dropdown in deckgl scatte…
villebro Mar 16, 2020
85e9a4f
[datasets] fix typo (#9312)
nytai Mar 16, 2020
6cf36c9
fix: big number to handle NULL as it did in the past (#9314)
mistercrunch Mar 17, 2020
982c234
fix: remove character set and collate column info by default (#9316)
villebro Mar 17, 2020
8f7ce16
bump FAB to 2.3.0 (#9318)
nytai Mar 17, 2020
c36a7e3
chore: allow webpack-dev-server proxy to any destination (#9296)
ktmud Mar 17, 2020
98ac720
Add Iran to Country Visualization (#8940)
ali-bahjati Mar 18, 2020
adebd40
[cache warm_up] warm_up slice with dashboard default_filters (#9311)
Mar 18, 2020
104f3d2
fix: cannot assign to read only property exports of object (#9319)
kristw Mar 18, 2020
f1edceb
fix: handle list of lists from fetch_data (#9322)
villebro Mar 18, 2020
d7ea41a
Revert "[requirements] Bumpy Celery (#9277)" (#9323)
Mar 18, 2020
4659883
show edit modal on dashboards list view (#9211)
suddjian Mar 19, 2020
ff703cf
[chart] fix, bulk delete endpoint and error message (#9330)
nytai Mar 19, 2020
c4b53a7
Build: optimize frontend build configs to improve superset-ui-plugin …
ktmud Mar 19, 2020
ccf21f6
feat: bump deckgl plugin version (#9325)
kristw Mar 20, 2020
c34df6b
[dashboard] Refactor API using SIP-35 (#9315)
dpgaspar Mar 20, 2020
232925b
[requirements] Telling Celery 4.4.1 it is not welcome here (#9331)
john-bodley Mar 20, 2020
5e6662a
fix: suburst chart when secondary metric is defined (#9343)
villebro Mar 22, 2020
f4087d2
refactor: remove settooltip (#9332)
kristw Mar 23, 2020
5d98575
[config] Fixing GET_FEATURE_FLAGS_FUNC example (#9339)
john-bodley Mar 23, 2020
866f6f9
feat: [SQLLAB] add checkbox to control autocomplete (#9338)
nytai Mar 24, 2020
20dd418
Cal heatmap controls migration (#9355)
rusackas Mar 24, 2020
b5a9bae
migrating unique EventFlow controls (#9358)
rusackas Mar 24, 2020
3d738ee
Treemap controls migration (#9352)
rusackas Mar 24, 2020
98a71be
feat: [explore] don't save filters inherited from a dashboard (#9340)
mistercrunch Mar 24, 2020
f51ab59
[charts] Refactor API using SIP-35 (#9329)
dpgaspar Mar 24, 2020
46e39d1
Add global install of webpack and webpack-cli to docker-compose (#9310)
Mar 24, 2020
ccb22dc
[dataset] columns and metrics API (nested) (#9268)
dpgaspar Mar 24, 2020
06e0f04
Adding requirements-local.txt support (#9357)
craig-rueda Mar 24, 2020
fe53555
Migrate unique Heatmap controls (#9360)
villebro Mar 24, 2020
634b440
fix: don't parseFloat when the *already numeric* value ends in a deci…
rusackas Mar 24, 2020
43f0221
[sip-15] Fixing typo in docstring (#9377)
john-bodley Mar 25, 2020
6b0f62a
[explore view] fix long query issue from Run in SQL LAB Button (#9345)
Mar 25, 2020
4fd5ac9
fix a typo in set prop value (#9383)
Mar 25, 2020
0061a3e
Migrating unique DirectedForce controls (#9359)
rusackas Mar 26, 2020
9eb5bad
Update MANIFEST.in (#9261)
Mar 26, 2020
f5cc0ef
fix: [dashboard] add row padding (#9381)
nytai Mar 26, 2020
d5e2f7e
Removing WordCloud controls from CONTRIBUTING.md (#9391)
rusackas Mar 26, 2020
5b07c8d
[dashboard] handle markdown error (#9350)
Mar 26, 2020
19da904
[cache] Cleaning up viz/cache logic (#9375)
john-bodley Mar 26, 2020
bf0fa84
migrating controls 🎛 (#9386)
rusackas Mar 26, 2020
7e86e38
Migrating unique Table controls (#9388)
rusackas Mar 26, 2020
ccff6be
Migrating unique BoxPlot controls (#9392)
rusackas Mar 26, 2020
cfa7868
upgrade to react-bootstrap v0.33.1 (#9372)
suddjian Mar 26, 2020
b12188e
migrating unique controls (#9374)
rusackas Mar 26, 2020
9fcdc93
Migrating horizon controls (#9368)
rusackas Mar 26, 2020
77fcc4b
build: use manifest hooks for dev server proxy and fix hot reload fo…
ktmud Mar 26, 2020
98a26c4
migrating controls (#9373)
rusackas Mar 27, 2020
40bc1b3
[dataset] New, export API endpoint (#9367)
dpgaspar Mar 27, 2020
8197196
[charts] New, bulk delete API endpoint (#9387)
dpgaspar Mar 27, 2020
742887b
[sip-15] fix messaging (#9397)
john-bodley Mar 27, 2020
fd22788
Mirgrating unique Partition chart controls (#9385)
rusackas Mar 27, 2020
499f9c8
feat: add SSL certificate validation for Druid (#9396)
villebro Mar 27, 2020
e63cb52
[fix] Fixing cache key inconsistencies (#9382)
john-bodley Mar 28, 2020
2e81e27
[dependency] Fix, Bump FAB to 2.3.1 (#9413)
dpgaspar Mar 29, 2020
ec795a4
[mypy] Enforcing typing for charts (#9411)
john-bodley Mar 29, 2020
752de8f
[dashboards] Fix, API update slug uniqueness refusing empty string (#…
dpgaspar Mar 30, 2020
3d8a2b8
Build: fix hot reload for charts (#9400)
ktmud Mar 30, 2020
ce3031b
[fix] allow force refresh for No Results chart (#9408)
Mar 30, 2020
a9ff51b
[fix] dashboard filter indicator no showing single number value (#9401)
Mar 30, 2020
893c955
fix pagination for list views (#9425)
nytai Apr 1, 2020
f0f4f7e
feat(visualization): add timeRangeFixed to Big Number w/ Trendlines (…
ktmud Apr 1, 2020
621b481
[fix]some translation not work better (#9428)
venter-zhu Apr 2, 2020
e33f6c2
Add check for SSL certificate and add form validators (#9436)
villebro Apr 2, 2020
c003189
migrating unique controls (#9446)
rusackas Apr 2, 2020
c53bc4d
Enforcing linting of LESS (#9356)
rusackas Apr 2, 2020
9e79cf3
Migrating unique bigNumber(total) controls (#9440)
rusackas Apr 2, 2020
cd57233
Migrating unique NVD3 viz controls (#9445)
rusackas Apr 3, 2020
265a2fe
Migrating NVD3 Area's stacked_style config (#9454)
rusackas Apr 3, 2020
1cdfb82
Eslint prefer-object-spread (#9466)
rusackas Apr 4, 2020
5e55e09
[mypy] Enforcing typing for some modules (#9416)
john-bodley Apr 4, 2020
801e2f1
chore: bump black to 19.10b0 and mypy to 0.770 (#9378)
ktmud Apr 4, 2020
8dd92f7
release: Add support for ZSH in RELEASING and add tagging instruction…
villebro Apr 6, 2020
25e38f6
Added dremio (#9472)
narendrans Apr 6, 2020
c0807c1
[query] New, readonly API (#9403)
dpgaspar Apr 6, 2020
dcb7b83
[mypy] Enforcing typing for superset.examples (#9469)
john-bodley Apr 6, 2020
b6bca9f
Migrating shared DeckGL controls (#9455)
rusackas Apr 7, 2020
b487834
[Doc] Update installation doc for Dremio (#9464)
narendrans Apr 7, 2020
f9db3fa
[mypy] Enforcing typing for superset.dashboards (#9418)
dpgaspar Apr 7, 2020
4be8275
[datasets] Add strict type annotation (#9437)
dpgaspar Apr 7, 2020
5e53506
Filter owners select by text input (#9337)
suddjian Apr 7, 2020
a52b9ee
Handle empty dataframes in TableViz (#9480)
elukey Apr 7, 2020
72f051f
[sqllab] Add CUSTOM_TEMPLATE_PROCESSOR config (#9376)
dandanhub Apr 7, 2020
4485800
[tests] refactor, change datasets and charts to it's own folder (#9487)
dpgaspar Apr 8, 2020
980dd2f
pylint: accept specific 2 character names by default (#9460)
villebro Apr 8, 2020
fd85696
Upgrade table chart plugin to 0.12.13 (#9493)
ktmud Apr 9, 2020
36cd541
feat: change default time range in sql lab explore (#9486)
ktmud Apr 9, 2020
5565895
fix: add explore control tabOverride at the section level (#9495)
ktmud Apr 9, 2020
0610c48
[query] Migrate api v1 query to new location (#9479)
dpgaspar Apr 9, 2020
ecfc1f1
Bump FAB to 2.3.2 (#9491)
dpgaspar Apr 9, 2020
bb80cea
[dashboards] Fix, update dashboard owners not propagating to charts o…
dpgaspar Apr 9, 2020
b39e78f
[dashboards] New, tittle and slug OR filter (#9435)
dpgaspar Apr 9, 2020
5ec0192
fix: add lineWidth to Shared_DeckGL.jsx (#9496)
villebro Apr 9, 2020
a8ce3bc
feat: Add post processing to QueryObject (#9427)
villebro Apr 10, 2020
02b3fb1
Add visualization flow to the CTA queries (#9370)
bkyryliuk Apr 10, 2020
11ac8c7
Bump sqlalchemy and dremio deps (#9503)
villebro Apr 11, 2020
622561f
[charts] New, custom filter for name OR description (#9492)
dpgaspar Apr 11, 2020
a797465
docker node_modules in its own volume (#9509)
octaviancorlade Apr 11, 2020
f90824f
[Dashboard] new listview filters & emotion infra (#9462)
nytai Apr 13, 2020
cf6422c
chore: auto label issues based on the template chosen (#9507)
mistercrunch Apr 13, 2020
f29d0fd
control to turn off table bar-chart backgrounds (#9500)
rusackas Apr 13, 2020
c1f8c9e
Another attempt to fix a viz.py bug (#9522)
Apr 14, 2020
9447381
deprecate groupby controls in query_obj (#9366)
villebro Apr 14, 2020
925d8b5
[dashboard] Fix, improve test for custom filter (#9521)
dpgaspar Apr 14, 2020
c343c2f
[api] refactor, remove unnecessary code, using command pattern now (#…
dpgaspar Apr 14, 2020
6270f7d
Importing validators module from superset-ui (#9465)
rusackas Apr 14, 2020
aef06de
Fix typo in viz.py (#9533)
Apr 14, 2020
7b4b0d1
[Build] Add Github workflows (#9517)
ktmud Apr 14, 2020
1d7900a
Disabling recording in Cypress tests (#9535)
craig-rueda Apr 14, 2020
fd89900
Run CI on all pushes / PR's (#9538)
craig-rueda Apr 15, 2020
1ccda92
[list views] add work-break css for table layouts (#9537)
nytai Apr 15, 2020
d81f720
[thumbnails] API and celery task for dashboards and charts (#8947)
dpgaspar Apr 15, 2020
ef5e11f
[copy] fix: Row Level Security get_rls_filters func SELECT statement …
axelet Apr 15, 2020
3574a3a
Make email parsing more robust (#9523)
bkyryliuk Apr 15, 2020
4afedf1
docs: point our README the maintained Docker image (#9536)
mistercrunch Apr 15, 2020
8476de9
Bump copyright notice (#9539)
villebro Apr 15, 2020
403d5d6
Ditching travis config in favor of Github Actions (#9548)
craig-rueda Apr 15, 2020
d9ebd32
Bump @superset-ui/legacy-plugin-chart-table to 0.12.14 (#9549)
ktmud Apr 15, 2020
7b11b44
[dashboard] New, add statsd metrics to the API (#9519)
dpgaspar Apr 16, 2020
074e365
[fix] warm up cache error handling (#9560)
john-bodley Apr 16, 2020
4a55e1e
[fix] dashboard filter scope bug (#9550)
Apr 16, 2020
d8de540
[Build] Collect frontend code coverage from Cypress tests (#9555)
ktmud Apr 17, 2020
427d2a0
chore: Migrate unique FilterBox controls from controls.jsx (#9566)
villebro Apr 17, 2020
8e439b1
chore: Add OpenAPI docs to /api/v1/chart/data EP (#9556)
villebro Apr 17, 2020
ecf1aba
[pypi] Include compiled translations on Pypi pkg (#9567)
dpgaspar Apr 17, 2020
1b02b5b
doc: Add changelog for 0.36.0 (#9570)
villebro Apr 17, 2020
ea27e68
Migrating shared NVD3 controls to new module (#9525)
rusackas Apr 17, 2020
0472c11
fix: Add deprecated fields to QueryObject schema (#9579)
villebro Apr 18, 2020
636ee5d
[mypy] Enforcing typing for superset.migrations (#9583)
john-bodley Apr 19, 2020
06471f5
Re-enable the AnnotationLayerModelView read API (#9443)
Apr 19, 2020
083dd6a
[config] Enable dashboard bootstrap payload reduction by default (#9585)
Apr 19, 2020
2295999
[docs] fix, elastic.co elasticsearch product location (#9598)
dpgaspar Apr 20, 2020
237ac59
[fix] Fixing issue with Jinja filter_value (#9582)
john-bodley Apr 20, 2020
cb51d78
[Build] moves prettier check to separate script (#9591)
nytai Apr 20, 2020
132d774
Add documentation build to Github Actions (#9569)
Apr 20, 2020
2b957a2
Add raw number/integer option to d3 number formats (#9562)
ktmud Apr 21, 2020
ba691d3
Bump superset-ui-connection to 0.12.22 (#9602)
Apr 21, 2020
7cefc89
[charts] feat: add statsd to charts api (#9571)
Apr 21, 2020
9cf33e9
[tests] Helper script to run single tests (#9547)
dpgaspar Apr 21, 2020
0b999e3
[charts] adds new filters ui (#9530)
nytai Apr 21, 2020
dcbffed
[SQL Lab] Lock result set controls to be always visible (#9587)
Apr 21, 2020
d052f47
improve helm chart (#9346)
fbalicchia Apr 22, 2020
cba82cf
[statsd] Send time metrics in ms not seconds (#9614)
dpgaspar Apr 22, 2020
c3307fa
fix: move docs image symlink to _static (#9592)
villebro Apr 22, 2020
85778f5
fix: broken IS NULL and IS NOT NULL operator (#9613)
villebro Apr 22, 2020
7b33d54
fix: change number format to original value to "~g" (#9608)
ktmud Apr 22, 2020
f8adfc8
use new @superset-ui/style package for theming (#9605)
suddjian Apr 22, 2020
76764ac
[sql_lab] Improve performance, only use slow func when needed (#9612)
dpgaspar Apr 23, 2020
a6cedaa
chore: Improve chart data API + schemas + tests (#9599)
villebro Apr 23, 2020
8ae92b5
[fix] Fixing regression from #9161 (#9641)
john-bodley Apr 24, 2020
7386b01
Cast raw 'fetch_values_predicate' to Sqlalchemy Text (#9643)
vnnw Apr 24, 2020
955a4fe
[fix] Automatically add relevant Jinja methods to cache key if presen…
john-bodley Apr 24, 2020
b272007
[datesets] feat: add statsd to datasets api (#9577)
Apr 24, 2020
7d5f449
docs: remove references to superset-ui-plugins (#9639)
ktmud Apr 24, 2020
1c656fe
[mypy] Enforcing typing for a number of modules (#9586)
john-bodley Apr 24, 2020
29dd989
[dashboard] increase tab count limit (#9640)
Apr 24, 2020
5e4c291
Controls cleanup pass (#9578)
rusackas Apr 24, 2020
516bdf6
fix(mssql): apply limit and set alias for functions (#9644)
dpgaspar Apr 27, 2020
f07ca7d
fix(database): test connection error message for module not found (#9…
dpgaspar Apr 27, 2020
e8c3803
chore(ts): refactor and migrate StackTraceMessage to TypeScript (#9663)
Apr 27, 2020
c474ea8
[fix] Push browser history on pagination in react listviews (#9624)
Apr 28, 2020
a52cfcd
feat: Add geospatial post processing operations (#9661)
villebro Apr 28, 2020
9d755bc
[fix] Support APP_ICON_WIDTH configuration parameter in SPA menu (#9666)
nruhe Apr 28, 2020
13aa889
gotta catch 'em all (#9676)
rusackas Apr 28, 2020
b27a81e
[logging] deprecation notices for SQLite (#9662)
Apr 28, 2020
8d2165d
fix: catch viz exceptions (#9669)
villebro Apr 29, 2020
735dcd2
[explore view] add partition as adhoc filter option (#9637)
Apr 29, 2020
f13ba25
fix(tests): custom filter flaky tests on dash and charts (#9679)
dpgaspar Apr 29, 2020
527bee5
tests(engine_specs): full postgres engine coverage (#9682)
dpgaspar Apr 29, 2020
52a0afe
[fix] reduce table metadata fetch for latest_partition check (#9685)
Apr 29, 2020
7f89f12
[debug] Debugging caching issue (#9665)
john-bodley Apr 29, 2020
2835044
Fix ENABLE_ROW_LEVEL_SECURITY flag usage (#9689)
bkyryliuk Apr 29, 2020
62a15f0
Make cache work again for annotations (#9688)
bkyryliuk Apr 29, 2020
5d7b135
feat(errors): add client scaffolding for custom error messages (#9677)
Apr 30, 2020
f7f60cc
[Chart & Dashboard] improve listview filter ui and add expandable lis…
nytai Apr 30, 2020
3b0f8e9
[sql] Adding lighweight Table class (#9649)
john-bodley Apr 30, 2020
e95af7f
fix: migrate all slices off the old time grain format (#9684)
Apr 30, 2020
48ef619
perf(charts): improve performance on GET list (#9619)
dpgaspar Apr 30, 2020
a908813
fix(security) Fixing regression in #9689 (#9705)
john-bodley Apr 30, 2020
2b59075
tests(engine_specs): full bigquery engine coverage (#9702)
dpgaspar Apr 30, 2020
e24e6ca
[Helm] - Allow for customization of release name (#9694)
craig-rueda Apr 30, 2020
aad8209
chore: Bump PyArrow to latest stable version (#9696)
villebro Apr 30, 2020
5fb883e
chore(ts): type getClientErrorObject (#9693)
May 1, 2020
43eec67
[table editor] hide Edit Datasource option when no onDatasourceSave (…
May 1, 2020
9d3da79
migrate bignumber to use builtin controls (#9707)
suddjian May 1, 2020
858082f
Fix email reports (#9695)
bkyryliuk May 1, 2020
7f49666
feat: add logging to warm_up_cache endpoint (#9712)
May 2, 2020
5d167af
[hive][csv upload] make INTs BIGINTs (#9716)
serenajiang May 3, 2020
4c522ac
[sqllab] fix, strip comments before parsing statements (#9692)
nytai May 4, 2020
865a909
FilterBox,BigNumber,WorldMap: Handle empty results (#9671)
elukey May 4, 2020
11972ed
Fix bad test (#9735)
bkyryliuk May 5, 2020
d373cc8
perf(dashboards): improve API performance for dashboards (#9704)
dpgaspar May 5, 2020
911f117
fix(dependencies): Bump FAB to 2.3.4 (#9703)
dpgaspar May 5, 2020
0d85d25
docs(api): improve openapi documentation for dash, charts and queries…
dpgaspar May 5, 2020
d65d29c
fix: css prop is now overwhelmed with emotion (#9742)
suddjian May 5, 2020
0b963bd
[perf logging] Add timing event when browser tab is hidden (#9733)
May 5, 2020
821e7e5
chore: update README screenshots (#9728)
May 5, 2020
eee6280
fix: re-add all time grain options to the new chart API (#9744)
May 6, 2020
67d8b63
fix: autocomplete search in AdhocFilter operator dropdown (#9654)
mistercrunch May 6, 2020
763f352
fix: Add force flag to QueryContext schema (#9749)
villebro May 6, 2020
453806f
perf(dataset): improve performance on get list (#9739)
dpgaspar May 6, 2020
5485eb9
feat: Add controlGroups to formData (#9740)
villebro May 6, 2020
292704f
Use monospace (#9709)
bkyryliuk May 6, 2020
9aabafe
fix: adhoc filter 'equals' doesn't let you save (#9652)
mistercrunch May 6, 2020
83b4165
[perf logging] Add extra logging for new/editMode dash (#9745)
May 6, 2020
4b6681b
Revert "FilterBox,BigNumber,WorldMap: Handle empty results (#9671)" (…
May 6, 2020
d59e50f
Update README.md (#9731)
ceohockey60 May 6, 2020
52de32b
build: bump superset-ui to 0.13 (#9757)
kristw May 6, 2020
b93bf05
fix: removing controls from incubator-superset that are now in the pl…
rusackas May 7, 2020
80f8349
Query the new chart data api for charts that support it (#9710)
suddjian May 7, 2020
5b430ea
fix: implement force refresh in chart data request (#9762)
villebro May 7, 2020
6237cea
[docs] add postgres documentation (#9766)
nytai May 7, 2020
13c5b13
test(frontend): use absolute path for src imports (#9761)
ktmud May 7, 2020
8a49c69
use word cloud's built in control panel (#9770)
suddjian May 8, 2020
3a21391
use the builtin calendar control panel (#9771)
suddjian May 8, 2020
b6df5da
fix bug where error at import dashboard fails to show toast in "welco…
pkdotson May 8, 2020
358bbe0
fix: Catch db_engine_spec.get_function_names exceptions (#9691)
bkyryliuk May 8, 2020
903217f
Fix SQL Lab schema permission checks (#9756)
bkyryliuk May 8, 2020
06df46c
WIP: tag frontend, needs feature flag
betodealmeida Apr 8, 2019
bc4c5b6
Remove whatwg-fetch
betodealmeida Apr 30, 2019
c293891
Fix tests
betodealmeida May 1, 2019
26c2044
Small fixes
betodealmeida May 1, 2019
97c07b3
Use less for stylesheet
betodealmeida May 1, 2019
214f40a
Fix stylesheet
betodealmeida May 22, 2019
c62fc68
VIZ-447 made the codes up to date with master
jenkinsci-etuzel May 10, 2020
d0909ea
VIZ-447 made the codes up to date with master / CI fixes
jenkinsci-etuzel May 10, 2020
d006e76
VIZ-447 made the codes up to date with master / missing files
jenkinsci-etuzel May 11, 2020
797d105
VIZ-447 made the codes up to date with master / package files
jenkinsci-etuzel May 11, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
tests/
docs/
install/
superset/assets/node_modules/
superset/assets/cypress/
superset/assets/coverage/
superset-frontend/node_modules/
superset-frontend/cypress/
superset-frontend/coverage/
venv
4 changes: 2 additions & 2 deletions .fossa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ analyze:
modules:
- name: assets
type: npm
target: superset/assets
path: superset/assets
target: superset-frontend
path: superset-frontend
- name: docs
type: pip
target: docs
Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
name: Bug report
about: Create a report to help us improve
labels: "#bug"

---

Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
name: Feature request
about: Suggest an idea for this project
labels: "#enhancement"

---

Expand Down
4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE/sip.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
---
name: SIP
about: Superset Improvement Proposal
labels: "#SIP"

---

*Please make sure you are familiar with the SIP process documented*
(here)[https://github.com/apache/incubator-superset/issues/5602]

## [SIP] Proposal for XXX

### Motivation
Expand Down
220 changes: 220 additions & 0 deletions .github/workflows/bashlib.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,220 @@
#!/bin/bash
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
set -e

GITHUB_WORKSPACE=${GITHUB_WORKSPACE:-.}
ASSETS_MANIFEST="$GITHUB_WORKSPACE/superset/static/assets/manifest.json"

# Echo only when not in parallel mode
say() {
if [[ $(echo "$INPUT_PARALLEL" | tr '[:lower:]' '[:upper:]') != 'TRUE' ]]; then
echo "$1"
fi
}

# default command to run when the `run` input is empty
default-setup-command() {
pip-install
}

# install python dependencies
pip-install() {
cd "$GITHUB_WORKSPACE"

# Don't use pip cache as it doesn't seem to help much.
# cache-restore pip

say "::group::Install Python pacakges"
pip install -r requirements.txt
pip install -r requirements-dev.txt
pip install -e ".[postgres,mysql]"
say "::endgroup::"

# cache-save pip
}

# prepare (lint and build) frontend code
npm-install() {
cd "$GITHUB_WORKSPACE/superset-frontend"

cache-restore npm

say "::group::Install npm packages"
echo "npm: $(npm --version)"
echo "node: $(node --version)"
npm ci
say "::endgroup::"

cache-save npm
}

build-assets() {
cd "$GITHUB_WORKSPACE/superset-frontend"

say "::group::Build static assets"
npm run build -- --no-progress
say "::endgroup::"
}

build-assets-cached() {
cache-restore assets
if [[ -f "$ASSETS_MANIFEST" ]]; then
echo 'Skip frontend build because static assets already exist.'
else
build-assets
cache-save assets
fi
}

build-instrumented-assets() {
cd "$GITHUB_WORKSPACE/superset-frontend"

say "::group::Build static assets with JS instrumented for test coverage"
cache-restore instrumented-assets
if [[ -f "$ASSETS_MANIFEST" ]]; then
echo 'Skip frontend build because instrumented static assets already exist.'
else
npm run build-instrumented -- --no-progress
cache-save instrumented-assets
fi
say "::endgroup::"
}

setup-postgres() {
say "::group::Initialize database"
psql "postgresql://superset:[email protected]:15432/superset" <<-EOF
DROP SCHEMA IF EXISTS sqllab_test_db;
CREATE SCHEMA sqllab_test_db;
DROP SCHEMA IF EXISTS admin_database;
CREATE SCHEMA admin_database;
EOF
say "::endgroup::"
}

setup-mysql() {
say "::group::Initialize database"
mysql -h 127.0.0.1 -P 13306 -u root --password=root <<-EOF
DROP DATABASE IF EXISTS superset;
CREATE DATABASE superset DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;
DROP DATABASE IF EXISTS sqllab_test_db;
CREATE DATABASE sqllab_test_db DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;
DROP DATABASE IF EXISTS admin_database;
CREATE DATABASE admin_database DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;
CREATE USER 'superset'@'%' IDENTIFIED BY 'superset';
GRANT ALL ON *.* TO 'superset'@'%';
FLUSH PRIVILEGES;
EOF
say "::endgroup::"
}

testdata() {
cd "$GITHUB_WORKSPACE"
say "::group::Load test data"
# must specify PYTHONPATH to make `tests.superset_test_config` importable
export PYTHONPATH="$GITHUB_WORKSPACE"
superset db upgrade
superset load_test_users
superset load_examples --load-test-data
superset init
say "::endgroup::"
}

codecov() {
say "::group::Upload code coverage"
local codecovScript="${HOME}/codecov.sh"
# download bash script if needed
if [[ ! -f "$codecovScript" ]]; then
curl -s https://codecov.io/bash > "$codecovScript"
fi
bash "$codecovScript" "$@"
say "::endgroup::"
}

cypress-install() {
cd "$GITHUB_WORKSPACE/superset-frontend/cypress-base"

cache-restore cypress

say "::group::Install Cypress"
npm ci
say "::endgroup::"

cache-save cypress
}

# Run Cypress and upload coverage reports
cypress-run() {
cd "$GITHUB_WORKSPACE/superset-frontend/cypress-base"

local page=$1
local group=${2:-Default}
local cypress="./node_modules/.bin/cypress run"
local browser=${CYPRESS_BROWSER:-chrome}

say "::group::Run Cypress for [$page]"
if [[ -z $CYPRESS_RECORD_KEY ]]; then
$cypress --spec "cypress/integration/$page" --browser "$browser"
else
# additional flags for Cypress dashboard recording
$cypress --spec "cypress/integration/$page" --browser "$browser" --record \
--group "$group" --tag "${GITHUB_REPOSITORY},${GITHUB_EVENT_NAME}"
fi

# don't add quotes to $record because we do want word splitting
say "::endgroup::"
}

cypress-run-all() {
# Start Flask and run it in background
# --no-debugger means disable the interactive debugger on the 500 page
# so errors can print to stderr.
local flasklog="${HOME}/flask.log"
local port=8081

nohup flask run --no-debugger -p $port > "$flasklog" 2>&1 < /dev/null &
local flaskProcessId=$!

cypress-run "*/*"

# Upload code coverage separately so each page can have separate flags
# -c will clean existing coverage reports, -F means add flags
codecov -cF "cypress"

# After job is done, print out Flask log for debugging
say "::group::Flask log for default run"
cat "$flasklog"
say "::endgroup::"

# Rerun SQL Lab tests with backend persist enabled
export SUPERSET_CONFIG=tests.superset_test_config_sqllab_backend_persist

# Restart Flask with new configs
kill $flaskProcessId
nohup flask run --no-debugger -p $port > "$flasklog" 2>&1 < /dev/null &
local flaskProcessId=$!

cypress-run "sqllab/*" "Backend persist"
codecov -cF "cypress"

say "::group::Flask log for backend persist"
cat "$flasklog"
say "::endgroup::"

# make sure the program exits
kill $flaskProcessId
}
56 changes: 56 additions & 0 deletions .github/workflows/caches.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/

// always use absolute directory
const workspaceDirectory = process.env.GITHUB_WORKSPACE;
const homeDirectory = process.env.HOME;

const assetsConfig = {
path: [`${workspaceDirectory}/superset/static/assets`],
hashFiles: [
`${workspaceDirectory}/superset-frontend/src/**/*`,
`${workspaceDirectory}/superset-frontend/*.js`,
`${workspaceDirectory}/superset-frontend/*.json`,
],
// dont use restore keys as it may give an invalid older build
restoreKeys: '',
};

// Multi-layer cache definition
module.exports = {
pip: {
path: [`${homeDirectory}/.cache/pip`],
hashFiles: [`${workspaceDirectory}/requirements*.txt`],
},
npm: {
path: [`${homeDirectory}/.npm`],
hashFiles: ['superset-frontend/package-lock.json'],
},
assets: assetsConfig,
// use separate cache for instrumented JS files and regular assets
// one is built with `npm run build`,
// another is built with `npm run build-instrumented`
'instrumented-assets': assetsConfig,
cypress: {
path: [`${homeDirectory}/.cache/Cypress`],
hashFiles: [
`${workspaceDirectory}/superset-frontend/cypress-base/package-lock.json`,
],
},
};
22 changes: 22 additions & 0 deletions .github/workflows/license-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: License

on:
push:
branches: [ master ]
pull_request:

jobs:
check:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Setup Java
uses: actions/setup-java@v1
with:
java-version: 8
- name: Generate fossa report
env:
FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY }}
run: ./scripts/fossa.sh
- name: Run license check
run: ./scripts/check_license.sh
Loading