Commit Graph

189 Commits

Author SHA1 Message Date
Maxime Beauchemin
5944643da6 [sqllab] add support for Jinja templating (#1426)
* [sqllab] add support for Jinja templating

* Adressing comments

* Presto macros

* Progress

* Addressing coments
2016-10-26 11:09:27 -07:00
Maxime Beauchemin
0a3121c243 [doc] installation, load examples before init 2016-10-07 10:57:26 -07:00
Stefano Ordine
609ae22bda less number of default workers. (#1206) 2016-10-07 10:16:41 -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
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
Bob Ziuchkovski
d15a212e64 Add support for Werkzeug ProxyFix middleware (#1150)
Add an ENABLE_PROXY_FIX config param.  When set to True, insert the Werkzeug ProxyFix
middleware.  This middleware extracts and applies the X-Forwarded-* headers that are
inserted by common proxies and load balancers.  Fixes #1139.
2016-09-20 12:24:15 -07:00
Maxime Beauchemin
e8088d5c9a More improvements to SQL Lab (#1104)
* Handling timeouts

* Fixing timer on non-utc server

* Allowing async with results

* [bugfix] database is not selected

* Making sure the session is up and running

* Cleaning up query results and query objects

* Picking a groupby and metric field on visualize flow

* Showing local time in query history

* Using pull-left pull-right instead of grid layout for table metdata

Long column name were looking weird and icons were wrapping oddly

* Linting

* Eliminating east buttons under the sql editor

* Sort database dropdown by name

* Linting

* Allowing non-SELECT statements to run

* Adding a db config

* Making sqla checkout check cross-db
2016-09-19 15:28:10 -07:00
Maxime Beauchemin
c7467f544c Documenting making your own build (#990) 2016-08-19 15:27:35 -07:00
Riccardo Magliocchetti
a029eaa451 docs: add a faq about mapbox api key (#968)
Also add it to sample config

Fix #952
2016-08-17 08:04:39 -07:00
Adam Jones
88f4260777 Change default location for db and logs to ~/.caravel Fix #915 (#947) 2016-08-16 21:35:31 -07:00
Riccardo Magliocchetti
baf22c3c60 docs: make it clear that some config keys really need to be changed (#912) 2016-08-10 08:15:19 -07:00
Riccardo Magliocchetti
5a937f1d0b docs: simplify cryptography installation on Windows (#909)
As suggested here https://github.com/airbnb/caravel/issues/717#issuecomment-232741865
and confirmed there
https://cryptography.io/en/latest/installation/#on-windows
cryptography now ships a statically linked openssl.

Still am not sure we want to make installation on Windows easier :)
2016-08-10 08:14:42 -07:00
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
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
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
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
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
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
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
Maxime Beauchemin
92d588694b Improving the Installation docs 2016-04-06 08:46:32 -07:00
Maxime Beauchemin
062f2b81cf Datasource dropdown in Explore view 2016-04-06 08:23:27 -07:00
Maxime Beauchemin
034fd077e1 Doc formating fix 2016-04-04 10:36:51 -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
d8192eca0a Introducing a caching layer 2016-03-22 18:11:10 -07:00