Beto Dealmeida
21f722c9bc
feat: add endpoint to export saved queries using new format ( #11447 )
...
* Add UUID to saved_query
* Reuse function from previous migration
* Point to new head
* feat: add backend to export saved queries using new format
2020-10-30 08:32:16 -07:00
Daniel Vaz Gaspar
144b279aa2
feat: saved queries with execution info ( #11391 )
...
* feat: add rows and last_run info to saved queries
* feat: add rows to saved query
* refactor and tests
* lint
* fix tests
2020-10-26 11:20:07 -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
Daniel Vaz Gaspar
4c85d33109
feat: custom favorite filter for dashboards, charts and saved queries ( #11083 )
...
* feat: custom favorite filter for dashboards
* lint and sort
* add favored for charts
* fix tests and lint
* more tests and saved query filter
* fix tests
* fix tests
* lint
* lint and fix conflict
* remove unnecessary prop
* separate tests
2020-10-01 15:08:40 -07:00
Moriah Kreeger
e7a4265c30
feat: saved query list actions ( #11109 )
2020-09-30 18:18:34 -07:00
Moriah Kreeger
b8d616a9d2
feat: saved query list view + sort/filters ( #11005 )
2020-09-29 13:39:10 -07:00
ʈᵃᵢ
eded51b2f8
feat(saved_queries): add custom api filter for all string & text fields ( #11031 )
2020-09-24 11:05:25 -07:00
Daniel Vaz Gaspar
136f90f87c
feat: SavedQuery REST API for bulk delete and new API fields ( #10793 )
...
* feat: SavedQuery REST API for bulk delete
* fix, singular msg and test
* remove 403 from OpenAPI spec
* filter by current user using created_by add sql_tables field
* fixes for new filter, add user field on pre_update, pre_add
* add lru cache to property
* Revert "add lru cache to property"
This reverts commit ad0d9428
2020-09-11 09:36:47 +01:00
Daniel Vaz Gaspar
5199423ad1
feat: CRUD REST API for saved queries ( #10777 )
...
* feat: CRUD REST API for saved queries
* debug test
* fix test
* use pytest fixtures
2020-09-03 15:46:27 -07:00
Bogdan
4e340c8368
feat: Switch from nosetest to pytest ( #10177 )
...
* Switch from nosetest to pytest
Fix schedule tests
Collect pytest coverage
Move pytest config into pytest.ini
Move cov to the pytest.ini
* Append coverage for the 2nd run
* Add coverage to all commands
* Coverage only for tests
* Get coverage from 1 place
* Rename classes to be pytest compatible
* Test coverage for examples and tests
* Max diff to -1
* Explain how to run pytest for the whole project
* Do not append code coverage for the main run
* Do not run coverage on examples
Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com>
2020-06-29 15:36:06 -07:00
Maxime Beauchemin
1781ebbaa4
fix: [search query view] edit link is broken ( #10128 )
...
* fix: [search query view] edit link is broken
* eslint + mypy
* rever app.py changes
* addressing comments
* use api/v1/query
* fix test
2020-06-25 12:20:10 -07:00
Daniel Vaz Gaspar
0610c489bb
[query] Migrate api v1 query to new location ( #9479 )
...
* [query] Migrate api v1 query to new location
* Improved errors and tests
* [query] nit and revert undesired change
* [query] lint
* [query] revert nan change
* Update superset/queries/api.py
Co-Authored-By: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
* Update tests/queries/api_tests.py
Co-Authored-By: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
* change endpoint location to charts
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2020-04-09 09:05:49 +01:00
Daniel Vaz Gaspar
c0807c1af7
[query] New, readonly API ( #9403 )
...
* [query] New, readonly API
* Update tests/queries/api_tests.py
Co-Authored-By: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2020-04-06 11:18:32 +01:00