Commit Graph

3755 Commits

Author SHA1 Message Date
Arik Fraimovich
419234a23e Fix widget tests 2016-12-07 02:13:20 -06:00
Arik Fraimovich
b61dbfa16b Fix test_authentication tests 2016-12-07 02:13:20 -06:00
Arik Fraimovich
6b2d6a22f5 Change groups property of ApiUser to be group_ids 2016-12-07 02:13:20 -06:00
Arik Fraimovich
c355eeffb6 Fix test_permissions tests 2016-12-07 02:13:20 -06:00
Allen Short
c6ef6041cf test_data_sources passes 2016-12-07 02:13:20 -06:00
Allen Short
dff39a6849 test_dashboards passes 2016-12-07 02:13:20 -06:00
Allen Short
bb755b5c25 test_models fixes 2016-12-07 02:13:20 -06:00
Allen Short
d1fcb43562 test_alerts passes 2016-12-07 02:13:20 -06:00
Arik Fraimovich
811a4ef248 Fix accesspemrissions tests 2016-12-07 02:13:20 -06:00
Arik Fraimovich
c386ff91d6 Fix data source models tests 2016-12-07 02:13:20 -06:00
Arik Fraimovich
8680ebe96f Change Dashboard factory to generate non drafts 2016-12-07 02:13:20 -06:00
Arik Fraimovich
d59299b85a Fix Alert model tests 2016-12-07 02:13:20 -06:00
Arik Fraimovich
9210f5fb0c Remove unused code 2016-12-07 02:13:20 -06:00
Allen Short
c2378d837a test_handlers passes 2016-12-07 02:13:20 -06:00
Arik Fraimovich
90879c964f Simplify query api key generation 2016-12-07 02:13:20 -06:00
Arik Fraimovich
2a525210e4 Start fixing visualizations tests 2016-12-07 02:13:20 -06:00
Arik Fraimovich
04447e0df6 Fix: connections leaking during tests. 2016-12-07 02:13:20 -06:00
Arik Fraimovich
55cb3747ed Use db.drop_all/create_all directly 2016-12-07 02:13:20 -06:00
Arik Fraimovich
2bff12b376 Update all tests to use the same test_client 2016-12-07 02:13:20 -06:00
Arik Fraimovich
b390cd2e3d Close DB connection between tests.
Otherwise we were running out of connections.
2016-12-07 02:13:20 -06:00
Arik Fraimovich
f55b836896 Fix: fix database URL 2016-12-07 02:13:20 -06:00
Allen Short
982667ffa9 Make draft status for queries and dashboards toggleable. 2016-12-07 02:13:20 -06:00
Allen Short
f00d77dec4 auth tests wip 2016-12-07 02:13:20 -06:00
Allen Short
ea166665d3 test_models passes 2016-12-07 02:13:20 -06:00
Allen Short
d2aef544c3 properly handle view_only permission in groups API 2016-12-07 02:13:20 -06:00
Allen Short
24217d969e schema for sqlalchemy, basic test support 2016-12-07 02:13:20 -06:00
Arik Fraimovich
dde55e764b Merge pull request #1458 from washort/click
Change: switch from flask_script to click, add CLI unit tests and upgrade Flask version
2016-12-06 23:38:03 +02:00
Allen Short
80491ea4c2 Switch from flask_script to click, add CLI unit tests. 2016-12-06 15:14:44 -06:00
Arik Fraimovich
c2f9e376be Merge pull request #1460 from washort/master
Run webpack on all branches
2016-12-06 22:52:25 +02:00
Allen Short
20a0d95c1f make deps on all branches 2016-12-06 14:08:48 -06:00
Arik Fraimovich
fcd623e203 Merge pull request #1438 from someones/better_json_errors
[ElasticSearch] Change: use simplejson for better error descriptions
2016-12-06 11:47:44 +02:00
Arik Fraimovich
4b6d4c14d0 Merge pull request #1454 from getredash/fix-eprovider
Fix: eProvider not found errors
2016-12-06 11:15:02 +02:00
Arik Fraimovich
550310ea63 Fix: eProvider not found errorso 2016-12-06 11:13:47 +02:00
Arik Fraimovich
17895d09a9 Correct version. 2016-12-02 17:25:17 +02:00
Arik Fraimovich
8201509216 Update bootstrap.sh for v0.12.0
Fixes #1442.
2016-12-02 17:24:18 +02:00
Arik Fraimovich
f3df2b1d7a Merge pull request #1441 from someones/fix_angular15
Fix symlinks to /frontend. Should be /client
2016-12-02 08:40:13 +02:00
Adam Griffiths
e546592c01 Fix symlinks to /frontend. Should be /client 2016-12-02 11:14:24 +11:00
Arik Fraimovich
ba60bfa3b0 Update version reference in bootstrap.sh. 2016-12-01 10:54:50 +02:00
Adam Griffiths
4cd58cdacf Use simplejson for better error descriptions.
The standard json library only provides an error
that the json failed to parse.
simplejson provides actual character and line numbers
along with an expected character in it's errors.
This makes writing elasticsearch queries much easier.
2016-12-01 11:34:57 +11:00
Arik Fraimovich
196177021c Merge pull request #1435 from mattrobenolt/safe-builtins
Whitelisting more builtin primitives
2016-11-28 23:13:12 +02:00
Matt Robenolt
bce2e3323a Whitelisting more builtin primitives
This is also a slight refactor to make it easier to expand on this list
of builtins we allow.

Also, doesn't mutate the global `safe_builtins` dict every time from
`RestrictedPython`, instead, opts for copying the dict first.
2016-11-28 11:38:25 -08:00
Arik Fraimovich
f473e18bef Merge pull request #1376 from getredash/webpack
Change: upgrade the frontend stack
2016-11-28 10:34:38 +02:00
Arik Fraimovich
a463bad9b5 Add missing feature to the changelog. 2016-11-28 10:24:56 +02:00
Arik Fraimovich
14d46063af Make keyboard shortcuts work again 2016-11-28 10:18:17 +02:00
Arik Fraimovich
dca899883c Bring back pace 2016-11-28 09:51:51 +02:00
Arik Fraimovich
b5e2234234 Set title 2016-11-27 15:49:17 +02:00
Arik Fraimovich
b507c7cdb1 Fix authentication handling for embeds 2016-11-27 15:31:04 +02:00
Arik Fraimovich
51528508ba Make sure session is loaded before route is rendered 2016-11-27 14:02:29 +02:00
Arik Fraimovich
724b7675c7 Fix: query filters 2016-11-27 13:08:37 +02:00
Arik Fraimovich
1ea9f0e900 Fix: sometimes order of columns in table was wrong 2016-11-27 13:08:22 +02:00