Commit Graph

325 Commits

Author SHA1 Message Date
Maxime Beauchemin
b5fe9dbe33 Adding a security section to the docs (#561) 2016-06-03 11:33:11 -07:00
Riccardo Magliocchetti
5bc50210ad utils: generalize utility to find find_constraint_name (#557)
See https://github.com/airbnb/caravel/pull/531
2016-06-03 09:47:51 -07:00
Riccardo Magliocchetti
fe402465b1 caravel: catch only ImportError when loading config (#559)
As you may want to see the exception raised on at leasts SyntaxError
2016-06-03 09:46:03 -07:00
Maxime Beauchemin
3ee9a68c09 Only owners can update their objects (#507) 2016-06-02 19:17:34 -07:00
Maxime Beauchemin
29170512ab Adapting default CSS templates to the new grid layout 2016-06-02 16:40:55 -07:00
Maxime Beauchemin
b5614a433e Fixing 2 bugs that happen when fields are removed from table (#551) 2016-06-02 12:39:21 -07:00
Giacomo Tagliabue
5f005d67e3 Add CORS support (#478)
* Add optional CORS

* make CORS an extra dependency

* add documentation
2016-06-02 12:34:36 -07:00
George Ke
c78d3682ac Reactify dashboard grid (#523)
* Use react-grid-layout instead of gridster

* visualizations show and resize

* display slice name and description; links work

* positioning of widgets to match gridster, rowHeight matches

* Change margins, rowHeight, unpositioned viz, and expandedSlices to match gridster

* Saving dashboard, deleting slices, formatting on slices (chart control and resize handle), expanded slices fixed.

* responsiveness + use es6 classes

* Minor ui fixes + linting

* CSS transforms on slices messes up nvd3 tooltip positioning.
Turn off CSS transforms for the time being, with a cost of painting speed.

Issue is currently being looked at on the nvd3 repo
PR: https://github.com/novus/nvd3/pull/1674

* Remove breakpoint listener, fires when it shouldn't (i.e. too often)

* resize is no longer buggy, minor cleanup

* gridster class, const, landscape error

* one source of data for data to front end from python
2016-06-02 12:31:05 -07:00
Luca Albertalli
fe6628b0a4 Fix #529 2 - "This Session's transaction has been rolled back" (#531)
* Created migration to fix the bug

* Working also on MySQL

* Added support for Vertica Grains (#515)

* Fix #529 1 "This Session's transaction has been rolled back" (#530)

* Fixing the specific issue

* Added an additional fix for a similar error in #529

Background:
- When an object is modified by SQLAlchemy, it is invalidated so need to be fetched again from the DB
- If there's an exception during a transaction, SQLAlchemy performs a rollback and mark the connection as dirty.

Bug:
- When handling exceptions, the exception handler tries to access the name of the cluster in the main object. Since the name has been invalidated due to a write, SQLAlchemy tries to fetch it on a 'dirty' connection and spits out an error. Solution:
- Fetch the information for handling the exception before starting the process.

* Modified the migration function to to automatically detect the the foreign keys based on the signature.
It supports also sqlite using batch migrations

* i18n: Fix typo in Druid cluster broker port label (#512)

* Update models.py (#541)

removing duplicated `user_id` def
2016-06-02 12:27:59 -07:00
George Ke
cb384d051b Fix for Not Grouped By on Table View (#544)
* fix for default metric in table visualization

* better location for form override; covers all parameters

* remove dead code, use items instead of iteritems for python 3
2016-06-01 22:59:06 -07:00
George Ke
849063c797 fix world_map appending to old world map when updating (#549) 2016-06-01 22:47:22 -07:00
Luca Albertalli
087c47a37e Fix #529 1 "This Session's transaction has been rolled back" (#530)
* Fixing the specific issue

* Added an additional fix for a similar error in #529

Background:
- When an object is modified by SQLAlchemy, it is invalidated so need to be fetched again from the DB
- If there's an exception during a transaction, SQLAlchemy performs a rollback and mark the connection as dirty.

Bug:
- When handling exceptions, the exception handler tries to access the name of the cluster in the main object. Since the name has been invalidated due to a write, SQLAlchemy tries to fetch it on a 'dirty' connection and spits out an error. Solution:
- Fetch the information for handling the exception before starting the process.
2016-05-31 21:16:32 -07:00
Riccardo Magliocchetti
b193539fa4 i18n: Fix typo in Druid cluster broker port label (#512) 2016-05-31 21:10:28 -07:00
Luca Albertalli
ae7fb012a9 Added support for Vertica Grains (#515) 2016-05-31 21:09:04 -07:00
Jiayu Liu
409233d4fc Update models.py (#541)
removing duplicated `user_id` def
2016-05-31 21:07:14 -07:00
Maxime Beauchemin
dee4c34411 [hotfix] adapting to pydruid 0.2.3 2016-05-24 18:35:10 +00:00
Maxime Beauchemin
57990bfd83 Implementing druid's regex filters (#501)
* Implementing druid's regex filters

* Debugging

* Debuggin'
2016-05-23 13:06:35 -07:00
Xuefeng Zhu
29f5ace436 complete Chinese translation (#503) 2016-05-23 11:46:46 -07:00
Maxime Beauchemin
0fcab30652 More translation instrumentation and some french to test (#502) 2016-05-23 11:46:33 -07:00
Maxime Beauchemin
c53874c8ab [hotfix] treemap was broken 2016-05-20 14:05:08 -07:00
Maxime Beauchemin
f0c6a98027 Gunicorn tweaks, unlimited limit-request-line & limit-request-field_size (#500)
This is mostly to enable long text in the Markdown widget
Related:
https://github.com/benoitc/gunicorn/issues/376
2016-05-20 11:35:41 -07:00
Maxime Beauchemin
58d78beeaa [bugfix] 'Y Axis Zero' would force 1 in Y axis (#497) 2016-05-20 11:10:46 -07:00
Riccardo Magliocchetti
e1a3854f2a utils: add special serializer for numpy.int64 (#492)
It looks like COUNT(*) returns a numpy.int64 value that the
default JSONEncoder does not handle.

While at if we get a type we are not handling make it easier to
debug the issue by throwing a TypeError exception with useful
data.

Fix #486
2016-05-20 11:10:29 -07:00
Riccardo Magliocchetti
3cfc58e3a2 Add italian translation (#491) 2016-05-20 11:05:08 -07:00
Josh Walters
3ee102b79f Made '__' prefix into suffix. (#496) 2016-05-20 11:03:49 -07:00
Maxime Beauchemin
f5180d8724 [hotfix] fix name change on test dashboard triggers error 2016-05-19 08:51:13 -07:00
Maxime Beauchemin
4738b01125 [hotfix] setting default value for druid_time_origin 2016-05-16 23:08:46 -07:00
Maxime Beauchemin
d1f0276408 Introducing Horizon charts (#472)
* Introducing Horizon charts

* JS Lintin
2016-05-16 22:49:12 -07:00
Maxime Beauchemin
1766f6edd6 [hotfix] making druid_time_origin stick 2016-05-16 22:48:32 -07:00
Andrii Sydorchuk
8a406b18f5 Add PUBLIC_ROLE_LIKE_GAMMA config flag (#473) 2016-05-16 21:24:43 -07:00
Maxime Beauchemin
2620aeca02 Fixing the heatmap calendar color ranges in the Welcome page (#474) 2016-05-16 21:22:38 -07:00
George Ke
5c0e30ed70 Added Calendar Heatmap (#475)
* Added sqlite Grains

* Calendar heatmap visualization

* Linting

* Explicit metric setting was breaking tests

* Python linting

* Code cleanup + review

* [fixing the build] a new version of eslint is more picky

* Linting

* Added sqlite Grains

* Calendar heatmap visualization

* Linting

* Linting

* Explicit metric setting was breaking tests

* Python linting

* Code cleanup + review
2016-05-16 17:59:38 -07:00
Maxime Beauchemin
607e1f941b Fixing the build 2 out of 2 2016-05-16 17:41:02 -07:00
Maxime Beauchemin
d30567959b [fixing the build] a new version of eslint is more picky 2016-05-16 16:33:08 -07:00
Maxime Beauchemin
83e0e58888 [hotfix] Druid explore/table dropdown doesn't change anything 2016-05-16 16:10:22 -07:00
x4base
5a870fe1c2 Mysql key length (#459)
* Use varchar(255) in MySQL

* Adjust the key lengths in old migration scripts
2016-05-12 10:27:38 -07:00
Maxime Beauchemin
a0099ad6d6 v0.9.0 2016-05-12 08:24:01 -07:00
Maxime Beauchemin
f28c2b2557 Cosmetric tweaks in the CRUD list view (#458) 2016-05-11 21:05:32 -07:00
Maxime Beauchemin
52bbb38188 Don't limit parallel coordinates table size (#455)
Before we limited the table size to 10 rows, now there's no limit and it
will overflow properly with a scrollbar.
2016-05-11 17:48:04 -07:00
Maxime Beauchemin
aa6e6bdf7a Allowing for templated urls in iFrame (#460)
* Allowing for templated urls in iFrame

This can allow for passing {{ width }} and {{ height }} as dynamic
attributes in the iFrame's URL.

The new method Slice.render_template method could do more eventually
exposing more variables to be used in dynamic strings.

* Passing function references

* js linting
2016-05-11 17:00:46 -07:00
Maxime Beauchemin
6c333d5010 Fixing the missing searchbox bug (#431)
* Fixing the missing searchbox bug

* Linting JS

* Layout tweaks
2016-05-10 11:49:32 -07:00
Maxime Beauchemin
673cce9e56 Attempting to fix #412 (#430)
* Attempting to fix #412

* More flushes
2016-05-10 11:19:30 -07:00
Maxime Beauchemin
d79089c587 Improving the parallel coordinate viz (#452)
* Improving the parallel coordinate viz

* Clear container on refresh
* Order of columns is kept
* Option to show/hide the series column in viz
* Color metric not shown by default

* JS linting
2016-05-10 09:39:33 -07:00
Maxime Beauchemin
c4e3020369 Conververting datetime based on database dialects (#446) 2016-05-10 09:29:29 -07:00
Maxime Beauchemin
77e9e6a5d7 Fixing issue #444 color function chokes on non-string param (#447) 2016-05-10 09:22:59 -07:00
Siddharth Gupta
a75d6bc52c add timestamp toggle in chart options (Table Viz) (#439)
* add timestamp toggle in chart options (Table Viz)

* refactor timestamp choices

* fix build error
2016-05-10 09:22:32 -07:00
x4base
c5fcbc0709 Support hyperUniqueCardinality type in post aggregation (#451) 2016-05-10 09:21:09 -07:00
Siddharth Gupta
2f64c42062 blacklist druid datasources to be refreshed because it takes forever to load all druid datasources metadata which is not even required (given the use cases user should be able to blacklist data sources which are not required to be refreshed). (#441) 2016-05-06 12:03:42 -07:00
Maxime Beauchemin
d304ee005a Bugfix in line chart where the series name is an empty string (#434) 2016-05-05 12:19:51 -07:00
Junshuo
82fa501dea Update Chinese translation (#438)
Change some Chinese translations to make them sound less robotic
2016-05-05 12:19:21 -07:00
x4base
bc7170769b Recursively get the dependency fields of post aggregators (#437) 2016-05-05 08:52:48 -07:00
andrewhn
6941f1de64 add unicode data to tests (#432)
* add unicode data to tests

* make tests pass on 2.7

* clean up data loading

- remove duplicate keys in slice_data
- reduce line length

* change manager option flag to -t, --load-test-data

* test --> load_test_data
2016-05-05 08:46:16 -07:00
Maxime Beauchemin
a3f549bb9e Some chinese translations as a Proof of Concept (#435) 2016-05-04 21:36:10 -07:00
Andrii Sydorchuk
0bedaed367 Make sure anonymous user with proper permissions can access data (#415)
* Make sure anonymous user with proper permissions can access data

* Review fixes: naming changes

* Review fixes: add more granular tests for public user dashboard access

* Review fixes: test that public user has access only to permitted data sets
2016-05-03 22:31:37 -07:00
x4base
1d0863abfe Rename the dummy variable _ to avoid conflict with lazy_gettext (#427)
Otherwise "local variable '_' referenced before assignment" will be raised
2016-05-03 22:28:30 -07:00
Maxime Beauchemin
a3a9ec926f [hotfix] piechart goes black on refresh (#424) 2016-05-03 12:49:52 -07:00
Giacomo Tagliabue
9a08c45e59 add additional postgres and redshift time grains (#429) 2016-05-03 12:44:42 -07:00
Maxime Beauchemin
88c9516e20 Getting started on translations (#423) 2016-05-02 10:50:23 -07:00
Maxime Beauchemin
ec7dbed800 Blank theme (#419)
* A white theme

* Updating TODO

* Fixing tests
2016-05-02 10:04:29 -07:00
Maxime Beauchemin
26d273643b Allowing for druid post aggregations (#418)
* Druid post aggregations

* Fixing tests
2016-05-02 10:00:39 -07:00
Maxime Beauchemin
0ca3f5ec80 Improving SQLA query generation (#421)
* Improving SQLA query generation

* Fixing debug
2016-05-02 10:00:28 -07:00
Siddharth Gupta
d7ea47387f enable timerotateloghandler (configurable) (#311)
* attempt to enchance logging

* clean up logging

* clean up logging

* reset to logger

* clean up imports

* add comments in config.py

* remove redundant declaration of logging.config. Already exists in caravel/__init__.py

* replace RotatingFileHandler with TimedRotatingFileHandler

* revert back running web server in debug mode

* fix debug in bin/caravel

* resolve build errors - formatting

* need to test

* enable time rotateloghandler

* revert back print statements - add feature for rotatetimelog which is needed and make it configurable

* revert back to default in master

* fix build issues

* remove extra print statement

* change log location to default

* configure console log level and format
2016-05-01 07:59:08 -07:00
x4base
7b5b602e96 Use batch_alter_table to drop column in the migration script (#406) 2016-04-30 08:30:40 -07:00
Chris Williams
b78ec54650 Merge pull request #414 from airbnb/chris/fix-sunburst-level-trunc
[bugfix] allow repeated values across levels when building sunburst hierarchy
2016-04-29 10:59:29 -07:00
Maxime Beauchemin
337c9d59ae v0.8.9 2016-04-27 19:38:36 -07:00
Maxime Beauchemin
89d1a77281 [hotfix] filter_immune_slices fix 2016-04-27 13:41:06 -07:00
Maxime Beauchemin
b634d03ac3 Show only Slices and Dashboards users have access to (#404)
* Introducing more security features

* Many to many owners for slices and dashboards
* Slices are filtered to only slices that the user has access to

* Adding unit tests
2016-04-26 16:44:51 -07:00
Maxime Beauchemin
ab64a26b5b fix img loading overlay in explore view (#403) 2016-04-26 16:14:40 -07:00
andrewhn
a2f2ad84da add navigation, zoom to treemap (#396)
* add navigation, zoom to treemap

* don't use stale form data
2016-04-26 11:51:01 -07:00
Maxime Beauchemin
c0fb9eeca4 [bugfix] big_number doesn't fadeout on hover 2016-04-26 09:29:40 -07:00
Maxime Beauchemin
42ac46c1e1 [bugfix] fix context confusion in Slice 2016-04-26 09:29:19 -07:00
Maxime Beauchemin
7b1075990c [hotfix] periodic refresh dashboard feature had broken caching 2016-04-25 15:28:14 -07:00
Maxime Beauchemin
37be01bc12 [hotfix] adding cache_key in payload 2016-04-25 12:41:30 -07:00
Maxime Beauchemin
7d90f26554 Fixing #388 (#391) 2016-04-21 21:10:09 -07:00
Maxime Beauchemin
f1e10d8d25 One more Druid test (#387) 2016-04-21 08:17:15 -07:00
x4base
b01d378475 Fix the label of the periodic-refresh button (#386) 2016-04-21 08:16:52 -07:00
Maxime Beauchemin
f4177bfa94 More examples / tests (#385)
* More examples / tests

* Fixing the dashboards positioning
2016-04-20 17:36:37 -07:00
x4base
d8a2b621d8 Periodically update the slices in the dashboard (#374)
* Periodically update the slices in the dashboard

* Make the refresh interval changeable

* Add the button and the modal for the user to change the refresh interval

* Don't use callback for refreshing

* Randomize to prevent all widgets refreshing at the same time

* Show the loading icon as an overlay when the slices refresh
2016-04-20 17:35:07 -07:00
Maxime Beauchemin
9a33557112 Removing forgotten print statement 2016-04-20 15:28:02 -07:00
Kim Pham
efc6bf4eb8 Redirect application log to stderr, which is picked up by gunicorn. (#335) 2016-04-20 15:09:15 -07:00
Maxime Beauchemin
17e711fda2 Druid unit tests using Mock (#384)
* Initial Druid mock unit tests

* More unit tests

* Test for Druid query

* Adding a groupby test
2016-04-20 15:08:10 -07:00
Chris Williams
d96b634ded split sunburst breadcrumb names on '_' to apply ' '-dependent wrapping more freqently (#376) 2016-04-19 14:42:36 -07:00
Siddharth Gupta
afcdcf06a1 Fixing overwrite and save slice permissions for a give role (#298)
* Fixing overwrite and save slice permissions for a give role

* fix function name - build failed

* fix function name and test user permissions

* disable the button in the UI

* fix build error - characters too long in 1 line

* try to disable button on the UI

* disable cursor in caravel css. You wont be able to click anymore if no access

* fix build issues

* fix build errors! god bless me

* disable main features in dashboard and slice

* fix build issues
2016-04-18 13:56:00 -07:00
Maxime Beauchemin
5597eb4cc4 Fix db upgrade script b4456560d4f3 (#370)
* Recreating db upgrade error first

* Wrapping alter table calls in try statements
2016-04-18 12:49:13 -07:00
Siddharth Gupta
3f0171b77b Configure Visualizations (#365)
* make viz types configurable

* make visualizations configurable

* deault every viz is true

* add blacklist viz_type

* fix build
2016-04-18 09:00:03 -07:00
Maxime Beauchemin
badcd8bfa1 Storing version number in only one place (#362) 2016-04-17 08:20:11 -07:00
Maxime Beauchemin
04f1b176c4 Fixes issue #364 2016-04-17 08:17:08 -07:00
Maxime Beauchemin
899fe19afb [WiP] Attempting to support Druid's granularity origin as a hidden url param (#194)
* Supporting Druid'd time origin feature

* Adding origin to form, making it free form
2016-04-15 17:00:44 -07:00
Maxime Beauchemin
f3168518e2 New url default for iframe viz 2016-04-15 16:50:16 -07:00
Maxime Beauchemin
04d769ff24 Some more error handling when rendering the explore view (#361) 2016-04-15 15:00:49 -07:00
Maxime Beauchemin
01c2c7baf8 Fixing unique constraint in SqlaTable model (#360) 2016-04-15 14:53:06 -07:00
Maxime Beauchemin
2d420eee25 v0.8.8 2016-04-14 21:25:47 -07:00
Maxime Beauchemin
1a6757f10a Better type detection for inference of column matrix (#353) 2016-04-14 21:24:04 -07:00
Maxime Beauchemin
63e5e932cb Hide password from database 'show' view (#355) 2016-04-14 21:23:49 -07:00
Maxime Beauchemin
e6e8ec9620 [bugfix] missing redirect when datasource is missing (#352) 2016-04-14 20:25:40 -07:00
Maxime Beauchemin
ffdae19312 v0.8.7 2016-04-13 22:45:50 -07:00
Maxime Beauchemin
e5fabf39df Adjusting positioning in the examples 2016-04-13 22:39:23 -07:00
Ludovic
eb5a41728e Change the size of the column datasource_name in datasource creation … (#345)
* Change the size of the column datasource_name in datasource creation table to fix a Sql server specific issue.

* Change the model according to the change of the database script done in the PR 345
2016-04-13 22:32:48 -07:00
Maxime Beauchemin
91a3594be3 Fixing the thumbs and the galery (#346) 2016-04-13 22:32:03 -07:00
andrewhn
52ebdc5017 add treemap (#344) 2016-04-13 20:27:00 -07:00
Maxime Beauchemin
5cadd6794c Allowing to specify schema for tables (#330)
* Allowing to specify schema for tables

* Installed postgres and tested/fixed
2016-04-13 17:28:12 -07:00
Maxime Beauchemin
0a94b36d3d Adding version subcommand to CLI (#329) 2016-04-13 17:27:20 -07:00
Maxime Beauchemin
21b3a5f199 [big_number*] fixing a few bugs (#342) 2016-04-13 17:27:00 -07:00
Maxime Beauchemin
a76ccf462d [welcome page] shows the most recently updated items first (#343) 2016-04-13 17:26:44 -07:00
Denis Zgonjanin
8fe5790ec3 Don't die on malformed json in the extras field. Give feedback to user (#338) 2016-04-13 16:41:55 -07:00
Chris Williams
1e08b3e8c5 add tooltips to sankey (#341)
* add tooltips to sankey

* update tooltip language ('count' --> 'value', 'Link Weight' --> 'Path Value').
2016-04-13 15:12:11 -07:00
Maxime Beauchemin
77828b630a [bugfix] druid granularity form field should be select2_freeform 2016-04-13 13:58:28 -07:00
Maxime Beauchemin
3c72751c26 [bugfix] druid granularity form field should be select2Sortable 2016-04-13 13:16:19 -07:00
Maxime Beauchemin
af417b6b58 Adding expression column description in the CRUD 2016-04-12 10:41:23 -07:00
Maxime Beauchemin
1dd416570a Json dumps iso date for Table view (#328) 2016-04-11 21:22:54 -07:00
Maxime Beauchemin
54fb76e680 Getting the SQL view back in a working state (#327) 2016-04-11 21:20:42 -07:00
Maxime Beauchemin
74975a1606 Getting error messages to show up on the interactive debugger 2016-04-11 21:17:57 -07:00
Denis Zgonjanin
6d0b5767b3 Include connection parameters in call to Test Connection for a new database (#326) 2016-04-11 15:39:50 -07:00
Maxime Beauchemin
f32ebeeb98 Fixing the way tables overflow in dashboard view (#310) 2016-04-11 12:11:47 -07:00
Maxime Beauchemin
807d686312 Showing thumbsnails when switching viz (#313)
* Showing thumbsnails when switching viz

* Adding missing images

* linting
2016-04-11 12:11:34 -07:00
Maxime Beauchemin
5b822492c8 Linting to 99% (#317) 2016-04-10 22:49:08 -07:00
antbell
a9af6b1b96 Fix for undefined inner_time_filter on missing granularity in models.SqlaTable (#309) 2016-04-10 16:22:58 -07:00
andrewhn
fe045ad076 New viz: box plot (#312)
* add box plot

* changes for linters
2016-04-10 16:15:25 -07:00
Maxime Beauchemin
dab31eb66d Bugfix, link pointing to json 2016-04-10 11:17:37 -07:00
Maxime Beauchemin
f8e5d30e2e Revert previous css commit 2016-04-09 14:37:44 -07:00
Maxime Beauchemin
bfd1c8711b Forcing widget overflow to be visible 2016-04-09 14:20:01 -07:00
Maxime Beauchemin
542b66ef68 Giving credit where credit is due (#307) 2016-04-09 13:17:20 -07:00
Maxime Beauchemin
866e00d78c Detecting loops in Sankeys (#271)
* Detecting loops in Sankeys

* Fixing the algo
2016-04-09 00:17:31 -07:00
Maxime Beauchemin
a3dcb0f309 closes #292 (#304) 2016-04-08 22:32:12 -07:00
Maxime Beauchemin
25831f0033 Making prod web server run by default 2016-04-08 22:09:01 -07:00
Alexander Mancevice
b47ca785c7 Preserve order of breakdowns in bar_dist (#302) 2016-04-08 21:27:32 -07:00
prihoda
ef992b6449 Fix week and month Time grain in MySQL (#297)
With mysql datetime and timestamp columns, currently the Time grain "week" and "month" options don't remove the time part. This results in groupings like this:

timestamp count
2015-04-05 07:00:00 1
2015-04-05 10:00:00 1
2015-04-05 11:00:00 2
2015-04-05 11:50:00 1
2015-04-05 12:00:00 5
2015-04-05 14:20:00 1
2015-04-05 14:30:00 1

and so on.

This is solved by wrapping the DATE_SUB with DATE().
2016-04-08 20:54:04 -07:00
Maxime Beauchemin
fdcedd097f Adding edit link to datasource in explore view (#303) 2016-04-08 20:49:54 -07:00
Maxime Beauchemin
9a02c88afa Adding link to docs on navbar, re-indent 2016-04-08 18:13:24 -07:00
Chris Williams
ef64884e53 [heatmap] fix bug to display this view properly in dashboards. fix bug to display their d3-tip tooltips in dashboards. don't show empty tooltips on heatmap. update logic for margins so they fit dynamically based on label size. (#301) 2016-04-08 17:54:59 -07:00
Siddharth Gupta
eff0beb195 Optimizing import statements for better readability and to avoid unused, excessive and duplicating imports in the project. (#294) 2016-04-07 23:01:40 -07:00
michellethomas
59169bfc96 Merge pull request #212 from airbnb/big_number_total
Adding a big number total viz type that is not a timeseries metric
2016-04-07 14:22:12 -07:00
Maxime Beauchemin
bcca840f01 Adding from __future__ imports (#288)
* Adding from __future__ imports

* fixes

* Fixing doctests

* Removing unused ColorFactory (in js now)

* linting
2016-04-07 08:39:08 -07:00
Maxime Beauchemin
bf38c714a5 Adding missing images 2016-04-06 21:10:41 -07:00
Maxime Beauchemin
8556b098f9 Enable Time Grain Option for Redshift 2016-04-06 20:12:24 -07:00
Maxime Beauchemin
d10eaeccc9 Adding a Gallery to the docs 2016-04-06 08:46:21 -07:00
greens231
c2bb49fec5 Fix 4e6a06bad7a8_init.py migration script to work with Postgres
* Update 4e6a06bad7a8_init.py

* removed comments
2016-04-06 08:24:52 -07:00
Maxime Beauchemin
062f2b81cf Datasource dropdown in Explore view 2016-04-06 08:23:27 -07:00
andrewhn
65e72d0d07 Csv download improvements
* name + extension for generated csv and json files

* write csv index where data is meaningful
2016-04-06 08:22:49 -07:00
Maxime Beauchemin
345727635e Adding y_axis_format to DistributionBarViz 2016-04-06 08:20:24 -07:00
Maxime Beauchemin
c2baa53b06 bugfix datatables move to new package 2016-04-05 21:40:24 -07:00
Maxime Beauchemin
31758827ae + button on Slice list view redirects to Table view with alert 2016-04-05 13:33:02 -07:00
Maxime Beauchemin
81de51bf6f Minor tweaks 2016-04-04 21:39:33 -07:00
andrewhn
0d1f27dbc1 add postgres grains 2016-04-04 20:56:10 -07:00
Maxime Beauchemin
c7282882d5 Fixing the pagination display on welcome 2016-04-04 20:47:12 -07:00
Maxime Beauchemin
f9d04e8a72 Fixed refresh_datasource redirect 2016-04-04 20:43:06 -07:00
Maxime Beauchemin
bf2e804331 Removed trailing coma in Database.extra default 2016-04-04 17:42:31 -07:00
Maxime Beauchemin
4d640b5a3d [fix] panel overflowing on welcome page 2016-04-04 16:56:10 -07:00
Maxime Beauchemin
380c3f0c75 Using boostrap panels for form fieldsets in explore view 2016-04-04 16:14:55 -07:00
andrewhn
e3e8202c98 clear element before redrawing sankey 2016-04-04 16:13:54 -07:00
Maxime Beauchemin
889844407f Adding extra options to deeper configure sqlalchemy 2016-04-04 16:13:08 -07:00
Maxime Beauchemin
f1830c36cf A better welcome page 2016-04-04 16:12:28 -07:00
Chris Williams
92f73b67ca Move window.alert() calls to bootstrap modals. Also log errors to console.
* Move window.alert() calls to bootstrap modals. Also log errors that occur to console.

* move misc modal to basic template so it's available on all pages.
2016-04-04 16:11:23 -07:00
skje
9c1af66ba4 Fix ignored SQL where clauses 2016-04-04 16:03:21 -07:00
Maxime Beauchemin
2b31ab498b [hotfix] fixing json endpoint 2016-04-04 15:20:10 -07:00
Maxime Beauchemin
034fd077e1 Doc formating fix 2016-04-04 10:36:51 -07:00
Maxime Beauchemin
6f96252e45 A logo on the navbar 2016-04-03 20:03:27 -07:00
Maxime Beauchemin
0b93fd373d [hotfix] hashing unicode in py3 2016-04-03 14:04:53 -07:00
Jiayu Liu
c3789d53b4 Removing duplicate get_table in fetch_metadata 2016-04-03 07:40:58 -07:00
Maxime Beauchemin
aec3c0b358 Fixing bug when datasource has been deleted 2016-04-03 07:37:18 -07:00
Karel Vervaeke
ef45c20558 Hash cache keys to avoid too keys being too long. Resolves #240 2016-04-03 07:33:43 -07:00
Maxime Beauchemin
10ab678fc6 Finishing up the tutorial 2016-04-02 23:34:47 -07:00
Maxime Beauchemin
d2f51900f1 Adding a tutorial 2016-04-02 23:11:52 -07:00
Maxime Beauchemin
12cc064059 Merge pull request #225 from airbnb/chris/remove-random-power-units
remove power units from sankey diagram
2016-03-31 23:23:42 -07:00
Chris Williams
0e2c0ce858 remove power units from sankey diagram 2016-03-31 16:59:39 -07:00
Chris Williams
b87d8a0fbf change 'of previous' to 'of parent' 2016-03-31 12:26:49 -07:00
Chris Williams
0b3e2e00cc Add 'Percent of previous' to sunburst vis. Appease npm warnings for data tables and d3-sankey. 2016-03-31 12:26:49 -07:00
Maxime Beauchemin
2b71b72065 Redirecting URL from previous names to caravel 2016-03-31 09:31:07 -07:00
Kim Pham
e5553ab45e Fix lint warning. 2016-03-30 16:38:02 -07:00
Kim Pham
4a77b70046 A better fix. 2016-03-30 16:28:08 -07:00
Kim Pham
f67c6b5f46 Fix a bug when loading DruidDatasource. 2016-03-30 16:11:14 -07:00
Maxime Beauchemin
fd407424ad A few replacements related to the rename
mostly just s/mistercrunch/airbnb/g
2016-03-30 14:29:07 -07:00
Maxime Beauchemin
8e27099866 Fixing the tests for py3 2016-03-29 10:02:15 -07:00
Maxime Beauchemin
619d35878f [dashed->caravel] Replace in files 2016-03-28 22:01:21 -07:00
Maxime Beauchemin
d48796f00e Caravel - renaming files 2016-03-28 21:53:24 -07:00