Jason Davis
9c5b0e1c86
fix: refactored SQL-based alerts to not pass sqlalchemy objects as args ( #10506 )
...
* refractored alerting to not pass sqlalchemy obj as args
* updated to pass only alert id as arg
* used object id instead of argument
* updated alerts_tests.py to reflect change
Co-authored-by: Jason Davis <@dropbox.com>
2020-08-04 09:52:32 -07:00
Evan Rusackas
5bb8b9790f
docs: new contributing language around adding new plugins ( #10507 )
...
* Update CONTRIBUTING.md
* nixing bugfix line (unnecessary)
Co-authored-by: Jesse Yang <jesse.yang@airbnb.com>
* proper caps on TypeScript
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
Co-authored-by: Jesse Yang <jesse.yang@airbnb.com>
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2020-08-03 20:14:25 -07:00
Maxime Beauchemin
c58bb852db
docs: add a '.asf.yaml' file to configure our GitHub ( #10502 )
...
* docs: add a '.asf.yaml' file to configure our GitHub
More info here:
https://cwiki.apache.org/confluence/display/INFRA/git+-+.asf.yaml+features#git.asf.yamlfeatures-GitHubsettings
Where I found out:
https://issues.apache.org/jira/browse/INFRA-20621
* Addressing comments
2020-08-03 17:45:05 -07:00
kxu
d6b7cae5de
docs: Add supported database logos ( #10368 )
2020-08-03 13:50:52 -07:00
Hossein Torabi
825f993dcb
authentication type methods docs ( #10378 )
2020-08-03 12:42:03 -07:00
Bogdan
ab404ea2cf
Sample test data ( #10487 )
...
Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com>
2020-08-03 09:08:49 -07:00
John Bodley
821916a681
chore: pre-commit run --all-files ( #10500 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2020-08-02 14:32:17 -07:00
Jesse Yang
ce10e13ec3
test: schedules test refactor ( #10492 )
2020-07-31 12:05:39 -07:00
Stuart Hu
704f89c1db
add translate string to zh locale ( #10481 )
...
Signed-off-by: Stuart Hu <shijiehu@improbable.io>
2020-07-31 11:23:29 -07:00
Ville Brofeldt
a43ee22f11
style: replace inclusive/exclusive on DateFilterControl with </≤ ( #10420 )
...
* feat: improve filter control tooltips
* add styles
* break out utils into own file
* lint
* add tests
* styled component now working
* lint
* add license headers
* replace shallow with mount due to withTheme
Co-authored-by: Evan Rusackas <evan@preset.io>
2020-07-31 20:06:04 +03:00
Ville Brofeldt
9eab29aeaa
fix: enforce mandatory chart name on save and edit ( #10482 )
...
* fix: show empty charts as empty in chart list view
* migrate ControlLabel to FormLabel and enforce requred fields
* lint
* reorder buttons
2020-07-31 19:30:02 +03:00
Ville Brofeldt
6243a46ca6
feat: add linear color scale to sunburst chart ( #10474 )
2020-07-31 19:29:27 +03:00
Ville Brofeldt
9d9c34835a
fix: support non-string groupbys for pie chart ( #10493 )
...
* chore: add unit tests to pie chart
* refine logic for floats and nans and add more tests
2020-07-31 11:19:21 +03:00
John Bodley
7645fc85c3
chore: Cleanup database sessions ( #10427 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2020-07-30 23:07:56 -07:00
Jesse Yang
7ff1757448
build: optimize GitHub Actions for building speed and stability ( #10485 )
2020-07-30 22:28:56 -07:00
Jason Davis
7a329c25e9
feat: add test email functionality to SQL-based email alerts ( #10476 )
...
* added test email functionality
* formatting changes
* more formatting
* applied requested changes
* mypy
Co-authored-by: Jason Davis <@dropbox.com>
2020-07-30 13:27:22 -07:00
Jason Davis
c9cb723cab
made screenshot drivertype configurable ( #10472 )
...
Co-authored-by: Jason Davis <@dropbox.com>
2020-07-30 11:19:29 -07:00
Evan Rusackas
16459ad401
style: DOCTYPE tag, and related CSS cleanup/refactoring ( #10302 )
2020-07-29 18:49:32 -07:00
Maxime Beauchemin
e6e6b49372
style: FilterSelect style tweaks ( #10446 )
...
* style: FilterSelect style tweaks
* using withTheme to avoid raw supersetTheme
* lint
Co-authored-by: Evan Rusackas <evan@preset.io>
2020-07-29 16:55:02 -07:00
Maxime Beauchemin
edaf785815
fix(sqllab): button width isn't wide enough for 'Run Selection' ( #10461 )
2020-07-29 16:21:21 -07:00
Maxime Beauchemin
796f8e7d26
style: make database list less bloated ( #10462 )
2020-07-29 16:14:39 -07:00
Erik Ritter
1fbd920902
fix: timeout error message ( #10478 )
2020-07-29 15:58:46 -07:00
Hossein Torabi
259a344fd1
test: upload excel ( #10467 )
2020-07-29 12:50:39 -07:00
ʈᵃᵢ
78cad9a4a8
refactor(listviews): use correct filter endpoints for charts and datasets ( #10442 )
2020-07-29 11:00:19 -07:00
David Aaron Suddjian
7f70a241f9
test: Add jest-enzyme assertion library for better frontend tests ( #10459 )
...
* adding jest-enzyme
* enzymeify lots of assertions
* types for jest-enzyme
2020-07-29 10:53:06 -07:00
Daniel Vaz Gaspar
671461d0d0
feat(api): database schemas migration to new API ( #10436 )
...
* fix(log): log crashes if expired or not authenticated
* fix lint and rison
* add tests
* more tests
* perm fix
* fix test not found
* JS lint
* fix Jest test
2020-07-29 09:33:15 +01:00
Daniel Vaz Gaspar
0aad9c6f48
fix(log): log endpoint authentication ( #10435 )
...
* fix(log): log crashes if expired or not authenticated
* add auth to log endpoint
2020-07-29 09:32:10 +01:00
pphszx
473fe1003a
fix: excel sheet upload is not working ( #10450 )
...
* remove conflicts with csv upload
* revert StringField
* change description
* remove redundant space
* apply string approach
2020-07-29 10:20:44 +03:00
Moriah Kreeger
c716f7afe8
fix: change "add new slice" copy to "add new chart" ( #10457 )
2020-07-28 18:28:22 -07:00
Jason Davis
d065633c81
fix: Implement updates to SQL-based email alerts ( #10454 )
...
* implemented updates to alerting
* fixed imports and teardown
* changed unittest to pytest conventions
* add app_context to tests
Co-authored-by: Jason Davis <@dropbox.com>
2020-07-28 16:48:42 -07:00
Beto Dealmeida
4f678272d6
fix(presto): Handle ROW data stored as string ( #10456 )
...
* Handle ROW data stored as string
* Use destringify
* Fix mypy
* Fix mypy with cast
* Bypass pylint
2020-07-28 16:05:58 -07:00
Lily Kuang
39fad8575c
feat: update dataset editor modal ( #10347 )
2020-07-28 15:53:20 -07:00
Moriah Kreeger
e89e60df76
style: update +NEW button to use Button component, add dropdownItems prop to Button ( #10422 )
2020-07-28 14:29:52 -07:00
Tanmay Laud
9914ae1b52
chore: migrate Checkbox to tsx ( #10453 )
2020-07-28 11:46:36 -07:00
Ville Brofeldt
fc28c92f57
feat: support non-numeric columns in pivot table ( #10389 )
...
* fix: support non-numeric columns in pivot table
* bump package and add unit tests
* mypy
2020-07-28 10:40:53 +03:00
Maxime Beauchemin
5e93f00a53
docs: pointers to plugins blog post ( #10251 )
...
* docs: pointers to plugins blog post
* fix build
2020-07-27 22:46:37 -07:00
Evan Rusackas
98437fb3c9
chore: removing VictoryTheme.js ( #10445 )
2020-07-27 21:12:45 -07:00
ʈᵃᵢ
6f56cd5e9d
feat(listviews): SIP-34 filters for charts, dashboards, datasets ( #10335 )
2020-07-27 10:14:11 -07:00
Tanmay Laud
4b3d6d1fbd
chore: migrated Menu component to tsx ( #10426 )
...
* migrated LanguagePicker.jsx to tsx
* Migrated Menu.jsx to tsx
* migrated MenuObject.jsx to tsx
* migrated NewMenu.jsx to tsx
* Migrated UserMenu.jsx to tsx
* removed unnecessary export from UserMenu
* added language definition in LanguagePicker
* removed unnecessary exports from Menu.tsx
* used typeof guard for childs
* changed LanguageProps to Languages
* removed unnecessary type casting
* fixed linting errors
2020-07-27 09:03:24 -07:00
Stuart Hu
f7465902e4
update code ( #10430 )
...
Signed-off-by: Stuart Hu <shijiehu@improbable.io>
2020-07-27 12:48:11 +03:00
Daniel Vaz Gaspar
562012c586
fix(permissions): alpha role has all full features ( #10241 )
...
* fix(permissions): alpha role is inconsistent
* reverse and allow Alpha to access manager menu
* Bump FAB to 3.0.1rc1 to include del permission fix
* add docs, tests and UPDATING
* EOL
* Fix query view for Alpha
2020-07-27 10:32:30 +01:00
Jesse Yang
d45ef1c513
fix(dashboard): chart rerender when switching tabs ( #10432 )
2020-07-27 11:50:08 +03:00
Ville Brofeldt
5b6ff4944c
fix: incorrect filter operator emitted by Filter Box ( #10421 )
...
* fix: equals operator in filter box
* fix time range endpoint schema
* fix test
* bump packages
* fix tests
* lint
2020-07-26 12:40:03 +03:00
Maxime Beauchemin
ea3c3bbae4
style: SIP-34 labels ( #10403 )
...
* style: SIP-34 labels
Aligning with SIP-34 designs for labels/pills. Going uppercase fixes the
padding issues we had before, and the rounder pills look better.
Cleaning up some CSS in the process
* lint
2020-07-24 18:03:38 -07:00
ʈᵃᵢ
09dfbab7ed
fix: allow creating table option and remove schema requirement in dataset add modal ( #10369 )
2020-07-24 13:17:44 -07:00
Maxime Beauchemin
0483c26254
style(sqllab): fixed button width as label changes ( #10404 )
...
As the label change from RUN to STOP, the row of button shifts
left/right. This fixes the width so that it doesn't jitter.
2020-07-24 10:05:07 -07:00
Maxime Beauchemin
a10b185248
chore: deactive flaky filter test ( #10406 )
...
Flaky tests hurt everyone's cognitive load. Let's deactivate for now and
revisit.
2020-07-23 23:33:26 -07:00
Moriah Kreeger
6fde7f8984
style: add fade transition to bottom border on navbar menu items ( #10402 )
...
* Add fade transition to bottom border on navbar menu items
* lint fix
* use theme variables
* fix spec
2020-07-23 12:49:28 -07:00
Daniel Vaz Gaspar
2fd37b18e3
fix(api): fixes perf on charts and introduces sorting by database on datasets ( #10392 )
2020-07-23 11:19:05 -07:00
Daniel Vaz Gaspar
e0264060c3
fix(charts): disable CSRF for chart data endpoint ( #10397 )
2020-07-23 10:44:25 +01:00