Commit Graph

156 Commits

Author SHA1 Message Date
Riccardo Magliocchetti b48101ca51 docs: recommend python3 and virtualenv (#901)
* docs: make it clear that python3 is the recommended version

* docs: recommend installing inside a virtualenv

And add a virtualenv primer.
2016-08-09 15:56:36 -07:00
Karl LIN 862042bb49 add redis cache hint to docs (#861) 2016-08-01 23:04:26 -07:00
Maxime Beauchemin d11dd83c94 [docs] faq entry about server timeouts 2016-07-22 19:05:59 +00:00
Riccardo Magliocchetti 8b694ddd7a Fix caching in python3 (#806)
* caravel: fix visualization cache for python3

python3 wants bytes and not strings:

2016-07-22 10:36:09,474:INFO:root:Caching for the next 28800 seconds
2016-07-22 10:36:09,475:WARNING:root:Could not cache key 1eeb45f32960f0df0ad99a125bdaf199
2016-07-22 10:36:09,475:ERROR:root:'str' does not support the buffer interface
Traceback (most recent call last):
  File "/home/rm/caraveltest/venv/lib/python3.4/site-packages/caravel/viz.py", line 306, in get_json
    zlib.compress(self.json_dumps(payload)),
TypeError: 'str' does not support the buffer interface

Tested with memcached and pylibmc client library.

* docs: add note about using a proper memcached client library
2016-07-22 09:45:51 -07:00
Maxime Beauchemin e813726afb Giving hingts that we support SparkSQL (#803) 2016-07-21 17:51:30 -07:00
Maxime Beauchemin 8312f1c2aa Adding an option to make separators in dashboard (#699) 2016-07-13 23:40:52 -04:00
Maxime Beauchemin 8135c240dc Revert "Binding key Q to the running the query in explore view" (#713) 2016-07-01 16:36:06 -07:00
Maxime Beauchemin 19983147a3 Binding key Q to the running the query in explore view (#685) 2016-07-01 15:28:40 -07:00
Maxime Beauchemin d4641e4457 [docs] FAQ how do I create my own viz? 2016-06-30 17:33:51 -07:00
George Ke 57ebb2bacf Map visualization (#650)
* simple mapbox viz

use react-map-gl

superclustering of long/lat points

Added hook for map style, huge performance boost from bounding box fix, added count text on clusters

variable gradient size based on metric count

Ability to aggregate over any point property

This needed a change in the supercluster npm module, a PR was placed here:
https://github.com/mapbox/supercluster/pull/12

Aggregator function option in explore, tweaked visual defaults

better radius size management

clustering radius, point metric/unit options

scale cluster labels that don't fit, non-numeric labels for points

Minor fixes, label field affects points, text changes

serve mapbox apikey for slice

global opacity, viewport saves (hacky), bug in point labels

fixing mapbox-gl dependency

mapbox_api_key in config

expose row_limit, fix minor bugs

Add renderWhileDragging flag, groupby. Only show numerical columns for point radius

Implicitly group by lng/lat columns and error when label doesn't match groupby

'Fix' radius in miles problem, still some jankiness

derived fields cannot be typed as of now -> reverting numerical number change

better grouping error checking, expose count(*) for labelling

Custom colour for clusters/points + smart text colouring

Fixed bad positioning and overflow in explore view + small bugs + added thumbnail

* landscaping & eslint & use izip

* landscapin'

* address js code review
2016-06-24 14:16:51 -07:00
Lech Jankovski ff44e46d7b Add `impyla` to recommended packages for Impala (#649) 2016-06-21 09:41:24 -07:00
alanmcruickshank 5618df78f8 Added documentation of the health check endpoint (#644) 2016-06-20 09:24:49 -07:00
Maxime Beauchemin 04388a7b9b [docs] telling people to use gunicorn server 2016-06-16 09:16:10 -07:00
x4base 4c6026fdda Add access control over metrics (#584)
* Add the new field "is_restricted" to SqlMetric and DruidMetric

* Add the access control on metrics

* Add the more descriptions on is_restricted

* Update docs/security.rst

* Update docs/security.rst
2016-06-10 15:49:33 -07:00
Riccardo Magliocchetti eb208b921c config: there's no such thing as WEBSERVER_THREADS (#587)
The config option is CARAVEL_WORKERS. Bump example to 16 processes
to keep backward compatibility with the current default.
2016-06-09 16:44:13 -07:00
Maxime Beauchemin b5fe9dbe33 Adding a security section to the docs (#561) 2016-06-03 11:33:11 -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
Maxime Beauchemin e77d50bc61 Adding a doc page for Druid 2016-05-20 12:11:38 -07:00
Maxime Beauchemin d1f0276408 Introducing Horizon charts (#472)
* Introducing Horizon charts

* JS Lintin
2016-05-16 22:49:12 -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 91a3594be3 Fixing the thumbs and the galery (#346) 2016-04-13 22:32:03 -07:00
Maxime Beauchemin 3d1fc99353 Adding not in docs about connecting to dbs over SSL 2016-04-11 21:41:32 -07:00
Maxime Beauchemin 9ac979a336 Tweaks for the doc's gallery 2016-04-11 12:22:20 -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 25831f0033 Making prod web server run by default 2016-04-08 22:09:01 -07:00
Maxime Beauchemin 0afa5d2cba Added FAQ and db dependencies to docs 2016-04-08 08:44:46 -07:00
Maxime Beauchemin d933a21216 Prettyfying an image in the docs 2016-04-07 14:26:28 -07:00
Julian Nadeau 6b0b03e009 Fix localhost link in installation docs 2016-04-06 20:13:04 -07:00
Julian Nadeau d122b37f5d Add python-pip to the install docs 2016-04-06 18:11:24 -07:00
Maxime Beauchemin 1756c27930 Adding upgrade instructions to docs 2016-04-06 18:02:40 -07:00
Aaron Critchley 7867267608 SqlAlchemy -> SQLAlchemy in README.md
* SqlAlchemy -> SQLAlchemy in README.md

Source: http://www.sqlalchemy.org/

* SqlAlchemy -> SQLAlchemy in tutorial.rst
2016-04-06 17:54:41 -07:00
Maxime Beauchemin 92d588694b Improving the Installation docs 2016-04-06 08:46:32 -07:00
Maxime Beauchemin d10eaeccc9 Adding a Gallery to the docs 2016-04-06 08:46:21 -07:00
Maxime Beauchemin 062f2b81cf Datasource dropdown in Explore view 2016-04-06 08:23:27 -07:00
Maxime Beauchemin c349b0a1c1 Fixed link url in docs 2016-04-04 17:14:08 -07:00
Maxime Beauchemin 034fd077e1 Doc formating fix 2016-04-04 10:36:51 -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 93405dc23a Clarify SQLALCHEMY_DATABASE_URI in the docs 2016-04-01 16:41:02 -07:00
Maxime Beauchemin 481d821721 Tweaking docs 2016-04-01 08:37:19 -07:00
Maxime Beauchemin 7b111b790e Adding an OS dependencies section to the install docs 2016-04-01 08:33:28 -07:00
Maxime Beauchemin b164244cd8 Renaming forgotten doc file 2016-03-29 21:24:01 -07:00
Maxime Beauchemin 619d35878f [dashed->caravel] Replace in files 2016-03-28 22:01:21 -07:00
Maxime Beauchemin 5804991b19 Fix a few minor bugs 2016-03-27 00:18:26 -07:00
Maxime Beauchemin 10a1eddaa7 Improving the docs build script 2016-03-24 08:08:05 -07:00
Maxime Beauchemin 5b10b19ed7 Fixing the docs 2016-03-23 21:41:37 -07:00
Maxime Beauchemin d8192eca0a Introducing a caching layer 2016-03-22 18:11:10 -07:00
Maxime Beauchemin f79aca1796 rename - 2nd phase 2016-03-18 08:52:50 -07:00
Maxime Beauchemin be6b2fe556 [panoramix] -> [dashed] 2016-03-17 23:44:58 -07:00
Maxime Beauchemin bd296720b8 Improving the docs 2016-03-02 12:19:11 -08:00
Maxime Beauchemin 32e4b9f2bc A more cohesive color strategy 2016-01-23 09:59:16 -08:00
Maxime Beauchemin 2885227050 Autodocs 2016-01-20 18:09:31 -08:00
Maxime Beauchemin f0cdf4318d Getting browser history to work on the explore view 2016-01-11 11:42:46 -08:00
Maxime Beauchemin 5ad4f38c49 Fixing images in docs 2015-12-26 14:04:46 -08:00
Maxime Beauchemin e96494e0cf Working on docs 2015-12-25 21:48:09 -08:00
Maxime Beauchemin 880c7397e1 A basic squeleton for the docs 2015-12-17 16:26:36 -08:00