fabianmenges
72627b1761
Adding YAML Import-Export for Datasources to CLI ( #3978 )
...
* Adding import and export for databases
* Linting
2017-12-05 11:14:52 -08:00
michellethomas
9904593dc3
Improving speed of dashboard import ( #3958 )
...
* Improve dashboard import
* Updating tests for Slice.import_obj
2017-11-30 20:47:22 -08:00
Yu Xiao
feb15a30a2
fix the schema-fetching problem for impala in sql_lab ( #3906 )
...
* fix the schema-fetching problem for impala in sql_lab
* delete redundant print
* remove blank lines...
* minior corrections
2017-11-21 09:28:31 -08:00
John Bodley
ac57780607
[flake8] Resolving Q??? errors ( #3847 )
2017-11-13 21:06:51 -08:00
John Bodley
1b4f128f55
[flake8] Resolving F5?? errors ( #3846 )
2017-11-12 11:09:22 -08:00
John Bodley
d908e48d61
[slice] Removing deprecated argument ( #3838 )
2017-11-11 21:44:24 -08:00
John Bodley
1ea4521d0c
[flake8] Resolving E7?? errors ( #3816 )
2017-11-09 20:23:59 -08:00
Ishpreet Singh
0280bc52e0
Allowing Leading and Trailing spaces in connection ( #3433 )
2017-11-07 22:13:18 -08:00
John Bodley
17623f71d4
[flake8] Resolving C??? errors ( #3787 )
2017-11-07 21:32:45 -08:00
John Bodley
e2bca47421
[flake8] Resolve I??? errors ( #3797 )
2017-11-07 20:23:40 -08:00
Alejandro Fernandez
b059506afa
DI-1113. ADDENDUM. Authentication: Enable user impersonation for Superset to HiveServer2 using hive.server2.proxy.user (a.fernandez) ( #3697 )
2017-11-06 10:20:38 -08:00
mxmzdlv
5bc734b2e5
Fix has_table method ( #3741 )
...
Dialect's has_table method requires connection as the first argument, not engine (https://github.com/zzzeek/sqlalchemy/blob/master/lib/sqlalchemy/engine/interfaces.py#L454 ). Instead, we can use engine's has_table method that handles the connection for us (https://github.com/zzzeek/sqlalchemy/blob/master/lib/sqlalchemy/engine/base.py#L2141 ). Alternatively, we could call engine.dialect.has_table(engine.connect(), ...).
2017-10-30 21:04:23 -07:00
Maxime Beauchemin
a9b6d11ade
Validate JSON in slice's params on save ( #3720 )
...
fixes https://github.com/apache/incubator-superset/issues/3507
This prevents malformed JSON from getting saved in a slice's params. It
also prevents the issue described in #3507 from happening though as a
result malformed slices will render using default control values.
2017-10-26 16:16:21 -07:00
Alejandro Fernandez
adef519583
DI-1113. Authentication: Enable user impersonation for Superset to HiveServer2 using hive.server2.proxy.user (a.fernandez) ( #3652 )
2017-10-16 20:15:16 -07:00
Maxime Beauchemin
76f8d33d81
[sql lab] fix impersonation + template issue ( #3644 )
...
When the database impersonation flag is on, a query using a template
fails. It has to do with templating using a database connection without
a username being specified by the caller, along with the fact that the
work is taking place on a worker, outside a web request, where
referencing g.user raises this exception.
2017-10-10 17:52:22 -07:00
Jeff Niu
f3146ef6f9
Add Table performance improvements ( #3509 )
...
* Improved performance of 'Add table' function
* got rid of pvt function call
* changes metric obj to key on metric_name
2017-09-25 11:35:09 -07:00
Dmitry Goryunov
c988080990
Feature: "Impersonate user" setting on Datasource ( #3404 )
...
* Add "Impersonate user" setting to Datasource
* Add tests
* Use g.user.username for all the sync cases
* use uri.username instead of uri.user
* Small refactoring
2017-09-18 09:52:29 -07:00
fabianmenges
fdee06bbf2
Adding hook for external password store for databases ( #3436 )
2017-09-13 20:59:03 -07:00
Maxime Beauchemin
e53f3032bb
[dashboard] adding an option to duplicate slices when "Saving AS" ( #3391 )
...
* [dashboard] adding an option to duplicate slices when "Saving AS"
* Fix tests
2017-08-30 14:09:29 -07:00
timifasubaa
8d877e8a35
[explore] Fix and test slice id logging issue ( #3339 )
...
* [explore] fixed padding bug on filter section
* fix slice_id logging issue
* [superset-sqllab] fix slice_id population in appropriate column
* [explore-logging] test the slice_id logging fix
* fix travis errors
* fix nits pointed out in PR comments
* cleanup tests
* made python more beautiful
* made python even more beautiful
* made python even more more beautiful
* made python even more more more beautiful
* fix lint error
* make exception handling more specific
* fixed silly error
* fixed argument indentation
2017-08-24 09:11:41 -07:00
Rogan
a5320a0f37
[add] Save filters to dashboard ( #3183 )
...
* [add] Save filters to dashboard
* format code
* fix CI error
* add semicolon semi
* fix none object
* add test data
optimize the js code
fix the compatibility issue
* fix urllib to urllib.parse
* add space
* update test case
* remove 'return'
* fix error
* update test case
2017-08-10 20:49:49 -07:00
Rich @ RadICS
163f4e359c
Allow 'refresh_immune_slices' ( #2974 )
...
* Allow 'refresh_immune_slices'
* Changed param name, added note in FAQ
* Linting
2017-08-02 08:46:19 -07:00
Maxime Beauchemin
06fcaa3095
Stabilizing Celery / SQL Lab ( #2981 )
...
* upgrade celery to 4.0.2
* using Redis for unit tests (sqla broker not supported in Celery 4)
* Setting Celery's soft_time_limit based on `SQLLAB_ASYNC_TIME_LIMIT_SEC` config
* Better error handling in async tasks
* Better statsd logging in async tasks
* show [pending/running] query status in Results tab
* systematically using sqla NullPool on worker (async) to limit number
of database connections
2017-06-20 13:55:03 -07:00
Maxime Beauchemin
7c5f61d6a6
Adding some STATSD logging ( #2715 )
2017-05-18 15:25:09 -07:00
Maxime Beauchemin
fe3f5f69ae
[hotfix] 'No numeric types to aggregate'
2017-05-16 21:57:02 -07:00
Rich @ RadICS
91d951ac42
Change hardcoded references to 'User' security model to allow custom class override ( #2728 )
2017-05-12 09:37:24 -07:00
Maxime Beauchemin
a6e1e18244
[sql lab] fix CREATE TABLE AS ( #2719 )
2017-05-06 21:23:55 -07:00
Maxime Beauchemin
d65054e015
[sql lab] fix csv export where % in query ( #2711 )
...
* [sql lab] fix csv export where in query
* Prgoress
2017-05-04 16:34:18 -07:00
Maxime Beauchemin
03c42b5b87
Showing slices on datasource edit form ( #2645 )
...
* Showing slices on datasource edit form
* fixing build
2017-04-24 17:40:34 -07:00
Maxime Beauchemin
efaef8fe09
[hotfix] fix endpoint
2017-04-17 17:58:13 +00:00
Maxime Beauchemin
23aeee5a9c
Slice level cache_timeout isn't taken into consideration ( #2631 )
2017-04-17 08:48:33 -07:00
Maxime Beauchemin
fc7bd63039
[sql lab] fixes issues specific to Sqlite ( #2606 )
2017-04-13 15:19:58 -07:00
Maxime Beauchemin
31283f1424
Fix metric formating in Dashboard view + some refactoring ( #2598 )
...
* Fix metric formating in Dashboard view + some refactoring
* Fixing build
2017-04-12 09:37:49 -07:00
Maxime Beauchemin
ac84fc2b65
Fixing confusion when selecting schema across engines ( #2572 )
2017-04-10 15:36:58 -07:00
Maxime Beauchemin
337454b646
[hotfix] slice with missing datasource related
2017-04-05 19:00:49 +00:00
Maxime Beauchemin
081bdca71e
[hotfix] [sql lab] fix sqlite errors when schema is selected
2017-04-05 00:26:15 -07:00
Maxime Beauchemin
122891c29b
[sql lab] allow users to save their queries ( #2528 )
...
* Allow users to save their queries
Fixing tests .
* Adding placeholder for Query Description
* initJQueryCSRF -> initJQueryAjaxCSRF
2017-04-04 20:15:19 -07:00
Maxime Beauchemin
db6b2f3ae1
pylint errors will now break the build ( #2543 )
...
* Linting pylint errors
* Backing off of an unecessary change
2017-04-03 21:53:06 -07:00
Maxime Beauchemin
91167665b1
Track both query start time and button push time to track delay ( #2502 )
...
* Track both query start time and button push time to track delay
* Fix
* Setting the proper precision
* More logging
2017-03-28 20:21:34 -07:00
Bogdan
c3be58db43
Add verbose name to db and druid cluster ( #2429 )
...
* Add verbose name field to the databases
* Add migration
* Display verbose name in the view.
2017-03-17 14:27:34 -07:00
Bogdan
5b19528662
Display full name. ( #2378 )
2017-03-14 14:33:43 -07:00
Maxime Beauchemin
2969cc9993
Refactoring Druid & SQLa into a proper "Connector" interface ( #2362 )
...
* Formalizing the Connector interface
* Checkpoint
* Fixing views
* Fixing tests
* Adding migrtion
* Tests
* Final
* Addressing comments
2017-03-10 09:11:51 -08:00