Commit Graph

4147 Commits

Author SHA1 Message Date
Arik Fraimovich
77139e2867 Merge pull request #1546 from washort/api-docstrings
Add: API docstrings
2017-01-26 22:37:11 +02:00
Arik Fraimovich
ff28b751ed Merge pull request #1549 from getredash/change_tracking
Change: disable version counter for queries:
2017-01-26 22:36:22 +02:00
Arik Fraimovich
84aba70a1a Merge pull request #1545 from hgs847825/master
[ElasticSearch] Fix: query fails when properties key is missing
2017-01-26 22:35:59 +02:00
Arik Fraimovich
39c4e1cd59 Merge branch 'master' into api-docstrings 2017-01-26 22:34:48 +02:00
Arik Fraimovich
6cf1c1cb70 Disable query version check in test (#1550) 2017-01-26 22:25:12 +02:00
Arik Fraimovich
ae2927d7d3 Set default value for query version 2017-01-26 22:08:05 +02:00
Arik Fraimovich
cd51076150 Disable version counter for queries:
Since the move to SQLAlchemy, version is managed automatically.
When running a query, the worker updates the query row and increments
the version. This results in the user's inability to save the query
after that.

From reviewing SQLA's documentation, it looks like we will have to
manage the version value ourselves. For now, I'm just disabling the
version auto increment. In a follow up update we need to actually
implement the manual increment where we think it's needed.
2017-01-26 21:50:08 +02:00
Arik Fraimovich
a5d73514ce Merge pull request #1504 from rockwotj/rockwood/global-params
Add: global parameters for dashboards
2017-01-26 21:24:08 +02:00
Arik Fraimovich
7ffa8f89aa Remove unused code 2017-01-26 21:20:53 +02:00
Tyler Rockwood
11faabed1f Move helper functions out of the query obj 2017-01-26 10:56:12 -08:00
Arik Fraimovich
25ca061b3d Merge pull request #1548 from getredash/drafts
Improve UI in small resolution:
2017-01-26 20:06:32 +02:00
Arik Fraimovich
8140100496 Merge pull request #1547 from getredash/drafts
Improve drafts UX
2017-01-26 15:56:42 +02:00
Arik Fraimovich
9aab74d8e7 Improve UI in small resolution:
- Add meta tag to scalae UI properly in small resolutions
- Make the menu button work (great) again.
- Change menu background color.
2017-01-26 15:55:44 +02:00
Allen Short
4e06a38676 more docstrings 2017-01-25 10:52:51 -06:00
Arik Fraimovich
7e43e54b9d Revise Query.by_user method 2017-01-25 18:08:29 +02:00
Arik Fraimovich
84e1ac8072 Show your unpublished items in recents 2017-01-25 17:29:00 +02:00
Arik Fraimovich
ba6109e7ac List unpublished dashboard only to owners 2017-01-25 17:22:30 +02:00
Arik Fraimovich
febe908e65 Revise drafts flow for queries:
* Draft queries are now called "Unpublished" -- felt like it better convey the feature.
* Unpublished queries won't be shown in "All Queries" for non owners, but will appear in
  search.
* You can't add unpublished queries to dashboards or alerts.
2017-01-25 16:55:39 +02:00
Arik Fraimovich
8445b04844 Proxy /invite URLs 2017-01-25 16:55:39 +02:00
Arik Fraimovich
42a5194893 Add Redis explicitly to circle.yml 2017-01-25 11:33:40 +02:00
hgs847825
3b4e3067bb Fix issue #1538 2017-01-25 02:34:28 +00:00
Arik Fraimovich
98757db3e3 Merge pull request #1508 from stefanseifert/feature/jql-custom-fields
[Jira JQL] Add: support custom JIRA fields and enhance value mapping
2017-01-24 12:32:21 +02:00
Arik Fraimovich
4e7adcf89b Merge pull request #1540 from yaningzhu/faster-get-mysql-schema
[MySQL] Change: faster retrieval of schema
2017-01-24 12:29:38 +02:00
Arik Fraimovich
df0d1f3cc8 Merge pull request #1536 from k-hal/add-support-for-bigquery-gce-configuration
[BigQuery] Add: support for additional configuration in BigQueryGCE
2017-01-24 12:28:05 +02:00
Arik Fraimovich
38f6f82c0b Merge pull request #1517 from denisov-vlad/clickhouse_uint64
Clickhouse: convert UInt64 columns to integer type
2017-01-24 12:27:25 +02:00
Arik Fraimovich
4f9ffdc094 Merge pull request #1542 from getredash/sass
Add Sass support
2017-01-24 10:08:57 +02:00
Arik Fraimovich
3431f2ebe8 Add Sass support 2017-01-24 09:54:28 +02:00
Arik Fraimovich
788830ddad Fix docker-entrypoint server command.
Fixes #1541.
2017-01-24 08:53:55 +02:00
Arik Fraimovich
2e358e89f4 Add missing db.session.commit() call. 2017-01-24 08:00:34 +02:00
Yaning Zhu
d58040ad11 Faster retrieval of MySQL schema
Because `information_schema.tables` and `information_schema.columns` do not have indexes on them, when they get large, joining them becomes painful. We have a database with over 10k tables and more than 200k columns. The old query takes forever.

The new query do not look at `information_schema.tables` at all. This works if your `information_schema.columns` table is in good shape in terms of data integrity (and it should be).

Tested on MySQL 5.5, 5.6(Percona), 5.7(Percona). The schema has not changed since then.
2017-01-23 09:51:40 -08:00
Arik Fraimovich
4904c67cbe Update logo URL. 2017-01-22 23:08:16 +02:00
Arik Fraimovich
b479bb39a0 Merge pull request #1530 from getredash/docker_workflow
Docker based developer workflow
2017-01-22 15:53:54 +02:00
Arik Fraimovich
5ee5b5a8f5 Update postgres configuration to improve tests performance 2017-01-22 15:03:13 +02:00
Arik Fraimovich
7cc97fafdb Add tests entry point to docker 2017-01-22 13:28:46 +02:00
Arik Fraimovich
c82a01b5c8 Don't exclude client/app from tarball 2017-01-22 12:34:49 +02:00
Arik Fraimovich
65237967ec Implement subscription task 2017-01-22 12:12:58 +02:00
Koichi HARUNA
53536a15f1 Add support for BigQueryGCE to be set just like BigQuery 2017-01-21 17:49:57 +09:00
Arik Fraimovich
4e4d52a558 Add line break in setup screen 2017-01-19 15:20:52 +02:00
Arik Fraimovich
7b11dc0ee6 Setup wizard for first run of Redash 2017-01-19 15:20:52 +02:00
Arik Fraimovich
bc230e988d Make noisy libraries less noisy 2017-01-19 15:20:52 +02:00
Arik Fraimovich
c39f440450 Name the development docker compose file as docker-compose.yml 2017-01-19 15:20:52 +02:00
Arik Fraimovich
00e1e90d6e Add node_modules to dockerignore 2017-01-19 15:20:52 +02:00
Arik Fraimovich
b1bd8f1c25 friendlier entrypoint script 2017-01-19 15:20:52 +02:00
Arik Fraimovich
837e3a372a Remove webpack from Docker Compose:
I realized that it makes more sense to run Webpack on the host machine
as usually you will need to install Node's tools on the host to enjoy
better intelisense and eslint support in the editor.

On top of that, installing Node.js on most developer machines should be
relatively easy.
2017-01-19 15:20:52 +02:00
Ofer Segev
81fca9329e App header: query search css fix 2017-01-19 15:20:52 +02:00
Ofer Segev
06186d9e8d Close #242: added ui indication for offline state 2017-01-19 15:20:52 +02:00
Arik Fraimovich
ddf6fc50a5 New Dockerfile and docker-compose for dev 2017-01-19 15:20:52 +02:00
Arik Fraimovich
af70f34f05 Remove Vagrant related files 2017-01-19 15:20:52 +02:00
Allen Short
d93a325902 API docstrings suitable for generating sphinx docs 2017-01-18 20:43:39 -06:00
Arik Fraimovich
8b74de71ba Merge pull request #1528 from lab79/patch-1
[Vertica] Change: set longer read_timeout
2017-01-17 15:26:25 +02:00