Commit Graph

1244 Commits

Author SHA1 Message Date
Maxime Beauchemin 78eb1e6a54 [hotfix] fixing bug around looking up security access 2016-06-17 11:34:54 -07:00
yxjames 4c8523efc0 Prevent potential db upgrading problem (#628)
* fix general db upgrade problem

* add comments
2016-06-17 08:14:26 -07:00
Riccardo Magliocchetti 4400c70514 Make time grains translatable (#622)
* Make time grains translatable

Fix #616

* Refresh translations
2016-06-17 08:12:15 -07:00
Maxime Beauchemin 3105c9f9ae Improvments to NVD3 charts (axis labels & min bar width) (#629) 2016-06-17 08:11:53 -07:00
Maxime Beauchemin 04388a7b9b [docs] telling people to use gunicorn server 2016-06-16 09:16:10 -07:00
x4base db30f20341 Only initiate permissions of valid metrics (#630) 2016-06-16 08:55:11 -07:00
x4base 65d9feb0a9 Check ownership before a slice is deleted (#624) 2016-06-15 14:27:36 -07:00
Rocky Qi 77c5c9400a Update sql.js to fix a invalid error msg (#621)
when using sql.html page to run sql directly, for any SELECT * sql, when click run! button for the second time,
the page will show error msg like: DataTables warning: table id={id} - Cannot reinitialise DataTable.
this can be fix by:https://datatables.net/manual/tech-notes/3#retrieve
2016-06-15 14:27:12 -07:00
Peiji Chen 5de8740a38 minor correction on the right npm path (#618)
* minor correction to the right npm path

* minor correction to the right npm path
2016-06-15 14:24:25 -07:00
x4base ea8a7ec1ba Redirect to druid datasource page when the user wants to add slice. Also, provide a link to the table page (#625) 2016-06-15 14:23:25 -07:00
alanmcruickshank b38590a0bb Added Hour time grain for MySQL (#615) 2016-06-15 14:22:27 -07:00
x4base ee2d3330aa Prevent the cannot-overwrite error message from being removed before it can be seen (#626) 2016-06-15 14:19:50 -07:00
Maxime Beauchemin aa2b8b42d0 Updating CHANGELOG 2016-06-15 10:13:48 -07:00
Maxime Beauchemin 91e272546a v0.9.1 2016-06-15 09:46:29 -07:00
Maxime Beauchemin d90a2c861a Pinning all dependencies to specific versions (#627) 2016-06-15 09:29:37 -07:00
Maxime Beauchemin a117498991 Adding some CRUD field descriptions to clarify things 2016-06-15 08:50:50 -07:00
Maxime Beauchemin e29d71d0ff [hotfix] passing payload to Slice.done everywhere 2016-06-13 22:58:04 -07:00
Maxime Beauchemin bacbd909d1 [hotfix] parallel coordinates grey background on hover 2016-06-13 22:44:57 -07:00
Maxime Beauchemin 77d8ccba87 Compress before caching, store more in each memcache key (#614) 2016-06-13 21:59:03 -07:00
Junxian Wu 347c39b8e9 Better support for Druid cardinality estimation mertics (#613)
* added rocognition of thetasketch and HLL metrics

* make sure the name agreed with SQL convention
2016-06-13 20:49:51 -07:00
Maxime Beauchemin bc58c5d031 [hotfix] delete cache key when set fails 2016-06-13 18:01:55 -07:00
Maxime Beauchemin 267c0191a8 Make sure cache.set never fails hard (#611) 2016-06-13 13:26:05 -07:00
Maxime Beauchemin 9ed8c32f76 Cranking up FAB to latest (1.7.1) version (#609) 2016-06-13 09:25:22 -07:00
Maxime Beauchemin 1a4c7afbef Fixing a potential FK error when doing bulk updates (#606)
I hit this upgrade issue in production where the FK for user wasn't
allowing null. Perhaps it is specific to our environment but I'd rather
fix this.
2016-06-12 21:39:06 -07:00
Maxime Beauchemin c58fd63efc [hotfix] caching indicator was missing on dashboard view 2016-06-12 21:38:32 -07:00
Maxime Beauchemin fa13b77cfa Adding postgres to the build matrix (#604) 2016-06-12 11:01:16 -07:00
Maxime Beauchemin c490138afe Fixing json issues (#602) 2016-06-11 20:39:25 -07:00
Maxime Beauchemin 327fceefb7 [hotfix] fixes issue around multidict 2016-06-11 08:02:56 -07:00
Marigold 1631137da1 fix missing multiple values for the same parameter name (#565) 2016-06-11 07:55:01 -07:00
Junxian Wu 4661b0210d Popover to generate iframe html tag when standalone button is clicked (#575)
* fixed

* basic implementation of the iframe embed popover

* remove unecessary comments

* remove public embed iframe

* remove debug print line and public access

* remove uncessary extra line and use better text explain

* maintain the style of airbnb/master

* fixed style

* re-run the test locally. Made sure it passed
2016-06-11 07:48:30 -07:00
Riccardo Magliocchetti a8136bb9f5 Update translations files (#595) 2016-06-11 07:47:42 -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
Maxime Beauchemin 55baab413a [hotfix] fixing the build (#594) 2016-06-09 22:58:20 -07:00
Maxime Beauchemin 2f60801059 [hotfix] fixing the build 2016-06-09 21:12:44 -07:00
Maxime Beauchemin 2644dd1984 Adding a test for welcome page 2016-06-09 18:11:24 -07:00
Maxime Beauchemin c35e0e831c [hotfix] csv and json link are off (#592)
* Fixing bugs

* [hotfix] csv and json link are off
2016-06-09 18:06:20 -07:00
Maxime Beauchemin 60ed3e4050 TOX / Travis build matrix (#593)
* Building on many dbs

* Fixing some translation related error msg
2016-06-09 18:05:58 -07:00
Riccardo Magliocchetti dd662eaca3 caravel: mark more strings for translations in viz (#586) 2016-06-09 16:46:27 -07:00
Riccardo Magliocchetti e3da785321 caravel: reduce usage of choicify in forms (#591)
So that more string can be translated

Fix #583
2016-06-09 16:45:45 -07:00
Jeremi Joslin f4c92da4e6 Make sure the APP_ICON config is used in the template (#590) 2016-06-09 16:45:03 -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
Riccardo Magliocchetti 8a579e2a2a Mark more strings for translations (#581)
* caravel: mark viz strings for translations

* caravel: mark templates string for translation

* caravel: make forms strings translatable

* Update translations
2016-06-08 17:38:43 -07:00
Riccardo Magliocchetti cdb573e793 caravel: add missing test requirements in setup.py (#582) 2016-06-08 13:50:43 -07:00
Riccardo Magliocchetti ad5507c5f4 views: translate labels and not names (#567)
So that we can install caravel on postgresql:
```
2016-06-03 17:58:05,386:ERROR:flask_appbuilder.base:
Add Permission on Menu Error: (psycopg2.ProgrammingError) can't adapt type '_LazyString'
[SQL: 'SELECT ab_view_menu.id AS ab_view_menu_id, ab_view_menu.name AS
ab_view_menu_name \nFROM ab_view_menu \nWHERE ab_view_menu.name = %(name_1)s \n
LIMIT %(param_1)s'] [parameters: {'param_1': 1, 'name_1': l'Sources'}]
```

Other that translating names should be a recipe for disaster if
you switch language.

Fix #558
2016-06-07 17:43:51 -07:00
George Ke 24a68f5c48 Two hotfixes (#574)
* fix for dashboards created without slices

* [hotfix] check_ownership param needed for adding slice to dashboard
2016-06-07 11:07:25 -07:00
Maxime Beauchemin 0d800fa302 Fixing bugs where params aren't reflected on nvd3* (#564) 2016-06-07 08:10:49 -07:00
Maxime Beauchemin dc33506bfa Removing deprecated refs to flask.ext.* (#566) 2016-06-05 21:37:03 -07:00
Maxime Beauchemin 89f9efd3a3 Fixing the dashboard's look after resizing the window (#556) 2016-06-03 11:53:37 -07:00
George Ke 52c2b2348a allow for multiple columns in NOT GROUP BY (#560) 2016-06-03 11:34:29 -07:00
Maxime Beauchemin b5fe9dbe33 Adding a security section to the docs (#561) 2016-06-03 11:33:11 -07:00