Arik Fraimovich
1580798479
WIP: Markdown template visualization
2019-05-07 16:20:15 +03:00
deecay
b7b345dacd
[Feature] Choropleth customize (added new map: Japanese Prefectures) ( #3154 )
2019-05-07 12:04:17 +03:00
Arik Fraimovich
0b22aa55a1
DynamoDB: safe implementation of schema loading ( #3774 )
...
* Safe implementation of describe_all.
* autopep8.
2019-05-06 20:13:45 +03:00
Arik Fraimovich
3eddea6e88
Show non relative timestamp when printing an embed. ( #3773 )
...
(Also used for the Slack snapshots)
2019-05-06 20:12:57 +03:00
yoavbls
c85e097f8a
[Bug fix] Fix dashboard filters to collect options too ( #3759 )
2019-05-06 11:40:21 +03:00
YOSHIDA Katsuhiko
81bc4ef58b
[Feature] Add direction option in Pie Chart ( #3762 )
2019-05-06 11:30:48 +03:00
Omer Lachish
9fec3ca9ea
Poll for results in parameterized embeds ( #3752 )
...
* add an endpoint for fetching job using a query's api_key
* when unauthenticated, use api_key to get job, and fetch the latest query
result (as opposed to fetching the query result by ID)
* add 'refresh dataset' button to parameters directive
* fix scope error introduced by earlier commit
* show timer when refreshing results
* Show input for missing parameters in embedded visualizations (#3741 )
* Redirect to default parameter values when parameters are missing in
embedded visualizations
* Revert "Redirect to default parameter values when parameters are missing in"
This reverts commit 43c65500b7 .
* load all data after page is loaded
* return no data only when parameters are missing
* data binding no longer required
* show an error on embeds that fail to load
* data binding no longer required
* present full-page error when dealing with unsafe queries
* don't render the execute button for each parameter
* show 'missing parameter value' error
* Don't reload the whole page when parameter value changes.
* Set API key and load config before rendering.
* Add Query#hasParameters method.
* Don't show download controls for parameterized queries (they won't work).
* Use getUrl to construct a correct query link.
* WIP: have a single way to load results
1. This preloads the query before rendering the page, so we can benefit from using default parameters & make the logic in component simpler.
2. Use a single way to load results, to make sure we do polling when try to load the query results for the first time.
* Show persistent errors and finish loading logic.
* Check if query is safe and show message otherwise.
* Fix test for unsafe parameters embed.
* wait for query results to return before taking snapshot
2019-05-06 09:14:56 +03:00
Arik Fraimovich
ee29cf9efc
Fix: pie chart not rendering when series doesn't exist in options. ( #3756 )
2019-05-05 09:04:52 +03:00
Arik Fraimovich
17aba39636
Fix: default value for Presto password should be None ( #3757 )
2019-05-05 09:04:42 +03:00
Yusuke Goto
2cd1b07a41
Add: organization setting for time format ( #3754 )
...
* Support for time format
* Add selects test
* Rename into date_time_format_config
2019-05-05 09:03:27 +03:00
taminif
72d00314a4
[Code style] Add semi-colons ( #3755 )
2019-05-02 22:30:05 +03:00
Aidarbek Suleimenov
5b077ab083
Support for Presto password ( #3619 )
2019-05-01 17:25:59 +03:00
Takuya Arita
da2d6bc3a8
Move is_url_key method to function for testability. ( #3750 )
2019-05-01 13:52:41 +03:00
Takuya Arita
33930a5b9c
Remove unused import statements ( #3751 )
2019-05-01 13:51:56 +03:00
John Karahalis
fbff4f9219
Convert query control dropdown button to React ( #3698 )
2019-05-01 07:20:54 +03:00
Jannis Leidel
30f725f1e1
Add missing parameter to new BigQuery query runner method. ( #3747 )
2019-04-30 21:16:58 +02:00
Gabriel Dutra
47cd05b48e
Cypress: Fix Stuck E2E test - create_query_spec ( #3748 )
2019-04-30 14:21:26 -03:00
Levko Kravets
9a4433bf68
Migrate visualizations registry/renderer/editor to React ( #3493 )
2019-04-30 16:34:00 +03:00
Ran Byron
d0b2151b4d
Fix query page height ( #3744 )
2019-04-29 23:29:17 +03:00
Omer Lachish
21e22a2d0d
add get_by_id to Organization ( #3712 )
2019-04-29 21:58:29 +03:00
Gabriel Dutra
f3a653c57f
Fix query based parameter has value null when created ( #3707 )
...
* Fix query based parameter value null when created
* Use toString to avoid having 'null' string
2019-04-29 21:50:04 +03:00
guwenqing
c9bf412240
Update npm run to fix hpe_header_overflow ( #3732 )
...
Nodejs has set max header size to 8k in http_parser,
need to provide a larger header size to make the proxy work.
2019-04-29 21:23:06 +03:00
Osmo Salomaa
48955b5fa1
Use monospace font in query output log ( #3743 )
...
Closes #3739
2019-04-29 21:21:51 +03:00
Ran Byron
24a5748528
Dashboard grid markings ( #3656 )
2019-04-29 15:49:09 +03:00
Arik Fraimovich
8758279b14
Use REDASH_BASE_PATH everywhere instead of hardcoded path ( #3740 )
...
Closes #3727
2019-04-29 14:28:16 +03:00
Jannis Leidel
99bb24d899
Make creating the BigQuery job data pluggable. ( #3742 )
...
This would for example allow adding custom job labels (https://cloud.google.com/bigquery/docs/adding-using-labels#job-label ) for easier accounting.
2019-04-29 14:18:36 +03:00
Omer Lachish
c93a905c1d
Fix Ability to save with Multiple Dropdown Parameters ( #3717 )
...
* support multiple associations of the same query-based dropdown parameter
* include several query-based parameters in association tests
2019-04-28 14:25:26 +03:00
AntonZ
a1e75d2f0b
feature: add couchbase query runner ( #3658 )
...
* feature: add couchbase query runner
* fix style
* fix style
* fix style
* fix naming due to convention
* extracting protocol as parameter
2019-04-24 20:13:59 +03:00
Ran Byron
fb48bc374a
Refactored dashboard drag/resize testing ( #3726 )
2019-04-22 10:07:22 +03:00
Ran Byron
10a6ccbbcd
Dashboard save fail indication ( #3715 )
2019-04-19 21:41:35 +03:00
Gabriel Dutra
fea082ec77
Update Percy network idle timeout ( #3724 )
2019-04-19 10:58:37 -03:00
Jannis Leidel
aa9d2466cd
Split redash/__init__.py to prevent import time side-effects. ( #3601 )
...
## What type of PR is this? (check all applicable)
<!-- Please leave only what's applicable -->
- [x] Refactor
- [x] Bug Fix
## Description
This basically makes sure that when import the redash package we don't accidentally trigger import-time side-effects such as requiring Redis.
Refs #3569 and #3466 .
2019-04-18 18:39:38 +02:00
Arik Fraimovich
97492d7aa0
Fix: update default CSP policy to allow KB iframe. ( #3714 )
...
## What type of PR is this? (check all applicable)
- [x] Bug Fix
## Description
Without this change the Help Drawer couldn't load content anymore.
## Related Tickets & Documents
#3404
2019-04-17 10:13:45 +02:00
Ran Byron
18761cf07b
Dashboard auto-saving ( #3653 )
2019-04-17 10:07:48 +03:00
Arik Fraimovich
9b3dd82ec0
Sync PyAthena/botocore versions with requirements_all_ds.txt. ( #3713 )
2019-04-17 09:43:33 +03:00
Arik Fraimovich
e485c964c5
Add rate limits to user creation/update ( #3709 )
...
* Add rate limits for user resources.
* Disable rate limiting in tests (except for tests that need it).
* Update strings to unicode to avoid SQLA warnings
2019-04-15 13:58:30 +03:00
Omer Lachish
5b30d081d7
Dynamic query time limits ( #3702 )
...
* extract time limit decisions to a dynamic settings function
* introduce environment variable for scheduled query time limits
* pass in org_id to query_time_limit
* add an interaction test that verifies that time limits are applied to
jobs
* really important newlines according to CodeClimate
2019-04-15 12:06:37 +03:00
Omer Lachish
b96094b878
add a test to make sure reset password form are displayed correctly ( #3678 )
2019-04-14 14:59:21 +03:00
Gabriel Dutra
1f43537304
Update CardsList to use visual-card styling ( #3679 )
...
* Update CardsList to use old markup
* CR
2019-04-14 13:10:40 +03:00
Aidarbek Suleimenov
01e64db0dc
Fix Decimal128 error ( #3684 )
2019-04-14 13:07:12 +03:00
Arik Fraimovich
3ab46bb39a
BigQuery: support for NaN values. ( #3701 )
2019-04-14 11:23:14 +03:00
Jakdaw
af168c69b9
Fix search ordered by best match ( #3706 )
...
* Don't force an order by created date - any usecases that want
this already request it explicitly and it breaks the search
function that wants to order by best match.
* Fix the logic so that we fall back to a default search order when there's
no search term, rather than when there is one and we should use the
best-match ordering.
* Remove accidentially added blank line
2019-04-14 10:44:28 +03:00
Jakdaw
63e052c3a3
Support LDAP servers where one doesn't first have to bind to the LDAP server with a username/password ( #3002 )
...
* Support LDAP servers where one doesn't first have to bind to the LDAP server with a username/password
* Address code climate things
2019-04-14 10:36:41 +03:00
Ran Byron
563e34a816
Fixed public dashboard footer ( #3703 )
2019-04-14 10:19:12 +03:00
Gabriel Dutra
1524d06149
Percy: Introduce hide-in-percy and hide diff problematic elements ( #3689 )
2019-04-11 11:49:39 -03:00
Ran Byron
e9711a0b9c
Bye footer ( #3697 )
2019-04-10 11:42:36 +03:00
Omer Lachish
9fcf510ffd
add package.json after including qs ( #3695 )
2019-04-10 11:25:56 +03:00
Ran Byron
70227f2e43
Changed viz embed download menu to drop up ( #3696 )
2019-04-10 11:02:03 +03:00
Ran Byron
1babd01f38
Bolder markdown in textbox ( #3686 )
2019-04-09 10:25:03 +03:00
Ran Byron
768bfb3525
Cypress Dashboard Service ( #3683 )
2019-04-09 08:49:10 +03:00
Ran Byron
fc5a624efb
Dashboard one column mode test ( #3621 )
2019-04-08 07:51:18 +03:00
Omer Lachish
47bf91e150
Fix: support date ranges for parameterized embeds ( #3681 )
...
* support date ranges for parameterized embeds
* add qs
* remove hideous implementation and use qs
* get rid of apiKey querystring parameter and introduce query-string
module
2019-04-07 20:34:14 +03:00
Ran Byron
8f4288583e
Updated Cypress default timeout values ( #3685 )
2019-04-07 16:40:06 +03:00
Omer Lachish
595af3bce8
avoid erroring when creating embed links for queries that don't have any parameters ( #3680 )
2019-04-06 13:49:40 +03:00
HirokiTanaka
dba7efe030
refs https://github.com/getredash/redash/issues/3675 ( #3676 )
2019-04-04 09:27:07 +03:00
Omer Lachish
1b142b33f1
reduce volatility in embed percy snapshots ( #3672 )
2019-04-02 13:40:28 +03:00
Gabriel Dutra
13814c752d
Add max-width to Notification ( #3667 )
2019-04-02 11:53:44 +03:00
Omer Lachish
dd477d49ec
Sharing embeds with safe parameters ( #3495 )
...
* change has_access and require_access signatures to work with the objects that require access, instead of their groups
* change has_access and require_access signatures to work with the objects that require access, instead of their groups
* use the textless endpoint (/api/queries/:id/results) for pristine
queriest
* Revert "use the textless endpoint (/api/queries/:id/results) for pristine"
This reverts commit cd2cee7738 .
* go to textless /api/queries/:id/results by default
* change `run_query`'s signature to accept a ParameterizedQuery instead of
constructing it inside
* raise HTTP 400 when receiving invalid parameter values. Fixes #3394
* support querystring params
* extract coercing of numbers to function, along with a friendlier
implementation
* wire embeds to textless endpoint
* allow users with view_only permissions to execute queries on the
textless endpoint, as it only allows safe queries to run
* enqueue jobs for ApiUsers
* add parameters component for embeds
* include existing parameters in embed code
* fetch correct values for json requests
* remove previous embed parameter code
* rename `id` to `user_id`
* support executing queries using Query api_keys by instantiating an ApiUser that would be able to execute the specific query
* bring back ALLOW_PARAMETERS_IN_EMBEDS (with link on deprecation coming up)
* show deprecation messages for ALLOW_PARAMETERS_IN_EMBEDS. Also, move
other message (email not verified) to use the same mechanism
* add link to forum message on setting deprecation
* rephrase deprecation message
* add link to forum message regarding embed deprecation
* change API to /api/queries/:id/dropdowns/:dropdown_id
* split to 2 different dropdown endpoints and implement the second
* add test cases for /api/queries/:id/dropdowns/:id
* use new /dropdowns endpoint in frontend
* first e2e test for sharing embeds
* Pleasing the CodeClimate overlords
* All glory to CodeClimate
* change has_access and require_access signatures to work with the objects that require access, instead of their groups
* split has_access between normal users and ApiKey users
* remove residues from bad rebase
* allow access to safe queries via api keys
* rename `object` to `obj`
* support both objects and group dicts in `has_access` and `require_access`
* simplify permission tests once `has_access` accepts groups
* change has_access and require_access signatures to work with the objects that require access, instead of their groups
* rename `object` to `obj`
* support both objects and group dicts in `has_access` and `require_access`
* simplify permission tests once `has_access` accepts groups
* fix bad rebase
* send embed parameters through POST data
* no need to log `is_api_key`
* move query fetching by api_key to within the Query model
* fetch user by adding a get_by_id function on the User model
* pass parameters as POST data (fixes test failure introduced by switching
from query string parameters to POST data)
* test the right thing - queries with safe parameters should be embeddable
* introduce cy.clickThrough
* add another Cypress test to make sure unsafe queries cannot be embedded
* serialize Parameters into query string
* set is_api_key as the last parameter to (hopefully) avoid
backward-dependency problems
* Update redash/models/parameterized_query.py
Co-Authored-By: rauchy <omer@rauchy.net >
* attempt to fix empty percy snapshots
* snap percies after DOM is fully loaded
2019-04-02 11:45:38 +03:00
Ran Byron
5decd2624a
Fixed wrong width assertion ( #3665 )
2019-04-01 13:49:24 +03:00
Justin Clift
6f9aee42a7
Update to modern Redis for the docker images ( #3640 )
2019-04-01 11:21:06 +03:00
Omer Lachish
1333aae7fb
Handle dropdown queries which are detached from data source ( #3453 )
...
* handle an edge case where dropdown queries are connected to data sources
that no longer exist
* Rethinking it, an empty result set makes no sense and it's better to
throw an error
* remove redundant import
2019-04-01 11:19:52 +03:00
Omer Lachish
33ad89a381
in case of a parameter type mismatch, show the actual message to the user ( #3664 )
2019-04-01 11:19:18 +03:00
Ran Byron
02a5852072
Widget size and position test ( #3628 )
2019-03-29 21:47:26 +03:00
Gabriel Dutra
12782e4daf
Fix Percy diff due to Api Key secret ( #3654 )
2019-03-29 07:50:30 -03:00
Levko Kravets
704b78a003
[Feature, Bug fix] Migrate Timer component to React; update TimeAgo component ( #3648 )
2019-03-28 20:33:05 +02:00
Omer Lachish
ec4f77c8b7
Change has_access and require_access signatures ( #3611 )
...
* change has_access and require_access signatures to work with the objects that require access, instead of their groups
* rename `object` to `obj`
* support both objects and group dicts in `has_access` and `require_access`
* simplify permission tests once `has_access` accepts groups
2019-03-28 15:01:06 +02:00
Ran Byron
1871287a1f
Fixed notification alignment ( #3645 )
2019-03-28 10:08:13 +02:00
Gabriel Dutra
f9cc230227
Migrate Data Sources and Alert Destinations pages to React ( #3470 )
...
* Migrate TypePicker to React
* Migrate DataSources and Destinations List
* Fixes to DestinationsList
* Add CreateDataSource (testing with Steps)
* Render the form after type selection
* Add HELP_LINKS to CreateDataSource
* Add Done behavior
* Add scrollToTop to CreateDataSource
* TypePicker styling adjusts
* Add CreateDestination
* Update resouce gets to componentDidMount
* Create EditForm components
* Migrate Edit pages
* Remove angular logic from DynamicForm
* Add actions to EditPages
* TypePicker title style adjustments
* Add Empty and Loading state
* UX improvements
* Review changes
* Styling updates on TypePicker, forms background fix
* Add blank line removed by mistaken
* Reorganize TypePicker
* Hide Search on List Pages
* Fix spacing in Forms
* Update Create Data Source and Destination to be a Dialog
* Remove max-height from the form
* Fix DynamicForm import in CreateUserDialog
* Route /new to open CreateSourceDialog
* Add HelpTrigger + refine styling and Edit Pages
* Remove help links from data source resource
* Update Cypress specs
* TypePicker -> CardsList
* Remove old TypePicker styling and change CardsList styling to less
* Test if Percy shows Dialogs
* Personal review cleanup
* CR
* Remove unnecessary query on dialog success
* Handle resource errors in Edit Pages
* Add CreateDestination policy
* Add placeholder and separator to the Name field
* Use cy.click instead of cy.wait
* Revert "Use cy.click instead of cy.wait" (Didn't work)
This reverts commit 77285d9fa3 .
* Align help trigger on the right and rename Steps
* Refine behavior for long names
* Update toastr calls to use notification instead
* Redirect to target after creation
* Remove autoFocus on DynamicForm for Edit Pages
* Add eslint-disable for cy.wait
2019-03-28 10:06:46 +02:00
Ran Byron
fe4a7b65e7
Widget resize tests ( #3620 )
2019-03-28 05:55:03 +02:00
Allen Short
b3819de878
Treat repeated BigQuery fields as arrays ( #3480 )
...
* Treat repeated BigQuery fields as arrays
* handle untransformed field types and None
2019-03-27 22:00:09 +02:00
Gabriel Dutra
2699d24441
Manage user groups in UserEdit ( #3450 )
2019-03-27 16:29:48 -03:00
Jannis Leidel
1933dee8ca
Fix Celery worker --max-tasks-per-child for Celery 4.x. ( #3625 )
...
* Fix Celery worker CLI parameter name that was changed in Celery 4.x.
* Set Celery worker --max-memory-per-child to 1/4th of total system memory.
* Review fixes.
* Review fixes.
2019-03-27 21:08:20 +02:00
Gabriel Dutra
375e61f263
Add error message when destination name already exists ( #3597 )
...
* Return 400 when destination name already exists
* Remove whitespace
* Unicode 1
Co-Authored-By: gabrieldutra <nesk.frz@gmail.com >
* Unicode 2
Co-Authored-By: gabrieldutra <nesk.frz@gmail.com >
2019-03-27 18:09:56 +02:00
shinsuke-nara
872d0ca5e6
Show accessible tables only in New Query view for PostgreSQL ( #3599 )
...
* Show accessible tables only.
* Get table information from information_schema.columns.
* Union old query.
2019-03-27 18:08:38 +02:00
Justin Clift
973ad565cd
Update PostgreSQL version to always use latest in the 9.5 series ( #3639 )
2019-03-27 18:06:40 +02:00
ialeinikov
7a7fdf9c99
allowing to specify a custom work group for AWS Athena queries ( #3592 )
...
* allowing to specify a custom work group for AWS Athena queries
* Fixing title + adding correct position in the UI
2019-03-27 17:58:48 +02:00
Omer Lachish
49ffaae3ec
Fix email shows as unverified when no email server is configured ( #3613 )
...
* check that e-mail server is configured before marking the email address
as not verified and sending out a verification e-mail
* use helper method in `invite_user`
* move email_server_configured helper to settings
* add test to verify that email addresses arent marked as unverified if
there's no e-mail server to verify them
* simplify a couple of tests with patch
* combine conditions into single variable
* Booleans, gotta love 'em
2019-03-27 17:57:51 +02:00
Allen Short
d5494cff08
Fail query task properly even if error message is empty ( #3499 )
2019-03-27 17:50:39 +02:00
Byunghwa Yun
71afc99ec3
Add phoenix query runner. ( #3153 )
...
* Add phoenix query runner.
* Improved error handling.
2019-03-27 17:48:49 +02:00
Ran Byron
b5d97e25b7
Browser support config ( #3609 )
...
* Browser support config
* Removed some offending code
* Added unsupported html page and redirect for IE
* Typo in regex
* Made html page static
* Added redirect script to multi_org
* Moved static html page to client/app
2019-03-27 17:47:12 +02:00
Jannis Leidel
6c26aa7a99
Render LDAP and remote auth login links correctly when multi org mode is enabled. ( #3530 )
...
* Make LDAP auth handler org scoped.
* Render LDAP and remote auth login links correctly when multi org mode is enabled.
2019-03-27 17:26:00 +02:00
Jannis Leidel
712fc63f93
Use flask-talisman for handling backend response headers ( #3404 )
...
* Normalize Flask initialization API use.
* Use Flask-Talisman.
* Enable HSTS when HTTPS is enforced.
* More details about how CSP is formatted and write CSP directives as a string.
* Use CSP frame-ancestors directive and not X-Frame-Options for embedable endpoints.
* Add link to flask-talisman docs.
* set remember_token cookie to be HTTP-Only and Secure
* Reorganize secret key configuration to be forward thinking and backward compatible.
2019-03-27 17:24:15 +02:00
Jannis Leidel
77c53130a4
Fix a few more inconsistencies when loading and dumping JSON. ( #3626 )
...
* Fix a few more inconsistencies when loading and dumping JSON.
Refs #2807 . Original work in: #2817
These change have been added since c2429e92d2 .
* Review fixes.
2019-03-27 17:14:32 +02:00
Levko Kravets
73c8e3096d
[Feature] Migrate Admin pages to React ( #3568 )
2019-03-27 09:48:50 +02:00
Ran Byron
8230098f50
Migrated Textbox edit dialog to React ( #3632 )
2019-03-26 19:23:00 +02:00
Arik Fraimovich
fd42091f87
Add Lint step to CircleCI ( #3642 )
2019-03-26 16:40:26 +02:00
Ran Byron
ec4b36b178
Cypress eslint fixes and config ( #3636 )
2019-03-25 22:14:51 +02:00
Ran Byron
0995dfbf43
Widget drag tests ( #3598 )
2019-03-25 19:16:41 +02:00
Gabriel Dutra
70d4c724c2
Add env var to skip Flask rate limits ( #3622 )
2019-03-25 13:15:20 -03:00
Justin Clift
1d7378f84b
Update docker compose with the stable Redash v7 tag ( #3638 )
2019-03-25 14:50:40 +02:00
Gabriel Dutra
b4a4ee212e
Replace toastr with Ant Notification ( #3610 )
2019-03-24 19:08:35 -03:00
Gabriel Dutra
25910e7655
Move cypress to client folder ( #3566 )
2019-03-24 11:24:59 -03:00
Jannis Leidel
8e5ba804f6
Fix a DeprecationWarning about the Flask.static_path parameter. ( #3624 )
...
Code: d1d82ca8ce/flask/app.py (L347-L351)
2019-03-24 15:57:35 +02:00
Arik Fraimovich
173f9ba7e8
Fix: triggers not created for queries.search_vector ( #3631 )
2019-03-24 15:35:59 +02:00
Arik Fraimovich
e712c19bbe
E2E test for query search ( #3633 )
...
* Apply prettier to app-header.html.
* Add: E2E test for query search
2019-03-24 15:20:08 +02:00
Ran Byron
aea3c9dbaa
Fix for time based mongodb test ( #3630 )
2019-03-24 11:29:44 +02:00
Ran Byron
2f8aade697
Added a skipped test for issue #3202 ( #3616 )
2019-03-23 22:02:39 +02:00
Ran Byron
a7b930a422
Widget tests - add, remove, auto height ( #3590 )
2019-03-23 14:27:43 +02:00
Levko Kravets
4e69b73b0f
[Bug fix] Query Results fails to use query which has double quotes in column names ( #3618 )
2019-03-21 19:39:22 +02:00
Omer Lachish
c47dd05095
Nest query ACL to dropdowns ( #3544 )
...
* change API to /api/queries/:id/dropdowns/:dropdown_id
* extract property
* split to 2 different dropdown endpoints and implement the second
* make access control optional for dropdowns (assuming it is verified at a
different level)
* add test cases for /api/queries/:id/dropdowns/:id
* use new /dropdowns endpoint in frontend
* require access to dropdown queries when creating or updating parent
queries
* rename Query resource dropdown endpoints
* check access to dropdown query associations in one fugly query
* move ParameterizedQuery to models folder
* add dropdown association tests to query creation
* move group by query ids query into models.Query
* use bound parameters for groups query
* format groups query
* use new associatedDropdowns endpoint in dashboards
* pass down parameter and let it return dropdown options. Go Levko!
* change API to /api/queries/:id/dropdowns/:dropdown_id
* split to 2 different dropdown endpoints and implement the second
* use new /dropdowns endpoint in frontend
* pass down parameter and let it return dropdown options. Go Levko!
* fix bad rebase
* add comment to clarify the purpose of checking the queryId
2019-03-20 09:16:10 +02:00
Arik Fraimovich
15c815fb5e
Remove node_modules before creating tarball ( #3603 )
...
* Update pack
* Remove node_modules before packing
2019-03-18 12:16:31 +02:00
Arik Fraimovich
9de676acee
Fix: make sure that only the top level node_modules directory is excluded ( #3600 )
...
* Fix: make sure that only the top level node_modules directory is excluded
* Remove old unused packing script
2019-03-18 11:13:42 +02:00
Arik Fraimovich
ff0967f0d8
Update v7 CHANGELOG and version ( #3595 )
2019-03-17 22:05:55 +02:00
Ran Byron
e5d082b9b3
Textbox testing - add, remove, edit ( #3589 )
2019-03-17 18:26:01 +02:00
Arik Fraimovich
93aa6b5b80
Fix: accept integer values in dropdowns. ( #3596 )
2019-03-17 15:56:23 +02:00
Gabriel Dutra
1f74c0bad5
[Bug fix] Update user list when an user is created ( #3594 )
2019-03-15 20:56:10 +02:00
Feng
a8cb70910e
[Codebase improvement] Reuse handlers base require_fields ( #3577 )
2019-03-15 13:21:48 +02:00
Bernhard Mäser
852636f07c
update to latest stable version ( #3588 )
2019-03-14 18:13:18 +02:00
Arik Fraimovich
cf5c2c5ba2
Revert "Add SAML scheme override env var ( #2947 )" ( #3587 )
...
This reverts commit 4768fd081e .
2019-03-14 13:54:14 +02:00
Levko Kravets
10f4b99cd3
Widget title link not updated when parameter value changes ( #3586 )
2019-03-14 11:20:28 +02:00
Jannis Leidel
8456bbf762
Revert "Schema Viewer Drawer ( #3291 )" ( #3585 )
...
This reverts commit cb4d81d6ad .
2019-03-14 10:51:30 +02:00
Ran Byron
ab39242cc4
Cypress test - dashboard create/archive ( #3565 )
2019-03-14 08:08:56 +02:00
Ran Byron
b799ab6f0b
Added alt+enter key binding ( #3479 )
2019-03-14 08:06:39 +02:00
Marina Samuel
cb4d81d6ad
Schema Viewer Drawer ( #3291 )
...
* Process extra column metadata for a few sql-based data sources.
* Add Table and Column metadata tables.
* Periodically update table and column schema tables in a celery task.
* Fetching schema returns data from table and column metadata tables.
* Add tests for backend changes.
* Front-end shows extra table metadata and uses new schema response.
* Delete datasource schema data when deleting a data source.
* Process and store data source schema when a data source is first created or after a migration.
* Tables should have a unique name per datasource.
* Addressing review comments.
* Update migration file for mixins.
* Appease PEP8
* Upgrade migration file for rebase.
* Cascade delete.
* Adding org_id
* Remove redundant column and table prefixes.
* Non-existing tables and columns should be filtered out on the server side not client side.
* Fetching table samples should be optional and should happen in a separate task per table.
* Allow users to force a schema refresh.
* Use updated_at to help prune old schema metadata periodically.
* Using settings.SCHEMAS_REFRESH_QUEUE
2019-03-13 18:08:00 +01:00
Ran Byron
adf935b1df
Fix for parameter mapping bug #3581 ( #3582 )
...
* Fix for parameter mapping bug #3581
* Must run original snapshot with original dashboard params
2019-03-13 16:41:03 +02:00
Arik Fraimovich
f1cb0101b9
👋 goodbye, similar-code false positives. ( #3578 )
2019-03-13 11:04:02 +01:00
Leo Palmer Sunmo
4768fd081e
Add SAML scheme override env var ( #2947 )
...
* Add SAML scheme override env var
* Make it pretty, please the linter
2019-03-13 11:39:02 +02:00
Levko Kravets
4a8d9a7fb0
Fork query does not fork tables but instead adds default table ( #3580 )
...
* getredash/redash#3572 Fork query does not fork tables but instead adds default table
* Fix code style
* CR1
2019-03-13 11:29:54 +02:00
Arik Fraimovich
ba62b46a45
Append "UTC" to timestamp on embeds (in print view) ( #3574 )
...
To communicate what timezone the timestamp is.
2019-03-13 08:26:12 +02:00
Levko Kravets
fbf4dae001
Fix webpack config to work with symlinks ( #3573 )
2019-03-12 21:24:21 +02:00
Omer Lachish
5943bf04d5
change the order of configuration of the Elasticsearch data source to ( #3571 )
...
make sense
2019-03-12 09:42:17 +02:00
Ran Byron
93ec19b93f
Prevent blank edit-in-place value ( #3557 )
2019-03-11 23:24:38 +02:00
Omer Lachish
63d3f22c93
Convert all dropdown values to strings to support parameter lookup ( #3563 )
...
* convert all dropdown values to strings to support parameter lookup.
solves #3562
* unicode all the way down
* show correct default values in QueryBasedParameterInput by converting
them to strings
2019-03-11 17:54:56 +02:00
Gabriel Dutra
685c7713e4
Update Amazon Elasticsearch Service image ( #3567 )
2019-03-11 06:43:03 +02:00
Levko Kravets
4cfa26a55e
[Bug fix] Handle errors on Group members, Group datasources and User profile pages ( #3564 )
2019-03-10 19:34:54 +02:00
Ran Byron
5dc74e1ef7
npm audit fixes ( #3561 )
2019-03-10 13:35:27 +02:00
Arik Fraimovich
b703f7a3c4
Create weekly-digest.yml
2019-03-10 11:39:13 +02:00
Arik Fraimovich
26f0ce0749
New Celery/Queries Execution Status API ( #3057 )
...
* Remove QueryTaskTracker
* Remove scheudling of cleanup_tasks
* Add Celery introspection tools
* First iteration of updating the admin API.
* Show more details
* Add option to skip building npm in Dockerfile
* Show started_at
* update the refresh schedule, as it's too fast
* Update Celery monitor to report on all active tasks.
* Update task parsing for new format
* WIP: improved celery status screen
* Fix property name.
* Update counters
* Update tab name
* Update counters names
* Move component to its own file and fix lint issues
* Add migratin to remove Redis keys
* Improve columns layout
* Remove skip_npm_build arg as it's not used anymore.
* Convert query from SQL to Python
* Simplify column definition.
* Show alert on error.
2019-03-10 11:19:31 +02:00
Levko Kravets
12d2a04946
Download Query Result links: use query name for downloaded filename ( #3559 )
...
* getredash/redash#3554 Download Query Result links: use query name for downloaded filename
* CR1
2019-03-10 10:32:08 +02:00
koooge
5501f3e61c
Upgrade jest & babel ( #3405 )
2019-03-10 09:29:44 +02:00
Arik Fraimovich
61f143dfd3
Snowflake: add support for regions and enable by default ( #3550 )
...
* Bring back Snowflake from its exile.
* Snowflake: add support for regions.
2019-03-07 23:40:24 +02:00
Arik Fraimovich
8737e8032e
Add: Docker entrypoint to do Celery healthchecks. ( #3548 )
2019-03-07 22:32:27 +02:00
Arik Fraimovich
dfa48caf63
Fix: order dashboard favorites ( #3552 )
...
## What type of PR is this? (check all applicable)
- [x] Refactor
- [x] Bug Fix
## Description
Move favorites list handlers to their relevant modules (`redash.handlers.queries` and `redash.handlers.dashboards`) and applied `order_results` to dashboards.
2019-03-07 15:30:11 +01:00
Arik Fraimovich
e4c933af55
Update PULL_REQUEST_TEMPLATE.md ( #3549 )
2019-03-07 14:35:27 +02:00
Levko Kravets
be1bd2863f
[Bug fix] Wrong behavior when clicking table rows on list pages ( #3540 )
2019-03-07 13:59:39 +02:00
Ran Byron
507ea61151
Fix long tag labels breaking table layout ( #3545 )
2019-03-07 11:53:28 +02:00
Arik Fraimovich
4f79c86c0e
Pin pymapd version to 0.7.1 ( #3543 )
...
Newer versions dropped support for Python 2. Closes #3542 .
2019-03-07 09:02:40 +02:00
Ran Byron
160c3c1048
Param fix ( #3528 )
...
* Name help text for date range only
* Autofocus on name input
* Form acts on enter key
* Fixed range check
* Fixed startsWith
2019-03-06 10:31:33 +02:00
Jannis Leidel
8eb751f0c3
Remove docker-compose.production.yml in favor of setup/docker-compose.yml. ( #3533 )
...
Fix #3251 .
2019-03-06 08:49:35 +02:00
Paul Graff
75bc469708
Remove duplicate column information for late-binding views ( #3537 )
...
Since the svv_columns system view supports them now https://docs.aws.amazon.com/redshift/latest/dg/r_SVV_COLUMNS.html
2019-03-06 08:41:48 +02:00
Jannis Leidel
21082fbe0e
Make the "celery" queue the default instead of "schema" to stay backward-compatible. ( #3534 )
...
Fix #3325 .
2019-03-06 08:37:54 +02:00
Jannis Leidel
4e7d16b642
Remove Flask-Admin. ( #3532 )
2019-03-06 08:36:46 +02:00
pieter-venter
b68051d3c5
Add Hangouts Chat as alert destination ( #3525 )
...
* Add support for Google Hangouts Chat as alert destination
* Remove redundant imports
* Remove code used for debugging
* Fix pep8 warnings
* Update redash/destinations/hangoutschat.py
Add friendly name by separating type and description
Co-Authored-By: pieter-venter <pieterventer@geotab.com >
* Fix pep8 warnings. Rename image to match desitnation type.
* Show message for unknown alert state in default color
2019-03-05 22:06:25 +02:00
Levko Kravets
bc22797009
[Refactor] Refine New user modal ( #3529 )
2019-03-05 14:17:59 +02:00
Ran Byron
7a4fe5055d
Added UTC display to scheduler dialog ( #3517 )
2019-03-05 11:54:33 +02:00
Gabriel Dutra
6a75ac4a57
Migrate User Pages to React ( #3506 )
...
* Create React version for the EmailSettingsWarning
* Migrate the Create User Page
* Migrate UserProfile to React
* Add /users/me to the routes (Percy ftw)
* Fix UserShow test spec
* Remove Error Messages component
* Show invitation link if email server not setup (#3519 )
* return invite link to client if e-mail server is not set up
* add a couple of tests to make sure invite links are only returned when neccessary
* show invite link when e-mail is not configured
* remove "an e-mail has been sent" when there's no e-mail configured
* return invite_url in re-invites as well. Also refactor to reuse the code.
* Use CreateUserDialog instead of Page
* Render invite link on Resend Invitation click
* Add email validation to DynamicForm
* Fix EmailWarning position + update user list with user creation success
* Fix console error on UserProfile
* Redirect from /users/new + rename createUser -> showCreateUserDialog
* Use alert instead of toastr for user creation errors
* Remove logic from CreateUserDialog
* CR
* Use Promise.reject instead of throw to avoid console error
2019-03-04 18:26:51 -03:00
Ran Byron
34da15fd6a
Migrated AddTextboxDialog to AntD ( #3524 )
2019-03-04 21:51:48 +02:00
Ran Byron
dd0fab7275
Moved widget and dashboard save logic out of dialog ( #3522 )
2019-03-04 16:31:31 +02:00
Gabriel Dutra
ade3cc72a7
Fix eslint error on AlertsList ( #3518 )
2019-03-03 00:28:17 +02:00
Omer Lachish
02e82a7658
Fix verification_email endpoint when in MULTI_ORG mode ( #3502 )
...
* append slug to /verification_email endpoint when in MULTI_ORG mode
* Revert "append slug to /verification_email endpoint when in MULTI_ORG mode"
This reverts commit 817fb034c4 .
* fix for /email_verification in MULTI_ORG setups
2019-03-02 14:12:41 +02:00
Ran Byron
6e3b9c2977
Fixed navbar responsiveness ( #3510 )
...
* Fixed navbar responsiveness
* Adjustments so that logo should never hide
2019-02-28 16:53:42 +02:00
Ran Byron
34e03b01bb
Migrated query edit/add param dialog to React/AntD/Hooks ( #3488 )
2019-02-28 16:31:34 +02:00
Ran Byron
dab35acd2c
QuerySelector in Alert page ( #3501 )
2019-02-28 15:56:12 +02:00
Arik Fraimovich
a93741e64b
CircleCI build improvements ( #3511 )
...
* Make sure master builds tarball/docker image only when backend and frontend tests pass.
* Build a redash/preview image alongside redash/redash image.
* Fix version variable
2019-02-28 15:23:47 +02:00
Ran Byron
549f878c98
Added <QuerySelector /> component ( #3494 )
...
* Updated npm to support react hooks
* Added <QuerySelector />
* Changed selectQuery to also clear, completed 2->3 dots in msg, avoiding setSearching on stale rejection.
* Removed unused highlight lib
2019-02-28 15:07:57 +02:00
Gabriel Dutra
194f45263b
[Feature] Migrate Alerts List Page to React ( #3505 )
2019-02-28 12:33:03 +02:00
G. Tsirkas
83668a6840
LDAP Authentication. Create two envars REDASH_LDAP_USE_SSL and REDASH_LDAP_AUTH_BIND ( #2776 )
...
* Add two new envars. REDASH_LDAP_USE_SSL which determines if the connection will use ssl and LDAP_AUTH_BIND which determines if the binding is SIMPLE or ANONYMOUS
* Add use_ssl paremeter
* Rename LDAP_AUTH_BIND to LDAP_AUTH_METHOD and modify LDAP_SSL using parse_boolean
* Fix typo
* import ANONYMOUS constant from ldap3
* Add NTLM authentication
* Add comment to authentication method envar
2019-02-28 10:05:41 +02:00
Toshimitsu Takahashi
c9a4f07a7a
Support AWS IAM profile for Amazon Elasticsearch ( #3005 )
2019-02-28 09:57:33 +02:00
Omer Lachish
e9c88ea176
Verify address when users change their e-mail ( #3504 )
...
* re-verify e-mail address on change
* send verification e-mail to the new address
2019-02-27 12:17:20 +02:00
ialeinikov
fbaded4548
adding gevent worker in requirements.txt, adding some gunicorn config… ( #3333 )
...
* adding gevent worker in requirements.txt, adding some gunicorn configurable parameters with defaults
* reverting the change as it's going to be set via env variable(s)
2019-02-27 11:15:31 +02:00
Omer Lachish
570e8d9f23
set invitation as not-pending in render_token_login_page only when ( #3500 )
...
handling invites (as opposed to password reset links)
2019-02-27 09:06:41 +02:00
Omer Lachish
0d76c036cb
Be more permissive when parameters are safe ( #3383 )
...
* use the textless endpoint (/api/queries/:id/results) for pristine
queriest
* reverse conditional. not not is making me the headaches.
* add ParameterizedQuery#is_safe with an inital naive implementation which
treats any query with a text parameter as not safe. This will be
remedied later when DB drivers will handle these parameters.
* allow getting new query results even if user has only view permissions
to the data source (given that the query is safe)
* fix lint error - getDerivedStateFromProps should be placed after state
* Revert "use the textless endpoint (/api/queries/:id/results) for pristine"
This reverts commit cd2cee7738 .
* move execution preparation to a different function, which will be soon
reused
* go to textless /api/queries/:id/results by default
* let the query view decide if text or textless endpoint is needed
* allow safe queries to be executed in the UI even if the user has no
permission to execute and create new query results
* change `run_query`'s signature to accept a ParameterizedQuery instead of
constructing it inside
* use dict#get instead of a None guard
* use ParameterizedQuery in queries handler as well
* test that /queries/:id/results allows execution of safe queries even if
user has view_only permissions
* lint
* raise HTTP 400 when receiving invalid parameter values. Fixes #3394
* remove unused methods
* avoid cyclic imports by importing only when needed
* verify that a ParameterizedQuery without any parameters is considered
safe
* introduce query.parameter_schema
* encapsulate ParameterizedQuery creation inside Query
2019-02-26 20:55:01 +02:00
Gabriel Dutra
138c55cf54
Fix DynamicForm ignoring default value for checkboxes ( #3487 )
2019-02-26 15:10:14 +02:00
Gabriel Dutra
60cd8812a9
Update Percy token ( #3492 )
2019-02-25 21:22:46 +02:00
Arik Fraimovich
5c5bfbdbbe
Make sure Flask app created in Celery's worker process ( #3465 )
...
* Make sure Flask app created in worker process
* Add reference to GitHub issue
2019-02-25 19:11:03 +02:00
Sergei Beregov
75c34bf18d
Add custom JSON encoder for PostgreSQL ( #3442 )
...
To handle columns with [range types][1] and display them as a
string custom JSON encoder for PostgreSQL was added.
Merging this PR will fix issue #1764
[1]:https://www.postgresql.org/docs/9.3/rangetypes.html
2019-02-25 17:52:45 +02:00
Arik Fraimovich
b56cc1cd16
Pin SQLAlchemy-Utils version ( #3490 )
...
Pin the version of SQLAlchemy-Utils following the discussion in #2970 .
2019-02-25 11:22:48 +01:00
Wei
1a357df9b3
Fix prometheus query runner: get_schema and query range ( #3471 )
2019-02-25 11:40:35 +02:00
Yoshiken
d36e5acaea
Fix update logo ( #3489 )
2019-02-25 10:12:02 +02:00
Arik Fraimovich
f4f34d02fb
Create PULL_REQUEST_TEMPLATE.md ( #3485 )
2019-02-25 10:11:21 +02:00
Allen Short
3fdd3080c1
Use series name as pie chart label ( #3484 )
...
It was unconditionally using the column name; this uses the series name instead
if specified in the chart editor.
2019-02-25 10:10:27 +02:00
taminif
5d525b80b6
fix broken link in CONTRIBUTING.md ( #3483 )
2019-02-22 14:28:13 -03:00
Levko Kravets
5e5b0d69d8
[Feature, Tech debt] Improve list pages layout ( #3482 )
2019-02-22 17:26:29 +02:00
Levko Kravets
33b8bd27eb
[Feature] Migrate Group List and Details pages to React ( #3411 )
2019-02-22 14:47:48 +02:00
Subhi Al Hasan
8679b8756e
Cleaner approach for _is_collection_a_view ( #3113 )
...
* Fix collection fields retreival bug when Views are present in MongoDB
* fixing _is_collection_a_view function
* Update redash/query_runner/mongodb.py
Co-Authored-By: jodevsa <jodevsa@gmail.com >
* using options() instead of try/except on collstats to detect if a collection is a view
2019-02-21 23:39:36 +02:00
Omer Lachish
2a37cb31d9
Fix max-age issues on textless endpoint ( #3477 )
...
* max_age should default to -1
* pass maxAge along to `execute`
2019-02-21 16:02:06 +02:00
Ran Byron
4ad303b358
Fix some flex layout issue ( #3476 )
2019-02-21 14:21:54 +02:00
MURAOKA Taro
8fe1d33068
monitor "schemas" queue to run refresh_schema ( #3459 )
...
* monitor "schemas" queue to run refresh_schema
`refresh_schema` tasks won't run because "schemas" queue isn't consumed
with default settings.
and it cause leaking redis storage, a "schemas" list is growing with time.
this PR fix it, adds "schemas" queue to monitor by celery.
* use scheduled_worker for "schemas" queue
instead of "adhoc_worker"
2019-02-21 12:06:25 +02:00
Arik Fraimovich
4999ab5de7
Provide default value for .pop to avoid KeyError exception ( #3474 )
2019-02-21 11:17:07 +02:00
Ran Byron
8b19f16430
Help trigger dynamic component ( #3472 )
2019-02-20 17:55:35 +02:00
Omer Lachish
a17eb14cdf
support e-mail verification for multi org setups ( #3468 )
2019-02-20 13:45:09 +02:00
Omer Lachish
1ad0fa6a9b
avoid Flask debug error message about strict slashes ( #3469 )
2019-02-20 13:19:06 +02:00
Arik Fraimovich
77dcc80522
Fix: ParameterizedQuery: support for upper cases column names. ( #3461 )
...
* Fix: ParameterizedQuery: support for upper cases column names.
* Fix test name
2019-02-20 12:08:38 +02:00
Arik Fraimovich
fe10b06928
Fix: JS Map needs a set call rather than assignment ( #3464 )
2019-02-20 12:07:46 +02:00
Arik Fraimovich
e35f2b8f51
Fix: when max_age is None the handler fails ( #3462 )
2019-02-19 20:47:29 +02:00
Omer Lachish
0bca2d8920
when working with a schema, fail in the case that there are parameters ( #3452 )
...
which are not part of the schema
2019-02-19 20:46:30 +02:00
Arik Fraimovich
f421119f9d
Remove options NullPool does not support ( #3460 )
2019-02-19 16:04:00 +02:00
Arik Fraimovich
ebef0efe06
Fix: timedelta values were not JSON serialized properly ( #3463 )
...
.
2019-02-19 14:27:37 +01:00
Ran Byron
8fc2ecf55c
[Bug fix] Widget oblivious to updated parameter values ( #3445 )
2019-02-18 22:55:46 +02:00
Ran Byron
3147a0bd98
Version data - footer -> header menu ( #3458 )
2019-02-18 22:15:51 +02:00
Gabriel Dutra
2c705712fc
Fixes to Percy ( #3440 )
...
* Add check for repository url
* Use CIRCLE_REPOSITORY_URL directly
* Change percy waiting to be with resources instead of time
* Add data sources types resource to Edit Data Source + eslint fixes
* Separate Page Screenshots in different spec files
2019-02-18 16:30:48 -03:00
Levko Kravets
d483785098
[Codebase improvement] Refine ItemsList base component (previously LiveItemsList) ( #3415 )
2019-02-18 20:48:26 +02:00
Ran Byron
298fe6a779
HelpTrigger in header ( #3457 )
...
* Moved component from services->components
* Added help trigger to header
* Reverted tooltip-anchor swap
* Moved trigger location in html (to mirror saas)
* Removed white space
* Changed tooltip text to “Help”
2019-02-18 19:52:10 +02:00
Arik Fraimovich
f07e613631
Fix: ScheduleDialog won't render for "30 days" interval with no time value ( #3447 )
2019-02-17 15:12:07 +02:00
Arik Fraimovich
60472e2fe0
Add support for Amazon ES service with IAM authentication ( #3446 )
...
* Add support for Amazon ES service with IAM authentication
* Add required dependency.
2019-02-17 15:11:40 +02:00
Ran Byron
81c950407d
HelpTrigger to open in drawer ( #3436 )
...
* HelpTrigger to open in drawer
* Fixed “typo”
* Simplified version - removed postMessage
* Changed some wording
2019-02-17 15:11:16 +02:00
Arik Fraimovich
a34269cc7d
Change: encrypt data source options. 🔓 ( #2970 )
...
* Change: encrypt data source options
* Implement migration
2019-02-17 13:54:19 +02:00
Omer Lachish
a8f74a1078
remove the word "type" from error message, as enum out-of-range errors ( #3449 )
...
have nothing to do with types.
2019-02-17 13:42:44 +02:00
Arik Fraimovich
58a53e3470
Fix: remove widgets when deleting a visualization. ( #3423 )
...
Closes #3257 .
2019-02-17 10:30:23 +02:00
Ran Byron
fba2a35cef
[Feature] Sharing disabled if dashboard has query params ( #3439 )
2019-02-16 17:06:09 +02:00
Gabriel Dutra
b9644b7456
React version of UserEdit ( #3354 )
...
* Update DynamicForm export
* Move UserShow to users folder
* Migrate User profile header and create DynamicForm for basic data
* Update UserShow to use UserProfile prop
* Add API Key input
* Add handler to regenerate API Key button
* Handle user profile save
* Add readOnly prop to DynamicForm and begin disabled user behavior
* Add Change Password Modal
* Remove action buttons for disabled users
* Add send password reset behavior
* Add minLength and password comparison to Password Modal
* Resend Invitation button
* Add Convert User Info
* Fix UserShow test
* Some code updates
* Add enable/disable user button
* Add UserPolicy as an idea
* Remove UserPolicy
* Create Edit Profile spec
* Move User profile screenshot to Edit Profile Spec
* Add tests for saving user and changing password errors
* CC is back :) - Fix trailing spaces
* Add test for succesful password update
* A few improvements from code review
* Remove Toggle User button when seeing your own profile
* Create InputWithCopy
* Fix possible errors when network is off and improve Email not sent alert
* Add default response object for $http possible errors
* Changes in UserEdit
- removed onClick from methods name
- regenerate API Key now uses InputWithCopy
- Password title added
* Update UserEdit render behavior and styling
- Password title changed to h5
- change rendering rules for actions
- Password modal is now closed when password is changed
- change DynamicForm readOnly to the fields and add hideSubmitButton
* Create ChangePasswordDialog and update UserEdit
* Fix possible console error
* Remove password match assertion from spec
* Fix typo
2019-02-14 14:08:30 -02:00
swfz
afaedb9062
[Feature] Table visualization: Raise the upper limit of MAX_JSON_SIZE ( #3310 )
...
* move constant value to clientConfig
* change name maxJsonSize to tableCellMaxJSONSize
* value from environment. default is 50000
2019-02-13 11:42:40 +02:00
Ran Byron
f2df7170d2
HelpTrigger ( #3431 )
...
* Moved to HelpTrigger
* Moved share dialog “Learn more” to HelpTrigger
2019-02-13 10:38:25 +02:00
Arik Fraimovich
d6827e3601
Version update time ⏰ ( #3429 )
...
* Version update time ⏰
* Need more ☕ ️
2019-02-13 09:51:07 +02:00
Omer Lachish
c028e49bfd
send ip and user id to sentry ( #3430 )
2019-02-13 09:41:41 +02:00
Ran Byron
9b1f277530
[Widget Params] Updated help url and tooltip ( #3428 )
2019-02-13 09:00:48 +02:00
Ran Byron
901f28a79f
Pre-commit hook to run on modified files only ( #3410 )
...
* Pre-commit hook to run on modified files only
* Removed git add, fixed script dup
* Removed pre-push, testing related files only in pre-commit
2019-02-13 08:21:42 +02:00
Levko Kravets
3fed697c37
[Bug fix] Query Parameters: don't save urlPrefix ( #3427 )
2019-02-12 21:10:53 +02:00
Levko Kravets
d567765a3c
[Bug fix] Notifications randomly shown with visible page or not shown with inactive page ( #3426 )
2019-02-12 20:07:36 +02:00
Ran Byron
4dbc17572a
Converted Share modal to Ant ( #3424 )
2019-02-12 16:11:08 +02:00
Omer Lachish
330c5a85f1
Enable remote debugging with ptvsd ( #3419 )
...
* open port 3000 for remote debugging
* add ptvsd
* use port 5678 to avoid changes in VSCode's default config
* attach to ptvsd
* no need to wait for attach
* actually, --debugger seems to be working
* create a new docker entry point for remote debugging
* alternative method to switch to debugging
2019-02-12 09:10:18 +02:00
Levko Kravets
2c1400d323
[Feature] Alternative implementation of dashboard param title editing ( #3417 )
2019-02-11 17:17:05 +02:00
Arik Fraimovich
cb22764d68
Bug fix] Saving a new query removes reference to last query result ( #3421 )
...
* Correctly test if the current query result is for the current query.
* Serialize a new query with its visualizations.
2019-02-11 14:13:01 +02:00
Arik Fraimovich
eee77a1c9b
[Bug fix] Show query result footer only when there is a query result. ( #3422 )
2019-02-11 13:46:18 +02:00
Omer Lachish
71fb1442f1
Upgrade Sentry SDK ( #3418 )
...
* replace raven with sentry-sdk
* use sentry-sdk in celery
* use sentry-sdk with flask
* unify Flask and Celery initializations for Sentry
* extract sentry stuff to own module
* it's time for Sentry 0.7.2
2019-02-10 21:56:16 +02:00
Jannis Leidel
23908edc28
Handle InterruptException in Athena query runnner like in the Presto query runner. ( #3403 )
2019-02-10 13:41:16 +02:00
Ran Byron
df4ca86d35
Added short modal specific styling ( #3366 )
2019-02-10 13:39:55 +02:00
Omer Lachish
03f040da0e
Unify query based dropdown population ( #3337 )
...
* stop testing `collect_query_parameters`, it's an implementation detail
* add tests for `missing_query_params`
* rename SQLQuery -> ParameterizedSqlQuery
* rename sql_query.py to parameterized_query.py
* split to parameterized queries and parameterized SQL queries, where
parameterized queries only do templating and parameterized SQL queries
add tree validation on top of it
* move missing parameter detection to ParameterizedQuery
* get rid of some old code
* fix tests
* set syntax to `custom`
* revert the max-age-related refactoring
* 👋 tree validations 😢
* BaseQueryRunner is no longer a factory for ParameterizedQuery, for now
* add an endpoint for running a query by its id and (optional) parameters
without having to provide the query text
* adds parameter schema to ParameterizedQuery
* adds parameter schema validation (currently for strings)
* validate number parameters
* validate date parameters
* validate parameters on POST /api/queries/<id>/results
* validate enum parameters
* validate date range parameters
* validate query-based dropdowns by preprocessing them at the handler
level and converting them to a populated enum
* change _is_date_range to be a tad more succinct
* a single assignment with a `map` is sufficiently explanatory
* Update redash/utils/parameterized_query.py
Co-Authored-By: rauchy <omer@rauchy.net >
* Update redash/utils/parameterized_query.py
Co-Authored-By: rauchy <omer@rauchy.net >
* Update redash/utils/parameterized_query.py
Co-Authored-By: rauchy <omer@rauchy.net >
* Update redash/utils/parameterized_query.py
Co-Authored-By: rauchy <omer@rauchy.net >
* Update redash/handlers/query_results.py
Co-Authored-By: rauchy <omer@rauchy.net >
* Update redash/utils/parameterized_query.py
Co-Authored-By: rauchy <omer@rauchy.net >
* build error message inside the error
* support all types of numbers as number parameters
* check for permissions when populating query-based dropdowns
* check for access to query before running it
* check for empty rows when populating query-based enums
* don't bother loading query results if user doesn't have access
* 💥 on unexpected parameter types
* parameter schema default is a list, not a dictionary
* fix a totally unrelated typo
* remove redundant null guards
* introduce /dropdown.json endpoint with dummy data
* wire frontend to /dropdown.json
* always return name/value combos from /dropdown.json
* load actual data into /dropdown.json
* pluck correct values for `name` and `value`
* reuse dropdwon plucking logic in QueryResultResource
* simplify _get_dropdown_values
* when doing parameter validation, we only care about the value and not
the display name
* rename dropdown to dropdownOptions
* move dropdown_values to utils/parameterized_query.py
* stop converting queries to enums and encapsulate the work inside
ParameterizedQuery (almost - /dropdown.json would still access the
dropdown_values method)
* re-order arguments by importance
* test query parameter validation
* tests for dropdown_values logic
* remove `.json` suffix to the dropdown endpoint
* allow `BaseResource` to handle JSON stuff
* move _pluck_name_and_value outside its containing method
* case-insensitive lookup when plucking name and value
* separate concerns and simplify test isolation for `dropdown_values`
* pick the default column according to the order specified in the query
result columns attribute
* use `current_org` instead of passing `org`
* test that user has access to the query when calling the /dropdown
endpoint
2019-02-10 13:10:39 +02:00
Levko Kravets
e21bbcc6fe
[UI/UX Improvement] Use Ant's Button component on users list page ( #3416 )
2019-02-08 17:48:48 +02:00
Levko Kravets
23f5dde488
[Codebase Improvement] Refine dialog wrapper and use it for all existing dialogs ( #3407 )
2019-02-08 10:00:22 +02:00
Ran Byron
29326f3610
[Widget Params] Title edit fixes ( #3413 )
2019-02-08 08:45:46 +02:00
Ran Byron
593ebde211
Fix: “Add TextBox” dialog not opening ( #3414 )
2019-02-08 01:01:50 +02:00
Levko Kravets
11507c5e5e
Show active and pending users separately (for admins) ( #3400 )
2019-02-07 20:30:55 +02:00
Jannis Leidel
c49dccf254
Work around a resizing issue. ( #3412 )
...
* Work around a resizing issue.
Fix #3353 .
* Add comment to remove this when we delete Angular.
Co-Authored-By: jezdez <jannis@leidel.info >
2019-02-07 16:05:39 +02:00
Marina Samuel
029bee18fb
Coerce to moment when 'datetime' selected by user. ( #3150 )
2019-02-07 14:42:30 +01:00
Levko Kravets
ec475e4b7b
[Bug fix] Few small bugs on Queries list page ( #3402 )
...
* Link to query page
* Sidebar menu item title: `Archive` -> `Archived`
* Whitespaces in empty state block
2019-02-06 00:19:31 +02:00
Levko Kravets
045c171bb4
Refactor TagsControl; fix TagsEditorModal animation ( #3399 )
...
* Refactor TagsControl; fix TagsEditorModal animation
* Update tooltip text
Co-Authored-By: kravets-levko <levko.ne@gmail.com >
* Update tooltip text
Co-Authored-By: kravets-levko <levko.ne@gmail.com >
* CR1
2019-02-05 23:29:09 +02:00
Arik Fraimovich
21341132f6
Fix: cohorts get stuck when passing strings instead of numbers. ( #3397 )
...
* Fix: cohorts get stuck when passing strings instead of numbers.
Parse the value to get a number.
* Use parseInt for stage
* Remove redundant parseInt
2019-02-05 21:20:17 +02:00
Levko Kravets
ac68fe1a6d
Migrate Dashboards/Queries/Users list pages to React ( #3381 )
...
* Refine existing implementation of dashboards/queries/users lists and a common base controller
* Migrate common list page controller to React and refactor it's logic
* Migrate Dashboard list page to React
* Migrate Queries list page to React
* Migrate Users list page to React
* Remove react-timeago dependency
* Use composition instead of inheritance
* Refine implementation
* Merge sidebar into single component
* Refine column definitions
* Use simple controller instead of React context
* Refine implementation
* Restore changes from getredash/redash#2888
* Tweak Users list page
* Ability to render dynamically defined components
* Tweak users list page
* User list page for non-admins
* Fix: ItemsTable ignores isAvailable field
* Refine implementation
* Refine implementation
* Implement LiveItemsList as higher order component
* Some fixes
* Move some definitions to a better place
* Some fixes
* Refine components
* Refine UsersList page
* More comments for a god of comments
* Fix wrong tables size on smaller screens
* Tweak tables
2019-02-05 21:13:32 +02:00
Arik Fraimovich
13855934f9
Add YAML support in QueryEditor ( #3395 )
2019-02-05 20:37:54 +02:00
Ran Byron
5b62883c1c
[Widget Params] Switched parameter list to table style (all parts) ( #3332 )
...
* [Widget Params] Split title and mapping editing
* [Widget Params] Restyled source editing
* [Widget Params] Switched parameter list to table style
* Displaying different labels and help phrases when changing type
Added link to knowledge base
Fixed issue with existing param default select value
2019-02-05 20:36:15 +02:00
Ran Byron
c9681d55bf
Added pre-push hook ( #3390 )
2019-02-05 16:16:49 +02:00
Arik Fraimovich
7cfea8a6a0
Fix: only login user when it's the current user. ( #3396 )
...
Otherwise it would login the admin as the user...
2019-02-05 15:53:51 +02:00
Ran Byron
2011864fdb
Fix: Selected item in dropdown unreadable ( #3398 )
2019-02-05 15:50:31 +02:00
Omer Lachish
8f0cffe424
Use textless endpoint for pristine queries ( #3367 )
...
* use the textless endpoint (/api/queries/:id/results) for pristine
queriest
* Revert "use the textless endpoint (/api/queries/:id/results) for pristine"
This reverts commit cd2cee7738 .
* move execution preparation to a different function, which will be soon
reused
* go to textless /api/queries/:id/results by default
* let the query view decide if text or textless endpoint is needed
* lint
2019-02-05 12:08:12 +02:00
Ran Byron
3df372434f
[Widget Params] Migrated edit params + new widget dialog to Ant Modal ( #3387 )
2019-02-04 21:00:59 +02:00
Arik Fraimovich
933dd753a8
Make the logic around schedule['until'] easier to read ( #3376 )
2019-02-03 21:13:27 +02:00
koooge
3992bcda9b
Ignore to copy some files onto docker container ( #3388 )
...
* Ignore to copy some files onto docker container
Signed-off-by: koooge <koooooge@gmail.com >
* Dockerignore venv/
Signed-off-by: koooge <koooooge@gmail.com >
2019-02-03 20:30:08 +02:00
Jannis Leidel
69e34f048a
Add archived queries section to queries list. ( #2888 )
...
* Add archived queries section to queries list.
* Refactor route building for list based controllers.
This also fixes the dashboard empty state page.
2019-02-03 14:35:25 +02:00
Omer Lachish
b0a11983fa
fix lint error - getDerivedStateFromProps should be placed after state ( #3391 )
2019-02-03 11:13:04 +02:00
Levko Kravets
807e6aaaa6
Migrate "time ago" components to React ( #3385 )
...
* Replace <am-time-ago> (angular-moment) and <rd-timer> with React component
* PropTypes: Moment validation
* Increase polling interval
* Refine component implementation
* Add tooltip with formatted date/time
* Refine component implementation
2019-02-02 18:46:48 +02:00
Levko Kravets
324a1f55cc
Merge pull request #3384 from getredash/step-component
...
EmptyState alternative implementation with a Step component
2019-02-02 18:29:21 +02:00
Levko Kravets
abccff03f7
Fix Add datasource step; EmptyState.icon is optional
2019-02-02 18:12:27 +02:00
Levko Kravets
aa619c453f
Merge branch 'master' into step-component
2019-02-02 17:56:11 +02:00
Levko Kravets
10b5c03248
Merge pull request #3389 from getredash/cypress
...
Fix Cypress E2E failing in CI
2019-02-02 17:14:21 +02:00
Gabriel Dutra
fde52f5d84
Fix Cypress E2E failing in CI
2019-02-02 12:44:33 -02:00
Arik Fraimovich
78df7e7cc9
Last refinements:
...
* Update Step implementation to be easier to read.
* Set some props to required to remove default value.
2019-02-01 10:16:17 +02:00
Levko Kravets
e314715335
Refine implementation, fix 'shouldShow' condition, fix eslint warnings
2019-02-01 08:37:09 +02:00
Arik Fraimovich
a1cf065ec6
No need to export Step
2019-02-01 00:04:03 +02:00
Arik Fraimovich
f9570556c5
Bring back data sources step for non admins
2019-02-01 00:00:19 +02:00
Arik Fraimovich
9859610e80
Alternative implementation: Step component
2019-01-31 23:55:40 +02:00
Marina Samuel
feab2a040b
BigQuery should correctly handle tmp tables that do not have a schema field. ( #3382 )
2019-01-31 23:20:13 +02:00
Marina Samuel
35c390a2f9
Show disabled unpublished queries for alert and dashboard modals. ( #3347 )
2019-01-31 19:58:47 +02:00
Ran Byron
ebb96d7ad7
Widget param url prefix p to p_w ( #3380 )
2019-01-31 17:03:13 +02:00
Levko Kravets
3d58860f6f
Merge pull request #3374 from kravets-levko/fix-eslint-errors
...
Fix eslint errors
2019-01-31 14:33:28 +02:00
Levko Kravets
c223566302
Merge branch 'master' into fix-eslint-errors
2019-01-31 14:04:05 +02:00
Levko Kravets
1439714fa6
Migrate EmptyState component to React ( #3373 )
...
* Migrate EmptyState component to React
* CR1
* CR2
2019-01-31 14:02:45 +02:00
Levko Kravets
9c06e9a0bd
CR1
2019-01-31 13:50:05 +02:00
Levko Kravets
f98cf7812b
Merge branch 'master' into fix-eslint-errors
2019-01-31 11:25:41 +02:00
Levko Kravets
ee0e81e795
Fix eslint errors
2019-01-31 11:21:45 +02:00
Jannis Leidel
bd559b6eeb
Fix some incompatible dependencies ( #3348 )
...
* Pin requests-oauthlib to work around incompatible deptree.
* Update boto3/botocore to fix incompatible deptree.
2019-01-31 09:50:47 +02:00
Arik Fraimovich
c51191aaf0
Tune CodeClimate's config to make it less annoying ( #3370 )
2019-01-31 07:34:31 +02:00
Levko Kravets
4a2645d4c6
Merge pull request #3368 from kravets-levko/feature/react-favorites-and-tags-list
...
React migration: FavoritesControl and TagsList components
2019-01-30 21:09:05 +02:00
Levko Kravets
3ad1709a0a
Merge branch 'master' into feature/react-favorites-and-tags-list
2019-01-30 20:29:07 +02:00
Ran Byron
cc135398e2
Fix: static param text value is [object Object] ( #3371 )
2019-01-30 20:27:59 +02:00
Levko Kravets
067472643d
CR3
2019-01-30 20:21:22 +02:00
Levko Kravets
225c98c52a
Merge branch 'master' into feature/react-favorites-and-tags-list
2019-01-30 19:23:03 +02:00
Ran Byron
00e991ecfc
Fix: Static param value not editable for Text/Number ( #3369 )
2019-01-30 19:18:57 +02:00
Levko Kravets
a362e97dfe
CR2
2019-01-30 18:54:53 +02:00
Levko Kravets
1ea532fe26
CR1
2019-01-30 18:45:06 +02:00
Levko Kravets
9a1c8290e4
Migrate TagsList component to React
2019-01-30 17:40:42 +02:00
Levko Kravets
0d959116d8
Migrate FavoritesControl component to React
2019-01-30 17:22:54 +02:00
Aidarbek Suleimenov
0b9f575dab
Fix: make ClickHouse password and username truly optional ( #3362 )
...
* clickhouse optional password
* clickhouse URL and user made optional
2019-01-30 11:17:43 +02:00
koooge
13bc910d7c
Update CodeClimate configuration format to Version 2 ( #3286 )
...
* codeclimate: Update format v2
* codeclimate: Ignore generated files
2019-01-30 10:51:32 +02:00
Ran Byron
9e2f8e2461
Fix: Escape button in tag edit modal ( #3363 )
2019-01-30 10:43:38 +02:00
Aidarbek Suleimenov
61e7cdaa81
Filename set when /results called directly ( #3359 )
...
* filename set when /results called directly
* /results filename changed from query name to id
* Long line shortened
2019-01-29 19:47:42 +02:00
Vladislav Denisov
53aecdc607
yandex_metrica: changed auth from params to headers ( #3360 )
2019-01-29 18:17:13 +02:00
koooge
2da511021e
Frontend lint update ( #3253 )
...
* client: Add lint command
Signed-off-by: koooge <koooooge@gmail.com >
* client: Override eslint rule object-curly-newline to keep current style
Signed-off-by: koooge <koooooge@gmail.com >
* client: Override eslint rule no-else-return to keep current style
Signed-off-by: koooge <koooooge@gmail.com >
* client: Fix eslint import/named
Signed-off-by: koooge <koooooge@gmail.com >
* client: eslint-5
Signed-off-by: koooge <koooooge@gmail.com >
* codeclimate: Delete the old setting
Signed-off-by: koooge <koooooge@gmail.com >
* client: Downgrade eslint 5 to 4 in codeclimate
Signed-off-by: koooge <koooooge@gmail.com >
* client: npx install-peerdeps --dev eslint-config-airbnb
Signed-off-by: koooge <koooooge@gmail.com >
* client: Enbale .jsx lint
Signed-off-by: koooge <koooooge@gmail.com >
* client: Set warn
Signed-off-by: koooge <koooooge@gmail.com >
* client: Fix lint indent, implicit-arrow-linebreak, lines-between-class-members
Signed-off-by: koooge <koooooge@gmail.com >
* client: Disable eslint operator-linebreak
Signed-off-by: koooge <koooooge@gmail.com >
* Revert "client: Downgrade eslint 5 to 4 in codeclimate"
This reverts commit f0fb0f0059 .
* client: Fix react/button-has-type
Signed-off-by: koooge <koooooge@gmail.com >
* client: Disable an eslint rule react/jsx-one-expression-per-line
Signed-off-by: koooge <koooooge@gmail.com >
* codeclimate: Disable no-multiple-empty-lines
Signed-off-by: koooge <koooooge@gmail.com >
* client: Disable eslint react/destructuring-assignment
Signed-off-by: koooge <koooooge@gmail.com >
2019-01-29 17:25:58 +02:00
Omer Lachish
371b319e92
Server-side parameter validation ( #3315 )
...
* stop testing `collect_query_parameters`, it's an implementation detail
* add tests for `missing_query_params`
* rename SQLQuery -> ParameterizedSqlQuery
* rename sql_query.py to parameterized_query.py
* split to parameterized queries and parameterized SQL queries, where
parameterized queries only do templating and parameterized SQL queries
add tree validation on top of it
* move missing parameter detection to ParameterizedQuery
* get rid of some old code
* fix tests
* set syntax to `custom`
* revert the max-age-related refactoring
* 👋 tree validations 😢
* BaseQueryRunner is no longer a factory for ParameterizedQuery, for now
* add an endpoint for running a query by its id and (optional) parameters
without having to provide the query text
* adds parameter schema to ParameterizedQuery
* adds parameter schema validation (currently for strings)
* validate number parameters
* validate date parameters
* validate parameters on POST /api/queries/<id>/results
* validate enum parameters
* validate date range parameters
* validate query-based dropdowns by preprocessing them at the handler
level and converting them to a populated enum
* change _is_date_range to be a tad more succinct
* a single assignment with a `map` is sufficiently explanatory
* Update redash/utils/parameterized_query.py
Co-Authored-By: rauchy <omer@rauchy.net >
* Update redash/utils/parameterized_query.py
Co-Authored-By: rauchy <omer@rauchy.net >
* Update redash/utils/parameterized_query.py
Co-Authored-By: rauchy <omer@rauchy.net >
* Update redash/utils/parameterized_query.py
Co-Authored-By: rauchy <omer@rauchy.net >
* Update redash/handlers/query_results.py
Co-Authored-By: rauchy <omer@rauchy.net >
* Update redash/utils/parameterized_query.py
Co-Authored-By: rauchy <omer@rauchy.net >
* build error message inside the error
* support all types of numbers as number parameters
* check for permissions when populating query-based dropdowns
* check for access to query before running it
* check for empty rows when populating query-based enums
* don't bother loading query results if user doesn't have access
* 💥 on unexpected parameter types
* parameter schema default is a list, not a dictionary
* remove redundant null guards
2019-01-29 09:18:07 +02:00
Arik Fraimovich
ff42ec2cc6
Cypress tests: preset the admin API key to a static value ( #3358 )
2019-01-28 17:54:24 +02:00
Levko Kravets
7278d4b1fc
Refactor Policy and OrganizationStatus services ( #3345 )
...
* Refactor Policy and OrganizationStatus services
2019-01-28 16:46:26 +02:00
Levko Kravets
6930106380
getredash/redash#3355 Widget params: Date/Date range value empty in static param input ( #3357 )
2019-01-28 15:59:49 +02:00
Zsolt Kocsmárszky
c0859642fd
WIP: Add dashboard details section for dashboard owner and more ( #2934 )
...
Show dashboard creator on dashboard page
2019-01-28 14:20:55 +02:00
Gabriel Dutra
37821ee008
Add Percy Page Screenshots ( #3338 )
...
* Add Percy Page Screenshots
* Add missing space
2019-01-28 10:21:42 +02:00
Arik Fraimovich
c31cb01065
Move BigQueryGCE to its own file ( #3356 )
...
* Move BigQueryGCE to its own file
* Add missing import
2019-01-28 09:37:47 +02:00
Levko Kravets
1fa58674f3
Refine SettingsMenu service and <settings-screen> component ( #3339 )
...
* Refine SettingsMenu service and <settings-screen> component
* Rename services/settingsMenu file to match default export name
* CR1
2019-01-25 17:29:35 +02:00
Jannis Leidel
d204c158a2
Allow query owners to hard-overwrite query content in case of overlap with other user ( #2370 )
...
* Hard overwrite on conflict for query owners (re #283 )
* Use AlertDialog instead of custom global function.
2019-01-25 11:28:09 +01:00
Levko Kravets
b0b4d5e26a
Convert Angular services to CommonJS-style and use them in React components instead of injecting ( #3331 )
...
* Refine Auth service: remove dead code and fix race condition
* Export services in CommonJS style
* Refine Users, Events and OfflineListener services
* Refactor Notifications service - rewrite to CommonJS
* Replace Angular service injection with imports in React components
* Fix Footer tests
* Events service -> recordEvent function
* CR1
2019-01-24 16:24:58 +02:00
Levko Kravets
c2c722e12e
Migrate PageHeader component to React ( #3324 )
...
* Migrate PageHeader component to React
* CR1
2019-01-23 20:10:52 +02:00
Vibhor Kumar
1a61ee3ec0
Add: Uptycs query runner ( #3319 )
...
* adding uptycs query_runner in redash
* as per comment from Arik comment fixed the code
* fixed function_name
* fixed some indentation issues
* fixed the indentation issue and taken out customer_id from secret
* fixed the dependency of urllib3
* fixed the indententaton issue
* remved the urllib3 from requirements
* fixed the indentation issues
* added the new square image for Uptycs. Removed unnecessary variable and made ssl as an option
* fixed indentation issue
* Renamed SSL to verify_ssl and also added verify_ssl validate in verify in missing places
2019-01-23 20:07:40 +02:00
Ran Byron
d5afa1815e
Filtering out incompatible dashboard params ( #3330 )
2019-01-23 16:27:49 +02:00
Arik Fraimovich
87667676e6
Remove link to roadmap ( #3329 )
...
It's no longer maintained 😢
2019-01-23 13:48:11 +02:00
Arik Fraimovich
bfeb015d71
Add configuration for the Support probot. ( #3327 )
2019-01-23 13:38:08 +02:00
Omer Lachish
a9c514aaf7
Textless query result endpoint ( #3311 )
...
* add an endpoint for running a query by its id and (optional) parameters
without having to provide the query text
* check for access to query before running it
2019-01-23 11:10:04 +02:00
Levko Kravets
7fa6665445
Use Ant's Paginator component; migrate SortIcon to React ( #3317 )
2019-01-22 17:26:11 +02:00
Miles Maddox
ff6b20b69c
support for fetching all JQL results by way of pagination ( #3304 )
2019-01-22 15:52:13 +02:00
YOSHIDA Katsuhiko
c4bf44677a
Fix an error of exporting dict value as Excel ( #3323 )
2019-01-22 14:43:52 +02:00
Gabriel Dutra
8bdcfb06c5
add wait time before percy data source page snapshot ( #3320 )
2019-01-22 08:52:23 +02:00
YOSHIDA Katsuhiko
b3643ffbb7
Add regenerate function of user's API key ( #3224 )
...
* Add regenerate function of user's API Key
* Update client/app/pages/users/show.js
Co-Authored-By: kyoshidajp <claddvd@gmail.com >
* Remove unused error message
* Refactoring: Inline temp
* Update client/app/pages/users/show.js
Co-Authored-By: kyoshidajp <claddvd@gmail.com >
* Change action event of regenerate user API key
2019-01-20 13:38:20 +02:00
Eric Chang
b91d4bdcaf
override default integer/float formatting with environment variables ( #3307 )
2019-01-20 10:10:36 +02:00
Eric Chang
8bc8e2dadf
Allow execution of highlighted subquery ( #3288 )
...
* allow execution of selected subquery
* fix query save while highlighted
* don't modify queryText and update UI when running selected
* code style and transition
* Fix query selection execution background color
* make naming consistent
2019-01-20 10:06:17 +02:00
Gabriel Dutra
84d5becf2a
Update form text colors ( #3296 )
...
* Create ant variables and update form colors
* Remove less extension from imports in ant.less
* Update font-weight for labels
* Add percy snapshot for create data source page
* Remove bold in labels only for checkboxes and radio buttons
2019-01-20 09:41:52 +02:00
Arik Fraimovich
e8120c5f79
Use None as "not scheduled" default value of a query ( #3277 )
...
* Use null as the default scheduled value.
* Don't serialize None to json, so we can use SQL is not null predicate.
* Fix warning about unicode in tests
* Handling empty query.schedule in UI (#3283 )
* Add migration to convert empty schedules to null and drop the not null contraint.
2019-01-18 11:30:45 +02:00
Levko Kravets
40c6a2621c
Merge pull request #3299 from kravets-levko/fix/multifilter-dropdown
...
Multifilter's dropdown cropped when visualization container is too small
2019-01-17 15:37:26 +02:00
Levko Kravets
06887f6ff1
Multifilter's dropdown cropped when visualization container is too small
2019-01-17 15:14:46 +02:00
Omer Lachish
7847cf7d63
Fix invitation pending for older invitations ( #3298 )
...
* explicitly look for a False under details['is_invitation_pending'] and
not any falsey result, to avoid locking out invitations which were
created before the Pending Invitation feature was introduced. Solves https://github.com/getredash/redash/issues/3297
* test that old invites (that do not have any is_invitation_pending flag set in their details object) are still acceptable
2019-01-17 11:56:16 +02:00
Omer Lachish
121a44ef15
Remove tree validations and introduce ParameterizedQuery ( #3230 )
2019-01-17 10:26:00 +02:00
Gabriel Dutra
823e4ccdd6
Migrate DynamicForm to React ( #3209 )
...
* create DynamicForm React component
* Render fields based on target in DynamicForm
* Add missing title property to fields
* Fix style properties in DynamicForm
* Render File fields in DynamicForm
* Use React for middle component instead of Angular
* Functional save button
* Update label style
* Render functional actions
* Handle file inputs
* Update render methods to fix code climate issues
* Fix ant input number showing duplicate arrows
* Update DynamicForm style to be vertical
* Separate imports from antd in DynamicForm
* Add Feedback Icons to DynamicForm
* Change Action props on DynamicForm
- use type and pullRight instead of class prop
- update data sources and destinations pages accordingly
* Remove setDefaults method from DynamicForm fields
* Update antd version
* Remove unnecessary class selectors
* Remove another unnecessary class selector
2019-01-15 14:23:33 +02:00
Levko Kravets
0c45d69662
Dashboard Parameters ( #2756 )
...
* getredash/redash#2641 Step 1: split Add Widget/Add Textbox buttons
* Convert Add widget/textbox dialogs to React components
* getredash/redash#2641 Step 2: Implement new dashboard parameters logic
* Resolve conflicts and fix build errors
* getredash/redash#2641 Refactoring and improve code quality
* Add Edit parameter mappings dialog to the widget
* getredash/redash#2641 Changes after code review
* Use Ant's Select component instead on <select> tags
* Fix Antd imports
* Fix Antd imports
* Fix Cannot read property 'getParametersDefs' of undefined
* Fix widgets static params bugs (don't show input, don't init from URL)
* Minor UI/UX fixes
2019-01-15 13:14:54 +02:00
Gabriel Dutra
df23842c57
Separate Bootstrap/Ant styling ( #3279 )
...
* Separate Ant less dependency tree
* Change order between variables and ant imports
* Remove inc/variables from ant.less
* Update input-height-base for antd
* Set same input-color for Ant and Bootstrap
2019-01-15 11:40:38 +02:00
Arik Fraimovich
d68a4dce5f
Pin version of pyparsing ( #3282 )
2019-01-14 17:17:23 +02:00
Levko Kravets
db86e394cf
Update Antd to latest version + fix tests ( #3281 )
2019-01-14 16:25:57 +02:00
koooge
4c9326a9da
handlers: Fix post users ( #3273 )
2019-01-13 15:52:56 +02:00
Ran Byron
200fea952a
Pleasant alert-warning colors ( #3276 )
...
* Pleasant alert-warning colors
* Fix for json viewer primitive color
2019-01-13 15:27:26 +02:00
Ran Byron
90a0a7d39b
Scheduler tests (jest/enzyme) ( #3269 )
...
* Setup enzyme and initial ScheduleDialog test
* Added tests for each schedule setting
* Added refreshOptions tests
* Added count out-of-range tests
* Added modal confirm/cancel tests
* Fixed tests failing due to server timezone difference
* Rebased to master
2019-01-13 15:26:44 +02:00
Omer Lachish
26252be75a
Verify admin email address ( #3267 )
...
* add an bit
* prompt on homepage when user's email hasn't been verified
* set e-mail as verified for new setups and invited users
* 👋 copy & paste invite links, it's time for verified e-mails!
* default `is_invitation_pending` to false and actively set it to true
when inviting users, so that existing users won't show "Invitation
Pending"
* fix tests that broke due to default is_invitation_pending value
* treat admin's e-mail address as verified
* add verification endpoint
* send verification e-mail
* Update client/app/components/empty-state/empty-state.html
Co-Authored-By: rauchy <omer@rauchy.net >
* Update redash/authentication/account.py
Co-Authored-By: rauchy <omer@rauchy.net >
* Update redash/handlers/authentication.py
Co-Authored-By: rauchy <omer@rauchy.net >
* Update redash/templates/emails/verify.html
Co-Authored-By: rauchy <omer@rauchy.net >
* Update redash/authentication/account.py
Co-Authored-By: rauchy <omer@rauchy.net >
* Update redash/templates/verify.html
Co-Authored-By: rauchy <omer@rauchy.net >
* Update redash/templates/emails/verify.txt
Co-Authored-By: rauchy <omer@rauchy.net >
* add link in case redirects are disabled
* POSTing to /email_verification makes more sense than GETting /send_verification
* avoid sending invitations when no_invite is passed along
* Update client/app/pages/users/new.html
Co-Authored-By: rauchy <omer@rauchy.net >
* move e-mail verification prompt to home-page
* get rid of redundant $scope
* return JSON
* flip is_email_verified's default value so that existing users do not
show as not-verified
* e-mail verification propmt isn't dangerous, it just wants to warn you
2019-01-13 13:57:12 +02:00
Ran Byron
6c6366e6f0
Fix: Refresh schedule durations not pluralized sufficiently ( #3268 )
...
* Fix: Refresh schedule durations not pluralized sufficiently
* Allows omitting single value number in durationHumanize (#3274 )
2019-01-13 13:31:41 +02:00
Ran Byron
de04a403d7
Fix: Refresh schedule interval count doesn't adhere to permission rules ( #3265 )
...
* Fix: Refresh schedule interval count doesn't adhere to permission rules
* Fix “4.28 weeks” to “30 days”
* Merge interval type and count into one <Select>
2019-01-13 11:39:57 +02:00
Ilya Ruzakov
0b6f1fc21b
[Data Sources] Implement Apache Drill ( #3188 )
...
* Added support for Apache Drill datasource
* Improvements in `Drill` query runner and minor refactoring
1. Drill query runner now inherits from `BaseHTTPQueryRunner`, because they both have a lot of common code.
2. `BaseHTTPQueryRunner.get_response` method now accepts `http_method` argument (original implementation was only capable of sending `GET` HTTP requests).
3. Added `order` to `BaseHTTPRequestRunner` configuration schema to fix order of UI elements based on the schema.
4. Eliminated duplicate method `_guess_type` in `GoogleSpreadsheet`, `Results` and `Drill` query runners, moved `guess_type` to `redash.query_runner`.
5. Removed tests for `_guess_type` in `GoogleSpreadsheet`, `Results` and `Drill` query runners, merged them into single test case and moved to `tests.query_runner.test_utils`.
6. Various minor changes (code style, imports, etc).
2019-01-10 09:12:35 +02:00
Omer Lachish
445f8e5c36
Fix invitation pending for existing users ( #3261 )
...
* default `is_invitation_pending` to false and actively set it to true
when inviting users, so that existing users won't show "Invitation
Pending"
* fix tests that broke due to default is_invitation_pending value
* update Flask-OAuthLib
2019-01-09 13:48:47 +02:00
Omer Lachish
a29136037c
update Flask-OAuthLib ( #3262 )
2019-01-09 13:48:21 +02:00
Arik Fraimovich
08953cc919
Redis based implementation of user active_at timestamp update ( #3256 )
...
* Switch to simpler implementation
* Fix active_at update code
* Fix sync test
2019-01-08 14:03:49 +02:00
koooge
22f835d3cb
client: Remove estraverse ( #3254 )
...
Signed-off-by: koooge <koooooge@gmail.com >
2019-01-08 12:29:24 +02:00
Omer Lachish
823f172a9f
Invitation Pending changes ( #3229 )
...
* determine invitation_pending according to empty password. This commit will be reverted, I'm just deferring the implementation
* show '(Invitation Pending)' to users who haven't accepted their invitation yet
* allow resending invitations
* allow deletion of pending users from user list
* set invitation as not pending when following invite link
* prevent deleting activated users
* test that users who follow invitation links are set as non-pending invitations
* prevent re-using invitations
* invitees who use SSO will now also be marked as "non-pending"
* lint
2019-01-08 08:52:48 +02:00
Jannis Leidel
44dff83046
Add "Active at" column to user list. ( #3026 )
...
* add last_active_at to users page
* Use our JSON encoder as the SQLAlchemy JSON serializer.
* Fixed some inconsistencies in the user query class methods.
* Minor cosmetic fixes.
* Add some make tasks for easier development.
* Add user detail sync system based on Redis backend.
There is a periodic Celery task that updates a new “details” JSONB column in the “user” table with the data from Redis.
Currently this is only used for tracking the date of last activity of a user but can be extended with other user information later.
Updates a few dependencies.
* Normalize a few Flask extension API names.
* Reduce implementation complexity of JSONEncoder.
* Use request_started signal to make sure we have a request context.
Otherwise loading the user based on the request won’t work.
* Fix test that checks if disabled users can login.
This correctly uses a URL path that includes the current organization and checks for the error message.
The previous test seems to have been a red herring.
* Minor cosmetic fixes.
* Remove needs_sync in favor of just deleting things.
* Misc review fixes.
* Ignore line length.
* Split redash.models import several modules.
* Move walrus UTC DateTimeField into redash.models.types.
* Restore distinctly loading dashboards.
* Simplify default values for user details.
* Define __repr__ methods generically.
* Consistently have underscore methods at the top of model methods.
* Fix tests.
* Split redash.models import several modules.
* Update to latest walrus and redis-py.
* Update kombu to 4.2.2 for redis-py 3.x compatibility.
* Remove redis-cli container after running Make task.
* Move buffer condition after datetime/time conditions.
* Update walrus to 0.7.1.
* Refactor some query APIs.
This uses the flask-sqlalchemy helpers consistently and makes more use of mixins.
* Post rebase fixes.
* Use correct kombu version
* Fix migration down revision
2019-01-07 10:30:42 +02:00
Ran Byron
569430e5cd
Fix: Refresh schedule phrase overlaps title ( #3250 )
2019-01-06 12:46:55 +02:00
Ran Byron
07a1c23df5
Fix: Able to set out-of-range refresh interval
2019-01-06 12:27:50 +02:00
Ran Byron
b97b8477ad
Feature: Refresh schedule - styling ( #3247 )
2019-01-06 12:14:00 +02:00
Ran Byron
9b72dfe076
Feature: Refresh schedule - save/cancel actions
2019-01-06 11:33:35 +02:00
Ran Byron
3ee83a4c4a
Feature: Refresh schedule - code optimizations
2019-01-06 11:17:43 +02:00
Marina Samuel
cdd2259d08
Closes #2396 : Add finer-grained scheduling. ( #2426 )
...
* Closes #187 : Add finer-grained scheduling - backend.
* Closes #2396 - Add finer-grained scheduling - frontend.
* Fix linting issues
* Rename ScheduleDialgo to .jsx
2019-01-06 10:59:50 +02:00
Vincentoo
fc368ee425
Support overriding the default Celery schedule database file via SCHEDULE_DB environment variable. ( #3056 )
...
By default Celery will use a file celerybeat-schedule in the current directory.
This is an issue in a Kubernetes/Openshift environment as the file may be lost or even impossible to write.
2019-01-03 20:51:18 +02:00
YOSHIDA Katsuhiko
7a2e08c3eb
Upgrade requests package ( #3245 )
2019-01-03 18:59:58 +02:00
Levko Kravets
ba0d069283
getredash/redash#3213 Scatter charts can have category Y axis (similar to Bubble) ( #3243 )
2019-01-03 17:15:51 +02:00
Omer Lachish
670d86eb5f
Simple user view ( #3244 )
...
* show a simple user details page when viewing a user who isn't you (or you arent the admin)
* add a snapshot test
* lint
2019-01-03 15:23:40 +02:00
Ran Byron
63f38b7acd
Fix: Query editor duplicates keystrokes [ #2972 ] ( #3239 )
2019-01-01 17:40:48 +02:00
Arik Fraimovich
8b5ffc6f84
Handle the case when a QueryTracker is None and change order. ( #3238 )
2019-01-01 15:57:58 +02:00
Arik Fraimovich
cce2052e79
request.view_args might be None and add org_id to ApiUser ( #3237 )
2019-01-01 15:44:34 +02:00
Arik Fraimovich
8ea6283430
Send argsrepr value with execute_query task ( #3235 )
2019-01-01 15:32:02 +02:00
Arik Fraimovich
08b86c1c6d
Fix: forked query wasn't opening in MULTI_ORG env ( #3236 )
2019-01-01 15:31:41 +02:00
koooge
0449a3ff31
Delete an unused global ( #3231 )
...
Signed-off-by: koooge <koooooge@gmail.com >
2019-01-01 08:58:31 +02:00
Arik Fraimovich
4ea46f197e
It's 2019 now ! 🎉
2019-01-01 08:40:51 +02:00
Omer Lachish
d7edaa3ba2
Tests for find_missing_params ( #3225 )
...
* stop testing `collect_query_parameters`, it's an implementation detail
* add tests for `missing_query_params`
2018-12-31 12:34:57 +02:00
YOSHIDA Katsuhiko
632fc5aace
Merge pull request #3232 from koooge/fix_warn_tapable
...
Update webpack-build-notifier to dismiss warn
2018-12-31 10:09:23 +09:00
koooge
b9abb36799
Update webpack-build-notifier to dismiss warn
...
Signed-off-by: koooge <koooooge@gmail.com >
2018-12-30 17:37:42 +00:00
Levko Kravets
d7e7b99a76
Merge pull request #3228 from kyoshidajp/fix_trailing_spaces_error
...
Fix front-end compile error
2018-12-28 20:43:10 +02:00
Katsuhiko YOSHIDA
db87c8740e
Fix front-end compile error
2018-12-29 01:36:16 +09:00
Arik Fraimovich
5f2b54a320
Root folder cleanup ( #3220 )
...
* Remove old_migrations folder
* Move Dockerfile.cypress into .circleci
2018-12-26 18:09:41 +02:00
Arik Fraimovich
f62d0e1300
Use lower cased names for groups: ( #3221 )
...
Otherwise sorting depends on the Postgres collation and causes tests
to fail on different envoirnments.
2018-12-26 17:16:13 +02:00
Omer Lachish
9e156c1c30
Fix: missing param fails for object values (like date range) ( #3218 )
...
* fix: range params not recognized
* Handle parameters with unicode
* Remove debug prints
* DRY up missing_params
2018-12-26 17:06:30 +02:00
Gabriel Dutra
26965b4948
Add dot behavior to autocomplete ( #3092 )
...
* Add dot behavior to autocomplete
* Transform the Keyword Builder in an external js
* Remove methods from QueryEditor constructor
2018-12-26 17:04:11 +02:00
Omer Lachish
7a03928f48
we've noticed users with integer legacy session identifiers, so it doesn't hurt to convert to string anyway ( #3219 )
2018-12-26 16:24:59 +02:00
Omer Lachish
8f14efdaff
Avoid exploding sql parse ( #3216 )
...
* fail silently when sql_parse explodes
* Update upstream/redash/handlers/query_results.py
Co-Authored-By: rauchy <omer@rauchy.net >
* Update upstream/redash/handlers/query_results.py
Co-Authored-By: rauchy <omer@rauchy.net >
2018-12-26 10:43:00 +02:00
deecay
03a7e24204
Show Sort Y only when type is Heatmap ( #3206 )
2018-12-24 17:10:16 +02:00
ialeinikov
2f7cb1bc8a
[Athena] Fix: missing databases (apply pagination) ( #2503 )
...
* adding paginator on databases in glue
* reduce number of nested loops
* fixing indentation
* double for-loop instead of generator
* removing unused generator
2018-12-24 14:02:08 +02:00
koooge
64783b7f06
Switch to MULTI FROM Dockerfile and use Node 10 for builds ( #3199 )
2018-12-23 15:17:54 +02:00
Takuya Arita
8ed872756c
Add test case for redash.utils.generate_token ( #3211 )
2018-12-23 15:13:00 +02:00
Arik Fraimovich
83ea472d37
Merge pull request #3093 from getredash/backend-parameter-templating
...
Remove Mustache templating from frontend
2018-12-20 22:24:11 +02:00
Arik Fraimovich
0505163ff9
Merge pull request #3174 from getredash/invalidate-sessions-after-email-or-password-change
...
Invalidate sessions after email or password change
2018-12-19 15:49:54 +02:00
Arik Fraimovich
3d38bb478f
Merge pull request #3205 from kravets-levko/bug/wrong-query-link-in-widget
...
Widget: fix url parameters in query link
2018-12-19 15:47:30 +02:00
Levko Kravets
654e906f6b
getredash/redash#3203 Widget: fix url parameters in query link
2018-12-19 15:13:58 +02:00
Omer Lachish
54da6c69ab
Merge branch 'invalidate-sessions-after-email-or-password-change' of github.com:getredash/redash into invalidate-sessions-after-email-or-password-change
2018-12-19 14:36:08 +02:00
Omer Lachish
8284e829fb
explain why we call on identity changes
2018-12-19 14:35:42 +02:00
Omer Lachish
bcfff469de
Merge branch 'master' into invalidate-sessions-after-email-or-password-change
2018-12-19 14:23:35 +02:00
Omer Lachish
b5ceb268ef
Merge branch 'master' into invalidate-sessions-after-email-or-password-change
2018-12-17 12:52:17 +02:00
Arik Fraimovich
8583eaa8ad
Merge pull request #3173 from kyoshidajp/golineup
...
Make it possible to move up one line by Ctrl+P on macOS
2018-12-17 12:08:04 +02:00
Arik Fraimovich
ef66da7d94
V6 release ( #3195 )
...
* V6 release
* Remove "-beta"
* Update package.json
* Update package-lock.json
* Update CHANGELOG.md
2018-12-16 16:01:20 +02:00
Omer Lachish
1b4e0f5de7
rename safely_apply_parameters to apply_parameters
2018-12-16 10:58:20 +02:00
Omer Lachish
479247b60c
Merge branch 'master' into backend-parameter-templating
2018-12-16 10:22:29 +02:00
Arik Fraimovich
57c8fbe14e
README updates
...
1. Remove link to Slack channel.
2. Update number of data sources.
2018-12-16 09:55:34 +02:00
Arik Fraimovich
938a20e7c0
Use multiple issue templates instead of a single one ( #3194 )
...
* Switch to issue templates
* Apply a label to non bugs
2018-12-16 09:42:32 +02:00
Katsuhiko YOSHIDA
dc842e9201
Fix can't open new parameter dialog by Ctrl+P on Windows and Linux
2018-12-14 18:58:33 +09:00
Arik Fraimovich
f5dbdf245a
Safely create_app in Celery code (try to fetch current_app first). ( #3187 )
...
Closes #3181 .
2018-12-13 15:10:31 +02:00
Omer Lachish
35357afb90
transform legacy session identifiers into new session identifiers
2018-12-13 13:02:11 +02:00
Omer Lachish
419877b364
explain the motivation behind support for legacy session identifiers
2018-12-13 13:02:03 +02:00
Omer Lachish
143d515bfc
use login_user instead of manually updating user_id in the session
2018-12-13 12:30:21 +02:00
Gabriel Dutra
8481dacff4
Fix eslint issues on user.js ( #3186 )
2018-12-12 23:32:12 +02:00
Omer Lachish
94905a287a
tests for legacy session user identifiers
2018-12-12 13:03:50 +02:00
Katsuhiko YOSHIDA
34af780264
Golineup only macOS
2018-12-12 19:00:13 +09:00
Omer Lachish
3c8a3caa1d
backward compatibility so users who have the old session identifier don't get logged out
2018-12-12 10:10:13 +02:00
Omer Lachish
9d566ef302
Merge branch 'master' into invalidate-sessions-after-email-or-password-change
2018-12-12 09:49:11 +02:00
Omer Lachish
e23a07af03
Remove missing coverage from pytest terminal output ( #3180 )
...
* Remove missing coverage from pytest terminal output
* move coverage reporting to CI
2018-12-12 08:30:46 +02:00
Omer Lachish
2312db46f2
test that other sessions are invalidated when changing an e-mail. I had
...
to resort to comments in code in order to explain this. I'm a failure
today. 😭
2018-12-11 15:14:43 +02:00
Arik Fraimovich
52434a837f
Make refresh_queries less noisey in logs ( #3183 )
2018-12-11 15:03:29 +02:00
Arik Fraimovich
230ad33f02
[Redshift] Fix: support for schema names with dots. ( #3182 )
2018-12-11 14:57:42 +02:00
Omer Lachish
b3495b8c00
test that user does not get logged out when changing email or password
2018-12-11 12:25:51 +02:00
Omer Lachish
dec790a9f3
Merge branch 'master' into invalidate-sessions-after-email-or-password-change
2018-12-11 10:41:27 +02:00
Gabriel Dutra
cfe12c5a5d
Add DB Seed to Cypress and setup Percy ( #3155 )
...
* Update Cypress element selectors
* Add seed data function to Cypress
* Change Cypress setup to be part of db-seed
* Add DatabaseSource selector to Create Data Source spec
* Add getElement command to Cypress
* Fix eslint issues
* Change Cypress getElement to getByTestId
* Add Percy and test it with the CI
* Change Percy dependency for CI to Cypress' Dockerfile
* Change Percy's execution to the docker container
- add --no-save to avoid errors on Dockerfile.cypress
- pass PERCY_TOKEN from the CI to docker container
* Fix missed char on CircleCI config file
* Move Percy execution back to host on the CI
* Test adding PERCY_TOKEN to frontend-e2e-tests on CI config
* Undo add PERCY_TOKEN to config.yml
* Add Percy token and .git folder to Cypress
* Remove Percy install from config.yml
* Ignore .git folder again and use Percy env vars instead
* Update PERCY_PULL_REQUEST to be CIRCLE_PR_NUMBER
* Update cypress-server.js to handle other cypress commands
- cypress-server.js -> cypress.js
- new commands added to cypress.js
- CircleCI config updated accordingly
- added a Homepage screenshot
* Remove trailing spaces
* Add Create Query spec
* Disable Cypress videos
* Update run browser to Chrome
* Add missing --browser chrome
2018-12-10 22:29:36 +02:00
Omer Lachish
944bee6101
update identity only after succesfully updating user information
2018-12-10 14:25:04 +02:00
Omer Lachish
38ed046c9f
Fix disable error message ( #3175 )
...
* display correct error message when attempting to disable yourself
* 403 (Forbidden) feels like a better status code than 400 (Bad Request)
* fix broken test
* remove redundant error title
2018-12-10 14:02:50 +02:00
Takuya Arita
1acf063755
FIX: Reject empty query name ( #3171 )
2018-12-10 12:35:25 +02:00
Omer Lachish
c426c826f7
fix tests that rely on sessions
2018-12-10 12:27:39 +02:00
Omer Lachish
4b1275ae56
don't sign out the current session when changing email or password
2018-12-09 11:07:42 +02:00
Katsuhiko YOSHIDA
b3c3134a86
Make it possible to move up one line by Ctrl+P
2018-12-09 15:26:01 +09:00
Omer Lachish
c311c12bcf
invalidate session when email or password changes - currently not
...
backwards compatible
2018-12-05 23:49:55 +02:00
Omer Lachish
76321937d7
Remove API permissions for users who have been disabled ( #3162 )
2018-12-05 12:21:18 +02:00
Arik Fraimovich
c9ca2b99f6
Fix: Alert.evaluate failing when the column is missing. ( #3167 )
2018-12-05 11:28:05 +02:00
Arik Fraimovich
d42f0b2d40
Directly using record_event task requires timestamp ( #3166 )
...
Using the helper instead.
2018-12-05 10:11:08 +02:00
Vladislav Denisov
e530c23d4c
clickhouse: fixed int() conversion error ( #3161 )
2018-12-05 09:29:47 +02:00
Omer Lachish
0973ee8abb
Include correct version in production builds ( #3163 )
...
* take the first 8 characters for frontend version, not backend version
* run `npm run build` after version has been updated in CI
* `pack` should run last
2018-12-04 22:14:32 +02:00
Arik Fraimovich
3ee7537a6c
WIP: Update CHANGELOG ( #3159 )
2018-12-03 22:07:20 +02:00
Omer Lachish
d769afab6f
Merge branch 'master' into backend-parameter-templating
2018-12-03 13:22:44 +02:00
Omer Lachish
cf86509a0b
remove leftovers of SQLQuery from utils
2018-12-03 13:17:40 +02:00
Omer Lachish
54894c3a26
track sql injections using an event to detect false positives
2018-12-03 13:12:34 +02:00
Arik Fraimovich
9c12b04578
json_dumps: add support for serializing buffer objects. ( #3156 )
2018-12-03 10:57:36 +02:00
Omer Lachish
1519849219
use SQLQuery's text property instead of method
2018-12-03 10:03:45 +02:00
Omer Lachish
202b93d8be
use SQLQuery in run_query
2018-12-03 09:53:17 +02:00
Omer Lachish
0a62bee3a1
Merge branch 'master' into backend-parameter-templating
2018-12-03 09:44:52 +02:00
Omer Lachish
9579f12a83
Protect against SQL injections by using tree comparisons ( #3109 )
...
* add SQLQuery class with tests for safe queries and non-safe tautology attacks
* add test for union query injections
* split .apply calls to newline
* add tests for comment attacks
* remove double underscore
* extract complex children check to variable
* inherit from object because I'm not a lamer
Co-Authored-By: rauchy <omer@rauchy.net >
* simplify cognitive complexity
* check that additional columns are not injected
* detect appended queries
* inline .apply calls
* move SQLQuery to it's own module
* move SQLQuery tests to their own module
* serialize SQLQuery instances
* raise an exception when attempting to serialize an unsafe query
* queries without parameters are safe
* remove redundant parentheses
* use cached properties
* rename SQLInjectionException to SQLInjectionError
* support multiple word params and param negations
* refactor out methods that don't involve any state
* don't cache text()
* reduce cognitive complexity
2018-12-02 21:51:06 +02:00
Zsolt Kocsmárszky
463d4ce518
Fix label positioning on no found screen ( #3148 )
...
* Fix label positioning on no found screen
* Use TagsControl component on not found screen
2018-12-02 10:42:30 +02:00
Zsolt Kocsmárszky
2e4d196452
Add and improve recent db logos that didn't fit in size properly ( #3147 )
...
* Add and improve recent db logos that didn't fit in size properly
* Update mongodb logo
* Remove Athena Direct as requested
2018-12-02 10:27:01 +02:00
Zsolt Kocsmárszky
4078af2996
Update, replace and fix new alert destination logos so it fits better ( #3146 )
2018-11-29 21:04:35 +02:00
Zsolt Kocsmárszky
73825ea266
Improve tag link colors and fix group tags on Users page ( #3149 )
2018-11-29 21:02:54 +02:00
Zsolt Kocsmárszky
b2a0d61844
Better manage permissions modal ( #3139 )
...
* Improved design for manage permissions
* Show Owner on Permission modal, remove owner from dropdown options
* Pass owner to Permissions modal
2018-11-29 15:40:44 +02:00
Omer Lachish
1774edabc0
take the first 8 characters for frontend version, not backend version ( #3145 )
2018-11-29 15:20:30 +02:00
Omer Lachish
54b8e7c136
Merge pull request #3144 from getredash/display-frontend-version
...
Display only the first 8 characters of frontend version
2018-11-29 15:17:14 +02:00
Omer Lachish
54f09f73db
take the first 8 characters for frontend version
2018-11-29 15:03:37 +02:00
Omer Lachish
35aca1d4cf
Merge branch 'master' into display-frontend-version
2018-11-29 15:03:11 +02:00
Levko Kravets
757333c2d6
When editing a dashboard title results in the visualizations being replaced by the loading markers ( #3142 )
...
* getredash/redash#3015 When editing a dashboard title results in the visualizations being replaced by the loading markers
* CR1
Co-Authored-By: kravets-levko <levko.ne@gmail.com >
2018-11-29 14:48:21 +02:00
Omer Lachish
92728de04c
Display frontend version ( #3105 )
...
* add git-revision-webpack-plugin
* configure git-revision-webpack-plugin
* add commit to footer
* rename version and commit to backendVersion and frontendVersion
* rename version and commit to backendVersion and frontendVersion
* disable lint error due to use of globals
* fix snapshot test
* read frontend version from VERSION file instead latest git revision
* directly require from version.json file instead of going through WebPack's DefinePlugin
* run snapshots
2018-11-29 14:24:23 +02:00
Omer Lachish
407f14ffca
run snapshots
2018-11-29 13:07:04 +02:00
Arik Fraimovich
ecb8a5c244
Hive/Databricks related improvements ( #3143 )
...
* Hive: fix issues in building options.
* Hive: add missing import.
* Split Hive into two query runners: one for http and a regular one.
* Upgrade pyhive to support http.
* Specific implementation for databricks:
* Different schema loader, because column names are different (or Hive's schema loader is broken).
* Simpler configuration.
* Simplify Databricks setup even more by removing username.
2018-11-29 13:01:23 +02:00
Omer Lachish
0e8fab4872
directly require from version.json file instead of going through WebPack's DefinePlugin
2018-11-29 13:00:13 +02:00
Omer Lachish
c15fa0c592
read frontend version from VERSION file instead latest git revision
2018-11-29 11:57:53 +02:00
Levko Kravets
09ab00e360
Migrate all tags components to React ( #3138 )
2018-11-29 11:35:17 +02:00
Truong Hoang Phuoc, Robert
1728f924cf
Fix schema refresh to work on MySQL 8 ( #3141 )
2018-11-29 09:19:36 +02:00
Omer Lachish
8dc10fbd9a
Merge branch 'master' into display-frontend-version
2018-11-29 09:13:41 +02:00
Jannis Leidel
a16170e701
Fix tag counts for dashboards and queries. ( #3120 )
...
* Fix tag counts for dashboards to be distinct.
This also makes use of the Dashboard.all base query.
Fix #3108 .
* Use Query.all_queries as the base query for Query.all_tags.
* Add test case for Dashboard.all_tags.
2018-11-28 14:06:15 +02:00
Arik Fraimovich
07c0bba568
Delete now.json ( #3134 )
2018-11-28 10:36:33 +02:00
Arik Fraimovich
d36d18f85b
Support unicode in Postgres/Redshift schema ( #3124 )
2018-11-27 09:06:44 +02:00
Arik Fraimovich
bd20ce12ac
Don't allow updating user's email to blacklisted domain. ( #3127 )
2018-11-26 21:22:14 +02:00
Arik Fraimovich
1cdfcfaa3c
Vertica: update driver & add support for connection timeout ( #3125 )
...
* Update Vertica driver version
* Vertica: add support for connection timeout
2018-11-26 21:21:49 +02:00
Arik Fraimovich
2fdace518a
Use lower timeout for the first 5 seconds when polling for results. ( #3128 )
2018-11-26 21:21:07 +02:00
Igor Canadi
3516e4ef45
Add Rockset query runner ( #3068 )
...
* Add Rockset query runner
Per REST API documented here: https://docs.rockset.com/rest/
* Update rockset.py
* Add Rockset logo
* Refactor Rockset qury runner:
* More idomatic names for configuration.
* Move API code to separate class to make it easier removing it when we
switch to official library.
* Make Test Connection work.
* apply autopep8 to rockset.py
2018-11-26 21:20:37 +02:00
Arik Fraimovich
d842968142
MongoDB: add support for sorting columns. ( #3126 )
2018-11-26 16:08:04 +02:00
Arik Fraimovich
600741620a
Remove (Beta) from Query Results query runner name ( #3123 )
2018-11-26 15:31:39 +02:00
YOSHIDA Katsuhiko
45f4277eb4
Fix forked query is opened in the same tab ( #3121 )
2018-11-26 14:23:55 +02:00
Jannis Leidel
bcf3041c91
Show menu divider only if query is archived. ( #3122 )
...
Fix #3117 .
2018-11-26 14:02:52 +02:00
Zsolt Kocsmárszky
da423340ec
Fix mobile padding issues on Query results ( #3111 )
2018-11-26 13:41:07 +02:00
Arik Fraimovich
4003d4f1aa
Add event tracking to autocomplete toggle & trackEvent helper function ( #3114 )
...
* Add non Angular version of Events.
* Add event tracking for autocomplete toggle
* Fix lint error in QueryEditor
2018-11-26 09:58:39 +02:00
YOSHIDA Katsuhiko
a6b782e0ce
Add get_current_user() into Python Data Source ( #3088 )
2018-11-25 14:11:27 +02:00
YOSHIDA Katsuhiko
5648de9ba8
Open new tab when forking a query ( #3089 )
...
* Open new tab when forking a query
* Delete old fork menu item and add icon
2018-11-25 14:09:52 +02:00
Jannis Leidel
13eb365f7b
Update changelog for v6.0.0-beta. ( #3112 )
...
* Add v6.0.0-beta changelog entry.
* Update CHANGELOG.md
2018-11-25 14:08:25 +02:00
Udomomo
8257d9d037
Add permissions to the result of "manage.py groups list" command ( #3007 )
...
* Add permissions to the result of "groups list" command
* added permissions to test case
* removed setting for debug
2018-11-25 13:47:25 +02:00
Allen Short
babbeb79f0
keep query text in local state for now ( #3107 ) ( #3110 )
...
* keep query text in local state for now (#3107 )
This will be unnecessary once the queryText prop isn't managed by Angular.
* Fix: make formatQuery work
2018-11-23 15:28:30 +02:00
Omer Lachish
8028397f27
Merge branch 'master' into display-frontend-version
2018-11-22 12:52:43 +02:00
Subhi Al Hasan
e05c8e6060
Fix collection fields retreival bug when Views are present in MONGO DB ( #3097 )
...
* Fix collection fields retreival bug when Views are present in MongoDB
* fixing _is_collection_a_view function
* Update redash/query_runner/mongodb.py
Co-Authored-By: jodevsa <jodevsa@gmail.com >
2018-11-21 17:13:12 +02:00
Omer Lachish
ef8839aafa
add tests for comment attacks
2018-11-21 13:52:08 +02:00
Omer Lachish
14860f6a8b
split .apply calls to newline
2018-11-21 13:51:19 +02:00
Omer Lachish
a52c783857
add test for union query injections
2018-11-21 13:45:52 +02:00
Omer Lachish
5e7c785891
add SQLQuery class with tests for safe queries and non-safe tautology attacks
2018-11-21 13:45:29 +02:00
Omer Lachish
b242cefaa0
Merge branch 'master' into backend-parameter-templating
2018-11-21 10:51:44 +02:00
Omer Lachish
fae2b70866
Merge branch 'display-frontend-version' of github.com:getredash/redash into display-frontend-version
2018-11-21 10:49:29 +02:00
Omer Lachish
1119fce44c
Merge branch 'master' into display-frontend-version
2018-11-21 10:48:03 +02:00
Omer Lachish
bfb7edc0eb
fix snapshot test
2018-11-21 10:47:54 +02:00
Omer Lachish
a39a739473
disable lint error due to use of globals
2018-11-21 10:44:34 +02:00
Omer Lachish
c9dfac5b1d
rename version and commit to backendVersion and frontendVersion
2018-11-21 10:44:18 +02:00
Omer Lachish
1b66fff3be
rename version and commit to backendVersion and frontendVersion
2018-11-20 23:34:39 +02:00
Arik Fraimovich
0fe1b5f9d4
Fix: registerAll fails after minification ( #3106 )
2018-11-20 23:34:37 +02:00
Levko Kravets
143db90a50
Fix query page header ( #3046 )
...
* getredash/redash#3017 Improve query page header
* getredash/redash#3017 Resolve conflicts
* getredash/redash#3017 CR1 (fix margins/paddings)
2018-11-20 18:48:41 +02:00
Arik Fraimovich
bac90db3ee
Autocomplete toggle improvements ( #3091 )
...
* Autocomplete toggle improvements:
* Refactor to its own component.
* Show state in tooltip (enabled/disabled).
* Disable the toggle if autocomplete is not possible (no schema/too many tokens).
* Remove unsued code.
* Custom icons font (currently has only two icons).
Generated with Icomoon. If we extend its use, we should probably automate this and move to its own package.
* Don't disable live autocomplete for data sources without schema.
It can still be useful to autocomplete from local keywords.
* Differentiate between autocomplete toggle states with an icon.
Also added explicit message for the disabled state.
* Remember thes state of autocomplete.
* Only auto register init functions.
2018-11-20 18:45:33 +02:00
Omer Lachish
649d46de89
add commit to footer
2018-11-20 15:25:07 +02:00
Omer Lachish
0163e85eda
configure git-revision-webpack-plugin
2018-11-20 15:24:55 +02:00
Omer Lachish
f25beb3fb7
add git-revision-webpack-plugin
2018-11-20 15:24:41 +02:00
Omer Lachish
c66f63d7a5
Prevent Query's updated_at from changing when it is linked to new query results ( #3082 )
...
* avoid Query's updated_at from changing when it is linked to new query results
* move comment to previous line
* move QueryResult tests to their own module
* add test which verifies that updated_at is not changed on query data
updates
* tests were false positives - they compared HH:MM:SS, but that never
changed because the original time was 1 week behind.
* remove redundant constructor
* remove hack and use a proper event to prevent updated_at from changing
* use self.assertEqual instead of assert
2018-11-20 12:22:15 +02:00
Levko Kravets
16ae0aa3d8
getredash/redash#2901 Fix docs links ( #3102 )
2018-11-20 11:06:09 +02:00
Arik Fraimovich
68ada7b590
UI for the feature flag of the share edit permissions feature ( #3077 )
...
* Remove unused settings.
* Add: UI feature flag for sharing permissions
* Revise feature flag message
2018-11-20 10:04:42 +02:00
San
9e745ef648
Delete redundant regex segment ( #3100 )
2018-11-20 09:48:24 +02:00
Allen Short
ee0d7f5ec9
force angular to update query editor properly (re #3098 ) ( #3099 )
2018-11-20 08:06:32 +02:00
Omer Lachish
1b3bbb6c3b
swap parameters so their order makes more sense
2018-11-19 22:56:51 +02:00
Omer Lachish
7bee07c9da
include parameters (and query_id) in the recorded event
2018-11-19 22:54:22 +02:00
Omer Lachish
74ab7a5a42
Merge branch 'master' into backend-parameter-templating
2018-11-19 21:59:14 +02:00
Levko Kravets
e36853ca84
Tags autocomplete: some tags not shown on search ( #3094 )
...
* getredash/redash#3052 Tags autocomplete: some tags not shown on search
* getredash/redash#3052 CR1
2018-11-19 12:33:05 +02:00
Omer Lachish
bc65b62776
remove Mustache templating from frontend and send all parameters to the
...
API (in the POST body)
2018-11-19 10:50:00 +02:00
YOSHIDA Katsuhiko
d43b35ba6f
Change Standard SQL as the default ( #3085 )
2018-11-18 11:21:00 +02:00
Topher Cyll
6e4f0ccee8
Bubble chart marker size override was clobbering seriesColor. ( #3063 )
...
Colors can now be set for bubble charts in UI.
2018-11-18 11:05:18 +02:00
Vladislav Denisov
0ce7772aa3
clickhouse: added WITH TOTALS option support ( #3083 )
2018-11-15 22:11:43 +02:00
San
f6ef38479c
support tel, sms, mailto links in the query result ( #3084 )
2018-11-15 22:08:02 +02:00
Arik Fraimovich
bf85ddaaff
Always use basic autocomplete. ( #3079 )
2018-11-15 08:58:30 +02:00
Arik Fraimovich
8bb96c8c91
Fix: URL data source shouldn't require URL. ( #3078 )
...
Closes #2919 .
2018-11-14 15:43:34 +02:00
Filipe Veloso
42b05cee00
Update docker-compose.yml ( #2905 )
...
* Update docker-compose.yml
jut updating docker-compose dev to version 3, any special reason to keep redis on 3? and pg on 9.5? I could also add a volume to pg, any reason not to do so?
* rollback to redis 3 and pg 9.5 due to consistency in project defaults
* Configure volume directly in worker service.
2018-11-14 14:27:19 +02:00
Anton Burnashev
d0fd02123a
Add white-space padding to separators in the footer ( #3076 ) ( #3076 )
...
Closes #3075
2018-11-14 10:44:38 +02:00
Takuya Arita
e34203dac3
Remove only Redash containers ( #3073 )
2018-11-13 16:45:40 +02:00
koooge
c2bd8518a6
Makefile: Add make targets for test ( #3032 )
2018-11-12 09:06:25 +01:00
Levko Kravets
46363ccc70
Table visualization horizontal scrollbar should not be always visible ( #3061 )
2018-11-12 07:50:44 +01:00
Levko Kravets
5e1512e777
Mustache: don't html-escape query parameters values ( #3058 )
2018-11-08 21:54:08 +01:00
Arik Fraimovich
188c045fdb
Add Kylin logo ( #3054 )
2018-11-08 11:20:05 +01:00
Omer Lachish
57d921dc2b
Druid query runner ( #3047 )
...
* add Druid query runner skeleton
* enable Druid only if package is available
* add Druid
* remove redundant override
* correct configuration schema
* implements run_query
* implement get_schema
* remove username and password
* fix small lint issues
* proper indentation
* add correct type mapping
2018-11-08 10:48:45 +01:00
Xin Bai
df0804c8fd
Add Kylin plugin for SQL query ( #2936 )
2018-11-08 10:24:05 +01:00
Alexander Leibzon
c289dde806
Google analytics fix fixes #2965 ( #3008 )
...
* add PagerDuty as an Alert Destination
* remove comments
* add unknown state handling
* fixes
* revert setup.sh
* Remove test method.
* resolves #2965
* more elegant, as per Arik's suggestion
* Add missing whitespace.
2018-11-08 10:18:33 +01:00
Levko Kravets
b7cadca3b7
Edit-in-place component ignored isEditable flag and didn't work on Groups page ( #3049 )
2018-11-08 10:17:18 +01:00
Sami Jaktholm
43f8200707
feat(redshift): hide tables the configured user cannot access ( #2866 )
...
The SVV_COLUMNS table used to determine the tables of a
Redshift database includes all tables, even those the
current user cannot access, by default. These tables clutter
the schema browser and make it harder for users to determine
which tables they should have access to.
These changes modify the Redshift query runner so that
tables the configured user cannot access are filtered
out from the database schema. The checks are two-fold:
* First, the query uses HAS_SCHEMA_PRIVILEGE to check if the
current user has USAGE rights on a schema the given table
belongs to. This privilege is required to access any of
the tables in a schema.
* Second, the query tries to determine if the current user
has SELECT access to the given table. Two cases need to
be considered here:
* First, we need to check if the table is part of an
external schema. Access to tables in external schema
is controlled at schema level - you cannot grant or
revoke access to specific external tables. Additionally,
the HAS_TABLE_PRIVILEGE returns an error if it is asked
to give a verdict for an external table.
Hence, the query checks if the schema a specific table
belongs to is an external schema and if it is, the table
is included in the list (if we got here the user already
had USAGE on the given schema). This check short-circuits
the table-level access check for external tables which
means they are never passed to HAS_TABLE_PRIVILEGE().
* Then, if the table was not part of an external schema,
the HAS_TABLE_PRIVILEGE() function is used to determine
if the user has SELECT access to the given table. The
table is included in the schema if this check passes.
Together this condition ensures that tables the user definitely
cannot access are not included in the schema browser.
These changes have been tested to work in an environment that
includes normal and external schemas, normal and late-binding
views, and normal and external tables.
2018-11-08 09:53:04 +01:00
Arik Fraimovich
a1b580bba6
Fix Docker Compose version number in Cypress config ( #3051 )
...
* Update Docker compose version
* Experiment with Docker-Composeless CI build
* Switch back to Docker compose based tests
2018-11-07 17:21:31 +01:00
Zsolt Kocsmárszky
19d0313ea2
Fixing tag issues ( #3006 )
...
* Add title="" for tags
* Fix lines
* Fix long tag and overlaying tag issues on queries
2018-11-07 16:58:15 +01:00
Arik Fraimovich
667fe43e23
Revert "address tag display on query list page" ( #3050 )
...
* Revert "remove pytest_watch (#3048 )"
This reverts commit 096eba3876 .
* Revert "address tag display on query list page (#2803 )"
This reverts commit 99115a12e6 .
2018-11-07 16:57:37 +01:00
Omer Lachish
096eba3876
remove pytest_watch ( #3048 )
2018-11-07 16:49:41 +01:00
Alison
99115a12e6
address tag display on query list page ( #2803 )
...
* address tag display on query list page
* character limit tags in css
* updates to tags on levko's feedback
2018-11-07 16:12:31 +01:00
Gabriel Dutra
7d601cbbc9
Cypress based E2E tests ( #3019 )
2018-11-07 14:37:08 +01:00
GitSumito
bf6a09c5aa
CLI sort ( #3041 )
2018-11-06 16:45:39 +01:00
Yossi-a
99967e720f
Sort columns with undefined values ( #2745 )
...
* sort should treat undefine value as the minimal value
* explicit undefined check
2018-11-05 04:47:42 +02:00
Arik Fraimovich
27f489de20
Build docker image on master branch. ( #3039 )
2018-11-04 12:12:13 +02:00
yoavbls
46941d3aa1
Update Flask-Admin to 1.5.2 ( #3036 )
...
I don't know if someone uses flask-admin but I upgraded it because of this bug:
https://github.com/flask-admin/flask-admin/issues/1588
In 1.4.2 you cant add and edit records/
2018-11-01 15:58:50 +02:00
Levko Kravets
60c230add7
getredash/redash#3034 Postgres query runner: handle NaN/Infinity values ( #3035 )
2018-11-01 15:57:39 +02:00
Takuya Arita
0784a0c6f5
Add some tests for Query Results ( #3031 )
2018-10-31 11:05:17 +02:00
Zsolt Kocsmárszky
9288d89248
Fix query result section ( #2980 )
2018-10-29 22:09:49 +02:00
Levko Kravets
391fbe130b
getredash/redash#2998 Charts lose responsive features after refreshing the dashboard ( #3024 )
2018-10-29 22:08:35 +02:00
Levko Kravets
e25c8c4145
getredash/redash#3022 Toolbox covers part of the chart ( #3023 )
2018-10-29 11:38:29 +02:00
Arik Fraimovich
57353d1b40
Add -beta to version
2018-10-28 15:58:20 +02:00
Arik Fraimovich
7f4e08154f
Bump version
2018-10-28 15:56:32 +02:00
Arik Fraimovich
500c82815b
Add netlify config ( #2999 )
2018-10-28 15:31:27 +02:00
Arik Fraimovich
4a846f04e9
Add settings to import
2018-10-28 11:11:11 +02:00
Takuya Arita
b1e9d87e2a
Apply query format options from settings ( #2342 )
...
* Apply query format options from settings
* Apply sqlparse format options via env-vars
2018-10-28 10:40:07 +02:00
Arik Fraimovich
ab6ed7da34
Fix: setup.sh fails when run as root. ( #2996 )
...
Closes #2979
2018-10-23 09:49:24 +03:00
GitSumito
2e6883c527
Add "Users" users are belong to into groups list ( #2991 )
2018-10-21 11:40:07 +03:00
YOSHIDA Katsuhiko
4c44999b2c
Fix an invalid prop type warning ( #2992 )
2018-10-21 11:39:37 +03:00
deecay
34c118cf83
Add: Heatmap chart visualization by Plotly ( #2080 )
2018-10-21 11:39:06 +03:00
Arik Fraimovich
38a89b9783
Table visualization: change default size to 25 and add more size options. ( #2982 )
2018-10-21 11:38:47 +03:00
YOSHIDA Katsuhiko
6e836795b2
Fix url scheme ( #2994 )
2018-10-21 11:38:11 +03:00
YOSHIDA Katsuhiko
719fc41dd1
Add page size settings ( #2993 )
...
Add page size settings.
| name | default | description |
| :---- | :------ | :---------- |
| `REDASH_PAGE_SIZE` | 20 | How many items are displayed in one page as default. |
| `REDASH_PAGE_SIZE_OPTIONS` | 5,10,20,50,100 | How many steps as page_size. |
This feature has requested at the meetup in Japan.
https://redash-meetup.connpass.com/event/101420/
2018-10-20 14:33:31 +02:00
Arik Fraimovich
467ec201da
Add Jest based tests to our stack ( #2985 )
...
* Add Jest packages
* Add first test
* Install eslint rules for jest & move deps to dev
* Configure cirlce to run jest
* package.json: Remove dev command
* package.json: clean command
* Don't autoload test files.
* Fix: webpack-dev-server was recompiling all the files on every change
* Update CircleCI step names
2018-10-19 19:04:02 +03:00
koooge
5ab143de41
Rearrange make target ( #2989 )
2018-10-19 11:25:24 +02:00
Arik Fraimovich
284e497483
Databricks updates: logo, name and enable by default ( #2983 )
...
* Add Databricsk logo.
* Enable it by default.
* Rename to Databricks.
2018-10-19 10:00:33 +02:00
dmonego
c5613dddf1
Chnage: switch to Webpack 4 ( #2933 )
2018-10-18 21:21:47 +03:00
Arik Fraimovich
34fb3ac79f
Change: add timeout to destination requests. ( #2960 )
2018-10-18 17:33:58 +03:00
Arik Fraimovich
5f58c328f1
MongoDB: skip system collections when loading schema. ( #2961 )
2018-10-18 17:33:24 +03:00
Arik Fraimovich
7d1dbb87db
Change: update MongoDB requirements to support srv. ( #2962 )
2018-10-18 17:32:43 +03:00
GitSumito
45f4d46245
Add "Groups" users are belong to into users list ( #2967 )
2018-10-18 17:32:21 +03:00
Arik Fraimovich
44d05c35ac
Presto query runner improvements ( #2968 )
...
* Presto: support for setting protocol (http/https).
* Presto: safe loading error message.
2018-10-18 17:31:48 +03:00
Arik Fraimovich
edd2cb85f7
Update CHANGELOG.md
2018-10-18 14:59:00 +03:00
Hiroka Zaitsu
6c364369bb
Fix: TreasureData data source - deduplicate column names ( #2867 )
...
* Fix: TreasureData data source - deduplicate column names
* Maping types
2018-10-18 09:43:28 +03:00
YOSHIDA Katsuhiko
869841b2ac
Preventing open redirection ( #2906 )
...
* Prevent open redirection attack
* Add redirection url after logging in test
* Sanitize url just before redirecting it
* Consider when next parameter is None
2018-10-17 21:55:58 +03:00
Arik Fraimovich
c71f722552
Query Results query runner improvements: ( #2969 )
...
- Show meaningful error when failing to create table.
- Quote column names to allow more characters types.
2018-10-16 15:23:00 +03:00
Jannis Leidel
af3a1e00c6
Fix #2757 - Use full text search ranking when searching in list views. ( #2798 )
...
This applies to the queries, dashboard and users views.
2018-10-16 10:38:37 +02:00
Gabriel Dutra
5b2ec81e65
Fix no tags shown when having empty set ( #2964 )
2018-10-15 23:08:18 +03:00
Vladislav Denisov
0008e5803b
clickhouse: move timeout to params ( #2956 )
...
* clickhouse: timeout moved to params
* clickhouse: use get() method for timeout
2018-10-15 20:06:16 +03:00
Arik Fraimovich
e1c1f67abb
Add: option to auto reload widget data in shared dashboards. ( #2959 )
2018-10-15 20:05:40 +03:00
Marina Samuel
30283235a4
Fix tarball build failure. ( #2963 )
2018-10-15 20:05:07 +03:00
Levko Kravets
845e33b396
Query page layout improvements for small screens ( #2922 )
...
* getredash/redash#2796 Make entire page scrollable on small screens; improve metadata block
* getredash/redash#2796 Improve query page header layout; fix small bugs (margins, etc.)
2018-10-15 19:59:05 +03:00
Arik Fraimovich
17baa66188
Show "Add description" only after saving the query. ( #2958 )
...
Closes #2897
2018-10-15 17:45:22 +03:00
Arik Fraimovich
5df7bd12c9
Fix: apply missing CSS classes to EditInPlace component. ( #2957 )
2018-10-15 17:38:22 +03:00
Nicolas Ferrandini
e14c8b61a0
Add DB2 as a data source using ibm-db python package ( #2848 )
...
* Add DB2 as a data source using ibm-db python package
* fix some codeclimate issue
* fix long line and missing white space
* Manage case of bad import
* Add DB2 query_runner as default query runner
* Fixed minor PEP8 rules
2018-10-15 17:13:39 +03:00
Arik Fraimovich
a8a3ec66fd
Bring back fix to Box plot hover. ( #2941 )
2018-10-15 16:01:38 +03:00
GitSumito
a4b9c2da12
fixed https://github.com/getredash/redash/issues/2950 ( #2951 )
...
* fixed https://github.com/getredash/redash/issues/2950
* fixed test code
* Effective -> Active. thank you @kravets-levko
2018-10-15 15:57:51 +03:00
Vladislav Denisov
e6146dae0f
Clickhouse fixes ( #2953 )
...
* clickhouse: avoid last line with comment in query
* clickhouse: add request timeout
2018-10-15 15:03:02 +03:00
Levko Kravets
bd3fe880a4
Add missing default "extensions" directory (webpack fails to build without it) ( #2952 )
2018-10-15 13:51:13 +02:00
Marina Samuel
02e919c39b
Closes #2565 : Add frontend extension capability. ( #2799 )
2018-10-14 15:53:39 +03:00
Arik Fraimovich
99c73aef2d
Update snowflake_connector_python version ( #2946 )
2018-10-14 14:39:52 +03:00
Ralphilius
be377b5f59
Add Counter label ( #2900 )
...
* Add Counter label
* Update index.js
* Added visualization name as placeholder
* Backward-compatible for visualization name as label
2018-10-14 11:23:20 +03:00
Zsolt Kocsmárszky
6b11ae4312
Design refinements ( #2927 )
...
* Fix search size on smaller tablet size
* Less prominent tag counter
* Fix hiding logo
* Add missing space between icon and button text
* Different embed icon
* Revert embed icon to its original
* Better edit source icon + markup cleanup
2018-10-14 11:00:27 +03:00
YOSHIDA Katsuhiko
9021977a54
Fix admin api recording ( #2937 )
2018-10-14 10:49:11 +03:00
Sami Jaktholm
9c8d06578a
feat: add support for expanding dashboard visualizations ( #2824 )
...
* feat: add support for expanding dashboard visualizations
These changes implement support for expanding a dashboard visualization
into a larger modal dialog.
This is useful if you have a dashboard with lots of small widgets and
want to inspect one of the widgets more closely. In the past, this
would've required you to navigate to the query page to see a larger
version of the visualization. With these changes, visualizations can
be expanded right from the dashboard.
The implementation is simple as it just renders the visualization into
a modal dialog. Other parts of the widget (e.g. parameters) are not
included in this dialog.
* chore(widget-dialog): use query-link widget to render title
This reduces code duplication a bit. The link is made read-only
as navigation doesn't close the modal dialog.
* fix: make ui-select dropdown z-index > modal dialog z-index in dashboard page
Otherwise the dropdown renders behind the modal dialog if filter value
is changed from the modal view of a widget.
2018-10-14 10:42:31 +03:00
YOSHIDA Katsuhiko
114beb2480
Auto focus tag input ( #2938 )
2018-10-14 10:39:08 +03:00
Alexander Leibzon
e97a5cbb29
add PagerDuty as an Alert Destination ( #2903 )
2018-10-14 10:35:39 +03:00
Alexander Leibzon
e87efc8bc3
fixes #2924 ( #2931 )
...
Google Spreadsheets: support for open by url
2018-10-11 21:07:20 +03:00
Arik Fraimovich
be7f601d21
Speed up builds by skipping installing requirements_all_ds.txt in CI unit tests ( #2928 )
...
* Speed up builds by skipping requirements_all_ds.txt
* Update docker compose file version
* Start services before running commands
* Add boto and Athena dependencies to requirements_dev.txt
2018-10-11 14:12:28 +03:00
Levko Kravets
9b59d10677
Use Plotly's function to clean y-values (x may be category or date/time) ( #2872 )
2018-10-11 12:27:28 +03:00
Levko Kravets
a40669e07f
getredash/redash#2875 Update plotly.js; some cleanup; fix chart legend issue in horizontal mode ( #2902 )
2018-10-11 11:23:40 +03:00
Levko Kravets
0bcf5d4be7
Merge pull request #2929 from combineads/fix-date-filter
...
Fix: date value in a filter is duplicated.
2018-10-11 09:08:31 +03:00
combineads
8bc96764a6
Fix: date value in a filter is duplicated.
2018-10-11 14:56:57 +09:00
Niko Eckerskorn
6ea03e58b4
Address edgecase when retrieving Glue schemas for Athena query runner. ( #2868 )
...
Fixes getredash/redash#2858
2018-10-10 19:13:48 +03:00
Gabriel Dutra
94801665ab
Fix output file name not changing after rename query ( #2917 )
2018-10-10 15:07:11 +03:00
Gabriel Dutra
aa12151e19
Fix export query results output file name ( #2916 )
...
- regexp `/ /g` will seek for all space ocurrences, not only the first
2018-10-10 14:56:31 +03:00
Jannis Leidel
c2429e92d2
Consistently use simplejson to loading and dumping JSON. ( #2817 )
...
* Consistently use simplejson to loading and dumping JSON.
This introduces the new functions redash.utils.json_dumps and redash.utils.json_loads and simplifies the custom encoder setup.
UUIDs are now handled by the default encoder, too.
Fixes #2807 .
Use string comparison in parse_boolean instead of the (simple)json module.
2018-10-09 15:38:06 +02:00
Jannis Leidel
5ffc85c066
Extend menu item text a bit for visual consistency.
2018-10-08 20:08:07 +02:00
Jannis Leidel
fad757c878
Don’t show “Add to dashboard” in dropdown to unsaved queries.
2018-10-08 20:08:07 +02:00
Jannis Leidel
3351a281ee
Fix webpack build error about BigMessage. ( #2910 )
2018-10-08 12:03:54 +02:00
Arik Fraimovich
1f0053f531
MySQL: hide sys tables ( #2909 )
2018-10-08 10:05:16 +03:00
Arik Fraimovich
935dc38360
Update setup files: ( #2908 )
...
* Remove use of newgrp
* Updated packer configuration
2018-10-08 09:41:15 +03:00
Arik Fraimovich
bfef7fae93
Remove unused dependencies. ( #2907 )
...
Closes #2782
2018-10-08 09:39:57 +03:00
cclauss
da6d456f6f
CircleCI: Flake8 tests passing on Legacy Python and Python 3 ( #2881 )
2018-10-05 13:48:01 +03:00
Arik Fraimovich
c19199c2fb
Add margin between format and autocomplete buttons ( #2899 )
2018-10-04 12:34:03 +03:00
Arik Fraimovich
1e78861f85
Move Ant styles into a central location. ( #2898 )
...
This is to ensure that we include our override after loading Ant's styles.
2018-10-04 12:27:36 +03:00
Arik Fraimovich
10bc5a0bf6
Remove misplaced bracket. ( #2894 )
2018-10-04 12:01:38 +03:00
Marina Samuel
313af904df
Add ability for extensions to add periodic tasks. ( #2740 )
2018-10-04 09:07:58 +03:00
Allen Short
8c478087a9
Rewrite query editor to React ( #2636 )
2018-10-03 22:25:19 +03:00
Arik Fraimovich
ccac41c6d4
Fix: JS build breaks because registerAll tries to run EditInPlace component ( #2886 )
2018-10-02 16:22:47 +03:00
Jannis Leidel
69635f2c40
Rename Yandex Metrika to Metrica. ( #2884 )
...
Fix #2874 .
2018-10-02 16:11:01 +03:00
yoavbls
1867ea50bb
Add option to query cached results ( #2855 )
2018-10-02 16:05:41 +03:00
Jannis Leidel
c64d5ef6c0
Fix #2876 - Remove accidental query-result-link component from 'Add to dashboard link.' ( #2883 )
2018-10-01 22:29:20 +03:00
Alison
e3a63899d3
Add ability to search table column names in schema browser ( #2681 )
2018-10-01 11:11:32 +02:00
Jannis Leidel
4685887fe5
Fix name of edit-in-place React component.
2018-09-29 10:14:48 +02:00
Arik Fraimovich
f103357e60
Fix: wrong reference (EditInPlaceText -> EditInPlace)
2018-09-28 21:51:36 +02:00
Jannis Leidel
11738f73ac
Removed redundant exception handling since execute_query task handles that.
2018-09-28 21:31:49 +02:00
Allen Short
d07c4f969b
Support authentication for the URL query runner.
...
Adds a new BaseHTTPQueryRunner class and tests.
2018-09-28 21:31:49 +02:00
Allen Short
505aafbce3
Convert edit-in-place component to React ( #2637 )
2018-09-28 22:30:10 +03:00
Marina Samuel
b765693879
Upgrade Celery to 4.2.1. ( #2773 )
2018-09-28 21:28:30 +02:00
Jannis Leidel
4620fed0cf
Use server side sort order for tag list and show count of tagged items. ( #2833 )
...
* Use tag list ordering from backend.
This basically stops resorting the tag list on the client side and use the already existing (and correct) descending sort order bu tag usage count from the backend.
* Show count of tagged items in tag list.
2018-09-28 17:24:13 +03:00
Arik Fraimovich
48ad1d2dce
Add v5.0.1 to the CHANGELOG.
2018-09-28 17:18:41 +03:00
Arik Fraimovich
f2c323a089
Disable integration tests
...
The integration tests are currently not failing and providing false positives when running them. I'm disabling this until the test suite is more stable.
@jrbenny35 @jezdez
2018-09-28 11:52:14 +03:00
Levko Kravets
ec17cc7eab
getredash/redash#2854 Widget titles wrong rendering on public dashboards ( #2870 )
2018-09-28 11:26:37 +03:00
Arik Fraimovich
6c7bbe9041
Merge branch 'master' of github.com:getredash/redash
2018-09-27 21:47:56 +03:00
Arik Fraimovich
551b0222c4
Cleanup packer configuration
2018-09-27 21:47:45 +03:00
Jannis Leidel
2b0e6e9e79
Refactor list based controllers. ( #2790 )
...
This reduces the code duplication between the dashboard, user and queries list pages and normalizes many of the APIs between them.
This also:
- allows sorting query favorites
- adds a pagination size select to the dashboard list
- fixes a bunch of UI inconsistencies between the queries and dashboards list (e.g. margins)
The new ListCtrl class is subclassed in the various specific page controllers and extended as needed. New list pages can make use of the same pattern in the future.
This also adds some missing event recordings from 34e39eda4a .
2018-09-27 17:06:26 +02:00
Levko Kravets
4727c19253
getredash/redash#2796 Improve counter text scaling ( #2840 )
2018-09-27 13:27:10 +03:00
Arik Fraimovich
2ff4d07e83
Change placement (right/bottom) of chart legend depending on chart width ( #2852 )
...
Closes getredash/redash#2796 .
2018-09-27 12:34:28 +03:00
Arik Fraimovich
1997f53f40
Fix CircleCI setup for release branches. ( #2859 )
2018-09-27 10:36:48 +03:00
Jannis Leidel
c03b5d51b7
Simplified data source resource. Refs #2856 .
2018-09-27 09:20:07 +02:00
yoavbls
197665bb6a
Fix bug in DataSourceResource load ( #2857 )
2018-09-27 09:15:36 +02:00
Levko Kravets
28fbc2ae62
getredash/redash#2796 Change placement (right/bottom) of chart legend depending on chart width
2018-09-27 10:14:58 +03:00
Alexey Korobkov
ea1c4ca85c
Add auth via JWT providers ( #2768 )
...
* authentication via JWT providers
* add support for IAP JWT auth
* remove jwt_auth Blueprint and /headers endpoint
* fix pep8: imports
2018-09-26 21:17:48 +03:00
Alison
588e0cce43
Add autocomplete toggle ( #2780 )
2018-09-26 17:32:38 +02:00
Alison
8a50351520
Add ability to add viz to dashboard from query edit page ( #2767 )
2018-09-26 17:29:38 +02:00
Alison
34e39eda4a
Port moving events serverside ( #2766 )
2018-09-26 17:17:46 +02:00
Alison
28a8525ce3
Add databricks query runner ( #2747 )
...
Fixes #2685 .
2018-09-26 17:07:03 +02:00
Arik Fraimovich
5e70f9c04a
Update README.md
2018-09-25 21:08:46 +03:00
Arik Fraimovich
a05b5ba68d
Docker based setup scripts ( #2850 )
2018-09-25 21:08:24 +03:00
Dan VerWeire
40ba66c58e
Fix invalid reference to alert.to_dict() in webhook ( #2849 )
2018-09-25 19:12:04 +03:00
Arik Fraimovich
3e4adaba9a
Update CircleCI config to use release branches
2018-09-24 11:52:38 +03:00
Arik Fraimovich
865b799dfd
Merge branch 'master' of github.com:getredash/redash
2018-09-21 17:06:46 +03:00
Arik Fraimovich
eed26c789e
Update CHANGELOG & version to V5
2018-09-21 17:06:26 +03:00
Arik Fraimovich
8c9d2af6fe
Fix: BigQuery default location is null and not US ( #2841 )
...
If no location is specified BigQuery uses US or EU. If we pass US
it breaks querying for EU users.
2018-09-21 16:49:30 +03:00
Arik Fraimovich
03cac7e515
Fix: backport security fix from v4.0.2 - don't expose Google OAuth client secret. ( #2839 )
2018-09-20 12:32:38 +03:00
Arik Fraimovich
defb3b9750
Fix: favorite button on homepage is not yellow. ( #2838 )
2018-09-20 10:39:36 +03:00
Arik Fraimovich
ec39bb0779
Fix: query embeds are broken. ( #2837 )
2018-09-20 10:36:15 +03:00
ariarijp
1661553da7
Fix typo
2018-09-18 08:56:01 +02:00
Arik Fraimovich
a4d5782ea1
Update ISSUE_TEMPLATE.md
2018-09-17 22:08:49 +03:00
Arik Fraimovich
d491eddd7d
Add security section to README.
2018-09-17 22:07:31 +03:00
Zsolt Kocsmárszky
47068a6d91
Improved mobile design ( #2800 )
...
* Improve mobile views
* Better fontsize for dashboard headers
* Add hidden-xs classes instead
* Move dashboard related styling to dashboards.less
2018-09-16 10:46:30 +03:00
Alison
d8ced1401f
add test for using saved parameters in scheduled queries ( #2802 )
2018-09-16 10:45:25 +03:00
Jannis Leidel
59a5540823
Use QuerySerializer in outdated queries list. ( #2821 )
...
This is a regression from aa756b2be6 .
2018-09-16 09:49:22 +03:00
Jannis Leidel
b1f5d60460
Minor code smell cleanup. ( #2820 )
...
* Remove unused parse_db_url function.
* Fix tests to not show command line warnings anymore.
* Minor code smell cleanup.
Removing unneeded imports fixing PEP8 issues.
2018-09-16 09:43:44 +03:00
Tim Smith
5c9852b9d9
Fix QueryResultListResource docstring
...
Change the docstring to reflect the behavior of the function
2018-09-14 22:23:06 +02:00
Levko Kravets
8c360d5c8d
Fix: sometimes widgets are getting zero height ( #2813 )
2018-09-14 16:33:24 +03:00
Levko Kravets
eb6f9d5ab8
Merge pull request #2816 from getredash/simplejson-parent-method
...
Use parent default method of simplejson encoder.
2018-09-14 12:05:45 +03:00
Jannis Leidel
4ab160a14c
Use parent default method of simplejson encoder.
2018-09-14 10:29:38 +02:00
Arik Fraimovich
93b34bcbce
UI Fixes for favorites and empty state ( #2808 )
...
* Better empty state for favorites on homepage
* Fix: show empty state when no dashboards available
* More explicit message in app header
2018-09-12 11:35:34 +03:00
Benjamin Forehand Jr
5113f4ff33
Add npm install for integration test job. ( #2795 )
...
* Add npm install.
* Fix typo.
2018-09-07 09:16:58 +02:00
Benjamin Forehand Jr
151683f9f9
Add npm build step to integration tests. ( #2794 )
2018-09-06 19:55:08 +02:00
Levko Kravets
53abc16780
Athena: Switch to simple_json to serialize NaN/Infinity values as nulls.
...
Fixes #2544 .
2018-09-04 13:03:21 +03:00
Arik Fraimovich
d529a1dfb3
Fix: queries with parameters with no value breaking the scheduler. ( #2786 )
2018-09-04 11:32:37 +03:00
Arik Fraimovich
7cb7f3a99d
Fix: MongoDB query results parser didn't support unicode keys. ( #2785 )
2018-09-04 11:30:40 +03:00
Arik Fraimovich
c27528fb7e
Fix: Google Analytics schema wasn't loading ( #2784 )
...
Some Google Analytics properties don't have defaultProfileId, which was preventing the schema from loading.
2018-09-04 11:29:19 +03:00
Arik Fraimovich
841642b9fc
Fix: build Docker image only in tagged versions
2018-08-31 08:42:50 +03:00
Arik Fraimovich
04c97067ac
Forgot to enable Docker 🤦
2018-08-30 21:35:31 +03:00
Arik Fraimovich
41113404c0
Remove deprecated argument from docker login command
2018-08-30 20:46:08 +03:00
Arik Fraimovich
bcaa54edf1
Merge branch 'master' of github.com:getredash/redash
2018-08-30 20:45:47 +03:00
Arik Fraimovich
a6d501a394
More improvements to CircleCI configuration ( #2777 )
...
* Moved configuration to `.circleci/config.yml` as the documentation for V2 suggests.
* Created a dedicated Docker Compose configuration (in `.circleci/docker-compose.yml`) to remove volumes configuration as this is not supported with CircleCI's Docker executer.
* Fix the Docker image build and tarball packing jobs to work and use correct version.
2018-08-30 20:19:52 +03:00
Arik Fraimovich
e4305e05ad
Updates to CircleCI 2 configuration ( #2774 )
...
* Remove references to Gitter
* Move integration tests to their own workflow and run only on master branch
* Fix error in integration tests configuration
* Update names of stages
2018-08-29 19:34:47 +03:00
Arik Fraimovich
84f1218849
Remove references to Gitter
2018-08-29 12:04:43 +03:00
Benjamin Forehand Jr
99dd4ddca2
Initial update to circleci v2 config. ( #2672 )
2018-08-29 11:19:25 +03:00
Arik Fraimovich
6f26b9638b
Merge pull request #2769 from kravets-levko/bug/dashboard-parameters-not-updated
...
Date/time params not working as global param
2018-08-29 09:50:11 +03:00
Zsolt Kocsmárszky
72632be04d
Remove unnecessary X at the end of the query search ( #2736 )
2018-08-28 21:56:12 +02:00
Jannis Leidel
bfd128413c
Add server-side sorting to dashboard list. ( #2760 )
...
Fix #2771 . Refs #2731 .
2018-08-28 20:45:26 +02:00
Jannis Leidel
bc15c0b6d1
Sort queries in descending order. ( #2759 )
...
Refs #2731 .
2018-08-28 20:27:35 +02:00
Levko Kravets
636276c9c4
getredash/redash#2730
2018-08-28 14:11:56 +03:00
Arik Fraimovich
57e4496ea5
Merge pull request #2754 from kravets-levko/bug/dashboard-widgets-crumble
...
Widgets crumble when trying to move / resize a widget
2018-08-27 21:18:31 +03:00
Arik Fraimovich
bd7ce3a2ce
Merge pull request #2734 from Yossi-a/master
...
handling rows with "length" field with forOwn method
2018-08-27 18:42:29 +03:00
Arik Fraimovich
8ef89177ff
Merge pull request #2761 from getredash/init_cleanup
...
Remove unnecessary init methods.
2018-08-24 00:05:47 +03:00
Alison
82af372583
Throw error when non-owner tries to add a user to dashboard permissions ( #2650 )
...
Add error message when non owner tries to add a user to a dashboard
Fixes #2592
REDASH_FEATURE_SHOW_PERMISSIONS_CONTROL has to be true for this to be applicable.
Operation threw a 403 Forbidden error before this change but it is in the console not shown to the user.
2018-08-23 20:51:08 +02:00
Alison
341a68c7d4
Propagate query execution errors from Celery tasks properly ( #2713 )
...
Refs https://github.com/mozilla/redash/issues/458
2018-08-23 20:33:43 +02:00
Jannis Leidel
8fa2a6649a
Remove unnecessary init methods.
2018-08-23 20:29:40 +02:00
Levko Kravets
c6cb6061e3
getredash/redash#2494 Widgets crumble when trying to move / resize a widget
2018-08-20 12:27:36 +03:00
Jannis Leidel
4d2df72f1f
Merge pull request #2750 from getredash/search-route-reload
...
Reload the route when using the app header search input.
2018-08-16 18:35:05 +02:00
Jannis Leidel
038966a39a
Merge pull request #2741 from sjakthol/fix-alerts
...
fix broken query selection in alert page
2018-08-16 18:09:41 +02:00
Jannis Leidel
9044de6142
Merge pull request #2742 from nasmithan/embed-parameters-query-test-fix
...
Fix query_results for Embedded Parameters (removed deprecated to_dict function)
2018-08-16 17:57:35 +02:00
Jannis Leidel
b746c433ea
Reload the route when using the app header search input.
2018-08-16 17:49:25 +02:00
Jannis Leidel
a0e8c3d2e5
Merge pull request #2729 from combineads/master
...
Fix: support unicode in dashboard search
2018-08-15 19:24:12 +02:00
Jannis Leidel
6ef6a2f484
Merge pull request #2735 from kocsmy/fix/remove-unnecessary-space
...
Remove space between text and :
2018-08-13 19:11:13 +02:00
Nathan Smith
5581e48474
Change from deprecated to_dict to query.query_text
2018-08-10 14:11:57 -06:00
Sami Jaktholm
a251d8fab0
fix broken query selection in alert page
...
The following error occurs when a query is selected in the
alert page:
> TypeError: "item.getQueryResultPromise is not a function"
This is because .onQueryHandler() is given a plain object instead of a
Query when a query is selected from the dropdown.
These changes fix the issue by wrapping the plain object into a Query
object before calling .getQueryResultPromise() on it.
2018-08-10 22:31:59 +03:00
Zsolt Kocsmarszky
6ecb215896
Remove space between text and :
2018-08-10 16:58:17 +02:00
Yossi Ayun
df4b34c179
handling rows with "length" field with forOwn method
2018-08-09 22:31:48 +03:00
Byunghwa Yun
e3f20abf16
Fix: support unicode in dashboard search
2018-08-09 12:00:16 +09:00
Arik Fraimovich
1cafcc1eac
Merge pull request #2724 from getredash/users-unicode
...
Fix: support unicode in users search
2018-08-07 18:02:20 +03:00
Arik Fraimovich
f6aab04a4b
Fix: support unicode in users search
2018-08-07 17:51:46 +03:00
Arik Fraimovich
674a689400
Update v5-beta release date.
2018-08-06 21:51:33 +03:00
Arik Fraimovich
7e0e498d33
Update CHANGELOG for v5beta
2018-08-06 18:31:57 +03:00
Arik Fraimovich
a1c566fea7
Merge branch 'master' of github.com:getredash/redash
2018-08-06 16:18:06 +03:00
Arik Fraimovich
4f7cb89e91
Update CHANGELOG for v5-beta. #2700
2018-08-06 16:17:28 +03:00
Arik Fraimovich
035b26b631
Merge pull request #2722 from getredash/es-fix
...
Fix: don't send source_content_type
2018-08-06 16:13:01 +03:00
Arik Fraimovich
a3e0990143
Fix: don't send source_content_type - instead use GET body with content type header
2018-08-06 16:03:48 +03:00
Arik Fraimovich
0772b12f19
Merge pull request #2720 from getredash/users
...
Fix #2718 : query search is broken.
2018-08-05 18:20:46 +03:00
Arik Fraimovich
f3fed27383
Merge branch 'master' into users
2018-08-05 18:20:21 +03:00
Arik Fraimovich
573865f1cc
Fix #2718 : query search is broken.
2018-08-05 18:19:07 +03:00
Arik Fraimovich
1e6d6bbeb3
Merge pull request #2715 from getredash/users
...
Improve users list page
2018-08-05 18:10:15 +03:00
Arik Fraimovich
b89bb392ce
Fix: enable/disable wasn't working on users list.
2018-08-05 18:09:14 +03:00
Arik Fraimovich
e4dba1ca8e
Switch more strings to unicode.
2018-08-05 17:58:29 +03:00
Arik Fraimovich
2e08d8deb4
Reset to page 1 when updating search string.
2018-08-05 17:58:09 +03:00
Arik Fraimovich
1676d34af6
Fix: make sure paginator component reflects current page number.
2018-08-05 17:57:55 +03:00
Arik Fraimovich
f96a0f338d
Use unicode strings.
2018-08-05 16:34:43 +03:00
Arik Fraimovich
226dd65d53
Update users handlers tests.
2018-08-05 16:14:24 +03:00
Arik Fraimovich
188467ec64
Switch to sqlalchemy_utils.EmailType
2018-08-05 16:14:12 +03:00
Arik Fraimovich
2d4983a224
Show correct empty state when no users found.
2018-08-05 14:56:41 +03:00
Arik Fraimovich
629f61772f
Use new users search API.
2018-08-05 14:51:39 +03:00
Arik Fraimovich
deaa891eb2
Merge pull request #2712 from kravets-levko/feature/date-range-params
...
Date/Time Range parameter type
2018-08-05 14:03:30 +03:00
Arik Fraimovich
351e0f8fdb
Merge pull request #2719 from maxv/closing-input-tag
...
Remove closing input tags
2018-08-05 13:59:02 +03:00
maxv
3ecec4ba8b
Remove closing input tags
2018-08-04 11:02:44 +03:00
Levko Kravets
a2ca793ddd
getredash/redash#2643 Date/Time Range parameter type
2018-08-03 12:24:23 +03:00
Arik Fraimovich
5eb280ef01
Update users list to be paginated and sortable.
2018-08-01 23:28:57 +03:00
Arik Fraimovich
d7946dafd6
Link to user page from group users list.
2018-08-01 23:28:02 +03:00
Arik Fraimovich
bdff248dd7
Fix: dashboards list page wasn't updated to new paginator API.
2018-08-01 23:27:27 +03:00
Arik Fraimovich
c6b129d726
Move order_results helper to redash.handlers.base.
2018-08-01 23:27:12 +03:00
Arik Fraimovich
1468d6e257
Change CaseInsensitiveComparator to support all operations.
2018-08-01 23:26:52 +03:00
Arik Fraimovich
a014df36d8
Merge pull request #2686 from jezdez/serverside
...
Implement server side pagination and sorting for queries lists
2018-08-01 16:55:40 +03:00
Arik Fraimovich
06ad89f75b
Merge pull request #2710 from kocsmy/design/ant-to-redash
...
Update Ant variables to fit Redash's style
2018-08-01 12:23:40 +03:00
Zsolt Kocsmarszky
692e7f9547
Use more variables
2018-08-01 10:58:14 +02:00
Zsolt Kocsmarszky
03262867fe
Merge branch 'master' into design/ant-to-redash
2018-08-01 10:39:39 +02:00
Zsolt Kocsmarszky
8eb9ae604e
Working version of overwrite (not in component level)
2018-07-31 16:23:43 +02:00
Zsolt Kocsmarszky
9bb8ec2f66
Adjust input colors to match
2018-07-31 14:32:38 +02:00
Zsolt Kocsmarszky
340184a796
Adjust input color
2018-07-31 14:18:12 +02:00
Zsolt Kocsmarszky
f0502ba088
Refine input design
2018-07-31 14:14:29 +02:00
Arik Fraimovich
44014d7eab
Merge pull request #2482 from matsumo/add_chatwork_destination
...
add support ChatWork Alert Destination.
2018-07-31 15:13:29 +03:00
Arik Fraimovich
6b671817a2
Merge pull request #2649 from getredash/js-style-guides
...
Add references to Airbnb's style guides in contribution guide.
2018-07-31 15:11:27 +03:00
Arik Fraimovich
5da481e2c3
Merge pull request #2709 from getredash/format-button
...
Move format button next Add New Param button.
2018-07-31 15:10:16 +03:00
Arik Fraimovich
40c8cef821
Move format button next add new param button.
2018-07-31 15:09:23 +03:00
Zsolt Kocsmarszky
13d891bac3
Move styling import to main.less and add var overwrites
2018-07-31 14:07:01 +02:00
Arik Fraimovich
73f7476434
Merge pull request #2678 from kravets-levko/feature/add-parameter-dialog
...
Explicit "Add Parameter" Button in Query Editor
2018-07-31 14:26:42 +03:00
Arik Fraimovich
8017893c00
Merge.
2018-07-31 14:23:58 +03:00
Levko Kravets
d1ddc4631d
getredash/redash#2644 CR1
2018-07-31 14:12:02 +03:00
Arik Fraimovich
a94f2efc80
Fix keyboard shortcut and update the tooltip.
2018-07-31 14:11:10 +03:00
Arik Fraimovich
0127799ec7
Merge with master.
2018-07-31 14:10:47 +03:00
Levko Kravets
e2313e67b6
getredash/redash#2644 Explicit "Add Parameter" Button in Query Editor
2018-07-31 14:06:31 +03:00
Arik Fraimovich
50c37c0469
Use unicode for default message template.
2018-07-31 13:38:23 +03:00
Arik Fraimovich
c6f75ddbb2
Merge pull request #2513 from kyoshidajp/support_location_in_bq_dataset
...
Add location property to BigQuery data source settings
2018-07-31 13:03:22 +03:00
Arik Fraimovich
85230e3cc3
Merge pull request #2616 from kravets-levko/feature/pie-colors
...
Pie chart: sectors colors
2018-07-31 13:00:11 +03:00
Arik Fraimovich
ccaf849328
Add schedule & created_at to allowed order_by values for queries.
2018-07-31 11:39:35 +03:00
Arik Fraimovich
494f43b997
Show null duration as '-'.
2018-07-31 11:39:19 +03:00
Arik Fraimovich
f9e2895f16
Merge pull request #2664 from kravets-levko/bug/dashboard-indefinite-spinner
...
Dashboard shows a spinner when query failed to load
2018-07-30 22:49:36 +03:00
Arik Fraimovich
92bdac0ee2
Merge pull request #2697 from kravets-levko/feature/datetime-current-time
...
Date/Time parameters: dynamic default value (current date/time)
2018-07-30 14:59:48 +03:00
Levko Kravets
b19dec08d0
getredash/redash#2602 CR1
2018-07-30 11:56:02 +03:00
Levko Kravets
9926359c45
getredash/redash#2602 Dashboard shows a spinner when query failed to load
2018-07-30 11:41:47 +03:00
Levko Kravets
b0f0b49d1c
getredash/redash#2642 Date/Time parameters: dynamic default value (current date/time)
2018-07-30 11:18:08 +03:00
Arik Fraimovich
016166c193
Merge pull request #2626 from kravets-levko/feature/query-page-messages
...
Show real status when loading cached query result
2018-07-29 15:49:38 +03:00
Arik Fraimovich
dd2f24f976
Merge pull request #2458 from kyoshidajp/get_all_tables_in_bq
...
Get all tables in the BigQuery
2018-07-29 15:11:46 +03:00
Arik Fraimovich
f89d64e467
Merge pull request #2663 from ariarijp/improve-spreadsheets
...
Set column name implicitly when column name is blank
2018-07-29 14:50:12 +03:00
Arik Fraimovich
02e6edf111
Bump version
2018-07-26 17:42:08 +03:00
Arik Fraimovich
18768885f2
Fix status page layout
2018-07-26 17:33:09 +03:00
Katsuhiko YOSHIDA
5ca59a5002
Change the way to get the default location
2018-07-26 08:09:57 +09:00
Arik Fraimovich
25ae7b4a88
Merge pull request #2698 from getredash/small-07-2018
...
Make sure we return distinct data source values
2018-07-25 20:26:58 +03:00
Arik Fraimovich
1f01fe2f39
Make sure we return distinct data source values
2018-07-25 19:38:15 +03:00
Arik Fraimovich
d70bcfd615
Merge pull request #2695 from kravets-levko/feature/better-datetime-inputs
...
Improve Date/DateTime type parameters
2018-07-25 16:27:32 +03:00
Levko Kravets
94da0d90b9
getredash/redash#2642 CR1
2018-07-25 16:15:49 +03:00
Levko Kravets
487dd6b88d
getredash/redash#2642 Improve Date/DateTime type parameters
2018-07-25 15:00:09 +03:00
Arik Fraimovich
01b3d428c3
Merge pull request #2315 from yuua/fix_hive_type_match
...
Fix: pyHive type matches
2018-07-25 13:38:13 +03:00
Arik Fraimovich
d30dd63656
Merge pull request #2694 from getredash/small-07-2018
...
Block users with disposable email addresses
2018-07-25 13:28:54 +03:00
Arik Fraimovich
3c7dd064ef
Block users with temporary domains
2018-07-25 13:06:26 +03:00
Arik Fraimovich
058a7ca368
Merge pull request #2693 from getredash/small-07-2018
...
Enable search function in Query Editor.
2018-07-25 13:00:16 +03:00
Arik Fraimovich
10ddb73385
Enable search function in Query Editor.
2018-07-25 12:59:41 +03:00
Arik Fraimovich
27dfa3d8ae
Merge pull request #2692 from getredash/small-07-2018
...
Fix: Query.search method was missing
2018-07-25 12:57:40 +03:00
Arik Fraimovich
2390343c67
Fix: Query.search method was missing
2018-07-25 12:57:10 +03:00
Arik Fraimovich
2c3067bdfd
Merge pull request #2691 from getredash/small-07-2018
...
Fix the recent queries API endpoint.
2018-07-25 12:55:20 +03:00
Arik Fraimovich
2e9ef66cbc
Fix: Google Spreadsheets tests
2018-07-25 12:42:36 +03:00
Arik Fraimovich
a05c4b3b20
Merge pull request #2687 from denisov-vlad/safe-yaml
...
YAML: changed load to safe_load
2018-07-25 12:38:35 +03:00
Arik Fraimovich
895786d129
Fix the recent queries API endpoint.
2018-07-24 12:01:41 +03:00
Arik Fraimovich
011142fabb
Add fsevents to optional dependencies
2018-07-24 12:01:03 +03:00
Vladislav Denisov
e4af1e6534
yandex_metrika: changed load to safe_load
2018-07-19 17:43:51 +03:00
Arik Fraimovich
25de0b9dab
Merge pull request #2514 from atharvai/gsheets_parse_fix_2504
...
Update value parsing for google spreadsheets source
2018-07-19 12:02:36 +03:00
Jannis Leidel
b86715c7fa
Implement frontend for server side pagination and sorting.
...
Also:
- Adds page size select tag list.
- Adds clear button to search input.
- Shows search also on “my” page.
2018-07-18 22:55:25 +02:00
Jannis Leidel
2af926703a
Implement server side sorting and new search.
...
- Redirect the old search API handler.
- Sort by specific database columns or relationships.
- Allow showing “my” queries per tag as well.
2018-07-18 22:55:19 +02:00
Jannis Leidel
2f09497797
Let the search class methods use the main all_queries base query.
2018-07-18 21:45:43 +02:00
Jannis Leidel
16ea4be157
Add optional property to query class with the lowercase name for easier sorting.
2018-07-18 21:45:42 +02:00
Jannis Leidel
823a681131
Add outerjoins to be able to sort queries by related columns.
2018-07-18 21:45:42 +02:00
Jannis Leidel
08b59c4485
Extend live paginator to handle ordering as well.
2018-07-18 21:44:55 +02:00
Jannis Leidel
486a6068ac
Update SQLAlchemy.
2018-07-18 21:44:55 +02:00
Levko Kravets
d651fdc2b7
getredash/redash#2644 CR1
2018-07-18 13:01:41 +03:00
Levko Kravets
2c0ff53894
getredash/redash#2644 Explicit "Add Parameter" Button in Query Editor
2018-07-18 12:27:51 +03:00
Levko Kravets
10ff9ec86e
getredash/redash#2601 Show real status when loading cached query result
2018-07-18 12:11:13 +03:00
Arik Fraimovich
35bb558f44
Merge pull request #2573 from getredash/discovery
...
Tagging and favorites for Queries and Dashboards
2018-07-17 15:49:39 +03:00
Arik Fraimovich
3d39e5cb29
Merge branch 'discovery' of github.com:getredash/redash into discovery
2018-07-17 15:41:13 +03:00
Arik Fraimovich
24404b3b86
Fix queries list URLs.
2018-07-17 15:40:50 +03:00
Arik Fraimovich
a9cb08d0d6
Merge branch 'master' into discovery
2018-07-17 15:33:58 +03:00
Arik Fraimovich
12436430cc
Styling update.
2018-07-17 15:32:24 +03:00
Arik Fraimovich
9ed7b3d3d4
Queries List empty state.
2018-07-17 15:29:25 +03:00
Arik Fraimovich
9f467f7a2b
Support .jsx files.
2018-07-17 13:47:43 +03:00
Arik Fraimovich
052a60512b
Implement dashboard list empty states.
2018-07-17 13:47:35 +03:00
Arik Fraimovich
2ff3d8985c
Merge pull request #2570 from StantonVentures/2569_fix_query_pagination_alignment
...
fixes query pagination alignment
2018-07-16 17:59:52 +03:00
Arik Fraimovich
b1139d4891
Merge pull request #2584 from StantonVentures/alison_2581_only
...
keep query result pagination out of scroll
2018-07-16 17:56:12 +03:00
Arik Fraimovich
197e7d5882
Merge pull request #2640 from kravets-levko/feature/query-editor-shortcuts
...
Keyboard shortcut to collapse query editor/schema browser
2018-07-16 17:36:34 +03:00
Arik Fraimovich
f771b514e6
Merge pull request #2682 from getredash/now
...
Add Zeit's now support to have preview builds for every PR
2018-07-15 15:45:19 +03:00
Arik Fraimovich
27128d73fe
Trigger new Now deploy.
2018-07-15 15:00:17 +03:00
Arik Fraimovich
fa1b71bc27
Add Zeit now support
2018-07-15 13:39:57 +03:00
Arik Fraimovich
f78ab06369
Merge pull request #2647 from ariarijp/improve-script
...
Improve Script Query Runner
2018-07-12 23:37:23 +03:00
Arik Fraimovich
64f6c9319d
Fix: favorite/unfavorite in dashboards list wasn't working.
2018-07-12 23:34:47 +03:00
Arik Fraimovich
d76a9cd22f
Fix loading of favorites in header and home.
2018-07-12 22:55:39 +03:00
Arik Fraimovich
d6f8d7af5a
Eagerly load dashboard user to avoid N+1 queries.
2018-07-12 22:48:42 +03:00
Arik Fraimovich
00c413c2d8
Merge pull request #2674 from getredash/chromelogger
...
Add support for the Chrome Logger extension
2018-07-12 13:41:18 +03:00
Arik Fraimovich
6be54defb4
Styling improvements.
2018-07-12 13:16:42 +03:00
Arik Fraimovich
20261d0632
Add support for ChromeLogger extension
2018-07-12 11:37:35 +03:00
Arik Fraimovich
522c08a7a4
package-lock.json update
2018-07-11 18:26:01 +03:00
Arik Fraimovich
3fa2db4085
Fix linting errors
2018-07-11 18:25:43 +03:00
Arik Fraimovich
8343f2c8b2
Remove usage of underscopre.
2018-07-11 18:03:27 +03:00
Arik Fraimovich
df25bbfa90
Merge with latest master
2018-07-11 17:53:53 +03:00
Arik Fraimovich
5e35156d22
Handle duplicate favorite calls.
2018-07-11 16:35:48 +03:00
Arik Fraimovich
34c2292a98
Merge pull request #2653 from StantonVentures/alison_1411
...
Add redash db size to status page
2018-07-11 16:02:36 +03:00
Arik Fraimovich
2438475ba2
Merge pull request #2583 from kocsmy/design/query-header-improvements
...
Query header improvements on widgets
2018-07-11 16:01:28 +03:00
Arik Fraimovich
b91a2d14fd
Merge pull request #2668 from ariarijp/upgrade-bootstrap-script
...
Upgrade bootstrap script to Redash 4.0.1
2018-07-11 15:52:25 +03:00
Arik Fraimovich
d7310f5be9
Merge pull request #2671 from kocsmy/design/save-some-space
...
Save some space
2018-07-11 15:52:07 +03:00
Zsolt Kocsmarszky
873f51c5f6
Save some space (10px) when we have parameters section present on the query results
2018-07-09 16:10:24 +02:00
Arik Fraimovich
ac1fc6bdd8
Merge pull request #2669 from tdawber/feature/athena_query_id
...
Store Athena query id with result metadata
2018-07-09 15:40:28 +03:00
tdawber
28f7c048bb
Store Athena query id with result metadata
2018-07-09 16:40:49 +10:00
tdawber
8d80077aa8
Store Athena query id with result metadata
2018-07-09 16:39:22 +10:00
tdawber
101c09fcae
Store Athena query id with result metadata
2018-07-09 16:37:05 +10:00
tdawber
9141850304
Store Athena query id with result metadata
2018-07-09 16:18:33 +10:00
Alison
e7d8491f0b
update to .execute() from .query()
2018-07-08 09:53:12 -05:00
ariarijp
0568d40b27
Upgrade to Redash 4.0.1
2018-07-08 17:22:29 +09:00
Zsolt Kocsmarszky
77831d1c91
Adjust query header colors
2018-07-06 14:37:40 +02:00
Levko Kravets
3772612a97
Pie chart: sectors colors
2018-07-06 14:53:57 +03:00
Zsolt Kocsmarszky
58e21c9807
Merge https://github.com/getredash/redash into design/query-header-improvements
2018-07-06 13:48:27 +02:00
Alison
abcf5b729a
pep8 fixes
2018-07-04 17:00:17 -05:00
Alison
7b40d01f51
refactor based on codeclimate review of PR
2018-07-04 16:57:10 -05:00
Alison
f597c04214
change where prettySize happens
2018-07-04 02:04:55 -05:00
ariarijp
53c20e2250
Set column name implicitly when column name is blank
2018-07-03 16:02:41 +09:00
ariarijp
c5f27253b0
Change message for empty output
2018-07-02 21:36:15 +09:00
Arik Fraimovich
140d0ae14f
Merge pull request #2638 from kravets-levko/bug/dashboard-not-rendering-empty-query
...
Dashboard stops rendering when adding widget with empty query
2018-07-02 12:07:42 +03:00
Arik Fraimovich
383d5d3725
Merge pull request #2658 from StantonVentures/alison_2657
...
delaying schema filtering to improve responsiveness
2018-07-02 12:04:21 +03:00
Arik Fraimovich
e0ce7f8d7d
Merge pull request #2648 from Pablohn26/master
...
Update datasource documentation links
2018-07-01 23:51:00 +03:00
Arik Fraimovich
4b0a2c04df
Merge pull request #2639 from ariarijp/add-tests-for-spreadsheets
...
Add tests for SpreadSheets
2018-07-01 12:35:57 +03:00
Arik Fraimovich
6ce522a863
Update CONTRIBUTING.md
2018-07-01 12:32:46 +03:00
Alison
84302e3d86
delaying schema filtering to improve responsiveness
...
fixes #2657
2018-06-30 18:57:47 -05:00
Alison
cf29fa09f3
add the size of Redash DB to the status page
...
fixes #1411
2018-06-30 14:18:02 -05:00
Arik Fraimovich
50b9e99f90
Add references to Airbnb's styleguides in contribution guide.
2018-06-29 21:39:58 +03:00
Pablo Hinojosa
01678beebf
Fix URL
2018-06-29 17:53:47 +02:00
Pablo Hinojosa
0a6a807964
Fix URL
2018-06-29 17:52:55 +02:00
Pablo Hinojosa
964eff017c
Fix URL
2018-06-29 17:51:37 +02:00
Pablo Hinojosa
7f4e7a947e
Update dashboard-list.html
2018-06-29 17:50:32 +02:00
Pablo Hinojosa
ca04732d3f
Update datasource documentation links
2018-06-29 17:45:38 +02:00
ariarijp
389c6cb3c5
Improve Script Query Runner
2018-06-29 00:03:17 +09:00
Arik Fraimovich
75df88a8ff
Merge pull request #2632 from mozilla/react-eslint
...
react rules for eslint
2018-06-28 16:32:57 +03:00
Levko Kravets
0c95b47de4
getredash/redash#2402 Keyboard shortcut to collapse query editor/schema browser
2018-06-28 15:10:53 +03:00
ariarijp
bad7e92cce
Add tests for SpreadSheets
2018-06-28 18:57:41 +09:00
Levko Kravets
ead1e07e99
getredash/redash#2534 Dashboard stops rendering when adding widget with empty query
2018-06-28 11:50:35 +03:00
Allen Short
b712253276
react rules for eslint
2018-06-28 01:56:57 -05:00
Arik Fraimovich
71531c9910
Merge pull request #2635 from ariarijp/add-tests-for-query-results
...
Add tests for Query Results
2018-06-28 09:55:25 +03:00
ariarijp
8a4eab1c93
Add tests for Query Results
2018-06-28 15:37:11 +09:00
Alison
5846a5733c
Merge pull request #2 from getredash/master
...
pulling from upstream to SV fork
2018-06-27 10:28:02 -05:00
Zsolt Kocsmarszky
d1d72b30c6
Make visualization name as dark as query name
2018-06-27 16:37:50 +02:00
Zsolt Kocsmarszky
ba980d6b87
Merge branch 'master' into design/query-header-improvements
2018-06-27 16:29:12 +02:00
Arik Fraimovich
258d506215
Add missing comma
2018-06-27 16:04:33 +03:00
Arik Fraimovich
b759536146
Add events to favorites
2018-06-27 15:58:13 +03:00
Arik Fraimovich
91ff4aee63
Move imports to correct location.
2018-06-27 15:52:11 +03:00
Arik Fraimovich
fa6e2cc264
Merge pull request #2546 from washort/upstream-react
...
Configuration for incorporating React components
2018-06-27 15:20:00 +03:00
Arik Fraimovich
c719d336a9
Reset search term when it's empty.
2018-06-27 11:54:34 +03:00
Arik Fraimovich
720da3310f
Merge pull request #2610 from gabrieldutra/master
...
Fix export query results output file name
2018-06-26 21:53:27 +03:00
Arik Fraimovich
ed8b022e78
Merge pull request #2613 from ariarijp/improve-script
...
Improve Script Query Runner
2018-06-26 21:52:33 +03:00
Arik Fraimovich
2eefdc1da3
Updated queries screen (& unified API).
2018-06-26 21:50:16 +03:00
Arik Fraimovich
5e4cf5ba30
Add filtering by tags/search to favorites.
2018-06-26 21:48:50 +03:00
Arik Fraimovich
18f51890d2
Only show tags/search on all queries list.
2018-06-25 23:25:10 +03:00
Arik Fraimovich
b0de1be815
Better dashboards GET api (pagination, filter by tags, search by name)
2018-06-25 23:22:28 +03:00
Arik Fraimovich
f39b6b7073
Tags service.
2018-06-25 23:20:30 +03:00
Allen Short
e2a5bb0a06
eslint fix
2018-06-25 12:14:30 -05:00
Arik Fraimovich
bfeeb23443
Update package-lock.json file
2018-06-25 12:13:26 -05:00
Arik Fraimovich
9eb51da7ce
Remove underscore usage from new files
2018-06-25 12:13:25 -05:00
Allen Short
d6011ede0c
switch underscore usages to lodash
...
There's still one usage of `numberFormat` from `underscore.string`.
2018-06-25 12:13:25 -05:00
Allen Short
c47ad93eb2
humble beginnings with React components
2018-06-25 12:13:25 -05:00
Arik Fraimovich
4384959760
Merge pull request #2619 from StantonVentures/2567_order_datasources_alpha
...
data source sort case insensitive
2018-06-22 19:49:09 +03:00
Alison
fccba45e36
data source sort case insensitive
...
#2567
2018-06-22 07:03:51 -05:00
ariarijp
9d2a3133f0
Improve Script Query Runner
2018-06-21 14:45:12 +09:00
Gabriel Dutra
744ccd163a
Fix export query results output file name
...
- regexp `/ /g` will seek for all space ocurrences, not only the first
2018-06-20 20:23:49 -03:00
Arik Fraimovich
4a833a7401
use tags-list component for mobile view as well
2018-06-20 18:52:56 +03:00
Arik Fraimovich
ece80eb1f7
Refactor: create tags list component to be shared between dashboard and queries list page.
2018-06-20 18:45:44 +03:00
Arik Fraimovich
695c342a69
Filter queries by tags.
2018-06-20 18:17:56 +03:00
Arik Fraimovich
97d4df2532
Merge pull request #2606 from denisov-vlad/pyyaml
...
requirements: added pyyaml
2018-06-20 14:55:18 +03:00
Vladislav Denisov
8cd8650119
requirements: added pyyaml
2018-06-20 12:03:46 +03:00
Arik Fraimovich
6fb7c310be
Merge pull request #2574 from mtrbean/patch-1
...
commit query result to db before evaluating alerts
2018-06-20 10:52:44 +03:00
Arik Fraimovich
d533a05d54
Merge pull request #2604 from ariarijp/improve-spreadsheets
...
Improve Google Spreadsheets Query Runner
2018-06-20 10:38:33 +03:00
Arik Fraimovich
783ccfd4c0
Merge pull request #2533 from denisov-vlad/metrika
...
New datasource: Yandex Metrika&AppMetrika
2018-06-20 10:28:11 +03:00
ariarijp
5757b24ea3
Improve Google Spreadsheets Query Runner
2018-06-19 22:29:46 +09:00
Arik Fraimovich
5c1d2c8877
Merge pull request #2542 from emtwo/emtwo/xaxis
...
Closes #2541 : x-axis improvements.
2018-06-19 12:44:56 +03:00
Arik Fraimovich
ff750b0db1
Merge pull request #2590 from ariarijp/remove-redundant-vars
...
Remove redundant variables
2018-06-18 15:02:45 +03:00
Alison
f4b32249e9
Merge pull request #1 from getredash/master
...
pull upstream to my fork
2018-06-17 16:26:19 -05:00
ariarijp
f8245f6e3f
Remove redundant variables
2018-06-17 23:41:33 +09:00
Arik Fraimovich
c28702a5be
Merge pull request #2580 from StantonVentures/master
...
add break-word wrap to add/edit text box on dashboard
2018-06-17 11:51:38 +03:00
Arik Fraimovich
d101866c91
Merge pull request #2585 from kravets-levko/fix/query-page-tabs
...
Show data only mode: allow to add and delete visualizations
2018-06-17 11:43:34 +03:00
Arik Fraimovich
6c11326a5d
Merge pull request #2578 from ariarijp/fix-create-tables
...
Fix connection error when you run "create_tables"
2018-06-17 11:38:35 +03:00
Levko Kravets
17a677b6d0
Dashboard: make etire widget header clickable
2018-06-13 21:23:09 +03:00
Zsolt Kocsmarszky
1678155490
Make + New Visualization a button and add nicer icons
2018-06-13 16:57:20 +02:00
Zsolt Kocsmarszky
7be6164684
Hide - if no visualization name
2018-06-13 15:17:36 +02:00
Levko Kravets
418ac1bb68
Show data only mode: allow to add and delete visualizations
2018-06-12 20:03:21 +03:00
Alison
78421f590b
keep query result pagination out of scroll
2018-06-11 23:55:24 -05:00
Zsolt Kocsmarszky
bdbeebdf86
Improve the header of the query by moving the visualization name to the first place
2018-06-11 17:19:45 +02:00
Levko Kravets
b521e65800
Discovery: show tags for both published and draft queries
2018-06-11 12:51:21 +03:00
Levko Kravets
a8a0312b72
Discovery: query & dashboard list: fix default browser behavior on click with modifier keys
2018-06-11 12:44:26 +03:00
Levko Kravets
840a7482c8
Discovery: filter queries by tags
2018-06-11 12:16:47 +03:00
Alison
d11638164e
add break-word wrap to add/edit text box on dashboard
2018-06-10 09:33:19 -05:00
ariarijp
1efdb6034f
Fix connection error when you run "create_tables"
2018-06-10 20:17:53 +09:00
Eric Wong
d0c6e41c9c
commit query result to db before evaluating alerts
...
`check_alerts_for_query` runs on a separate celery queue and needs to see the latest result
2018-06-06 11:22:34 -07:00
Arik Fraimovich
e79dbe8b95
Merge branch 'master' into discovery
2018-06-06 15:35:45 +03:00
Arik Fraimovich
93dffa0c8a
Merge with upstream
2018-06-06 15:28:15 +03:00
Arik Fraimovich
deceaa8888
Fix migrations order
2018-06-06 14:59:04 +03:00
Levko Kravets
11f25d8ba4
Tags: edit (query and dashboard page); show tags in a sidebar (dashboard list page)
2018-06-06 14:45:53 +03:00
Arik Fraimovich
69d5eb9020
tag listing APIs implemented
2018-06-06 14:45:05 +03:00
Zsolt Kocsmarszky
7ac90fe81e
Fix tag layouts on headers
2018-06-06 14:45:05 +03:00
Levko Kravets
23deab7b7c
Tags: display on all pages
2018-06-06 14:45:05 +03:00
Zsolt Kocsmarszky
f0342c3c45
tags for queries and dashboards
2018-06-06 14:44:32 +03:00
Arik Fraimovich
3835a8286c
Simpler data model for tags.
2018-06-06 14:43:23 +03:00
Arik Fraimovich
a4f61df3fb
Fixed add dashboard tags migration
2018-06-06 14:43:23 +03:00
Arik Fraimovich
0d764caafe
Proper tags models
2018-06-06 14:43:23 +03:00
Levko Kravets
5081e9d245
Show spinner when loading dashboards and queries on list pages
2018-06-06 14:43:23 +03:00
Zsolt Kocsmarszky
312a73dd8d
Style tags for queries and dashboards
2018-06-06 14:43:23 +03:00
Arik Fraimovich
d3240cd71b
Fix queries search API
2018-06-06 14:43:23 +03:00
Zsolt Kocsmarszky
2b9dd6b5c0
Adding tags markup for query and dashboard
2018-06-06 14:43:23 +03:00
Levko Kravets
3ac52a2af5
Favorites: restore queries search
2018-06-06 14:43:23 +03:00
Levko Kravets
15baef531c
Favorites: restore queries search
2018-06-06 14:43:23 +03:00
Zsolt Kocsmarszky
135cb53909
make entire dashboard and query list row clickable
2018-06-06 14:43:06 +03:00
Arik Fraimovich
f29afe9306
Hide my dashboards/queries when you don't have permission to create them
2018-06-06 14:43:06 +03:00
Arik Fraimovich
9feb7773ce
add org_id to favorites
2018-06-06 14:43:06 +03:00
Arik Fraimovich
bcf49a700b
Make sure user has access to favorite objects.
2018-06-06 14:43:06 +03:00
Zsolt Kocsmarszky
a782d67a8e
add empty states for my queries/dashboard and fav queries/dashboards
2018-06-06 14:43:06 +03:00
Zsolt Kocsmarszky
3fbf518061
add empty condition for dashboard and query dropdown
2018-06-06 14:43:06 +03:00
Levko Kravets
0479aa40b3
Favorites: empty states on dashboards and queries list pages
2018-06-06 14:43:06 +03:00
Zsolt Kocsmarszky
b9db9f0b20
Right aligned control area
2018-06-06 14:41:13 +03:00
Arik Fraimovich
aa756b2be6
Almost complete implementation of favorties backend
2018-06-06 14:41:13 +03:00
Zsolt Kocsmarszky
af40375a78
Nicer styling for lists
2018-06-06 14:40:42 +03:00
Levko Kravets
d385b43915
Favorites: remove unnecessary code
2018-06-06 14:40:42 +03:00
Levko Kravets
54d667e59e
Favorites: page for favorite dashboards and queries
2018-06-06 14:40:42 +03:00
Zsolt Kocsmarszky
983e3ba350
Further refine styling for tags
2018-06-06 14:40:42 +03:00
Zsolt Kocsmarszky
875e756236
Massive styling improvements for dashboards, queries and alerts lists
2018-06-06 14:40:42 +03:00
Levko Kravets
56b1e3c7aa
Favorites: show favorite dashboards and queries in app header
2018-06-06 14:40:42 +03:00
Zsolt Kocsmarszky
7785538d59
add and fix classes
2018-06-06 14:39:52 +03:00
Zsolt Kocsmarszky
82829d5687
Better queries page...
2018-06-06 14:39:52 +03:00
Levko Kravets
34aaf55463
Favorites: show favorites on homepage instead of recent items
2018-06-06 14:39:52 +03:00
Zsolt Kocsmarszky
e6745683fe
Add more details for favourites
2018-06-06 14:39:14 +03:00
Levko Kravets
8c7e62f7ff
Favorites: models, control on query list, query page, dashboard list, dashboard pages.
2018-06-06 14:37:52 +03:00
Arik Fraimovich
02628d76f1
API stub for query object.
2018-06-06 14:37:52 +03:00
Arik Fraimovich
64f70cfbe8
Query favorites: API stub.
2018-06-06 14:37:52 +03:00
Zsolt Kocsmarszky
5f1c4e9dce
Add base stuff for favourites
2018-06-06 14:37:52 +03:00
Arik Fraimovich
672c86efaa
Merge pull request #2549 from coreyhuinker/patch-1
...
Allow get_tables to see views and v10-style partitioned tables
2018-06-06 11:40:01 +03:00
Arik Fraimovich
8bffc6f45d
Merge pull request #2568 from StantonVentures/2567_order_datasources_alpha
...
sort datasources alphabetically
2018-06-06 11:02:25 +03:00
Arik Fraimovich
52b9333b8d
Merge pull request #2572 from StantonVentures/2571_archived_query_menu_line
...
remove extra menu line if query is archived
2018-06-06 10:59:09 +03:00
Alison
2982d77ff2
remove extra menu line if query is archived
...
fixes #2571
Sames as https://github.com/mozilla/redash/issues/319 fixed in https://github.com/mozilla/redash/pull/414/
2018-06-05 23:11:19 -05:00
Alison
dda024a8d2
fixes query pagination alignment
...
fixes #2569
Same as https://github.com/mozilla/redash/pull/413/ which fixes https://github.com/mozilla/redash/issues/320
2018-06-05 22:56:15 -05:00
Alison
ea8951711f
sort datasources alphabetically
...
fixes https://github.com/getredash/redash/issues/2567
Same as https://github.com/mozilla/redash/issues/367
2018-06-05 22:50:35 -05:00
Levko Kravets
204e36730e
After saving tags in a dashboard, widgets go into refresh mode
2018-06-05 17:11:52 +03:00
Arik Fraimovich
c86423aea9
Merge pull request #2444 from sjakthol/saml-handle-parse-errors
...
feat: show error if saml response cannot be parsed
2018-06-03 11:41:50 +03:00
Sami Jaktholm
c7cf3653b8
feat: show error if saml response cannot be parsed
...
Previously, exceptions from pysaml2 would've caused
a 500 Internal Server Error response to be sent back
to the user. Now, the user is redirected back to login
page which includes an user friendly error message.
2018-06-03 09:42:53 +03:00
Marina Samuel
804603014d
Closes #2541 : x-axis improvements.
2018-05-31 16:29:39 -04:00
Arik Fraimovich
90d642fbe2
Update the tab name.
2018-05-31 21:25:51 +03:00
Arik Fraimovich
ca1b8f2047
Update chart editor labels
2018-05-31 21:07:12 +03:00
Arik Fraimovich
0a0b53b7e9
Merge pull request #2536 from kravets-levko/feature/chart-formats-and-tooltips-2
...
Chart: formats for values, labels and tooltips
2018-05-31 19:05:51 +03:00
Arik Fraimovich
131811179b
Merge pull request #2564 from getredash/policy
...
Fix: typo fixes in Policy related code.
2018-05-31 18:42:22 +03:00
Levko Kravets
80295ca1e7
Chart tooltips: use date/time format from config
2018-05-31 18:40:18 +03:00
Arik Fraimovich
d71cdf5dbc
Fix: typo fixes in Policy related code.
2018-05-31 18:39:20 +03:00
Arik Fraimovich
65881a0f79
Merge pull request #2562 from getredash/policy
...
Set currentUser value in users list page & use ng-src when needed
2018-05-31 17:27:29 +03:00
Arik Fraimovich
cc3145f895
Fix: set currentUser value in users list page.
2018-05-31 17:26:03 +03:00
Arik Fraimovich
c6b16b62ab
Fix: use ng-src in empty-state.
2018-05-31 17:25:52 +03:00
Arik Fraimovich
f2b49ae7ff
Merge pull request #2561 from getredash/policy
...
Add OrganizationStatus service (and some more)
2018-05-31 15:31:57 +03:00
Arik Fraimovich
3113c9b79e
Don't count disabled users in users count
2018-05-31 15:30:41 +03:00
Arik Fraimovich
6a89d5ea1c
Add extension point to home page
2018-05-31 15:30:27 +03:00
Arik Fraimovich
b7f221542b
Load OrganizationStatus on page load
2018-05-31 15:30:09 +03:00
Arik Fraimovich
cfc3912723
Add OrganizationStatus service and use it in empty state.
2018-05-31 15:28:47 +03:00
Arik Fraimovich
c7614997d9
Merge pull request #2560 from getredash/policy
...
Introduce Policy object
2018-05-31 11:05:51 +03:00
Arik Fraimovich
b323747aaf
Remove unused code.
2018-05-31 10:58:04 +03:00
Arik Fraimovich
64c9e5c963
Add Policy object.
2018-05-31 10:54:40 +03:00
Arik Fraimovich
68e5aec861
Save new dashboard on enter key press.
2018-05-31 10:49:02 +03:00
Arik Fraimovich
617df8e4f6
Merge pull request #2380 from kravets-levko/feature/disable-users
...
Admin should be able to disable a user
2018-05-31 10:24:12 +03:00
Levko Kravets
75f8b8ae7b
getredash/redash#728 Use date/time and number formats only for tooltips
2018-05-30 17:25:30 +03:00
Levko Kravets
3fe8272ce4
getredash/redash#2375 Better error message when trying to disable self user; set disabled user avattar URL on backend and remove profileImage filter
2018-05-28 17:05:39 +03:00
Levko Kravets
ac6d6fc68a
getredash/redash#2375 More tests + fix bug
2018-05-28 14:04:08 +03:00
Levko Kravets
2c84a383f3
getredash/redash#2375 Tests
2018-05-28 14:04:08 +03:00
Levko Kravets
6fb5548106
getredash/redash#2375 CR1
...
- only admin should see disabled users;
- add Disable button to user page;
- escape user name in toastr notifications;
- code cleanup.
2018-05-28 14:04:08 +03:00
Levko Kravets
84fb683bf3
getredash/redash#2375 Disabled users should not be able to login
2018-05-28 14:04:08 +03:00
Levko Kravets
40aee8465b
getredash/redash#2375 Show gray icon for disabled users
2018-05-28 14:04:08 +03:00
Levko Kravets
d40aa09bcf
getredash/redash#2375 Admin should be able to disable a user
2018-05-28 14:04:08 +03:00
Arik Fraimovich
6d1a67fee3
Merge pull request #2554 from kyoshidajp/show_deleting_target_item_name
...
Display name to be delete
2018-05-28 07:15:17 +03:00
Katsuhiko YOSHIDA
621718c3a0
Change the deleting message format
2018-05-28 06:35:32 +09:00
Katsuhiko YOSHIDA
a7e1b2bf68
Display name to be delete
2018-05-28 05:49:39 +09:00
Arik Fraimovich
7f3db4d7b6
Merge pull request #2510 from kyoshidajp/confirm_delete
...
Display confirmation dialog when deleting a item
2018-05-27 08:41:40 +03:00
Vladislav Denisov
8101077371
yandex_metrika: new appmetrika logo
2018-05-25 17:29:53 +03:00
Vladislav Denisov
8422a3657a
metrika: added yaml support
2018-05-25 16:56:27 +03:00
Corey Huinker
76e86817c8
remove blank line
2018-05-21 15:37:00 -04:00
Corey Huinker
95593481a5
Update pg.py
2018-05-21 15:26:46 -04:00
Corey Huinker
fcd984aca6
Allow get_tables to see views and v10-style partitioned tables
...
And it does so with just one query.
2018-05-21 15:18:59 -04:00
Zsolt Kocsmarszky
07519596b8
Merge branch 'discovery' of https://github.com/getredash/redash into discovery
2018-05-21 17:53:16 +02:00
Zsolt Kocsmarszky
3b2bfb9177
fix queries and dashboard list for smaller screens
2018-05-21 17:53:00 +02:00
Arik Fraimovich
a6bc7c02bf
Merge pull request #2509 from kyoshidajp/show_custom_date_format
...
Show custom date format on settings page
2018-05-19 17:49:05 +03:00
Arik Fraimovich
387ca14973
Merge pull request #2526 from deecay/fix-pivot
...
Fix pivot hide control in dashboards
2018-05-18 18:43:38 +03:00
Arik Fraimovich
ead7635a3d
Merge pull request #2511 from kocsmy/fixes/styling-adjustments
...
Fixing signed_out.html template
2018-05-18 18:40:10 +03:00
Arik Fraimovich
7ebcce5370
Merge pull request #2518 from kocsmy/design/styling-improvements
...
Design improvements
2018-05-17 19:08:09 +03:00
Zsolt Kocsmarszky
00a2dfd728
Add readme about illustration license
2018-05-17 14:32:16 +02:00
Zsolt Kocsmarszky
6ed03247ca
Merge https://github.com/getredash/redash into design/styling-improvements
2018-05-17 14:25:43 +02:00
Vladislav Denisov
fcafc40be3
yandex_metrika: codeclimate fixes #2
2018-05-17 10:58:32 +03:00
Arik Fraimovich
23df796740
Merge pull request #2537 from sieben/remove_trailing_semicolon
...
Remove trailing semicolon
2018-05-15 15:55:01 +03:00
Rémy Léone
309a8bd958
Remove trailing semicolon
2018-05-15 14:21:14 +02:00
Levko Kravets
2ed67005b9
Remove unused option
2018-05-15 12:47:13 +03:00
Arik Fraimovich
deb523ebd5
Merge pull request #2523 from innovia/hotfix/boolean-nullable-formator
...
Frontend: fix boolean field with null value display as null.
2018-05-15 11:32:18 +03:00
Arik Fraimovich
acc27f0579
Change migration to be safe to run along with other migrations
2018-05-14 22:02:10 +03:00
Vladislav Denisov
ef3c837a97
metrika: codeclimate fixes
2018-05-14 17:43:53 +03:00
Vladislav Denisov
4a62ab7ce4
Yandex Metrika query runner added
2018-05-14 17:21:58 +03:00
Arik Fraimovich
7553eef024
Remove dashboards recents tests
2018-05-14 11:02:25 +03:00
Arik Fraimovich
2279d32b3b
Merge branch 'discovery' of github.com:getredash/redash into discovery
2018-05-10 22:10:46 +03:00
Levko Kravets
d3e7393bad
Tags: edit (query and dashboard page); show tags in a sidebar (dashboard list page)
2018-05-10 21:51:39 +03:00
Arik Fraimovich
6cd9fe0b52
Merge branch 'discovery' of github.com:getredash/redash into discovery
2018-05-10 21:34:37 +03:00
Arik Fraimovich
42657ed95f
tag listing APIs implemented
2018-05-10 20:59:19 +03:00
Zsolt Kocsmarszky
bd6fac074c
Fix tag layouts on headers
2018-05-10 19:34:25 +03:00
Levko Kravets
c0294cdd0a
Tags: display on all pages
2018-05-10 19:25:37 +03:00
Zsolt Kocsmarszky
b0f6a78ebb
Merge branch 'discovery' of https://github.com/getredash/redash into discovery
2018-05-10 19:04:16 +03:00
Zsolt Kocsmarszky
3b4bd648fe
tags for queries and dashboards
2018-05-10 19:04:10 +03:00
Arik Fraimovich
0060c8a54f
Simpler data model for tags.
2018-05-10 18:58:58 +03:00
Arik Fraimovich
b1ffcbad79
Fixed add dashboard tags migration
2018-05-10 18:07:40 +03:00
Arik Fraimovich
52bda8d117
Merge branch 'discovery' of github.com:getredash/redash into discovery
2018-05-10 18:00:59 +03:00
Arik Fraimovich
08611c009c
Proper tags models
2018-05-10 18:00:54 +03:00
Zsolt Kocsmarszky
8081ea83bc
Merge branch 'discovery' of https://github.com/getredash/redash into discovery
2018-05-10 17:50:51 +03:00
Levko Kravets
6c0afc9c6f
Show spinner when loading dashboards and queries on list pages
2018-05-10 17:25:59 +03:00
Zsolt Kocsmarszky
3e16df9092
Merge branch 'discovery' of https://github.com/getredash/redash into discovery
2018-05-10 16:54:25 +03:00
Zsolt Kocsmarszky
8c4381a44d
Style tags for queries and dashboards
2018-05-10 16:54:15 +03:00
Arik Fraimovich
59f2cb94ab
Merge branch 'discovery' of github.com:getredash/redash into discovery
2018-05-10 14:15:19 +03:00
Arik Fraimovich
5b0a192784
Fix queries search API
2018-05-10 14:15:06 +03:00
Zsolt Kocsmarszky
1aa3dd15b3
Merge branch 'discovery' of https://github.com/getredash/redash into discovery
2018-05-10 14:05:55 +03:00
Zsolt Kocsmarszky
629117d2f0
Adding tags markup for query and dashboard
2018-05-10 14:05:46 +03:00
Levko Kravets
078f24ad6b
Favorites: restore queries search
2018-05-10 14:05:18 +03:00
Levko Kravets
f4a36410c0
Favorites: restore queries search
2018-05-10 14:01:42 +03:00
Zsolt Kocsmarszky
4dc2c44c01
Merge branch 'discovery' of https://github.com/getredash/redash into discovery
2018-05-10 13:17:30 +03:00
Zsolt Kocsmarszky
1186f31337
make entire dashboard and query list row clickable
2018-05-10 13:17:15 +03:00
Arik Fraimovich
5cc7b88235
Hide my dashboards/queries when you don't have permission to create them
2018-05-10 13:11:59 +03:00
Arik Fraimovich
6bbf6809cf
Merge branch 'discovery' of github.com:getredash/redash into discovery
2018-05-10 12:51:54 +03:00
Arik Fraimovich
28a08526e3
add org_id to favorites
2018-05-10 12:51:11 +03:00
Arik Fraimovich
7fe90675bd
Make sure user has access to favorite objects.
2018-05-10 12:41:58 +03:00
Zsolt Kocsmarszky
0958f591d1
add empty states for my queries/dashboard and fav queries/dashboards
2018-05-10 12:32:36 +03:00
Zsolt Kocsmarszky
33314abde7
Merge branch 'discovery' of https://github.com/getredash/redash into discovery
2018-05-10 12:00:56 +03:00
Zsolt Kocsmarszky
3a59f6cd0f
add empty condition for dashboard and query dropdown
2018-05-10 12:00:45 +03:00
Levko Kravets
eb71a655e8
Favorites: empty states on dashboards and queries list pages
2018-05-10 11:58:26 +03:00
Zsolt Kocsmarszky
4bb785eab4
Right aligned control area
2018-05-10 11:30:22 +03:00
deecay
19bfae3741
Fix pivot hide control in dashboards
2018-05-10 03:26:36 -04:00
Arik Fraimovich
afd3dd9860
Merge branch 'discovery' of github.com:getredash/redash into discovery
2018-05-09 21:43:00 +03:00
Arik Fraimovich
66737f0dc0
Almost complete implementation of favorties backend
2018-05-09 21:42:50 +03:00
Zsolt Kocsmarszky
f374661ad9
Merge branch 'discovery' of https://github.com/getredash/redash into discovery
2018-05-09 20:19:28 +03:00
Zsolt Kocsmarszky
ea6dbf643a
Nicer styling for lists
2018-05-09 20:19:15 +03:00
Levko Kravets
24fe52753e
Favorites: remove unnecessary code
2018-05-09 20:15:34 +03:00
Arik Fraimovich
8665747111
Merge branch 'discovery' of github.com:getredash/redash into discovery
2018-05-09 20:10:30 +03:00
Levko Kravets
fcc75cbd16
Favorites: page for favorite dashboards and queries
2018-05-09 20:07:58 +03:00
Zsolt Kocsmarszky
3974adeacd
Further refine styling for tags
2018-05-09 18:43:26 +03:00
Zsolt Kocsmarszky
7dc5d53934
Massive styling improvements for dashboards, queries and alerts lists
2018-05-09 18:27:40 +03:00
Arik Fraimovich
96a90722f1
Merge branch 'discovery' of github.com:getredash/redash into discovery
2018-05-09 16:55:47 +03:00
Levko Kravets
a4e52bcc96
Favorites: show favorite dashboards and queries in app header
2018-05-09 16:53:12 +03:00
Zsolt Kocsmarszky
3abeb6cf96
add and fix classes
2018-05-09 14:35:08 +03:00
Zsolt Kocsmarszky
057894aaf4
Merge branch 'discovery' of https://github.com/getredash/redash into discovery
2018-05-09 14:20:48 +03:00
Zsolt Kocsmarszky
c9ae48f466
Better queries page...
2018-05-09 14:20:12 +03:00
Levko Kravets
78092e525f
Favorites: show favorites on homepage instead of recent items
2018-05-09 14:19:28 +03:00
Arik Fraimovich
189b7889a3
Merge branch 'discovery' of github.com:getredash/redash into discovery
2018-05-09 14:08:18 +03:00
Zsolt Kocsmarszky
32e9b4c71c
Merge branch 'discovery' of https://github.com/getredash/redash into discovery
...
# Conflicts:
# client/app/pages/queries/query.html
2018-05-09 13:42:18 +03:00
Zsolt Kocsmarszky
6c30f821f7
Add more details for favourites
2018-05-09 13:40:09 +03:00
Levko Kravets
8d99b7380c
Favorites: models, control on query list, query page, dashboard list, dashboard pages.
2018-05-09 13:39:47 +03:00
Arik Fraimovich
20f7405f0e
API stub for query object.
2018-05-09 12:58:53 +03:00
Arik Fraimovich
e32da8dbe3
Query favorites: API stub.
2018-05-09 12:57:30 +03:00
Zsolt Kocsmarszky
dbc2d984b3
Add base stuff for favourites
2018-05-09 12:56:00 +03:00
Ami Mahloof
ad0a9813e4
Frontend: fix boolean field with null value display as null.
2018-05-09 11:22:16 +03:00
Levko Kravets
e12d539234
getredash/redash#728 Chart: formats for values, labels and tooltips
2018-05-07 22:18:26 +03:00
Zsolt Kocsmarszky
87000ee4d6
Refine spacing and image size
2018-05-07 14:29:55 +03:00
Arik Fraimovich
414fabadf6
Merge pull request #2520 from kyoshidajp/filter_datasources
...
Filter data sources in a data source input area
2018-05-05 22:00:26 +03:00
Katsuhiko YOSHIDA
d6bebe1dcf
Filter data sources
2018-05-05 21:18:51 +09:00
Zsolt Kocsmarszky
66fd9531cc
Remove fullstop
2018-05-05 00:26:54 +02:00
Zsolt Kocsmarszky
045230d189
Add Illustration to empty states
2018-05-05 00:25:07 +02:00
Zsolt Kocsmarszky
7bd79124b7
Adjust spacing around Group header
2018-05-04 22:50:51 +02:00
Zsolt Kocsmarszky
11d52949a7
Overwrite toast notification colors to better match our color scheme
2018-05-04 22:48:28 +02:00
Zsolt Kocsmarszky
10fc89fc39
Increase query editor height
2018-05-04 22:26:51 +02:00
Zsolt Kocsmarszky
2e414db0b1
Fix query header on smaller screens
2018-05-04 22:16:23 +02:00
atharva.inamdar
48acc4c7a7
fix code climate lint issue with whitespace
2018-05-04 11:47:36 +01:00
atharva.inamdar
a0d039066d
fix tests for google spreadsheets
2018-05-04 11:21:55 +01:00
Katsuhiko YOSHIDA
bd1c5fa9e1
Add location property to BigQuery data source settings
2018-05-04 16:05:54 +09:00
atharva.inamdar
61106dec14
getredash/redash#2504 Update value parsing for google spreadsheets source
2018-05-03 16:35:24 +01:00
Katsuhiko YOSHIDA
26238ccfc1
Confirm delete a data source
2018-05-03 21:23:01 +09:00
Katsuhiko YOSHIDA
3e371d3ffd
Confirm delete a destination
2018-05-03 20:48:53 +09:00
Zsolt Kocsmarszky
038933f1f1
signed_out template fixes
2018-05-03 13:15:13 +02:00
Katsuhiko YOSHIDA
8243b6caed
Confirm delete a query snippet
2018-05-03 19:11:00 +09:00
Katsuhiko YOSHIDA
813a5db958
Refactoring: extract method about date format config
2018-05-03 18:17:02 +09:00
Katsuhiko YOSHIDA
971e501561
Show custom date format on settings page
2018-05-03 18:03:05 +09:00
Arik Fraimovich
a287fbf128
Remove old style files
2018-05-03 09:38:13 +03:00
Arik Fraimovich
d43bfa9d10
Version bump to 4.0.1
2018-05-02 17:18:00 +03:00
Arik Fraimovich
b4d7a25c74
Update CHANGELOG.md
2018-05-02 17:13:46 +03:00
Katsuhiko YOSHIDA
3021c7c0a9
Refactor to fix Code Climate error
2018-05-02 22:50:24 +09:00
Katsuhiko YOSHIDA
4ffcd6390b
Fix pep8 error
2018-05-02 22:02:04 +09:00
Arik Fraimovich
c8a3985f16
Merge pull request #2506 from kocsmy/fixes/overflowing-data-source-box
...
A nicer way of hiding overflowing text
2018-05-02 14:27:59 +03:00
Zsolt Kocsmarszky
3274a5d670
Add data source name to box title
2018-05-02 13:27:26 +02:00
Arik Fraimovich
8037c21a61
Merge pull request #2496 from akiray03/sorted-redshift-schema-info
...
Fixes the order of columns in the schema browser when Redshift is used as a DataSource.
2018-05-02 14:14:38 +03:00
Arik Fraimovich
ee8f6c1c71
Merge pull request #2472 from tonyjiangh/fix/disable_view_only_fork
...
Disable fork button for view_only user
2018-05-02 14:11:55 +03:00
Arik Fraimovich
bce0e8e547
Merge pull request #2507 from getredash/resolution
...
Log user's screen resolution
2018-05-02 14:09:52 +03:00
Arik Fraimovich
cddf398df4
Log user's screen resolution
2018-05-02 14:05:57 +03:00
Arik Fraimovich
bdb8682646
Merge pull request #2501 from getredash/fix-dashboard-filters
...
Improve dashboard refresh UX: show previous data while refreshing.
2018-05-02 14:02:59 +03:00
Arik Fraimovich
54bef2c05f
Remove console.log call
2018-05-02 14:02:43 +03:00
Zsolt Kocsmarszky
d326f2b46c
A nicer way of hiding overflowing text
2018-05-02 12:33:21 +02:00
Arik Fraimovich
06a7a7e65b
Merge pull request #2505 from kocsmy/fixes/overflowing-data-source-box
...
Hide overflowing content
2018-05-02 13:26:31 +03:00
Zsolt Kocsmarszky
fc0a074a07
Hide overflowing content
2018-05-02 12:18:36 +02:00
Arik Fraimovich
44a330a4e6
Merge pull request #2499 from kocsmy/design/design-improvements
...
Design improvements
2018-05-02 10:36:02 +03:00
Zsolt Kocsmarszky
ab284efac1
Fix contianer width
2018-04-30 16:00:57 +02:00
Arik Fraimovich
9d4fd75ea8
Fix: update tests.
2018-04-30 11:16:27 +03:00
Arik Fraimovich
4a9b93a131
Improve dashboard refresh UX: show previous data while refreshing.
...
Also refactored the Widget (client side) model to accomodate the necessary changes.
2018-04-30 11:01:36 +03:00
Zsolt Kocsmarszky
31a48cfe2b
Subtle background change
2018-04-29 14:59:27 +02:00
Zsolt Kocsmarszky
9df98b1c29
Fix login screen on smaller viewport
2018-04-29 14:59:11 +02:00
Akira Yumiyama
d1bc2fb649
Fixes the order of columns in the schema browser when Redshift is used as a DataSource.
2018-04-27 17:56:04 +09:00
Arik Fraimovich
df774b0304
Merge pull request #2492 from kravets-levko/bug/cohort-js-error
...
Cohort bug: JS error (value not wrapped with moment instance)
2018-04-26 15:04:44 +03:00
Levko Kravets
7ac0ba52dd
Cohort bug: JS error (value not wrapped with moment instance)
2018-04-26 14:00:56 +03:00
Arik Fraimovich
b2decc895f
Merge pull request #2487 from getredash/fix-dashboard-filters
...
Fix: dashboard filters setting wasn't persisting.
2018-04-25 11:46:45 +03:00
Arik Fraimovich
b12f3fb133
Merge pull request #2469 from PublicI/fix/null-number-format
...
Display nulls and empty values as blank in table numeric fields
2018-04-24 22:53:57 +03:00
Arik Fraimovich
fc30f141ec
Merge pull request #2489 from dbravender/2488-alert-date-column
...
Fixes #2488
2018-04-24 22:33:42 +03:00
Dan Bravender
277eb35aea
Fixes #2488
2018-04-24 13:50:44 -04:00
Arik Fraimovich
10bc9402b7
Fix: dashboard filters setting wasn't persisting.
2018-04-24 15:50:33 +03:00
Arik Fraimovich
16a07e19cc
Merge pull request #2485 from kocsmy/fixes/new-readme-gif
...
Update readme gif + some smaller content improvements
2018-04-24 15:12:17 +03:00
Zsolt Kocsmarszky
479b34faed
Make gif bigger
2018-04-24 14:04:31 +02:00
Zsolt Kocsmarszky
19eed1580e
Refine content
2018-04-24 14:03:42 +02:00
Zsolt Kocsmarszky
d312dffe2c
Update readme
2018-04-24 13:58:58 +02:00
matsumo
c426ef323d
add support ChatWork Alert Destination.
2018-04-23 17:14:01 +09:00
Arik Fraimovich
90677b2b51
Merge pull request #2475 from ariarijp/fix-pip-version
...
To avoid "cannot import name main" error
2018-04-22 13:44:28 +03:00
ariarijp
df9bd38c08
To avoid "cannot import name main" error
2018-04-20 11:39:36 +09:00
Hao Jiang
be86d659ed
Add $scope.canForkQuery() to data only view
2018-04-20 10:01:04 +09:00
Hao Jiang
66a4315ce2
Move dropdown disabled a tag color change code to disable class
2018-04-20 10:00:46 +09:00
Hao Jiang
b896dd461d
Disable fork for view_only user
2018-04-19 10:44:52 +09:00
Chris Zubak-Skees
615aea7678
Merge remote-tracking branch 'upstream/master' into fix-null-number-format
2018-04-17 12:35:07 -04:00
Chris Zubak-Skees
10a9978b04
Fix style in PR branch
2018-04-17 12:34:20 -04:00
Arik Fraimovich
3f3a86eac3
Update CHANGELOG.md
2018-04-16 11:50:46 +03:00
Arik Fraimovich
43a66fae82
Merge branch 'master' of github.com:getredash/redash
2018-04-16 11:21:24 +03:00
Arik Fraimovich
ed739e1292
Update version
2018-04-16 11:21:14 +03:00
Katsuhiko YOSHIDA
ffa70185be
Get all tables in the BigQuery
2018-04-15 22:59:37 +09:00
Arik Fraimovich
212c7eed46
Merge pull request #2457 from kyoshidajp/fix_td_syntax_error
...
Fix syntax error
2018-04-15 10:45:46 +03:00
Katsuhiko YOSHIDA
ce50042407
Fix syntax error
2018-04-14 09:46:05 +09:00
Arik Fraimovich
e17e36f9e4
Update CHANGELOG.md
2018-04-12 15:40:32 +03:00
Arik Fraimovich
0bc570d741
Merge pull request #2407 from alon710/master
...
adds mattermost destination
2018-04-12 15:17:58 +03:00
Arik Fraimovich
7465c74392
Merge pull request #2428 from toru-takahashi/master
...
Improve a query failure message for Treasure Data Runner
2018-04-12 15:14:24 +03:00
Arik Fraimovich
a8a91109ee
Merge pull request #2452 from kravets-levko/bug/firefox-widget-height-continuously-increases
...
Firefox: widget height continuously increases
2018-04-11 22:29:54 +03:00
Arik Fraimovich
add60c2552
Merge pull request #2451 from kravets-levko/bug/page-layout-lost
...
Wrong page layout if route change was cancelled
2018-04-11 22:29:26 +03:00
Chris Zubak-Skees
f055e6750a
Displays nulls and blanks in numeric fields as empty strings
2018-04-10 19:03:57 -04:00
Levko Kravets
4dc8826beb
Firefox, dashboard, auto-height feature: in some cases (loader shown and widget has params, but possibly other cases) widget start continuously growing
2018-04-10 21:08:27 +03:00
Levko Kravets
d35bbdb257
getredash/redash#2401 Wrong page layout if route change cancelled
2018-04-10 15:42:05 +03:00
Arik Fraimovich
8636c3310d
Merge pull request #2449 from getredash/botocore-update
...
Update botocore version.
2018-04-09 23:02:13 +03:00
Arik Fraimovich
eddd9419a4
Merge pull request #2450 from getredash/map-names
...
Update map visualizations names.
2018-04-09 22:57:40 +03:00
Arik Fraimovich
2d08314982
Update Choropleth visualization name.
2018-04-09 22:57:22 +03:00
Arik Fraimovich
28d69b0c60
Update map visualizations names.
2018-04-09 22:56:10 +03:00
Arik Fraimovich
7f76400550
Update botocore version.
...
Fixes #2400 .
2018-04-09 22:55:20 +03:00
Arik Fraimovich
f551b348a7
Merge pull request #2447 from getredash/patches
...
Fixes to new dashboard layout engine
2018-04-09 09:47:43 +03:00
Toru Takahashi
b1567f4d8d
Add safe guarding with .get()
2018-04-09 01:29:18 +09:00
Arik Fraimovich
d18c94a587
Merge pull request #2420 from fmy/patch-1
...
use MongoClient for ReplicaSet
2018-04-08 15:43:56 +03:00
Arik Fraimovich
f75c142981
Merge pull request #2434 from tonyjiangh/fix/funnel_typo
...
Fix funnel setting page typo
2018-04-08 15:39:09 +03:00
Arik Fraimovich
0959281a01
Merge pull request #2443 from deecay/choropleth-fullscreen
...
Choropleth: Add fullscreen control
2018-04-08 15:38:07 +03:00
Arik Fraimovich
96a0a512f3
Merge pull request #2446 from getredash/patches
...
Update pymongo version to support newer MongoDB versions
2018-04-08 15:33:06 +03:00
Levko Kravets
9899abfe6a
Fix: some legacy dashboards got their widgets misplaced when using auto height.
2018-04-08 15:32:24 +03:00
Arik Fraimovich
d02386488c
Fix: dashboard refresh was broken due to introduction of track by to ng-repeat.
2018-04-08 15:32:14 +03:00
Arik Fraimovich
5f25bc480c
Update pymongo version to support newer MongoDB versions
2018-04-08 15:26:35 +03:00
deecay
07b5003c6f
Map: Add fullscreen control
2018-04-07 14:37:44 +09:00
Arik Fraimovich
8aba5db862
Merge pull request #2441 from tnetennba3/pronoun-fix
...
Changed "his" to "their"
2018-04-06 21:22:44 +03:00
deecay
b3ee25079e
Choropleth: Add fullscreen control
2018-04-06 13:08:28 -04:00
tnetennba3
85179fd07b
Changed "his" to "their"
2018-04-05 16:27:20 +01:00
Hao Jiang
390360cc4e
Fix funnel setting page typo
2018-04-03 08:11:53 +09:00
Toru Takahashi
7edd5b9731
Improve a query failure message for Treasure Data Runner
2018-04-01 15:45:28 +09:00
Fumiya Karasawa
c681a50b19
use MongoClient for ReplicaSet
...
MongoReplicaSetClient is deprecated and will be removed in future.
See http://api.mongodb.com/python/current/api/pymongo/mongo_replica_set_client.html
```
MongoReplicaSetClient will be removed in a future version of PyMongo.
Changed in version 3.0: MongoClient is now the one and only client class for a standalone server, mongos, or replica set. It includes the functionality that had been split into MongoReplicaSetClient: it can connect to a replica set, discover all its members, and monitor the set for stepdowns, elections, and reconfigs.
```
2018-03-29 17:46:27 +09:00
Arik Fraimovich
8df2391a77
Merge pull request #2376 from valentin2105/master
...
Fix docker-entrypoint broke for other name than "postgres"
2018-03-27 09:16:14 +03:00
Valentin Ouvrard
0982e56ed0
fix entrypoint create_table() func.
2018-03-26 10:01:58 +11:00
Arik Fraimovich
0cb995bb35
Merge pull request #2413 from getredash/fix-bq
...
Fix: (BigQuery) UDF URI was used even if empty
2018-03-25 14:39:30 +03:00
Arik Fraimovich
d34d58bf33
Merge pull request #2374 from kravets-levko/feature/choropleth
...
Choropleth visualization
2018-03-25 14:34:45 +03:00
Arik Fraimovich
c19ff41392
Merge pull request #2406 from kravets-levko/feature/dashboard-gridstack
...
Replace dashboard engine with gridstack
2018-03-25 14:27:36 +03:00
Arik Fraimovich
abb6e56570
Fix: UDF URI was used even if empty
2018-03-25 14:22:36 +03:00
Arik Fraimovich
a7bba81969
Merge pull request #2412 from deecay/box-hover-fix
...
Fix: Box plot hover
2018-03-24 21:39:05 +03:00
deecay
6356a75478
Fix: Box plot hover
2018-03-24 20:57:04 +09:00
Levko Kravets
61ef5f9a02
gridstack: add comments, exclude lodash and moment locales from bundle
2018-03-23 19:50:55 +02:00
Levko Kravets
2fbf8926c4
gridstack: optimizations and bugfixes
2018-03-23 19:50:55 +02:00
Levko Kravets
ce9e3fcb35
Replace dashboard engine with gridstack
2018-03-23 19:50:28 +02:00
Arik Fraimovich
ffab6d5ec9
Merge pull request #2411 from getredash/patches
...
Multiple V4 regression fixes
2018-03-23 19:34:07 +03:00
Levko Kravets
be9bcaeb3d
Multiple fixes:
...
* Fix: line chart with category x-axis: when some values missing, wrong hints displayed on hover
* Fix: second Y-axis not displayed when stacking enabled
* Set of dashboard improvements and bug fixes
- set minimal height of widgets to 1 (was 4)
- bug: for some widgets auto-height wasn't calculated properly (sometimess too small, sometimes too large)
- bug: for small widgets, top-right menu was cut to widgets bounds
- bug: with opened top-right menu widgets with auto-height started "dancing"
- bug: at some point auto-height feature was disabling by itself (in fact - it depends on `angular-grindter`s internal processes)
- fix: widget with empty contents had extra 40px of white space (paddings of container)
* Add scrollbars to pivot table widgets
* Fix: 100% CPU loading caused page lags
2018-03-23 19:25:21 +03:00
Arik Fraimovich
d140e0418f
Fix: dashboard was reloading when clicking on refresh.
2018-03-23 19:22:23 +03:00
Arik Fraimovich
6685cb9e21
Load dashboard refresh rate from URL.
2018-03-23 19:22:06 +03:00
Arik Fraimovich
2f24cff33c
Plotly: increase Y value accuracy.
2018-03-23 19:20:28 +03:00
Arik Fraimovich
193a6cce3f
Fix: only try merging query object if it exists.
2018-03-23 19:18:28 +03:00
Arik Fraimovich
17951504f0
Change: apply time limit to alert status checking task.
2018-03-23 19:17:57 +03:00
Arik Fraimovich
ccffe70359
MSSQL Fix: UUID fields were detected as booleans.
2018-03-23 19:17:13 +03:00
Arik Fraimovich
503d6cecd0
DynamoDB fix: always return counter as a number rather than string.
2018-03-23 19:16:54 +03:00
Arik Fraimovich
6fbe06d262
Report Celery queue size.
2018-03-23 19:16:24 +03:00
Arik Fraimovich
2394f3fbe5
Add events property to Organization model.
2018-03-23 19:16:14 +03:00
Arik Fraimovich
cb815f3c8e
Render safe HTML by default in tables to remain backward compatible.
2018-03-23 19:15:47 +03:00
Arik Fraimovich
e6f6c02f90
Fix: saving widget was sending too much data to the server, sometimes making saving fail.
2018-03-23 19:13:40 +03:00
Arik Fraimovich
565e66715f
Fix: Fork button was shown in data only view, but wasn't working.
2018-03-23 19:13:15 +03:00
Arik Fraimovich
549de1355a
Change: show friendly names in dynamic forms labels.
2018-03-23 19:10:26 +03:00
Arik Fraimovich
d892ed48cc
Merge pull request #2387 from idalin/fix_ldap_login
...
fix no login form in ldap login page #2386
2018-03-22 14:04:30 +02:00
alon710
b96204654b
adds mattermost dest
2018-03-22 00:29:49 +02:00
Arik Fraimovich
3c75c2bb60
Update CONTRIBUTING.md
2018-03-21 16:41:02 +02:00
Arik Fraimovich
db020576ed
Merge pull request #2385 from kocsmy/fixex/cassandra-scylla-images
...
Add missing Cassandra and ScyllaDB images
2018-03-19 22:13:48 +02:00
idalin
5a93da3177
fix no login form in ldap login page #2386
2018-03-14 13:59:50 +08:00
Zsolt Kocsmarszky
d16285d239
Add missing images
2018-03-12 20:45:45 +01:00
Arik Fraimovich
0410d834d1
Merge pull request #2382 from deecay/webpack-ignore
...
Webpack: ignore vim swap files
2018-03-11 15:02:44 +02:00
deecay
b79abf52fd
Webpack: ignore vim swap files
2018-03-10 17:48:11 +09:00
Levko Kravets
6a61057813
getredash/redash#2317 CR1
...
- cache GeoJSON to avoid multiple HTTP requests;
- allow to edit map bounds;
- optimize update map calls (do not re-render it every time);
- UI/X imporvements.
2018-03-08 14:46:09 +02:00
Arik Fraimovich
1a75d49041
Merge pull request #2379 from getredash/fix_empty_states
...
Change: close metadata database connection early in the execute query Celery task
2018-03-08 11:17:30 +02:00
Arik Fraimovich
c054731794
Change: close metadata database connection early in the execute query
...
Celery task. This to prevent the task holding an idle connection for
a long period of time, while waiting for the query to finish.
2018-03-08 11:06:15 +02:00
Arik Fraimovich
a824bd5da3
Merge pull request #2378 from getredash/fix_empty_states
...
Empty state screen fix: show connect data source link only to admins
2018-03-08 09:53:29 +02:00
Arik Fraimovich
e1ff31718e
fix circle.yml
2018-03-08 09:46:45 +02:00
Arik Fraimovich
797b5582ac
Fix: show connect data source link only to admins
2018-03-08 09:43:30 +02:00
Valentin Ouvrard
452904398f
Fix docker-entrypoint broke for Other name than "postgres"
2018-03-08 10:04:29 +11:00
Levko Kravets
517f95fa01
Better resize handling
2018-03-07 09:14:24 +02:00
Levko Kravets
d5ee9cd007
Use data from current record for tooltip and popup contents
2018-03-06 21:40:27 +02:00
Levko Kravets
5918253022
Add option to align legend text
...
Remove Leaflet attribution
2018-03-06 21:24:39 +02:00
Levko Kravets
2f30dbf645
getredash/redash#2317 Choropleth visualization
2018-03-06 20:42:48 +02:00
Arik Fraimovich
88deb5fc47
Merge pull request #2372 from kravets-levko/fix/dancing-widgets
...
Fix: dashboard "dancing" widgets (when auto-height enabled)
2018-03-06 15:07:14 +02:00
Levko Kravets
27c7e86297
Fix: dashboard "dancing" widgets (when auto-height enabled)
2018-03-06 14:42:15 +02:00
Arik Fraimovich
051f12c712
Fix tags regex in circle.yml
2018-03-05 12:37:31 +02:00
Arik Fraimovich
f9ab83ed80
Merge pull request #2369 from getredash/query-refresh
...
Add: configuration for query refresh intervals.
2018-03-05 11:28:40 +02:00
Arik Fraimovich
c24bfe82e0
Update changelog.
2018-03-05 11:22:49 +02:00
Arik Fraimovich
4f27de3252
Add: configuration for query refresh intervals.
2018-03-05 11:22:08 +02:00
Arik Fraimovich
bf86d17d56
Stop spamming Docker Hub
2018-03-04 15:36:14 +02:00
Arik Fraimovich
54e23a7c84
Update CHANGELOG and update version.
2018-03-04 15:11:54 +02:00
Arik Fraimovich
6049e2df17
Merge pull request #2356 from kravets-levko/fix/dashboard-auto-height
...
Dashboard fixes and improvements
2018-03-04 14:50:48 +02:00
Arik Fraimovich
025af41616
Merge pull request #2260 from Top20Talent/master
...
Extend the Prometheus query runner to support the range query
2018-03-04 10:57:30 +02:00
Arik Fraimovich
d80f93a59d
Merge pull request #2355 from jezdez/glue-table-paginator-upstream
...
Use a paginator when iterating over glue tables
2018-03-04 10:56:56 +02:00
Arik Fraimovich
5aa4b28d53
Merge pull request #2354 from jezdez/redash-extensions
...
Add a Redash extension system based on Python entrypoints.
2018-03-04 10:56:08 +02:00
Arik Fraimovich
6a072dd33a
Merge pull request #2363 from kravets-levko/bug/query-page-unscrollable
...
Query page long visualization is unscrollable
2018-03-04 10:53:33 +02:00
Levko Kravets
67995085c6
getredash/redash#2361
2018-03-02 13:12:45 +02:00
Levko Kravets
9295a9d8fb
Dashboard: save only changed widgets
2018-03-01 16:28:34 +02:00
Levko Kravets
43cd24927f
gridsterAutoHeight: disable auto-height when widget resized by user
2018-03-01 14:46:53 +02:00
Jannis Leidel
6b41644557
Add a Redash extension system based on Python entrypoints.
...
This is along the lines of what Flask does for CLI plugins:
http://flask.pocoo.org/docs/0.12/cli/#cli-plugins
The API allows specifying Python callbacks that receive the
Redash Flask app as the only argument and allow extending
the Redash process with the usual Flask API as needed. This
does not cover front-end specific extensions (yet).
2018-02-28 23:37:03 +01:00
Blake Imsland
dceb58cd79
Use a paginator when iterating over glue tables
...
Without this you only get the first 100 tables in the glue database
2018-02-28 22:10:54 +01:00
Arik Fraimovich
570187fc1f
Merge pull request #2353 from kocsmy/fixes/filter-spacing-on-dashboards
...
Fix small spacing glitch on dashboard widgets
2018-02-28 18:16:09 +02:00
Zsolt Kocsmarszky
ca4663e3a4
fix small spacing glitch on dashboard widgets
2018-02-28 17:08:55 +01:00
Arik Fraimovich
6e097d5cec
Merge pull request #2352 from kravets-levko/bug/query-result-column-names
...
Cast column names to string
2018-02-28 17:08:28 +02:00
Arik Fraimovich
2c95231fd7
Merge pull request #2334 from tonyjiangh/feat/funnel_visualization
...
Add funnel visualization
2018-02-28 17:06:37 +02:00
Hao Jiang
0d80156eec
Rename visualization options for review
2018-02-28 23:44:42 +09:00
Levko Kravets
08c709c2ec
getredash/redash#1960 Cast column names to string; code style fixes
2018-02-28 13:28:15 +02:00
Arik Fraimovich
bb28b2f0fb
Merge pull request #2350 from getredash/auth
...
Authentication related settings improvements
2018-02-28 12:16:11 +02:00
Arik Fraimovich
0e4313de52
Merge pull request #2349 from kravets-levko/fix/dashboard-issues
...
Fix/dashboard issues
2018-02-27 23:22:59 +02:00
Arik Fraimovich
e76e29df24
Merge pull request #2348 from kocsmy/fixes/prometheus-logo
...
Add missing prometheus and snowflake logos
2018-02-27 23:21:09 +02:00
Arik Fraimovich
d1062ce0c4
Properly generate login URLs.
2018-02-27 23:14:57 +02:00
Arik Fraimovich
9ddf3745b8
Configuration for Google Apps.
2018-02-27 23:10:10 +02:00
Arik Fraimovich
0eefc7b592
join array filter.
2018-02-27 23:09:21 +02:00
Arik Fraimovich
bea035025e
Callout sections css.
2018-02-27 23:09:12 +02:00
Arik Fraimovich
33aa7b72b7
Enable debug mode for Flask.
2018-02-27 23:09:00 +02:00
Arik Fraimovich
ca54d23f92
Remove unused LESS code.
2018-02-27 23:08:43 +02:00
Levko Kravets
7d6244a322
Revisit default options; set auto-height for Table viz by default
2018-02-27 18:25:57 +02:00
Levko Kravets
f61a74bbee
Fix: 'Cannot read property of null' JS error when going away from dashboard page
2018-02-27 18:25:21 +02:00
Levko Kravets
7d258908c6
getredash/redash#2108 Fix: length limit increased
2018-02-27 18:24:26 +02:00
Zsolt Kocsmarszky
0e53356589
add missing prometheus and snowflake logos
2018-02-27 16:52:33 +01:00
Hao Jiang
aa43dcdb2b
Add hover text for full step name
2018-02-27 23:22:41 +09:00
Arik Fraimovich
093c48505a
Merge pull request #2347 from kravets-levko/fix/download-dataset-dropup
...
Fix: download dataset dropup is being cut off
2018-02-27 15:30:57 +02:00
Levko Kravets
c19ef632aa
Fix: download dataset dropup is being cut off
2018-02-27 15:24:37 +02:00
Arik Fraimovich
bb1455ec71
Merge pull request #2346 from getredash/auth
...
Authentication fixes (SAML and login page)
2018-02-26 21:11:52 +02:00
Arik Fraimovich
09af43c4a7
remove unnecessary test.
2018-02-26 20:57:21 +02:00
Arik Fraimovich
35594ecb00
Always show login page and generate URLs with url_for.
...
Close #1259 , #2235 .
2018-02-26 20:46:27 +02:00
Arik Fraimovich
3044c77309
Make SAML work in MULTI_ORG mode.
2018-02-26 20:40:28 +02:00
Hao Jiang
0632044573
Handle corner cases
2018-02-26 22:21:05 +09:00
jubel
e6551e9774
remove the type
2018-02-26 14:58:30 +08:00
Arik Fraimovich
11d09b2f09
Fix empty-state logic for MULTI_ORG mode
2018-02-25 11:49:07 +02:00
Arik Fraimovich
8676b846c2
Add support for symlinks in webpack config
2018-02-25 11:13:54 +02:00
Arik Fraimovich
d4f98aa7f7
Merge pull request #2337 from ariarijp/upgrade-sqlparse
...
Upgrade sqlparse to 0.2.4
2018-02-24 21:29:08 +02:00
Arik Fraimovich
35458e846c
Merge pull request #2338 from kravets-levko/fix/table-columns-nowrap
...
Custom CSS based on column type
2018-02-24 21:28:10 +02:00
jubel
49e9133fed
style adjustment
2018-02-24 16:35:10 +08:00
Levko Kravets
5dd76674ff
getredash/redash#2215 Custom CSS based on column type
2018-02-23 11:19:07 +02:00
Hao Jiang
8bdd5ff662
Fix sort order
2018-02-23 09:25:04 +09:00
Hao Jiang
9e68b36de6
Add support for selecting column to sort
2018-02-23 09:18:37 +09:00
Hao Jiang
e78bfb2e9a
Add support for column mapping
2018-02-23 09:15:56 +09:00
ariarijp
f5d4ca85d8
Upgrade sqlparse to 0.2.4
...
Add test case for /api/queries/format
2018-02-23 01:24:34 +09:00
Arik Fraimovich
c65b637bc4
Merge pull request #2336 from kravets-levko/fix/settings-tabs-order
...
Explicitly set order of tabs on Settings page
2018-02-22 15:31:52 +02:00
Levko Kravets
062efe349f
Explicitly set order of tabs on Settings page
2018-02-22 15:16:09 +02:00
Arik Fraimovich
696f46d64b
Merge pull request #2252 from kocsmy/design/empty-states
...
Empty states for Home, Dashboards, Queries and Alerts
2018-02-22 11:26:13 +02:00
Arik Fraimovich
42b88d9a32
Ignore archived objects.
2018-02-22 11:04:13 +02:00
Arik Fraimovich
3a840fcc5d
Implement empty states logic.
2018-02-22 11:02:12 +02:00
Hao Jiang
a333abcaa5
Use ColorPalette instead
2018-02-22 08:44:39 +09:00
Hao Jiang
d583f6f273
Add funnel visualization
2018-02-21 22:41:31 +09:00
Arik Fraimovich
a1aeb1d614
Merge pull request #2330 from getredash/arikfr-patch-1
...
Sort widgets by col/row to make sure they are placed correctly
2018-02-21 14:49:10 +02:00
Arik Fraimovich
bd13b78e21
Merge pull request #2320 from kravets-levko/bug/few-bugfixes
...
Few bugfixes
2018-02-20 22:41:05 +02:00
Arik Fraimovich
4d44be76ac
Create <empty-state> component.
2018-02-20 22:29:07 +02:00
Levko Kravets
8cd758cfb6
Update 'absoluteUrl' function
2018-02-20 22:13:48 +02:00
Arik Fraimovich
9a1077d192
Merge branch 'master' into design/empty-states
2018-02-20 21:09:43 +02:00
Arik Fraimovich
bc4f174e22
Sort widgets by col/row to make sure they are placed correctly
2018-02-20 20:45:32 +02:00
Levko Kravets
046595825c
Rename: fullUrl -> absoluteUrl
2018-02-19 23:19:03 +02:00
Arik Fraimovich
e0c5eabdd5
Merge pull request #2324 from kravets-levko/bug/type-of-first-table
...
User shouldn't be able to change the type of the first table
2018-02-19 23:07:26 +02:00
Arik Fraimovich
06e9d192ef
Merge pull request #2325 from benmanns/patch-1
...
Reduce restart to unless-stopped for Redis and Postgres
2018-02-19 22:33:43 +02:00
Arik Fraimovich
906c8fc767
Merge pull request #2282 from kocsmy/design/improve-default-visualisation-colors
...
Improve visualisation colors
2018-02-19 22:32:37 +02:00
Benjamin Manns
6149e00c2f
Reduce restart to unless-stopped for Redis and Postgres
...
`restart: always` will cause containers to restart when the machine is rebooted or the docker process restarts. Setting this to `unless-stopped` will mean the container will restart only if the docker process/computer was rebooted without stopping the container first. Otherwise, running `docker-compose stop` and rebooting will cause the docker containers all to start again (and goodbye laptop battery!)
We might also consider `restart: on-failures` which would mean that rebooting would _not_ cause containers to start again unless requested via `docker-compose up`.
2018-02-19 11:07:02 -05:00
Zsolt Kocsmarszky
b053770998
less vivid colors fo charts
2018-02-18 19:55:00 +01:00
Zsolt Kocsmarszky
45b380ca00
Merge branch 'master' into design/improve-default-visualisation-colors
2018-02-18 18:05:56 +01:00
Arik Fraimovich
631dad11d6
Merge pull request #2319 from kravets-levko/feature/server-pages-redesign
...
Redesign of all pages that are rendered by backend code
2018-02-18 14:53:49 +02:00
Levko Kravets
9647c37285
getredash/redash#2312
2018-02-18 14:08:44 +02:00
Zsolt Kocsmarszky
9e5f749556
Change default visualization colors
2018-02-17 18:21:11 +01:00
Zsolt Kocsmarszky
c69795c0cd
Merge branch 'master' into design/improve-default-visualisation-colors
2018-02-17 17:47:02 +01:00
Levko Kravets
339f5537c6
Remove code related to hidden text widgets + UI improvements
2018-02-16 21:25:29 +02:00
Levko Kravets
d2c5be5bd5
Replace with window.location
2018-02-16 21:04:45 +02:00
Levko Kravets
21b753f9b5
Bug fixed: empty page when trying to open public dashboard
2018-02-16 20:59:53 +02:00
Levko Kravets
a28a6ea127
Bug: Invite user / Reset password links should be full (include shema and host)
2018-02-16 20:39:18 +02:00
Levko Kravets
38da3e9fef
Add SSO login buttons to invite user page; UI fixes
2018-02-16 13:32:40 +02:00
Levko Kravets
f1aad2545e
redesign of all pages that are rendered by backend code
2018-02-15 21:49:11 +02:00
Arik Fraimovich
927599cf00
Mark current version as v4-beta
2018-02-14 17:06:51 +02:00
Arik Fraimovich
eae3b1dc0f
Update changelog for v4
2018-02-14 16:26:44 +02:00
Arik Fraimovich
d6cc7489b1
Merge pull request #2311 from kravets-levko/feature/add-widget-dialog-update
...
Add Widget Dialog UX Update
2018-02-14 12:52:12 +02:00
Arik Fraimovich
1b6aaeb663
Merge pull request #2314 from kocsmy/design/add-csv-image
...
Add CSV image for data source images
2018-02-14 10:17:24 +02:00
yuua
edd709838d
Fix: pyHive type matches
2018-02-14 11:52:17 +09:00
Zsolt Kocsmarszky
5e72e6bf1a
add CSV image
2018-02-14 00:54:39 +01:00
Levko Kravets
fa03e12b96
getredash/redash#2214 CR1
2018-02-13 23:39:10 +02:00
Arik Fraimovich
adb6a1adee
Merge pull request #2313 from kravets-levko/bug/cannot-remove-widgets
...
Fix: widget is not removed from dashboard, only after page refresh
2018-02-13 22:47:30 +02:00
Levko Kravets
8ec0cda10b
Fix: widget is not removed from dashboard, only after page refresh
2018-02-13 21:53:21 +02:00
Levko Kravets
41789fa1db
getredash/redash#2214 Add Widget Dialog UX Update
2018-02-13 20:47:30 +02:00
Arik Fraimovich
17f3b1e92d
Merge pull request #1692 from kakakakakku/fix-redis-metrics
...
Fixed monitoring metrics for Redis
2018-02-11 15:54:58 +02:00
Arik Fraimovich
aa06e44ff8
Merge pull request #2099 from ariarijp/fix/create_db
...
Fix create_db command of docker-entrypoint
2018-02-11 15:48:56 +02:00
Arik Fraimovich
94295788ec
Merge pull request #2248 from sjakthol/multiorg-header-login
...
feat: make trusted header authentication compatible with multiorg mode
2018-02-11 15:41:46 +02:00
Arik Fraimovich
5aa620d1ec
Merge pull request #2309 from getredash/fix_params
...
Add: API to return events
2018-02-11 12:11:32 +02:00
Arik Fraimovich
2560d887f0
Fix import call
2018-02-11 12:04:12 +02:00
Arik Fraimovich
f14388f770
Require admin for events GET call.
2018-02-11 11:57:46 +02:00
Arik Fraimovich
7e4cb4c543
Add: API to return events
2018-02-11 11:56:10 +02:00
Arik Fraimovich
953efc472f
Merge pull request #2308 from getredash/fix_params
...
Fix: parameters list was resetting when adding a new parameter
2018-02-11 11:55:47 +02:00
Arik Fraimovich
5343dd9acf
Fix: parameters list was resetting when adding a new parameter
2018-02-11 11:48:12 +02:00
Arik Fraimovich
29c675b553
Update RDS CA bundle
2018-02-11 11:40:56 +02:00
Arik Fraimovich
e328b783f3
Make the S3 staging path label mention query results
2018-02-11 10:26:25 +02:00
Arik Fraimovich
e183b51702
Merge pull request #2307 from getredash/mognodb_nested_fields
...
Add an option to set a common prefix to the backend logs.
2018-02-10 22:09:39 +02:00
Arik Fraimovich
a82239d719
Add an option to set a common prefix to the backend logs.
2018-02-10 22:08:01 +02:00
Arik Fraimovich
12f9c1a159
Merge pull request #2306 from getredash/mognodb_nested_fields
...
Add Prometheus to the default query runners list.
2018-02-10 22:06:42 +02:00
Arik Fraimovich
037f8b7183
Add Prometheus to the default query runners list.
2018-02-10 22:05:59 +02:00
Arik Fraimovich
ce69d3069b
Merge pull request #2305 from getredash/mognodb_nested_fields
...
Update botocore version to support Glue
2018-02-10 22:05:52 +02:00
Arik Fraimovich
66a8941a23
Update botocore version to support Glue
2018-02-10 22:04:36 +02:00
Arik Fraimovich
94a770ae7a
Merge pull request #2304 from getredash/mognodb_nested_fields
...
Close #1199 : support for nested fields in MongoDB results
2018-02-10 22:03:04 +02:00
Arik Fraimovich
0bbfa8bb8e
remove whitespaces
2018-02-10 22:00:55 +02:00
Arik Fraimovich
5ad893a266
Close #1199 : support for nested fields in MongoDB results
2018-02-10 21:55:06 +02:00
Arik Fraimovich
790ac2ec54
Merge pull request #2303 from kravets-levko/fix/webpack-config-3
...
Fix webpack config (server-rendered pages); fix assets URLs
2018-02-09 22:34:32 +02:00
Levko Kravets
ceb1c62528
Fix webpack config (server-rendered pages); fix assets URLs
2018-02-09 19:16:48 +02:00
Arik Fraimovich
e460c18d4a
Merge pull request #2301 from kravets-levko/fix/webpack-config-2
...
Fix webpack config and some assets URLs
2018-02-08 20:27:06 +02:00
Levko Kravets
182d2d040e
Fix config; fix assets URLs
2018-02-08 16:39:36 +02:00
Levko Kravets
878908cbf7
Fix webpack config and some assets URLs
2018-02-08 14:07:26 +02:00
Arik Fraimovich
f703a602f0
Merge pull request #2266 from javier-sanz/quotedPasswords
...
Url password can have quoted special characters.
2018-02-08 11:49:24 +02:00
Arik Fraimovich
07d8babab4
Merge pull request #2296 from getredash/webpack
...
Assets serving changes
2018-02-08 11:39:36 +02:00
Arik Fraimovich
5e97834b80
Fix upgrade script to support CI builds
2018-02-08 11:35:12 +02:00
Arik Fraimovich
943dcf1da3
Merge pull request #2281 from kravets-levko/feature/cohort-improvements
...
Cohort visualization improvements
2018-02-08 11:27:35 +02:00
Arik Fraimovich
4090875fcd
Merge pull request #2257 from kocsmy/design/error-pages
...
Error screens
2018-02-08 09:38:05 +02:00
Arik Fraimovich
e69f8fa009
Show standard error messages.
2018-02-08 09:33:03 +02:00
Arik Fraimovich
d6eb8f436f
Handle unknown routes in Angular by showing Page Not Found error
2018-02-08 09:33:03 +02:00
Zsolt Kocsmarszky
69b3ea4715
Rearrange the error-state box and place it middle
2018-02-08 09:33:03 +02:00
Zsolt Kocsmarszky
8f52f51e91
Fix content to center
2018-02-08 09:33:03 +02:00
Zsolt Kocsmarszky
a668416dae
Nicer error message and box with icon
2018-02-08 09:33:03 +02:00
Arik Fraimovich
96ad3aaa25
Use jQuery from npm packages
2018-02-07 23:08:03 +02:00
Arik Fraimovich
4e5c425932
Merge pull request #2297 from kravets-levko/bug/filter-dropdown
...
Filters dropdown is "trapped" inside the widget area
2018-02-07 21:09:01 +02:00
Arik Fraimovich
549416694f
Fix: login_required decorator was misplaced
2018-02-07 21:07:04 +02:00
Levko Kravets
9532540b54
getredash/redash#2295
2018-02-07 20:22:02 +02:00
Arik Fraimovich
a6cf7643c9
Fix webpack-dev-server setup
2018-02-07 17:18:38 +02:00
Arik Fraimovich
568b3e392b
Switch back to single assets path.
2018-02-07 16:43:48 +02:00
Arik Fraimovich
40ffa349f0
Load all assets from a single directory (Webpack's output path). Also make sure all assets URLs are prefixed with /static/ and remove our custom assets serving handler.
2018-02-07 16:43:25 +02:00
Arik Fraimovich
95f4d993b7
Added webpack-manifest plugin
2018-02-07 14:15:21 +02:00
Levko Kravets
f303bc7f53
getredash/redash#2163 CR1
2018-02-07 11:04:47 +02:00
Zsolt Kocsmárszky
d81af63f24
Merge pull request #2291 from kravets-levko/fix/query-refresh-schedule
...
Make "refresh schedule" part of the rest of the query metadata
2018-02-06 12:31:21 +01:00
Arik Fraimovich
722678f6d1
Merge pull request #2278 from getredash/dashboards_migrations
...
Move widget position logic migration to the backend and remove some unused code.
2018-02-06 08:44:31 +02:00
Arik Fraimovich
c0778809ab
Merge pull request #2288 from kocsmy/design/new-user-layout
...
New user layout improvement
2018-02-05 13:41:43 +02:00
Arik Fraimovich
8679cfefbf
Merge pull request #2289 from kocsmy/design/visualisation-editor-improvements
...
Improve visualisation editor
2018-02-05 13:37:35 +02:00
Levko Kravets
5064744f8b
getredash/redash#2279
2018-02-05 13:35:50 +02:00
Arik Fraimovich
ce15f5665c
Merge pull request #2290 from kravets-levko/bug/table-html-escape
...
Don't escape values in non-html mode
2018-02-05 13:12:44 +02:00
Levko Kravets
8d973d847d
getredash/redash#1731 Don't escape values in non-html mode
2018-02-05 13:04:11 +02:00
Zsolt Kocsmarszky
fd030e4d77
Further improve design details
2018-02-05 02:22:05 +01:00
Zsolt Kocsmarszky
6d12794c96
better layout for the visualisation editor
2018-02-05 02:14:30 +01:00
Zsolt Kocsmarszky
af4ecb5085
Nicer layout for add user + typoe fix
2018-02-05 01:52:31 +01:00
Arik Fraimovich
a5904a6e50
Merge pull request #2287 from kravets-levko/feature/table-link-column
...
Table visualization: "Link" column type
2018-02-04 15:26:17 +02:00
Levko Kravets
361b68d857
Table viz: Link column CR1
2018-02-04 15:25:39 +02:00
Levko Kravets
55d47ede08
Table viz: Link column type
2018-02-04 15:06:08 +02:00
Arik Fraimovich
d97b8d0958
Cast totalBytesProcessed to int.
2018-02-03 21:14:50 +02:00
Zsolt Kocsmarszky
2ed446be80
less neon green
2018-02-02 22:41:47 +01:00
Arik Fraimovich
178f46e5b1
Merge pull request #2284 from getredash/bigquery
...
Improvements to BigQuery query runner
2018-02-02 23:19:51 +02:00
Arik Fraimovich
d01dfe4bf7
BigQuery: show amout of data scanned.
2018-02-02 23:18:27 +02:00
Arik Fraimovich
2f8db2531f
BigQuery: properly handle RECORD fields (show nested fields).
...
Closes #1413 .
2018-02-02 23:18:04 +02:00
Sami Jaktholm
4a719fcb39
followup: coding style fixes to tests
2018-02-02 20:17:53 +02:00
Sami Jaktholm
a96b0b6e4c
feat: make trusted header authentication compatible with multiorg mode
...
The previous implementation of remote header login did not
support the multiorg mode of Re:Dash. These changes modify
the trusted header authentication to expose a per-organization
login endpoint that logs users in the specified organization.
The feature itself is not that interesting as multiorg is pretty
much impossible to use in a standalone Re:Dash installation. What's
more interesting is that all tests are executed in multiorg mode. It's
not possible to write tests for the trusted header authentication if
the method does not support multiorg mode.
To make benefits of these changes more concrete, some tests were
written to test the basic functionality of trusted header
authentication.
2018-02-02 20:17:53 +02:00
Arik Fraimovich
daea3337b0
Merge pull request #2283 from kravets-levko/feature/table-image-column
...
Table visualization: "Image" column type
2018-02-02 17:32:05 +02:00
Levko Kravets
868944bd91
getredash/redash#2138 Table viz: Image column type
2018-02-02 16:34:09 +02:00
Zsolt Kocsmarszky
caf0070d14
Merge branch 'master' into design/improve-default-visualisation-colors
2018-02-01 22:35:01 +01:00
Zsolt Kocsmarszky
c9b28785fb
Improve visualisation colors
2018-02-01 22:32:30 +01:00
Levko Kravets
af7fb278e8
Cohort viz: add Mode option and two rendering modes; options to map columns; UI tweaks
2018-02-01 18:16:00 +02:00
Arik Fraimovich
34d22ee418
Merge pull request #2245 from kocsmy/design/query-round-3
...
Further Query Improvements
2018-02-01 14:47:41 +02:00
Arik Fraimovich
33b4c7c4c3
Move widget position logic migration to the backend and remove some unused code.
...
Closes #2218 .
2018-02-01 14:40:40 +02:00
Arik Fraimovich
a6f3873059
Merge pull request #2247 from sjakthol/saml-groups-fix
...
fix: commit saml user group assignment to the database
2018-02-01 14:29:34 +02:00
Arik Fraimovich
aa60554389
Merge pull request #2249 from sjakthol/saml-settings-form-fix
...
fix: update correct settings in saml settings form
2018-02-01 14:25:14 +02:00
Arik Fraimovich
6f7e95d419
Merge pull request #2267 from alexdrans/es_source_content_type_fix
...
Setting source_content_type on ES queries
2018-02-01 14:23:52 +02:00
Arik Fraimovich
4c7a0cdc3b
Merge pull request #2270 from jezdez/celery-3.1.25
...
Upgrade to Celery 3.1.25 in preparation to Celery 4.
2018-02-01 14:21:26 +02:00
Arik Fraimovich
bbfad16712
Merge pull request #2277 from kocsmy/fixes/widget-parameter-padding
...
Fix bottom spacing for widget parameter section
2018-02-01 09:19:23 +02:00
Zsolt Kocsmarszky
94d47abee6
Remove code duplicate
2018-01-31 22:07:29 +01:00
Zsolt Kocsmarszky
75c94c2cbd
Fix parameter bottom spacing on widgets
2018-01-31 22:06:10 +01:00
Javier Sanz Olivera
44c2526da2
Fixing style
2018-01-31 16:07:23 +01:00
Javier Sanz Olivera
c05e4b7366
Adapting code to redish style plus added the field to the helper
2018-01-31 16:03:50 +01:00
Arik Fraimovich
77eeba264f
Merge pull request #2276 from kravets-levko/fix/insert-shema-node-by-click
...
Insert schema node by click - fixes
2018-01-31 17:02:44 +02:00
Levko Kravets
bbe11f597c
Insert only column name; save cursor position
2018-01-31 16:57:55 +02:00
Levko Kravets
3950c9e5e6
Move scrollbars from right-side area to visualization area
2018-01-31 13:39:40 +02:00
Levko Kravets
6839976312
Fix bug: query editor did not restore its size after toggle
2018-01-31 13:35:40 +02:00
Levko Kravets
7fa765911f
Remove unused styles
2018-01-31 13:35:40 +02:00
Levko Kravets
d5acf48161
getredash/redash#2234 Toggle resizable blocks
2018-01-31 13:35:40 +02:00
Levko Kravets
dfc9c5d02b
getredash/redash#2234 CR1
2018-01-31 13:35:40 +02:00
Levko Kravets
d2c80e96f7
getredash/redash#2234 Improve query page markup + add scrollbars for each region
2018-01-31 13:35:40 +02:00
Zsolt Kocsmarszky
34a2d5fdc4
Move publish button the visible area
2018-01-31 13:28:46 +02:00
Zsolt Kocsmarszky
936144f6a0
attach people data to the bottom too
2018-01-31 13:28:46 +02:00
Zsolt Kocsmarszky
bacddea809
smaller padding fix
2018-01-31 13:28:46 +02:00
Zsolt Kocsmarszky
5404cc6377
fix schema editor on smaller screens
2018-01-31 13:28:46 +02:00
Zsolt Kocsmarszky
9c28948d5c
make schema browser fill up the space
2018-01-31 13:28:46 +02:00
Zsolt Kocsmarszky
797393727d
Attach refresh tot he bottom
2018-01-31 13:28:46 +02:00
Arik Fraimovich
2655dbe939
Merge pull request #2275 from kravets-levko/bug/insert-node-update-model
...
Query editor insert node from schema browser update ngModel
2018-01-31 13:09:25 +02:00
Levko Kravets
c2de59ca33
Query editor insert node from schema browser - update ng-model
2018-01-31 13:04:15 +02:00
Arik Fraimovich
a5c954a954
Merge pull request #2273 from kravets-levko/bug/dashboard-dropdown
...
Open "Refresh" dropdown to the left
2018-01-31 12:13:07 +02:00
Levko Kravets
b6827bb8c2
getredash/redash#2272 Open dropdown to the left
2018-01-31 11:49:25 +02:00
Arik Fraimovich
5dde17e421
Merge pull request #2269 from kravets-levko/fix/remove-progress-when-query-param-changes
...
Remove loading indicator when updating query parameter value (before executing)
2018-01-31 11:28:07 +02:00
Levko Kravets
06b5b09b86
getredash/redash#2161 Remove loading indicator when query params changed
2018-01-30 21:06:15 +02:00
Jannis Leidel
7b82203fb1
Upgrade to Celery 3.1.25 in preparation to Celery 4.
...
To prepare for a future Celery upgrade to verson 4.x this upgrades
Redash to 3.1.25 which includes support for Celery's task protocol 2.
It's the first of two steps to get Redash upgraded to Celery 4.x.
3.1.4 release notes: http://docs.celeryproject.org/en/3.1/changelog.html#version-3-1-24
4.0 release notes regarding the two-step-upgrade approach: http://docs.celeryproject.org/en/latest/whatsnew-4.0.html#step-1-upgrade-to-celery-3-1-25
2018-01-30 19:22:33 +01:00
Arik Fraimovich
e2042b13b0
Merge pull request #2268 from getredash/dashboard-refresh-interval
...
Make dashboard refresh intervals configurable
2018-01-30 13:49:19 +02:00
Arik Fraimovich
a557d9fa70
Make dashboard refresh intervals configurable
2018-01-30 13:46:19 +02:00
Alex Dransfield
21d14c5388
Setting source_content_type on ES queries
2018-01-30 11:02:01 +00:00
Javier Sanz Olivera
e605176673
Fixing style issue.
2018-01-30 01:19:03 +01:00
Javier Sanz Olivera
4a8a23768f
Fixing build and some style issues.
2018-01-30 01:15:17 +01:00
Javier Sanz Olivera
11d4fb4dbe
Password can be None
2018-01-30 01:07:51 +01:00
Javier Sanz Olivera
a948544d4c
Removing unused import.
2018-01-30 00:52:11 +01:00
Javier Sanz Olivera
cf7d04332b
Reverting unquote helper change.
2018-01-30 00:51:13 +01:00
Javier Sanz Olivera
c614ff4a15
Url password can have quoted special characters.
2018-01-30 00:37:30 +01:00
Arik Fraimovich
817f2ba9af
Merge pull request #2156 from kravets-levko/feature/revisit-chart
...
Revisit Plotly integration
2018-01-29 16:48:37 +02:00
Levko Kravets
862bc947f7
getredash/redash#2117 CR7
2018-01-29 12:44:43 +02:00
Arik Fraimovich
d38a443053
Merge pull request #2246 from kyoshidajp/enable_list_query
...
[WIP]Enable list query by one character when adding widget on Dashboard
2018-01-28 14:09:09 +02:00
Arik Fraimovich
c7284d6662
Merge pull request #2264 from kocsmy/design/pivot-table
...
Improved pivot table design
2018-01-28 13:58:40 +02:00
Arik Fraimovich
76d8613d3e
Merge pull request #2219 from kocsmy/design/new-dashboard-creation
...
Improve dashboard editing flow
2018-01-28 13:18:39 +02:00
Arik Fraimovich
3aee4e9ed8
remove second add-widget-container
2018-01-28 13:17:55 +02:00
Arik Fraimovich
4029821e93
Properly handle dashbaords filters toggle.
2018-01-28 12:37:35 +02:00
Zsolt Kocsmarszky
5a9b86ff69
make button texts consistent with queries
2018-01-28 12:37:35 +02:00
Arik Fraimovich
c7dbe07b33
Single dashboard editing mode.
2018-01-28 12:37:35 +02:00
Zsolt Kocsmarszky
a98eff8901
improve widget description
2018-01-28 12:37:35 +02:00
Zsolt Kocsmarszky
b090b6b9dc
Only render parameters div if we have parameters
2018-01-28 12:37:35 +02:00
Zsolt Kocsmarszky
dd3916672a
Wider add widget section for dashboards
2018-01-28 12:37:35 +02:00
Zsolt Kocsmarszky
f7512f18f6
Fix schema hover on sub-items
2018-01-28 12:37:35 +02:00
Zsolt Kocsmarszky
cfb4a1c4f7
Simplify markup and add more styling for add new widget box
2018-01-28 12:37:35 +02:00
Zsolt Kocsmarszky
4b74ab361a
Styling improvements + show buttons in the right context
2018-01-28 12:37:00 +02:00
Zsolt Kocsmarszky
977608198e
position: sticke for dashboard-header
2018-01-28 12:37:00 +02:00
Zsolt Kocsmarszky
7b62ee8715
Add extra header class and fixed styling
2018-01-28 12:37:00 +02:00
Zsolt Kocsmarszky
80e07c6cf9
add ng-if to hide and show sections accordingly
2018-01-28 12:37:00 +02:00
Zsolt Kocsmarszky
043a1eedcf
Add missing class for consistency
2018-01-28 12:37:00 +02:00
Zsolt Kocsmarszky
d95c9565f3
plenty of dashboard, filter and parameter fixes (still not the best, it's very messy here)
2018-01-28 12:37:00 +02:00
Zsolt Kocsmarszky
84532f84ac
Improve dashboard widget creation and publish process with multiple design improvements
2018-01-28 12:37:00 +02:00
Zsolt Kocsmarszky
d9892f852b
add new widget to the bottom of the dashboard
2018-01-28 12:37:00 +02:00
Zsolt Kocsmarszky
d6847201e5
Optimise and remove unnecessary code
2018-01-27 13:52:07 +01:00
Zsolt Kocsmarszky
b6ac96ef72
various styling improvements for pivot table to match current design direction
2018-01-27 11:31:31 +01:00
jubel
135af39fd4
support the range query of until now
2018-01-26 14:22:27 +08:00
jubel
8a2676701b
extend the prometheus query runner to support the range query
2018-01-26 13:16:28 +08:00
Arik Fraimovich
060fe1dd9c
Merge pull request #2259 from shinji19/master
...
Fix google oauth login for multi organization
2018-01-25 19:54:43 +02:00
SHINJI ICHIHARA
01a7b4eca8
Fix google_auth login for organization
2018-01-26 02:06:31 +09:00
Arik Fraimovich
ba0b9da09f
Fix syntax errors.
2018-01-25 12:39:47 +02:00
Zsolt Kocsmarszky
e97fd7da5b
add spacing between empty state window and content
2018-01-23 15:28:43 +01:00
Zsolt Kocsmarszky
3477a5540a
add icons and fix smaller screen layout
2018-01-23 15:27:24 +01:00
Arik Fraimovich
61a0aaa858
Merge pull request #2250 from getredash/ds_ui_select
...
Use ui-select for data source picker for consistent style across browsers
2018-01-23 09:46:21 +02:00
Zsolt Kocsmárszky
1b03785a24
Merge pull request #2253 from kocsmy/fixes/queries-search-page-fixed-layout
...
Fix width for queries/search page as well
2018-01-22 22:43:21 +01:00
Zsolt Kocsmarszky
2c3052eaaa
Fix width for queries/search page as well
2018-01-22 22:34:38 +01:00
Zsolt Kocsmarszky
490c8f38d8
Make section full width, remove double titles and minor styling improvements
2018-01-22 22:24:30 +01:00
Zsolt Kocsmarszky
5c5c08ae39
Add empty states for home, dashboards, queries and alerts
2018-01-22 22:03:06 +01:00
Zsolt Kocsmárszky
1ac9e6ee4c
Merge pull request #2251 from yoavbls/master
...
Add mapd, oracle and qubole images
2018-01-22 16:37:47 +01:00
Your Name
1f99cd9e55
Add mapd, oracle and qubole images
2018-01-21 01:17:51 +02:00
Arik Fraimovich
b977526b93
Use ui-select for data source picker for consistent style across browsers
2018-01-20 20:51:01 +02:00
Sami Jaktholm
6dacfaffc7
fix: update correct settings in saml settings form
...
The entity_id and nameid_format form fields didn't work as they
tried to save a setting with an incorrect name. This has now
been fixed and the form can be used to configure these values.
A short debounce delay was also added to the form to avoid
saving the value after every keystroke (if values are inputted
manually).
2018-01-20 17:31:49 +02:00
Sami Jaktholm
fe2772e9db
fix: commit saml user group assignment to the database
...
Relevant tests were also modified to reload the user
object from the database before asserting that the
user belongs to correct groups.
Fixes #1668 .
2018-01-20 15:19:03 +02:00
Katsuhiko YOSHIDA
55c4bb16e2
Enable list query by one character
2018-01-20 12:10:17 +09:00
Levko Kravets
92091bf628
Resolve conflicts with master
2018-01-19 19:39:43 +02:00
Levko Kravets
18b30d6baa
getredash/redash#2117 CR6
2018-01-19 19:30:53 +02:00
Levko Kravets
084a2f8806
getredash/redash#2117 CR5
2018-01-19 19:30:53 +02:00
Levko Kravets
c5acf6580c
getredash/redash#2117 CR4
2018-01-19 19:30:53 +02:00
Levko Kravets
4f4411a46a
getredash/redash#2117 CR3
2018-01-19 19:30:53 +02:00
Levko Kravets
2eaec6970e
getredash/redash#2117 CR2
2018-01-19 19:30:53 +02:00
Levko Kravets
30836e76d2
getredash/redash#2117 CR1
2018-01-19 19:30:53 +02:00
Levko Kravets
4547b8b735
getredash/redash#2117 Annotations
2018-01-19 19:30:53 +02:00
Levko Kravets
0cefed7108
getredash/redash#2117 Fix line/area stacking; UI improvements
2018-01-19 19:30:53 +02:00
Levko Kravets
878dc91edb
getredash/redash#2117 Optimize code, add more stacking options, fix percent stacking bugs
2018-01-19 19:30:53 +02:00
Levko Kravets
249b78c202
getredash/redash#2117 Revisit Plotly integration
2018-01-19 19:30:53 +02:00
Arik Fraimovich
a4d9ed5418
Merge pull request #2231 from kravets-levko/feature/wide-table
...
100%-wide results table
2018-01-19 19:01:14 +02:00
Arik Fraimovich
0207449162
Merge pull request #2244 from kocsmy/fixes/python-logo
...
Add missing python logo
2018-01-19 15:42:12 +02:00
Zsolt Kocsmarszky
2e7b1b4066
Add missing python logo
2018-01-19 13:29:10 +01:00
Arik Fraimovich
7ef94c82f4
Update ISSUE_TEMPLATE.md
2018-01-18 20:17:31 +02:00
Arik Fraimovich
4f1d46cb59
Update ISSUE_TEMPLATE.md
2018-01-18 20:16:50 +02:00
Arik Fraimovich
a1473d6dda
Make it clearer people should use the forum.
2018-01-18 20:15:45 +02:00
Arik Fraimovich
0efdd479d6
Merge pull request #2225 from kravets-levko/feature/insert-schema-doubleclick
...
Insert schema node into editor by click
2018-01-18 16:07:05 +02:00
Arik Fraimovich
c2e28b21cf
Merge pull request #2185 from kocsmy/design/new-data-source+query-editor
...
Design/new data source+query editor
2018-01-18 16:05:22 +02:00
Levko Kravets
7d5bcb8dbf
getredash/redash#2215 100%-wide results table
2018-01-18 12:26:49 +02:00
Levko Kravets
c0d86c2766
Rename event to be more generic
2018-01-17 22:26:31 +02:00
Arik Fraimovich
dcf867e4c5
Merge pull request #2226 from kravets-levko/feature/dashboard-remove-embed-related-code
...
Remove ?embed-related code in public dashboards
2018-01-17 21:08:25 +02:00
Levko Kravets
5dc01f762f
Replace double-click with icon+single click
2018-01-16 18:26:46 +02:00
Zsolt Kocsmarszky
11cfc66cef
Add Redash styling to editor
2018-01-15 22:52:54 +01:00
Levko Kravets
f5ed122430
getredash/redash#1940 Remove ?embed-related code in public dashboards
2018-01-15 20:33:41 +02:00
Zsolt Kocsmarszky
612710f37c
Fix Firefox issue
2018-01-14 21:29:57 +01:00
Zsolt Kocsmarszky
ca69a24729
cleanup css
2018-01-14 21:14:40 +01:00
Zsolt Kocsmarszky
45c75a81e6
Smaller fixes for smaller screens
2018-01-14 21:12:57 +01:00
Zsolt Kocsmarszky
e04729a381
Plenty of improvements based on #2185 comments
2018-01-14 19:31:18 +01:00
Zsolt Kocsmarszky
7ba5cc51e3
move updated at time to the right
2018-01-14 18:03:21 +01:00
Levko Kravets
c65597b35d
Fix code style
2018-01-14 14:03:50 +02:00
Levko Kravets
6c4023289e
Insert schema path into editor by double click
2018-01-14 14:01:49 +02:00
kakakakakku
ee2acc81ff
Fixed monitoring metrics for Redis
2018-01-14 00:51:39 +09:00
Arik Fraimovich
3aa3f7f08d
Merge pull request #2221 from mozilla/search-result-sort
...
correctly sort search result columns
2018-01-12 22:42:25 +02:00
Arik Fraimovich
a6e05e0419
Merge pull request #2222 from kakakakakku/rename-elasticsearch
...
Renamed to "Elasticsearch"
2018-01-12 22:41:16 +02:00
Arik Fraimovich
7e2a14e496
Merge pull request #2223 from shigemk2/license-2018
...
It's 2018 now ! 🎉
2018-01-12 15:54:06 +02:00
Michihito Shigemura
30cc0cc1a4
It's 2018 now ! 🎉
2018-01-12 19:08:33 +09:00
kakakakakku
cf436e45a4
Renamed to "Elasticsearch"
2018-01-12 17:18:57 +09:00
Allen Short
3b2b27a883
correctly sort search result columns
2018-01-12 03:47:35 +00:00
Arik Fraimovich
691dc6a24c
Merge pull request #2041 from jezdez/fulltext-search
...
Add full text search for queries based on the Postgres tsvector type.
2018-01-11 20:46:33 +02:00
Arik Fraimovich
75d0d2d588
Show data scanned property when available
2018-01-11 18:14:50 +02:00
Arik Fraimovich
bc29c12b4f
Properly handle 1row
2018-01-11 17:51:32 +02:00
Arik Fraimovich
ceb966ad63
Merge branch 'master' into design/new-data-source+query-editor
2018-01-11 15:54:36 +02:00
Arik Fraimovich
44770b3fd7
Merge pull request #2101 from ariarijp/fix/script_query_runner
...
Strip annotation from query when path is specified in Script Query Runner
2018-01-11 15:05:36 +02:00
Zsolt Kocsmarszky
98d0f05a31
Merge branch 'design/new-data-source+query-editor' of https://github.com/kocsmy/redash into design/new-data-source+query-editor
2018-01-09 22:31:14 +01:00
Zsolt Kocsmarszky
f3014f5291
Further styling fixes
2018-01-09 22:30:23 +01:00
Arik Fraimovich
3a413b53be
Fix: embed/edit buttons were not working
2018-01-09 23:18:39 +02:00
Zsolt Kocsmarszky
6ce8883c37
More descriptive button text for edit visualisation
2018-01-09 22:07:25 +01:00
Zsolt Kocsmarszky
ffbf24534f
Fix minor styling issues
2018-01-09 18:49:54 +01:00
Zsolt Kocsmarszky
28cc7eaa90
Attach result controls to the bottom of the query page
2018-01-09 18:32:21 +01:00
Zsolt Kocsmarszky
5189e6d3d1
Overwrite instead of writing new code
2018-01-09 17:39:23 +01:00
Zsolt Kocsmarszky
d24a5bdd83
Smaller screen improvements for new data source flow
2018-01-09 15:52:22 +01:00
Zsolt Kocsmarszky
192ddd248b
Better required * indication without red color
2018-01-09 15:37:19 +01:00
Zsolt Kocsmarszky
7c4b66b1b5
Rename show / hide source
2018-01-09 14:55:24 +01:00
Arik Fraimovich
cbe76f656f
Merge pull request #2204 from mozilla/data-scanned
...
Report amount of data scanned for Athena queries
2018-01-09 14:56:11 +02:00
Arik Fraimovich
3359ab24af
Mark required fields in dynamic forms
2018-01-09 12:57:35 +02:00
Arik Fraimovich
5b938f2c3e
Add layouts support.
2018-01-09 12:06:46 +02:00
Jannis Leidel
9f6b4fbdf2
Add full text search for queries based on the Postgres tsvector type.
2018-01-08 22:46:53 +01:00
Arik Fraimovich
55b852f8ee
Hide query metadata for unsaved queries
2018-01-08 23:16:08 +02:00
Arik Fraimovich
efede57931
Update org settings layout
2018-01-08 23:14:01 +02:00
Arik Fraimovich
2859c46459
Merge pull request #2205 from sjakthol/redshift-sslmode
...
Make Redshift sslmode configurable
2018-01-08 11:34:26 +02:00
Zsolt Kocsmarszky
c0fb51f6a5
Multiple styling fixes
2018-01-07 22:53:55 +01:00
Zsolt Kocsmarszky
c1208989a2
Refine logos + the header of 2nd step for adding new data source
2018-01-07 22:22:02 +01:00
Zsolt Kocsmarszky
46061a01c1
Merge branch 'master' into design/new-data-source+query-editor
...
# Conflicts:
# package.json
2018-01-07 21:48:56 +01:00
Zsolt Kocsmarszky
a3dec53275
Replacing icons
2018-01-07 21:45:41 +01:00
Arik Fraimovich
ef202e75b9
Close #2159 : special tab for your own user profile
2018-01-07 14:13:57 +02:00
Sami Jaktholm
1d188875a9
make Redshift sslmode configurable
...
This makes it possible to configure Redash to require TLS
and verify the certificate Redshift presents.
The setting works similarly to that of the PostgreSQL source
except that Redshift explicitly passes 'prefer' to psycopg2
if sslmode is not configured (for compatibility).
2018-01-06 21:00:45 +02:00
Allen Short
09d4605635
Report amount of data scanned for Athena queries
2018-01-06 01:08:44 +00:00
Zsolt Kocsmarszky
d1de26ba0c
Small screen fixes
2018-01-05 19:22:14 +01:00
Zsolt Kocsmarszky
eb9b3130ee
Better aligned and spaced cards
2018-01-05 19:19:00 +01:00
Zsolt Kocsmarszky
9850908ef0
Fixing empty query resize issues
2018-01-05 19:11:05 +01:00
Zsolt Kocsmarszky
f23136542e
Remove duplicate datasource selector
2018-01-05 19:04:24 +01:00
Zsolt Kocsmarszky
f6ac9c454c
Multiple new data source and alert refinements for layout and styling
2018-01-05 18:45:50 +01:00
Arik Fraimovich
0c05102fe7
Merge pull request #2171 from mayconbordin/salesforce_api_version
...
Added API version to salesforce query runner
2018-01-05 19:11:35 +02:00
Arik Fraimovich
75af80c126
Merge pull request #2196 from kravets-levko/fix/error-handling
...
Fix to error handling mechanism: fail only on promise rejections
2018-01-05 19:11:06 +02:00
Arik Fraimovich
2231d1562c
Update bootstrap script to use v3.
2018-01-05 18:57:15 +02:00
Zsolt Kocsmarszky
7d16cd2a0c
Remove unnecessary classes
2018-01-05 15:22:17 +01:00
Zsolt Kocsmarszky
e29e4bf311
Make org settings layout better
2018-01-05 15:21:50 +01:00
Zsolt Kocsmarszky
f91bc2a505
add athena logo
2018-01-04 23:21:04 +01:00
Arik Fraimovich
ea1334ef6a
Make results mode hide query editing parts
2018-01-04 20:51:22 +02:00
Arik Fraimovich
bae4016b3a
Remove ng-app directive in query page
2018-01-04 19:10:44 +02:00
Arik Fraimovich
56ffb1f932
Update alert destination to use new design
2018-01-04 17:52:58 +02:00
Arik Fraimovich
3b14958515
Working data source setup pages
2018-01-04 16:12:56 +02:00
Arik Fraimovich
59af40fc30
Switch to dev.redashapp.com as the dev server
2018-01-04 14:23:36 +02:00
Arik Fraimovich
9afd23ab60
Use actual data source types + filtering
2018-01-04 14:23:25 +02:00
Arik Fraimovich
ca893a0e77
Rename db logos to their correct names
2018-01-04 14:22:58 +02:00
Arik Fraimovich
20c3ad2fea
Merge branch 'master' into design/new-data-source+query-editor
2018-01-04 13:55:39 +02:00
Arik Fraimovich
6f76aec1e0
Merge pull request #2201 from kocsmy/fixes/fix-unsaved-query-alignment
...
simplifying the code and fixing alignment issues
2018-01-04 13:15:37 +02:00
Zsolt Kocsmarszky
57aa05f547
simplifying the code and fixing alignment issues
2018-01-04 12:12:02 +01:00
Arik Fraimovich
a6b90445cd
Merge pull request #2200 from kocsmy/fixes/filter-headers
...
Fixing filter headers mixed
2018-01-04 13:02:53 +02:00
Levko Kravets
91d29cbbbe
Fix to error handling: CR3
2018-01-04 12:44:51 +02:00
Zsolt Kocsmarszky
33a2271b1a
Smaller styling improvements
2018-01-03 22:54:25 +01:00
Zsolt Kocsmarszky
2a3c75976f
Refine styling and fixes
2018-01-03 22:33:47 +01:00
Zsolt Kocsmarszky
d8594e7662
Fix misplaced div closing tags
2018-01-03 22:25:09 +01:00
Zsolt Kocsmarszky
7605032eec
Fix filters so it'll nicely list 2+ filters
2018-01-03 21:00:15 +01:00
Zsolt Kocsmarszky
7ce815cddb
Better alignment
2018-01-03 20:10:18 +01:00
Zsolt Kocsmarszky
4c055c663b
fix filter headers and filters on unsaved query alignment
2018-01-03 20:08:43 +01:00
Arik Fraimovich
6a4267abd5
Merge pull request #2199 from kocsmy/fixes/unpublished-query-result-table
...
bug on query page: if creating new query, table is 100% wide
2018-01-03 20:43:58 +02:00
Arik Fraimovich
bea39343c8
Merge pull request #2198 from washort/change-data-source-query-version
...
Update query version when changing query data source
2018-01-03 20:42:06 +02:00
Zsolt Kocsmarszky
694115e499
Fix unsaved query table visualisation
2018-01-03 19:35:48 +01:00
Zsolt Kocsmarszky
dc84876d27
Fix fullscreen table to fixed width for unpublished query
2018-01-03 19:26:17 +01:00
Allen Short
07628da64d
Update query version when saving new data source
2018-01-03 18:26:09 +00:00
Levko Kravets
aa970a0afb
Fix to error handling: CR2
2018-01-03 15:28:15 +02:00
Levko Kravets
effb212e4b
Fix to error handling: CR1
2018-01-03 14:00:34 +02:00
Zsolt Kocsmarszky
f687cacbee
Revert "Add page-specific class to body for each app page"
...
This reverts commit e9139748a0 .
2018-01-03 12:47:44 +01:00
Zsolt Kocsmarszky
a26dbab28b
Merge branch 'master' of https://github.com/getredash/redash into design/new-data-source+query-editor
2018-01-03 12:32:52 +01:00
Zsolt Kocsmarszky
84e65f7165
Merge branch 'master' of https://github.com/getredash/redash
2018-01-03 12:30:48 +01:00
Levko Kravets
dd0ffe3d2c
Fix to error handling mechanism: fail only on promise rejections
2018-01-02 14:59:41 +02:00
Arik Fraimovich
bb36ec8664
Merge pull request #2195 from getredash/feature/settings
...
Allow passing options to tests Docker command.
2018-01-02 13:37:51 +02:00
Arik Fraimovich
2f51df3435
Allow passing options to tests Docker command.
2018-01-02 13:30:06 +02:00
Maycon Bordin
3846cf3269
Added default version for salesforce query runner
2018-01-02 08:17:07 -02:00
Arik Fraimovich
a66ac82a23
Merge pull request #2194 from getredash/feature/settings
...
Move some of the configuration to the UI
2018-01-02 11:26:29 +02:00
Arik Fraimovich
eb85fc9e5b
Merge pull request #2179 from kyoshidajp/add_root_user_command
...
Feature: Add create root user command
2018-01-02 11:23:56 +02:00
Arik Fraimovich
8d2571cba2
Merge pull request #2187 from kravets-levko/feature/error-handling
...
Improve error handling mechanism
2018-01-02 11:20:43 +02:00
Arik Fraimovich
93aeae63b7
CodeClimate issue fixes.
2018-01-02 11:13:35 +02:00
Arik Fraimovich
7602599738
Update pysaml2 version to latest release.
2018-01-02 10:48:33 +02:00
Arik Fraimovich
153c0139cd
Dynamic organization settings support.
2018-01-02 10:48:22 +02:00
Arik Fraimovich
a6faebb04c
Make settings menu dynamic.
2018-01-02 10:43:16 +02:00
Arik Fraimovich
1e156739da
Turn settings into a package
2017-12-31 14:39:03 +02:00
Arik Fraimovich
c5e5bb714b
Merge pull request #2189 from getredash/feature/settings
...
Replace Makefile with scripts
2017-12-31 14:35:46 +02:00
Arik Fraimovich
6c4989d8a0
Replace Makefile with scripts
2017-12-31 14:34:41 +02:00
Zsolt Kocsmarszky
4d0a6accc6
More css for better collapse and expand
2017-12-29 18:35:18 +01:00
Zsolt Kocsmarszky
ecc6200aaf
Refining styling so resize works nicely
2017-12-29 18:12:30 +01:00
Zsolt Kocsmarszky
3b232d3bcc
Fixing resizing issues
2017-12-29 17:14:05 +01:00
Zsolt Kocsmarszky
f258d8086c
Add border for editor
2017-12-29 16:38:09 +01:00
Levko Kravets
c9ac9d85e2
getredash/redash#2162 CR2
2017-12-29 11:17:27 +02:00
Levko Kravets
fec92b399a
getredash/redash#2162 CR1
2017-12-28 18:39:14 +02:00
Arik Fraimovich
9323a93a8d
Merge pull request #2188 from rgjodekerken/master
...
Fix upgrade script for ci channel
2017-12-28 17:17:04 +02:00
Arik Fraimovich
f75833e5a9
Merge pull request #2166 from kravets-levko/bug/query-page-small-counter
...
Counter is too small on query page
2017-12-28 17:11:46 +02:00
Richard Odekerken
6307cfb9d7
Fix upgrade script for ci channel
2017-12-28 15:10:45 +00:00
Arik Fraimovich
651d56ad95
Merge pull request #2184 from cloudron-io/ldap_search_dn
...
rename REDASH_SEARCH_DN to REDASH_LDAP_SEARCH_DN
2017-12-28 16:01:57 +02:00
Arik Fraimovich
055b8eff54
Merge pull request #2175 from bamboo-yujiro/fix_user_form
...
Fix : User Form displays a incorrect error appearance.
2017-12-27 22:01:15 +02:00
Girish Ramakrishnan
c59e7ea2a5
rename REDASH_SEARCH_DN to REDASH_LDAP_SEARCH_DN
2017-12-27 10:33:08 -08:00
Levko Kravets
1bfea8b493
Improve error handling mechanism (related to getredash/redash#2162 )
2017-12-27 16:01:29 +02:00
Zsolt Kocsmarszky
c9d5347658
mobile and spacing fixes
2017-12-27 14:47:58 +01:00
Zsolt Kocsmarszky
58eb08e22a
Refine format and other smaller elements
2017-12-27 13:33:00 +01:00
Zsolt Kocsmarszky
52bae5cbe5
Rearrange elements for better UX
2017-12-27 13:08:05 +01:00
Zsolt Kocsmarszky
f2585d1124
Better edit in place and other refinements for rearranged layout
2017-12-27 13:07:48 +01:00
Zsolt Kocsmarszky
635aeb3409
Remove classes
2017-12-27 11:23:46 +01:00
Zsolt Kocsmarszky
e6ec50a4e6
Dynamic forms back live again, extra classes added for better form design
2017-12-27 11:19:19 +01:00
Zsolt Kocsmarszky
3bc5c60907
better data source cars + list view has cards now, too
2017-12-27 11:13:09 +01:00
Zsolt Kocsmarszky
a698cb0484
Pluralize database
2017-12-27 10:53:07 +01:00
Arik Fraimovich
6441c4b52d
Merge pull request #2174 from tonyjiangh/feature/add_redshift_view_support
...
Add redshift late binding view data to schema browser
2017-12-26 21:05:54 +02:00
Arik Fraimovich
ff078485f2
Merge pull request #2165 from tonyjiangh/feature/query_result_exception
...
Fix unicode handling at query result
2017-12-26 20:59:52 +02:00
Zsolt Kocsmarszky
e925568e3d
Further improve smaller screen design
2017-12-26 14:19:18 +01:00
Zsolt Kocsmarszky
db6c8769d4
Further refining code and removing junk
2017-12-26 13:50:46 +01:00
Zsolt Kocsmarszky
3c9f59b055
Adjust button size size so it's consistent
2017-12-26 13:35:03 +01:00
Zsolt Kocsmarszky
0a15986619
Code and styling improvements focusing on xs and sm screen sizes
2017-12-26 13:18:36 +01:00
Zsolt Kocsmarszky
696eefad1a
Further cleaning up code
2017-12-26 11:39:42 +01:00
Zsolt Kocsmarszky
708cc26c1d
Cleaning up code and properly fall back design on narrower screen for query-metadata
2017-12-26 11:33:52 +01:00
Katsuhiko YOSHIDA
da1f99d846
Add create root user command
2017-12-23 18:04:38 +09:00
bamboo-yujiro
4f814408c7
Retry codeclimate
2017-12-22 11:09:15 +09:00
Hao Jiang
87ce1db3bd
Add redshift late binding view data to schema browser
2017-12-21 22:24:31 +09:00
bamboo-yujiro
71e6bf13ff
Fix : User Form displays a incorrect error appearance.
2017-12-21 17:52:25 +09:00
Zsolt Kocsmarszky
24188ab1de
Perfectly calculated schema-container size, finally
2017-12-21 02:12:46 +01:00
Zsolt Kocsmarszky
e6f8b2c502
Flexible query editor
2017-12-20 23:38:46 +01:00
Levko Kravets
e9139748a0
Add page-specific class to body for each app page
2017-12-20 17:28:42 +02:00
Maycon Bordin
3cfd34a897
Added API version to salesforce query runner and fixed issue when row column value does not exist
2017-12-20 10:00:42 -02:00
Zsolt Kocsmarszky
404000e5fe
Add missing elements for new data source screen
2017-12-19 14:08:17 +01:00
Zsolt Kocsmarszky
5441ef429e
Fix card sizes
2017-12-19 13:23:48 +01:00
Zsolt Kocsmarszky
1110e65e4a
Load all images from images folder
2017-12-19 12:37:08 +01:00
Zsolt Kocsmarszky
9ac5d58b89
flexible layout v0.1 (WIP)
2017-12-18 23:27:08 +01:00
Zsolt Kocsmarszky
0810c2b1e0
Change to narrow layout
2017-12-18 20:03:50 +01:00
Levko Kravets
68f0c368c0
getredash/redash#2129 Counter too small on query page
2017-12-18 15:12:55 +02:00
Zsolt Kocsmarszky
64c69ee009
Foundation for New Data Source layout added
2017-12-17 20:48:25 +01:00
Zsolt Kocsmarszky
e2df12e2a2
Merge branch 'design/query-page-improvements' into design/new-data-source-flow
2017-12-17 19:29:15 +01:00
Zsolt Kocsmarszky
0f31de33e8
General styling improvements
2017-12-17 19:27:54 +01:00
Zsolt Kocsmarszky
d37948f44b
Merge branch 'master' into design/new-data-source-flow
2017-12-17 18:37:44 +01:00
Hao Jiang
6e2e2e2060
Fix: unicode handling at query result
2017-12-16 09:55:15 +09:00
Zsolt Kocsmarszky
439cc45ca7
Merge branch 'master' into design/query-page-improvements
2017-12-13 22:14:13 +01:00
Zsolt Kocsmarszky
816c61944e
Recreate new 2 column layout
2017-12-13 22:12:45 +01:00
Arik Fraimovich
5ba15ef350
Remove trailing spaces
2017-12-13 11:59:43 +02:00
Arik Fraimovich
30136c4e97
Merge pull request #2148 from kyoshidajp/replace_datetime_strings
...
Replace invalid date time strings
2017-12-13 11:53:15 +02:00
Arik Fraimovich
1a4d7471f5
Stored parsed moment value.
2017-12-13 11:52:56 +02:00
Arik Fraimovich
1d3c2144c4
Merge pull request #2154 from crooy/master
...
fixing issue #2150
2017-12-13 11:38:12 +02:00
Arik Fraimovich
fdf35328ac
Merge pull request #2152 from bamboo-yujiro/fix_appearance_collapse_of_outdated-queries
...
Fix: Appearance collapse of outdated-queries.
2017-12-13 11:37:36 +02:00
Zsolt Kocsmarszky
c147d30cb5
Separate Data source panel, freely expanding schema browser, freely expandable query editor, better smaller screen layout
2017-12-12 22:31:52 +01:00
Ronald Crooy
80a74934f0
fixing issue #2150
2017-12-12 11:37:24 +01:00
bamboo-yujiro
a36cc6838b
Fix: Appearance collapse of outdated-queries.
2017-12-12 00:58:11 +09:00
Arik Fraimovich
073db37cfd
Merge pull request #2136 from doddjc21/patch-1
...
Update oracle.py
2017-12-11 16:34:42 +02:00
Katsuhiko YOSHIDA
b7b8e56722
Consider value is string case
2017-12-11 20:09:27 +09:00
Zsolt Kocsmarszky
8a11183905
Add data source logos
2017-12-11 00:36:40 +01:00
Katsuhiko YOSHIDA
c045ccabe4
Replace invalid date time strings
2017-12-10 22:46:31 +09:00
Arik Fraimovich
c3cb2cc28b
Merge pull request #2126 from getredash/layout_fixes
...
Layout fixes (mainly schema browser)
2017-12-07 19:45:55 +02:00
Arik Fraimovich
990d32cfa2
Remove unneeded code
2017-12-07 17:14:47 +02:00
Arik Fraimovich
1573e06e71
Merge pull request #2134 from getredash/fix_query_results_download
...
Fix #68 : user can't download query results of a new query
2017-12-07 16:33:59 +02:00
Arik Fraimovich
6bb05106cd
Hide shcema browser when it's not relevant
2017-12-07 16:31:34 +02:00
Arik Fraimovich
c1d7e0401f
Explict response when schema is not supported (vs just some error loading it)
2017-12-07 16:31:02 +02:00
Arik Fraimovich
604540266a
Merge pull request #2135 from kocsmy/fixes/query-tables
...
Fixes/query tables
2017-12-07 16:14:53 +02:00
Joseph Dodd
4954d1c807
Update oracle.py
2017-12-06 17:51:27 -05:00
Joseph Dodd
45b828e361
Update oracle.py
2017-12-06 17:48:36 -05:00
Joseph Dodd
96e2991650
Update oracle.py
2017-12-06 17:44:49 -05:00
Joseph Dodd
54b1f4219d
Update oracle.py
2017-12-06 17:39:51 -05:00
Zsolt Kocsmarszky
3a0ffa53e2
Fix filters spacing on Dashboards
2017-12-06 22:44:34 +01:00
Zsolt Kocsmarszky
7381bd11a0
Fix margin on pagination
2017-12-06 22:28:10 +01:00
Zsolt Kocsmarszky
19bd150e4b
Fix pagination
2017-12-06 22:21:33 +01:00
Zsolt Kocsmarszky
e65b023fa7
Make embed query tables width: auto too and apply css flexbox
2017-12-06 22:18:15 +01:00
Zsolt Kocsmarszky
69badf67fc
Merge branch 'master' into fixes/query-tables
2017-12-06 21:31:54 +01:00
Zsolt Kocsmarszky
68177d31b3
Fix wide tables on queries and related elements like pagination
2017-12-06 21:30:27 +01:00
Joseph Dodd
808a4c5d72
Update oracle.py
...
Update Oracle.py to make INSERTS and UPDATES to Oracle databases
2017-12-06 14:55:13 -05:00
Arik Fraimovich
8e668d2e09
Fix #68 : user can't download query results of a new query
2017-12-06 18:14:34 +02:00
Arik Fraimovich
868f334471
Merge pull request #2127 from getredash/gravatar
...
Change default gravatar type
2017-12-06 11:50:14 +02:00
Arik Fraimovich
3f37c347f9
Change default gravatar type
2017-12-06 11:17:59 +02:00
Arik Fraimovich
271e6a56da
Merge branch 'kyoshidajp-add_user_image'
2017-12-06 11:12:54 +02:00
Arik Fraimovich
0988e8184a
Rebase with latest master
2017-12-06 11:12:16 +02:00
Katsuhiko YOSHIDA
62e5e38926
Rename profile image url column and method
2017-12-06 09:16:24 +09:00
Katsuhiko YOSHIDA
dce865356c
Set default parameter None as picture
2017-12-06 09:16:24 +09:00
Katsuhiko YOSHIDA
7f398a7d7f
Allow None as image_url in User model
2017-12-06 09:16:24 +09:00
Katsuhiko YOSHIDA
56c364f0a3
Change style name of profile image
2017-12-06 09:16:24 +09:00
Katsuhiko YOSHIDA
0b9b6a623e
Change size of profile immage in User
2017-12-06 09:16:24 +09:00
Katsuhiko YOSHIDA
ea5788f173
Display user image before name to each page
2017-12-06 09:16:24 +09:00
Katsuhiko YOSHIDA
4a58b9e944
Add image url as a User field
2017-12-06 09:16:24 +09:00
Arik Fraimovich
18b857363f
Handle cases when schema is empty
2017-12-06 00:01:01 +02:00
Arik Fraimovich
f02c0e0b9c
Fix: table pagination overlap
2017-12-05 21:53:26 +02:00
Arik Fraimovich
6fc6c67e44
Revert accidental changes to query.html
2017-12-05 18:03:37 +02:00
Arik Fraimovich
2c36563e50
View query link in widget should link to source view
2017-12-05 16:42:27 +02:00
Arik Fraimovich
c9a680b4b7
Consistent size of query editor
2017-12-05 16:42:27 +02:00
Arik Fraimovich
b8543eb2bd
Change: query should be first in create menu
2017-12-05 16:41:58 +02:00
Arik Fraimovich
b17794f622
Merge pull request #2124 from kocsmy/fixes/merge-fixes-2017-12-05
...
Fixes/merge fixes 2017 12 05
2017-12-05 16:40:45 +02:00
Zsolt Kocsmarszky
63e76628cf
Fix showing refresh time on public dashboard
2017-12-05 15:34:46 +01:00
Zsolt Kocsmarszky
2567c73dba
Add Redash logo to the public dashboard footer
2017-12-05 15:21:59 +01:00
Zsolt Kocsmarszky
9c81b866d5
Fix alert spacing
2017-12-05 15:15:09 +01:00
Zsolt Kocsmarszky
ed7a7d4275
Fix query editor size when schema is there but empty
2017-12-05 15:09:20 +01:00
Arik Fraimovich
bc9bcee064
Merge pull request #2123 from kravets-levko/fix/chart-x-axis-height
...
Fix: chart x-axis height setting
2017-12-05 15:56:12 +02:00
Levko Kravets
96a73b0c9e
getredash/redash#2107 Fix: chart x-axis height setting
2017-12-05 15:37:32 +02:00
Arik Fraimovich
004f550e93
Merge pull request #2113 from kocsmy/design/refinements-2
...
Design/refinements 2
2017-12-05 14:08:36 +02:00
Zsolt Kocsmarszky
2ef9403516
Merge branch 'master' into design/refinements-2
...
# Conflicts:
# client/app/components/dynamic-table/dynamic-table.html
# client/app/pages/queries/query.html
2017-12-05 13:04:08 +01:00
Zsolt Kocsmarszky
7ac88f91dc
Fix height for schema browser
2017-12-05 12:36:42 +01:00
Arik Fraimovich
3d0080a9ca
Merge pull request #2120 from negibouze/prevent-remove-self
...
prevent remove self
2017-12-05 13:28:05 +02:00
Arik Fraimovich
2c39028b8b
Merge pull request #2118 from deecay/pie-styling
...
Change: Pie chart font style
2017-12-05 13:27:41 +02:00
Zsolt Kocsmarszky
06cab14693
Fix layout
2017-12-05 12:12:53 +01:00
板倉義晃
4dd8f8cf84
prevent remove self
...
The administrator made it impossible to remove him/herself from the
built-in group.
2017-12-05 14:02:46 +09:00
deecay
2be067040e
Change: Pie chart font style
2017-12-05 10:42:22 +09:00
ariarijp
ccb20640fe
Remove half-baked unit test
2017-12-05 00:27:18 +09:00
Arik Fraimovich
9d7f079d94
Merge pull request #2089 from msumit/Qbol_Support
...
Add Qubole query runner
2017-12-04 16:31:27 +02:00
Arik Fraimovich
91a2b49f4c
Merge pull request #2110 from kravets-levko/feature/table-v2
...
Table v2
2017-12-04 16:15:56 +02:00
Levko Kravets
6d11e8f57a
Table viz: CR3
2017-12-04 16:11:04 +02:00
Levko Kravets
1ca0ac6278
Table viz: CR2
2017-12-04 13:27:32 +02:00
Arik Fraimovich
4cd352599a
Add v4 to CHANGELOG.
2017-12-04 11:30:24 +02:00
Zsolt Kocsmarszky
4798361d87
Merge branch 'master' into design/refinements-2
2017-12-03 15:29:14 +01:00
Zsolt Kocsmarszky
08b97d0a4e
Hide "Data" text from data source
2017-12-03 15:27:39 +01:00
Levko Kravets
a0d9b94488
Table viz: small fixes
2017-12-03 12:54:34 +02:00
Zsolt Kocsmarszky
7272b9904a
Improve visualisation embed design (iframe) so it looks better
2017-12-02 23:59:21 +01:00
Levko Kravets
30833100e5
Table viz: search; CR1
2017-12-02 21:55:36 +02:00
Arik Fraimovich
7974c90042
Merge pull request #2111 from kyoshidajp/upgrade_psycopg2
...
Upgrade psycopg2 for support PostgreSQL 10.0
2017-12-02 21:22:09 +02:00
Katsuhiko YOSHIDA
f4c4e18bf7
Upgrade psycopg2 latest version
2017-12-02 09:11:43 +09:00
Zsolt Kocsmarszky
ca75eb63c6
Separate Query styling and fix a small issue
2017-12-01 16:50:45 +01:00
Zsolt Kocsmarszky
27458599e8
Turn off link when editing a dashboard + show move cursor so it suggests you can drag the widget with its header and move around
2017-12-01 16:15:39 +01:00
Zsolt Kocsmarszky
1d90f2acad
Fix line-height
2017-12-01 16:04:39 +01:00
Zsolt Kocsmarszky
60becaf4c2
Nicer highlights fro query dropdown
2017-12-01 15:46:06 +01:00
Zsolt Kocsmarszky
73af14069d
Move view/show query to bottom of its section
2017-12-01 15:39:49 +01:00
Levko Kravets
dc4902a800
Minor fixes
2017-12-01 16:18:51 +02:00
Zsolt Kocsmarszky
ccb440c759
Add ref so we know how many people get to know about Redash through shared dashboards
2017-12-01 15:03:54 +01:00
Zsolt Kocsmarszky
f3633b18e7
Move format back to visible place
2017-12-01 15:00:14 +01:00
Zsolt Kocsmarszky
2b43bd7d28
Fix up fullscreen
2017-12-01 14:59:42 +01:00
Zsolt Kocsmarszky
1beeda6b32
Fix filter spacing and remove inline css
2017-12-01 14:35:49 +01:00
Levko Kravets
ed70002f43
Table viz: code improvements
2017-12-01 15:25:58 +02:00
Zsolt Kocsmarszky
83e1ded008
Merge branch 'master' into design/refinements-2
...
# Conflicts:
# client/app/components/filters.html
2017-12-01 14:15:46 +01:00
Levko Kravets
015d0c6edd
Table viz: custom cell rendering; JSON cell renderer
2017-12-01 13:40:41 +02:00
Katsuhiko YOSHIDA
e17a1a1378
Upgrade psycopg2 for support PostgreSQL 10.0 as a library
2017-12-01 19:31:05 +09:00
Levko Kravets
8fc3af7bb9
Table viz: editor UI
2017-12-01 07:41:09 +02:00
Zsolt Kocsmarszky
3df9d480a4
Change footer for public dashboards
2017-11-30 21:48:25 +01:00
Levko Kravets
127b45a5b1
Table viz: editor
2017-11-30 21:52:21 +02:00
Levko Kravets
e7d0856831
Table viz: show/hide column, reorder columns, content alignment
2017-11-30 19:30:45 +02:00
Levko Kravets
fb44d32ba3
Table viz: multi-column sort, align data, allow html
2017-11-30 15:52:46 +02:00
ariarijp
736c014d51
Return False from annotate_query instead of strip annotation with regex
2017-11-30 00:43:50 +09:00
Arik Fraimovich
3f30693b74
Merge pull request #2102 from ariarijp/fix/typo_in_settings
...
Fix typo
2017-11-29 12:26:36 +02:00
Arik Fraimovich
4a06e6266e
Merge pull request #2105 from kravets-levko/fix/visualization-filters
...
Fixes related to filters panel
2017-11-28 16:19:50 +02:00
Levko Kravets
0d1ad21a1b
getredash/redash/issues/2103 Fix: unnecessary horizontal scroll; fix: viz overlaps filters panel
2017-11-28 15:01:48 +02:00
Zsolt Kocsmarszky
8e8a63acb9
Fix table styling which sits inside a container and not going full width. Apply this to multiple screens.
2017-11-26 20:36:37 +01:00
Zsolt Kocsmarszky
edbec3f49d
Fix last-child padding bottom
2017-11-26 20:17:48 +01:00
Zsolt Kocsmarszky
f2eb225f06
Fix cell padding to fit header padding
2017-11-26 20:13:53 +01:00
Zsolt Kocsmarszky
d0ec1ca68d
Further adjust table settings
2017-11-26 20:11:01 +01:00
Zsolt Kocsmarszky
51e6087888
Circle profile pictures on user list
2017-11-26 20:10:48 +01:00
Zsolt Kocsmarszky
50fcd8d34d
Adjust table header background color
2017-11-26 19:56:06 +01:00
Zsolt Kocsmarszky
37f27fc29a
Adjust table styling
2017-11-26 19:53:11 +01:00
Zsolt Kocsmarszky
690ce521ca
Fix spacing for all kind of table (normal, condensed)
2017-11-26 18:08:45 +01:00
Zsolt Kocsmarszky
7cbed96945
Fix pagination margin below dynamic-table
2017-11-26 18:00:04 +01:00
Zsolt Kocsmarszky
baa36c97fb
Add to readme
2017-11-26 17:53:42 +01:00
Zsolt Kocsmarszky
6bbd1bf288
Add styling readme
2017-11-26 17:51:51 +01:00
Zsolt Kocsmarszky
12ecd23ceb
Add Cantarell to the default font-family
2017-11-26 17:47:20 +01:00
Zsolt Kocsmarszky
b9078a28d4
Refine table styling and improve less organisation
2017-11-26 17:42:56 +01:00
Zsolt Kocsmarszky
8e3c62db83
Fix refreash button size to btn-sm
2017-11-26 17:32:13 +01:00
Zsolt Kocsmarszky
9492ff9444
Fix button margins
2017-11-26 17:16:50 +01:00
Zsolt Kocsmarszky
b0177deda0
Move fork query under dropdown, too and remove redundant text information
2017-11-26 16:54:32 +01:00
Zsolt Kocsmarszky
89592d3e80
Fix padding at no schema sources
2017-11-26 16:51:08 +01:00
Zsolt Kocsmarszky
0a6fc27fdd
Rearrange query elements
2017-11-26 16:49:02 +01:00
Zsolt Kocsmarszky
a7ca236903
Change source editor and schema browser
2017-11-26 16:31:42 +01:00
ariarijp
b716e5c23d
Fix typo
2017-11-27 00:24:01 +09:00
Zsolt Kocsmarszky
063066dfae
Tighten up schema browser
2017-11-26 16:05:46 +01:00
Zsolt Kocsmarszky
5bdb34e451
Fix spacing in filters
2017-11-26 15:47:08 +01:00
ariarijp
f4d0609140
Strip annotation from query when path is specified in Script Query Runner
2017-11-26 23:09:12 +09:00
ariarijp
cb62c10a66
Fix create_db command of docker-entrypoint
2017-11-26 13:26:44 +09:00
Zsolt Kocsmarszky
05cc170ab1
Better organised query editor
2017-11-25 16:36:36 +01:00
Zsolt Kocsmarszky
4540256f3e
Add proper styling for parameters
2017-11-25 07:29:22 +01:00
Zsolt Kocsmarszky
3d33ebc916
Tightening up Query editor
2017-11-25 07:29:05 +01:00
Zsolt Kocsmarszky
decc0b8ee8
Fix merge conflicts
2017-11-25 06:29:08 +01:00
Zsolt Kocsmarszky
a488de22c4
Merge branch 'master' into design/refinements-2
...
# Conflicts:
# client/app/pages/dashboards/public-dashboard-page.html
2017-11-25 06:27:52 +01:00
Zsolt Kocsmarszky
f835aec980
Adjust top margin
2017-11-25 06:25:06 +01:00
Zsolt Kocsmarszky
5893b68daf
Public dashboards: remove navbar and add missing footer
2017-11-25 06:17:56 +01:00
Sumit Maheshwari
660c72e608
Add Qubole query runner
2017-11-24 17:30:08 +05:30
Arik Fraimovich
01cf6de4dc
Merge pull request #2098 from kravets-levko/fix/sankey-sunburst
...
Fixed sunburst/sankey issue with rendering
2017-11-23 18:21:20 +02:00
Levko Kravets
fa460223b7
CR1
2017-11-23 18:13:42 +02:00
Arik Fraimovich
39aeef5486
Merge pull request #2097 from ariarijp/fix/query_results
...
Handling whitespace characters in Query Results data source
2017-11-23 18:00:31 +02:00
Levko Kravets
4006d72831
getredash/redash#2095 Fixed sunburst/sankey issue with rendering; minor UI fixes
2017-11-23 17:42:03 +02:00
ariarijp
93aa28cdf7
Handling whitespace characters in Query Results data source
2017-11-23 21:46:10 +09:00
Arik Fraimovich
8e8278d05e
Merge pull request #2081 from kocsmy/design/refinement
...
Design/refinement
2017-11-22 18:27:05 +02:00
Arik Fraimovich
3d9d658594
Merge pull request #2087 from yershalom/add_cockraochdb_ds
...
Added new CockroachDB DS to redash
2017-11-22 18:23:36 +02:00
Arik Fraimovich
9ae1bc3051
Merge branch 'master' into design/refinement
2017-11-22 18:20:17 +02:00
Arik Fraimovich
a9384d3a09
Merge branch 'master' into design/refinement
2017-11-22 18:19:40 +02:00
Arik Fraimovich
9bbce6b06a
Merge pull request #2053 from cdessanti/patch-1
...
SQL Query Runner for MAPD database
2017-11-22 18:15:39 +02:00
Arik Fraimovich
b96ab5eb0e
Merge pull request #2048 from arjan/elasticsearch-doc-count-aggregation
...
Elasticsearch: Collect doc_count field from aggregation
2017-11-22 18:12:59 +02:00
Arik Fraimovich
5b91d97e48
Merge pull request #2043 from jezdez/pytest
...
Move to pytest since nose is unmaintained.
2017-11-22 18:11:59 +02:00
Arik Fraimovich
9de3e975eb
Merge pull request #1985 from miketheman/miketheman/user-email-case-insensitive
...
Ensure email is case-insensitive
2017-11-22 18:11:07 +02:00
Arik Fraimovich
1b7cc3731c
Merge pull request #2092 from jasonsmithj/fix/mysql_query_cancel
...
Fix doesn't work mysql query cancel button
2017-11-22 18:00:35 +02:00
Arik Fraimovich
e7fdbee59d
Merge pull request #2083 from kravets-levko/feature/responsive-visualizations
...
Responsive visualizations
2017-11-22 18:00:08 +02:00
jasonsmithj
1e12f70cf4
mysql query cancel
2017-11-22 10:53:25 +09:00
Levko Kravets
0ef04e2839
Rebase CSS changes to LESS
2017-11-21 09:18:17 +02:00
Levko Kravets
24ebd8dc53
CR3
2017-11-21 09:08:09 +02:00
Levko Kravets
4af56bd101
Small CSS fix
2017-11-21 09:08:09 +02:00
Levko Kravets
5faf41a18c
CR2: fit counter by height (not by width)
2017-11-21 09:08:09 +02:00
Levko Kravets
485f0e3278
CR1
2017-11-21 09:08:09 +02:00
Levko Kravets
21150ad4ca
Counter: fix auto-size
2017-11-21 09:08:09 +02:00
Levko Kravets
059da21280
Chart: fit to container on resize
2017-11-21 09:08:09 +02:00
Levko Kravets
24e7ee51ba
Fix: Counter flickering; Map, Counter: disappears in mobile mode
2017-11-21 09:08:09 +02:00
Levko Kravets
584cbea017
Better fix for Map viz
2017-11-21 09:08:09 +02:00
Levko Kravets
1d210c774a
Fix visualization previews
2017-11-21 09:08:09 +02:00
Levko Kravets
289aa8561f
Some fixes for Map viz
2017-11-21 09:08:09 +02:00
Levko Kravets
d765f6edb6
Some fixes for Table and Pivot viz
2017-11-21 09:08:09 +02:00
Levko Kravets
5f5b95b455
Map viz: constraints and position
2017-11-21 09:08:09 +02:00
Levko Kravets
e57d9f4701
Counter viz: fit text to width
2017-11-21 09:08:09 +02:00
Levko Kravets
b26284933c
Allow to specify default size for each visualization type
2017-11-21 09:08:09 +02:00
Zsolt Kocsmarszky
825157a549
Friendlier next and prev arrows
2017-11-20 23:21:26 +01:00
Zsolt Kocsmarszky
961144c3b8
Remove Roboto
2017-11-20 22:20:39 +01:00
Zsolt Kocsmarszky
0abfe19c6a
Add newstyle to the soup
2017-11-20 22:15:26 +01:00
Zsolt Kocsmarszky
3c1a756ca3
Merge branch 'master' of https://github.com/getredash/redash
...
# Conflicts:
# client/app/config/styles.js
2017-11-20 22:10:31 +01:00
Zsolt Kocsmarszky
7f2328d0a5
Adjust bg-ace and table headers
2017-11-20 21:48:15 +01:00
Arik Fraimovich
457b8d9d8a
Merge pull request #2091 from kravets-levko/less2
...
Convert styles to LESS
2017-11-20 22:35:21 +02:00
Levko Kravets
773e5e6393
Convert styles to LESS
2017-11-20 17:46:37 +02:00
Zsolt Kocsmarszky
dfd2d9ecec
Remove uppercase and capitalize table and tab headers
2017-11-20 16:10:10 +01:00
Zsolt Kocsmarszky
a1fdaa998b
Revert hiding refresh button, still keep refresh functionality on last refreshed date
2017-11-20 16:03:49 +01:00
Arik Fraimovich
7955a83f1d
Add paginator only when there are more than 1 pages
2017-11-20 10:19:54 +02:00
Arik Fraimovich
3af1176e70
Fix: two nav bars on my queries page
2017-11-20 10:11:41 +02:00
Zsolt Kocsmarszky
ab77f00526
Move refresh button under latest refresh time
2017-11-19 21:34:40 +01:00
Zsolt Kocsmarszky
835d417d8d
Styling improvements on Query screen
2017-11-19 21:19:36 +01:00
Zsolt Kocsmarszky
895d743ab6
Fix description hover
2017-11-19 21:01:10 +01:00
Zsolt Kocsmarszky
68404b8dd3
Styling refinement
2017-11-19 20:44:38 +01:00
Zsolt Kocsmarszky
5b19efdb73
Layout fix for System Status
2017-11-19 20:17:11 +01:00
Zsolt Kocsmarszky
86fc099873
Clean up admin page markup
2017-11-19 17:54:46 +01:00
Zsolt Kocsmarszky
819b109dde
Remove uppercase from tab header so it looks friendlier
2017-11-19 17:41:16 +01:00
Zsolt Kocsmarszky
334289b81c
Add system fonts as default and simplify the code
2017-11-19 17:38:18 +01:00
Zsolt Kocsmarszky
e64832867e
Better organised stylesheet for easier maintainability + an IE fix
2017-11-19 17:14:49 +01:00
Zsolt Kocsmarszky
c3ca2e2ec1
Small improvement on widget styling
2017-11-18 21:02:50 +01:00
Zsolt Kocsmarszky
1115f2a702
Add missing tiled class
2017-11-18 20:16:59 +01:00
Zsolt Kocsmarszky
0b0762f10c
Improved pagination
2017-11-18 19:57:45 +01:00
Zsolt Kocsmarszky
f423e0c030
Remove fancy input hover animation
2017-11-18 19:40:07 +01:00
Shalom Yerushalmy
8da40077fa
Added one line for pep8 convention
2017-11-16 09:46:52 +02:00
Shalom Yerushalmy
dbf7c90ebc
Added new CockroachDB DS to redash
2017-11-16 09:41:02 +02:00
Arik Fraimovich
ff0f5a0dfd
Merge pull request #2082 from deecay/pie-subplot-title
...
Add: Pie chart subplot title
2017-11-15 23:44:33 +02:00
Arik Fraimovich
b702299067
Version bump.
2017-11-15 23:10:56 +02:00
Zsolt Kocsmarszky
a751c03fca
Fixing Firefox issues and fine-tuning smaller details
2017-11-14 22:38:31 +01:00
Zsolt Kocsmarszky
1c926830a8
Styling refinements
2017-11-14 21:34:34 +01:00
Zsolt Kocsmarszky
dc8e8b70c5
Hide username on smaller screens + move Query Snippets and hide divider for users
2017-11-14 21:34:11 +01:00
Zsolt Kocsmarszky
315e77b7dd
Cleanup settings/user and remove unnecessary tabs
2017-11-14 21:32:53 +01:00
Zsolt Kocsmarszky
c510b35b16
Add tiled class and adjust layout
2017-11-14 21:32:22 +01:00
Zsolt Kocsmarszky
2c2c626c42
Smaller layout, grid and styling fixes
2017-11-13 21:24:43 +01:00
Zsolt Kocsmarszky
fa7eaaebcd
remove redundant buttons from home
2017-11-13 21:24:17 +01:00
Zsolt Kocsmarszky
4ed9e01091
Smaller improvements
2017-11-13 21:03:50 +01:00
Zsolt Kocsmarszky
40a83f3579
Fancy caret is only for nav
2017-11-13 20:57:27 +01:00
Zsolt Kocsmarszky
af90928552
Better styling for navigation
2017-11-13 20:48:28 +01:00
Zsolt Kocsmarszky
bf6687352a
Unify headers
2017-11-13 20:18:57 +01:00
Zsolt Kocsmarszky
dce64cfdb3
Fix settings container
2017-11-13 19:08:01 +01:00
Zsolt Kocsmarszky
a26195848a
Further refine navbar markup and styling
2017-11-13 17:07:59 +01:00
Zsolt Kocsmarszky
43bf4b1cc8
Major navigation refinement
2017-11-13 16:29:09 +01:00
Zsolt Kocsmarszky
9420d2683e
Drop 'Updated:' prefix
2017-11-13 15:38:34 +01:00
Zsolt Kocsmarszky
c67e9e3ff5
Further simplify navigation
2017-11-13 15:28:21 +01:00
Zsolt Kocsmarszky
3e7e06d4b4
Add time icon next to updated time
2017-11-13 14:33:50 +01:00
deecay
539cbf4ffc
Add: Pie chart subplot title
2017-11-13 01:59:30 +09:00
Zsolt Kocsmarszky
30003297d4
Refine positions for nav new button and logo
2017-11-10 00:22:34 +01:00
Zsolt Kocsmarszky
f9e416a5dd
Massive styling refinement
2017-11-09 23:39:53 +01:00
Zsolt Kocsmarszky
727674673e
Make Edit/New dashboard modal more obvious
2017-11-09 23:39:31 +01:00
Zsolt Kocsmarszky
b57f78155c
Add container for Settings to resolve vertical scroll issue
2017-11-09 23:39:03 +01:00
Zsolt Kocsmarszky
e9b05ad2fd
Massive navigation refinement
2017-11-09 23:38:14 +01:00
Zsolt Kocsmarszky
ea7b09d18e
Add extra classes for widget elements for easier styling
2017-11-09 23:37:52 +01:00
Zsolt Kocsmarszky
30dc3d779c
consistent footer templates
2017-11-09 23:37:21 +01:00
Zsolt Kocsmarszky
0d638cbe4a
Better page title so you know where you are and what you're doing
2017-11-09 23:35:49 +01:00
Zsolt Kocsmarszky
92820872a2
Add missing container + remove container from the middle so the layout works better
2017-11-09 23:35:17 +01:00
Zsolt Kocsmarszky
590b7d66b6
Remove unnecessary row class that messes up the layout
2017-11-09 23:34:40 +01:00
Zsolt Kocsmarszky
dfef594f2e
Add extra class for easier styling + remove unnecessary h3 around the top right area (bc it messes up everything with h3's margins)
2017-11-09 23:34:04 +01:00
Zsolt Kocsmarszky
4dad07e329
Change order, so All queries comes first on the tabs
2017-11-09 23:32:31 +01:00
Zsolt Kocsmarszky
90fbb3d94e
Move global style out from local file
2017-11-09 23:32:04 +01:00
Zsolt Kocsmarszky
3079917527
Collapse section for profile
2017-11-09 23:31:34 +01:00
Zsolt Kocsmarszky
e84e866220
Collapse change password section by default
2017-11-09 23:30:51 +01:00
Zsolt Kocsmarszky
dd4db4be28
Re-align footer so it feels simpler
2017-11-09 23:30:24 +01:00
Zsolt Kocsmarszky
3f609981b7
Re-organise individual user setting screens into one page
2017-11-09 18:54:07 +01:00
Arik Fraimovich
6eca14e441
Merge pull request #2062 from kravets-levko/feature/dashboard-editor
...
Add: flexible dashboard layout
2017-11-08 11:09:03 +02:00
Levko Kravets
54ade336f5
CR3
2017-11-08 11:06:53 +02:00
Levko Kravets
627dc26004
In editing mode hide menu button and show remove button instead
2017-11-07 16:31:24 +02:00
Levko Kravets
1bb7cc0ad6
Fix: widget menu not visible on small widgets
2017-11-07 15:55:16 +02:00
Levko Kravets
18b4c3eff8
Fix widget auto-height behaviour
2017-11-07 15:46:24 +02:00
Levko Kravets
43bf051d51
Cleanup CSS
2017-11-07 10:41:29 +02:00
Levko Kravets
bbcbb3edc6
CR2
2017-11-06 21:52:23 +02:00
Levko Kravets
8bb9a1a53e
CR1
2017-11-06 21:50:11 +02:00
Levko Kravets
6a7d2291b4
getredash/redash#335 Better dashboard editor
2017-11-06 21:50:11 +02:00
Arik Fraimovich
900d558857
CirlceCI: Docker build for release branches.
2017-11-02 10:59:21 +02:00
Arik Fraimovich
c6dc9affed
Redshift: change default SSL mode to prefer.
2017-11-02 10:57:54 +02:00
Arik Fraimovich
96486b5c58
Update v3 CHANGELOG.
2017-11-02 10:33:53 +02:00
Arik Fraimovich
7c1565017f
Merge pull request #2072 from getredash/feature/query_results
...
🎉 Add: data source to run queries on top of query results
2017-11-01 16:22:32 +02:00
Arik Fraimovich
7197370ad4
Add Query Results to the default query runners list.
2017-11-01 16:14:45 +02:00
Arik Fraimovich
1cbf09cbbe
Add: data source to run queries on top of query results.
2017-11-01 16:10:04 +02:00
Arik Fraimovich
28b4450fa9
Merge pull request #2068 from kyoshidajp/copy_param_value_when_forking
...
Copy parameters value when forking a query
2017-11-01 15:18:22 +02:00
Arik Fraimovich
a799303f53
Merge pull request #2071 from getredash/bugfixes
...
Fix #1824 : allow only user API key to be used with query refresh API.
2017-11-01 15:12:53 +02:00
Arik Fraimovich
59d6eb662c
Merge pull request #2070 from getredash/bugfixes
...
Fix: require full access to the data source to fork a query.
2017-11-01 15:06:36 +02:00
Arik Fraimovich
4e4a3e13ab
Fix #1824 : allow only user API key to be used with query refresh API.
2017-11-01 15:05:55 +02:00
Arik Fraimovich
095d07bcb8
Disable fork button for those can't fork
2017-11-01 14:56:11 +02:00
Arik Fraimovich
71a235c79b
Merge pull request #2069 from getredash/bugfixes
...
Fix #1979 : API key of one query could be used to get results of another one
2017-11-01 14:47:23 +02:00
Arik Fraimovich
2bc3885977
Fix: require full access to the data source to fork a query.
...
Ref #1825 .
2017-11-01 14:46:29 +02:00
Arik Fraimovich
97217f56c1
Remove unused variables
2017-11-01 13:52:41 +02:00
Arik Fraimovich
ba36f7395d
Fix #1979 : API key of one query could be used to get results of another one
2017-11-01 13:51:09 +02:00
Arik Fraimovich
ea7ca9e632
Merge pull request #2067 from getredash/params_refresh
...
Use query result for drop down values implementation updates
2017-11-01 13:50:49 +02:00
Katsuhiko YOSHIDA
5e5fc736bf
Copy parameters value when forking a query
2017-11-01 06:27:03 +09:00
Arik Fraimovich
f38e76ad10
Merge pull request #2061 from kyoshidajp/delete_groupid_from_user_when_deleting_group
...
Delete the group id from user when deleting a group
2017-10-31 22:45:44 +02:00
Arik Fraimovich
80a6f357e3
Merge pull request #2063 from deecay/box-sortx
...
Fix: Boxplot xaxis sort issue
2017-10-31 22:39:26 +02:00
Arik Fraimovich
bd91288d1a
Save only the query id instead of query id and name
2017-10-31 12:40:02 +02:00
Arik Fraimovich
38389a28ed
Update eslint config to use longer lines
2017-10-31 12:06:52 +02:00
Arik Fraimovich
9ef9f29213
Query based parameter changes:
...
- Use $onChanges instead of $watch (fixes an issue where the query
results was constantly reloading).
- Choose the first value when first loading the options.
2017-10-31 12:05:55 +02:00
Arik Fraimovich
a3c2082b7f
Fix: move boto3 import to the correct location
2017-10-30 14:53:22 +02:00
deecay
bc5516e941
Fix: Boxplot xaxis sort issue
2017-10-30 17:08:51 +09:00
Arjan Scherpenisse
87c705e5c8
Make the doc_count column integer
2017-10-30 09:07:03 +01:00
Katsuhiko YOSHIDA
65ac8c715e
Add user info to db.session
2017-10-29 22:30:53 +09:00
Arik Fraimovich
9874361466
Merge pull request #2060 from kyoshidajp/fix_export_excel
...
Fix error when exporting list data as Excel file
2017-10-29 15:10:34 +02:00
Arik Fraimovich
b28c8fa227
Merge pull request #2045 from myouju/master
...
Added 'Use Glue Data Catalog' options in Athena
2017-10-29 14:43:25 +02:00
Katsuhiko YOSHIDA
048bd53eac
Delete the group id from user when deleting a group
2017-10-29 11:28:15 +09:00
Katsuhiko YOSHIDA
95c707d028
Fix error when exporting list data as Excel file
2017-10-28 23:16:02 +09:00
Arik Fraimovich
41ec4c857b
Update CHANGELOG
2017-10-26 22:17:58 +03:00
Arik Fraimovich
e62acb1d99
Merge pull request #2056 from getredash/boilerplate
...
Reduce boilerplate in frontend code
2017-10-26 12:06:43 +03:00
Arik Fraimovich
a9dc00aaa6
Remove last relative imports
2017-10-26 10:54:28 +03:00
Arik Fraimovich
38c6152aa0
Move init code into app/config/index.js from app/index.js
2017-10-26 10:00:59 +03:00
Arik Fraimovich
fb723328d4
Add app/lib folder for general client code (instead of app/utils)
2017-10-26 10:00:36 +03:00
Arik Fraimovich
047475562d
Support for non relative path imports in client code:
...
So this:
import { Paginator } from "../../lib";
Becomes:
import { Paginator } from "@/lib";
Makes code cleaner and more portable.
2017-10-26 09:58:24 +03:00
Arik Fraimovich
acd33ec852
Auto register Angular components, pages, etc
2017-10-25 23:34:51 +03:00
Arik Fraimovich
340a23e71c
Merge pull request #2054 from jezdez/docker-entrypoint-wildcard
...
Allow running any command inside the container via the docker entrypoint script.
2017-10-25 22:39:55 +03:00
Jannis Leidel
3db1b7f265
Allow running any command inside the container via the docker entrypoint script.
...
This allows running generic things like opening a bash shell:
docker-compose run server bash
2017-10-25 20:43:32 +02:00
Arik Fraimovich
845357fa02
Add logging to route registration.
2017-10-25 17:53:28 +03:00
Candido Dessanti
825fff5fe1
Update mapd.py
2017-10-25 07:18:25 +02:00
Candido Dessanti
abda68380e
Update mapd.py
2017-10-25 07:11:05 +02:00
cdessanti
886a5eff43
added python driver of Mapd database
...
the other packages need will be added as deps when pymapd is installed
2017-10-24 18:25:33 +02:00
cdessanti
c3e19858b5
added mapd.py to default query runners
2017-10-24 18:20:31 +02:00
cdessanti
b9d9bcc0be
Create mapd.py
...
query runner to catalog and access to mapd database
2017-10-24 17:58:38 +02:00
Arik Fraimovich
f75e31fa8e
Merge pull request #2042 from isomura/modSetupShMkdir
...
Make /opt/redash directory if it's not exist.
2017-10-23 10:57:11 +03:00
Arik Fraimovich
38be723179
Merge branch 'master' into modSetupShMkdir
2017-10-23 10:56:50 +03:00
Arik Fraimovich
18bf44453d
Update bootstrap script to use v2.0.1.
2017-10-22 15:13:30 +03:00
Arik Fraimovich
374f11252f
Add v2.0.1.
2017-10-22 15:03:17 +03:00
Mike Fiedler
45a6651aaf
Rename class, guard against calling lower() on None
...
Signed-off-by: Mike Fiedler <miketheman@gmail.com >
2017-10-22 07:53:38 -04:00
Arik Fraimovich
2d3566abce
Merge pull request #2046 from sylvainv/patch-1
...
Make use of REDASH_BASE_PATH variable in setup script
2017-10-22 14:47:58 +03:00
Arik Fraimovich
17d6bfff63
Merge pull request #2012 from yershalom/create_prometheus_ds
...
Added / on api path to prevent wrong url param
2017-10-22 09:55:41 +03:00
Arik Fraimovich
73540175d8
Merge pull request #2021 from hhamalai/configurable_invitation_token_age
...
Make invitation token max age configurable
2017-10-22 09:55:11 +03:00
Arjan Scherpenisse
4b9e4593c8
Elasticsearch: Collect doc_count field from aggregation
2017-10-21 07:36:02 +02:00
Sylvain
8c693efb3e
Add missing $REDASH_BASE_PATH usage
2017-10-19 01:39:08 -05:00
Sylvain
51392d0398
Add missing $REDASH_BASE_PATH usage
2017-10-19 01:37:11 -05:00
Sylvain
78888c2082
Make use of REDASH_BASE_PATH variable
2017-10-19 01:35:14 -05:00
Arik Fraimovich
bc6bd1b316
Merge pull request #2044 from getredash/redshift
...
Redshift: add support for the new ACM root CA.
2017-10-18 15:59:05 +03:00
Arik Fraimovich
4060344a72
Merge pull request #2038 from atharvai/feature/redshift-spectrum
...
Add support for AWS Redshift Spectrum (external) tables
2017-10-18 15:56:14 +03:00
yukimaeno
6522325060
fixed private method
2017-10-18 21:51:46 +09:00
yukimaeno
ae6564e912
Added 'Use Glue Data Catalog' options in Athena
2017-10-18 21:41:13 +09:00
Arik Fraimovich
2af70a6c2d
Redshift: add support for the new ACM root CA.
2017-10-18 14:58:50 +03:00
Jannis Leidel
45aad4bdbc
Move to pytest since nose is unmaintained.
2017-10-18 13:51:09 +02:00
Arik Fraimovich
a3a1dcf4ba
Merge pull request #2040 from cyriac/patch-2
...
Show query editor's Archive/Publish Query drop-down only on saved queries
2017-10-18 11:20:31 +03:00
isomura
eb979ef130
Make /opt/redash directory if it's not exist.
2017-10-18 09:54:56 +09:00
Cyriac Thomas
7f7fdbba54
show query builder Archive/Publish Query dropdown only on saved queries
2017-10-17 20:28:20 +05:30
Arik Fraimovich
fa213d72a7
Merge pull request #2039 from getredash/filters
...
Improve filters UI
2017-10-17 17:02:52 +03:00
Arik Fraimovich
d2bf935edb
Improve filters UI (labels for */-, label for filter, show values when selected)
2017-10-17 16:35:46 +03:00
Arik Fraimovich
c4349f5c64
Merge pull request #2037 from getredash/patches
...
Add: option to set allowDiskUse in MongoDB queries
2017-10-16 10:19:55 +03:00
Arik Fraimovich
b5a6f4a166
Merge pull request #2028 from kyoshidajp/autofocus_in_1st_input_item
...
Set auto focus in first input items
2017-10-16 10:08:19 +03:00
Arik Fraimovich
79807dfa14
Typo fix.
2017-10-16 10:07:25 +03:00
Arik Fraimovich
0b0ec90987
Update gunicorn to latest version
2017-10-16 09:19:13 +03:00
Arik Fraimovich
a9fc220ec8
Merge pull request #2034 from getredash/patches
...
Add: disabled status to Organization
2017-10-16 09:18:55 +03:00
Arik Fraimovich
ee9bbbaa7c
Merge pull request #2024 from cyriac/patch-1
...
Fixed stage label typo error on sankey and sunburst-sequence editors
2017-10-15 22:51:57 +03:00
Arik Fraimovich
12cc4e5ff9
Add: option to set allowDiskUse in MongoDB queries.
2017-10-15 15:54:04 +03:00
Arik Fraimovich
b5b5643090
Add: disabled status to Organization
2017-10-15 15:51:41 +03:00
Arik Fraimovich
6718081a49
Merge pull request #2033 from getredash/patches
...
Add: option to disable SQLAlchemy connection pool
2017-10-15 15:51:12 +03:00
Arik Fraimovich
138087861c
Add missing import
2017-10-15 15:39:41 +03:00
Arik Fraimovich
9a88cf1743
Merge branch 'patches' of github.com:getredash/redash into patches
2017-10-15 15:37:51 +03:00
Arik Fraimovich
2ca93599ef
Merge pull request #2032 from getredash/patches
...
Add: option to set a time limit on adhoc queries
2017-10-15 15:37:22 +03:00
Arik Fraimovich
ef85a06d60
Fix import.
2017-10-15 15:16:31 +03:00
Arik Fraimovich
f7ffc75ba4
Add: option to disable SQLA connection pool.
2017-10-15 15:09:18 +03:00
Arik Fraimovich
f28eda4174
Merge pull request #2031 from getredash/patches
...
Add: option to disable sending an invite to a new user
2017-10-15 15:07:17 +03:00
Arik Fraimovich
c5458af1a0
Add: option to set a time limit on adhoc queries
2017-10-15 15:02:34 +03:00
Arik Fraimovich
c28ced14c6
Merge pull request #2030 from getredash/patches
...
Change: make log format configurable.
2017-10-15 15:00:27 +03:00
Arik Fraimovich
1110e17c4a
Add: option to disable sending an invite to a new user
2017-10-15 14:56:26 +03:00
Arik Fraimovich
3b9c31a056
Change: make log format configurable.
2017-10-15 14:52:12 +03:00
Arik Fraimovich
38b655ce3a
Merge pull request #2029 from getredash/patches
...
Change: sort series by name.
2017-10-15 14:36:41 +03:00
Arik Fraimovich
0ec9b73eb2
Change: sort series by name.
2017-10-15 14:33:55 +03:00
Katsuhiko YOSHIDA
b67369daa4
Set auto focus in first input items
2017-10-15 00:02:14 +09:00
Cyriac Thomas
cbc7eee592
fixed stage label typo on sankey and sunburst-sequence editors
2017-10-13 14:44:52 +05:30
Atharva Inamdar
d512cef5af
Add support for AWS Redshift Spectrum (external) tables
2017-10-12 14:46:07 +01:00
Atharva Inamdar
c6d1fc103c
Merge pull request #1 from getredash/master
...
merge base master with this fork
2017-10-12 14:43:54 +01:00
Harri Hämäläinen
bf5b31b252
Make invitation token max age configurable
2017-10-12 09:04:45 +03:00
Arik Fraimovich
0c404fa602
Merge pull request #1906 from kitsuyui/add-query-runner-azure-sql-data-warehouse
...
Query Runner for Azure SQL Data Warehouse
2017-10-11 10:27:02 +03:00
Arik Fraimovich
0ebb6ada3c
Merge pull request #2017 from yutannihilation/fix-docker-compose
...
Fix docker-compose.production.yml
2017-10-11 10:01:25 +03:00
Hiroaki Yutani
d2e519cc3b
fix docker-compose.production.yml
2017-10-11 09:53:04 +09:00
Mike Fiedler
be232543d6
Use a custom EmailType/CaseInsensitiveComparator
...
sqlalchemy doesn't appear to have a case sensitive column, so we craft a
type that can have the semantics of case insensitive comparison.
Ref http://docs.sqlalchemy.org/en/rel_1_1/orm/extensions/hybrid.html#building-custom-comparators
Signed-off-by: Mike Fiedler <miketheman@gmail.com >
2017-10-10 18:32:00 -04:00
Mike Fiedler
9076715d84
Ensure email is case-insensitive
...
While RFC 5321 alows for the username/mailbox art of the address to be
case-sensitive, it is hightly discouraged.
The local-part of a mailbox MUST BE treated as case
sensitive. Therefore, SMTP implementations MUST take care to
preserve the case of mailbox local-parts. In particular, for
some hosts, the user "smith" is different from the user
"Smith". However, exploiting the case sensitivity of mailbox
local-parts impedes interoperability and is discouraged.
Mailbox domains follow normal DNS rules and are hence not
case sensitive.
-- https://tools.ietf.org/rfc/rfc5321.txt
Signed-off-by: Mike Fiedler <miketheman@gmail.com >
2017-10-10 17:49:50 -04:00
Shalom Yerushalmy
9b38f1e81c
Added / on api path to prevent wrong url param
2017-10-10 16:28:11 +03:00
Arik Fraimovich
f03c173c57
Merge pull request #2003 from yershalom/create_prometheus_ds
...
Create prometheus ds
2017-10-10 11:43:59 +03:00
Arik Fraimovich
f89842801f
Make URL required.
2017-10-10 11:41:34 +03:00
Arik Fraimovich
56d4ad74a8
Change get_schema to call requests directly.
2017-10-10 11:40:33 +03:00
Arik Fraimovich
334e95afa0
Merge pull request #2004 from modomoto/make_test_run_configurable
...
Allow setting test file with docker test run
2017-10-09 17:31:25 +03:00
Arik Fraimovich
0443d84848
Merge pull request #2008 from getredash/patches
...
Change: use outdated queries count stored already in Redis.
2017-10-09 16:43:59 +03:00
Arik Fraimovich
d38f251688
Change: use outdated queries count stored already in Redis.
2017-10-09 16:28:34 +03:00
Arik Fraimovich
890243eb20
Merge pull request #2007 from getredash/patches
...
Show links based on permissions the user have.
2017-10-09 16:23:34 +03:00
Arik Fraimovich
9fed3266e6
Show links based on permissions the user have.
2017-10-09 16:21:23 +03:00
Shalom Yerushalmy
8fb665be08
Some pep8 styling
2017-10-09 16:19:29 +03:00
Shalom Yerushalmy
c19253648e
Changed prometheus name
2017-10-09 16:18:04 +03:00
Mehmet Emin INAC
b8d2df7567
Allow setting nosetests options via environment variable
...
By setting TEST_ARGS environment variable with -e option of docker-compose
we can set nosetests options to run the tests as we want, like so;
`docker-compose run --rm -e TEST_ARGS="--with-coverage tests/handlers/test_dashboards.py" server tests`
2017-10-09 15:12:04 +02:00
Arik Fraimovich
4603152930
Merge pull request #2006 from getredash/patches
...
Fix: support UTF8 in MySQL schema
2017-10-09 16:10:41 +03:00
Shalom Yerushalmy
e33e90a69d
Remove stftime cause redash already handles this
2017-10-09 16:10:22 +03:00
Arik Fraimovich
f5dcb5d58d
Merge pull request #2005 from getredash/patches
...
Fix: TreasureData queries were failing when returning 0 rows.
2017-10-09 16:09:45 +03:00
Arik Fraimovich
f2f6abe775
Fix: support UTF8 in MySQL schema
2017-10-09 16:09:38 +03:00
Arik Fraimovich
c33189a355
Fix: TreasureData queries were failing when returning 0 rows.
2017-10-09 16:05:58 +03:00
Shalom Yerushalmy
781d997e76
Added redash types
2017-10-09 16:05:11 +03:00
Shalom Yerushalmy
35e02d8043
Changed the timestamp to float
2017-10-09 16:03:35 +03:00
Arik Fraimovich
720af7dabf
Update .gitignore
2017-10-09 13:45:58 +03:00
Shalom Yerushalmy
487a8c798c
Added back the response.raise_for_status() line
2017-10-09 13:43:43 +03:00
Shalom Yerushalmy
0f580f4540
Changed file due to Arik's request
2017-10-09 13:37:23 +03:00
Arik Fraimovich
cb21024e5c
Merge pull request #1981 from yershalom/upgrade_cassandra_version
...
Upgrade cassandra version
2017-10-09 11:39:03 +03:00
Shalom Yerushalmy
df7b970ff7
Fixed line from 123 char to 120 char due to code climate fail
2017-10-09 11:28:26 +03:00
Shalom Yerushalmy
ff4edb4fbd
Added new Promethues data source
2017-10-09 11:20:30 +03:00
Arik Fraimovich
131c9ef036
Merge pull request #1976 from muddydixon/feature/docker-compose-restart-always
...
users using docker-compose require restart always
2017-10-09 09:36:19 +03:00
Arik Fraimovich
a3071a3ba1
Restart only postgres/redis in dev setup.
2017-10-09 09:36:09 +03:00
Arik Fraimovich
8d5ce85954
Merge pull request #1993 from deecay/box-color
...
Fix: Setting series color for boxplot
2017-10-09 09:28:09 +03:00
Arik Fraimovich
9d3ae2c34a
Merge pull request #1998 from modomoto/fix_revoke_permissons_bug
...
[FIX] Revoke permission should respect to given grantee and access type.
2017-10-09 09:27:10 +03:00
Mehmet Emin INAC
6d2337b332
Revoke permission should respect to given grantee and access type.
...
The issue is, if you try to revoke the permission of a user from an
object, all the permissions on this object get removed. The fix is
assigning filtered query object to it's own reference.
According to SQLAlchemy documentation, `filter` method applies to
the **copy** of the query object which means calling filter doesn't
affect the object receiving filter call. For more information;
http://docs.sqlalchemy.org/en/latest/orm/query.html#sqlalchemy.orm.query.Query.filter
2017-10-06 12:52:35 +02:00
Arik Fraimovich
1ef2238d65
Merge pull request #1995 from cclauss/modernize-python2-code
...
Modernize Python 2 code to get ready for Python 3
2017-10-04 22:29:32 +03:00
muddydixon
521d05279b
fixed according to https://github.com/getredash/redash/pull/1976#issuecomment-333370285
2017-10-04 10:01:10 +09:00
cclauss
01e85f218a
Modernize Python 2 code to get ready for Python 3
2017-10-04 02:06:53 +02:00
Arik Fraimovich
8af028bc90
Merge pull request #1994 from kravets-levko/fix/eslint-error
...
Fixed eslint "Cannot read property 'length' of undefined" error
2017-10-03 22:49:43 +03:00
Levko Kravets
85da5fced1
Fixed eslint "Cannot read property 'length' of undefined" error
2017-10-03 21:15:10 +03:00
deecay
038d3b1004
Fix: Setting series color for boxplot
2017-10-03 10:25:07 +09:00
Arik Fraimovich
6cf2b94a10
Merge pull request #1989 from getredash/patches
...
Add option to set the flask-limiter storage engine
2017-10-02 17:26:27 +03:00
Arik Fraimovich
c930c44e3a
Add option to set the flask-limiter storage engine
2017-10-02 17:25:54 +03:00
Arik Fraimovich
0753332ef8
Merge pull request #1988 from getredash/patches
...
Fix: don't crash query editor when there are unclosed curly brackets.
2017-10-02 17:01:22 +03:00
Arik Fraimovich
ed9e409e17
Fix: don't crash query editor when there are unclosed curly brackets.
2017-10-02 16:58:27 +03:00
Arik Fraimovich
c40fffa107
Merge pull request #1986 from getredash/patches
...
Fix: error value in charts wasn't displayed if it was 0.
2017-10-02 16:43:27 +03:00
Arik Fraimovich
d597665a86
Fix: error value in charts wasn't displayed if it was 0.
2017-10-02 16:43:06 +03:00
Arik Fraimovich
b0bec26138
Merge pull request #1975 from rohithmenon/bugfix/query_based_param
...
Bugfix/query based param
2017-10-01 14:32:48 +03:00
Arik Fraimovich
0d44466967
Merge pull request #1984 from getredash/patches
...
Cohort visualization: make it friendlier to use.
2017-10-01 14:26:47 +03:00
Arik Fraimovich
f4cb62782a
Merge pull request #1983 from getredash/patches
...
Fix: Queries#all_queries was sometimes returning wrong number of queries
2017-10-01 14:26:20 +03:00
Arik Fraimovich
3cadd6731c
Fix: tests entering endless loop, due to bad input.
2017-10-01 14:26:04 +03:00
Arik Fraimovich
fc18b84f69
Cohort visualization: make it friendlier to use.
...
Now it can handle gaps in data, so it's easier to generate the data needed.
2017-10-01 14:24:10 +03:00
Arik Fraimovich
f7fc679427
Merge pull request #1965 from alexmuller/firefox-textarea-keydown-prevent-enter
...
Prevent line breaks in EditInPlace description when using Firefox
2017-10-01 14:23:29 +03:00
Arik Fraimovich
e674b715ef
Merge pull request #1966 from alexmuller/different-markdown-library
...
Use a different markdown library
2017-10-01 14:22:23 +03:00
Arik Fraimovich
029f6335ed
Add missing import.
2017-10-01 14:19:26 +03:00
Shalom Yerushalmy
fb4153add7
Upgarde cassasndra-driver version to 3.11.0
2017-09-28 13:28:21 +03:00
Arik Fraimovich
ada8a1255b
Fix: Queries#all_queries was sometimes returning wrong number of queries.
2017-09-27 18:17:57 +03:00
Arik Fraimovich
505f338da9
Merge pull request #1978 from getredash/patches
...
Fix #1950 : record_event fails for api events
2017-09-27 18:08:57 +03:00
Arik Fraimovich
18d9b2eec9
Fix #1950 : record_event fails for api events
2017-09-27 18:04:21 +03:00
muddydixon
41a03352b9
users using docker-compose require restart always
2017-09-27 17:26:39 +09:00
Rohith Menon
50f817e265
Merged with upstream
2017-09-26 23:18:50 -07:00
Rohith Menon
04ddb289ee
Merged with upstream
2017-09-26 23:13:02 -07:00
Rohith Menon
0152250e14
Bugfix: column.type not set by many data sources [sqlite, postgres etc]
2017-09-26 23:07:18 -07:00
Alex Muller
f574cdd179
Use a different markdown library
...
`marked` has some security vulnerabilities which have been unresolved
for a while. `markdown` seems to be better supported.
2017-09-22 19:08:07 +01:00
Alex Muller
458f213ea7
Update npm-shrinkwrap
...
Not sure why this hadn't been updated previously.
2017-09-22 18:42:46 +01:00
Alex Muller
f2caae6eb1
Use event.preventDefault() on EditInPlace textarea
...
Before this change, pressing enter in Firefox 55 would insert a line
break into the description field and then save it.
This change prevents the line break from being inserted before saving.
There's no change to Chrome's behaviour from this change.
2017-09-22 17:54:02 +01:00
Alex Muller
c01cd89de9
Remove magic numbers from EditInPlace()
...
This makes it a lot easier to read and figure out what's going on.
2017-09-22 17:51:30 +01:00
Alex Muller
5ea3ed7308
Update redirected link in README
2017-09-22 17:51:10 +01:00
Arik Fraimovich
50eb9a86c9
Merge pull request #1961 from fan-t-endo/writer_encode_errors
...
UnicodeWriter errors code to environment
2017-09-21 21:39:59 +03:00
Shalom Yerushalmy
12cbfc5d12
Added timeout to cassandra
2017-09-18 12:06:35 +03:00
kitsuy
ba7ed5c6f0
Renaming SQL Server to SQL Server ODBC
2017-09-15 19:50:39 +09:00
kitsuy
4fbfa682fe
Import types_map and MSSQLJSONEncoder from mssql. It is same.
2017-09-15 19:24:47 +09:00
kitsuy
fb1139a2ea
Remove query encoding.
...
Do not have to encode query.
`execute()` take an unicode query arguments in pyodbc.
2017-09-15 19:02:20 +09:00
kitsuy
8d8ec1a5f8
Rename to Microsoft SQL Server (ODBC)
2017-09-15 18:31:33 +09:00
kitsuy
7582b3174d
Add default driver in configuration_schema to specify driver more easily
2017-09-15 18:28:38 +09:00
kitsuy
154b554ecd
Remove tds_version (no longer used)
2017-09-15 18:26:21 +09:00
kitsuy
316e014cfa
Rename to SQLServerODBC for more precise.
2017-09-15 18:24:39 +09:00
fan-t-endo
048d8fcb5b
UnicodeWriter errors code to environment
2017-09-15 17:56:27 +09:00
Arik Fraimovich
8bbb1cdfd4
Fix: wrong variable name used (dataRow instead of row)
...
Thanks @wu123456.
Closes #1926 .
2017-09-13 22:20:05 +03:00
Arik Fraimovich
94175b8a52
Merge pull request #1899 from queeno/add_oracle_53_support
...
Fix #1843 : Remove deprecated cx_Oracle types
2017-09-13 18:48:14 +03:00
Simon Aquino
c350b43a5a
Update oracle client version
2017-09-13 17:40:44 +02:00
Simon Aquino
b379c13e8b
Update supported Oracle version
2017-09-13 17:39:04 +02:00
Simon Aquino
7d91e9d173
Fix #1843 : Remove deprecated cx_Oracle types
...
FIXED_UNICODE, LONG_NCHAR, LONG_UNICODE and UNICODE have been removed
from cx_Oracle version 5.3 and should be removed from the TYPES_MAP.
2017-09-13 17:31:40 +02:00
Arik Fraimovich
1b15ea8af9
Merge pull request #1727 from crowdworks/salesforce-error-message
...
improve Salesforce error message
2017-09-13 17:39:19 +03:00
Arik Fraimovich
e76efc9cdf
Merge pull request #1896 from StantonVentures/textbox_editing_fix
...
Textbox editing fix
2017-09-13 16:03:22 +03:00
Arik Fraimovich
0a311bf63f
Merge pull request #1873 from deecay/fix-custom-js
...
Custom JS code chart improvements
2017-09-13 15:46:43 +03:00
Arik Fraimovich
5069edb9b1
Merge pull request #1876 from TylerBrock/ssl-postgres
...
Add SSL configuration option for PostgreSQL
2017-09-13 15:44:07 +03:00
Arik Fraimovich
90162b6331
Merge pull request #1920 from deecay/counter-format-string
...
Counter value string formatting
2017-09-13 15:39:52 +03:00
Arik Fraimovich
398812a14f
Merge pull request #1928 from rohithmenon/feature/query_based_parameter
...
Feature/query based parameter
2017-09-13 15:35:50 +03:00
Arik Fraimovich
2e44872b49
Merge pull request #1955 from getredash/fix_mysql
...
MySQL: multiple queries support & connection timeout
2017-09-13 14:48:44 +03:00
Arik Fraimovich
e02fdb3e37
MySQL: add support for multiple queries (returning results only of the last one)
2017-09-13 14:38:56 +03:00
Arik Fraimovich
234edd339c
MySQL: add connection timeout for bad hosts
2017-09-13 14:38:28 +03:00
Arik Fraimovich
e5cbdf3036
Merge pull request #1946 from Posnet/select-all
...
Add ability to easily select all for multi-filter
2017-09-13 14:29:15 +03:00
Arik Fraimovich
9b85890204
Merge pull request #1954 from labradorcouk/master
...
Upgraded dql version to 0.5.24
2017-09-13 14:26:53 +03:00
Antonio Terreno
6295e88d43
Upgraded dql version to 0.5.24 - this allows to query tables in dynamo which have keys with dashes in the name
2017-09-13 09:12:44 +01:00
Arik Fraimovich
7796a57d43
Merge pull request #1930 from mfouilleul/master
...
Cassandra: get_schema support for both C* 2.x and 3.x, support for SortedSet type serialization.
2017-09-12 15:59:36 +03:00
Rohith Menon
df7fd13bfd
Hovertext length ( #3 )
...
* Namelength for hoverlabel to avoid truncation
* Update npm-shinkwrap.json
2017-09-06 21:08:18 -07:00
Rohith Menon
6a5a843478
Merge branch 'master' of https://github.com/getredash/redash
2017-09-05 10:35:40 -07:00
Alec Posney
7d4fb280ba
Add ability to easily select all for multi-filter
...
The multi filter option is useful but lacking in an easy easy way to
select all values. I have added in a psudo option '*' that when selected
automatically fills out the mutli-select with all possible filters.
I have also added in a second psudo option '-' which becomes available
_if_ the multi-filter has all possible values selected.
This makes it easy to clear the multi-filter.
2017-09-05 13:31:04 +10:00
Arik Fraimovich
2a22b98c77
Merge pull request #1944 from getredash/fix_permissions
...
Fix: collaborators couldn't edit visualizations or schedule
2017-09-03 15:00:27 +03:00
Arik Fraimovich
6b56e4a3e3
Allow collaborators to update query schedule.
2017-09-03 14:31:42 +03:00
Arik Fraimovich
47fc6612bf
Allow collaborators to create, delete and edit visualizations.
2017-09-03 14:28:34 +03:00
Rohith Menon
f3e5c22c07
Merge/query based parameter ( #2 )
...
* Feature: Query based parameter (drop-down)
* Restrict to string column for query parameter
* Fix lint errors
* Fix html in paramters.html
* Addressed comments from @arikfr
2017-08-23 20:48:02 -07:00
Maxime Fouilleul
b42d2c5784
Fix codeclimate notices (trailing space)
2017-08-17 18:19:19 +02:00
Maxime Fouilleul
478a86a892
Fix codeclimate notices (SQL)
2017-08-17 18:17:53 +02:00
Maxime Fouilleul
9e0205d148
Improve and fix cassandra query runner
2017-08-17 18:10:16 +02:00
Rohith Menon
59b7961bcd
Addressed comments from @arikfr
2017-08-16 16:04:00 -07:00
Arik Fraimovich
5b54a777d9
Merge pull request #1863 from 44px/ng-annotate-deprecation
...
Replace deprecated ng-annotate with babel plugin
2017-08-16 16:21:23 +03:00
Arik Fraimovich
3af9b333a8
Merge pull request #1898 from StantonVentures/security_lib_updates_7_27_2017
...
update libraries
2017-08-16 16:19:57 +03:00
Arik Fraimovich
dcaecdbe16
Merge pull request #1921 from deecay/error-bar-color
...
Fix: error bar color in sync with series color
2017-08-16 16:19:04 +03:00
Arik Fraimovich
3aa7d86699
Update bootstrap.sh
2017-08-16 16:16:00 +03:00
Rohith Menon
feab2a7e7b
Fix html in paramters.html
2017-08-15 13:53:55 -07:00
Rohith Menon
d18220c1af
Feature/query based parameter ( #1 )
...
* Feature: Query based parameter (drop-down)
* Restrict to string column for query parameter
* Fix lint errors
2017-08-14 21:47:48 -07:00
Rohith Menon
8074a91b29
Fix lint errors
2017-08-14 09:20:58 -07:00
Rohith Menon
72560d985f
Restrict to string column for query parameter
2017-08-14 09:15:28 -07:00
Rohith Menon
ff2c8524de
Feature: Query based parameter (drop-down)
2017-08-14 00:38:41 -07:00
Alison
1bdea11fe3
updates based on PR comments
2017-08-11 21:17:30 -05:00
Arik Fraimovich
a7bed64707
Merge pull request #1836 from amarjayr/master
...
LDAP (Active Directory) implementation
2017-08-09 20:46:17 +03:00
Arik Fraimovich
dc969fe0b5
Bump version.
2017-08-09 20:45:26 +03:00
Amar Ramachandran
588c868060
Make ldap3 requirement optional
2017-08-09 10:32:44 -07:00
Arik Fraimovich
89de5f2a18
Fix #1776 : restart was using wrong command on new AMI builds
2017-08-08 14:21:43 +03:00
Arik Fraimovich
fe32877864
Update CHANGELOG.md
2017-08-08 13:59:31 +03:00
deecay
e739f90405
Fix: error bar color in sync with series color
2017-08-08 18:27:42 +09:00
deecay
a07135c638
Move counter visualiation formatting controls to tab
2017-08-08 17:45:37 +09:00
Arik Fraimovich
6b531ac568
Merge pull request #1891 from yoavbls/master
...
Update bootstrap.sh to latest release
2017-08-06 22:06:15 +03:00
Arik Fraimovich
5bce695fcc
Remove unused import
2017-08-06 21:02:55 +03:00
Arik Fraimovich
ba910280a1
Mark query/visualization view events coming from dashboards
2017-08-06 21:02:11 +03:00
Arik Fraimovich
2f386781d7
Merge pull request #1915 from getredash/patches
...
Add 12 & 24 hours refresh rate option to dashboards.
2017-08-06 20:53:43 +03:00
Arik Fraimovich
4c70349ee1
Add 12 & 24 hours refresh rate option to dashboards.
2017-08-06 20:53:07 +03:00
Arik Fraimovich
74b9c51dea
Merge pull request #1914 from getredash/patches
...
Enable memory optimization for Excel exporter.
2017-08-06 20:51:47 +03:00
Arik Fraimovich
d95c22fa24
Enable memory optimizatino for Excel exporter.
2017-08-06 20:51:05 +03:00
Arik Fraimovich
3a7611309c
Merge pull request #1913 from getredash/patches
...
Fix: pivottable not updating after first save
2017-08-06 20:49:45 +03:00
Arik Fraimovich
5281d6c281
Merge pull request #1912 from getredash/patches
...
Snowflake support is no longer enabled by default
2017-08-06 20:47:56 +03:00
Arik Fraimovich
5bc1e71143
Fix: pivottable not updating after first save
2017-08-06 20:47:52 +03:00
Arik Fraimovich
31ebfb80d7
Snowflake support is no longer enabled by default
2017-08-06 20:45:10 +03:00
Arik Fraimovich
1f8ed8a6c2
Merge pull request #1911 from getredash/patches
...
Add SQLAlchemy pool settings.
2017-08-06 20:40:51 +03:00
Arik Fraimovich
3d10718650
Merge branch 'master' into patches
2017-08-06 20:40:34 +03:00
Arik Fraimovich
4a4ee49187
Add SQLAlchemy pool settings.
2017-08-06 20:39:37 +03:00
Arik Fraimovich
7bf7b00633
Merge pull request #1910 from getredash/patches
...
Fix: PostgreSQL passwords with spaces were not supported.
2017-08-06 20:38:16 +03:00
Arik Fraimovich
68e3fe65ba
Add: support for category type y axis.
2017-08-06 20:37:39 +03:00
Arik Fraimovich
7fe096fba8
Fix: PostgreSQL passwords with spaces were not supported.
...
Closes #1056 .
2017-08-06 20:34:58 +03:00
Arik Fraimovich
f80951457d
Fix: handle the case of query's data source is null
2017-08-06 20:32:51 +03:00
Arik Fraimovich
1da165edc1
Add hard timeout on refresh schema job
2017-08-06 20:32:00 +03:00
Arik Fraimovich
61c7c556b6
Update CHANGELOG.
...
Thank you @laughingman7743, @ziahamza, @yamamanx, @miketheman, @eyalzek, @alexpekurovsky, @44px, @amarjayr, @unixwitch, @danielerapati, @yershalom, @msnider and @alison985.
2017-08-06 15:53:48 +03:00
Arik Fraimovich
6170c48ed2
Merge pull request #1874 from alexpekurovsky/master
...
Setting optional limit for done tasks
2017-08-06 14:33:42 +03:00
kitsuy
974f69aecf
Query Runner for Azure SQL Data Warehouse
...
- This is almost copied from mssql.py.
- Microsoft's driver installation is here: https://www.microsoft.com/en-us/sql-server/developer-get-started/node/ubuntu/
2017-08-03 13:22:45 +09:00
deecay
1a8078ab03
Fix: Custom code keeps appending trace per refresh
2017-07-31 19:22:25 +09:00
Alison
1bc8d586c3
update libraries
...
Based on pyup auto-PR httplib2 and cryptography needed updating which
necessitated updating pyOpenSSL as well.
2017-07-27 21:15:39 -05:00
Alison
a795f1463b
Fixes dashboard textbox editing
...
Combines mozilla/redash PR’s 86 and 95.
There was a bug that saved textbox content on a dashboard when you
tried to close without saving. This fixes it.
2017-07-26 23:15:22 -05:00
Alison
aae77a8b25
Merge remote-tracking branch 'getredash/master'
2017-07-25 15:19:24 -05:00
deecay
c278209883
Counter visualiation formatting
2017-07-25 19:26:52 +09:00
alexpekurovsky
7f8ef2a050
Applying better quality code by @arikfr
2017-07-25 10:19:08 +03:00
alexpekurovsky
d21e11ba33
Creating limit filter for each task state and global limit
2017-07-24 10:13:32 +03:00
alexpekurovsky
1fc990f11a
Setting limit for all task states
2017-07-23 13:50:23 +03:00
yoavbls
a09a767641
Update bootstrap.sh to latest release
2017-07-22 17:55:57 +03:00
Arik Fraimovich
12ef64f10d
Merge pull request #1889 from StantonVentures/upstream_1888
...
Send alert ID to UI
2017-07-21 21:04:44 +03:00
Alison
776e52a77c
Send alert ID to UI
...
This will allow alert detail page links on the alert list page to work again.
2017-07-21 12:54:21 -05:00
Tyler Brock
6d8880c10d
Add SSL configuration option for PostgreSQL
2017-07-19 11:14:40 -07:00
Arik Fraimovich
5d5af369e6
Merge pull request #1870 from eyalzek/log-stream-config
...
Add the option to configure log stream
2017-07-19 15:40:26 +03:00
Arik Fraimovich
1d7fef4f7d
Merge pull request #1871 from unixwitch/configurable-web-worker-count
...
docker: make gunicorn worker count configurable
2017-07-19 15:39:27 +03:00
Arik Fraimovich
35cb0bc805
Remove REDASH_WEB_WORKERS from docker-compose.yml.
...
In development (`dev_server`) we don't use this variable.
2017-07-19 15:39:16 +03:00
Arik Fraimovich
5310385f15
Merge pull request #1884 from miketheman/miketheman/query_link
...
Add link to query page from admin view
2017-07-19 15:35:08 +03:00
Mike Fiedler
41c791ff42
Add link to query page from admin view
...
When we have a long0running query, it is useful to look up what that
query definition is. Having a link directly from the admin page cuts
down on the manual step of opying the query id and pasting that into the
address bar.
Signed-off-by: Mike Fiedler <miketheman@gmail.com >
2017-07-18 10:54:13 -04:00
alexpekurovsky
9b3f910326
Setting optional limit for done tasks
2017-07-12 15:23:01 +03:00
deecay
aacc4b7b46
Fix: Custom code keeps appending trace per refresh
2017-07-11 17:44:05 +09:00
deecay
605a70d554
Add toggle for automatically updating graph
2017-07-11 17:31:16 +09:00
deecay
73466dc0e0
Make custom js textarea resizable
2017-07-11 15:43:09 +09:00
deecay
3fd90c6289
Fix: Custom code didn't load into editor
2017-07-11 10:15:47 +09:00
eyalzek
97624a3e2c
Add the option to configure log stream
...
by default when using python's `logging` module and a `StreamHandler`,
the stream is directed to `sys.stderr`
(https://docs.python.org/2/library/logging.handlers.html )
By setting the `REDASH_LOG_STDOUT` environment variable to `true` we
enable the option to stream the logs to `sys.stdout`. Setting this
configuration option to `false` (or leaving it as default) will
initialize the `StreamHandler` to `sys.stderr` - meaning the original
behavior remains unchanged.
2017-07-07 23:09:32 +02:00
Liss Tarnell
d69c9409dd
docker: make gunicorn worker count configurable
...
Allow $REDASH_WEB_WORKERS to be set in the environment to change the
number of Gunicorn workers that are started (currently hardcoded to
four). If not set, the default is four, so this will not affect
existing users at all.
Documentated by example in docker-compose example manifests.
2017-07-06 18:45:47 +01:00
Arik Fraimovich
5bb5f46c02
Merge pull request #1860 from AmarJayR/patch-1
...
Remove /forgot endpoint if REDASH_PASSWORD_LOGIN_ENABLED is false
2017-07-03 23:22:27 +03:00
Arik Fraimovich
2b6fe22b3f
Merge pull request #1865 from msnider/bug/salesforce-sandbox
...
Fix bug getting the Salesforce sandbox parameter
2017-07-03 23:21:48 +03:00
Alexander Shepelin
53f0716aca
Replace deprecated ng-annotate with babel plugin
2017-07-02 14:22:36 +03:00
Arik Fraimovich
fd798ddcf5
Merge pull request #1833 from 44px/webpack2
...
Update to Webpack 2
2017-07-01 12:39:53 +03:00
Matt Snider
812177a4e0
Fix bug getting the Salesforce sandbox parameter
2017-06-29 20:54:34 -05:00
Amar Ramachandran
b9e08897ac
Move ldap auth logic to function
2017-06-29 11:33:57 -07:00
Amar Ramachandran
e445fa436e
404 on forgot endpoint if password disabled
2017-06-29 11:29:58 -07:00
Arik Fraimovich
797a0a30ca
Merge pull request #1859 from getredash/fix/alerts
...
Add: ability to customize Athena configuration schema
2017-06-29 16:06:02 +03:00
Arik Fraimovich
dfd16f3d7a
Add: ability to customize Athena configuration schema
2017-06-29 16:04:50 +03:00
Arik Fraimovich
a80aae0ec7
Merge pull request #1858 from getredash/fix/alerts
...
Add CLI command to open IPython shell
2017-06-29 15:23:34 +03:00
Arik Fraimovich
c8ad866a53
Add CLI command to open IPython shell
2017-06-29 12:21:09 +03:00
Arik Fraimovich
fe2f08cfd6
Merge pull request #1857 from getredash/fix/alerts
...
Angular configuration improvements
2017-06-29 12:13:22 +03:00
Arik Fraimovich
f64769cc80
Disable Angular debug info (should improve performance)
2017-06-29 12:11:34 +03:00
Arik Fraimovich
831dfe6c8d
Enable strict checking for Angular DI
2017-06-29 12:11:15 +03:00
Arik Fraimovich
3b4da81ec6
Merge pull request #1856 from getredash/fix/alerts
...
Add: ability to set dashboard level filters from UI
2017-06-29 11:03:57 +03:00
Arik Fraimovich
248c540543
Add: ability to set dashboard level filters from UI
...
Closes #1855 .
2017-06-29 10:57:35 +03:00
Arik Fraimovich
0fb0ba6473
Merge pull request #1853 from getredash/fix/alerts
...
Update boto version to support Athena
2017-06-29 09:49:42 +03:00
Arik Fraimovich
019a09945e
Update boto version to support Athena
2017-06-29 09:49:06 +03:00
Arik Fraimovich
520a5f8fa4
Merge pull request #1839 from yamamanx/writer_encode
...
UnicodeWriter character code to environment
2017-06-29 09:44:41 +03:00
mitsuhiro_yamashita
f840681377
change this to WRITER_ENCODING and REDASH_CSV_WRITER_ENCODING
2017-06-29 08:21:22 +09:00
Amar Ramachandran
300421792c
Add log error when LDAP connection fails
...
Integrate ldap login in login template
2017-06-28 13:32:24 -07:00
Arik Fraimovich
0ab25c317c
Merge pull request #1852 from getredash/fix/alerts
...
Allow sorting alerts list
2017-06-28 22:15:40 +03:00
Arik Fraimovich
c8adf322a9
Allow sorting alerts
2017-06-28 22:11:05 +03:00
Arik Fraimovich
fae1e7152a
Merge pull request #1851 from getredash/fix/alerts
...
Don't allow saving dashboard with empty name
2017-06-28 19:30:23 +03:00
Arik Fraimovich
e543e0c466
Don't allow saving dashboard with empty name
2017-06-28 19:22:59 +03:00
Arik Fraimovich
d61002a544
Merge pull request #1850 from getredash/fix/alerts
...
No need to load user for recent queries.
2017-06-28 19:22:49 +03:00
Arik Fraimovich
92f93f8ff6
No need to load user for recent queries.
2017-06-28 19:10:26 +03:00
Arik Fraimovich
bf17bdc32d
Merge pull request #1793 from danielerapati/fix/alert_with_no_query_result
...
safeguard alerts against empty query results
2017-06-28 17:31:43 +03:00
Arik Fraimovich
70292c888c
Merge pull request #1524 from rainforestapp/master
...
Allow params once again in embeds
2017-06-28 17:29:14 +03:00
Arik Fraimovich
69cb5b72e1
Merge pull request #1849 from getredash/fix/alerts
...
Show friendly error message in case of duplicate data source name.
2017-06-28 17:25:13 +03:00
Arik Fraimovich
470d2ad359
Show friendly error message in case of duplicate data source name.
2017-06-28 17:19:17 +03:00
Arik Fraimovich
e85fa2a42c
Merge pull request #1848 from getredash/fix/alerts
...
Fix: when setting rearm on a new alert, it wasn't persisted.
2017-06-28 16:53:17 +03:00
Arik Fraimovich
42116abcb3
Fix: when setting rearm on a new alert, it wasn't persisted.
2017-06-28 16:34:50 +03:00
Arik Fraimovich
2e0b930192
Merge pull request #1847 from getredash/fix/alerts
...
Fix: alert destination details were not updating.
2017-06-28 16:30:14 +03:00
Arik Fraimovich
24ba110965
Fix: alert destination details were not updating.
...
Closes #1842 .
2017-06-28 16:01:54 +03:00
Arik Fraimovich
e1eeb67025
Merge pull request #1846 from getredash/athena-updates
...
Athena updates: bring back ability to disable annotations and disable formatter
2017-06-28 14:19:56 +03:00
Arik Fraimovich
71c9cbd5a4
Missing os import.
2017-06-28 12:40:11 +03:00
Arik Fraimovich
e1ac5bb038
Athena: bring back the option to disable query annotations.
2017-06-28 12:30:37 +03:00
Arik Fraimovich
c2e84c92c6
Athena: use simple formatter to avoid the need to escape "%" character.
2017-06-28 12:28:59 +03:00
Arik Fraimovich
090962d09c
Merge pull request #1841 from laughingman7743/fix_query_cancellation_condition
...
Fix query cancellation condition for Athena query runner
2017-06-25 10:29:24 +03:00
laughingman7743
df945a12b0
Fix query cancellation condition
2017-06-24 20:53:35 +09:00
mitsuhiro-yamashita
3f99f0c6d5
Expected 2 blank lines
2017-06-22 23:38:01 +09:00
mitsuhiro-yamashita
4706bebde0
UnicodeWriter character code to environment
2017-06-22 23:34:21 +09:00
Amar Ramachandran
85f729260b
Clean up file
2017-06-20 15:33:32 -07:00
Amar Ramachandran
8bf2c15db8
Add ldap auth logic
2017-06-20 15:33:32 -07:00
Amar Ramachandran
9ea4784f87
Add ldap3 requirement
2017-06-20 15:33:32 -07:00
Amar Ramachandran
8be9613640
Add ldap env. config settings
2017-06-20 15:33:32 -07:00
Amar Ramachandran
b611c98112
Add ldap blueprint
2017-06-20 15:33:32 -07:00
Alexander Shepelin
ad3dbad8ac
remove ng-annotate-loader from npm-shrinkwrap since it moved to dev dependencies
2017-06-20 23:14:24 +03:00
Alexander Shepelin
62c8bd3531
fix angular core libraries version mismatch
2017-06-20 22:43:59 +03:00
Alexander Shepelin
c8d66b3335
bring back node-sass, update file-loader
2017-06-20 22:43:58 +03:00
Alexander Shepelin
0217d419d1
update ng-annotate loader, move it to devDependencies
2017-06-20 22:43:58 +03:00
Alexander Shepelin
45f448e0d1
update dev server
2017-06-20 22:43:58 +03:00
Alexander Shepelin
ee4b05eb98
update css-related loaders
2017-06-20 22:43:58 +03:00
Alexander Shepelin
202c53c7d7
update config file to webpack2 format
2017-06-20 22:43:41 +03:00
Arik Fraimovich
9816403c45
Merge pull request #1834 from AmarJayR/patch-1
...
Fix template variable typo
2017-06-20 08:52:08 +03:00
Amar Ramachandran
b6a1178499
Fix template variable typo
...
Should be email instead of username (see redash/templates/login.html:47)
2017-06-19 17:10:40 -07:00
Arik Fraimovich
2fe6110e0f
Merge pull request #1831 from getredash/feature_auto_publish
...
Fix: if column had no type it would use previous column's type
2017-06-18 13:02:19 +03:00
Arik Fraimovich
c4e18bb481
Fix: if column had no type it would use previous column's type
2017-06-18 12:31:32 +03:00
Arik Fraimovich
add8f0eeeb
Merge pull request #1830 from getredash/feature_auto_publish
...
Change: auto publish named queries
2017-06-18 12:30:32 +03:00
Arik Fraimovich
694d971df9
Auto publish named queries
2017-06-18 12:12:02 +03:00
Arik Fraimovich
36c93ce212
Merge pull request #1809 from laughingman7743/impl_athena_query_runner_using_restapi
...
Implement Athena query runner using RestAPI
2017-06-15 15:02:23 +03:00
laughingman7743
35fe1f23e3
Fix configuration schema key name
2017-06-15 20:59:50 +09:00
Arik Fraimovich
2517abb27f
Merge pull request #1821 from getredash/fix_api_session
...
Fix: /api/session API call wasn't working when multi tenancy enabled
2017-06-14 12:13:04 +03:00
Arik Fraimovich
1d749a83e1
Fix: /api/session API call wasn't working when multi tenancy enabled
2017-06-14 12:06:18 +03:00
Arik Fraimovich
fc50a7b9bb
Remove outdated comment
2017-06-14 12:05:49 +03:00
Arik Fraimovich
6f72d456d2
Remove unused code
2017-06-14 12:05:49 +03:00
Arik Fraimovich
1182f8c6b0
Merge pull request #1813 from 44px/parameters-styles
...
UI change: add some space between parameters
2017-06-13 11:24:27 +03:00
Arik Fraimovich
f090f947b7
Merge pull request #1820 from getredash/patches
...
Fix: clear null values from options dictionary
2017-06-13 09:52:24 +03:00
Arik Fraimovich
a8246471f4
Fix: clear null values from options dictionary
2017-06-13 09:42:20 +03:00
Arik Fraimovich
229c33939c
Merge pull request #1819 from getredash/patches
...
Fix: form component was inserting empty values
2017-06-13 09:41:24 +03:00
Arik Fraimovich
ef2eaf1fa9
Fix: form component was inserting empty values
2017-06-13 09:39:33 +03:00
Arik Fraimovich
d30f4f155a
Merge pull request #1818 from getredash/patches
...
Fix: BigQuery wasn't loading due to bad import
2017-06-13 09:38:53 +03:00
Arik Fraimovich
b2e5df6af2
Fix: BigQuery wasn't loading due to bad import
2017-06-13 09:38:39 +03:00
Arik Fraimovich
0470cd6592
Stupid typo fix
2017-06-12 12:41:44 +03:00
Arik Fraimovich
a517dad456
Merge pull request #1817 from getredash/metrics
...
Metrics code update
2017-06-12 12:40:32 +03:00
Alexander Shepelin
789ef1614d
Merge remote-tracking branch 'upstream/master' into parameters-styles
2017-06-12 12:14:17 +03:00
Alexander Shepelin
3dfab5009c
put parameter label on top of input
2017-06-12 12:02:03 +03:00
Arik Fraimovich
7d5d7c4a6b
Change: report endpoints without dots for metrics
2017-06-12 11:35:44 +03:00
Arik Fraimovich
5056d2fa90
Fix: table name wasn't found for count queries.
2017-06-12 11:35:05 +03:00
Arik Fraimovich
1fad874dee
Change: redirect to / when org not found
2017-06-12 09:47:08 +03:00
Arik Fraimovich
a2c79367de
Merge pull request #1812 from 44px/fix-search-input-style
...
UI change: same view for input on search result page as in header
2017-06-11 14:39:00 +03:00
Arik Fraimovich
bcf129e646
Merge pull request #1814 from yershalom/master
...
Fixed cassandra DS bug by adding port to connection string
2017-06-11 14:38:18 +03:00
Shalom Yerushalmy
94077ccafd
Fixed cassandra DS bug by adding port to connection string
2017-06-08 15:44:09 +03:00
Alexander Shepelin
411ef7bd00
Add some space between parameters
2017-06-07 23:27:39 +03:00
Alexander Shepelin
6b22c2c541
Same view for input on search result page as in header
2017-06-07 23:03:05 +03:00
laughingman7743
e385a147f6
Add Athena query runner as default query runners
2017-06-06 22:01:44 +09:00
laughingman7743
ad69a6be3f
Add secret field
2017-06-05 23:28:28 +09:00
laughingman7743
a6c45da2ca
Add KeyboardInterrupt handling
2017-06-05 23:26:56 +09:00
laughingman7743
d5c4d9336f
Fix configuration schema name to same name as previous query runner
2017-06-05 23:25:49 +09:00
laughingman7743
c1f8e2a4e0
Add query runner name
2017-06-05 23:03:32 +09:00
laughingman7743
fe42195b5a
Implement Athena query runner using RestAPI
2017-06-05 22:09:30 +09:00
Arik Fraimovich
6a0bb82f3c
Merge pull request #1807 from 44px/fix-setup-redirect
...
Fix redirect to /setup on the last setup step
2017-06-05 07:42:51 +03:00
Alexander Shepelin
69825e001f
fix redirect to /setup after install
2017-06-04 17:24:47 +03:00
Arik Fraimovich
ad8571f2e3
Merge pull request #1803 from getredash/fix_1725
...
Fix: delete data source doesn't work when query results referenced by queries.
2017-06-02 18:17:52 +03:00
Arik Fraimovich
fbd3b92ba0
Fix: delete data source doesn't work when query results referenced by queries.
2017-06-02 18:11:34 +03:00
Arik Fraimovich
4f6c433f1b
Merge pull request #1796 from shotat/feature/re-dash
...
Fix deprecated `re-dash` expressions in CONTRIBUTING.md
2017-06-01 14:46:39 +03:00
Arik Fraimovich
412f469035
Merge pull request #1800 from hfm/fix-changelog
...
Fix CHANGELOG markdown
2017-06-01 14:37:48 +03:00
OKUMURA Takahiro
eee38557d1
Fix markdown
...
the changelog markdown before v1.0 is broken.
2017-06-01 14:46:18 +09:00
Daniele Rapati
23cb92cf6d
safeguard alerts against empty query results
...
alert will revert to UNKNOWN_STATE in case of no data
2017-05-30 22:30:32 +01:00
shotat
108137bd7e
fix CONTRIBUTING.md
2017-05-30 23:51:21 +09:00
hamza zia
6bc53c3638
use default embed.py
2017-05-30 16:33:56 +05:00
hamza zia
e54fff402e
fixed import bug
2017-05-30 16:32:09 +05:00
hamza zia
8d125354d2
merged changes
2017-05-30 14:19:18 +05:00
hamza zia
fc96e14a8f
Only run queries when given parameters
2017-05-30 12:26:09 +05:00
hamza zia
178dfa59c1
Merge branch 'master' into master
2017-05-30 09:09:37 +05:00
Arik Fraimovich
8719de7120
Merge pull request #1792 from getredash/fix_1725
...
Fix: remove unneeded calls to app_context()
2017-05-29 23:37:27 +03:00
Arik Fraimovich
af8bdf4fd1
Fix: remove unneeded calls to app_context()
...
When the extra app_context was popped from the stack, it was
triggering flask-sqlalchemy's teardown handler, which was removing
the session causing objects to become detached before they should
be.
2017-05-29 16:41:42 +03:00
Arik Fraimovich
764e347b74
Merge pull request #1736 from shimpeko/extend_redis_expiry_time
...
Extend expiry time to prevent duplicate execution
2017-05-23 10:53:10 +03:00
Arik Fraimovich
2f1b1a69bd
Add CHANGELOG entry.
2017-05-23 10:52:54 +03:00
Arik Fraimovich
b2fea428dd
Fix: use correct APIs
2017-05-23 09:19:14 +03:00
Shimpei Kodama
1f1d7996ec
Shorten celery task expiry time to avoid too many redis objects
2017-05-23 12:24:03 +09:00
Arik Fraimovich
47dc9a136f
Merge pull request #1779 from getredash/patches
...
Add: "dumb" recents option
2017-05-22 23:15:38 +03:00
Arik Fraimovich
6ed86d9ce5
Merge pull request #1778 from getredash/patches
...
Upgrade Snowflake connector
2017-05-22 14:26:57 +03:00
Arik Fraimovich
8e760705a6
Add: "dumb" recents option
...
In some cases showing recent queries/dashboards based on events becomes
too "expensive" in terms of database resources. This is a fallback option
to show recently updated queries/dashboards instead.
2017-05-22 14:26:26 +03:00
Arik Fraimovich
9c606b9660
Update Snowflake connector
2017-05-22 14:18:34 +03:00
Arik Fraimovich
f65b3223f4
Remove chatty log lines
2017-05-22 14:17:27 +03:00
Arik Fraimovich
e85e962466
Update CHANGELOG and bump version
2017-05-18 15:37:18 +03:00
Arik Fraimovich
a7df809c4d
Merge pull request #1774 from getredash/patches
...
Scheduled queries improvements:
2017-05-18 15:17:03 +03:00
Arik Fraimovich
beb29c66c2
Scheduled queries improvements:
...
* Schedule queries with parameters using the default value.
* Keep track of last execution (including failed ones) for scheduling purposes.
2017-05-18 15:10:19 +03:00
Arik Fraimovich
749171b186
Merge pull request #1746 from alexanderlz/master
...
[Data Sources] Add: MemSQL query runner
2017-05-18 14:01:53 +03:00
Arik Fraimovich
40a8187b1e
Merge pull request #1773 from getredash/patches
...
Split refresh schemas into separate tasks and add a timeout.
2017-05-18 14:00:26 +03:00
Alexander Leibzon
6b7234c910
fixes
2017-05-18 14:00:13 +03:00
Arik Fraimovich
3807510bfe
Split refresh schemas into separate tasks and add a timeout.
2017-05-18 13:39:34 +03:00
Arik Fraimovich
3650617928
Merge pull request #1772 from getredash/patches
...
Upgrade Sentry client.
2017-05-18 13:33:26 +03:00
Arik Fraimovich
d60843fa5b
Sentry: don't install logging hook.
2017-05-18 13:26:36 +03:00
Arik Fraimovich
5a5917a04a
Sentry: upgrade client version.
2017-05-18 13:24:53 +03:00
Arik Fraimovich
ae642fddf7
Merge pull request #1771 from getredash/patches
...
Show API key in a dialog instead of alert
2017-05-18 13:21:28 +03:00
Arik Fraimovich
b4a8fb76de
Merge pull request #1770 from getredash/patches
...
UI changes
2017-05-18 12:58:58 +03:00
Arik Fraimovich
b885ccb09c
Show API Key in a modal dialog instead of alert.
2017-05-18 11:53:16 +03:00
Arik Fraimovich
b70c329307
Dynamic form: change order of name and type (type first now).
2017-05-18 11:37:54 +03:00
Arik Fraimovich
1aa54543ed
Retry reload of query results if it had an error
2017-05-18 11:28:40 +03:00
Arik Fraimovich
e050c085df
Counter: support negative indexes to iterate from the end of the results.
2017-05-18 11:28:25 +03:00
Arik Fraimovich
62962d28ca
Only split columns with __/:: that end with filter/MultiFilter.
2017-05-18 11:15:21 +03:00
Arik Fraimovich
d7c502eb50
Query results: better type guessing on the client side.
2017-05-18 11:13:11 +03:00
Arik Fraimovich
dd7841dc15
Merge pull request #1769 from getredash/patches
...
Improvements to background jobs
2017-05-18 11:09:35 +03:00
Arik Fraimovich
14c751b39e
Cohort: handle the case where the value/total might be strings.
2017-05-18 11:07:39 +03:00
Arik Fraimovich
f4297ff3b0
Handle the case when the task object might not exist.
2017-05-18 09:36:21 +03:00
Arik Fraimovich
79ffbbbe4b
Don't include paused datasource's queries in outdated queries count.
2017-05-18 09:34:32 +03:00
Arik Fraimovich
4c1cb037a0
Include Celery task name in statsd metrics.
2017-05-18 09:33:28 +03:00
Arik Fraimovich
f679dc7562
Put a limit on how many keys we remove at a time to make sure it
...
can handle large lists.
2017-05-18 09:31:04 +03:00
Arik Fraimovich
76470b9f09
Fix: don't remove locks for queries with task status of PENDING.
...
It's possible the Celery metadata object was expired, but the task
is still running (which will result in PENDING status when querying
the AsyncResult object).
2017-05-18 09:25:44 +03:00
Arik Fraimovich
3edec570f1
Merge pull request #1767 from getredash/patches
...
Google Spreadsheets: add timeout to request.
2017-05-17 18:53:44 +03:00
Arik Fraimovich
a2e07b46f2
Merge pull request #1756 from deecay/dashboard-list-sort
...
Change: Sort dashboard-list in /dashboards
2017-05-17 18:36:58 +03:00
Arik Fraimovich
326a80895c
Merge pull request #1615 from deecay/pivot_hide_control
...
Add: option to hide pivot table controls
2017-05-17 18:35:31 +03:00
Arik Fraimovich
d200cc7405
Merge pull request #1690 from deecay/sqlite-unicode-error
...
Fix: SQLite utf-8 error messages
2017-05-17 18:34:10 +03:00
Arik Fraimovich
c4dff40e1d
Merge pull request #1760 from rockwotj/master
...
Add: static enum parameter type.
2017-05-17 18:17:56 +03:00
Arik Fraimovich
21636c4d65
Rename Enum to Dropdown List.
2017-05-17 18:17:08 +03:00
Arik Fraimovich
52084c322f
Google Spreadsheets: add timeout to request.
2017-05-17 18:15:04 +03:00
Arik Fraimovich
5fd2dadef4
Merge pull request #1765 from getredash/patches
...
Multiple improvements to data sources (MySQL, InfluxDB, BigQuery, MongoDB, TreasureData, Postgres, ElasticSearch, MSSQL, Google Spreadsheets)
2017-05-16 12:08:23 +03:00
Arik Fraimovich
f312e89323
Google Analytics: support for mcf queries & better errors.
2017-05-16 11:25:11 +03:00
Tyler Rockwood
0046cfa3ee
Make it work
2017-05-15 14:41:20 -07:00
Tyler Rockwood
4ecc8da398
Addressing comments
2017-05-15 13:52:12 -07:00
Arik Fraimovich
382431e34b
MySQL: support for RDS MySQL and SSL
2017-05-15 17:22:55 +03:00
Arik Fraimovich
6023dc5f3d
MySQL: option to hide SSL settings.
2017-05-15 17:15:11 +03:00
Arik Fraimovich
2d38b38a7d
Google Spreadsheets: handle distant future dates.
2017-05-15 16:55:57 +03:00
Arik Fraimovich
3513d84bb8
Less verbose logging in data sources.
2017-05-15 16:53:47 +03:00
Arik Fraimovich
24cd55f5cc
Reduce log level for apiclient.
2017-05-15 16:51:39 +03:00
Arik Fraimovich
0bce6996bf
MSSQL: return integers as floats.
2017-05-15 16:50:41 +03:00
Arik Fraimovich
6edfdfba63
BigQuery: remove print statement.
2017-05-15 16:49:10 +03:00
Arik Fraimovich
ddbbe1267a
InfluxDB: simpler test connection query (show databases requries admin)
2017-05-15 16:48:16 +03:00
Arik Fraimovich
7fada5d5f7
ElasticSearch: debug_enabled should be false by default
2017-05-15 16:47:21 +03:00
Arik Fraimovich
c3f5a37e21
Postgres: support for loading materialized views in schema.
2017-05-15 16:29:03 +03:00
Arik Fraimovich
a76c87b3ae
MongoDB: add $oids JSON extension.
2017-05-15 16:27:27 +03:00
Arik Fraimovich
4a0612328e
TreasureData: improve error handling and upgrade client.
2017-05-15 16:25:18 +03:00
Arik Fraimovich
931c322ad7
Merge pull request #1763 from getredash/multi_org
...
Support for MULTI_ORG in v1
2017-05-15 12:58:16 +03:00
Arik Fraimovich
58c61641d3
Merge pull request #1759 from alexanderlz/mongo_csv_download_fix
...
Change: ignore additional columns in csv output
2017-05-11 15:30:19 +03:00
Tyler Rockwood
b675cd19d7
Add static enum option to redash
2017-05-09 13:41:58 -07:00
Alexander Leibzon
17b9f976c8
fix #1664
2017-05-09 17:56:40 +03:00
Alexander Leibzon
248808e165
Merge remote-tracking branch 'upstream/master'
2017-05-09 17:53:08 +03:00
Arik Fraimovich
7c6327be57
Clicking logo should take to account homepage
2017-05-09 10:42:30 +03:00
Arik Fraimovich
a86ece66b5
Add chunkhash to filename only when running production build.
2017-05-09 10:41:26 +03:00
deecay
fd9461ef20
Resolving merge
2017-05-08 11:48:14 +09:00
deecay
f121c609ad
Change: Sort dashboard-list in /dashboards
2017-05-08 11:28:41 +09:00
Arik Fraimovich
24f3e071e3
Merge pull request #1754 from getredash/fix_ds_new
...
Fix: properties of data source were not reset when changing type.
2017-05-07 12:38:51 +03:00
Arik Fraimovich
914977f279
Fix: properties of data source were not reset when changing type.
...
Fixes #1748 .
2017-05-07 12:35:23 +03:00
Arik Fraimovich
97b92d8887
Merge pull request #1738 from suemoc/disable-annotations-athena
...
[Athena] Fix: queries throwing errors except for SELECT
2017-05-07 10:21:48 +03:00
Arik Fraimovich
c1981b17a4
Merge pull request #1747 from denisov-vlad/jira-maxresults
...
[JQL] Fix: allow to override maxResults
2017-05-05 09:34:49 +03:00
Vladislav Denisov
ea7c6c2be3
jql: fixed maxResults in count query
2017-05-05 09:26:09 +03:00
Arik Fraimovich
22e3a4d8f2
Merge pull request #1753 from fbertsch/presto_cancellation
...
[Presto] Add: query cancellation support
2017-05-04 23:21:59 +03:00
Frank Bertsch
75ebbe148b
Add presto query cancellation
2017-05-04 11:10:04 -05:00
Arik Fraimovich
75f90c190b
Update test for new path
2017-05-04 11:49:10 +03:00
Arik Fraimovich
8aa053ce21
Log public dashboard view event
2017-05-04 11:27:27 +03:00
Arik Fraimovich
23ba8b4aa1
use relative links
2017-05-04 10:39:39 +03:00
Arik Fraimovich
6dde3170ab
Make embed & shared dashboard routes use mutli_org template
2017-05-04 10:39:32 +03:00
Arik Fraimovich
b9144a9d7a
WIP: support for MULTI_ORG mode ( #1447 )
2017-05-03 23:53:23 +03:00
Yohei Susa
a1a0d766fe
Add environment variable for switching query annotations of Athena to disable
2017-05-03 22:17:59 +09:00
Vladislav Denisov
48322856d9
jql: maxResults fix
2017-05-03 08:52:51 +03:00
Alexander Leibzon
b9f8b6cdbf
reformat, as for pep-8
2017-05-02 23:49:09 +03:00
Alexander Leibzon
805ea3cb46
Merge remote-tracking branch 'upstream/master'
2017-05-02 23:37:12 +03:00
Alexander Leibzon
79187cd29a
get_schema fix
2017-05-02 23:36:11 +03:00
Arik Fraimovich
ccaf78767b
Merge pull request #1700 from deecay/plotly-bump
...
Change: upgrade Plotly.js.
2017-05-02 22:02:21 +03:00
Arik Fraimovich
94a14f93a8
Remove dev dependencies from npm-shrinkwrap.json.
2017-05-02 22:00:09 +03:00
Arik Fraimovich
5ba6af6ad4
Merge pull request #1713 from deecay/plotly-box
...
Change: Box plot library from d3.js to Plotly.js
2017-04-30 23:14:18 +03:00
Arik Fraimovich
25760494d7
Merge pull request #1636 from axibase/propertyOrder
...
[Feature] add: the propertyOrder field to specify order in DataSource settings
2017-04-30 12:31:04 +03:00
Arik Fraimovich
a1fbd511a9
Merge pull request #1651 from axibase/feature/datasource_default_fileds_values
...
Fix: set default values in options to enable 'default: True' for checkbox
2017-04-30 12:30:32 +03:00
Arik Fraimovich
1b756de479
Merge pull request #1670 from ahamino/fix-google-integration
...
Change: newer Google API client library
2017-04-30 12:29:34 +03:00
Arik Fraimovich
a9e53a6c29
Merge pull request #1709 from dotneet/add_maximum_billing_tier_to_bigquery
...
[BigQuery] Add: maximumBillingTier configuration
2017-04-30 12:27:11 +03:00
Arik Fraimovich
111fbfd483
Merge pull request #1721 from jvanegmond/master
...
[JIRA JQL] Change: change default max results limit from 50 to 1000
2017-04-30 11:59:19 +03:00
Arik Fraimovich
437778a8be
Merge pull request #1730 from mfouilleul/master
...
[Cassandra] Add: support for UUID serializing and setting protocol version
2017-04-30 11:57:55 +03:00
deecay
1c955a570d
Bump Plotly version
2017-04-30 11:47:43 +09:00
Alexander Leibzon
469b041a2f
Merge remote-tracking branch 'upstream/master'
2017-04-30 01:53:02 +03:00
deecay
7a47d6741d
Change: Chosing box plot turns sortX off
2017-04-29 23:42:58 +09:00
Yohei Susa
214a231371
Disable query annotations to Athena query runner
2017-04-27 18:45:49 +09:00
Shimpei Kodama
eb3e30f70f
Extend expiry time to prevent duplicate execution
2017-04-25 11:00:52 +09:00
Abdelrahman Mahmoud
7324f1f4c7
Fix code climate warnings
2017-04-23 12:41:49 -04:00
Abdelrahman Mahmoud
93df24de39
Fix Google analytics, Google Spreadsheet and Big Query integration .. upgrade outh2client and google-api-python-client
2017-04-23 12:41:49 -04:00
Maxime Fouilleul
9f21807647
remove useless param
2017-04-20 11:33:12 +02:00
Maxime Fouilleul
9b59394768
Fix default values for proto/cqlversion
2017-04-20 11:16:37 +02:00
Maxime Fouilleul
ac1b0a46f9
Fix trailing spaces (style)
2017-04-19 23:00:39 +02:00
Maxime Fouilleul
5d7795ca47
Fix code style
2017-04-19 22:14:27 +02:00
Maxime Fouilleul
519fb49f6a
Improve cassandra lib
2017-04-19 16:39:43 +02:00
Arik Fraimovich
f504b682f3
Bump version.
2017-04-18 22:50:57 +03:00
Arik Fraimovich
f0719f5ea4
Fix: sort by header no longer working.
...
Closes #1726 .
2017-04-18 22:50:33 +03:00
Akira Yumiyama
f852f935c5
improve Salesforce error message
2017-04-18 23:37:05 +09:00
Arik Fraimovich
939aae086f
ADd changelog entry for favicons fix
2017-04-18 15:22:05 +03:00
Arik Fraimovich
742e38b08d
Update CHANGELOG and bump version
2017-04-18 15:20:21 +03:00
Arik Fraimovich
3c7c93fc9f
Fix: favicon wasn't showing up.
...
Closes #1719 .
2017-04-18 15:19:57 +03:00
Arik Fraimovich
53ffff9759
Merge pull request #1716 from deecay/dashboard-tag-m17n
...
Fix: Non-ASCII dashboard tag
2017-04-18 15:02:27 +03:00
Arik Fraimovich
2e7fafc4d8
CHANGELOG update.
2017-04-18 14:59:44 +03:00
Jos van Egmond
ccf9cbd2c8
Raise JQL limit from default 50 to 1000
2017-04-14 16:06:38 +02:00
hamza zia
730b7c8cad
merged upstream
2017-04-11 13:20:13 -04:00
Arik Fraimovich
c66b09effe
Merge pull request #1717 from getredash/fix_embeds
...
Fix: page freezes when rendering large result set.
2017-04-11 18:33:11 +03:00
Arik Fraimovich
a087fe4bcd
Fix: page freezes when rendering large result set.
...
Closes #1711 .
2017-04-11 18:05:43 +03:00
deecay
ac557fd5b5
Change: Box plot library from d3 to Plotly
2017-04-07 19:35:28 +09:00
Arik Fraimovich
1f4946cc04
Merge pull request #1710 from getredash/fix_embeds
...
Fix: embeds were not rendering in PhantomJS.
2017-04-05 12:58:05 +03:00
Arik Fraimovich
08505a2208
Add changelog entry
2017-04-05 12:40:56 +03:00
Arik Fraimovich
e1c186bbf8
Fix: embeds were not rendering in PhantomJS.
...
Include polyfill for missing ArrayView functions.
Closes #1708 .
2017-04-05 12:38:21 +03:00
devneko
91396f0c52
Add: maximumBillingTier for BigQuery
2017-04-05 16:11:17 +09:00
Arik Fraimovich
c83d354eed
Merge pull request #1707 from getredash/docker-compose
...
Update docker-compose configuration:
2017-04-03 18:30:55 +03:00
Arik Fraimovich
81063731c9
Update docker-compose configuration:
...
* Use newer versions of Redis & PostgreSQL
* Use image for production docker-compose.
2017-04-03 18:28:46 +03:00
Arik Fraimovich
f66fe5ff80
Update packer configuration to create GCE image
2017-04-03 18:07:19 +03:00
Arik Fraimovich
8425698583
Update env
2017-04-03 13:18:34 +03:00
Arik Fraimovich
8b08b1a563
Merge pull request #1704 from getredash/new_bootstrap
...
New bootstrap script for Ubuntu 16.04
2017-04-03 13:16:53 +03:00
Arik Fraimovich
15b228b754
Update README
2017-04-03 12:54:23 +03:00
Arik Fraimovich
1db4157b29
Fix bootstrap script to be headless
2017-04-03 12:54:17 +03:00
Arik Fraimovich
079530cf63
Remove unused files
2017-04-03 12:54:05 +03:00
Arik Fraimovich
d2370a94c7
New bootstrap script
2017-04-03 10:30:06 +03:00
deecay
9f3fd021ab
Fix backward compatibility and resolve conflict
2017-04-03 16:25:23 +09:00
Arik Fraimovich
903463972b
Fix: handle the case when a scheduled query wasn't run before
2017-04-02 15:20:45 +03:00
Arik Fraimovich
2707e24f30
Update CHANGELOG & version
2017-04-02 14:43:02 +03:00
Arik Fraimovich
3df826692c
Merge pull request #1703 from getredash/queries
...
Fix: optimize queries to avoid N+1 cases
2017-04-02 14:09:12 +03:00
Arik Fraimovich
1142a441fc
Fix: optimize queries to avoid N+1 cases
2017-04-02 14:01:23 +03:00
Arik Fraimovich
53268989c5
Merge pull request #1701 from akiray03/refactor-next-to-next_path
...
Change: rename local variable `next` to `next_path`
2017-04-02 11:15:46 +03:00
deecay
83ed9fdc51
Fix: Dashboard tag for unicode dashboard names
2017-04-01 23:28:53 +09:00
Akira Yumiyama
0dc98e87a6
rename local variable next to next_path. because shadow built-in methods.
2017-04-01 20:25:23 +09:00
Arik Fraimovich
0cf4db1137
Update atsd_client version.
2017-03-30 15:19:57 +03:00
Arik Fraimovich
4e27069d07
Merge pull request #1696 from spasovski/percentstack
...
Fix: wrong percent stacking math
2017-03-30 12:15:05 +03:00
Davor Spasovski
3fcd07bc1c
fix percent stacking math (issue 41)
2017-03-29 15:07:37 -04:00
Arik Fraimovich
3414ff7331
Update CHANGELOG.md
2017-03-27 15:07:11 +03:00
Arik Fraimovich
04cd798c48
Update changelog
2017-03-27 15:07:00 +03:00
Arik Fraimovich
50dcf23b1a
Merge pull request #1665 from benmagro/filter_params
...
Fix: Set query filter to match dashboard level filters
2017-03-27 13:13:30 +03:00
Arik Fraimovich
1bb4d6d534
Fix condition to only have effect when there is a value in query string.
2017-03-27 13:12:50 +03:00
Arik Fraimovich
66a5e394de
Merge pull request #1688 from akiray03/refactoring-query-results-export
...
[Refactoring] make_{csv,excel}_content move to models from handlers
2017-03-27 12:42:58 +03:00
Arik Fraimovich
c4ab0916cc
Merge pull request #1682 from denisov-vlad/clickhouse-types-fix
...
[Clickhouse] Fix: better support for types
2017-03-27 12:18:17 +03:00
deecay
9dedaa31c5
Fix: SQLite utf-8 error messages
2017-03-27 16:48:57 +09:00
deecay
de77ebd961
Bump Plotly version
2017-03-27 15:16:42 +09:00
Arik Fraimovich
73cb6925d3
Merge pull request #1689 from getredash/feature/bubble
...
Fix: user can't edit their own alert
2017-03-26 11:55:39 +03:00
Arik Fraimovich
aaf0da4b70
Fix: user can't edit their own alert
2017-03-26 11:45:13 +03:00
Arik Fraimovich
c99bd03d99
Merge pull request #1666 from deecay/pivot-getdata
...
Change: add support for filtered data in Pivot table visualization
2017-03-26 11:33:57 +03:00
Akira Yumiyama
7fbb1b9229
[Refactoring] make_{csv,excel}_content move to models from handlers
...
I want to be able to use like: `python manage.py queries export <query_id>`
2017-03-26 12:24:10 +09:00
Arik Fraimovich
ba54d68513
Merge pull request #1686 from msnider/salesforce-sandbox
...
[Salesforce] Change: Sandbox cannot be required or it will force it to be True.
2017-03-25 21:08:22 +03:00
Matt Snider
f73cbf3b51
Sandbox cannot be required or it will force it to be True. Also, dont annotate SOQL queries as they dont allow comments
2017-03-25 12:19:53 -05:00
deecay
3f047348e2
Pivottable shows filtered data
2017-03-23 21:08:57 +09:00
deecay
10fe3c5373
Revert "Pivottable shows filtered and formatted data"
...
This reverts commit f011d3060a .
2017-03-23 21:07:56 +09:00
Vladislav Denisov
9c8755c9ae
clickhouse: added support for nullable columns
2017-03-22 10:28:44 +03:00
Vladislav Denisov
e8908d04bb
issues/1616: fixed clickhouse types
2017-03-22 09:44:21 +03:00
hamza zia
7bdc42ff05
Merge pull request #1 from getredash/master
...
Upstream Update
2017-03-21 23:19:53 +08:00
Arik Fraimovich
293f9dcaf6
Merge pull request #1680 from getredash/feature/bubble
...
Add: bubble charts support
2017-03-21 10:58:36 +02:00
Arik Fraimovich
ce31b13ff6
Add: bubble charts support
2017-03-21 10:46:11 +02:00
Arik Fraimovich
a033dc4569
Fix: angular minification issue in textbox editor
2017-03-20 17:41:52 +02:00
Arik Fraimovich
6ff338964b
Fix: angular minification issue in schema browser
2017-03-20 17:37:32 +02:00
Arik Fraimovich
97a7701879
Merge pull request #1617 from 44px/refresh-schema-button
...
Add "Refresh Schema" button to the datasource
2017-03-20 14:11:05 +02:00
Arik Fraimovich
7558b391a9
Merge pull request #1673 from 44px/editorconfig
...
Add: .editorconfig to keep code style consistent
2017-03-20 10:54:58 +02:00
Alexander Shepelin
b6bed112ee
Add .editorconfig to keep code style consistent
2017-03-17 01:09:44 +03:00
Alexander Shepelin
9417dcb2c2
preserve old schema if we get error on refresh
2017-03-16 23:56:56 +03:00
Alexander Shepelin
5f106a1eee
Merge remote-tracking branch 'origin/master' into refresh-schema-button
2017-03-16 23:20:21 +03:00
Arik Fraimovich
cda05c73c7
Merge pull request #1657 from deecay/ie-scrollbar
...
Show vertical scrollbar for IE
2017-03-16 11:59:42 +02:00
deecay
95398697cb
Set ms-overflow-style to auto for html
2017-03-16 18:29:25 +09:00
Arik Fraimovich
dc019cc37a
Merge pull request #1649 from getredash/fixes201602
...
Fix: datetime parameters were not using a date picker.
2017-03-15 18:08:32 +02:00
rmakulov
5306814237
rm left overs
2017-03-15 19:01:56 +03:00
Arik Fraimovich
72cb5babe6
Change datetime serialization format
2017-03-15 18:00:25 +02:00
Arik Fraimovich
ebc2e12621
Merge pull request #1622 from axibase/master
...
[Data Sources] Add: ATSD query runner
2017-03-15 16:31:03 +02:00
deecay
f011d3060a
Pivottable shows filtered and formatted data
2017-03-10 19:10:31 +09:00
Ben Magro
8c5f71a0a1
set filter paramas in query to match dashboard level filters when they are present
2017-03-10 11:28:39 +11:00
Arik Fraimovich
da00e74491
Merge pull request #1660 from akiray03/docker-entrypoint-support-manage-py
...
Add: docker-entrypoint for manage.py's commands.
2017-03-08 15:49:14 +02:00
Akira Yumiyama
b56ff1357e
docker-entrypoint supports manage.py's any commands.
2017-03-08 22:41:15 +09:00
Arik Fraimovich
ecd4d659a8
Merge pull request #1494 from yuua/impala-schema
...
[Impala] enable schema browser
2017-03-07 14:37:42 +02:00
Arik Fraimovich
fec5565396
Merge pull request #1650 from deecay/v1-ie11
...
Add babel-plugin-transform-object-assign for IE support
2017-03-07 14:32:41 +02:00
Arik Fraimovich
6ec5ea5c28
Resume to building Docker images
2017-03-07 12:26:00 +02:00
Arik Fraimovich
3f8e32cc1f
Merge pull request #1656 from getredash/docker
...
Fix Docker file ownership issues:
2017-03-07 11:40:18 +02:00
Arik Fraimovich
be6426014d
Fix Docker file ownership issues:
...
1. Simplify user creation to create a non system user (so the uid will usually
match the host user).
2. Set the user to redash & remove the need to change user in docker entrypoint.
2017-03-07 11:37:31 +02:00
Arik Fraimovich
8b4643d6ac
Remove nosiy log
2017-03-06 21:22:41 +02:00
Arik Fraimovich
d8a0885953
Fix: tests were using old method signature
2017-03-06 21:22:29 +02:00
Arik Fraimovich
83e6b6f50c
Tests use the same session as the tested code, and we can't use the same
...
objects after the tested code calls commit() without disabling expire
on commit.
It seems like a safe thing in our case.
2017-03-06 13:49:29 +02:00
rmakulov
928bd83967
minor change
2017-03-06 13:16:02 +03:00
Arik Fraimovich
230fe15cde
Merge pull request #1653 from r0fls/fix-embed-close
...
Fix: query embed dialog close button wasn't working
2017-03-05 20:08:14 +02:00
Arik Fraimovich
72ad16a8b3
Fix: use correct format string
2017-03-05 20:03:44 +02:00
Arik Fraimovich
23cc632d5a
Duplicate favicons instead of symlinks
2017-03-05 09:15:11 +02:00
Raphael Deem
1cf2bb1bb2
fix query embed close button
2017-03-04 14:51:00 -08:00
rmakulov
7939e04e74
set default values in options
2017-03-03 16:20:07 +03:00
yuua
181031957f
impala get_table remove filtter and str to unicode
2017-03-03 17:58:13 +09:00
deecay
cfa9a45fc8
Add babel-plugin-transform-object-assign
2017-03-03 09:26:56 +09:00
rmakulov
f77da51a7d
order on client side
2017-03-02 18:43:05 +03:00
Arik Fraimovich
9bb87e711a
Fix: datetime parameters were not using a date picker.
2017-03-02 15:56:40 +02:00
Rustam Makulov
255a01f786
Merge branch 'master' into master
2017-03-01 12:29:09 +04:00
Arik Fraimovich
69c26f2c0d
Merge pull request #1643 from msnider/salesforce
...
[Data Sources] Add: SalesForce query runner
2017-03-01 09:51:43 +02:00
Matt Snider
3650e21458
Move import to top of file
2017-02-28 22:06:34 -06:00
Matt Snider
8eefd0e9c4
Format to PEP8
2017-02-28 21:54:32 -06:00
Matt Snider
c72a097808
Added Salesforce SOQL query runner
2017-02-28 21:44:38 -06:00
rmakulov
2ffda6f5c5
code revised
2017-02-28 19:03:17 +03:00
Arik Fraimovich
ce8ffae152
Merge pull request #1584 from washort/scheduled-query-backoff
...
Scheduled query backoff
2017-02-28 13:19:34 +02:00
Arik Fraimovich
b54dd27959
Merge pull request #1624 from washort/presto-errors
...
Fix: make errors from Presto runner JSON-serializable
2017-02-28 13:04:46 +02:00
Arik Fraimovich
3e807e5b41
Merge pull request #1623 from washort/jobs-race
...
Bugfix: race condition in query task status reporting
2017-02-28 13:04:10 +02:00
Arik Fraimovich
20f1a60f90
Merge pull request #1619 from deecay/count-rows
...
Add: use results row count as the value for the counter visualization.
2017-02-28 13:03:36 +02:00
Arik Fraimovich
9d2619b856
Merge pull request #1641 from getredash/fixes201602
...
UI Fixes
2017-02-28 12:59:41 +02:00
Arik Fraimovich
a2c7f6df7a
Friendlier labels for archived state of dashboard/query
2017-02-28 12:50:27 +02:00
Arik Fraimovich
15a87db5d5
Fix: remove 29402hashKey from Pivot table
2017-02-28 12:46:58 +02:00
Arik Fraimovich
2f86466309
Merge pull request #1639 from getredash/fixes201602
...
Small UI fixes
2017-02-28 12:10:22 +02:00
rmakulov
ebaf012701
propertyOrder replaced with the field that defines an order
2017-02-27 19:05:43 +03:00
Arik Fraimovich
bccfef533e
Fix: wrong timestamps in admin tasks page
2017-02-27 17:51:00 +02:00
Arik Fraimovich
ef020e88e7
Fix: word cloud visualization didn't show column names
2017-02-27 17:42:44 +02:00
Arik Fraimovich
222a6069cb
Fix: pemrission dialog wasn't rendering.
...
Closes #1633 .
2017-02-27 15:44:19 +02:00
Arik Fraimovich
6b6df84bce
Fix: map visualization had severe performance issue.
...
Close #1603 .
2017-02-27 15:30:30 +02:00
rmakulov
8c481cd7a7
added propertyOrder field
2017-02-27 15:50:29 +03:00
rmakulov
fcfd204ec6
atsd query runner
2017-02-24 17:31:01 +03:00
Arik Fraimovich
57e6c5f05e
Merge pull request #1630 from MichaelJAndy/MichaelJAndy-sorting-patch
...
Fix: dashboard-list.js to sort dashboards and update page-header
2017-02-23 15:10:34 +02:00
Michael Andy
683e369d86
dashboard-list.js sorts dashboards and updates page-header
2017-02-23 23:41:58 +11:00
Arik Fraimovich
f12596a6fc
Merge pull request #1629 from getredash/fix_too_many_connections
...
Fix: keyboard shortcuts didn't work in parameter inputs
2017-02-23 14:38:22 +02:00
Arik Fraimovich
09239439ae
Fix: keyboard shortcuts didn't work in parameter inputs
2017-02-23 12:51:38 +02:00
Arik Fraimovich
2bb11dffca
add v1-rc.2 release date.
2017-02-22 22:11:26 +02:00
Allen Short
2407b115e4
Exponential backoff for failing queries
2017-02-22 10:29:08 -06:00
Allen Short
ca3e125da8
Refactor outdated_queries/refresh_queries tests
2017-02-22 10:28:35 -06:00
Allen Short
2a447137d4
Fix: make errors from Presto runner JSON-serializable
2017-02-21 13:11:32 -06:00
deecay
081ac5f651
Remove unnecessary comment line.
2017-02-21 17:18:14 +09:00
deecay
3864f11694
Add: Counter option to count resultset row count.
2017-02-21 16:56:45 +09:00
Alexander Shepelin
8b59815bf2
add 'refresh schema' button to schema-browser
2017-02-20 23:56:21 +03:00
Allen Short
a98df94399
Fix race condition in query task status reporting
2017-02-20 12:20:55 -06:00
deecay
ac538c35e9
Add: option to hide pivot table controls
2017-02-20 15:09:48 +09:00
Alexander Shepelin
b2e747caef
refactor schema-browser directive to component style
2017-02-18 23:10:15 +03:00
deecay
af978e966d
Show vertical scrollbar for IE
2017-02-14 16:53:11 +09:00
hamza zia
eeee592abc
nuke separate endpiont for running queries in sync
2017-02-03 09:34:01 -08:00
hamza zia
ce65578c72
allowed embeds to recieve params
2017-01-15 22:23:18 +05:00
hamza zia
f4c25cb941
Merge branch 'master' of github.com:rainforestapp/redash
2017-01-15 20:36:59 +05:00
hamza zia
ba0daa218e
JSON API that accepts params
2017-01-15 20:36:25 +05:00
yuua
78408e50c5
impala query_runner get_tables error fix
2016-12-29 10:54:57 +09:00
Alexander Leibzon
fefcb928da
add memsql as datasource
2016-09-27 19:13:44 +03:00