Commit Graph

1483 Commits

Author SHA1 Message Date
vera-liu f8e2ce6ff3 Change status color in tab to match with success (#1247) 2016-10-10 13:32:38 -07:00
Bogdan 19677438c2 Add cascade delete to the 1 to composite relationships. (#1295) 2016-10-09 19:06:22 -07:00
Alanna Scott 9012b11101 add ImmutableMultiDict back to views.py (#1298) 2016-10-07 18:27:19 -07:00
Maxime Beauchemin f70d301f0d Refactor the explore view (#1252)
* Refactor the explore view

* Fixing the tests

* Addressing comments
2016-10-07 16:24:39 -07:00
vera-liu b7d1f78f5e Put formData in store (#1281)
* Put formData in store

* Reform actions and reducers

* Maded modifications based on comments:
2016-10-07 14:53:36 -07:00
Maxime Beauchemin 3384e7598e Fixing explore actions & slice controller interactions (#1292)
* Fixing explore actions & slice controller interactions

* Addressing a comment
2016-10-07 14:06:26 -07:00
Alanna Scott 382b8e85da [explore v2] add scrollbar to control panel container (#1284)
* add scroll bars to control panel container

* make query and save-btns block elements

* don't use react component, use custom styles

* move style to stylesheet
2016-10-07 11:57:05 -07:00
Maxime Beauchemin 0a3121c243 [doc] installation, load examples before init 2016-10-07 10:57:26 -07:00
vera-liu ecfe1a2417 Updated eslinter for object rest spread (#1289) 2016-10-07 10:18:23 -07:00
Stefano Ordine 609ae22bda less number of default workers. (#1206) 2016-10-07 10:16:41 -07:00
Francesco Riosa 94578cb6a7 reduce chunk size for countries table (#1279)
One user reported the load of the "countries" table exceed
max_allowed_packet which in some configurations can be as low as 1MB.

Changing the chunk size from 500 to 50 has a small cost on the initial
load of the data (one additional second to the 17 taken previously)
while being more universally usable without changing the configuration
of the mysql server.
The new packet size is estimated to be about 500KB.

The committer has not checked other tables
2016-10-07 09:16:26 -07:00
Alanna Scott 8a5f050f6c [explore v2] fix explorev2 chart errors (#1277)
* fix prototypes and arrow function

* only show line chart if viz type is line

* split render lines function

* fix arrow-body linter
2016-10-06 13:07:27 -07:00
vera-liu 5c5b393f2f Change userId, dbId to username and dbname (#1274) 2016-10-06 09:53:33 -07:00
Alanna Scott f837733d85 [explorev2] chart and controls (#1251)
* create structure for new forked explore view (#1099)

* create structure for new forked explore view

* update component name

* add bootstrap data pattern

* remove console.log

* Created store and reducers (#1108)

* Created store and reducers

* Added spec

* Modifications based on comments

* do use bootstrap data for now

* don't deal with bootstrap data for now

* use victory as a base

* import fake line data, add fake panels, make chart fixed

* add fetch support

* get slice data from json endpoint

* render chart with slicejson

* update chart and label demo

* remove fetch config

* remove dummy control panels

* should be a func

* make TimeSeriesLineChart

* add a comment

* inner height for height

* don't need fetch yet

* trailing comma breaks in package json

* pass in viz data from props

* add style sheet

* set height on explore container

* add legend

* make chart responsive to window resize

* can't use head_css in template bc overrides head_css in basic

* fix linting

* break labelItem into own SFC, make legend SFC

* add propTypes and fix linter
2016-10-05 19:41:16 -07:00
vera-liu 66b498de25 Added controls for Table Viz (#1253)
* Added controls for Table Viz

* Change control panel container to stateless

* Changed specs

* Resolved conflicts
2016-10-05 14:53:51 -07:00
vera-liu 659bf6d7e8 Moved time column and grains to models.py (#1255) 2016-10-05 13:02:35 -07:00
Riccardo Magliocchetti a8a16900e7 docs: add libsasl as system requirement on linux (#1257)
* docs: add libsasl as system requirement on linux

* docs: add openldap as system dependencies on linux too

Fix #1256
2016-10-05 13:00:38 -07:00
Riccardo Magliocchetti e50b59e553 docs: document that gunicorn does not work on windows (#1258)
And suggest to use a supported platform instead.

Fix #1236
2016-10-05 12:14:09 -07:00
Riccardo Magliocchetti 231804e2b4 CHANGELOG: Add proper credit to tan31989 for #744 (#1259)
As he's the author of the patch
2016-10-05 12:13:38 -07:00
vera-liu 421a86ade5 Some polish on query search (#1222)
* Some polish
- Changed query search icon
- CopyToClipboard in action bar

* Added dbId as linked-button, made modifications based on comments

* Fix duplicated import (linting)
2016-10-05 11:43:05 -07:00
Maxime Beauchemin 140a055e4e [docs] add line in installation instructions 2016-10-05 08:56:55 -07:00
Maxime Beauchemin 5bf86d91ec [docs] suggest to upgrade pip and setuptools 2016-10-04 21:59:40 -07:00
Maxime Beauchemin 715cdd98fb Changelog for 0.11.0 2016-10-04 21:39:33 -07:00
Maxime Beauchemin 7a01d9dbcb v0.11.0 2016-10-04 21:27:19 -07:00
Bogdan 58dfa436ee Do not shadow _ function. (#1254) 2016-10-04 18:30:15 -07:00
vera-liu 8ab5e5015a Added access check + Druid in endpoint (#1224)
* Explore control panel - Chart control, TimeFilter, GroupBy, Filters (#1205)

* create structure for new forked explore view (#1099)

* create structure for new forked explore view

* update component name

* add bootstrap data pattern

* remove console.log

* Associate version to entry files (#1060)

* Associate version to entry files

* Modified path joins for configs

* Made changes based on comments

* Created store and reducers (#1108)

* Created store and reducers

* Added spec

* Modifications based on comments

* Explore control panel components: Chart control, Time filter, SQL,
GroupBy and Filters

* Modifications based on comments

* Added access check + Druid in endpoint

* pull grains to constants

* Switch explore.html to old version
2016-10-04 13:44:45 -07:00
vera-liu a92190c3ae Fix npm linting error with version string (#1249) 2016-10-04 10:40:46 -07:00
Maxime Beauchemin 055fb6110f bump version to 0.10.0.dev0 2016-10-04 08:46:31 -07:00
Maxime Beauchemin 19ab3e2fbd Adding a 'Misc Charts' dashboard as part of the examples (#1208)
This showcases some of the visualization types that were there only as
slices, not as part of any dashboards.
2016-10-04 08:18:17 -07:00
Alanna Scott ae54ac9d58 [sql-lab] fix react warnings in dev (#1232)
* rename file to match class

* fix react warnings

* fix proptype typo

* add missing keys
2016-10-03 23:58:47 -07:00
Alanna Scott e6e902e8df [explore-v2] setup, basic layout, control panels, v2 url (#1233)
* Explore control panel - Chart control, TimeFilter, GroupBy, Filters (#1205)

* create structure for new forked explore view (#1099)

* create structure for new forked explore view

* update component name

* add bootstrap data pattern

* remove console.log

* Associate version to entry files (#1060)

* Associate version to entry files

* Modified path joins for configs

* Made changes based on comments

* Created store and reducers (#1108)

* Created store and reducers

* Added spec

* Modifications based on comments

* Explore control panel components: Chart control, Time filter, SQL,
GroupBy and Filters

* Modifications based on comments

* accommodate old and new explore urls

* move bootstrap data up in scope

* fix code climate issues

* fix long lines

* fix syntax error
2016-10-03 22:47:39 -07:00
vera-liu d8638dbcf3 revert devtool alert (#1238) 2016-10-03 16:21:33 -07:00
Bogdan 9795e4a532 [SQLLab] Fix updating the database state. (#1225) 2016-10-03 10:40:27 -07:00
Bogdan e11ef994bb [SQLLab] user server for the query limit check. (#1230) 2016-10-03 09:59:08 -07:00
Maxime Beauchemin 472679bb38 [security] allow for requesting access when denied on a dashboard view (#1192)
* Request access on dashboard view

* Fixing the unit tests

* Refactored much in the tests
2016-10-02 18:03:19 -07:00
vera-liu d066f8b726 Added alert to install redux devtool (#1228)
* Added alert to install redux devtool

* Change to warning
2016-09-30 15:02:52 -07:00
vera-liu aa5bbe6149 Fixed error of inserializable json for druid test (#1213)
* Fixed error of inserializable json for druid test

* Fixed indentation
2016-09-29 09:12:43 -07:00
Bogdan 9c83b900ae Bring DB in sync with the models.py (#1172)
* Bring DB in sync with the models.py

* Make sure that migrations run on multiple dbs
2016-09-28 13:55:06 -07:00
Maxime Beauchemin f0289cef3a [minor] fixing the icons in the navbar
the top item on the navbar had no icon, and the content of the menu had
two items with the same icon
2016-09-28 10:44:55 -07:00
vera-liu 96844c5c12 Share query (#1154)
* In the tab's dropdown menu under SQL editors, copy query link option is
added. A url with copied query will pop up a new editor tab.

* Made changes based on comments

* Move copy query button to right bottom of sql editor box

* Added in Alanna's code for copy url under menu item

* Fixed linting issues
2016-09-27 22:48:01 -07:00
Maxime Beauchemin 1a29163530 A few bugfixes 2016-09-27 10:20:20 -07:00
Maxime Beauchemin b67906cfe1 [hotfix] dashboard doesn't have filter_immune_slices pre-save 2016-09-26 17:11:03 -07:00
Maxime Beauchemin 153667505f [hotfix] slice page is broken 2016-09-26 16:51:11 -07:00
Aveplatter b6f4062874 Update countries.md (#1194) 2016-09-26 10:23:59 -07:00
prokh 44be42c922 Remove duplicate code for property name of SqlaTable (#1190) 2016-09-25 08:41:44 -07:00
vera-liu 5f6ef84c4e Vliu query search (#1187)
* Query search page under SQL Lab tab

* Modifications based on comments

* Hash

* Added spec and endpoint test with modifications
based on second round comments

* Changed permission menu in https://github.com/airbnb/caravel/pull/1095/files
2016-09-23 17:41:24 -07:00
vera-liu 551c97112c Revert "Query Search Page" (#1186) 2016-09-23 16:28:21 -07:00
vera-liu d5c5c0d6ac Query Search Page (#1122)
* Query search page under SQL Lab tab

* Modifications based on comments

* Hash

* Added spec and endpoint test with modifications
based on second round comments

* Changed permission menu in https://github.com/airbnb/caravel/pull/1095/files
2016-09-23 16:13:18 -07:00
Maxime Beauchemin 98902599ff [hotfix] issues around empty params 2016-09-23 15:07:33 -07:00
Maxime Beauchemin 7f3c205c46 [hotfix] reactable bump to 0.14.0 2016-09-23 14:28:13 -07:00