From 2e141f57383aeb325c2041e6d9ed7049a74bdb76 Mon Sep 17 00:00:00 2001
From: Allen Short
Date: Tue, 8 Nov 2016 16:15:35 -0600
Subject: [PATCH] Documentation links for data sources (re #6)
(incorporates: show data source type when no doc link present (re #46))
---
client/app/pages/data-sources/list.html | 2 +-
client/app/pages/queries/query.html | 2 ++
redash/models.py | 12 ++++++++++--
redash/query_runner/__init__.py | 1 +
redash/query_runner/big_query.py | 6 ++++++
redash/query_runner/cass.py | 6 ++++++
redash/query_runner/dynamodb_sql.py | 8 ++++++++
redash/query_runner/elasticsearch.py | 8 +++++++-
redash/query_runner/google_spreadsheets.py | 9 +++++++++
redash/query_runner/graphite.py | 5 +++++
redash/query_runner/hive_ds.py | 7 +++++++
redash/query_runner/impala_ds.py | 7 +++++++
redash/query_runner/influx_db.py | 7 +++++++
redash/query_runner/jql.py | 7 +++++++
redash/query_runner/mongodb.py | 8 ++++++++
redash/query_runner/mssql.py | 6 ++++++
redash/query_runner/mysql.py | 6 ++++++
redash/query_runner/oracle.py | 7 +++++++
redash/query_runner/pg.py | 14 ++++++++++++++
redash/query_runner/presto.py | 6 ++++++
redash/query_runner/python.py | 8 ++++++++
redash/query_runner/script.py | 8 ++++++++
redash/query_runner/sqlite.py | 6 ++++++
redash/query_runner/treasuredata.py | 6 ++++++
redash/query_runner/url.py | 8 ++++++++
redash/query_runner/vertica.py | 11 ++++++++++-
tests/handlers/test_data_sources.py | 7 +++++--
tests/test_cli.py | 2 +-
28 files changed, 182 insertions(+), 8 deletions(-)
diff --git a/client/app/pages/data-sources/list.html b/client/app/pages/data-sources/list.html
index 0ccf480eef..3a40c10343 100644
--- a/client/app/pages/data-sources/list.html
+++ b/client/app/pages/data-sources/list.html
@@ -5,7 +5,7 @@
New Data Source
+ {{dataSource.type_name}} documentation
+ {{dataSource.type_name}}