Commit Graph

3980 Commits

Author SHA1 Message Date
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
7ffa8f89aa Remove unused code 2017-01-26 21:20:53 +02: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
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
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
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
lab79
509c17632a Update vertica.py 2017-01-17 14:46:09 +03:00
Arik Fraimovich
bca7d08082 Disable eslint packages check 2017-01-16 22:24:02 +02:00
Arik Fraimovich
785b6fc412 Rename codeclimate file 2017-01-16 22:22:23 +02:00
Arik Fraimovich
94891502c3 Merge pull request #1525 from kakoni/patch-1
Update amazon linux bootstrap.sh
2017-01-16 17:02:54 +02:00
Arik Fraimovich
8d1b5b4153 Merge pull request #1526 from someones/fix_es_get_query_mappings
[ElasticSearch] Fix for #1521
2017-01-16 17:01:29 +02:00
Arik Fraimovich
e586f99cb1 Fix content-base option of webpack-dev-server 2017-01-16 15:10:01 +02:00
Arik Fraimovich
7e986db979 Make webpack-dev-server config more modular 2017-01-16 15:09:45 +02:00
Arik Fraimovich
681fd213da Fix package name in npm-shrinkwrap 2017-01-16 15:09:15 +02:00
lab79
34f7b2f50a add read_timeout to configuration_schema 2017-01-16 12:42:47 +03:00
lab79
1a06a5c789 add read_timeout
https://github.com/getredash/redash/issues/1527
2017-01-16 11:36:30 +03:00
Adam Griffiths
9d36d39f47 Fix for #1521
The merge from #1521 fixed the invalid variable error
but it fixed in in a way that introduced another error:
"dictionary changed size during iteration"
This correctly applies the fix.
2017-01-16 11:45:06 +11:00