Gabriel Dutra
19343a0520
Clear QueryBasedParameterInput
2020-11-23 19:18:35 -03:00
Gabriel Dutra
c1ed8848f0
Merge branch 'master' into query-based-dropdown--parameters
2020-11-23 16:42:06 -03:00
Gabriel Dutra
b40070d7f5
Use LabeledValues for parameterized queries
2020-11-23 16:40:18 -03:00
Rafael Wendel
fa2b57a209
Remove unwanted props from Select component ( #5277 )
...
* Explicitly selected props so as to avoid errors from non-wanted props
* Simplified approach
* Ran prettier 😬
* Fixed minor issues
2020-11-22 13:07:56 -03:00
Jiajie Zhong
132fed64b3
Correct cleanup_query_results comment ( #5276 )
...
Correct comment from QUERY_RESULTS_MAX_AGE
to QUERY_RESULTS_CLEANUP_MAX_AGE
2020-11-20 23:11:13 +02:00
Gabriel Dutra
bd9ce68f68
Don't filter out values when param has search
2020-11-20 15:14:17 -03:00
Gabriel Dutra
0c0b62ae1a
Remove searchTerm from structure
2020-11-20 15:13:47 -03:00
Gabriel Dutra
08bcdf77d0
Mock query instead of query_has_parameters
2020-11-12 09:11:54 -03:00
Gabriel Dutra
aa2064b1ab
Fix other dropdown_values usages to use query obj
2020-11-11 13:58:01 -03:00
Gabriel Dutra
d0a787cab1
Make NoResultFound invalid parameters
2020-11-10 22:10:47 -03:00
Gabriel Dutra
a741341938
Oops
2020-11-10 20:46:51 -03:00
Gabriel Dutra
53385fa24b
Merge branch 'master' into query-based-dropdown--parameters
2020-11-10 15:19:43 -03:00
Gabriel Dutra
fa7ecca485
Frontend updates from internal fork ( #5259 )
...
* DynamicComponent for QuerySourceAlerts
* General Settings updates
* Dynamic Date[Range] updates
* EmptyState updates
* Query and SchemaBrowser updates
* Adjust page headers and add disablePublish
* Policy updates
* Separate Home FavoritesList component
* Update FormatQuery
* Autolimit frontend fixes
* Misc updates
* Keep registering of QuerySourceDropdown
* Undo changes in DynamicComponent
* Change sql-formatter package.json syntax
* Allow opening help trigger in new tab
* Don't run npm commands as root in Dockerfile
* Cypress: Remove extra execute query
2020-11-10 14:59:15 +02:00
deecay
8f484706b1
Enable Boxplot to be horizontal ( #5262 )
2020-11-08 23:17:08 +02:00
Josh Bohde
e2e8714155
Enable graceful shutdown of rq workers ( #5214 )
...
* Enable graceful shutdown of rq workers
* Use `exec` in the `worker` command of the entrypoint to propagate
the `TERM` signal
* Allow rq processes managed by supervisor to exit without restart on
expected status codes
* Allow supervisorctl to contact the running supervisor
* Add a `shutdown_worker` command that will send `TERM` to all running
worker processes and then sleep. This allows orchestration systems
to initiate a graceful shutdown before sending `SIGTERM` to
supervisord
* Use Heroku worker as the BaseWorker
This implements a graceful shutdown on SIGTERM, which simplifies
external shutdown procedures.
* Fix imports based upon review
* Remove supervisorctl config
2020-11-05 11:49:45 +02:00
Jerry
c6bf8a1c55
bugfix: fix #5254 ( #5255 )
...
Co-authored-by: Jerry <jerry.yuan@webweye.com >
2020-11-04 20:56:41 +02:00
Rafael Wendel
12f71925c2
Multiselect dropdown slowness (fix) ( #5221 )
...
* created util to estimate reasonable width for dropdown
* removed unused import
* improved calculation of item percentile
* added getItemOfPercentileLength to relevant spots
* added getItemOfPercentileLength to relevant spots
* Added missing import
* created custom select element
* added check for property path
* removed uses of percentile util
* gave up on getting element reference
* finished testing Select component
* removed unused imports
* removed older uses of Option component
* added canvas calculation
* removed minWidth from Select
* improved calculation
* added fallbacks
* added estimated offset
* removed leftovers 😅
* replaced to percentiles to max value
* switched to memo and renamed component
* proper useMemo syntax
* Update client/app/components/Select.tsx
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
* created custom restrictive types
* added quick const
* fixed style
* fixed generics
* added pos absolute to fix percy
* removed custom select from ParameterMappingInput
* applied prettier
* Revert "added pos absolute to fix percy"
This reverts commit 4daf1d4bef .
* Pin Percy version to 0.24.3
* Update client/app/components/ParameterMappingInput.jsx
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
* renamed Select.jsx to SelectWithVirtualScroll
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
2020-11-03 21:50:39 +02:00
Omer Lachish
cae088f35b
extend the refresh_queries timeout from 3 minutes to 10 minutes ( #5253 )
2020-11-02 22:36:57 +02:00
Rafael Wendel
a3c79f26b9
Fix for the typo button in ParameterMappingInput ( #5244 )
2020-10-29 17:24:13 -03:00
Jonathan Hult
c7c92a3192
Fix annotation bug causing queries not to run - ORA-00933 ( #5179 )
2020-10-28 10:03:26 +02:00
Rafael Wendel
55cf17aa47
added required to Form.Item and Input for better UI ( #5231 )
...
* added required to Form.Item and Input for better UI
* removed required from input
* Revert "removed required from input"
This reverts commit b56cd76fa1 .
* Redo "removed required from input"
* removed typo
Co-authored-by: rafawendel2010@gmail.com <rafawendel>
2020-10-28 09:37:16 +02:00
Levko Kravets
8dd76a00c5
Fix dashboard background grid ( #5238 )
2020-10-26 21:46:38 +02:00
Christopher Grant
e242ac2b10
Static SAML configuration and assertion encryption ( #5175 )
...
* Change front-end and data model for SAML2 auth - static configuration
* Add changes to use inline metadata.
* add switch for static and dynamic SAML configurations
* Fixed config of backend static/dynamic to match UI
* add ability to encrypt/decrypt SAML assertions with pem and crt files. Upgraded to pysaml2 6.1.0 to mitigate signature mismatch during decryption
* remove print debug statement
* Use utility to find xmlsec binary for encryption, formatting saml_auth module
* format SAML Javascript, revert want_signed_response to pre-PR value
* pysaml2's entityid should point to the sp, not the idp
* add logging for entityid for validation
* use mustache_render instead of string formatting. put all static logic into static branch
* move mustache template for inline saml metadata to the global level
* Incorporate SAML type with Enabled setting
* Update client/app/pages/settings/components/AuthSettings/SAMLSettings.jsx
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
Co-authored-by: Chad Chen <chad.chen@databricks.com >
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
2020-10-25 12:06:45 -03:00
Gabriel Dutra
66463aedd4
Fix Home EmptyState help link ( #5217 )
2020-10-16 11:53:21 -03:00
Rafael Wendel
8a6524c1ba
Add horizontal bar chart ( #5154 )
...
* added bar chart boilerplate
* added x/y manipulation
* replaced x/y management to inner series preparer
* added tests
* moved axis inversion to all charts series
* removed line and area
* inverted labels ui
* removed normalizer check, simplified inverted axes check
* finished working hbar
* minor review
* added conditional title to YAxis
* generalized horizontal chart for line charts, resetted state on globalSeriesType change
* fixed updates
* fixed updates to layout
* fixed minor issues
* removed right Y axis when axes inverted
* ran prettier
* fixed updater function conflict and misuse of getOptions
* renamed inverted to swapped
* created mappingtypes for swapped columns
* removed unused import
* minor polishing
* improved series behaviour in h-bar
* minor fix
* added basic filter to ChartTypeSelect
* final setup of filtered chart types
* Update viz-lib/src/components/visualizations/editor/createTabbedEditor.jsx
* added proptypes and renamed ChartTypeSelect props
* Add missing import
* fixed import, moved result array to global scope
* merged import
* clearer naming in ChartTypeSelect
* better lodash map syntax
* fixed global modification
* moved result inside useMemo
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
Co-authored-by: Levko Kravets <levko.ne@gmail.com >
2020-10-15 21:34:38 +03:00
Gabriel Dutra
9097feb100
Frontend updates from internal fork ( #5209 )
2020-10-15 14:25:22 -03:00
Gabriel Dutra
db4e97fa6f
Remove build args from Cypress start script ( #5203 )
2020-10-09 12:23:14 -03:00
Levko Kravets
0d4615a482
Extra actions on Queries and Dashboards pages ( #5201 )
...
* Extra actions for Query View and Query Source pages
* Convert Queries List page to functional component
* Convert Dashboards List page to functional component
* Extra actions for Query List page
* Extra actions for Dashboard List page
* Extra actions for Dashboard page
* Pass some extra data to Dashboard.HeaderExtra component
* CR1
2020-10-09 12:12:56 +03:00
Alexander Rusanov
ff008a076b
Updated Cypress to v5.3 and fixed e2e tests ( #5199 )
...
* Upgraded Cypress to v5.3 and fixed e2e tests
* Updated cypress image
* Fixed failing tests
* Updated NODE_VERSION in netlify
* Update client/cypress/integration/visualizations/choropleth_spec.js
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
* fixed test in choropleth
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
2020-10-06 16:06:47 -03:00
Gabriel Dutra
8d548ecbac
Share Embed Spec: Make sure query is executed ( #5191 )
2020-10-04 16:01:30 +03:00
Gabriel Dutra
2992c382d1
ScheduleDialog: Filter empty interval groups ( #5196 )
2020-10-03 05:54:05 +03:00
Gabriel Dutra
f4dcb2918a
Move Cypress to dev dependencies ( #3991 )
...
* Test Cypress on package list
* Skip Puppeteer Chromium as well
* Put back missing npm install on netlify.toml
* Netlify: move env vars to build.environment
* Remove cypress:install script
* Update Cypress dockerfile
* Copy package-lock.json to Cypress dockerfile
2020-09-29 09:51:28 +03:00
Gabriel Dutra
c821cab4cb
Generate Code Coverage report for Cypress ( #5137 )
2020-09-28 21:43:04 -03:00
Levko Kravets
4fb77867b0
Align Y axes at zero ( #5053 )
...
* Align Y axes as zero
* Fix typo (with @deecay)
* Add alignYAxesAtZero function
* Avoid 0 division
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
2020-09-28 13:12:40 +03:00
Levko Kravets
a473611cb0
Some Choropleth improvements/refactoring ( #5186 )
...
* Directly map query results column to GeoJSON property
* Use cache for geoJson requests
* Don't handle bounds changes while loading geoJson data
* Choropleth: fix map "jumping" on load; don't save bounds if user didn't edit them; refine code a bit
* Improve cache
* Optimize Japan Perfectures map (remove irrelevant GeoJson properties)
* Improve getOptions for Choropleth; remove unused code
* Fix test
* Add US states map
* Convert USA map to Albers projection
* Allow to specify user-friendly field names for maps
2020-09-24 14:39:09 +03:00
Levko Kravets
210008c714
Ask user to log in when session expires ( #5178 )
...
* Ask user to log in when session expires
* Update implementation
* Update implementation
* Minor fix
* Update modal
* Do not intercept calls to api/session as Auth.requireSession() relies on it
* Refine code; adjust popup size and position
2020-09-23 16:30:08 +03:00
Omer Lachish
aa5d4f5f4e
add 'cancelled' meta directive to all cancelled jobs ( #5187 )
2020-09-23 12:54:48 +03:00
Omer Lachish
6b811c5245
Refresh CSRF tokens ( #5177 )
...
* expire CSRF tokens after 6 hours
* use axios' built-in cookie to header copy mechanism
* add axios-auth-refresh
* retry CSRF-related 400 errors by refreshing the cookie
* export the auth refresh interceptor to support ejecting it if neccessary
* reject the original request if it's unrelated to CSRF
2020-09-21 23:21:14 +03:00
Levko Kravets
83726da48a
Keep additional URL params when forking a query ( #5184 )
2020-09-21 12:54:55 +03:00
Levko Kravets
72dc157bbe
Allow to clear selected tags on list pages ( #5142 )
...
* Convert TagsList to functional component
* Convert TagsList to typescript
* Allow to unselect all tags
* Add title to Tags block and explicit "clear filter" button
* Some tweaks
2020-09-17 14:01:15 +03:00
Lingkai Kong
1b8ff8e810
Add default limit (1000) to SQL queries ( #5088 )
...
* add default limit 1000
* Add frontend changes and connect to backend
* Fix query hash because of default limit
* fix CircleCI test
* adjust for comment
2020-09-14 14:18:31 +03:00
Omer Lachish
31ddd0fb79
prevent assigning queries to view_only data sources ( #5152 )
2020-09-10 15:43:25 +03:00
Levko Kravets
5cabf7a724
Keep selected filters when switching visualizations ( #5146 )
...
* getredash/redash#4944 Query pages: keep selected filters when switching visualizations
* Pass current filters to expanded widget modal
2020-09-10 13:42:53 +03:00
max-voronov
59b135ace7
Move CardsList to typescript ( #5136 )
...
* Refactor CardsList - pass a suffix for list item
Adding :id to an item to be used as a key suffix is redundant and the same
can be accomplished by using :index from the map function.
* Move CardsList to typescript
* Convert CardsList component to functional component
* CR1
* CR2
2020-09-05 20:08:01 +03:00
Gabriel Dutra
32b41e4112
Misc frontend changes from internal fork ( #5143 )
2020-09-04 08:00:30 -03:00
Gabriel Dutra
2e31b91054
Antd v4: Fix CreateUserDialog ( #5139 )
...
* Antd v4: Update CreateUserDialog
* Add Cypress test for user creation
2020-09-04 07:57:43 -03:00
Gabriel Dutra
205915e6db
Add toggle to disable public URLs ( #5140 )
...
* Add toggle to disable public URLs
* Add Cypress tests
2020-09-01 08:49:30 -03:00
Levko Kravets
b7c245f925
Support multiple queries in a single query box ( #5058 )
...
* Support multiple queries in a single query box
* Implement statement splitting function and add tests for it
* Add a test for databricks-specific syntax
* Split statements before running query
2020-08-30 15:54:16 +03:00
Levko Kravets
681b2f1abd
Introduce Link component ( #5122 )
...
* Introduce Link component
* Use Link component for external links as well
* Remove unused file (I hope it's really not needed)
* Use Link component in visualizations library
* Simplify Link component implementation
* CR1
* Trigger build
* CR2
2020-08-30 15:33:38 +03:00
Gabriel Dutra
a31196aef8
Upgrade Ant Design to v4 ( #5068 )
2020-08-25 14:24:15 -03:00
Arik Fraimovich
596e5bee3a
Misc changes to codebase back ported from internal fork - part 2 ( #5130 )
...
* Auth: make login url configurable.
* More portable image url.
* durationHumanize: support for milliseconds.
* Sorter: support for custom sort.
2020-08-25 15:08:07 +03:00
Arik Fraimovich
84d516bfd1
Misc changes to codebase back ported from internal fork ( #5129 )
...
* Set corejs version in .babelrc so Jest doesn't complain.
* Rewrite services/routes in TypeScript.
* Add TypeScript definitions for DialogComponent.
* Make image paths more portable
* Add current route context and hook.
* Make EmptyState more flexible by being able to pass in getSteps function.
* Rewrite ItemsList in TypeScript.
* Introduce the possibility to add custom sorters for a column.
* Rearrange props to be friendly to TypeScript.
* Type definitions for NotificationApi.
* Use Databricks query editor components for databricks_internal type of query runner.
* URL Escape password in Alembic configuration.
* Compare types in migrations.
2020-08-25 14:11:38 +03:00
Gabriel Dutra
2cc3bd3d54
Add DynamicComponent to PermissionsControl flag ( #5116 )
2020-08-21 17:14:19 -03:00
Gabriel Dutra
ac652c20bf
Fix create link on data sources page ( #5121 )
...
* Fix create link on data sources page
* Cypress: Add test that the source dialog opens
2020-08-21 16:47:42 -03:00
Gabriel Dutra
1bc6cd8f41
Keep widget loading when fetch request is replaced ( #5118 )
2020-08-20 19:00:57 -03:00
Levko Kravets
4c70b5ce8e
Remove content width limit on all pages ( #5091 )
...
* Remove content width limit on all pages
* Update client/app/assets/less/inc/base.less
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
* Remove content limit; limit sidebar width
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
2020-08-20 15:04:53 +03:00
Omer Lachish
de052ff02b
Cypress touch-ups ( #5109 )
...
* allow non-sequential IDs for DataSources in Cypress tests
* refactor redash-api to a set of Cypress commands
* support mounting Redash endpoints in Cypress routes
* fix some parameter specs by waiting for schema to load
* extract baseUrl from cypress.json
* Restyled by prettier (#5110 )
Co-authored-by: Restyled.io <commits@restyled.io >
Co-authored-by: restyled-io[bot] <32688539+restyled-io[bot]@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io >
2020-08-19 21:00:06 +03:00
Gabriel Dutra
a596d6558c
Use Skeleton as ItemsList loading state ( #5079 )
2020-08-19 09:36:11 -03:00
Gabriel Dutra
fc71acdc09
Make DataSourceListComponent a dynamic component ( #5113 )
2020-08-19 08:59:53 -03:00
Gabriel Dutra
b326d36ae8
Update Organization Settings ( #5114 )
...
* Update Organization Settings
* Cypress: Update tab naming
2020-08-19 13:09:28 +03:00
Omer Lachish
378cc57d42
CSRF Exempts ( #5108 )
...
* if present, always convert CSRF cookies to headers
* exempt auth blueprints from CSRF protection
* respect CSRF exempts
2020-08-17 22:39:46 +03:00
peterlee
83c6a6bcd2
Make table visualization header fixed ( #5103 )
...
* add lock table header
* Move styling to a new class
* Update renderer.less
* Move class to table and fix top border
* Update renderer.less
* Update viz-lib/src/visualizations/table/renderer.less
Thanks, this change is good to me.
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
2020-08-17 09:26:34 -03:00
Omer Lachish
5afd0554d0
Add support for CSRF tokens ( #5055 )
...
* add flask-wtf
* add CSRF tokens to all static forms
* add CSRF tokens to all axios requests
* disable CSRF validation in unit tests
* support CSRF-protected requests in *most* cypress tests
* don't enfroce CSRF checks by default
* avoid CSRF enforcement in unit tests
* remove redundant spread
* some camel casing hiccups
* always yield the CSRF cookie, but avoid enforcing it if CSRF toggle is off
* Restyled by prettier (#5056 )
Co-authored-by: Restyled.io <commits@restyled.io >
* set a CSRF header only if cookie is present
* enforce CSRF in CI
* install lodash directly for Cypress
* install request-cookies directly for Cypress. We should probably start loading package.json deps
* enable CSRF support when logout and login happen within the same spec
Co-authored-by: restyled-io[bot] <32688539+restyled-io[bot]@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io >
2020-08-09 15:47:00 +03:00
Levko Kravets
eb603f63f0
Bar chart with second y axis overlaps data series ( #4150 )
2020-08-05 20:28:03 +03:00
Arik Fraimovich
6c00f7c4e3
Add: periodic job to remove ghost locks. ( #5087 )
2020-08-05 17:48:19 +03:00
koooge
f56f4c4899
fix: Compose version due to --build-arg ( #5083 )
...
Signed-off-by: koooge <koooooge@gmail.com >
2020-08-05 12:41:25 +03:00
Tobias Macey
d3b639a68a
Exposing setting for overriding template directory ( #4324 )
...
When using some of the customized login flows such as `REMOTE_USER` the deployed site breaks due to not finding template files. This change updated the app default to use the existing Flask templates directory rather than the compiled static assets directory which only contains an index.html file.
2020-08-04 12:05:43 +03:00
Gabriel Dutra
3332b656ac
Make sure Policy is loaded for user session ( #5081 )
2020-07-31 01:39:30 -03:00
Gabriel Dutra
24c95379ca
Introduce caching to the Databricks Schema Browser ( #5038 )
...
* Add refresh button in the bottom
* Add caching
* Drop allSettled
* Simplify refresh button
* Update error to return 500
* Load tables before loading columns
* Don't mutate schema
* Reset db name and schemas when changing data source
* Load both tables and columns
* Return error with code 200
* Code review updates
* Add expiration time to the cache Keys
* Back with RQ
2020-07-30 15:16:14 +03:00
Levko Kravets
93b4be672f
Queries list: move "My Queries" above "Archived" ( #5072 )
2020-07-28 19:53:22 +03:00
Gabriel Dutra
f3a47a9658
Move page size select to the Paginator component ( #5064 )
2020-07-27 16:52:09 -03:00
Omer Lachish
7804dfd68e
loosen up some proptypes and backend casting to allow different primary key types ( #5066 )
2020-07-27 17:01:59 +03:00
Ben Amor
2dacd08bea
Add override mechanism for webpack config ( #5057 )
2020-07-27 14:52:02 +03:00
Gabriel Dutra
fd76a2ecfb
Add Column Type to Databricks schema browser ( #5052 )
...
* Add Column Type to Databricks schema browser
* Map schema columns to be an object
* Format pg with Black
* Add data_type for Postgres
2020-07-23 12:52:09 +03:00
Omer Lachish
7f98d7b694
Load extensions on db init ( #5062 )
...
* Only try to create tables and stamp DB if not tables exist already.
* load extensions when creating the database
2020-07-23 11:05:20 +03:00
Levko Kravets
a1255b4144
Fix wrong Y-axis range for stacked bar chart ( #5029 )
...
* getredash/redash#5026 Fix wrong Y-axis range for stacked bar chart
* Update tests
* Use Plotly's built-in algorinthm to compute Y-axis range
* Update tests
* Revert previous solution (yRange-related code)
* Revert other unrelated changes
* Revert other unrelated changes
* Move chart rendering to own file and ensure that rendering steps will occur in necessary order
* Reduce amount of plot updates by mergin separate updates into a sigle cumulative update
* Give better names for several functions
2020-07-17 11:28:15 +03:00
dependabot[bot]
6c349ea70a
Bump lodash from 4.17.15 to 4.17.19 in /viz-lib ( #5051 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-16 22:41:16 -03:00
Omer Lachish
95c28c47ad
Eager load outdated queries ( #5049 )
...
* eager load outdated queries
* explicitly use .all() instead of list()
2020-07-16 23:29:47 +03:00
simonschneider-db
48924de700
Add TypeScript support ( #5027 )
...
* TASK Add typescript dependencies to package.json
* TASK Add typescript to build process and npm scripts and TASK Move example components to typescript and add an example definition file.
* TASK Move back to ts-loader instead of babel typescript preset
* FIX Remove unnecessary changes
* FIX Explicitly mention tsconfig file in webpack.config.js to avoid `error while parsing tsconfig.json, The 'files' list in config file 'tsconfig.json' is empty`
See (https://github.com/TypeStrong/ts-loader/issues/405#issuecomment-330108362 )
* FIX Move tsconfig to client subdirectory to make it accessible in docker container (only webpack.config.js is copied over from root folder in Dockerfile)
* TASK Move from ts-loader to babel to reduce compatibility issues between ES6/7 and typescript compilation.
* TASK Add types for classnames, hoist-non-react-statics and lodash. Fix default export of DashboardList and run prettier on eslintrc
* Run npm install
* Trigger tests
* Run npm install 2
* Trigger tests
2020-07-16 23:05:44 +03:00
Jannis Leidel
41a691328a
Fix bundle-extensions script to work on recent importlib-resources. ( #5050 )
...
Also adds a test case for running the script.
2020-07-16 23:05:22 +03:00
Omer Lachish
cb97364771
Dashboard URL does not show new name when dashboard name is updated ( #1009 )
...
* on dashboard api calls - take the id from the beginning of the slug, unless there is no number in it - in that case, take the entire slug as id
* add dashboard id when showing links to dashboards
* change path to include new name when renaming dashboards
* move slug generation to backend
* redirect to new name after changing (this time with a proper promise)
* oh right, we already have a slug function
* add spec that makes sure that renamed dashboards are redirected to the
url which contains their new name
* use id-slug in all Cypress specs
* move dashboards from /dashboard/:slug to /dashboards/:id-:name_as_slug
* Update dashboard url as its name changes
* Update separator to be "/"
* Update missing dashboard urls
* Update api not to depend on int id
* Use '-' instead of '/' as separator and update Dashboard.get calls
* slug -> name_as_slug
* Keep slug urls on cypress
* Update route path
* Use legacy attr for GET
* Use getter for urlForDashboard
* Update dashboard url when loaded by slug
* Update Dashboard routes to use id instead of slug
* Update Dashboard handler tests
* Update Cypress tests
* Fix create new dashboard spec
* Use axios { params }
* Drop Ternary operator
* Send updated slug directly in 'slug' attr
* Update multiple urls Dashboard test name
* Update route names
Co-authored-by: Levko Kravets <levko.ne@gmail.com >
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
Co-authored-by: Levko Kravets <levko.ne@gmail.com >
2020-07-16 23:03:59 +03:00
Gabriel Dutra
d12691dc2a
Databricks Schema Browser: Allow eventlet worker instead of RQ ( #5045 )
...
* Add loading button in UI
* Handle databricks schema requests without RQ
* Don't use gevent worker
* Revert "Don't use gevent worker"
This reverts commit 9704c70a94 .
* Use eventlet
* Use first column instead of 'namespace' one
* Revert "Add loading button in UI"
This reverts commit c0e4dfb966 .
* Remove databricks tasks
* Update eventlet
* Add libevent
* Display logs on failure
* Revert "Add libevent"
This reverts commit a00d067cb7 .
* Test updating gunicorn
* Don't set eventlet as the default for Redash
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
* Remove fetchDataFromJob usage
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
2020-07-15 17:35:59 +03:00
Levko Kravets
6f9e79c641
getredash/redash#5031 Counter is too large on Query View/Source pages ( #5044 )
2020-07-14 21:56:01 +03:00
Gabriel Dutra
461f98bbfc
Update Ace Editor version ( #5041 )
2020-07-14 10:02:33 -03:00
Levko Kravets
81e7c72d48
Allow to change order of legend items ( #5021 )
...
* Allow to change order of legend items
* Update tests
2020-07-13 19:08:51 +03:00
Gabriel Dutra
328f0f3f0c
Visualizations Library: Enhance docs ( #4946 )
2020-07-12 12:36:03 -03:00
Omer Lachish
ecb9adf903
purge_failed_jobs can take up to several minutes, so better have a proper timeout ( #5033 )
2020-07-12 10:18:38 +03:00
Gabriel Dutra
87e09f676e
Dynamic Form: Make default extra fields state a prop ( #5039 )
2020-07-09 12:39:25 -03:00
Gabriel Dutra
6fc5c803e0
Fix schema browser items height ( #5024 )
2020-07-08 11:55:10 -03:00
Gabriel Dutra
6c57aa448e
Query Source: Add Shift+Enter shortcut for query execution ( #5037 )
2020-07-08 10:36:16 -03:00
Lei Ni
878b297601
Fix: sorting queries by schedule was resulting in a wrong order ( #4954 )
...
* fix schedule sorting issue
* style change
* Update to meet code style.
* move the schedule sort to backend
* mod comment
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
2020-07-07 21:29:12 +03:00
Levko Kravets
9c0450c84e
Explicitly sort routes to reduce a chance of conflicts ( #5020 )
...
* Explicitly sort routes to reduce (avoid at all?) a chance of conflicts
* Sort routes by params count
2020-07-03 21:11:39 +03:00
Levko Kravets
74f206614f
Refactor: extract commonly used pattern into hook ( #5022 )
2020-07-03 10:44:51 +03:00
Gabriel Dutra
2f26cf791c
Fix Databricks Schema Browser scrollbar ( #5023 )
2020-07-02 17:20:22 -03:00
Levko Kravets
c6be5758ad
Y-axis autoscale fails when min or max is set ( #4904 )
...
* getredash/redash#4784 Y-axis autoscale fails when min or max is set
* Update tests
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
2020-07-02 20:33:20 +03:00
Alex Kovar
8341592b05
Add plus between tags to clarify how they are used #4628 ( #5017 )
...
Co-authored-by: Levko Kravets <kravets-levko@users.noreply.github.com >
Co-authored-by: Levko Kravets <kravets-levko@users.noreply.github.com >
2020-07-02 18:44:38 +03:00
Gabriel Dutra
a7edbf1e8d
Handle React exception when a function is provided ( #5016 )
2020-07-01 22:53:42 -03:00
Gabriel Dutra
217f41b586
Allow GET from non-admins on data source resource ( #4992 )
2020-07-01 10:10:24 -03:00
Gabriel Dutra
a8bd07e293
Databricks custom Schema Browser ( #5010 )
2020-07-01 10:09:18 -03:00
Omer Lachish
332c16b130
add a couple of missed custom key types hooks ( #5014 )
2020-07-01 12:39:46 +03:00
Vladislav Denisov
7940d36616
Python query runner fix ( #4966 )
...
* fixed print method
* fixed `.items()` error
* added extra builtins
* added guarded_unpack_sequence
2020-07-01 10:53:27 +03:00
Daniel Lang
68b70ed63b
Fixed broken custom JS visualization settings ( #5013 )
2020-07-01 01:22:07 -03:00
Gabriel Dutra
e0297835df
Add "Last 12 months" option to dynamic date ranges ( #5004 )
2020-06-30 09:56:00 -03:00
Omer Lachish
004bc7a2ac
Custom primary/foreign key types ( #5008 )
...
* allow overriding the type of key used for primary/foreign keys of the different models
* rename key_types to singular key_type
* add some documentation for `database_key_definitions`
2020-06-30 15:08:28 +03:00
Gabriel Dutra
efcf22079f
Allow private addresses when enforcing is disabled ( #4983 )
2020-06-30 10:54:49 +03:00
Levko Kravets
a83cb18cc5
Textbox: confirm close if text was changed ( #5009 )
...
* Textbox: confirm close if text was changed
* Update texting (with @gabrieldutra)
* Update texting
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
2020-06-29 19:29:56 +03:00
Levko Kravets
1ecdf7b853
Too large visualization cause filters block to collapse ( #5007 )
2020-06-29 15:20:08 +03:00
Omer Lachish
90024ebc92
Delete locks for cancelled queries ( #5006 )
...
* delete locks for cancelled queries
* test that query cancellations do not prevent reenqueues
2020-06-29 13:09:01 +03:00
Gabriel Dutra
a37b7babbf
Remove pace-progress ( #4990 )
2020-06-28 15:27:48 -03:00
Mike Nason
8f4ac958b1
Fix org option in users create_root cli command ( #5003 )
...
Thanks @nason 👍
2020-06-25 22:02:46 +03:00
Omer Lachish
637d9837f4
Avoid purging operational queues ( #4973 )
...
* avoid purging operational queues
* schema queues actually run queries, so they should be purged
2020-06-25 15:35:50 +03:00
Levko Kravets
bdd3c3e735
Dynamically register frontend routes ( #4998 )
...
* Allow to override frontend routes
* Configure app before initializing ApplicationArea
* Refine code
2020-06-25 13:38:23 +03:00
Levko Kravets
6fc35510d3
Allow unregistering settings tabs ( #5000 )
2020-06-25 12:54:46 +03:00
Levko Kravets
6f842ef94a
Refactor User Profile page and add extension points to it ( #4996 )
...
* Move components specific to UserProfile page to corresponding folder
* Split UserProfile page into components
* Rename components, refine code a bit
* Add some extension points
* Fix margin
2020-06-25 12:03:19 +03:00
Levko Kravets
a563900f0a
Refactor Organization Settings and add extension points to it ( #4995 )
...
* Split OrganizationSettings page into components
* Update change handling: use objects instead of string keys, move some logic to more appropriate place
* Convert OrganizationSettings page to functional component and refine code a bit
* Add some extension points
* Improve onChange handler
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
2020-06-24 12:36:45 +03:00
Gabriel Dutra
ee3930c64d
Catch QueryResultError on widget load ( #4991 )
2020-06-23 19:48:14 -03:00
Levko Kravets
10bff8b3b1
Some permissions fixes ( #4994 )
...
* Don't show New ... buttons on list pages if user doesn't have corresponding permissions
* Hide Create menu item if no create actions available
2020-06-23 22:56:24 +03:00
Jim Sparkman
a8510d1ad5
Fix CLI command for "status" ( #4989 )
...
* Fix CLI command for "status"
CLI command "status" can fail due to incorrect connection information to RQ.
This change matches the behavior from line 65 and solves the connection error.
* Move connection up to CLI entrypoint
2020-06-23 14:40:36 +03:00
Levko Kravets
3a543a4ab2
ErrorMessage is not centered ( #4981 )
...
* ErrorMessage is not centered
* Adjust ErrorMessage size on large screens
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
2020-06-18 15:35:51 +03:00
Levko Kravets
2b1ba1ee33
Add New Dashboard/Query/Alert buttons to corresponding list pages ( #4976 )
2020-06-18 15:23:48 +03:00
Levko Kravets
4a54ad9d06
Add/Edit Tags dialog does not set focus on tags input ( #4979 )
...
* Refactor: convert EditTagsDialog to functional component; properly cleanup on destruction
* Pass focus to select when EditTagsDialog opens
2020-06-18 15:05:07 +03:00
Levko Kravets
676f560830
Navbar: show correct settings link for non-admin users ( #4978 )
...
* Non-admin users have an access to some settings, so need to show correct menu item in navbar
* Refine settings test
* Add some tests
2020-06-18 14:49:08 +03:00
Levko Kravets
98a5154345
Fix headless mode (didn't work with vertical navbar) ( #4977 )
...
* Fix headless mode (didn't work with vertical navbar)
* Fix header margins on public dashboard page
* Fix test
2020-06-17 11:10:12 +03:00
Gabriel Dutra
4c324ddc80
Custom Query components per Data Source type ( #4948 )
2020-06-15 16:13:10 -03:00
Gabriel Dutra
05c2233782
Don't reuse getErrorMessage ( #4968 )
2020-06-15 07:45:02 -03:00
Levko Kravets
0ac24e38a1
Vertical navbar ( #4859 )
...
* Vertical navbar
* Update vertical menu look and add create menu.
* Make query editor work with vertical nav.
* Dark mode
* Fix create menu & make sidebar fixed.
* Update Alert pages layout
* Update System status pages
* Update Queries and Dashboards list pages
* Update Query Source and Query View pages
* Use dark theme for mobile navbar
* Update Dashboard page: fix Add widget/textbox panel positioning
* Dashboard page: fix layout issues when container changes its size (fixes known issues: navbar expand/collapse, scrollbar appears/hides)
* Fix dashboard page sticky header (there was a 15px space above it)
* Fix embeds
* Extract desktop navbar component; move mobile navbar and its styles to ApplicationLayout folder
* Remove old app header
* Fix tests
* Restore version info block
* Make Percy capture entire page
* Make vertical navbar expand/collapse animation smoother (as it's currently impossible to disable it :-( )
* Fix misc UI issues (show Create label on expanded menu; fix some CSS; don't select items on click)
* Allow to override navbars with DynamicComponent
* Fix misc UI issues: expand/collapse button animation, menu items styles, menu expand/collapse animation
* Hide submenu arrow; show username when menu is expanded
* Refine CSS and make it more isolated; adjust colors
* Update tests
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
2020-06-15 10:01:49 +03:00
Arik Fraimovich
d036df0ca1
V9 changelog (in master) ( #4967 )
...
* V9 Changelog: Initial Draft from Jesse
* V9 Changelog: Add later updates
* Adjust title spacing
* Apply Jesse's suggestions
Co-authored-by: Jesse <jesse@whitehouse.dev >
* provide an explanation on how to switch from Celery to RQ when upgrading to v9
* Update CHANGELOG.md
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
* Add contributor names
* Update version.
* Update CHANGELOG
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
Co-authored-by: Jesse <jesse@whitehouse.dev >
Co-authored-by: Omer Lachish <omer@rauchy.net >
2020-06-11 12:33:36 +03:00
Gabriel Dutra
56df870f39
Plotly Charts: use .legend to determine legends size ( #4935 )
...
* Plotly Charts: use .bg to determine legends size
* Test: remove hack for legend below plotly
* Revert "Test: remove hack for legend below plotly"
This reverts commit d8efb0c032 .
* Use .legend to calculate bounds
* Also update plots without legend
2020-06-11 12:30:55 +03:00
Arik Fraimovich
05540164e1
Small updates to Dockerfile ( #4964 )
2020-06-11 12:28:59 +03:00
Gabriel Dutra
bdb62365b1
Fix Sankey issue to render 1 and 5 stages ( #4965 )
...
* Sankey: Make sure last stage has "Exit"
* Sankey: Use 2 as min stage width size to render
* Use null instead of "Exit"
* Add comment about corresponding exit node
* Add multiple stages on Cypress test
2020-06-11 12:28:45 +03:00
Gabriel Dutra
6a12168f40
Make sure page updates when 'routes' changes ( #4962 )
2020-06-09 15:43:23 -03:00
Gabriel Dutra
ac0b494953
Fix Destination not returning custom error message ( #4959 )
2020-06-09 11:14:29 -03:00
Gabriel Dutra
77e8d70a64
Make sure queries have options and parameters ( #4952 )
2020-06-09 11:13:42 -03:00
Rob Hudson
8597b727a7
Update requirements_bundles versions and comment ( #4939 )
2020-06-09 13:38:29 +02:00
Omer Lachish
e233611840
Fix wrong Sentry exception messages on invalid parameters ( #4945 )
...
* don't join underlying exception message with commas when invalid parameter errors happen
* Revert "don't join underlying exception message with commas when invalid parameter errors happen"
This reverts commit 71a21b7ce6 .
* when a problem occurs during refresh_queries, report it as a RefreshQueriesError
2020-06-07 13:05:31 +03:00
Gabriel Dutra
dd6098d405
MongoDB: Only set readPreference when it has one ( #4947 )
...
* MongoDB: Only set readPreference when it has one
* Use .get for readPreference
2020-06-07 12:39:43 +03:00
Omer Lachish
d38d3b6b4d
support comma-separated queue lists for backward compatability (spaces are still supported) ( #4937 )
2020-06-03 15:13:52 +03:00
Gabriel Dutra
100c7be5e0
Return cached data source schema when available ( #4934 )
2020-06-02 11:26:53 +03:00
chulucninh09
733bc1c109
fix strftime format notation for second and millisecond ( #4922 )
2020-05-31 22:23:42 +03:00
Saravanan Selvamohan
19cc7f1be8
Added correct usage of the article ( #4911 )
...
Add an article - the level
Correct article usage - a schema browser
Consider adding hyphen - ready-made
Removed comma - environment
2020-05-31 22:22:01 +03:00
Arik Fraimovich
43e5c2aa11
Fix: auto hide Plotly Modebar ( #4930 )
...
* Only set value for displayModeBar if we want to hide it
* Update viz-lib/src/visualizations/chart/Renderer/PlotlyChart.jsx
2020-05-31 21:18:52 +03:00
Gabriel Dutra
376b317e2e
Update requests usages not to allow redirects ( #4924 )
...
* Update requests usages not to allow redirects
* Remove type from super()
Co-authored-by: Jannis Leidel <jannis@leidel.info >
Co-authored-by: Jannis Leidel <jannis@leidel.info >
2020-05-31 12:49:39 +03:00
Levko Kravets
d550427485
Fork button disabled on View Query page for non-admin users ( #4927 )
2020-05-29 11:41:07 +03:00
Ievgen Aleinikov
d1044c1963
Athena: set query cost ( #4077 )
2020-05-27 13:16:46 +03:00
Gabriel Dutra
46e18b0c6f
Use memoized query result data ( #4920 )
2020-05-26 11:30:31 -03:00
Levko Kravets
38dd3ff248
Fix flaky Map (Markers) tests ( #4915 )
...
* Fix flaky Map (Markers) tests
* Fix flaky Choropleth tests
2020-05-26 10:57:08 +03:00
Gabriel Dutra
6bac19c1e4
Use Antd Descriptions on Details visualization ( #4914 )
...
* Use Antd Descriptions for Details visualization
* Update styling
* Add some spacing to pagination
2020-05-26 09:52:03 +03:00
Gabriel Dutra
ce6bc2d64a
Update antd to v3.26.17 ( #4913 )
...
* Update antd to v3.26.17
* Remove custom bg color for danger button
* Update ScheduleDialog snapshot
2020-05-24 22:28:39 +03:00
Gabriel Dutra
27c4992003
Use lambda on options for destinations factory ( #4912 )
2020-05-24 22:22:01 +03:00
Gabriel Dutra
13e454de86
Update Query Page shortcuts for MacOS ( #4910 )
...
* Add Ctrl+Enter to run queries (for Mac)
* Check altKey and show as "Option" key when for Mac
2020-05-24 11:19:50 +03:00
Levko Kravets
f4c9d7db1a
getredash/redash#4692 When resizing chart to a certain size it errors out ( #4907 )
2020-05-24 11:17:25 +03:00
Gabriel Dutra
0d11d7bec2
Change visualizations build to be on postinstall instead of preinstall ( #4909 )
2020-05-22 11:07:52 -03:00
Arik Fraimovich
ec68e8bba3
Fix: table viz crashing when search is enabled ( #4899 )
...
* Fix: table viz crashing when search is enabled
* Replace that weird hack with more controlled code
* Don't clear search input, apply search when data changes
Co-authored-by: Levko Kravets <levko.ne@gmail.com >
2020-05-21 11:13:36 +03:00
chulucninh09
831512e52d
Fix: front-end error when parse python float nan ( #4903 )
...
* float nan or inf will be serialized as null instead of NaN
* Re-implement float nan serialization fix for consistency
2020-05-21 11:12:19 +03:00
Patrick Yang
dfc873fb8b
Add additional statsd metrics for worker/scheduler ( #4884 )
...
* Add additional statsd metrics for worker/scheduler
2020-05-20 14:35:55 -07:00
koooge
b117485571
chore: Skip dev install in frontend testing ( #4897 )
...
Signed-off-by: koooge <koooooge@gmail.com >
2020-05-20 13:14:28 +03:00
Gianni Moschini
3661d6cbc5
Remove heroku bin/pre_compile file ( #4900 )
2020-05-20 13:02:39 +03:00
Jannis Leidel
a2217cc4ec
Set the schema item title attribute correctly. ( #4892 )
...
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
2020-05-15 15:04:00 -03:00
Gabriel Dutra
a7ea94f69a
Pin @percy/agent version and update Cypress ( #4896 )
2020-05-15 14:22:43 -03:00
Gabriel Dutra
8010781f0d
Add private address check to BaseHTTPQueryRunner ( #4885 )
...
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
2020-05-14 09:56:22 +03:00
Gabriel Dutra
7c8874b8ee
Fix HelpTrigger in header not working ( #4887 )
2020-05-12 12:56:04 -03:00
Arik Fraimovich
8907a86e33
Make frontend build in Docker image optional ( #4879 )
...
* Add build arg to Dockerfile to control if we should build frontend assets
* Move more env settings into the shared one.
* Use build arg in docker-compose to skip frontend build.
* CirlceCI: Skip building frontend assets in backend tests
* Create dummy template files
* Expand file names manually.
* Add build arg to skip dev dependencies.
* Update Dockerfile
* Reverse logic of skip_dev_deps to what it should be.
2020-05-12 16:46:53 +03:00
Gabriel Dutra
22f0030864
Add release to html webpack config ( #4883 )
...
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
2020-05-12 10:55:48 +03:00
Gabriel Dutra
baf16d2501
Oracle: Encoding fix ( #4882 )
...
* Oracle: Encoding fix
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
* Update redash/query_runner/oracle.py
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
2020-05-12 10:54:32 +03:00
Gabriel Dutra
0446080d3f
Yandex Metrica: rename .host to .url. ( #4880 )
...
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
2020-05-12 10:42:07 +03:00
Arik Fraimovich
a8a2964cb0
Make the Databricks driver URL and environment variable ( #4878 )
...
* Make the Databricks driver URL and environment variable
* Replace ENV with ARG
2020-05-11 13:24:11 +03:00
Omer Lachish
9562718a6a
Run queries through ad-hoc SSH tunnels ( #4797 )
...
* run queries through adhoc SSH tunnels
* reduce indent by losing try/else clause
* document host/port getters and setters
* handle forceful schema refreshes in RQ and poll for their results using the /jobs endpoint
* set schema refresh timeout to 5 minutes
* Restyled by prettier (#4847 )
Co-authored-by: Restyled.io <commits@restyled.io >
* send schema refresh errors as part of API response
* Use correct get_schema call.
Co-authored-by: restyled-io[bot] <32688539+restyled-io[bot]@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io >
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
2020-05-11 13:22:40 +03:00
Takuya Arita
e470347d7f
Refactor docker-compose.yml for development ( #4544 )
...
* Update description for the new setup repository
* Refactor docker-compose.yml for development
* Use Docker Compose file v2
2020-05-11 13:01:32 +03:00
Gabriel Dutra
76aeab02eb
Postgres: Add support for uploading SSL certs ( #4871 )
...
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
2020-05-08 09:42:00 +03:00
Gabriel Dutra
9568c74fd0
Sentry's Performance tracing ( #4872 )
...
* Upgrade sentry-sdk
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
* Move traces sample rate to configuration
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
2020-05-08 09:40:20 +03:00
Gabriel Dutra
57287b2c0b
Fix: there is no host field. ( #4873 )
...
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
2020-05-08 09:39:22 +03:00
Gabriel Dutra
6d857588a1
Log data source id on errors ( #4874 )
...
Co-authored-by: Omer Lachish <omer@rauchy.net >
Co-authored-by: Omer Lachish <omer@rauchy.net >
2020-05-08 08:59:06 +03:00
Levko Kravets
dc49585320
Add option to explicitly set chart legend position ( #4865 )
...
* Add option to explicitly set chart legend position
* Revert some chanes in order to fix tests
* Leave only "auto" and "below the plot" legend placement options
* Move Show legend checkbox to select; fix spelling
2020-05-07 17:21:31 +03:00
Gabriel Dutra
fc246aafc4
Separate visualizations into their own package ( #4837 )
...
* Add visualizations project settings
* Move visualizations to redash-visualizations
* Delete shared components
* Remove antd from deps
* Remove p-r-5 from table utils
* Remove visualization deps from package.json
* Rename package and change its version
* Test preinstall script
* Update Dockerfile build for frontend
* Test adding dockerignore
* Update jest tests
* Add step for jest tests
* Include viz-lib on dev commands
* User prettier v1 for now
* Delete unused libs on the app
* Add readme draft (to be finished)
* Add getOptions to Editor
* Add required libraries and finish basic example
* Bump version
2020-05-06 10:49:15 +03:00
Gabriel Dutra
4f8d2caed4
Cypress: Add tests for Filters ( #4757 )
2020-05-05 01:12:01 -03:00
Levko Kravets
27eab28405
Search in navbar works only for first search term ( #4857 )
...
* Queries list page: react on search term change (from navbar)
* Items List components: update search input value when changed "outside"
* Code style
2020-05-04 15:05:49 +03:00
Reynold Xin
8a9a2e7199
Minor tweak to README ( #4862 )
2020-05-04 10:23:02 +03:00
Reynold Xin
8d29e80013
A new intro paragraph to explain what Redash is ( #4861 )
...
* A new intro paragraph to explain what Redash is
We have been using Redash at Databricks and really love it. I took the time to work with Arik to create a better, more up-to-date description of the project.
* Add data sources
2020-05-03 23:43:11 +03:00
Gabriel Dutra
0e3d25c40c
Fix visualizations with filters not showing selected values ( #4854 )
2020-05-03 12:37:23 -03:00
Arik Fraimovich
fdc4205774
Add blob: to allowed img-src rules in CSP ( #4860 )
...
This is needed for Plotly download PNG feature to work.
2020-05-03 12:32:17 +03:00
Arik Fraimovich
873c87b4b3
Fix: showing current settings tab broken in MULTI_ORG. ( #4855 )
...
* Fix: showing current settings tab broken in MULTI_ORG.
* Revert "Fix: showing current settings tab broken in MULTI_ORG."
This reverts commit a88defd0b5 .
* Add test for SettingsMenu#isActive
* Use stripBase to remove slug from url
2020-05-02 14:45:54 +03:00
Gabriel Dutra
ae9bbe25e5
Cypress: Assert results keep up on widget refresh ( #4846 )
2020-04-30 12:20:04 +03:00
koooge
e3fff396cb
chore: Update node8 to 12 ( #4845 )
...
Signed-off-by: koooge <koooooge@gmail.com >
2020-04-30 12:19:06 +03:00
Gabriel Dutra
f37e3d5a10
Fix dashboard not showing results while refreshing ( #4840 )
2020-04-29 21:09:35 +03:00
Gabriel Dutra
45e1478be3
Specify restylers versions for restyled ( #4842 )
...
* Specify restylers versions for restyled
* Trigger file change for testing
* Revert "Trigger file change for testing"
This reverts commit d203e37700 .
2020-04-29 15:44:57 +03:00
Jannis Leidel
2c90d920b3
Add ability to ship periodic RQ jobs as part of extensions again. ( #4822 )
...
This was dropped in aa17681af2 .
2020-04-28 18:39:30 +02:00
Gabriel Dutra
bb767f3747
Remove Helper Classes from visualizations ( #4788 )
2020-04-25 15:51:21 -03:00
Gabriel Dutra
60bc1f8e35
Visualizations customizable settings ( #4793 )
2020-04-25 12:33:42 -03:00
koooge
de6d665c6e
fix: Make sure boto installed ( #4835 )
...
Signed-off-by: koooge <koooooge@gmail.com >
2020-04-25 12:34:45 +03:00
Arik Fraimovich
60f92a2efc
Add column description to table viz ( #4831 )
...
* Add column description to table viz
* Fix: misplaced super long titles tooltip.
2020-04-24 18:50:45 +03:00
Arik Fraimovich
ea8a075a2d
ODBC Based Databricks Connector ( #4814 )
...
* ODBC Based Databricks connector.
* Install Databricks' ODBC driver in Docker image
* Add useragent string.
* Add Types enum to redash.query_runner to replace the seprate constants.
* Databricks connector:
1. Parse types.
2. Send additional connection options.
3. Correctly parse errors.
* Switch to TYPE constants to use code with Python 2.
* Add note about the Databricks driver terms and conditions.
* Show message about Databricks driver terms and conditions.
* Handle cases when the query doesn't return any results.
* Update redash/query_runner/databricks.py
Co-Authored-By: Jesse <jesse@whitehouse.dev >
* Use new Databricks logo
* Fix connection string options
Co-authored-by: Jesse <jesse@whitehouse.dev >
2020-04-24 18:04:44 +03:00
Arik Fraimovich
6ee9b43ef9
Show explicit user name instead of avatar in lists. ( #4828 )
2020-04-24 17:32:45 +03:00
Arik Fraimovich
cfc82156c2
Reduce number of queries used to load the dashboards list ( #4816 )
...
* Reduce number of queries used to load the dashboards list.
* Use DashboardSerializer everywhere.
* Call serialize
2020-04-21 10:07:48 +03:00
Omer Lachish
ab6dc51540
reset is_invitation_pending if someone tries to login through a reset passwrod link for the first time ( #4817 )
2020-04-20 20:39:08 +03:00
James T. Boylan
70186ab835
Dashboard Search bug fix ( #4804 )
...
* Move Dashboard off `subqueryload()` loader in all() method due to inconsistent results bug in SQLAlchemy when leveraging distinct within a subqueryload call through paginate.
* Added source reference to Presto Query Runner connection through the pyhive client to announce to presto that the query is coming from `redash` instead of `pyhive`.
* Removing source line from presto query runner to refactor based on feedback.
2020-04-19 21:46:25 +03:00
Matt N
e99c37a36a
Don't immediately remove notifications from notification trays ( #4773 )
...
Let the notifications go into browser/OS notification trays so users can click on them from there if they miss the initial notification. Modern browsers generally use OS notifications so the user is in control of the notification at the OS level.
2020-04-14 14:27:03 +03:00
Cemre Mengu
de40f1a07b
Fix comparison error when scale is None ( #4638 )
...
* Fix comparison error when scale is None
Prevents `'>' not supported between instances of 'NoneType' and 'int'` error when scale is `None`
* Update oracle.py
* Fix scale logic.
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
2020-04-14 13:36:12 +03:00
Arik Fraimovich
2c1eb5c10d
Disable Percy snapshot for Choropleth test ( #4799 )
...
* Disable Percy snapshot for Choropleth test
* Increase wait.
* Diasble Percy snapshot.
* Reduce wait time to original value.
* Restyled by prettier (#4800 )
Co-authored-by: Restyled.io <commits@restyled.io >
* Update choropleth_spec.js
Co-authored-by: restyled-io[bot] <32688539+restyled-io[bot]@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io >
2020-04-14 13:34:35 +03:00
Daniel Lang
02cf895983
Added setting to hide Plotly mode bar ( #4644 )
2020-04-14 13:08:17 +03:00
Stefan Mees
940bd564d7
Datasource Exasol: support encryption setting ( #4712 )
...
* add pyexasol datasource, ensure that integer dont overflow in javascript
* support setting encryption for Exasol connections
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
2020-04-14 12:38:01 +03:00
Jesse
9ba57a9491
Adds option to show 500 rows in the table visualization. Previous max ( #4770 )
...
was 250.
2020-04-14 12:36:27 +03:00
Omer Lachish
b80abd11fb
use total_seconds to find stale jobs ( #4777 )
2020-04-14 11:49:17 +03:00
Levko Kravets
1d4ca5cf2e
Pie Chart: set contrast colors for text in sectors ( #4783 )
2020-04-14 11:48:54 +03:00
Weng Kham
f7df6e0cdc
Fix test connection on mongodb datasource ( #4785 )
...
Co-authored-by: Weng Kham Kan <wengkham.kan@icarasia.com >
2020-04-14 11:47:14 +03:00
Gabriel Dutra
3df1a86d66
Fix param added with empty query ignores options ( #4736 )
2020-04-14 11:41:52 +03:00
Gabriel Dutra
bad1294402
Dashboard Performance: Memoize widgets ( #4734 )
2020-04-14 11:04:39 +03:00
Gabriel Dutra
3d26afef16
Move the dropdown to the side in Edit Mode ( #4758 )
2020-04-14 10:37:06 +03:00
Logan Price
2d29240195
feature: add ability to make the restriction of api calls to private addresses optional ( #4790 )
...
* feature: add ability to make the restriction of api calls to private addresses optional
* chore: fix typo
* Update redash/settings/__init__.py
Co-authored-by: lprice92 <lprice92@iastate.edu >
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
2020-04-14 10:34:13 +03:00
Gabriel Dutra
c698359cb8
Remove "context" prop from visualizations ( #4789 )
2020-04-13 10:17:33 -03:00
Gabriel Dutra
2b3d9053e9
Fix Multi-Filters: "select all" makes table view unscrollable ( #4782 )
...
* Limit filters to 40% of query fixed layout space
* Add check for height to determine fixed layout
* Add maxTagCount of 5 to Filters
* Update maxTagCount settings to be similar to Parameters
2020-04-13 15:13:28 +03:00
Atharva Inamdar
45ea5171cb
4791 redshift schema bugfix ( #4792 )
...
* #4791 exclude pg_ tables from redshift table schema inspection
* restrictict only pg_temp
2020-04-12 13:56:06 +03:00
Omer Lachish
6a5445b726
sent stack trace to Sentry when refresh_queries fails to enqueue a certain query ( #4780 )
2020-04-08 16:34:36 +03:00
Levko Kravets
51b573230f
Upgrade Plotly ( #4752 )
...
* Upgrade Plotly
* Fixes to Plotly wrapper
* Decrease plot margins
* Adjust plot margins
2020-04-06 13:35:39 +03:00
Levko Kravets
54b04eaff7
Pie chart ignores series labels ( #4775 )
2020-04-06 13:31:58 +03:00
Georgi Staykov
1e96faed3b
Add db thread pool option to keep idle connections alive ( #4741 )
...
* Add db thread pool option to keep idle connections alive
* Add SQLALCHEMY_ENABLE_POOL_PRE_PING setting
* Change SQLALCHEMY_ENABLE_POOL_PRE_PING default value to false.
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
2020-04-05 14:13:20 +03:00
Arik Fraimovich
90bfba57d4
Fix: extendedEnum breaks JSONSchema parsing ( #4774 )
...
(probably due to Python 3 migration)
2020-04-03 12:07:25 +03:00
lihan
7f2a0af841
Removing the PIP cache from the built image ( #4766 )
2020-04-03 12:06:55 +03:00
Arihant Surana
f9e3ac7534
feat: Add ssl options for Cassandra data source ( #4665 )
...
* feat: provide ssl options for Cassandra data source
* remove Log and prints
* Refactor to create module methods and unit tests
* Switch to using Enumerator and temp file
* Fix temporary file lifecycle for cert
* Align with changes on master
* Fix non certificate but ssl enabled usecase
2020-04-03 11:03:47 +03:00
Gabriel Dutra
4d266176d0
Fix parameter spec flaky test ( #4771 )
2020-04-02 16:01:22 -03:00
Levko Kravets
3373cfc1eb
Sankey diagram should occupy all available area (not just the left part) ( #4765 )
...
* Code style
* Remove dead and duplcated code
* getredash/redash#4763 Sankey diagram should occupy full available area (not just the left part)
2020-03-31 23:10:27 +03:00
Gabriel Dutra
e3745f8ba3
Fix there's no publish button on mobile query page ( #4760 )
2020-03-30 18:16:36 -03:00
Arik Fraimovich
3f6699032f
Add apt update step in build docker image job.
2020-03-24 16:11:49 +02:00
Gabriel Dutra
adf8b2e42b
Cypress: Add/Edit query and dashboard tags spec ( #4744 )
2020-03-24 16:03:22 +02:00
Gabriel Dutra
8db1612689
Fix query based param with no results crashing page ( #4707 )
...
* Fix query based param with no results crashing page
* Add message for empty dropdown parameters
* Handle 500 no results case with empty result set
* Cypress: Make sure it shows the message
* Use .ant-select-selection to open dropdown
2020-03-24 14:48:14 +02:00
Gabriel Dutra
fabaf73b7b
Move data source/destination deprecated handling to frontend ( #4753 )
...
* Move DS deprecated handling to frontend
* Add Cypress assertion for deprecated types
2020-03-24 10:09:03 +02:00
Ezekiel Templin
45914f941f
Set POSTGRES_HOST_AUTH_METHOD environment variable ( #4740 )
...
Redash's docker-compose file will no longer bring up an environment from
a cold start due to recent upstream changes to the postgres image that
force the user to either set a password for the default superuser or
opt-in to allowing all connections without a password via environment
variable.
Upstream PR: https://github.com/docker-library/postgres/pull/658
Related Discussion: https://github.com/docker-library/postgres/issues/681
2020-03-18 14:52:23 +02:00
Gabriel Dutra
1e9b8f1126
Fix no button to add query tags ( #4737 )
2020-03-17 22:11:33 +02:00
Levko Kravets
52911b7be3
Cohort appearance settings ( #4597 )
...
* Cohort: add settings for tooltips, value formats and placeholder
* Cohort: add settings for colors
* Cohort: change all settings tabs to use horizontal inputs
* Cohort: show color labels in editor
2020-03-17 13:42:45 +02:00
Levko Kravets
a10a3f1731
getredash/redash#4728 DOMPurify by default removes 'target' attribute ( #4729 )
2020-03-17 13:30:55 +02:00
Gabriel Dutra
33131c1354
Trigger CI lint failure on warnings and fix failing frontend unit tests ( #4735 )
...
* Trigger lint error on warnings on CI
* Test removing pip3 command from frontend unit
* Test eslint warning
* Revert "Test eslint warning"
This reverts commit 89d407345a .
* Revert "Test removing pip3 command from frontend unit"
This reverts commit 424c900200 .
* Run apt update before installing pip3
2020-03-16 13:27:21 +02:00
Gabriel Dutra
f6750428cf
Dashboard Performance: HtmlContent improvements ( #4726 )
...
* Dashboard Performance: Memoize HtmlContent
* Only render HtmlContent if there is a description
2020-03-15 15:12:50 +02:00
Gabriel Dutra
f4b69d4495
Cypress: Separate start command and update to v4.1.0 ( #4690 )
2020-03-11 16:14:33 -03:00
Levko Kravets
db71ff399c
Refactor dialog wrapper component ( #4594 )
...
* Dialog wrapper: stop using promises to handle results - replace with callbacks
* Dialog wrapper: handle async operation on close
2020-03-10 22:22:42 +02:00
Levko Kravets
e552effd96
Remove route.resolve feature ( #4607 )
...
* Stop using route.resolve feature (pages should load all the data themselves)
* Remove route.resolve feature
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
2020-03-10 13:09:26 +02:00
Satyam Krishna
75cc6b3f53
Fix : Alembic migration for scheduled query from older to newer version ( #4709 )
2020-03-08 17:41:21 +02:00
Gabriel Dutra
bf3095c794
Update Dashboard and Alert headers with the Query one ( #4710 )
2020-03-06 14:26:37 -03:00
Omer Lachish
ee6dcab362
Cancel BigQuery Queries ( #4701 )
...
* cancel BigQuery queries when user requests cancellation or when the job times out
* create a new bigquery client to flush exising requests
2020-03-04 22:45:20 +02:00
Gabriel Dutra
e0312fb717
Mobile experience improvements ( #4694 )
...
* Allow touch action on dashboard grid
* Deactivate touch when resizing widgets
* Disable touch interactions on Plotly
* Update Plotly and use dragmode: false
* Remove autoFocus from ItemsList search
* Fix spacing for queries and dashboard favorites
* Make sure admin pages don't go over 100% width
2020-03-04 12:55:51 +02:00
Omer Lachish
791a0b3ec7
allow comparison with strings containing numbers as alert values ( #4705 )
2020-03-04 12:40:23 +02:00
Anton Yuzhaninov
e03e58c5c7
Fix: show size of actually used Redash database ( #4706 )
...
'postgres' is a default database name in the Docker image, but if an
external database server is used, than Redash database can have
a different name (specified in REDASH_DATABASE_URL).
2020-03-03 21:21:56 +02:00
Arik Fraimovich
78201c6108
Dynamic Form: boolean fields related fixes ( #4586 )
...
* Fix: when default value is false make sure it's still stringified.
* Fix: when extra field is of type boolean make sure it's different from default value to decide if it's open.
* Use isNil to check the default value
* Restyled by prettier (#4704 )
Co-authored-by: restyled-io[bot] <32688539+restyled-io[bot]@users.noreply.github.com>
2020-03-03 12:55:54 +02:00
Arik Fraimovich
d687befa59
Query page: update empty state text ( #4699 )
2020-03-03 10:53:45 +02:00
Gabriel Dutra
9635d00476
Fix error for query snippets with empty description ( #4693 )
2020-03-01 15:05:44 -03:00
Jesse
418590003e
Solves redashlabs/product#47 ( #4669 )
2020-03-01 14:19:00 +02:00
Levko Kravets
3650f0c45b
Table visualization: Show which columns are being used for search ( #4680 )
...
* Table visualization: Show which columns are being used for search
* Fix accidental bug
2020-03-01 14:15:49 +02:00
erels
668403c126
Fixed Clickhouse column name encoding problem ( #4682 )
2020-03-01 14:11:49 +02:00
Arik Fraimovich
4b94a5c88f
Snowflake: use different method of showing columns if no schema specified in db name ( #4696 )
...
* Snowflake: use different method of showing columns if no schema specified in db name
* Update redash/query_runner/snowflake.py
Co-Authored-By: Omer Lachish <omer@rauchy.net >
* Update redash/query_runner/snowflake.py
Co-authored-by: Omer Lachish <omer@rauchy.net >
2020-03-01 13:55:28 +02:00
Omer Lachish
a9cb87d4b3
refresh_queries shouldn't break because of a single query having a bad schedule object ( #4163 )
...
* move filtering of invalid schedules to the query
* simplify retrieved_at assignment and wrap in a try/except block to avoid one query blowing up the rest
* refactor refresh_queries to use simpler functions with a single responsibility and add try/except blocks to avoid one query blowing up the rest
* avoid blowing up when job locks point to expired Job objects. Enqueue them again instead
* there's no need to check for the existence of interval - all schedules have intervals
* disable faulty schedules
* reduce FP style in refresh_queries
* report refresh_queries errors to Sentry (if it is configured)
* avoid using exists+fetch and use exceptions instead
2020-03-01 11:02:46 +02:00
Omer Lachish
b0f1cdd194
remove rq_healthcheck entrypoint and deprecate celery_healthcheck ( #4574 )
2020-02-27 17:55:04 +02:00
juanvasquezreyes
5d533a3277
Oracle: update DSN construction to support special characters in user/password. ( #4659 )
...
* Update oracle.py
The reason I propose this change is to fix an issue when oracle password has an @
example of connection string: user/p@ssword@host
* Update oracle.py
Fixing init after comments
* Remove empty constructor.
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
2020-02-27 17:50:46 +02:00
Gabriel Dutra
5fa5cd958b
Change visualization editor scroll to internal divs ( #4689 )
2020-02-26 23:09:53 +02:00
Levko Kravets
c5f14e5538
Use main react-grid-layout package instead of fork ( #4687 )
2020-02-26 21:20:30 +02:00
Levko Kravets
7043951f00
Use npm ci instead of npm install in CI scripts ( #4688 )
2020-02-26 19:23:32 +02:00
Omer Lachish
9790b0731d
Perform cleanup on job timeouts ( #4681 )
...
* move repeated query cancellation error messages to the job serializer
* oerform cleanup on JobTimeoutException and DRY query cancellation exception blocks
* import JobTimeoutException directly from rq
* fix syntax error introduced by mistake
* add missing import
2020-02-26 13:24:57 +02:00
Levko Kravets
3102e2df94
Fix: Chart with a horizontal legend sometimes doesn't render properly ( #4683 )
2020-02-25 13:07:17 +02:00
Gabriel Dutra
f396c96457
Merge branch 'master' into query-based-dropdown--parameters
2020-02-25 07:49:36 -03:00
Omer Lachish
35250d64b9
Job timeout doesn't kill the mysql query ( #4629 )
...
* forward timeout SIGALRMs to MySQL threads in order to kill any running proccesses
* no need to attach to SIGALRM as RQ already does that
2020-02-25 00:16:19 +02:00
Gabriel Dutra
cdfa102125
Query View page design adjustments ( #4670 )
...
* Realign Data Source and Refresh Schedule
* Adjust execution status height
* Rewrite Query Page Header flexibility
* Remove margin from QuerySource parameters
* Cypress: Visit visualization instead of click in tab
* Fix wrong css class name in dashboard-grid
2020-02-24 21:05:58 +02:00
Gabriel Dutra
8bfcbf21e3
Remove redundant import
2020-02-24 11:44:28 -03:00
Gabriel Dutra
8a1640c4e7
Separate InputPopover component
2020-02-24 11:44:18 -03:00
Gabriel Dutra
209ee16261
Fix verification email url on home page ( #4647 )
2020-02-24 10:15:35 -03:00
Arik Fraimovich
f1a2f8cb88
Enable ODBC and MS SQL ODBC support ( #4676 )
...
Closes #4356 .
2020-02-23 11:57:39 +02:00
Arik Fraimovich
dd8e23040a
Remove core-js and polyfill include as we don't use Phantom anymore ( #4583 )
2020-02-23 11:15:53 +02:00
Gabriel Dutra
a37e7f93dc
Add is_safe test for queries with params
2020-02-22 15:47:29 -03:00
Gabriel Dutra
cc34e781d3
Small updates
...
- Change searchTerm separator
- Add cy.wait
2020-02-22 15:23:43 -03:00
Gabriel Dutra
6aa0ea715e
Invert tooltip messages order
2020-02-22 14:08:19 -03:00
Gabriel Dutra
6c27619671
Make Parameter Mapping required in UI
2020-02-21 23:00:26 -03:00
Gabriel Dutra
6eeb3b3eb2
Separate UI components
2020-02-21 15:49:23 -03:00
Gabriel Dutra
d40edb81c2
Fix backend tests
2020-02-21 14:18:59 -03:00
Gabriel Dutra
f128b4b85f
Only allow search for Text Parameters
2020-02-21 13:36:06 -03:00
Gabriel Dutra
264fb5798d
Merge branch 'master' into query-based-dropdown--parameters
2020-02-21 13:31:49 -03:00
Gabriel Dutra
90023ac435
Make sure Table updates correctly
2020-02-21 11:03:37 -03:00
Gabriel Dutra
df755fbc17
Add try except for NoResultFound
2020-02-21 09:40:52 -03:00
Gabriel Dutra
e555642844
Add is_safe check for parameterized query based
2020-02-21 09:27:12 -03:00
Gabriel Dutra
bdd7b146ae
Change stored mapping attributes
2020-02-20 21:59:19 -03:00
Gabriel Dutra
b7478defec
Don't validade query params with params
2020-02-20 19:29:43 -03:00
Gabriel Dutra
bb0d7830c9
Fixes + temp remove validation for Query param
2020-02-20 18:49:29 -03:00
Gabriel Dutra
d2cc2d20b6
Query Editor: Remove overflow visible from visualization ( #4668 )
2020-02-20 18:16:26 -03:00
Levko Kravets
7f8b103aea
getredash/redash#4666 The download button on the dashboard will redirect users to an invalid page ( #4667 )
2020-02-20 21:16:16 +02:00
Gabriel Dutra
9eaa44da4a
Query View redesign ( #4536 )
...
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
2020-02-19 17:47:34 -03:00
Gabriel Dutra
2833bb539f
Fix Add Widget always shows recent queries list ( #4658 )
2020-02-18 18:01:26 -03:00
Gabriel Dutra
137aa22dd4
Parameter Mapping UI (2/2)
2020-02-18 17:55:27 -03:00
Levko Kravets
7ff5af1bf5
getredash/redash#4655 Closing the Help Drawer redirects you the homepage ( #4657 )
2020-02-18 21:23:23 +02:00
Omer Lachish
7124bc91d7
Avoid timing out when no timeout is set ( #4653 )
...
* soft limits should not exceed if they are set to run infinitely
* use a variable to explain magic number
2020-02-18 15:29:33 +02:00
Gabriel Dutra
9cf396599a
Parameter Mapping UI (1/2)
2020-02-17 23:32:10 -03:00
Gabriel Dutra
b70f0fa921
Iterate over backend verification
2020-02-16 13:39:05 -03:00
Omer Lachish
abbfd598d7
support relative time in cloudwatch queries ( #4649 )
2020-02-16 12:23:25 +02:00
Gabriel Dutra
5e3613d6cb
Start experiements with a 'search' parameter
2020-02-13 16:29:50 -03:00
Gabriel Dutra
545da898ee
Fix dashboard editing permissions not working ( #4613 )
...
* Use dashboard.can_edit instead of checking owner
* Add owner or admin check to Manage Permissions
* Remove unnecessary useMemo
2020-02-13 11:50:45 +02:00
Omer Lachish
ddb0ef15c1
Set default query execution time limit to unlimited ( #4626 )
...
* default query execution time limit to 1 hour
* use -1 (run infinitely) as a default limit
2020-02-11 11:23:02 +02:00
Jannis Leidel
9646156965
Handle stale jobs more carefully before purging them. ( #4615 )
2020-02-11 11:14:26 +02:00
Jannis Leidel
5c7cb1af3d
Update cassandra-driver to 3.21.0. ( #4636 )
...
This provides binary wheel files and reduces Docker build times drastically.
2020-02-10 21:48:43 +02:00
Arik Fraimovich
2bd8771188
Fix: no need to encode strings anymore ( #4627 )
...
* It's 2020, we got Python 3, no need to encode strings anymore
* Remove encode calls from other places
* use alert.name directly
2020-02-10 20:34:42 +02:00
Arik Fraimovich
86f8f32ab4
Snowflake: switch to simpler query for fetching columns ( #4634 )
...
Because we already call USE DATABASE before running SHOW COLUMNS adding IN DATABASE is redundant, but causes an error if the user specifies a schema along with database name.
2020-02-10 20:34:23 +02:00
Gabriel Dutra
fdccaabbe9
Check for LDAP Login in Organization Settings ( #4359 )
...
* Check for LDAP Login in Organization Settings
* Restyled by prettier (#4570 )
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
Co-authored-by: restyled-io[bot] <32688539+restyled-io[bot]@users.noreply.github.com>
2020-02-10 20:13:56 +02:00
Levko Kravets
2f5920d5e4
getredash/redash#4601 Chart editor: enable search in columns selects ( #4602 )
2020-02-09 17:38:48 +02:00
Omer Lachish
e97510b2ee
Clickhouse: control whether to verify SSL certificate ( #4631 )
2020-02-09 16:03:43 +02:00
Omer Lachish
80cfa3c557
set correct values for ProxyFix ( #4630 )
2020-02-09 15:20:16 +02:00
mickeey2525
9b71b569e2
Fix treasuredata endpoint ( #4582 )
...
* fix treasuredata endpoint
* make endpoint as a required
* fix unneccessart required parameter
2020-02-09 13:52:44 +02:00
Arik Fraimovich
f2159472da
Fix: encode/decode bytestring for base64. ( #4624 )
...
* Fix: encode/decode bytestring for base64.
* Apply b64encode fix to HiveHttp
2020-02-09 13:41:41 +02:00
Omer Lachish
c961c33e49
If the error message happens to be empty, it will break serailization. ( #4622 )
2020-02-09 13:17:43 +02:00
Omer Lachish
5afc94c562
sync_user_details doens't really need a custom ttl ( #4625 )
2020-02-09 12:57:16 +02:00
Jesse
cee1a07320
Sort schema columns alphabetically ( #4595 )
...
* Adds logic to sort column names returned by the query runner. If `sorted`
raises an Exception it returns the column names unaltered from the query
runner.
* Moves table name sorting from model code into schema handler.
* Moves token sorting into the model code.
* Replaces single-quotes with double-quotes for consistency.
* Applies black formatting to changes.
* Moves schema sort into separate method. Adds test.
* Fixes output schema variable name. Without this the sorted cache is never returned!
____ ____ ____ _____
/ __ \/ __ \/ __ \/ ___/
/ /_/ / /_/ / /_/ (__ )
\____/\____/ .___/____/
/_/
* Adds test case guaranteeing that the model actually _uses_ the schema sorter.
Related to a31f90178c
2020-02-09 12:40:47 +02:00
Eduardo Garcia
42b1eadeb2
Update copyright year to 2020 in LICENSE ( #4616 )
2020-02-09 12:39:22 +02:00
Omer Lachish
7edac9ca89
keep adhoc job results longer (determined by settings.JOB_EXPIRY_TIME) ( #4559 )
2020-02-09 12:28:58 +02:00
David Hernández
69893f0304
Force specific version of Werkzeug to prevent the breaking changes of the new release. ( #4618 )
2020-02-09 09:23:48 +02:00
Jannis Leidel
b089f5f0ef
Use correct logger when enqueuing a query execution. ( #4614 )
2020-02-06 15:16:21 +01:00
Omer Lachish
7a34a76817
RQ: Missing currently executing queries view ( #4558 )
...
* add meta information to executing queries
* add a table for running queries
* add pagination to queues table
* sort the queues table
* add pagination to all tables
2020-02-03 23:51:20 +02:00
Levko Kravets
2de3895986
Query editor: fix shortcuts ( #4598 )
2020-01-29 21:26:05 +02:00
Levko Kravets
713fd2d0fb
Change visualizations import to be static ( #4592 )
...
* getredash/redash#4565 Change visualizations import to be static
* Move visualizations-related components to own folder
2020-01-28 12:48:38 +02:00
Levko Kravets
19c6d331b6
Refine routes definitions ( #4579 )
...
* Refine routes definitions
* Replace HoC wrappers with functions to create route definition
* Some updates for code consistency
* ItemsList component: remove currentRoute dependency
* Prepare route parametes in wrapper functions
2020-01-26 14:53:40 +02:00
Omer Lachish
a36b10173c
Fix empty values sent in dynamic form ( #3886 )
...
* remove legacy session identifier support
* remove redundant test
* redirect to login to support any invalid session identifiers
* be more specific with caught errors
* reject empty values in DynamicForm
* don't submit form values if they are empty (unless they are
intentionally set to empty string)
* set empty values to null to clear out data source option in the model
* check explicitly for null
2020-01-23 21:21:49 +02:00
Eran Sandler
7d11fae9ea
Added support for running MongoDB queries on secondary in replicaset mode ( #1424 )
...
* - Added support to specify read preference when query a replicaset database (for example, secondaryPreferred - to try and read data from secondary before primary).
- Removed old code that used MongoClientReplicaSet as it is now just a reference to MongoClient
- Fixed a documentation type :-)
* Moving to PyMongo 3.3.1 which also supports MongoDB 3.2
* Changed the readPreference config to use an enum
* Pass readPreference to MongoClient
* primaryPreferred is now the default
2020-01-23 21:14:37 +02:00
Levko Kravets
35e41385dc
Fixes several bugs on dashboard page (see description) ( #4571 )
...
* Move each hook to own file; move hooks and components to own folders
* Update URL and timer only when refresh rate changes
* Skip dashboard refresh if previous refresh is still running
* Fix test
2020-01-23 17:03:37 +02:00
Levko Kravets
cdefa847c0
Restore query execute notifications (missed during React migration) ( #4577 )
2020-01-23 16:21:51 +02:00
Levko Kravets
a90b8c7443
getredash/redash#173 Don't allow to fork query while previous fork is still in progress ( #4578 )
2020-01-23 16:08:59 +02:00
Levko Kravets
1ba3a23457
Bug: when using global dashboard filters, widgets continuously update their local filters ( #4575 )
2020-01-23 16:07:28 +02:00
Levko Kravets
8a5e0ea3f4
Refine Timer and TimeAgo components (get rid of force update) ( #4580 )
2020-01-23 16:06:38 +02:00
Levko Kravets
cbc56264ea
React migration cleanup ( #4572 )
...
* Revisit ANGULAR_REMOVE_ME things
* Remove styles related to 3rd-party Angular and jQuery libraries
* Remove some more unused styles
* Revisit error handling (app-wide)
* Remove unused file
* CR1
2020-01-22 17:15:25 +02:00
Levko Kravets
c92bb63f8b
Fix Map visualization: L.layerGroup cannot compute its bounds ( #4573 )
2020-01-22 10:11:29 +02:00
Levko Kravets
ff0dbd5f01
Save new query before adding new visualization ( #4569 )
2020-01-21 13:06:26 +02:00
Leo Palmer Sunmo
80bfd405fd
Force saml auth scheme ( #3614 )
...
* Add SAML scheme override env var
* Make it pretty, please the linter
* Import settings properly
2020-01-21 11:45:21 +02:00
taminif
945f53fea3
delete variable ( #3813 )
...
* delete variable
* delete duplicate code
* add empty line
* delete empty line
2020-01-21 11:29:56 +02:00
Steve Buckingham
56b51be64a
Add redshift role use option ( #4532 )
...
* Add redshift role use option
* Update requirements for SSL socket wrap issue fixes
* Split Redshift class into User and IAM logins
* Update incorrect register
* Change type names
* Correct class name to inherit
* Render IAM redshift image and field order correct
* Update redash/query_runner/pg.py
Co-Authored-By: Arik Fraimovich <arik@arikfr.com >
* Update redash/query_runner/pg.py
Co-Authored-By: Arik Fraimovich <arik@arikfr.com >
* Remove need for specified urllib - specify pyopenssl is enough
* Pyopenssl back down to 19.0.0
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
2020-01-21 11:18:33 +02:00
Levko Kravets
a682265e13
Migrate router and <app-view> to React ( #4525 )
...
* Migrate router and <app-view> to React: skeleton
* Update layout on route change
* Start moving page routes from angular to react
* Move page routes to react except of public dashboard and visualization embed)
* Move public dashboard and visualization embed routes to React
* Replace $route/$routeParams usages
* Some cleanup
* Replace AngularJS $location service with implementation based on history library
* Minor fix to how ApplicationView handles route change
* Explicitly use global layout for each page instead of handling related stuff in ApplicationArea component
* Error handling
* Remove AngularJS and related dependencies
* Move Parameter factory method to a separate file
* Fix CSS (replace custom components with classes)
* Fix: keep other url parts when updating location partially; refine code
* Fix tests
* Make router work in multi-org mode (respect <base> tag)
* Optimzation: don't resolve route if path didn't change
* Fix search input in header; error handling improvement (handle more errors in pages; global error handler for unhandled errors; dialog dismiss 'unhandled rejection' errors)
* Fix page keys; fix navigateTo calls (third parameter not available)
* Use relative links
* Router: ignore location REPLACE events, resolve only on PUSH/POP
* Fix tests
* Remove unused jQuery reference
* Show error from backend when creating Destination
* Remove route.resolve where not necessary (used constant values)
* New Query page: keep state on saving, reload when creating another new query
* Use currentRoute.key instead of hard-coded keys for page components
* Tidy up Router
* Tidy up location service
* Fix tests
* Don't add parameters changes to browser's history
* Fix test (improved fix)
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
2020-01-20 20:56:37 +02:00
Arik Fraimovich
a891160b4d
Upgrade snowflake-connector-python ( #4567 )
...
* Upgrade snowflake-connector-python
* Downgrade requests
2020-01-20 19:50:57 +02:00
Gabriel Dutra
086798bbb7
Fix Cypress issues after React version of Query Pages ( #4545 )
...
* Update Pivot rows assertion
* Allow replacing Query results with Apply Changes
2020-01-20 14:26:22 +02:00
Levko Kravets
ebcec85c0c
Tags filter doesn't work because of wrong query params format ( #4563 )
...
* getredash/redash#4557 Tags filter doesn't work because of wrong query params format
* Fix tests
2020-01-20 12:49:17 +02:00
Gabriel Dutra
2b5bfad054
Add padding to QueryExecutionStatus text ( #4553 )
2020-01-16 21:18:06 +02:00
Gabriel Dutra
479b277b91
Add loading state to Query save button ( #4551 )
...
* Add loading state to Query save button
* Hide dirty indication and icon when saving
2020-01-16 14:21:38 +02:00
Arik Fraimovich
94ac11c787
webpack: remove children from output ( #4540 )
2020-01-14 14:05:37 +02:00
Jannis Leidel
a7ef3ad72a
Get rid of six and fix str/unicode types regression that became active on Python 3. ( #4533 )
...
This was introduced in d38ca803c5 .
2020-01-14 12:51:36 +02:00
Ari Ekmekji
afe8c95f4d
Load collections in all workspaces ( #4541 )
2020-01-14 12:48:04 +02:00
Omer Lachish
fe06f7f63e
Google Analytics runner - iterate over keys the Python 3 way ( #4538 )
...
* iterate over key names instead of dict_keys values
* use dict comprehension instead of manipulating existing dict
2020-01-13 14:41:30 +02:00
Omer Lachish
5e01211852
adjust imports to match influxdb 5.2.3 ( #4531 )
2020-01-13 10:43:29 +02:00
Gabriel Dutra
375ffd3250
Migrate services and replace $http with axios ( #4497 )
2020-01-12 22:25:26 -03:00
Omer Lachish
674f057c59
fix typo in azure kusto runner ( #4537 )
2020-01-12 22:45:32 +02:00
Omer Lachish
aa17681af2
Nuke Celery ( #4521 )
...
* enforce hard limits on non-responsive work horses by workers
* move differences from Worker to helper methods to help make the specialization clearer
* move HardLimitingWorker to redash/tasks
* move schedule.py to /tasks
* explain the motivation for HardLimitingWorker
* pleasing CodeClimate
* pleasing CodeClimate
* port query execution to RQ
* get rid of argsrepr
* avoid star imports
* allow queries to be cancelled in RQ
* return QueryExecutionErrors as job results
* fix TestTaskEnqueue and QueryExecutorTests
* remove Celery monitoring
* get rid of QueryTask and use RQ jobs directly (with a job serializer)
* Revert "remove Celery monitoring"
This reverts commit 37a74ea403 .
* reduce occurences of the word 'task'
* use Worker, Queue and Job instead of spreading names that share behavior details
* remove locks for failed jobs as well
* did I not commit that colon? oh my
* push the redis connection to RQ's stack on every request to avoid verbose connection setting
* use a connection context for tests
* remove Celery monitoring
* 👋 Celery
* remove Celery from Cypress
* black it up
* some more black
* return all started/queued job ids (for future monitoring
* Restyled by prettier (#4522 )
* remove celery.py
* remove some frontend residuals that reappeared after a merge
Co-authored-by: restyled-io[bot] <32688539+restyled-io[bot]@users.noreply.github.com>
2020-01-12 22:36:48 +02:00
Takuya Arita
13c3531956
Update description for the new setup repository ( #4535 )
2020-01-12 15:22:10 +02:00
Gabriel Dutra
350716c525
Add maildev missing settings ( #4527 )
2020-01-10 09:29:33 +02:00
Gabriel Dutra
fe11b8cc35
Cypress: Add test for Settings Tabs ( #4530 )
2020-01-09 12:40:40 -03:00
Gabriel Dutra
465dbc03b7
Hide unavailable page links to non-admin users in settings and header ( #4524 )
...
* Filter unavailable menu items in SettingsWrapper
* Don't show Alert Destination in header to users
2020-01-08 10:59:59 +02:00
Gabriel Dutra
76f0dcb085
Replace angular-sanitize with DOMPurify ( #4502 )
...
* Switch angular-sanitize package with dompurify
* Replace $sanitize with DOMPurify.sanitize
Co-authored-by: Arik Fraimovich <arik@arikfr.com >
2020-01-08 10:56:11 +02:00
Gabriel Dutra
99c276fc9a
Migrate Query pages to React ( #4429 )
...
* Migrate Query Source View page to React: skeleton
* Sync QueryView and QuerySource (#4430 )
* Migrate schema browser to react (#4432 )
* Restyle code with Prettier
* Migrate Query page to React: Save changes (#4452 )
* Migrate query source to React: Set of updates (#4457 )
* Migrate Query page to React: Visualization Tabs (#4453 )
Co-Authored-By: Levko Kravets <levko.ne@gmail.com >
* Migrate Query Source page to React: Visualizations area (#4463 )
* Migrate Query page to React: Delete visualization button (#4461 )
* Migrate Query Source page to React: Visualization actions (#4467 )
* Migrate Query pages to React: Execute query hook (#4470 )
* Migrate Query Source page to React: Editor area (#4468 )
* Migrate Query Source page to React: metadata, schedule and description blocks (#4476 )
* Migrate Query page to React: Cancel query execution (#4496 )
* Migrate Query Source page to React: refine code (#4499 )
* Migrate Query Source page to React: alerts (#4504 )
* Migrate Query Source page to React: unsaved changes alert (#4505 )
* Migrate Query Source to React: resizable areas (v2) (#4503 )
* Migrate Query page to React: Query View (#4455 )
Co-authored-by: Levko Kravets <levko.ne@gmail.com >
* Switch React and Angular versions of pages (until Angular version removed)
* Migrate Query pages to React: fix permissions (#4506 )
* Migrate Query Source page to React: don't reload when saving new query (#4507 )
* Migrate Query pages to React: fix tests (#4509 )
* Use skipParametersDirtyFlag in executeQuery
* Fix: cannot fork query from Query View page
* Optimize query editor: handle query text changes faster
* Revert "Optimize query editor: handle query text changes faster"
This reverts commit 2934e53be6 .
* Reduce debounced time to 100
* Migrate Query pages to React: cleanup (#4512 )
* Migrate Query pages to React: cleanup
* Further cleanup
* Remove unused dependencies
* Fix embed pages
* Attempt to fix flaky test
* Cleanup: explicitly register the last Angular component
* Move contents of /filters folder to /lib
* Remove unnecessary import
* Remove cy.wait from Parameters spec
Co-authored-by: Gabriel Dutra <nesk.frz@gmail.com >
Co-authored-by: Levko Kravets <levko.ne@gmail.com >
2020-01-06 20:51:45 +02:00
Levko Kravets
fc9e8fe2aa
Add error boundary to catch errors in visualizations ( #4518 )
...
* Add error boundary to catch errors in visualizations
* Fix: Funnel crash when step column is date/time
* CR1
* CR2
2020-01-06 10:22:20 +02:00
Omer Lachish
260bfca767
Multiprocess RQ workers (using supervisor) ( #4371 )
...
* launch and monitor multiple workers using supervisor
* run supervisord in non-daemon mode
* redirect all output to stdout/stderr
* no need to log supervisord's output because it is redirected to stdout anyway
* updated and less brittle healthcheck
* add supervisor healthchecks
* remove redundant supervisor installation as it is installed by pip
* add a 5 minute check gate
2020-01-01 15:32:29 +02:00
Arik Fraimovich
f85490cf50
Fix: don't try to access message property of an exception ( #4516 )
...
(not supported in Python 3)
2019-12-31 12:45:29 +02:00
Gabriel Dutra
29582e3212
Run prettier on cypress folder ( #4510 )
...
* Run prettier on cypress folder
* Test Restyled
* Revert "Test Restyled"
This reverts commit 13d43968fe .
2019-12-30 19:40:56 +02:00
Omer Lachish
329e85987c
Execute Queries in RQ ( #4413 )
...
* enforce hard limits on non-responsive work horses by workers
* move differences from Worker to helper methods to help make the specialization clearer
* move HardLimitingWorker to redash/tasks
* move schedule.py to /tasks
* explain the motivation for HardLimitingWorker
* pleasing CodeClimate
* pleasing CodeClimate
* port query execution to RQ
* get rid of argsrepr
* avoid star imports
* allow queries to be cancelled in RQ
* return QueryExecutionErrors as job results
* fix TestTaskEnqueue and QueryExecutorTests
* remove Celery monitoring
* get rid of QueryTask and use RQ jobs directly (with a job serializer)
* Revert "remove Celery monitoring"
This reverts commit 37a74ea403 .
* reduce occurences of the word 'task'
* use Worker, Queue and Job instead of spreading names that share behavior details
* remove locks for failed jobs as well
* did I not commit that colon? oh my
* push the redis connection to RQ's stack on every request to avoid verbose connection setting
* use a connection context for tests
* black it up
* run RQ on all queues when running in Cypress
2019-12-30 14:11:01 +02:00
Arik Fraimovich
ff34dedf46
Fix: properly encode UTF-8 filenames in query results request ( #4498 )
...
* Fix: properly encode UTF-8 filenames in query results request
Ended up copying the implementation from Flask's send_file helper function, because send_file doesn't really fit our use case.
* Update tests/handlers/test_query_results.py
Co-Authored-By: Omer Lachish <omer@rauchy.net >
Co-authored-by: Omer Lachish <omer@rauchy.net >
2019-12-30 11:52:18 +02:00
Arik Fraimovich
d0fb377ed6
Viz Embed: Add option to hide timestamp ( #4491 )
2019-12-30 11:45:22 +02:00
Arik Fraimovich
30bc1e2ff6
Refine permissions usage in Redash to allow for guest users ( #4492 )
...
* Allow executing query with either view_query or execute_query permissions.
* Render AuthHeader according to permissions.
* Don't return dashboards where you only have access to textbox widget.
Closes #4099 .
2019-12-30 10:07:20 +02:00
Gabriel Dutra
fd46194580
Update EditInPlace to use Antd components ( #4493 )
2019-12-26 12:53:33 -03:00
deecay
f5900a1929
Chart: Bubble size control by coefficient and sizemode ( #3928 )
2019-12-26 16:19:45 +02:00
Tsuyoshi Yoshizawa
c2b39db03e
Support download as TSV File ( #4445 )
2019-12-26 16:16:48 +02:00
Omer Lachish
f420e02cee
adjust imports to match simple-salesforce 0.74.3 ( #4490 )
2019-12-25 16:26:58 +02:00
Arik Fraimovich
0aa176e2e5
Don't update query's updated_at when updating schedule_failures counter ( #4488 )
2019-12-25 16:25:16 +02:00
Arik Fraimovich
97d523e348
Retain tags when forking a query ( #4489 )
2019-12-25 16:25:02 +02:00
Arik Fraimovich
88d21e9461
Add explicit handling of 404 errors in query result requests. ( #4487 )
2019-12-25 15:46:13 +02:00
Arik Fraimovich
40c1ef0f59
Fix: query results query runner fails to load cached results. ( #4486 )
2019-12-25 15:21:43 +02:00
Arik Fraimovich
10ba2ddbaa
Snowflake: add missing date types ( #4484 )
...
Without those the values might be miscategorized in the UI.
2019-12-25 14:58:45 +02:00
Omer Lachish
e7eedd0556
fix all occurances of B306: BaseException.message has been deprecated as of Python 2.6 and is removed in Python 3. Use str(e) to access the user-readable message. Use e.args to access arguments passed to the exception. ( #4482 )
2019-12-25 10:13:39 +02:00
Omer Lachish
c3299ff0ad
totalRows are returned as a string and should be a number ( #4481 )
2019-12-24 22:20:17 +02:00
Randy Zwitch
6b2f23f357
Update pymapd to 0.19.0 ( #4424 )
2019-12-24 15:34:42 +02:00
Arik Fraimovich
0819f80e72
Hive/Databricks: mark date types as TYPE_DATE. ( #4419 )
2019-12-24 10:39:56 +02:00
Gabriel Dutra
7223f60ddf
Migrate VisualizationEmbed to React ( #4364 )
...
* Migrate VisualizationEmbed to React
* Angular cleanup
* Remove onClick event from TimeAgo
* Check Table exists before taking snapshot
* Apply Prettier
2019-12-24 10:21:48 +02:00
Gabriel Dutra
38b6b47594
Migrate Dashboard and Public Dashboard to React ( #4228 )
...
* Initial React Rendering with useDashboard
* Make sure widgets refresh + useCallback
* Rename collectFilters and add refreshRate
* Fix error updates not being rendered
* Only render widget bottom when queryResults exists
* Cleanup
* Add useCallback to refreshDashboard
* Make sure Promise.all have all promises done
* Start migrating Dashoard to React
- initial rendering
- some actions
- temporary updated less file
* Fullscreen handler added
* Separate refreshRateHandler hook
* Add a few tooltips
* Separate DashboardControl and normalize btn width
* Share Button
* Fix serach params not updating
* Enumerate More Options
* Toggle Publish options
* Archive Dashboard
* Parameters + Filters
* Prepare Manage Permissions
* Start to create edit mode
* Add Edit Mode functionalities
* Use previous state when updating dashboard
* Mobile adjustments
* PermissionsEditorDialog + Dashboard page title
* Update Dashboard spec
* Fix other specs
* Break dashboard.less
* Hide publish button on mobile
* Angular Cleaning
* Keep edit state when changing resolution
* Bug fix: Dashboard Level Filters not updating
* Remove prepareWidgetsForDashboard
* Revert "Remove prepareWidgetsForDashboard"
This reverts commit b434f03da1 .
* Avoid saving layout changes out of editing mode
* Apply policy for enabled refresh rates
* Disable loadDashboard deps
* Restyled by prettier (#4459 )
* Update title when dashboard name updates
Co-authored-by: restyled-io[bot] <32688539+restyled-io[bot]@users.noreply.github.com>
2019-12-24 10:20:40 +02:00
Levko Kravets
49dcb7f689
Refactor QueryEditor component ( #4464 )
2019-12-20 15:35:43 +02:00
deecay
425e79fdd2
Fix prettier commandline option to be recursive ( #4458 )
2019-12-17 14:52:45 +02:00
Levko Kravets
bc52b78889
Third column not selectable for Bubble and Heatmap charts ( #4449 )
2019-12-16 13:00:17 +02:00
deecay
944adb95ba
Map: add tooltip and popup templating ( #4443 )
2019-12-14 20:07:09 +02:00
Daniel Dubovski
8cb49158bf
Adding application to Azure Kusto query runner ( #4441 )
...
This is to allow for better metrics collection and tracking on the service side.
More info can be found [here](https://docs.microsoft.com/en-us/azure/kusto/api/netfx/request-properties#the-application-x-ms-app-named-property )
2019-12-13 21:47:11 +02:00
Gabriel Dutra
ca098172e9
Fix Restyled config ( #4438 )
2019-12-11 23:06:17 -03:00
Omer Lachish
a3beac0b78
allow setting of custom sentry environments ( #4437 )
2019-12-11 23:00:06 +02:00
Arik Fraimovich
56d3be2248
Prettier all the Javascript code & GitHub Action ( #4433 )
...
* Prettier all the JS files
* Add GitHub Action to autoformat code pushed to master
* Fix eslint violation due to formatting.
* Remove GitHub actions for styling
* Add restyled.io config
2019-12-11 17:05:38 +02:00
Arik Fraimovich
81b14a58ef
Remove Husky ( #4435 )
2019-12-11 14:49:57 +02:00
Arik Fraimovich
2dff8b9a00
Black support for the Python codebase ( #4297 )
...
* Apply black formatting
* Add auto formatting when committing to master
* Update CONTRIBUTING.md re. Black & Prettier
2019-12-11 13:54:29 +02:00
Arik Fraimovich
37a964c8d9
Remove codeclimate config ( #4434 )
2019-12-11 13:44:52 +02:00
Arik Fraimovich
1b9b3032ca
Change eslint configuration and fix resulting issues ( #4423 )
...
* Remove app/service/query-string (unused) and its dependency.
* Fix usage of mixed operators.
* eslint --fix fixes for missing dependencies for react hooks
* Fix: useCallback dependency passed to $http's .catch.
* Satisfy react/no-direct-mutation-state.
* Fix no-mixed-operators violations.
* Move the decision of whether to render Custom chart one level up to make sure hooks are called in the same order.
* Fix: name was undefined. It wasn't detected before because there is such global.
* Simplify eslint config and switch to creat-react-app's eslint base.
* Add prettier config.
* Make sure eslint doesn't conflict with prettier
* A few updates post eslint (#4425 )
* Prettier command in package.json
2019-12-11 12:00:46 +02:00
David Mudro
0385b6fb64
Fix counter vizualization ( #4385 )
...
* crude unit tests for counter visualisation utils
* improve type safety with default param values for getCounterData()
* fix count rows never shows zero
* remove default values for getCounterData() params
2019-12-10 13:38:22 +02:00
Arik Fraimovich
7c05a730dc
Remove --max-old-space-size=4096 from npm build command ( #4381 )
...
* Remove --max-old-space-size=4096 from build
Looks like it's no longer needed.
* Update to node v12.
* Add build:old-node-version for those who have Node < 12.
2019-12-05 22:41:57 +02:00
Kenji Ichihashi
263305214e
Update rds-combined-ca-bundle.pem( #4290 ) ( #4304 )
...
Can use rds-ca-2019 and etc
`$ curl https://s3.amazonaws.com/rds-downloads/rds-combined-ca-bundle.pem \
> redash/query_runner/files/rds-combined-ca-bundle.pem`
2019-12-05 11:29:42 +02:00
Jakdaw
3494e21cf4
Add user/pass authentication support for Druid ( #4315 )
...
* Add support for configuring a Username/Password for the connection to Druid
* Bump pydruid version for username/password support
* Deal with missing/empty configuration parameters
2019-12-05 09:27:59 +02:00
Gabriel Dutra
15e8b88996
Cypress: Make sure params are saved before reload ( #4420 )
2019-12-04 13:37:31 -03:00
Levko Kravets
ba36b4e671
Migrate AddToDashboard dialog to React ( #4408 )
2019-12-04 17:50:50 +02:00
Levko Kravets
94bd03dc42
Set of improvements and refinements to visualizations after React migration ( #4382 )
2019-12-04 16:23:29 +02:00
Levko Kravets
041d05d18b
Chart series switch places when picking Y axis or color ( #4412 )
2019-12-04 16:00:01 +02:00
Gabriel Dutra
c14e7ab4ca
Fix dragged parameter wrapping in some cases ( #4415 )
2019-12-03 12:48:11 -03:00
Monica Gangwar
4d6c30ef13
refreshing snowflake schema w/o waking cluster ( #4285 )
...
* refreshing snowflake schema w/o waking cluster
Have also added a new internal method to not select a
warehouse while executing query
Using 'show columns' to fetch database schema instead of
executing a select query in information schema
show columns does not require a warehouse to run
* modularising snowflake code to avoid repetitions
fixing internal function syntax and avoiding
code repetition
* removing user object in snowflake schema query
2019-12-02 10:48:30 +02:00
Arik Fraimovich
36ab8eae89
Update Snowflake connector version to address compatibility issue with Azure dependencies ( #4407 )
2019-11-27 18:44:08 +02:00
Stefan Mees
e82373ac1d
add pyexasol datasource, ensure that integer dont overflow in javascript ( #4378 )
2019-11-27 18:43:58 +02:00
Arik Fraimovich
d3feba69b2
Downgrade Kombu version to 4.6.3 ( #4406 )
...
It was accidentally upgraded as part of the dependencies upgrade we did recently, but 4.6.5 has a bug...
2019-11-27 18:08:47 +02:00
Omer Lachish
80f3ec1c99
avoid logging job parameters ( #4311 )
2019-11-27 09:33:20 +02:00
Arik Fraimovich
c612bba19c
Amazon CloudWatch query runners ( #4372 )
...
* CloudWatch Metrics query runner
* Add: query runner for CloudWatch Logs Insights
* Add logos
* Update Insights type
* Basic test connection
* Format files
2019-11-27 09:14:28 +02:00
Nicolas Le Manchet
f5a40827aa
Remove builtins invalid in Python 3 from Python runner ( #4375 )
...
These few builtins were available in Python 2.7 but not anymore
in Python 3, making the runner fail to start.
2019-11-27 09:12:36 +02:00
Gabriel Dutra
5de291a98d
Fix Map spec and Alert Page snapshot flakyness ( #4403 )
2019-11-26 19:08:18 -03:00
Levko Kravets
c70a48db9c
Table visualization with column named "children" renders +/- buttons ( #4394 )
2019-11-26 15:47:19 +02:00
Omer Lachish
be56035bd6
don't try to purge jobs which have already been deleted ( #4396 )
2019-11-25 11:04:00 +02:00
Gabriel Dutra
7c97d8eafa
Add autoscroll to ng-view ( #4337 )
2019-11-24 14:01:35 -03:00
Gabriel Dutra
0563ecf648
Migrate Home to React ( #4379 )
2019-11-24 13:59:56 -03:00
Levko Kravets
e72d7a8cca
Table visualization: accept timestamp for date/time columns ( #4389 )
2019-11-24 11:50:52 +02:00
Levko Kravets
a7a933946b
Hide deprecated visualizations from query editor ( #4388 )
...
* Hide deprecated visualizations from query editor
* Fix Map tests
2019-11-24 11:05:01 +02:00
uncletimmy3
7cfd362a7a
fix typo at unsupportedRedirect.js ( #4387 )
2019-11-24 10:46:16 +02:00
Arik Fraimovich
4d1b359713
Remove unused npm dependencies ( #4380 )
...
* Remove ui-ace.
* Remove ui-sortable.
* Remove angular-base64-upload.
* Remove angular-messages.
* Remove jquery-ui.
* Update package-lock.json.
2019-11-21 12:18:33 +02:00
Levko Kravets
818649bbec
Migrate Chart visualization to React Part 2: Editor ( #4139 )
2019-11-20 21:57:12 +02:00
Levko Kravets
c6a2725f0a
Migrate Map visualization to React ( #4278 )
2019-11-20 17:36:59 +02:00
Gabriel Dutra
5cd6913e40
Fix Cypress and Percy flakyness issues ( #4365 )
2019-11-18 10:37:01 -03:00
Gabriel Dutra
0aebb37317
Remove Chrome Logger and update Cypress and Percy ( #4354 )
2019-11-14 15:23:00 -03:00
Levko Kravets
aa06b32e17
Add some tests for Choropleth visualization ( #4358 )
2019-11-14 19:08:51 +02:00
Levko Kravets
b44fa51829
Migrate Funnel visualization to React ( #4267 )
...
* Migrate Funnel visualization to React: Editor
* Migrate Funnel visualization to React: Renderer
* Replace Auto sort options with Sort Column + Reverse Order
* Add option for items limit (instead of hard-coded value)
* Add number formatting options
* Replace d3.max with lodash.maxBy; fix bug in prepareData
* Add options for min/max percent values
* Debounce inputs
* Tests
* Refine Renderer: split components, use Ant Table for rendering, fix data handling
* Extract utility function to own file
* Fix tests
* Fix: sometimes after updating options, funnel shows "ghost" rows from previous dataset
* Sort by value column by default
2019-11-14 15:47:17 +02:00
Levko Kravets
1a95904ffd
Migrate Choropleth visualization to React ( #4313 )
...
* Migrate Choropleth to React: skeleton
* Migrate Choropleth to React: Editor - skeleton
* Choropleth Editor: Bounds tab
* Choropleth Editor: Colors tab
* Choropleth Editor: Format tab
* Choropleth Editor: General tab
* Some refinements
* Migrate Choropleth to React: Renderer
* Refine code
* CR1
2019-11-14 15:42:15 +02:00
Omer Lachish
ef56e4e920
use to set the hash instead of directly manipulating it ( #4351 )
...
* use to set the hash instead of directly manipulating it
* Update Jobs.jsx
2019-11-13 15:36:04 +02:00
shinsuke-nara
d5a3f0de57
CLI command to reencrypt data source options ( #4190 )
...
* Script to reencrypt data source options.
* Implement reencrypt sub command under database command.
2019-11-13 15:27:20 +02:00
Arik Fraimovich
cf274d96c8
Fix: number based alerts evaluation isn't working ( #4295 )
...
* Fix: correctly evaluate numeric thresholds
* Missing import
* More missing imports
* Alert evaluation: support for booleans
2019-11-13 15:11:21 +02:00
Levko Kravets
c00410768c
Migrate Cohort visualization to React ( #4270 )
...
* Migrate Cohort to React: Editor
* Extract prepareData and getOptions to own files
* Refine CohortRenderer Angular component (js, less, prepareData) for easier migration
* Migrate Cohort to React: Renderer
* Migrate Cornelius to React: styles
* Migrate Cohort to React: Cornelius library
* Cornelius: add licence info; remove unused style
* Cornelius: use numeral to format numbers; revisit styles
* Cornelius: use moment to format date labels
* Cornelius: use chroma for cell backgrounds; update options; update proptypes; minor fixes
* Tidy up
* Tests
2019-11-13 14:39:08 +02:00
Jakdaw
dda5a9d58f
Fix the DB migration so that the correct key is used for encrypting DS credentials. ( #4344 )
...
Without this upgrades from at least v5 (and earlier) won't work.
2019-11-11 21:49:05 +02:00
Omer Lachish
a0a32be3dd
Admin status page's current tab does not preserve ( #4299 )
...
* handle a console warning about passing in string page options
* preserve selected tab in the location hash
2019-11-11 12:04:32 +02:00
Omer Lachish
e0e94d79ac
Restarting rq-scheduler reschedules all periodics ( #4302 )
...
* add some logging to scheduler
* schedule jobs only if they are not already scheduled
* jobs scheduled with an interval over 24 hours were not repeated
* schedule version_check using standard scheduling
* clean up old jobs that are not part of the definition anymore
* add some tests
* add one more test to verify that reschedules are not done when not neccesary
* no need to check for func existence - all jobs have a func to run
2019-11-11 09:54:41 +02:00
Omer Lachish
f19d24287e
auto-refresh data RQ jobs admin page ( #4298 )
2019-11-11 09:42:05 +02:00
Gabriel Dutra
80878abf7b
Migrate Settings Screen to React ( #4323 )
...
* Migrate settings-screen to React
* Use black instead of blue color for active item
* Revert "Use black instead of blue color for active item"
This reverts commit 0e4ececa6a .
* Add selectable=false to the Menu
2019-11-10 09:07:40 +02:00
Gabriel Dutra
6716bb390c
Update TagsList and Sidebar to use Ant components ( #4338 )
2019-11-07 13:41:15 -03:00
Omer Lachish
a33d11de3a
RQ: periodically clear failed jobs ( #4306 )
...
* add some logging to scheduler
* clean failed RQ job data from Redis
* move stale job purging to tasks/general.py
* provide better documentation on why we don't reject keys in FailedJobRegistry at the moment
* pleasing the CodeClimate overlords
* simplified clenaup by deleting both job data and registry entry
* use FailedJobRegistry as source of truth for purging
* remove redundant key deletion
* Update redash/settings/__init__.py
Co-Authored-By: Arik Fraimovich <arik@arikfr.com >
2019-11-07 17:00:53 +02:00
Omer Lachish
6f791a092b
Adjust RQ job priorities ( #4301 )
...
* prioritize periodic jobs
* declare default queues in inside worker()
* separate send_email to its own queue
2019-11-06 13:36:27 +02:00
Kyle Krueger
cce6546a62
Feature/last x days parameter ( #4333 )
...
* Add last 14, 30, 60, and 90 days to DRP.js
Date Range Parameter (DRP)
* Add last 14, 30, 60, and 60 day params to DRP.jsx
DateRangeParameters (DRP)
2019-11-05 16:15:11 +02:00
Ran Byron
5fd78fdb23
New feature - Alert muting ( #4276 )
...
* New feature - Alert muting
* pep8 fix
* Fixed backend api update
* whoops semicolon
* Implemented mute
2019-11-02 14:54:26 +02:00
Gabriel Dutra
74dbb8acf3
Skip favorites dropdown loading state on init ( #4318 )
2019-10-31 13:28:28 -03:00
Omer Lachish
36638be1dd
optimize work horse initialization by configuration mappers on the worker process ( #4314 )
2019-10-30 09:53:06 +02:00
Gabriel Dutra
82f488d231
Migrate PermissionsEditor to React ( #4266 )
...
Co-Authored-By: Arik Fraimovich <arik@arikfr.com >
2019-10-29 12:42:31 -03:00
Arik Fraimovich
7b3943052e
Move the setup scripts to their own home ( #4310 )
2019-10-28 21:11:21 +02:00
Arik Fraimovich
96a95b7090
Add V8 to the CHANGELOG.
2019-10-28 13:27:34 +02:00
Omer Lachish
accf0f7ac5
show more workers per page. also allow page size selection ( #4300 )
2019-10-28 09:51:57 +02:00
Arik Fraimovich
88ae639ee4
CircleCI workflow improvements ( #4296 )
...
* CircleCI workflow improvements
- Don't automatically build the Docker image.
- Make the Python lint step requirement for the follow up steps. When it fails it usually means there is a code error which will prevent the next steps anyway.
* Fix YAML syntax error.
* Add separate build Docker image step for master branch
2019-10-27 22:27:34 +02:00
Omer Lachish
ba413c210e
use rq_redis_connection instead of redis_connection ( #4288 )
2019-10-25 14:23:24 +03:00
Levko Kravets
7157244eec
Migrate Table visualization to React Part 2: Editor ( #4175 )
...
* Migrate table editor to React: skeleton, Grid tab
* Columns tab
* Cleanup
* Columns tab: DnD column sorting
* Columns types should be JSX
* New Columns tab UI/X
* Use Sortable component on Columns tab
* Tests: Grid Settings
* Tests: Columns Settings
* Tests: Editors for Text, Number, Boolean and Date/Time columns
* Tests: Editors for Image and Link columns
* Minor UI fix
* Trigger build
* Debounce inputs
2019-10-24 12:46:46 +03:00
Gabriel Dutra
9f7844640a
Introduce inheritance to the Parameter structure ( #4049 )
...
* Start draft for new Parameter structure
* Add the rest of the methods
* EnumParameter
* QueryBasedDropdownParameter
* DateParameter
* DateRangeParameter
* Update Parameter usage on code
* Merge dynamicValue into normalizedValue
* Add updateLocals and omit unwanted props
* Allow null NumberParameter and omit parentQueryId
* Rename parameter getValue to getExecutionValue
* Update $$value to normalizedValue + omit on save
* Add a few comments
* Remove ngModel property from Parameter
* Use value directly in DateRangeParameter
* Use simpler separator for DateRange url param
* Add backward compatibility
* Use normalizeValue null value for isEmpty
* Start creating jest tests
* Add more tests
* Normalize null value for multi mode in Enum
* Use saved value for param isEmpty
2019-10-24 12:42:30 +03:00
Nicolas Le Manchet
246eca1121
Migrate the application to Python 3 ( #4251 )
...
* Make core app compatible with Python 3
No backward compatibility with Python 2.7 is kept.
This commit mostly contains changes made with 2to3 and manual
tweaking when necessary.
* Use Python 3.7 as base docker image
Since it is not possible to change redash/base:debian to Python 3
without breaking future relases, its Dockerfile is temporarly
copied here.
* Upgrade some requirements to newest versions
Some of the older versions were not compatible with Python 3.
* Migrate tests to Python 3
* Build frontend on Python 3
* Make the HMAC sign function compatible with Python 3
In Python 3, HMAC only works with bytes so the strings and the
float used in the sign function need to be encoded.
Hopefully this is still backward compatible with already generated
signatures.
* Use assertCountEqual instead of assertItemsEqual
The latter is not available in Python 3.
See https://bugs.python.org/issue17866
* Remove redundant encoding header for Python 3 modules
* Remove redundant string encoding in CLI
* Rename list() functions in CLI
These functions shadow the builtin list function which is
problematic since 2to3 adds a fair amount of calls to the builtin
list when it finds dict.keys() and dict.values().
Only the Python function is renamed, from the perspective of the
CLI nothing changes.
* Replace usage of Exception.message in CLI
`message` is not available anymore, instead use the string
representation of the exception.
* Adapt test handlers to Python 3
* Fix test that relied on dict ordering
* Make sure test results are always uploaded (#4215 )
* Support encoding memoryview to JSON
psycopg2 returns `buffer` objects in Python 2.7 and `memoryview`
in Python 3. See #3156
* Fix test relying on object address ordering
* Decode bytes returned from Redis
* Stop using e.message for most exceptions
Exception.message is not available in Python 3 anymore, except
for some exceptions defined by third-party libraries.
* Fix writing XLSX files in Python 3
The buffer for the file should be made of bytes and the actual
content written to it strings.
Note: I do not know why the diff is so large as it's only a two
lines change. Probably a white space or file encoding issue.
* Fix test by comparing strings to strings
* Fix another exception message unavailable in Python 3
* Fix export to CSV in Python 3
The UnicodeWriter is not used anymore. In Python 3, the interface
provided by the CSV module only deals with strings, in and out.
The encoding of the output is left to the user, in our case
it is given to Flask via `make_response`.
* (Python 3) Use Redis' decode_responses=True option (#4232 )
* Fix test_outdated_queries_works_scheduled_queries_tracker (use utcnow)
* Make sure Redis connection uses decoded_responses option
* Remove unused imports.
* Use Redis' decode_responses option
* Remove cases of explicit Redis decoding
* Rename helper function and make sure it doesn't apply twice.
* Don't add decode_responses to Celery Redis connection URL
* Fix displaying error while connecting to SQLite
The exception message is always a string in Python 3, so no
need to try to decode things.
* Fix another missing exception message
* Handle JSON encoding for datasources returning bytes
SimpleJSON assumes the bytes it receives contain text data, so it
tries to UTF-8 encode them. It is sometimes not true, for instance
the SQLite datasource returns bytes for BLOB types, which typically
do not contain text but truly binary data.
This commit disables SimpleJSON auto encoding of bytes to str and
instead uses the same method as for memoryviews: generating a
hex representation of the data.
* Fix Python 3 compatibility with RQ
* Revert some changes 2to3 tends to do (#4261 )
- Revert some changes 2to3 tends to do when it errs on the side of caution regarding dict view objects.
- Also fixed some naming issues with one character variables in list comprehensions.
- Fix Flask warning.
* Upgrade dependencies
* Remove useless `iter` added by 2to3
* Fix get_next_path tests (#4280 )
* Removed setting SERVER_NAME in tests setup to avoid a warning.
* Change get_next_path to not return empty string in case of a domain only value.
* Fix redirect tests:
Since version 0.15 of Werkzeug it uses full path for fixing the location header instead of the root path.
* Remove explicit dependency for Werkzeug
* Switched pytz and certifi to unbinded versions.
* Switch to new library for getting country from IP
`python-geoip-geolite2` is not compatible with Python 3, instead
use `maxminddb-geolite2` which is very similar as it includes
the geolite2 database in the package .
* Python 3 RQ modifications (#4281 )
* show current worker job (alongside with minor cosmetic column tweaks)
* avoid loading entire job data for queued jobs
* track general RQ queues (default, periodic and schemas)
* get all active RQ queues
* call get_celery_queues in another place
* merge dicts the Python 3 way
* extend the result_ttl of refresh_queries to 600 seconds to allow it to continue running periodically even after longer executions
* Remove legacy Python flake8 tests
2019-10-24 12:42:13 +03:00
Arik Fraimovich
7ffb97232e
Pin Cypress version ( #4284 )
2019-10-24 12:22:56 +03:00
Omer Lachish
8b9fa53efe
extend the result_ttl of refresh_queries to 600 seconds to allow it to continue running periodically even after longer executions ( #4283 )
2019-10-24 11:56:07 +03:00
Omer Lachish
43b35b6fb4
Monitor general RQ queues (default, periodic and schemas) ( #4256 )
...
* track general RQ queues (default, periodic and schemas)
* get all active RQ queues
* call get_celery_queues in another place
2019-10-23 12:31:32 +03:00
Omer Lachish
f0f85ece42
avoid loading entire job data for queued jobs ( #4257 )
2019-10-23 11:43:31 +03:00
Omer Lachish
612833404b
show current worker job (alongside with minor cosmetic column tweaks) ( #4262 )
2019-10-23 11:20:15 +03:00
Ran Byron
5d58503623
Minor alert bug fixes ( #4274 )
2019-10-22 16:58:20 +03:00
Ran Byron
3dfad87266
Extracted alert menu button ( #4273 )
2019-10-22 13:00:16 +03:00
Levko Kravets
0659ef1079
Add "use-debounce" dependency ( #4268 )
2019-10-19 22:28:57 +03:00
Ran Byron
a2e21dd1c3
App Header React migration ( #4245 )
2019-10-19 14:25:58 +03:00
Levko Kravets
f165cad9ff
Migrate Sunburst Renderer to React ( #4259 )
2019-10-17 19:16:05 +03:00
Levko Kravets
e0a2705c1a
Restore <body> bottom padding ( #4252 )
2019-10-17 13:22:09 +03:00
Levko Kravets
0aca649cb5
Migrate Sankey renderer to React ( #4255 )
2019-10-17 13:19:29 +03:00
Stefan Maric
79b37e8843
Fix double-scrollbar when in fullscreen ( #4243 )
2019-10-16 23:46:44 +03:00
Ran Byron
72bb5d29a0
Fix: Alert page breaks when target query returns null result ( #4250 )
...
* Fix: Alert page breaks when target query returns null result
* Better handling of topValue value
2019-10-16 11:27:37 +03:00
Omer Lachish
5a5fdecdde
Replace Celery with RQ (except for execute_query tasks) ( #4093 )
...
* add rq and an rq_worker service
* add rq_scheduler and an rq_scheduler service
* move beat schedule to periodic_jobs queue
* move version checks to RQ
* move query result cleanup to RQ
* use timedelta and DRY up a bit
* move custom tasks to RQ
* do actual schema refreshes in rq
* rename 'period_jobs' to 'periodic', as it obviously holds jobs
* move send_email to rq
* DRY up enqueues
* ditch and use a partially applied decorator
* move subscribe to rq
* move check_alerts_for_query to rq
* move record_event to rq
* make tests play nicely with rq
* 👋 beat
* rename rq_scheduler to plain scheduler, now that there's no Celery scheduler entrypoint
* add some color to rq-worker's output
* add logging context to rq jobs (while keeping execute_query context via get_task_logger for now)
* move schedule to its own module
* cancel previously scheduled periodic jobs. not sure this is a good idea.
* rename redash.scheduler to redash.schedule
* allow custom dynamic jobs to be added decleratively
* add basic monitoring to rq queues
* add worker monitoring
* pleasing the CodeClimate overlords
* adjust cypress docker-compose.yml to include rq changes
* DRY up Cypress docker-compose
* add rq dependencies to cypress docker-compose service
* an odd attempt at watching docker-compose logs when running with Cypress
* Revert "an odd attempt at watching docker-compose logs when running with Cypress"
This reverts commit 016bd1a93e .
* show docker-compose logs at Cypress shutdown
* Revert "DRY up Cypress docker-compose"
This reverts commit 43abac7084 .
* minimal version for binding is 3.2
* remove unneccesary code reloads on cypress
* add a command which errors if any of the workers running inside the current machine haven't been active in the last minute
* SCHEMAS_REFRESH_QUEUE is no longer a required setting
* split tasks/queries.py to execution.py and maintenance.py
* fix tests after query execution split
* pleasing the CodeClimate overlords
* rename worker to celery_worker and rq_worker to worker
* use /rq_status instead of /jobs
* show started jobs' time ago according to UTC
* replace all spaces in column names
* fix query tests after execution split
* exit with an int
* general lint
* add an entrypoint for rq_healthcheck
* fix indentation
* delete all existing periodic jobs before scheduling them
* remove some unrequired requires
* move schedule example to redash.schedule
* add RQ integration to Sentry's setup
* pleasing the CodeClimate overlords
* remove replication settings from docker-compose - a proper way to scale using docker-compose would be the --scale CLI option, which will be described in the knowledge based
* revert to calling a function in dynamic settings to allow periodic jobs to be scheduled after app has been loaded
* don't need to depend on context when templating failure reports
* set the timeout_ttl to double the interval to avoid job results from expiring and having periodic jobs not reschedule
* whoops, bad merge
* describe custom jobs and don't actually schedule them
* fix merge
2019-10-15 23:59:22 +03:00
Omer Lachish
f6e1470a7c
Avoid depending on app context when templating failure reports ( #4231 )
...
* don't need to depend on context when templating failure reports
* extract a render_template function with some docs
* CodeClimate has really outdone itself this time. Removed a whitespace character in order to fix 2 CodeClimate errors
* apparently whitespace doesn't count as a character
2019-10-15 23:08:28 +03:00
Arik Fraimovich
27cd76797e
Make sure query results are consistent ( #4246 )
2019-10-15 21:48:44 +03:00
Amol Grover
29b113005c
pagerduty.py: Change default summary text ( #4239 )
...
* pagerduty.py: Change default summary text
Change is made to use alert name in PagerDuty's alert
destination default summary text instead of
query id and name
* Update default description text & field description
2019-10-15 11:34:34 +03:00
Ran Byron
53d971bf87
Implemented new condition comparison options ( #4240 )
...
* Implemented new condition comparison options
* Fixed test
* Move backward compatibility code to service
2019-10-15 08:41:23 +03:00
Gabriel Dutra
a102e93e50
Fix dashboard parameter mapping issues ( #4211 )
2019-10-14 17:21:44 -03:00
Ran Byron
74beed80d2
Fixed hangouts chat icon ( #4236 )
2019-10-11 13:11:15 +03:00
Ran Byron
39f038f992
Fixed alert destination hrefs ( #4235 )
...
* Fixed alert destination hrefs
* Added query url
2019-10-11 13:10:47 +03:00
Gabriel Dutra
da2ed56281
Extend bolder markdown fix to widget description ( #4229 )
2019-10-10 09:53:58 -03:00
Arik Fraimovich
9d8812a598
Postgres: make sure table from the public schema doesn't get merged with table from other schemas ( #4224 )
...
* Postgres: make sure table from the public schema doesn't get merged with a table from another schema.
* PEP8 updates
2019-10-10 13:02:22 +03:00
Arik Fraimovich
204447a9f5
Add interface to abstract query result persistence ( #4147 )
...
* Add interface to implement custom persistence for QueryResult data
Co-authored-by: Omer Lachish <omer@rauchy.net >
* Deserialize query results data in the model
* Change order of mixins.
* Make DBPersistence.data setter in sycn with getter + tests
2019-10-10 10:39:55 +03:00
Arik Fraimovich
3b7efb8c1f
Make sure that the default settings signal that no email server is configured ( #4226 )
...
* The sender email address has to be None for the test of "is email server
configured" to be correct. Moved the dev setting into docker-compose.yml.
* Move the REDASH_MAIL_SERVER setting into docker-compose.yml to revert the default value to its original value in case anyone was using it.
* Make worker dependant on email as it's the one that actually using it.
2019-10-07 22:23:22 +03:00
Ran Byron
69dc761c60
Alert page - migrate to React and redesign ( #4153 )
2019-10-07 19:15:06 +03:00
Ran Byron
2f42b8154c
Fix: Misleading warning when trying to download results of unsaved query #4218 ( #4219 )
2019-10-06 16:00:24 +03:00
Arik Fraimovich
3f9d49dbd1
Remove debug code ( #4216 )
2019-10-06 11:57:05 +03:00
Justin Clift
0a5dca5d72
Adjust botocore dependency, so we don't need to update it as often ( #4154 )
2019-10-06 11:47:16 +03:00
Gabriel Dutra
8ea285dda9
Split setup in advanced and regular for data sources and destinations ( #4160 )
...
* DynamicForm support for advanced options
* Randomly select a few options to be advanced
* Merge conditions with the same logic
* Address some comments
* Update styling for the button
* Some style adjustments (#4162 )
* Don't set default value to additional settings
* Rename advanced -> extra
* Show extra fields by default when they are filled
* Update hasFilledExtraField logic
* Add example field from destination as extra
2019-10-06 11:46:50 +03:00
Gabriel Dutra
569c325aa0
Support for dropdown of predefined options in data sources setup ( #4161 )
...
* Support for predefined options in data sources
* DynamicForm Select: title -> name
* Make it work with "enum" prop
* Make it work for "extendedEnum" prop
* Not JS
* Deep copy the configuration schema
2019-10-06 11:44:56 +03:00
Gabriel Dutra
d8a0af1a95
Fix query based dropdown not adding quote marks correctly ( #4186 )
...
* Handle non-array in multi-value QueryBasedParameter
* Use state value in QueryBasedParameterInput
* Normalize array in parameter structure
* Add Multi-selection test
* Remove unnecessary not null check
2019-10-06 11:35:47 +03:00
Ran Byron
648847df0b
Fix: Multi-value Dropdown not available in Static Value edit dialog ( #4213 )
2019-10-05 17:52:50 +03:00
Arik Fraimovich
3f31bf3fc0
Fix: use correct variable name ( #4210 )
2019-10-03 13:00:21 +03:00
Rui Z
f6ad3d9d24
Vertica: prevent overwriting row data when duplicated column names exist ( #4201 )
...
* Vertica: prevent overwriting row data when duplicated column names exist
* remove enumeration
2019-10-02 12:20:51 +03:00
bennywij
e8ccdc23c7
Correct typo in log stmt. Add comment re PR 4201 ( #4205 )
2019-10-02 11:37:57 +03:00
Levko Kravets
a8af968d70
Sortable component ( #4199 )
2019-09-30 19:12:27 +03:00
Jesse
cb14459881
Fixes #3766 . ( #4189 )
2019-09-27 11:00:50 +02:00
Gabriel Dutra
780fbceba5
Fix Pivot Visualization should not be saving data ( #4174 )
2019-09-25 11:36:39 -03:00
Omer Lachish
2c77c219c6
Add maildev to the dev stack ( #4173 )
...
* add maildev to the dev stack
* Update redash/settings/__init__.py
Co-Authored-By: Arik Fraimovich <arik@arikfr.com >
2019-09-25 10:50:34 +03:00
Gabriel Dutra
874e0d1ce3
Fix Execute Selected not working for dirty queries ( #4176 )
2019-09-24 10:59:40 -03:00
Gabriel Dutra
401d164622
Remove Widget dev console errors ( #4177 )
2019-09-24 07:39:03 -03:00
Arik Fraimovich
ff041b77cf
Update Sentry-SDK ( #4169 )
2019-09-23 09:54:10 +03:00
Arik Fraimovich
b2d1636f8e
Downgrade mysqlclient to 1.3.14 ( #4165 )
...
Closes #4164 .
2019-09-22 14:56:09 +03:00
Arik Fraimovich
a3e8477410
List enabled Query Runner types during build ( #4166 )
...
* Add CLI command to list enabled query runner types
2019-09-22 14:55:21 +03:00
Omer Lachish
ed22b63f22
remove the annoying quoted title from EmptyState ( #4168 )
2019-09-22 14:33:19 +03:00
Arik Fraimovich
d636b29ba9
Update version ( #4167 )
2019-09-22 13:23:56 +03:00
Ran Byron
6173a2a619
Handle Create Dashboard with middle click ( #4158 )
2019-09-22 10:57:28 +03:00
Gabriel Dutra
fd435d2182
Migrate Pivot Table visualization to React ( #4133 )
...
* npm install react-pivottable
* Initiate Pivot Table Migration
* Update renderer with editor options
* Clean up
* Remove old pivottable from package.json
* Test Percy Snapshot with Pivot Table in a Dashboard
* Tmp: use cy.wait to make sure dashboard is loaded
* Clean up Percy snapshot test
* Small improvements
- cy.all with multiple args
- add controls to pivot valid options
* Watch for options in the Renderer
2019-09-22 10:46:03 +03:00
Gabriel Dutra
cb654b3f21
Migrate Widget component to React ( #4020 )
...
* Improve sizing for Number inputs
Co-Authored-By: Ran Byron <ranbena@gmail.com >
* Migrate WidgetDialog
* Start migrating Widget
* Update textbox to use HtmlContent
* QueryLink migration and some updates
* Add visualization rendering
* Render widget
* Add delete button
* Update AutoHeight
* Add widget bottom
* Add Drodpown button
* Split Widget component
* Update with #4056 and trigger netlify
* In progress: use composition
* Add header and footer
* Update widget actions positioning
* Re-render when refreshing from widget
* Add workaround to force DashboardGrid re-render
* VisualizationWidgetFooter component
* VisualizationWidget menu
* Separate RestrictedWidget
* Update tests
* Update margin for Parameters
* Remove widget files
* Revert "Improve sizing for Number inputs"
This reverts commit a02ce8f0aa .
* Some cleanup
* Move refresh logic to the Dashboard
* Add loadingWidgets logic to the public dashboard
* Add onLoadWidget
* Remove parameter from URL when empty
* Recreate widget array instead of loadingWidgets
* Add comment about re-rendering + whitespace missing
* CR changes
* Use plain html instead of string syntax
Co-Authored-By: Ran Byron <ranbena@gmail.com >
2019-09-20 22:08:42 +03:00
Arik Fraimovich
e8d40bbdac
CHANGELOG for v8.0.0-beta.2 ( #4145 )
...
* Stop building tarballs.
* Update version reference.
* CHANGELOG for 8.0.0-beta.2
2019-09-18 11:23:32 +03:00
Levko Kravets
e5d52055d9
Widget filters overlapped by visualization ( #4137 )
...
* Fix: widget filters overlapped by visualization
* Fix tests
* Fix tests
2019-09-18 11:22:26 +03:00
Levko Kravets
c5e414e6ba
Color picker component ( #4136 )
2019-09-16 13:01:48 +03:00
Gabriel Dutra
b9a40d1808
Query Snippets: Use onClick instead of link for 'Click here' option ( #4144 )
...
* Snippets: Don't change url when not needed
* Revert "Snippets: Don't change url when not needed"
This reverts commit 2f346f3bb4 .
* Query Snippets: use onClick instead of link
2019-09-16 10:00:23 +03:00
Ran Byron
033dd0d15e
Bug fix: Query view doesn't sync parameters when selecting and deleting ( #4146 )
2019-09-16 07:15:38 +03:00
Arik Fraimovich
95795d93c7
CHANGELOG for V8-beta. ( #4057 )
...
* CHANGELOG for V8-beta.
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
2019-09-15 15:48:59 +03:00
Arik Fraimovich
75e48b0bd6
Allow users to share aggregated usage information with us ( #4108 )
...
* Initial commit of BeaconConsent component
* Add comment about being able to change setting
* Use <Text> correctly
* Final version of consent screen
* Show beacon consent message on homepage only if it wasn't enabled already.
* Add consent setting to organization settings screen.
* Add support for custom message in OrgSetting.save.
* Implmenet consent saving.
* If consent given, send extra data
* Add HelpTrigger
* Make CodeClimate happy
* Wrap everything with DynamicComponent
2019-09-15 15:18:48 +03:00
Levko Kravets
75883a1a02
Counter Editor: move components to own files ( #4138 )
2019-09-13 22:35:19 +03:00
Gabriel Dutra
75a5546741
Add jsconfig settings with '@' webpack alias ( #4135 )
2019-09-12 18:25:40 -03:00
Levko Kravets
54071e4b87
Migrate Chart visualization to React Part 1: Renderer ( #4130 )
...
* Migrate Chart visualization: Renderer
* Refine PlotlyChart component; move stylesheets to visualization's folder
* Migrate Custom JS Chart to React
* Cleanup
2019-09-12 10:23:43 +03:00
Arik Fraimovich
6458a1eb62
Remove duplicate messages method ( #4131 )
2019-09-11 11:56:40 +03:00
Levko Kravets
ecf160c9bc
Alerts: Add more condition comparison options ( #4134 )
...
* getredash/redash#4132 Add more condition comparison options
* Add arguments to fallback lambda
2019-09-11 11:18:59 +03:00
Levko Kravets
2c98f0425d
Allow the user to decide how to handle null values in charts ( #4071 )
...
* getredash/redash#2629 Refactor Chart visualization, add option for handling NULL values (keep/convert to 0.0)
* Handle null values in line/area stacking code; some cleanup
* Handle edge case: line/area stacking when last value of one of series is missing
* Mjnor update to line/area stacking code
* Fix line/area normalize to percents feature
* Unit tests
* Refine tests; add tests for prepareLayout function
* Tests for prepareData (heatmap) function
* Tests for prepareData (pie) function
* Tests for prepareData (bar, line, area) function
* Tests for prepareData (scatter, bubble) function
* Tests for prepareData (box) function
* Remove unused file
2019-09-09 13:00:26 +03:00
Ran Byron
8f01988c8c
Decrease size of widget pagination ( #4120 )
...
* Added tests
* Perhaps this would trigger percy
* Decrease size of widget pagination
* Removed unused attr
* Updated tests
2019-09-09 10:57:26 +03:00
Arik Fraimovich
b8741f6cff
Sync botocor eversions across requirements files. ( #4128 )
2019-09-09 10:44:05 +03:00
Levko Kravets
424751d9e9
Migrate Counter visualization to React ( #4106 )
...
* Migrate Counter to React: Renderer
* Migrate Counter to React: Editor
* Cleanup
* Review and fix rows indexing algorithm
* Counter not properly scaled in editor
* Fix wrong label for/input id pair
* Tests
* Tests
* Fix vendor prefixes
* Remove unnecessary useEffect dependencies
* Update tests
* Fix Percy snapshot names
2019-09-09 10:10:10 +03:00
Arik Fraimovich
e048a69392
Upgrade Sentry-SDK and enable additional integratoins ( #4127 )
...
* Update sentry-sdk version
* Add additional Sentry integrations
2019-09-09 10:00:09 +03:00
Ran Byron
2c1e846837
Widget table scroll-x visible ( #4101 )
...
* Table viz horizontal scroll made visible
* Added tests
* Fixed snapshot pre-condition
* Perhaps this would trigger percy
2019-09-09 09:50:03 +03:00
Justin Clift
4b9e26de5a
Update botocore, to get pass pip warning ( #4122 )
2019-09-04 09:12:22 +03:00
sphenlee
17f50192e7
hive_ds: show a user friendly error message when possible ( #4121 )
2019-09-04 08:10:56 +03:00
Gabriel Dutra
dcdec0abb5
Use ng-src for data source icons ( #4123 )
2019-09-03 20:42:19 +03:00
Ran Byron
302c6dd02e
Fix number param value normlization ( #4116 )
2019-09-02 16:29:56 +03:00
Arik Fraimovich
4c56900248
Move annotation logic into Query Runner ( #4113 )
...
* Code formatting
* Move annotation logic into query runner, so it can be overriden in the query runner.
* Add mixin to __all__
* Switch to flag instead of mixin
* Feature (Redshift): option to set query group for adhoc/scheduled queries (#4114 )
* Add scheduled status to query job metadata.
* Add: option to set query group for adhoc/scheduled Redshift queries
* Scheduled might not be set for already enqueued queries.
2019-09-02 16:01:05 +03:00
swfz
1f1f853297
Display data source icon in query editor ( #4119 )
2019-09-02 14:42:41 +03:00
Arik Fraimovich
43f63b1b57
Add ability to use Ant's Table loading property when using ItemsTable ( #4117 )
2019-09-02 14:38:28 +03:00
Gabriel Dutra
5ae80835b1
Fix Dropdown parameter options appearing behind Dialog ( #4109 )
2019-09-01 21:55:37 -03:00
Arik Fraimovich
df3da82afd
Fix: allow users with view only acces to use the queries in Query Results ( #4112 )
...
* Fix: allow users with view only acces to access the queries
* Add tests
* Update error message
* Update error message. Take 2
2019-09-01 22:17:53 +03:00
Ran Byron
98e33b7780
Fix widget bottom element alignment ( #4110 )
2019-09-01 16:59:11 +03:00
Omer Lachish
8a3f6f90eb
Update badge in README.md to link to CircleCI ( #4104 )
...
* Update README.md
* Update README.md
* Update README.md
Co-Authored-By: Ran Byron <ranbena@gmail.com >
* Update README.md
2019-09-01 10:50:14 +03:00
shinsuke-nara
cab011def9
Migrate with SQL statements. ( #4105 )
2019-08-30 14:08:22 +03:00
Omer Lachish
31c888ea8e
Dashboard: when updating parameters, run only relevant queries ( #3804 )
...
* refresh only affected queries in dashboard when parameters are changed
* rename pendingParameters to updatedParameters
* select which widgets to update according to their mapping as a dashboard-level parameter
* use lodash's include
2019-08-30 07:03:51 +03:00
Sandeep Belagavi
443054428f
[Qubole] - Adding support to process Quantum query types. ( #4066 )
...
* [Qubole] - Adding support to process Quantum query types.
Quantum is a serverless interactive service that offers
direct SQL access to user's data lake. Changes are made
to accept `quantum` query type from user which makes
`Cluster Label` as optional.
* -Making quantum as defult query.
-Dictionary safe access to connection parmeters
* keeping pep8 standards
* Maintainig pep8 std
* Use latest version of qds-sdk
* Use qds-sdk v1.13.0
* Use qds-sdk v1.12.0
* Use qds-sdk v1.13.0
* Updating SDK with verified version
* hive as default query type
* qds-sdk : Locking most recent release version
* qds-sdk : Locking recent release version
* falling back to original version of qds-sdk
2019-08-29 19:22:52 +03:00
Gleb Lesnikov
ef9a4d5eed
[Data Sources] Add: Azure Data Explorer (Kusto) query runner ( #4091 )
...
* [Data Sources] Add: Azure Data Explorer (Kusto) query runner
* CodeClimate fixes
* Remove TODO
* Fixed configuration properties names for Azure Kusto
* Azure Kusto: get_schema in one query
* azure-kusto-data update to 0.0.32
* Add Kusto to the default query runners list
2019-08-26 10:17:49 +03:00
Arik Fraimovich
a2b68a3569
Make sure we always pass a list to _get_column_lists ( #4095 )
...
(some data sources might return None as the columns list)
2019-08-25 17:39:15 +03:00
Ran Byron
e7b707eb25
Removed redash-newstyle.less ( #4017 )
2019-08-22 08:06:54 +03:00
Arik Fraimovich
1786273344
Fix: MySQL connections without SSL are failing ( #4090 )
...
* Move connection logic into a single method & make sure not to pass ssl value if not used.
* Remove wildcard import and format file.
2019-08-21 14:31:17 +03:00
Christian Clauss
d38ca803c5
Add more flake8 tests and fail build if any test fails ( #4055 )
...
* Add more flake8 tests and fail build if any test fails
Run all flake8 E9xx + F63x + F7xx + F82x tests.
* long = long in Python 2
2019-08-18 11:27:44 +03:00
Gabriel Dutra
a1f11cb8d9
Migrate Parameters component to React ( #4006 )
...
* Start Parameters Migration
* Add dirtyCount
* Use workaround with setState
* Apply Changes
* Add EditSettingsDialog
* Add Cmd/Ctrl + Enter behavior
* Remove isApplying
* Delete Angular version of parameters
* Update tests
* Remove angular stuff
* Update jest
* Drag placeholder
* Update events
* Use old button styling and move css
* Reviewing code
* Add parameter rearrange test
* Add Parameter Settings title change test
* Update Parameter Settings button styling
* Move parameter url logic back to Parameters
* Disable url update when query is new
* Styling changes (#4019 )
* Ran's title width styling
* Update drag test
* Improve sizing for Number inputs
Co-Authored-By: Ran Byron <ranbena@gmail.com >
* Fix issue with dragged parameter wrapping
Co-Authored-By: Ran Byron <ranbena@gmail.com >
* Don't reevaluate dirtyParamCount
* Allow multiple values :)
* Fix parameter alignments
* Fix Select width on search
* Update client/app/components/Parameters.less
Co-Authored-By: Ran Byron <ranbena@gmail.com >
* Humanize param.name
* Make sure angular updates Execute disabled status
2019-08-18 11:27:20 +03:00
Vladimir Ponarevsky
b426e4fdc4
Fix clickhouse password leak ( #4078 )
...
* Fix clickhouse password leak
* Fix after review
2019-08-18 11:05:41 +03:00
Arik Fraimovich
e5e926bac5
Pin kombu version ( #4075 )
...
kombu is a dependency of Celery and usually we let them declare the version, but their version is pinned and the most recent release (4.6.4) has a severe regression where workers stop responding to inspect commands.
2019-08-16 19:27:24 +03:00
Arik Fraimovich
24d68008fa
Format target value as a number with reasonable default ( #4073 )
2019-08-15 15:54:32 +03:00
Arik Fraimovich
0e90b89acc
ParameterizedQuery: handle the case where a value is null ( #4072 )
2019-08-15 15:18:40 +03:00
Jannis Leidel
2c2f241671
Require a more up-to-date version of importlib-metadata. ( #4069 )
2019-08-15 11:50:27 +03:00
Jakdaw
d49514abe9
When we fork a query, make sure we create the new visualizations in the same order as per the source query ( #4067 )
2019-08-14 11:08:56 +03:00
Arik Fraimovich
934a145ced
Switch to mysqlclient from Python-MySQL ( #4061 )
2019-08-14 10:11:53 +03:00
Omer Lachish
f7c70c2b91
Add parameter dialog doesn't work when query has selected text ( #4032 )
...
* debounce updateQuery to prevent pasting parameters over selected texts failing parseQuery (see #4032 )
* drop defer
2019-08-14 07:47:34 +03:00
The Alchemist
69ba165565
[Data Sources] Initial commit for adding Dgraph support ( #3987 )
...
* Initial commit for adding Dgraph support
* Made suggestions from https://codeclimate.com/github/getredash/redash/pull/3964
* feedback from @arikfr
* added logo for Dgraph from Twitter
* Better conversion of Dgraph JSON to Redash's internal JSON
* made recommendations from @arikfr
* removed unused function
2019-08-13 13:14:37 +03:00
Jannis Leidel
7b5696dc75
Fix loading of periodic tasks and clean up extension loading. ( #4064 )
...
* Fix loading of periodic tasks and clean up extension loading.
This does a few things:
- add tests for extension loading
- refactor the extension and periodic task loading
- better handle assertions raised by extensions (e.g. when an extension tries to override an already registered view)
- attach exception traceback to error log during loading for improved debugging
* Use site.addsitedir instead of calling pip.
* Use sys.path instead of site.addsitedir and also the setup.py egg_info command.
2019-08-13 13:11:59 +03:00
Gabriel Dutra
4698408a08
Cypress: Fix cy.clock not freezing time ( #4060 )
2019-08-13 07:08:59 -03:00
Ievgen Aleinikov
be142d60df
Add assume role as a credential source for AWS Athena Query runner ( #4028 )
...
* allowing to specify a custom work group for AWS Athena queries
* Fixing title + adding correct position in the UI
* Adding assume role configuration to Athena query runner.
* removing extra blank lines
* fixes based on comments to the PR
2019-08-12 16:45:56 +03:00
Arik Fraimovich
aceea6516f
Change the required Docker Compose version to 3.2 ( #4059 )
...
With the default Docker installed from sources on Ubuntu 19.04 it failed starting the project when asking for Compose version 3.7, but everything worked fine with 3.2.
2019-08-12 13:26:29 +03:00
Arik Fraimovich
685b53672e
Prevent CSP violations by not having script URLs ( #4062 )
...
* Fix: remove inline script to avoid CSP violation
Closes #4039 .
* Restore eslint rule that prevents javascript href attributes.
* Remove all inline script links.
2019-08-12 13:25:07 +03:00
Arik Fraimovich
7dd62ef948
Add option to control whether to format target value. ( #4063 )
2019-08-12 13:24:11 +03:00
Evghenii Goncearov
7c2acc34c9
Dont send password reset link to disabled users ( #2631 )
...
* Dont send password reset link to disabled users
* Update email subject
* Update blocked email text.
* Update blocked email text (plain text version).
* Remove debug print.
2019-08-11 17:29:26 +03:00
Arik Fraimovich
c5a90876f3
Add Cassandra to the list of default enabled query runners ( #4058 )
2019-08-11 17:17:57 +03:00
Takuya Arita
8abaf89394
Add tag management commands ( #3168 )
2019-08-11 16:30:48 +03:00
PengYuan Lai
aa2bd0042e
check float if scale > 0 in snowflake query result ( #3876 )
2019-08-11 16:21:57 +03:00
Yoshiken
a7b14bfb9a
Fix according to pycodestyle format ( #4011 )
...
* Fix W292 no newline at end of file
* Fix extra whitespace
* Fix E305 expected 2 blank lines after class or function definition
* Fix W391 blank line at end of file
* Fix E231 missing whitespace after
* Fix E303 too many blank lines
* Fix E302 expected 2 blank lines
* Fix E128 continuation line under-indented for visual indent
2019-08-11 16:09:04 +03:00
Oluwafemi Sule
4e5f55a4b7
Align content vertically in restricted widget type ( #4056 )
2019-08-11 15:28:46 +03:00
Omer Lachish
76fbe858ba
refresh_queries requires Request Context ( #4045 )
...
* avoid using 'abort' in parameterized query - raise an exception instead
* when facing invalid parameters or detached dropdown queries - continue to refresh the rest of the outdated queries
* test that dropdown queries detached from data source raise an exception when fetch values is attempted
* test that queries with invalid parameters arent refreshed
* test that queries with dropdown query parameters which are detached from the data source are skipped
* fix stale test double name
* newlines. newlines everywhere.
* pass org into dropdown_values
* pass in org in every ParameterizedQuery usage
* Update redash/tasks/queries.py
Co-Authored-By: Arik Fraimovich <arik@arikfr.com >
* reduce refresh_queries log noise
* track failure count for queries that failed to apply parameters, and also notify the failures
* Update redash/tasks/queries.py
Co-Authored-By: Arik Fraimovich <arik@arikfr.com >
* newlines. newlines everywhere.
2019-08-09 15:26:31 +03:00
Omer Lachish
cf7aef1e16
Make sure there is an event for any query execution ( #4051 )
...
* move event recording for query executions inside run_query
* include indication of cache hit or miss inside execute_query events
2019-08-09 15:24:17 +03:00
Jannis Leidel
77625b2a13
Remove duplicate base_url function. ( #4043 )
2019-08-08 10:44:44 +03:00
Omer Lachish
c4dcf01b3c
avoid variable shadowing ( #4050 )
2019-08-07 22:43:04 +03:00
Ran Byron
a167c590b6
Added arrow to multi-select component ( #4044 )
2019-08-06 16:46:53 +03:00
Gabriel Dutra
8e23f93433
Allow dynamic values dropdown to scroll with the page ( #4040 )
2019-08-06 08:55:25 -03:00
Levko Kravets
e41d40bbe0
getredash/redash#4036 Visualisation editor crashes out when changing datetype to non-HTML text ( #4037 )
2019-08-05 12:37:21 +03:00
Gabriel Dutra
6fc4d5b551
Focus DatePicker after selecting dynamic values ( #4033 )
2019-08-04 22:24:33 -03:00
Gabriel Dutra
f0576a3623
Support multi-select in parameters ( #3952 )
...
* Allow multiple values for enum parameter
* Allow multi-select for Query dropdown parameters
* CR + make sure list values are allowed
* Add prefix, suffix and separator
* Rename multipleValues and cast options as strings
* Replicate serialization logic on frontend
* Add Quote Option Select
* Make sure it's enum or query before join
* Add a couple of tests
* Add help to quote option
* Add min-width and normalize empty array
* Improve behavior when changing parameter settings
- Set parameter value again to pass through checks
- Add setValue check for multi values
* Validate enum values on setValue + CodeClimate
* Ran wording suggestions
* Updates after Apply Changes
* Fix failing Cypress tests
* Make sure enumOptions exists before split
* Improve propTypes for QueyBasedParameterInput
Co-Authored-By: Ran Byron <ranbena@gmail.com >
* CR
* Cypress: Test for multi-select Enum
* Fix multi-selection Cypress spec
* Update Refresh Schedule
2019-08-04 15:47:30 +03:00
Levko Kravets
9eabf89771
getredash/redash#4031 Counter visualization: formatting not applied to target value ( #4035 )
2019-08-04 15:22:53 +03:00
Arik Fraimovich
11cc274c1c
Update Snowflake connector version to latest ( #4029 )
2019-08-04 08:55:02 +03:00
Ran Byron
8ad08a566a
Revert "Revoked widget refresh button spinners" ( #4027 )
...
This reverts commit ab5494a8fd .
2019-08-01 08:23:17 +03:00
Levko Kravets
ef31d0d768
Fix: don't update dashboard's version when adding a widget ( #4026 )
2019-07-31 22:28:12 +03:00
Levko Kravets
4640c33387
Bug fix: error when trying to collect dashboard-level filters for a textbox widget ( #4024 )
2019-07-31 18:03:40 +03:00
Levko Kravets
9b290913a6
Migrate Table visualization to React Part 1: Renderer ( #3963 )
2019-07-31 17:33:33 +03:00
Ran Byron
db89c4f7bc
Turned off max asset size warning ( #4023 )
2019-07-31 11:34:52 +03:00
Gabriel Dutra
eae1fb7d73
Force readonly inputs click ( #4016 )
2019-07-30 11:16:34 +03:00
Arik Fraimovich
4f742aeaac
Fix: support for unicode in DynamoDB queries ( #4015 )
2019-07-30 11:14:57 +03:00
Ran Byron
5ddad862be
Updated timeago strings ( #4012 )
...
* Updated timeago strings
* Moved moment config to app/config
2019-07-29 18:03:59 +03:00
Ran Byron
6f811f163a
Added widget header refresh indicator ( #3970 )
2019-07-29 16:43:44 +03:00
Omer Lachish
7fb33e3ebb
Failed Scheduled Queries Report ( #3798 )
...
* initial work on e-mail report for failed queries
* send failure report only for scheduled queries and not for adhoc queries
* add setting to determine if to send failure reports
* add setting to determine interval of aggregated e-mail report
* html templating of scheduled query failure report
* break line
* support timeouts for failure reports
* aggregate errors within message and warn if approaching threshold
* handle errors in QueryExecutor.run instead of on_failure
* move failure report to its own module
* indicate that failure count is since last report
* copy changes
* format with <code>
* styling, copy and add a link to the query instead of the query text
* separate reports with <hr>
* switch to UTC
* move <h2> to actual e-mail subject
* add explicit message for SoftTimeLimitExceeded
* fix test to use soft time limits
* default query failure threshold to 100
* use base_url from utils
* newlines. newlines everywhere.
* remove redundant import
* apply new design for failure report
* use jinja to format the failure report
* don't show comment block if no comment is provided
* don't send emails if, for some reason, there are no available errors
* subtract 1 from failure count, because the first one is represented by 'Last failed'
* don't show '+X more failures' if there's only one
* extract subject to variable
* format as text, while we're at it
* allow scrolling for long exception messages
* test that e-mails are scheduled only when beneath limit
* test for indicating when approaching report limits + refactor
* test that failures are aggregated
* test that report counts per query and reason
* test that the latest failure occurence is reported
* force sending reports for testing purposes
* Update redash/templates/emails/failures.html
Co-Authored-By: Ran Byron <ranbena@gmail.com >
* Update redash/templates/emails/failures.html
Co-Authored-By: Ran Byron <ranbena@gmail.com >
* Update redash/tasks/failure_report.py
* add org setting for email reports
* remove logo from failure report email
* correctly use the organization setting for sending failure reports
* use user id as key for failure reports data structure
* Update redash/tasks/failure_report.py
Co-Authored-By: Arik Fraimovich <arik@arikfr.com >
* build comments while creating context for e-mail templates
* figure out the base url when creating the e-mail
* no need to expire pending failure report keys as they are deleted anyway when sent
* a couple of CodeClimate changes
* refactor key creationg to a single location
* refactor tests to send e-mail from a single function
* use beat to schedule a periodic send_aggregated_errors task instead of using countdown per email
* remove pending key as it is no longer required when a periodic task picks up the reports to send
* a really important blank line. REALLY important.
* Revert "a really important blank line. REALLY important."
This reverts commit c7d8ed8972 .
* a really important blank line. REALLY important. It is the best blank line.
* don't send failure emails to disabled users
2019-07-28 12:40:54 +03:00
Omer Lachish
f165168860
recycle gunicorn workers ( #4013 )
2019-07-28 11:39:14 +03:00
Gabriel Dutra
86b0608fde
Fix Apply Changes is lost when query is edited ( #4010 )
...
Co-Authored-By: Ran Byron <ranbena@gmail.com >
2019-07-27 19:05:49 -03:00
Gabriel Dutra
cd4daf8823
Add Dynamic Values to Date and Date Range Parameters ( #3904 )
...
* Draft for Date Dynamic values
* Use value with prefix instead of specific attr
* Fix not possible to select static value
* Update antd version
* Cleanup and DateRangeParameter
* Dynamic DateTimeRange
* Add Dynamic options to Date Parameters
* UI refinements
* Add getDynamicValue function
* Add 'This' options and prevent text clipping
* Make allowClear available
* Update ScheduleDialog snapshot
* Add some protections and separate Date/DateRange
* Accept null values on date or daterange parameters
* Handle undefined values on Moment propType
* Move export to end of files
* Remove Today/Now option
* Update with Apply Changes
* Show name instead of value for dynamic values
* Add comment about supporting useCurrentDateTime
* Cypress Tests: Date Parameters
* Cypress Tests: Date Range Parameters
* Don't put null params in the url
* Add workaround comments to Cypress tests
Co-Authored-By: Ran Byron <ranbena@gmail.com >
* Fix Dynamic Value as default for global parameters
* Update Back to Static Value
* Add isValid to value on Date and DateRange inputs
* CR suggestions
* Fix Back to Static Value for Dates
* Update Dynamic Value Styling
* Fix failing Date tests
* Fix selectedDynamicValue
* Parameter spec: Remove date range clickThrough
* Add transition
* Fix failing Cypress tests
* Back with 'width: auto'
* Check value is valid on Back to Static value
* CR
* Update Date Range width
2019-07-26 22:40:13 +03:00
Gabriel Dutra
78cae474e0
Cypress: Specify widgets position on sharing spec ( #4009 )
2019-07-26 13:15:39 -03:00
Naoyuki Kataoka
c518c7a4bc
Modified PagerDuty destination to avoid an error for multi-byte characters ( #4008 )
2019-07-24 09:06:25 +03:00
Gabriel Dutra
8c2f51d09d
Percy: Fix shared dashboard inconsistent snapshots ( #4002 )
2019-07-23 11:55:24 -03:00
Gabriel Dutra
6f6c68bd79
Cypress: Separate dashboard spec ( #4003 )
2019-07-22 11:09:08 -03:00
Ran Byron
64f274f58e
Disable execute when params are dirty ( #4001 )
...
* Disable execute when params dirty
* Removed special apply handling for query page
* Updated tests
2019-07-22 12:13:34 +03:00
Omer Lachish
dd89bd885f
Add "deprecated" flag to query runners (and alert destinations) ( #3972 )
...
* add a deprecated flag to query runners and show only non-deprecated query runners when adding a new data source
* add a deprecated flag to alert destinations and show only non-deprecated alert destinations when adding a new alert destination
* add a deprecated() decorator for a more succint way to deprecate
* deprecate URL query runner and HipChat alert destination
* use class properties instead of class methods for deprecation
* I <3 newlines
2019-07-22 10:36:31 +03:00
Ran Byron
b2295197cf
Added publish notification to query rename ( #3998 )
2019-07-21 15:01:08 +03:00
Omer Lachish
ea0e411053
Return unsafe sharing error from backend ( #3990 )
...
* return message explaining unsafe sharing
* use backend-generated message for public dashboards
* use backend-generated message for embeds
* Update redash/handlers/query_results.py
Co-Authored-By: Arik Fraimovich <arik@arikfr.com >
* refactor simple (non-interpolated) query result handler error messages to a single location
* use error_messages to test out unsafe error messages (along with a couple of others)
* Update redash/handlers/query_results.py
Co-Authored-By: Ran Byron <ranbena@gmail.com >
* Update redash/handlers/query_results.py
Co-Authored-By: Arik Fraimovich <arik@arikfr.com >
2019-07-21 09:21:45 +03:00
Arik Fraimovich
9bdb3412a5
Move query runners/destinations import from redash.app to redash. ( #3993 )
...
* Move query runners/destinations import from redash.app to redash.
* Add missing argument
2019-07-21 09:05:29 +03:00
Fumiya Karasawa
ad4a760545
Search dropdown parameters ( #3796 )
2019-07-20 16:07:03 +03:00
Omer Lachish
c1f4147807
Avoid committing it.only ( #3995 )
...
* remove it.only, left by mistake
* use no-only-tests
* 'off' should be used instead of 'none'
* Dedup jest/only rule
* always error for .only
2019-07-19 18:30:38 +03:00
Ran Byron
c054ae8be0
Fixed filter style issue ( #3996 )
2019-07-18 13:49:37 +03:00
Omer Lachish
d1edd3d068
Query Result API response shouldn't include query information for non authenticated users ( #3985 )
...
* avoid catching errors on text widgets' load(), as they don't have a visualization and therefore do not return any promise
* throw error when failing to load widgets on public dashboards - in case something needs to be done with it at a later time, and it's the right thing to do anyway
* use Promise.resolve instead of checking for undefined
* call serialize_query_result instead of directly calling to_dict
* filter unneeded query result fields for unauthenticated users
* test for serialization filtering
* lint
* use project instead of list comprehension
2019-07-18 12:12:49 +03:00
Arik Fraimovich
4989bfae60
Remove custom Redis connection code in favor of redis.from_url ( #3992 )
2019-07-18 12:03:52 +03:00
Gabriel Dutra
f20a020003
Use AceEditor for Query Snippets ( #3973 )
...
Co-Authored-By: Ran Byron <ranbena@gmail.com >
2019-07-17 13:47:31 -03:00
Ran Byron
01da8c158a
Parameter “Apply Changes” button ( #3907 )
2019-07-17 17:17:39 +03:00
Omer Lachish
c83e40b047
Celery doesn't auto reload in development ( #3898 )
...
* pick up *.py file changes and restart scheduler
* only watch /redash in order to avoid reloading on other file changes (e.g. tests)
* add dev_scheduler entrypoint
* use exec
* Update bin/docker-entrypoint
* rename dev_scheduler to dev_worker
* use same defaults as worker
2019-07-17 10:38:56 +03:00
Ran Byron
c3cc65a21d
Viz embed logo alignment ( #3956 )
2019-07-16 11:37:31 +03:00
Omer Lachish
5929139ab8
A couple of parameters-on-public-dashboards loose ends ( #3988 )
...
* avoid catching errors on text widgets' load(), as they don't have a visualization and therefore do not return any promise
* throw error when failing to load widgets on public dashboards - in case something needs to be done with it at a later time, and it's the right thing to do anyway
* use Promise.resolve instead of checking for undefined
2019-07-16 10:48:37 +03:00
Ran Byron
66794acd1f
Added loading indicator to public dashboard ( #3984 )
2019-07-16 10:31:19 +03:00
Arik Fraimovich
bce0832e48
Show error in case of failing to load a dashboard ( #3983 )
2019-07-15 22:13:46 +03:00
Yuri Grishaev
9f006997a0
mattermost needs whitespace to use h4 heading ( #3981 )
...
#### Even Smaller Heading - good
####Even Smaller Heading - bad
2019-07-15 21:13:17 +03:00
Omer Lachish
51d8131db5
Allow Parameters on Public Dashboards ( #3659 )
...
* 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
* enqueue jobs for ApiUsers
* 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
* 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 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
* remove residues from bad rebase
* add query id and data source id to serialized public dashboards
* add global parameters directive to public dashboards page
* allow access to a query by the api_key of the dashboard which includes
it
* rename `object` to `obj`
* simplify permission tests once `has_access` accepts groups
* support global parameters for public dashboards
* change has_access and require_access signatures to work with the objects that require access, instead of their groups
* rename `object` to `obj`
* simplify permission tests once `has_access` accepts groups
* no need to log `is_api_key`
* send parameters to public dashboard page
* allow access to a query by the api_key of the dashboard which includes it
* disable sharing if dashboard is associated with unsafe queries
* remove cypress test added in the wrong place due to a faulty rebase
* add support for clicking buttons in cy.clickThrough
* Cypress test which verifies that dashboards with safe queries can be shared
* Cypress test which verifies that dashboards with unsafe queries can't be shared
* remove duplicate tests
* use this.enabled and negate when needed
* remove stale comment
* add another Cypress test to verify that unauthenticated users have access to public dashboards with parameters
* obviously, I commit 'only' the first time I use it
* search for query access by query id and not api_key
* no need to fetch latest query data as it is loaded by frontend from the textless endpoint
* test that queries associated with dashboards are accessible when supplying the dashboard api_key
* propagate `isDirty` down to `QueryBasedParameterInput`
* go to /api/:id/dropdown while editing a query, since dropdown queries might still not be associated with the parent. see #3711
* show helpful error message if dropdown values cannot be fetched
* use backticks instead of line concatenation
* remove requirement to have direct access to dropdown query in order validate it. parent query association checks are sufficient
* remove isDirty-based implementation and allow dropdown queries through nested ACL even if they aren't associated yet (given that the user has _direct_ access to the dropdown query)
* fix tests to cover all cases for /api/queries/:id/dropdowns/:id
* fix indentation
* require access to the query, not the data source
* resolve dashboard user by query id
* apply new copy to Cypress tests
* if only something would have prevented me from commiting an 'only' call 🤔
* very important handling of whitespace
* respond to parameter's Apply button
* text widgets are safe for sharing
* remove redundant event
* add a safety check that object has dashboard_api_keys before calling it
* supply a parameter value for text parameters to have it show up
* add parameter values for date and datetime
* use the current year and month to avoid pagination
* use Cypress.moment() instead of preinstalled moment()
* explicitly create parameters
* refresh query data if a querystring parameter is provided
* avoid sending a data_source_id - it's only relevant to unsaved queries, since a saved query's data_source is available in the backend
* remove empty query text workaround
* provide default value to parameter
* add a few more dashboard sharing specs
* lint
* wait for DynamicTable to appear to reveal that actual results are displaying
* override error message for unsafely shared widgets
2019-07-15 15:09:30 +03:00
Arik Fraimovich
c793b5dd11
Remove explicit kombu dependency ( #3978 )
...
We used an explicit kombu dependency to target the correct Redis version, but current version of Celery supposed to use it by default.
2019-07-14 08:47:15 +03:00
Levko Kravets
4e9da3f116
[Bug fix] Plotly legend overlaps plot on small screens (when legend clicked) ( #3976 )
2019-07-13 18:27:53 +03:00
Arik Fraimovich
15a8eecdde
JSON Data Source ( #3805 )
...
* WIP: JSON Data Source
* Add JSON data source to default list
2019-07-11 14:23:38 +03:00
k-tomoyasu
a8ff2500be
Build custom alert message ( #3137 )
...
* build custom alert message
* fit button color tone
* pass existing test
* fix typos
* follow code style
* add webhook alert description and avoid key error
* refactor: create alert template module
* follow code style
* use es6 class, fix template display
* use alerts.options, use mustache
* fix email description
* alert custom subject
* add alert state to template context, sanitized preview
* remove console.log 🙇
* chatwork custom_subject
* add alert custom message. pagerduty, mattermost, hangoutschat
* Pass custom subject in webhook destination
* Add log message when checking alert.
* Add feature flag for extra alert options.
2019-07-11 13:23:06 +03:00
Ran Byron
7bf84e856c
Workaround fixes for datepicker display bug in Cypress tests ( #3967 )
2019-07-10 17:47:46 +03:00
Levko Kravets
5149bf67ca
[Bug fix] Archiving a dashboard cause widgets to show reload spinner forever ( #3968 )
2019-07-10 13:35:15 +03:00
Arik Fraimovich
93449db325
Improvements to Query Result serialization code ( #3960 )
...
* Fix: allow serializing empty or bad dates
* Improve date serialization performance
* Remove duplicate assertion.
2019-07-10 10:51:34 +03:00
Arik Fraimovich
df57d22e81
Add explicit route for dashboards to allow embedding in iframes. ( #3957 )
...
* Add explicit route for dashboards to allow embedding in iframes.
* Add missing blank lines
2019-07-10 10:25:08 +03:00
Gabriel Dutra
de0a44ee85
Migrate Query Snippets to React ( #3627 )
2019-07-09 09:27:39 -03:00
Tomoki Sekiyama
261062d491
Support multi-byte search for query names and descriptions ( #3908 )
...
* Support multi-byte search for query names and descriptions
* add multi_byte_support_enabled option to organization settings
* add `ilike %...%` to query search conditions when the option is enabled
* Improve description for multi_byte_search_enabled option
Co-Authored-By: Arik Fraimovich <arik@arikfr.com >
* Remove tsvector from search when multi_byte_search_enabled
* Add a multi-byte search test case
2019-07-08 10:01:47 +03:00
Arik Fraimovich
1878e8bf90
Add additional Celery config options ( #3961 )
2019-07-08 08:32:18 +03:00
Arik Fraimovich
47fc8a942a
Add options to hide different parts of embed UI (parameters, title, link to query) ( #3955 )
...
* Move closing tag to correct location
* Add options to hide elements in query embed UI
* Fix for headless top padding (#3959 )
2019-07-07 14:34:00 +03:00
Arik Fraimovich
addecbdd8f
Allow calling query results endpoint without parameters. ( #3958 )
...
* Allow calling query results endpoint without parameters.
* Fix: allow serializing empty or bad dates
* Revert "Fix: allow serializing empty or bad dates"
This reverts commit cc49319d9e .
2019-07-07 14:22:08 +03:00
Gabriel Dutra
baec5d56f5
Remove time from Date column in filters ( #3953 )
2019-07-05 18:13:12 -03:00
Levko Kravets
1f4325ba8d
Migrate Box Plot visualization to React ( #3948 )
2019-07-04 22:25:09 +03:00
Arik Fraimovich
5e5b56ed6a
Fix: render date/time values as strings and not epoch time ( #3951 )
2019-07-04 20:49:59 +03:00
Arik Fraimovich
45a3b72730
Update fsevents to v1.2.9 ( #3950 )
2019-07-04 15:43:43 +03:00
Levko Kravets
cc48de0d8f
Migrate Word Cloud visualization to React ( #3930 )
2019-07-03 13:29:05 +03:00
Arik Fraimovich
300f3f6780
Fix: waiting tasks are not shown in admin view ( #3942 )
...
* Fix: waiting tasks are not shown properly
* Added a comment.
2019-07-03 11:09:42 +03:00
Omer Lachish
2e4a69cba4
Parameter spec fixes ( #3932 )
...
* supply a parameter value for text parameters to have it show up
* add parameter values for date and datetime
* use the current year and month to avoid pagination
* use Cypress.moment() instead of preinstalled moment()
* capture time before clicking on Now
* use now from input
* use now from input for another test
2019-07-01 09:56:55 +03:00
Arik Fraimovich
6748e9a15d
Add option to hide Pivot Table totals ( #3943 )
...
* Add option to hide Pivot Table totals
* Simplify implementation using DEFAULT_OPTIONS.
* Flip hide pivot controls to show pivot controls
* Update client/app/visualizations/pivot/Editor.jsx
Co-Authored-By: Ran Byron <ranbena@gmail.com >
2019-06-30 15:43:18 +03:00
Arik Fraimovich
7ceb68a468
Visualization: details view ( #3778 )
...
* Details visualization
* Add PropTypes and guard against no rows
2019-06-30 15:34:02 +03:00
Levko Kravets
3c1d1e3d4e
Explicitly mark default visualization ( #3944 )
2019-06-30 14:09:00 +03:00
Levko Kravets
92391e3cbc
[Bug fix] Toggling Use Dashboard Level Filter cause widgets to show reload spinner forever ( #3939 )
2019-06-28 15:02:07 +03:00
Levko Kravets
17438002d7
[Bug fix] Adding widget from query page is broken ( #3921 )
2019-06-25 20:06:36 +03:00
Jianchao Yang
a00c5a8857
Dockerfile front end stage copies client side files only ( #3924 )
...
So that changing other files will not trigger the
very expensive rebuild process.
2019-06-23 11:33:52 +03:00
John Karahalis
a696fa55f3
Set unique class name for Query Control Dropdown ( #3922 )
...
This will help me target the Query Control Drodpwon in my extension.
2019-06-23 10:01:46 +03:00
Arik Fraimovich
27259b5abe
Add support for int/float values in guess_type ( #3913 )
2019-06-20 08:55:31 +03:00
Ran Byron
9ee393ec75
Fix schedule dialog needless confirm saves ( #3919 )
2019-06-20 08:54:53 +03:00
Ran Byron
cfafa97218
Fixed boolean filter ( #3915 )
2019-06-19 14:54:27 +03:00
deecay
be580b24a5
Expose celery job timeout setting to env var ( #3912 )
...
* Expose celery job timeout to env
* Change variable name
2019-06-19 14:41:12 +03:00
Arik Fraimovich
a6960c5f19
Fix: time format option was wrong ( #3916 )
2019-06-19 14:37:02 +03:00
Arik Fraimovich
6dd321beeb
Rockset: handle query errors ( #3910 )
2019-06-18 14:10:25 +03:00
Arik Fraimovich
27c64b42ac
Add keyboard shortcut for format query (Ctrl/Cmd+Shift+F) ( #3911 )
...
* Add keyboard shortcut for format query
* Added to button tooltip
2019-06-18 14:10:05 +03:00
deecay
99bf6d122c
Custom Map Markers ( #3840 )
2019-06-18 09:50:09 +03:00
Ran Byron
d617f57f7d
Increase celery job timeout ( #3903 )
2019-06-17 08:35:02 +03:00
Guy Cohen
21a27ee0b1
Fix OverflowError on celery worker ( #3899 )
2019-06-16 11:34:29 +03:00
YOSHIDA Katsuhiko
ac293c7f92
Add alert deletion confirmation dialog ( #3902 )
2019-06-15 14:28:55 +03:00
YOSHIDA Katsuhiko
8e38dcd244
Support regenerating Query API Key ( #3764 )
...
* Add regenerate function of query's API Key
* Add regenerate API Key button
* Add regenerate Query API Key tests
* Fix too long line
* Replace with this
* Return a simple version query
* Update only API Key
* Update API Key via query
2019-06-12 13:09:21 +03:00
Aidarbek Suleimenov
2bab144107
Celery task to clear schedule was added ( #3801 )
...
* Celery task to clear schedule was added
* fix formating
* empty_schedules task was put in separate task
* worker interval changed, new tests added
* past artifact deleted
* test queries moved to right class, lambda was used to filter data
* unnecessary changes eliminated
* more unnecessary files deleted
* line shortened
* Line shortened more
* codeclimate changes
* Unused test deleted, logs added
2019-06-12 13:07:15 +03:00
Mike Nason
4e0a251034
Add support ssl connections to redis ( #3848 )
...
* Add support ssl connections to redis
* Fix line length
* Update redash/__init__.py w suggestion
Co-Authored-By: Omer Lachish <omer@rauchy.net >
* Cleanup init after suggestion
* Move redis SSL config to settings
* Do not pass celery SSL config unless necessary
* Fix typo
2019-06-12 13:04:34 +03:00
Levko Kravets
7a9f4b07e0
Force a Choose account step for Google OAuth ( #3884 )
2019-06-12 11:48:25 +03:00
Arik Fraimovich
1630cbb904
Google Sheets: friendlier error message in case of an API error and more reliable test connection ( #3883 )
...
* Google Sheets: friendlier error message in case of an APIError and more reliable test connection.
* Pleasing the pep8 gods
2019-06-12 11:46:59 +03:00
Levko Kravets
f8d05dda9f
getredash/redash#3879 Plotly legent overlaps plot on small screens (FF only) ( #3882 )
2019-06-12 11:46:34 +03:00
Omer Lachish
2af8b39d21
Authorize according to API key (if given) over cookies ( #3877 )
...
* remove legacy session identifier support
* remove redundant test
* redirect to login to support any invalid session identifiers
* be more specific with caught errors
* use authorization according to api_key (if provided) over session
2019-06-12 11:45:28 +03:00
dependabot[bot]
3faed0fdfe
Bump pyopenssl from 16.2.0 to 17.5.0 ( #3872 )
...
Bumps [pyopenssl](https://github.com/pyca/pyopenssl ) from 16.2.0 to 17.5.0.
- [Release notes](https://github.com/pyca/pyopenssl/releases )
- [Changelog](https://github.com/pyca/pyopenssl/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/pyca/pyopenssl/compare/16.2.0...17.5.0 )
2019-06-12 11:38:47 +03:00
dependabot[bot]
e45f49b86e
Bump cryptography from 2.0.2 to 2.3 ( #3870 )
...
Bumps [cryptography](https://github.com/pyca/cryptography ) from 2.0.2 to 2.3.
- [Release notes](https://github.com/pyca/cryptography/releases )
- [Changelog](https://github.com/pyca/cryptography/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/pyca/cryptography/compare/2.0.2...2.3 )
2019-06-12 11:38:38 +03:00
Omer Lachish
e33ad3b164
Query Results: querying a column with a dictionary or array fails ( #3887 )
...
* flatten lists and dicts to json to be used with SQLite's json_extract functions
* add test that verifies that lists and dicts are saved
* add test that verifies that lists and dicts are saved
2019-06-11 17:41:15 +03:00
Omer Lachish
6605f62f3a
add api_key to embed download urls ( #3896 )
2019-06-11 14:02:02 +03:00
Omer Lachish
ed2ac407ab
Remove schema after deleting data source ( #3894 )
...
* remove schema from redis after deleting data sources
* switch to _pause_key to property
2019-06-10 22:39:26 +03:00
Ran Byron
dda75cce24
Drawer menu with recreated close button ( #3889 )
...
* Drawer menu with recreated close button
* Added “Open in new window” drawer menu button (#3890 )
2019-06-09 12:21:53 +03:00
Omer Lachish
5b780ac460
Refresh Public Dashboards ( #3881 )
...
* remove legacy session identifier support
* remove redundant test
* redirect to login to support any invalid session identifiers
* be more specific with caught errors
* fix refresh for public dashboards
2019-06-06 11:07:12 +03:00
koooge
c0e8ef3000
Upgrade gspread 3.1.0 for supporting team drive ( #3838 )
...
* Upgrade gspread 3.1.0 for supporting team drive
Signed-off-by: koooge <koooooge@gmail.com >
* Revert "Upgrade gspread 3.1.0 for supporting team drive"
This reverts commit e53e8cb75b .
* Upgrade gspread 3.1.0 for supporting team drive
Signed-off-by: koooge <koooooge@gmail.com >
* Update Sheets query runner name
2019-06-06 11:02:08 +03:00
Gabriel Dutra
a82fd0cabc
Cypress: Fix date parameters false positive ( #3873 )
2019-06-04 12:19:55 -03:00
Ran Byron
0e3e2eaf38
Restrict dynamic-table internal scroll only when pagination appears ( #3875 )
2019-06-04 09:11:19 -06:00
Omer Lachish
05f6ef0fb6
Remove legacy session identifier support ( #3866 )
...
* remove legacy session identifier support
* remove redundant test
* redirect to login to support any invalid session identifiers
* be more specific with caught errors
2019-06-03 22:18:24 +03:00
dependabot[bot]
e433efebc4
Bump flask from 0.11.1 to 0.12.3 ( #3871 )
...
* Bump flask from 0.11.1 to 0.12.3
Bumps [flask](https://github.com/pallets/flask ) from 0.11.1 to 0.12.3.
- [Release notes](https://github.com/pallets/flask/releases )
- [Changelog](https://github.com/pallets/flask/blob/master/CHANGES.rst )
- [Commits](https://github.com/pallets/flask/compare/0.11.1...0.12.3 )
* Bump to Flask 0.12.4 to fix an issue
2019-06-03 18:04:43 +03:00
Arik Fraimovich
a9588eac79
Update version to 8.0.0-beta. ( #3869 )
2019-06-02 14:37:16 +03:00
Arik Fraimovich
090b570a71
Rearrange README badges.
2019-06-02 14:01:09 +03:00
Arik Fraimovich
60b12e3121
Update PromiseRejectionError to show error message from API response ( #3868 )
...
* Update PromiseRejectionError to show error message from API response
* Update version to 8.0.0-beta.
* Revert "Update version to 8.0.0-beta."
This reverts commit c8fa74967f .
2019-06-02 11:47:26 +03:00
Arik Fraimovich
3f8c7333be
Use the debian flavor of the redash/base image ( #3240 )
2019-06-02 11:42:19 +03:00
Arik Fraimovich
be8dec5f04
Add Collapse component ( #3867 )
2019-06-02 11:12:37 +03:00
Levko Kravets
10b3b50f3d
getredash/redash#3862 Widget menu should not be available on public dashboards ( #3863 )
2019-06-02 11:00:10 +03:00
Levko Kravets
6f290ddfa1
Use more specific CSS for public dashboard page to avoid conflicts with other components ( #3864 )
2019-05-31 23:41:43 +03:00
Ran Byron
10b62ebe02
Beautify autoheight code a bit ( #3865 )
2019-05-31 14:09:29 -06:00
Ran Byron
04453409da
Fix widget autoHeight related exception ( #3858 )
2019-05-31 05:57:26 -06:00
Gabriel Dutra
b27df216f4
Cypress tests for query parameters ( #3810 )
2019-05-30 10:01:44 -03:00
Levko Kravets
a0c76d777b
getredash/redash#3851 Disable filter which does not have values ( #3852 )
2019-05-30 15:53:28 +03:00
Levko Kravets
2e96e2fb98
getredash/redash#3849 Fix initialization of dashboard-level parameters ( #3853 )
2019-05-30 15:51:58 +03:00
Gabriel Dutra
c2e31f040d
Fix table isn't displayed with date filter ( #3842 )
2019-05-29 09:40:25 -03:00
Arik Fraimovich
816f4d912f
Capitalize "elsewhere" ( #3844 )
2019-05-29 14:47:17 +03:00
Arik Fraimovich
9292ae8d3f
CSV: correctly serialize booleans and dates. ( #3841 )
...
* CSV: correctly serialize booleans and dates.
Closes #3736 , closes #2751 .
* pep8 fixes
* Move column iteration to a helper function.
* Use elif, as types are mutually exclusive.
* Refactor parsing implementation.
* Move the csv generation fucntion
2019-05-29 10:45:29 +03:00
Levko Kravets
9480d89e4c
[Feature] Migrate CreateDashboardDialog to React ( #3826 )
2019-05-27 23:12:52 +03:00
Ran Byron
5dff5b929c
Unsupported browser redirect script outputted to file ( #3832 )
2019-05-27 13:18:04 -06:00
Gabriel Dutra
28e9740e2f
Update Data Source Lifecycle Events ( #3828 )
2019-05-27 19:28:16 +03:00
Ran Byron
7679df63ba
Fix for Mac browser’s scrollbar obscuring content ( #3830 )
2019-05-27 18:31:02 +03:00
Jannis Leidel
07c9530984
Decouple extensions from Flask app. ( #3569 )
...
* Decouple extensions from Flask app.
This separates the extension registry from the Flask app and also introduces a separate registry for preriodic tasks.
Fix #3466 .
* Address review feedback.
* Update redash/extensions.py
Co-Authored-By: jezdez <jannis@leidel.info >
* Minor comment in requirements.
* Refactoring after getting feedback.
* Uncoupled bin/bundle-extensions from Flas app instance.
* Load bundles in bundle script and don’t rely on Flask.
* Upgraded to importlib-metadata 0.9.
* Add missing requirement.
* Fix TypeError.
* Added requirements for bundle_extension script.
* Install bundles requirement file correctly.
* Decouple bundle loading code from Redash.
* Install bundle requirements from requirements.txt.
* Use circleci/node for build-docker-image step, too.
2019-05-26 14:56:02 +03:00
Rueian
aecd0bf37a
include bigquery_gce.png in db-logos ( #3825 )
2019-05-26 13:27:29 +03:00
Omer Lachish
4143bd3f20
when authenticated, the query shouldn't be sent over to the /jobs endpoint ( #3831 )
2019-05-26 12:19:32 +03:00
Arik Fraimovich
020dc35faf
Create SECURITY.md ( #3823 )
...
* Create SECURITY.md
* Update SECURITY.md
Co-Authored-By: Gabriel Dutra <nesk.frz@gmail.com >
2019-05-26 09:32:41 +03:00
Gabriel Dutra
d7b03bac02
Add CircleCI env vars to Cypress docker ( #3827 )
2019-05-23 22:33:23 +03:00
Omer Lachish
29875e66d4
Plug custom Celery tasks via dynamic settings ( #3819 )
...
* plug custom celery tasks via dynamic settings
* an extra blank line
2019-05-22 11:37:18 +03:00
taminif
d97ce15837
refactor format semi-colon ( #3812 )
2019-05-22 11:10:16 +03:00
Gabriel Dutra
b263bb7077
[Bug fix] Fix "Now" in DateTime parameter not working ( #3808 )
2019-05-16 18:42:48 +03:00
Ran Byron
606cf12e74
Dashboard grid React migration #1 ( #3722 )
...
* Dashboard grid React migration
* Updated tests
* Fixes comments
* One col layout
* Tests unskipped
* Test fixes
* Test fix
* AutoHeight feature
* Kebab-cased
* Get rid of lazyInjector
* Replace react-grid-layout with patched fork to fix performance issues
* Fix issue with initial layout when page has a scrollbar
* Decrease polling interval (500ms is too slow)
* Rename file to match it's contents
* Added some notes and very minor fixes
* Fix Remove widget button (should be visible only in editing mode); fix widget actions menu
* Fixed missing grid markings
* Enhanced resize handle
* Updated placeholder color
* Render DashboardGrid only when dashboard is loaded
2019-05-16 15:43:46 +03:00
Levko Kravets
4508975749
[Bug fix] Plotly modebar appears above modals ( #3799 )
2019-05-15 10:43:34 +03:00
Gabriel Dutra
c76955be28
Refresh query when parameters update ( #3737 )
...
* Add touch state to parameters and autoupdate query
* Use values change event instead of $watch
* Remove getQueryResultDebounced
* Add Apply button
* Remove Input Number spinners for Parameters
* Make Apply Button optional
* Update share_embed_spec
* Change debounce to the Parameters component
* Remove unnecessary click on Execute query
* Add apply button to the remaining places
* Update dashboard_spec
* Use onKeyUp for InputNumber
* Simplify onParametersValuesChanged
* Update DateTime onChange function
* Don't apply when modifier key is pressed
* Remove refresh Button from Parameters
* Update apply button styling
* Update apply right distance
* Remove debounce for testing
* Use data-dirty instead of classNames for styling
* Make sure $apply runs before calling onChange
2019-05-15 08:57:06 +03:00
Gabriel Dutra
4f402379e8
Migrate Embed Query Dialog to React ( #3783 )
...
* Update Antd
* Migrate Embed Query Dialog to React
* Update jest ScheduleDialog snapshot
* Add Alert for unsafe queries
* Add CodeBlock
* Add inputs to change iframe size
* Undo ant update
* Update share embed spec
* Update styling
* Change border-radius to 2px
* Update margin between Public URL and IFrame Embed
2019-05-15 08:38:40 +03:00
Ran Byron
733b60102d
Fixed visual-card alignment ( #3795 )
2019-05-14 14:10:35 -06:00
Levko Kravets
b9b30a39d2
[Bug fix] Edit parameter mapping: error when trying to change mapping type to Static; cannot change static value ( #3800 )
...
* Edit parameter mapping: error when trying to change mapping type to Static
* Parameter mapping editor: cannot change static value
2019-05-14 19:10:02 +03:00
Levko Kravets
c74d469181
resize-event: take into account transformations and transitions ( #3794 )
2019-05-13 22:51:05 +03:00
Ran Byron
95f11e6686
Loading indicator till app inits ( #3788 )
2019-05-13 12:11:22 -06:00
Jakdaw
ad6f7109de
Fix support for calling MySQL Stored Procedures and allow queries to be cancelled ( #3003 )
...
* If MySQL returns multiple resultSets (eg when executing multiple statements, or calling stored procedures) then use the last resultSet that has columns
* Make cancellation of a MySQL query work (the same way the C client does it)
* Address code climate moans
2019-05-13 18:51:51 +03:00
taminif
b09ae46a9f
filtered tag remove empty name at edit query ( #3784 )
...
* filtered tag remove empty name at edit query
* use filter
2019-05-13 17:57:45 +03:00
Arik Fraimovich
0cda0369f0
[BigQuery] Fix: in some queries there is no mode field ( #3786 )
...
Happened with INSERT/UPDATE queries.
2019-05-13 17:08:18 +03:00
Arik Fraimovich
50f11069ce
Presto: ignore blank passwords ( #3791 )
...
PyHive expects only None as no password.
2019-05-13 12:36:07 +03:00
Arik Fraimovich
6bf764be07
Update query to bring only name to make sure screenshots are consistent. ( #3790 )
2019-05-12 20:43:32 +03:00
Ran Byron
3159410694
Restrict markdown image dimensions ( #3789 )
2019-05-12 20:23:10 +03:00
Gabriel Dutra
76bd2e3c50
Migrate Organization Settings to React ( #3728 )
...
* Migrate Organization Settings to React
* Fix failing spec and replace default values from inputs
* Add HelpTrigger and handleChange to SAML options
* Undo changes to ant-variables.less
* Add time format to OrganizationSettings
2019-05-12 14:23:22 +03:00
Omer Lachish
50a6f723b1
Fix Ability to Add Query-based Parameters to Existing Queries ( #3716 )
...
* propagate `isDirty` down to `QueryBasedParameterInput`
* go to /api/:id/dropdown while editing a query, since dropdown queries might still not be associated with the parent. see #3711
* show helpful error message if dropdown values cannot be fetched
* use backticks instead of line concatenation
* remove requirement to have direct access to dropdown query in order validate it. parent query association checks are sufficient
* remove isDirty-based implementation and allow dropdown queries through nested ACL even if they aren't associated yet (given that the user has _direct_ access to the dropdown query)
* fix tests to cover all cases for /api/queries/:id/dropdowns/:id
* fix indentation
* require access to the query, not the data source
* use require_access instead of has_access
2019-05-12 12:48:01 +03:00
Omer Lachish
0ee20797c8
Fix embeds without parameters ( #3775 )
...
* provide queryId when fetching query results in order to allow query-based api-key authentication to work properly
* cypress test to verify that embeds without parameters are shared succesfully
* rename Percy snapshot
2019-05-12 12:28:31 +03:00
taminif
d7515562a4
Fix: Filter empty tags ( #3780 )
2019-05-10 09:55:53 -06:00
Osmo Salomaa
feafbbe318
Avoid error with duplicate log lines ( #3777 )
...
https://docs.angularjs.org/error/ngRepeat/dupes
2019-05-07 22:07:39 +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
Arik Fraimovich
2f019a0897
Update CHANGELOG.md
2017-02-22 21:58:12 +02:00
Arik Fraimovich
1350555931
Update CHANGELOG.
2017-02-22 21:57:16 +02:00
Arik Fraimovich
6d3aa3b53c
Merge pull request #1627 from getredash/fix_too_many_connections
...
Dashboard page fixes
2017-02-22 21:57:02 +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
Arik Fraimovich
2d82c4dc98
Fix: multi filters broken on dashboards
2017-02-22 16:24:11 +02:00
Arik Fraimovich
84ca02be09
Fix: download links broken on dashboards
2017-02-22 16:14:41 +02:00
Arik Fraimovich
61244dead3
Merge pull request #1626 from getredash/fix_too_many_connections
...
Fix: Redash is using too many db connections
2017-02-22 15:18:49 +02:00
Arik Fraimovich
907b33b5a0
Fix: tests failling because they run on different app contextes
2017-02-22 14:06:47 +02:00
Arik Fraimovich
e6fc73f444
Fix: Redash was using too many db connections
...
Fixes #1561 .
The issue was caused by creating a new Flask app instance on every task execution,
resulting in creating a new SQLALchemy connection pool and a new database connection.
2017-02-22 12:40:22 +02:00
Arik Fraimovich
672347ba8b
Merge pull request #1621 from kopanitsa/fix-dynamo-count
...
[DynamoDB] Fix: handle count(*) queries
2017-02-22 10:06:36 +02:00
Arik Fraimovich
db465ffe58
Rename res_dict to result and add comment.
2017-02-22 10:06:00 +02:00
Allen Short
2a447137d4
Fix: make errors from Presto runner JSON-serializable
2017-02-21 13:11:32 -06:00
Takahiro Okada
18a157ac84
handle count(*) in dynamo db
2017-02-21 22:26:50 +09: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
Arik Fraimovich
2e751b3dad
Fix: dashboards without tags break rendering
2017-02-19 09:20:25 +02:00
Alexander Shepelin
b2e747caef
refactor schema-browser directive to component style
2017-02-18 23:10:15 +03:00
Arik Fraimovich
f9da6ddcdd
Merge pull request #1611 from getredash/circleci
...
Improve CircleCI configuration
2017-02-18 14:15:20 +02:00
Arik Fraimovich
99cef97c89
Add #1612 to the CHANGELOG.
2017-02-18 14:14:30 +02:00
Arik Fraimovich
2071ca1bc8
Merge pull request #1612 from getredash/rc1-fixes
...
Change: Improvements to the dashboards list page
2017-02-18 14:14:04 +02:00
Arik Fraimovich
5815d635a0
Update CHANGELOG for v1.0.0-rc.2.
...
@44px @janusd @btmc @deecay @aslotnick thanks!
2017-02-18 14:13:49 +02:00
Arik Fraimovich
517e5bcddb
Improvements to the dashboards list page:
...
- Fix search to be case insensitive.
- Fix tag extraction to support multiple words prefixes.
- Change selection behavior to use OR by default and AND on shift+click.
2017-02-18 12:56:56 +02:00
Arik Fraimovich
eaa2ec877c
Merge pull request #1607 from getredash/rc1-fixes
...
v1.0.0-rc.1 fixes
2017-02-18 12:51:45 +02:00
Arik Fraimovich
0e68228e6e
Remove Procfile.heroku - it's no longer up to date.
2017-02-18 12:50:02 +02:00
Arik Fraimovich
6e5435261b
Improve CircleCI configuration
2017-02-18 12:48:39 +02:00
Arik Fraimovich
1cc9b87ead
Fix PEP8 section name
2017-02-18 12:41:57 +02:00
Arik Fraimovich
bd9ad3140d
Allow longer lines in pep8
2017-02-18 12:37:00 +02:00
Arik Fraimovich
3e23143910
Fix: alert subscriptions were not triggered
2017-02-18 12:30:02 +02:00
Arik Fraimovich
0f95d12e83
Fix: use the correct model for delete.
2017-02-18 12:25:54 +02:00
Arik Fraimovich
fd37fd8545
Fix: remove whitespace created by the filters component
2017-02-18 12:19:22 +02:00
Arik Fraimovich
742199f05c
Change: change Plotly's default hover mode to compare
2017-02-16 22:33:34 +02:00
Arik Fraimovich
902fb44782
Change: remove send to Plotly button
2017-02-16 20:08:55 +02:00
Arik Fraimovich
10e78bb4e4
Fix: sunburst & sankey visualization broke because of Angular values
2017-02-16 19:06:12 +02:00
Arik Fraimovich
e4659d0485
Fix: when adding text widget global parameters break.
...
Closes #1587 .
2017-02-16 18:54:58 +02:00
Arik Fraimovich
a25302773d
Fix: google button missing on invite link
2017-02-16 18:51:23 +02:00
Arik Fraimovich
2188baca16
Fix: schema browser got dark background
2017-02-16 18:42:28 +02:00
Arik Fraimovich
8940533176
Fix: embeds don't work after minifcation
2017-02-16 18:28:56 +02:00
Arik Fraimovich
1367b63ae1
Fix: shared dashboards didn't work after minifcation
2017-02-16 18:19:23 +02:00
Arik Fraimovich
c2a9e2e960
Fix: public widget serializer was referncing wrong name
2017-02-16 18:16:19 +02:00
Arik Fraimovich
8a41328033
Fix: share dashboard dialog not working after minification
2017-02-16 18:08:46 +02:00
Arik Fraimovich
ce16124d7b
Fix: API keys were not logged properly in events table.
2017-02-15 22:13:33 +02:00
Arik Fraimovich
c547752dc6
Merge pull request #1606 from getredash/rc1-fixes
...
Change: move the message about unavailable data source types to be
2017-02-15 21:58:45 +02:00
Arik Fraimovich
3981c1c8a7
Fix: wrong use of Events.record function
2017-02-15 21:52:24 +02:00
Arik Fraimovich
f732f30bf0
Change: move the message about unavailable data source types to be
...
debug level message instead of warning. It seems to confuse people
and basically do more harm than add value.
2017-02-15 21:47:14 +02:00
Arik Fraimovich
9c0f0cb044
Merge pull request #1601 from aslotnick/1529_presto_error_message
...
[Presto] Change: better formatted error messages
2017-02-15 21:40:44 +02:00
Arik Fraimovich
f01399c33d
Merge pull request #1604 from getredash/rc1-fixes
...
Fix: dashboard owner can't edit the dashboard.
2017-02-15 20:17:11 +02:00
Arik Fraimovich
253f2e613c
Fix: dashboard owner can't edit the dashboard.
2017-02-15 19:50:04 +02:00
Andrew Slotnick
f2879a1e3d
better formatting for presto error messages
2017-02-14 17:14:52 -05:00
deecay
af978e966d
Show vertical scrollbar for IE
2017-02-14 16:53:11 +09:00
Arik Fraimovich
0151360fdf
Merge pull request #1597 from deecay/fix-1571
...
[SQL Server] Fix: schema won't load if the server is case sensitive
2017-02-14 09:37:05 +02:00
Arik Fraimovich
d1b0a9580d
Merge pull request #1592 from deecay/master
...
Change: use https instead of git protocol for git repositories in npm-shrinkwrap.json
2017-02-13 16:34:26 +02:00
deecay
9d796b20df
Fix for #1571
2017-02-13 14:10:48 +09:00
deecay
574a7573ce
Udate shrinkwrap to work behind some proxies
2017-02-13 12:05:04 +09:00
Arik Fraimovich
db9c925cbb
Merge pull request #1564 from janusd/viz-map-column-fix
...
Fix: options selection in the map visualization editor (lat, long, groupBy)
2017-02-10 20:10:00 +02:00
Arik Fraimovich
9ef6836175
Remove unused setup files
2017-02-10 20:06:30 +02:00
Arik Fraimovich
351cd62189
Docker entrypoint: update user's uid
2017-02-09 23:48:33 +02:00
Arik Fraimovich
7bbc782e5d
Fix npm build command.
2017-02-09 22:22:41 +02:00
Arik Fraimovich
50d20ff277
Merge pull request #1582 from getredash/json_webhook
...
Updates to Dockerfile:
2017-02-09 17:07:46 +02:00
Arik Fraimovich
964926aaab
Change external-links to links.
2017-02-09 17:07:34 +02:00
Arik Fraimovich
b67ecde107
Merge pull request #1570 from btmc/master
...
Update docker-compose.production.yml
2017-02-09 17:06:56 +02:00
Arik Fraimovich
6338596710
Updates to Dockerfile:
...
- Build frontend assets (needed for standalone use of the image).
- Change ownership of the files to redash user.
2017-02-09 16:53:25 +02:00
btmc
5361a99b22
Update docker-compose.production.yml
...
Nginx doesn't have "redash" upstream. This fixes the error.
2017-02-06 23:53:46 +03:00
Arik Fraimovich
01a8075a67
Merge pull request #1563 from getredash/json_webhook
...
Change: send events to webhook as JSON with a schema.
2017-02-05 10:36:55 +02:00
Arik Fraimovich
209e714084
Add changelog entry
2017-02-05 10:36:28 +02:00
hamza zia
eeee592abc
nuke separate endpiont for running queries in sync
2017-02-03 09:34:01 -08:00
Janus
e3d0b4075e
fix column options selection in the map visualisation editor (lat, long and groupBy)
2017-02-02 15:39:52 +01:00
Arik Fraimovich
ad18128794
Fix test
2017-02-02 10:39:21 +02:00
Arik Fraimovich
71fa013970
Change: send events to webhook as JSON with a schema.
...
Closes #1552 .
2017-02-02 10:21:01 +02:00
Arik Fraimovich
dd6028384d
Merge pull request #1555 from 44px/original-source-sourcemaps
...
Change: generate sourcemaps for modules (original source files)
2017-02-01 23:17:37 +02:00
Arik Fraimovich
5716da205e
Merge pull request #1559 from getredash/new_upgrade
...
New and shiny upgrade script
2017-01-31 21:21:18 +02:00
Arik Fraimovich
d650995da3
New and shiny upgrade script
2017-01-31 21:16:27 +02:00
Arik Fraimovich
18fee82b73
Merge pull request #1558 from getredash/new_upgrade
...
Update the CHANGELOG
2017-01-31 20:47:36 +02:00
Arik Fraimovich
23a87410ac
Update the CHANGELOG
2017-01-31 20:47:00 +02:00
Alexander Shepelin
9b9a752f78
Generate sourcemaps for modules (original source)
2017-01-31 09:30:27 +03:00
Arik Fraimovich
4b4758af22
Merge pull request #1551 from getredash/change_tracking
...
Fix: flask-admin - exclude created_at/updated_at so models can be saved
2017-01-27 17:00:27 +02:00
Arik Fraimovich
3cdd732078
flask-admin fixes (exclude created_at/updated_at so models can be saved)
2017-01-26 22:50:30 +02:00
Arik Fraimovich
77139e2867
Merge pull request #1546 from washort/api-docstrings
...
Add: API docstrings
2017-01-26 22:37:11 +02:00
Arik Fraimovich
ff28b751ed
Merge pull request #1549 from getredash/change_tracking
...
Change: disable version counter for queries:
2017-01-26 22:36:22 +02:00
Arik Fraimovich
84aba70a1a
Merge pull request #1545 from hgs847825/master
...
[ElasticSearch] Fix: query fails when properties key is missing
2017-01-26 22:35:59 +02:00
Arik Fraimovich
39c4e1cd59
Merge branch 'master' into api-docstrings
2017-01-26 22:34:48 +02:00
Arik Fraimovich
6cf1c1cb70
Disable query version check in test ( #1550 )
2017-01-26 22:25:12 +02:00
Arik Fraimovich
ae2927d7d3
Set default value for query version
2017-01-26 22:08:05 +02:00
Arik Fraimovich
cd51076150
Disable version counter for queries:
...
Since the move to SQLAlchemy, version is managed automatically.
When running a query, the worker updates the query row and increments
the version. This results in the user's inability to save the query
after that.
From reviewing SQLA's documentation, it looks like we will have to
manage the version value ourselves. For now, I'm just disabling the
version auto increment. In a follow up update we need to actually
implement the manual increment where we think it's needed.
2017-01-26 21:50:08 +02:00
Arik Fraimovich
a5d73514ce
Merge pull request #1504 from rockwotj/rockwood/global-params
...
Add: global parameters for dashboards
2017-01-26 21:24:08 +02:00
Arik Fraimovich
7ffa8f89aa
Remove unused code
2017-01-26 21:20:53 +02:00
Tyler Rockwood
11faabed1f
Move helper functions out of the query obj
2017-01-26 10:56:12 -08:00
Arik Fraimovich
25ca061b3d
Merge pull request #1548 from getredash/drafts
...
Improve UI in small resolution:
2017-01-26 20:06:32 +02:00
Arik Fraimovich
8140100496
Merge pull request #1547 from getredash/drafts
...
Improve drafts UX
2017-01-26 15:56:42 +02:00
Arik Fraimovich
9aab74d8e7
Improve UI in small resolution:
...
- Add meta tag to scalae UI properly in small resolutions
- Make the menu button work (great) again.
- Change menu background color.
2017-01-26 15:55:44 +02:00
Allen Short
4e06a38676
more docstrings
2017-01-25 10:52:51 -06:00
Arik Fraimovich
7e43e54b9d
Revise Query.by_user method
2017-01-25 18:08:29 +02:00
Arik Fraimovich
84e1ac8072
Show your unpublished items in recents
2017-01-25 17:29:00 +02:00
Arik Fraimovich
ba6109e7ac
List unpublished dashboard only to owners
2017-01-25 17:22:30 +02:00
Arik Fraimovich
febe908e65
Revise drafts flow for queries:
...
* Draft queries are now called "Unpublished" -- felt like it better convey the feature.
* Unpublished queries won't be shown in "All Queries" for non owners, but will appear in
search.
* You can't add unpublished queries to dashboards or alerts.
2017-01-25 16:55:39 +02:00
Arik Fraimovich
8445b04844
Proxy /invite URLs
2017-01-25 16:55:39 +02:00
Arik Fraimovich
42a5194893
Add Redis explicitly to circle.yml
2017-01-25 11:33:40 +02:00
hgs847825
3b4e3067bb
Fix issue #1538
2017-01-25 02:34:28 +00:00
Arik Fraimovich
98757db3e3
Merge pull request #1508 from stefanseifert/feature/jql-custom-fields
...
[Jira JQL] Add: support custom JIRA fields and enhance value mapping
2017-01-24 12:32:21 +02:00
Arik Fraimovich
4e7adcf89b
Merge pull request #1540 from yaningzhu/faster-get-mysql-schema
...
[MySQL] Change: faster retrieval of schema
2017-01-24 12:29:38 +02:00
Arik Fraimovich
df0d1f3cc8
Merge pull request #1536 from k-hal/add-support-for-bigquery-gce-configuration
...
[BigQuery] Add: support for additional configuration in BigQueryGCE
2017-01-24 12:28:05 +02:00
Arik Fraimovich
38f6f82c0b
Merge pull request #1517 from denisov-vlad/clickhouse_uint64
...
Clickhouse: convert UInt64 columns to integer type
2017-01-24 12:27:25 +02:00
Arik Fraimovich
4f9ffdc094
Merge pull request #1542 from getredash/sass
...
Add Sass support
2017-01-24 10:08:57 +02:00
Arik Fraimovich
3431f2ebe8
Add Sass support
2017-01-24 09:54:28 +02:00
Arik Fraimovich
788830ddad
Fix docker-entrypoint server command.
...
Fixes #1541 .
2017-01-24 08:53:55 +02:00
Arik Fraimovich
2e358e89f4
Add missing db.session.commit() call.
2017-01-24 08:00:34 +02:00
Yaning Zhu
d58040ad11
Faster retrieval of MySQL schema
...
Because `information_schema.tables` and `information_schema.columns` do not have indexes on them, when they get large, joining them becomes painful. We have a database with over 10k tables and more than 200k columns. The old query takes forever.
The new query do not look at `information_schema.tables` at all. This works if your `information_schema.columns` table is in good shape in terms of data integrity (and it should be).
Tested on MySQL 5.5, 5.6(Percona), 5.7(Percona). The schema has not changed since then.
2017-01-23 09:51:40 -08:00
Arik Fraimovich
4904c67cbe
Update logo URL.
2017-01-22 23:08:16 +02:00
Arik Fraimovich
b479bb39a0
Merge pull request #1530 from getredash/docker_workflow
...
Docker based developer workflow
2017-01-22 15:53:54 +02:00
Arik Fraimovich
5ee5b5a8f5
Update postgres configuration to improve tests performance
2017-01-22 15:03:13 +02:00
Arik Fraimovich
7cc97fafdb
Add tests entry point to docker
2017-01-22 13:28:46 +02:00
Arik Fraimovich
c82a01b5c8
Don't exclude client/app from tarball
2017-01-22 12:34:49 +02:00
Arik Fraimovich
65237967ec
Implement subscription task
2017-01-22 12:12:58 +02:00
Koichi HARUNA
53536a15f1
Add support for BigQueryGCE to be set just like BigQuery
2017-01-21 17:49:57 +09:00
Arik Fraimovich
4e4d52a558
Add line break in setup screen
2017-01-19 15:20:52 +02:00
Arik Fraimovich
7b11dc0ee6
Setup wizard for first run of Redash
2017-01-19 15:20:52 +02:00
Arik Fraimovich
bc230e988d
Make noisy libraries less noisy
2017-01-19 15:20:52 +02:00
Arik Fraimovich
c39f440450
Name the development docker compose file as docker-compose.yml
2017-01-19 15:20:52 +02:00
Arik Fraimovich
00e1e90d6e
Add node_modules to dockerignore
2017-01-19 15:20:52 +02:00
Arik Fraimovich
b1bd8f1c25
friendlier entrypoint script
2017-01-19 15:20:52 +02:00
Arik Fraimovich
837e3a372a
Remove webpack from Docker Compose:
...
I realized that it makes more sense to run Webpack on the host machine
as usually you will need to install Node's tools on the host to enjoy
better intelisense and eslint support in the editor.
On top of that, installing Node.js on most developer machines should be
relatively easy.
2017-01-19 15:20:52 +02:00
Ofer Segev
81fca9329e
App header: query search css fix
2017-01-19 15:20:52 +02:00
Ofer Segev
06186d9e8d
Close #242 : added ui indication for offline state
2017-01-19 15:20:52 +02:00
Arik Fraimovich
ddf6fc50a5
New Dockerfile and docker-compose for dev
2017-01-19 15:20:52 +02:00
Arik Fraimovich
af70f34f05
Remove Vagrant related files
2017-01-19 15:20:52 +02:00
Allen Short
d93a325902
API docstrings suitable for generating sphinx docs
2017-01-18 20:43:39 -06:00
Arik Fraimovich
8b74de71ba
Merge pull request #1528 from lab79/patch-1
...
[Vertica] Change: set longer read_timeout
2017-01-17 15:26:25 +02:00
lab79
509c17632a
Update vertica.py
2017-01-17 14:46:09 +03:00
Arik Fraimovich
bca7d08082
Disable eslint packages check
2017-01-16 22:24:02 +02:00
Arik Fraimovich
785b6fc412
Rename codeclimate file
2017-01-16 22:22:23 +02:00
Arik Fraimovich
94891502c3
Merge pull request #1525 from kakoni/patch-1
...
Update amazon linux bootstrap.sh
2017-01-16 17:02:54 +02:00
Arik Fraimovich
8d1b5b4153
Merge pull request #1526 from someones/fix_es_get_query_mappings
...
[ElasticSearch] Fix for #1521
2017-01-16 17:01:29 +02:00
Arik Fraimovich
e586f99cb1
Fix content-base option of webpack-dev-server
2017-01-16 15:10:01 +02:00
Arik Fraimovich
7e986db979
Make webpack-dev-server config more modular
2017-01-16 15:09:45 +02:00
Arik Fraimovich
681fd213da
Fix package name in npm-shrinkwrap
2017-01-16 15:09:15 +02:00
lab79
34f7b2f50a
add read_timeout to configuration_schema
2017-01-16 12:42:47 +03:00
lab79
1a06a5c789
add read_timeout
...
https://github.com/getredash/redash/issues/1527
2017-01-16 11:36:30 +03:00
Adam Griffiths
9d36d39f47
Fix for #1521
...
The merge from #1521 fixed the invalid variable error
but it fixed in in a way that introduced another error:
"dictionary changed size during iteration"
This correctly applies the fix.
2017-01-16 11:45:06 +11:00
Karri Niemelä
c67519e45d
Update amazon linux bootstrap.sh
...
Changed this so it works with recent redash version.
2017-01-15 19:44:46 +02: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
Arik Fraimovich
b7ad138c6c
Add pymongo to requirements_dev
2017-01-15 12:35:17 +02:00
Arik Fraimovich
6124e08fa3
Revert to original codeclimate configuration
2017-01-15 11:27:15 +02:00
Arik Fraimovich
9dd7efe894
Disable our eslint config
2017-01-15 11:24:33 +02:00
Arik Fraimovich
b1e7a767ae
Disable eslint
2017-01-15 11:21:18 +02:00
Arik Fraimovich
99d867f1b4
Check only Python files in redash/
2017-01-15 11:02:20 +02:00
Arik Fraimovich
6de66447bb
Merge pull request #1523 from getredash/codeclimate
...
Add CodeClimate configuration
2017-01-15 10:53:31 +02:00
Arik Fraimovich
de4ff7fc56
Add CodeClimate configuration
2017-01-15 10:39:38 +02:00
Arik Fraimovich
29de13ba87
Merge pull request #1522 from getredash/reorg
...
Move package.json/webpack.config to root directory
2017-01-15 10:33:20 +02:00
Arik Fraimovich
09542138cc
Add missing then
2017-01-15 10:16:04 +02:00
Arik Fraimovich
8f53274f17
Move package.json/webpack.config to top level
2017-01-15 10:13:34 +02:00
Arik Fraimovich
8f1750b9f0
Merge pull request #1521 from getredash/arikfr-patch-1
...
[ElasticSearch] Fix: wrong variable name.
2017-01-13 22:32:46 +02:00
Arik Fraimovich
3d0b90ff2a
[ElasticSearch] Fix: wrong variable name.
...
Fixes #1519 .
2017-01-13 20:51:22 +02:00
Vladislav Denisov
361abac7ad
clickhouse: convert UInt64 to integer type
2017-01-12 14:09:37 +03:00
Arik Fraimovich
57e25786cd
Fix: View Query link was pointing to the wrong page
2017-01-11 17:01:40 +02:00
Arik Fraimovich
47b1b03be7
Merge pull request #1514 from GAwadhwalAtlassian/AthenaQueryRunner_Annotations_Enable
...
[Athena] Change: enable query annotations
2017-01-11 12:08:51 +02:00
Arik Fraimovich
9d7171ffaf
Merge pull request #1515 from denisov-vlad/python_get_schema
...
[Python] Add: get_source_schema method
2017-01-11 12:08:32 +02:00
Vladislav Denisov
34ffdf52c7
Python: rewrited some functions to static, fixed missed commas in safe_builtins
2017-01-11 08:57:02 +03:00
Vladislav Denisov
8226445e4d
Add get_schema method to Python Query runner
2017-01-11 08:53:00 +03:00
Gaurav Awadhwal
4d4822fcfb
Removed the code that disables the query annotations from Athena query runner.
2017-01-11 10:05:07 +11:00
Tyler Rockwood
cb2e6fddf4
Remove unused $scope
2017-01-10 08:52:08 -08:00
Tyler Rockwood
a2be7bf060
Adding an explict toggle for global parameters
2017-01-10 08:46:03 -08:00
Tyler Rockwood
894a85ae63
Remove events on widget delete
2017-01-10 08:25:32 -08:00
Arik Fraimovich
57a0ddb1a9
Add v1 section to the changelog'
2017-01-10 14:55:26 +02:00
Arik Fraimovich
dd24d27558
Merge pull request #1512 from denisov-vlad/python_safe_builtins
...
[Python] Add: define more safe_builtins
2017-01-10 14:55:16 +02:00
Arik Fraimovich
a62db75624
Merge pull request #1513 from denisov-vlad/python_runner_fix
...
Add: get_by_id & get_by_name methods for Query and DataSource classes
2017-01-10 14:26:54 +02:00
Vladislav Denisov
ab0a448c87
Add get_by_id & get_by_name methods for Query and DataSource classes
2017-01-10 15:08:36 +03:00
Vladislav Denisov
5da8c6c0cb
Add safe_builtins in Python query runner
2017-01-10 13:19:47 +03:00
Arik Fraimovich
b11685d8d4
Merge pull request #1509 from GAwadhwalAtlassian/PublicSchema_Name_Fix
...
[Presto/Athena] Change: remove special rule around public schema
2017-01-09 16:57:21 +02:00
sseifert
187b557eee
adapt to new field mapping syntax and add unit tests
2017-01-09 14:40:27 +01:00
sseifert
9126874c87
apply snake_case naming conventions
2017-01-09 14:40:19 +01:00
Arik Fraimovich
4ccf0decbd
It's 2017 now ! 🎉
2017-01-09 08:50:42 +02:00
Gaurav Awadhwal
869fa263f6
Made fixes to Presto & Athena query runners so they do not omit the schema name in autocomplete and shame list if the schema name is ‘public’
2017-01-09 11:51:45 +11:00
sseifert
689a1aac4d
should set nothing instead of empty string as value when no valid list items are found
2017-01-07 12:15:43 +01:00
sseifert
2aae497169
include custom fields in JQL query results
...
convert list values to concatenated strings
support definition of fieldMapping property in query which allows to rename output columns or pick specific members from dict values
2017-01-07 00:41:42 +01:00
Arik Fraimovich
c635d9abed
Add icon to dashboard refresh button
2017-01-05 13:36:56 +02:00
Arik Fraimovich
eb637b69b8
Alert fixes: alert name wasn't set right & couldn't delete alert
2017-01-05 13:36:56 +02:00
Arik Fraimovich
9213a18057
Fix: visualization tab wasnt updating on add/delete.
2017-01-05 13:36:56 +02:00
Arik Fraimovich
07b6b16fda
Fix: show color options in colors dropdown
2017-01-05 13:36:56 +02:00
Arik Fraimovich
bc18b05d0b
Use ui-select native clear button
2017-01-05 13:36:56 +02:00
Arik Fraimovich
6a489bb743
Fix: icons were not aligned in selectors
2017-01-05 13:36:56 +02:00
Tyler Rockwood
b1fd2101df
Refactored to make more efficent and cleaner
2017-01-04 08:29:25 -08:00
Tyler Rockwood
96bc3a5d0e
Adding global params to dashboard by prefixing with '$'
2017-01-03 18:14:36 -08:00
Arik Fraimovich
2df0979be5
Merge pull request #1482 from yershalom/master
...
[Cassandra] Add: schema browser support & explicit protocol version
2017-01-03 10:39:28 +02:00
Arik Fraimovich
512ac9bb27
Move all webpack stuff to devDependencies
2017-01-02 20:57:00 +02:00
Arik Fraimovich
e33439c9f7
Update plotly version & shrinkwrap
2017-01-02 20:50:27 +02:00
Arik Fraimovich
fd19d2b79d
Add shrinkwrap file to the project
2017-01-02 17:25:21 +02:00
Arik Fraimovich
b3d2d5aba2
Set more specific version of Angular
2017-01-02 17:12:32 +02:00
Arik Fraimovich
3dfaea1dcf
Update Node version in circle.yml
2017-01-02 16:58:01 +02:00
Arik Fraimovich
7d8b8a16fd
Merge pull request #1493 from washort/more-commits
...
Fix: more `db.commit()` calls
2017-01-02 16:08:29 +02:00
Arik Fraimovich
1fae6017bd
Change order of db.commit and event logging
2017-01-02 16:07:47 +02:00
Allen Short
d86962b4e3
Commit DB transaction when needed
2017-01-02 16:07:47 +02:00
syerushalmy
ca4db619f2
Fixed from BaseSQLQueryRunner to BaseQueryRunner and get_schema instead of _get_tables
2017-01-02 14:47:54 +02:00
Arik Fraimovich
c39af040fe
Merge pull request #1500 from getredash/v1fixes
...
Remove ng-table and queries search fix
2017-01-02 11:34:28 +02:00
Arik Fraimovich
c900e83bd9
Fix #1499 : queries search should be case insensitive
2017-01-02 11:28:23 +02:00
Arik Fraimovich
589634b621
Remove ng-table
2017-01-02 11:22:09 +02:00
Arik Fraimovich
627f3f4fd5
Merge pull request #1498 from getredash/v1fixes
...
Fix #1452 : Python query runner log information was wrongly formatted
2017-01-02 10:44:27 +02:00
Arik Fraimovich
69339b7c80
Fix #1452 : Python query runner log information was wrongly formatted
2017-01-01 12:46:20 +02:00
Arik Fraimovich
703f996630
Merge pull request #1497 from getredash/v1fixes
...
Fix #16 : when updating dashboard name refresh dashboards dropdown
2017-01-01 12:30:21 +02:00
Arik Fraimovich
e58f703331
Fix #16 : when updating dashboard name refresh dashboards dropdown
2017-01-01 12:09:13 +02:00
Arik Fraimovich
fe363e27a3
Flatten dashboards list in menu
2017-01-01 10:39:42 +02:00
Arik Fraimovich
4e218b76ae
Merge pull request #1496 from getredash/v1fixes
...
Add content hash to JS/CSS build files. Closes #1450
2017-01-01 10:09:08 +02:00
syerushalmy
f54e7b3343
[Cassandra]: Changed test qurey due to error with parsing uuid as a result
2016-12-31 11:11:18 +02:00
Arik Fraimovich
bb24b878c6
Add content hash to JS/CSS build files. Closes #1450
2016-12-30 22:40:51 +02:00
Arik Fraimovich
7182cbb9d3
Merge pull request #1495 from getredash/v1fixes
...
Fix: dashboard filters working again
2016-12-30 22:40:03 +02:00
Arik Fraimovich
48faf50db6
Replace old filters directive with new component
2016-12-30 22:31:09 +02:00
Arik Fraimovich
1db12fa0ec
Fix: counter editor wasn't showoing column names
2016-12-30 22:25:06 +02:00
Arik Fraimovich
c6ef932183
Fix: changes only includes changed properties
2016-12-30 22:24:51 +02:00
Arik Fraimovich
5d3cf5367a
Filters component for use in dashboards
2016-12-30 22:09:02 +02:00
yuua
78408e50c5
impala query_runner get_tables error fix
2016-12-29 10:54:57 +09:00
Arik Fraimovich
ea12dc4038
Merge pull request #1491 from getredash/v1fixes
...
Fix: DynamoDB test connection was broken
2016-12-27 14:52:29 +02:00
Arik Fraimovich
1388e76b48
Fix: DynamoDB test connection was broken
2016-12-27 14:47:12 +02:00
Arik Fraimovich
8d92702fc7
Merge pull request #1490 from getredash/v1fixes
...
v1 fixes (data source delete & visualization first load)
2016-12-27 14:46:46 +02:00
Arik Fraimovich
f5e8fc816c
Fix: data source delete was broken
2016-12-27 14:02:59 +02:00
Arik Fraimovich
b3d0f705be
Fix: visualization wasn't loading on first page load
2016-12-27 12:17:10 +02:00
Arik Fraimovich
894da612f4
Improve data sources create test
2016-12-25 12:57:10 +02:00
Arik Fraimovich
35eb7b0980
Merge pull request #1489 from getredash/snowflake
...
Fix: data source wasn't saving in the UI
2016-12-25 12:47:58 +02:00
Arik Fraimovich
06f96d9258
Fix: data source saving
2016-12-25 12:39:54 +02:00
Arik Fraimovich
01076c0759
Merge pull request #1488 from getredash/snowflake
...
[Data Sources] Add: Snowflake query runner
2016-12-25 12:39:24 +02:00
Arik Fraimovich
490733eff9
Add missing enabled support
2016-12-25 12:33:40 +02:00
Arik Fraimovich
a781d312c0
[Data Sources] Add: Snowflake query runner
2016-12-25 12:29:22 +02:00
Arik Fraimovich
9e5944d563
Merge pull request #1487 from getredash/v1fixes
...
Fix #1432 : delete visualization sends full visualization body instead…
2016-12-23 23:15:32 +02:00
Arik Fraimovich
ff6bb2c45b
Merge pull request #1486 from getredash/v1fixes
...
Close #1451 : render safe HTML in table output
2016-12-23 23:14:06 +02:00
Arik Fraimovich
e4f13253e5
Fix #1432 : delete visualization sends full visualization body instead of only id
2016-12-23 23:13:48 +02:00
Arik Fraimovich
a16b333b93
Close #1451 : render safe HTML in table output
2016-12-23 23:07:32 +02:00
Arik Fraimovich
bff4ebd43d
Merge pull request #1485 from getredash/v1fixes
...
Close #1453 : more minimal notification of draft status for query/dashboard
2016-12-23 23:06:54 +02:00
Arik Fraimovich
7a94bed250
Close #1453 : more minimal notification of draft status for query/dashboard
2016-12-23 22:58:15 +02:00
Arik Fraimovich
e0a010f7be
Merge pull request #1484 from getredash/v1fixes
...
Fix #1457 : sort was using the string value
2016-12-23 22:57:33 +02:00
Arik Fraimovich
40b82004fa
Fix #1457 : sort was using the string value
2016-12-23 22:36:57 +02:00
Arik Fraimovich
3bc98fba5b
Merge pull request #1479 from someones/es_schema
...
[ElasticSearch] Add: enable schema browser
2016-12-23 18:26:49 +02:00
syerushalmy
045c921372
Fixed get_tables for execute 1 query instead of N queries
2016-12-23 11:32:55 +02:00
syerushalmy
420973c015
Added get tables query for cassandra and expilicit protocol version to 3 (Also working with cassandra version 2.1 and above)
2016-12-22 11:32:10 +02:00
Arik Fraimovich
513d74ac7d
Merge pull request #1478 from someones/es_test_connection
...
[ElasticSearch] Fix: connection test was always succesfful
2016-12-21 09:28:20 +02:00
Adam Griffiths
e0d6d3feeb
Enable schema browser for elasticsearch
...
Split _get_mappings into 2 functions.
Add _get_query_mappings which is used by existing logic
and parses the mappings json for query mappings.
Add get_schema which uses basic _get_mappings and recurses
through the mappings json to build a schema for the indices.
2016-12-21 15:22:04 +11:00
Adam Griffiths
ae5b6fbc57
Fix ES test connection
...
Error was being created, but not returned. Which caused it
to always display as success.
2016-12-21 12:15:11 +11:00
Arik Fraimovich
9d579dc089
Merge pull request #1475 from yershalom/master
...
[Cassnadra] Added set_keyspace for easier query cassandra
2016-12-20 23:34:00 +02:00
Arik Fraimovich
94519d1d76
Merge pull request #1476 from getredash/v1fixes
...
Multiple fixes from latest refactors
2016-12-20 23:14:50 +02:00
Arik Fraimovich
9b4cf4d3ee
Fix query saving
2016-12-20 15:58:47 +02:00
Arik Fraimovich
ee57a5bf08
Fix #1456 : large result sets overflow from the frame
2016-12-20 15:54:13 +02:00
Arik Fraimovich
e5aa567c73
Add missing call to session.commit
2016-12-20 15:30:38 +02:00
Arik Fraimovich
0029b4cd7f
Fix #1455 : missing ngInject annotations
2016-12-20 14:27:08 +02:00
syerushalmy
c423832931
Fixed python typo
2016-12-20 14:04:15 +02:00
Arik Fraimovich
bf2366bf1c
Make sure organization is fetched only once
2016-12-20 14:02:56 +02:00
Arik Fraimovich
358d6807e5
Fix groups APIs
2016-12-20 14:02:44 +02:00
syerushalmy
024837137b
Added set_keyspace for easier query cassandra
2016-12-20 13:58:09 +02:00
Arik Fraimovich
6510b01b6c
Fix: user group assignment wasn't persisted
2016-12-20 13:29:32 +02:00
Arik Fraimovich
ac18aedde9
Fix: members endpoint
2016-12-20 12:26:34 +02:00
Arik Fraimovich
70f1a923a3
Fix: dashbaords page not loading
2016-12-20 12:15:48 +02:00
Arik Fraimovich
350b253833
Fix: dashboard drop down not working
2016-12-20 12:13:32 +02:00
Arik Fraimovich
6f3ca1e01a
Rename all re:dash/Re:dash to Readsh. Closes #1396 .
2016-12-20 12:10:33 +02:00
Arik Fraimovich
8d39ee4171
Merge pull request #1474 from yershalom/master
...
[Cassandra] Change: test connection query
2016-12-20 11:54:54 +02:00
syerushalmy
a860c83963
Removed ReadTimeout exception
2016-12-20 11:46:58 +02:00
syerushalmy
f3f39a5b00
Changed exception type to ReadTimeout and added test query for test connection
2016-12-19 21:35:36 +02:00
Arik Fraimovich
e6e83423e7
Merge pull request #1468 from getredash/athena
...
[Datasources] Add: Amazon Athena query runner
2016-12-15 15:30:21 +02:00
Arik Fraimovich
d0696853af
Amazon Athena query runner
2016-12-15 15:16:04 +02:00
Arik Fraimovich
b07b347faa
Merge pull request #1433 from luke14free/graphs_errors_from_master
...
[Charts] Add: errors bands in graphs
2016-12-13 19:24:43 +02:00
Arik Fraimovich
47c54b3c85
Merge pull request #1464 from jaykelin/master
...
[Clickhouse] Change: use UTF-8 encoding for POST data
2016-12-12 10:05:49 +02:00
Jayke.Lin
d4534d6045
Using UTF-8 encoding for clickhouse POST data
2016-12-12 11:05:16 +08:00
Arik Fraimovich
3cf6e31727
Forgot to add Flaks-Migrate to requirements.txt. 😳
2016-12-11 16:43:50 +02:00
Arik Fraimovich
d631171e81
Fix Query.recent tests
2016-12-11 15:54:13 +02:00
Arik Fraimovich
4df58bb724
Merge pull request #1440 from whummer/fix/dashboard-layout-error
...
Fix: API errors for dashboards with invalid layout data
2016-12-11 15:43:03 +02:00
Arik Fraimovich
19960eedda
Merge pull request #1417 from washort/sqlalchemy
...
Change: Replace Peewee with SQLAlchemy/Alembic
2016-12-11 15:42:07 +02:00
Arik Fraimovich
b3bfc3bc74
Bring back support for total query time/queries count
2016-12-11 15:41:07 +02:00
Arik Fraimovich
1978e07748
Use group ids instead of groups in Queries.search/recent
2016-12-11 15:11:30 +02:00
Allen Short
e524db0215
Measure query time with statsd
2016-12-09 18:21:56 -06:00
Arik Fraimovich
81fb139b88
Add shell_context_processor to inject models to shell.
2016-12-08 16:16:53 +02:00
Arik Fraimovich
1d18109964
Fix tests that used Query.all_queries
2016-12-08 16:07:25 +02:00
Arik Fraimovich
c380596930
Fix cases where we used User.groups instead of User.group_ids
2016-12-08 16:02:51 +02:00
Arik Fraimovich
106c743647
Keep same logging format in ALembic
2016-12-08 15:36:08 +02:00
Arik Fraimovich
12cbfe1af4
Stamp database on first creation
2016-12-08 15:35:54 +02:00
Arik Fraimovich
3cce4d0ce4
Add warning script to migrations folder
2016-12-08 14:59:21 +02:00
Allen Short
4945d0bec7
fix cleanup_query_results task
2016-12-07 19:59:48 -06:00
Allen Short
4ba399af67
fix basic query execution from UI
2016-12-07 17:57:21 -06:00
Allen Short
da31d983b7
Fix test_cli tests
2016-12-07 13:18:07 -06:00
Arik Fraimovich
923c463e4a
Add migration for the is_draft column
2016-12-07 18:33:52 +02:00
Arik Fraimovich
70d545410d
Add Flask-Migrate to the project
...
Also moved old migrations to old_migrations folder (before deleting them entirely).
2016-12-07 17:59:01 +02:00
Arik Fraimovich
74e6ef5c1d
Fix users CLI tests
2016-12-07 15:54:08 +02:00
Arik Fraimovich
abf57e4e70
Upgrade setuptools to install mock
2016-12-07 15:33:58 +02:00
Arik Fraimovich
2d206ef470
Switch to flask.cli.AppGroup instead of flask.cli.with_app_context
2016-12-07 15:21:13 +02:00
Arik Fraimovich
2b33963bee
Add missing db.session.commit calls in CLI
2016-12-07 15:11:42 +02:00
Arik Fraimovich
a84c3e25f5
Move CLI logic into redash.cli and uses manager for tests.
...
Otherwise the Flask wasn't created and tests were failing.
2016-12-07 14:58:33 +02:00
Arik Fraimovich
b9024b18c1
Remove unused code
2016-12-07 14:00:37 +02:00
Arik Fraimovich
bcce9cf251
Update circle.yml to skip docker builds for now
2016-12-07 14:00:03 +02:00
Arik Fraimovich
80a7d377fe
Fix: set the column name of QueryResult.query_text
2016-12-07 12:43:17 +02:00
Arik Fraimovich
73121890b3
Remove usage of the deprecated flask.ext package
2016-12-07 12:42:46 +02:00
Arik Fraimovich
51117e8e5b
Update dependencies to more latest versions
2016-12-07 12:42:01 +02:00
Arik Fraimovich
fb75626458
Create default visualization using a method instead of signal
2016-12-07 12:02:57 +02:00
Arik Fraimovich
045e880f25
Add dedicated delete method to widgets instead of using an event
2016-12-07 12:02:46 +02:00
Arik Fraimovich
0c974bd48b
Update User.find_by_email to SQLA
2016-12-07 12:02:31 +02:00
Arik Fraimovich
463da02be1
remove group_hack method (unused)
2016-12-07 12:01:44 +02:00
Arik Fraimovich
ecbed0087e
Update create_and_login_user not to call save
2016-12-07 12:01:34 +02:00
Arik Fraimovich
8c2b310419
Add tests to alerts celery task
2016-12-07 12:01:22 +02:00
Arik Fraimovich
6b0e45441c
Update QuerySnippets code to SQLA
2016-12-07 12:01:03 +02:00
Arik Fraimovich
74e1b3119f
Remove dead code
2016-12-07 12:00:01 +02:00
Allen Short
dc6bc071f1
work around flask proxy object
2016-12-07 03:09:55 -06:00
Allen Short
4edc3e3f21
gratuitous admin query fix
2016-12-07 03:09:41 -06:00
Allen Short
8280859ad3
add test coverage for remaining queries to convert
2016-12-07 03:09:33 -06:00
Arik Fraimovich
f3d813445b
Fix data source models tests
2016-12-07 03:09:33 -06:00
Allen Short
520835dad0
Fix test_cli
2016-12-07 03:09:33 -06:00
Arik Fraimovich
a5805d0700
Fix session api (used groups instead of group_ids)
2016-12-07 02:13:52 -06:00
Arik Fraimovich
03b2a416c8
Fix queries update handler
2016-12-07 02:13:52 -06:00
Arik Fraimovich
7d45812ef7
Add setting to enable SQLA echo mode
2016-12-07 02:13:52 -06:00
Arik Fraimovich
3f54799020
More destination handlers test fixes
2016-12-07 02:13:52 -06:00
Arik Fraimovich
c0f48909a7
Fix destinations handlers code
2016-12-07 02:13:52 -06:00
Allen Short
9b5aaa787d
test_permissions, test_changes, test_queries
2016-12-07 02:13:20 -06:00
Allen Short
271b468bcb
test_alerts
2016-12-07 02:13:20 -06:00
Allen Short
6c3d5d184e
test_queries
2016-12-07 02:13:20 -06:00
Allen Short
261b374924
test_permissions
2016-12-07 02:13:20 -06:00
Allen Short
9f789d3018
test_paginate
2016-12-07 02:13:20 -06:00
Allen Short
29cdfcd7a1
test_embed, test_groups
2016-12-07 02:13:20 -06:00
Arik Fraimovich
d103e3f7bf
Fix groups tests (except for delete)
2016-12-07 02:13:20 -06:00
Arik Fraimovich
c5548e9375
Fix query handlers test
2016-12-07 02:13:20 -06:00
Arik Fraimovich
802b812932
Fix query results tests
2016-12-07 02:13:20 -06:00
Arik Fraimovich
9c1450f4c9
Fix users handlers tests
2016-12-07 02:13:20 -06:00
Arik Fraimovich
4459c464ca
use Query#query_text instead of Query#query
2016-12-07 02:13:20 -06:00
Arik Fraimovich
f4c76527ee
Fix refresh queries tests
2016-12-07 02:13:20 -06:00
Arik Fraimovich
419234a23e
Fix widget tests
2016-12-07 02:13:20 -06:00
Arik Fraimovich
b61dbfa16b
Fix test_authentication tests
2016-12-07 02:13:20 -06:00
Arik Fraimovich
6b2d6a22f5
Change groups property of ApiUser to be group_ids
2016-12-07 02:13:20 -06:00
Arik Fraimovich
c355eeffb6
Fix test_permissions tests
2016-12-07 02:13:20 -06:00
Allen Short
c6ef6041cf
test_data_sources passes
2016-12-07 02:13:20 -06:00
Allen Short
dff39a6849
test_dashboards passes
2016-12-07 02:13:20 -06:00
Allen Short
bb755b5c25
test_models fixes
2016-12-07 02:13:20 -06:00
Allen Short
d1fcb43562
test_alerts passes
2016-12-07 02:13:20 -06:00
Arik Fraimovich
811a4ef248
Fix accesspemrissions tests
2016-12-07 02:13:20 -06:00
Arik Fraimovich
c386ff91d6
Fix data source models tests
2016-12-07 02:13:20 -06:00
Arik Fraimovich
8680ebe96f
Change Dashboard factory to generate non drafts
2016-12-07 02:13:20 -06:00
Arik Fraimovich
d59299b85a
Fix Alert model tests
2016-12-07 02:13:20 -06:00
Arik Fraimovich
9210f5fb0c
Remove unused code
2016-12-07 02:13:20 -06:00
Allen Short
c2378d837a
test_handlers passes
2016-12-07 02:13:20 -06:00
Arik Fraimovich
90879c964f
Simplify query api key generation
2016-12-07 02:13:20 -06:00
Arik Fraimovich
2a525210e4
Start fixing visualizations tests
2016-12-07 02:13:20 -06:00
Arik Fraimovich
04447e0df6
Fix: connections leaking during tests.
2016-12-07 02:13:20 -06:00
Arik Fraimovich
55cb3747ed
Use db.drop_all/create_all directly
2016-12-07 02:13:20 -06:00
Arik Fraimovich
2bff12b376
Update all tests to use the same test_client
2016-12-07 02:13:20 -06:00
Arik Fraimovich
b390cd2e3d
Close DB connection between tests.
...
Otherwise we were running out of connections.
2016-12-07 02:13:20 -06:00
Arik Fraimovich
f55b836896
Fix: fix database URL
2016-12-07 02:13:20 -06:00
Allen Short
982667ffa9
Make draft status for queries and dashboards toggleable.
2016-12-07 02:13:20 -06:00
Allen Short
f00d77dec4
auth tests wip
2016-12-07 02:13:20 -06:00
Allen Short
ea166665d3
test_models passes
2016-12-07 02:13:20 -06:00
Allen Short
d2aef544c3
properly handle view_only permission in groups API
2016-12-07 02:13:20 -06:00
Allen Short
24217d969e
schema for sqlalchemy, basic test support
2016-12-07 02:13:20 -06:00
Arik Fraimovich
dde55e764b
Merge pull request #1458 from washort/click
...
Change: switch from flask_script to click, add CLI unit tests and upgrade Flask version
2016-12-06 23:38:03 +02:00
Allen Short
80491ea4c2
Switch from flask_script to click, add CLI unit tests.
2016-12-06 15:14:44 -06:00
Arik Fraimovich
c2f9e376be
Merge pull request #1460 from washort/master
...
Run webpack on all branches
2016-12-06 22:52:25 +02:00
Allen Short
20a0d95c1f
make deps on all branches
2016-12-06 14:08:48 -06:00
Arik Fraimovich
fcd623e203
Merge pull request #1438 from someones/better_json_errors
...
[ElasticSearch] Change: use simplejson for better error descriptions
2016-12-06 11:47:44 +02:00
Arik Fraimovich
4b6d4c14d0
Merge pull request #1454 from getredash/fix-eprovider
...
Fix: eProvider not found errors
2016-12-06 11:15:02 +02:00
Arik Fraimovich
550310ea63
Fix: eProvider not found errorso
2016-12-06 11:13:47 +02:00
luke14free
e7fdc23b03
wrong check
2016-12-04 10:56:13 +01:00
luke14free
a754e58fd8
Explicitly checking undefined values
2016-12-04 10:50:03 +01:00
Arik Fraimovich
17895d09a9
Correct version.
2016-12-02 17:25:17 +02:00
Arik Fraimovich
8201509216
Update bootstrap.sh for v0.12.0
...
Fixes #1442 .
2016-12-02 17:24:18 +02:00
Arik Fraimovich
f3df2b1d7a
Merge pull request #1441 from someones/fix_angular15
...
Fix symlinks to /frontend. Should be /client
2016-12-02 08:40:13 +02:00
Adam Griffiths
e546592c01
Fix symlinks to /frontend. Should be /client
2016-12-02 11:14:24 +11:00
Waldemar Hummer
eaa0b5da09
fix https://github.com/getredash/redash/issues/1439
2016-12-02 10:32:41 +11:00
Arik Fraimovich
ba60bfa3b0
Update version reference in bootstrap.sh.
2016-12-01 10:54:50 +02:00
Adam Griffiths
4cd58cdacf
Use simplejson for better error descriptions.
...
The standard json library only provides an error
that the json failed to parse.
simplejson provides actual character and line numbers
along with an expected character in it's errors.
This makes writing elasticsearch queries much easier.
2016-12-01 11:34:57 +11:00
Arik Fraimovich
196177021c
Merge pull request #1435 from mattrobenolt/safe-builtins
...
Whitelisting more builtin primitives
2016-11-28 23:13:12 +02:00
Matt Robenolt
bce2e3323a
Whitelisting more builtin primitives
...
This is also a slight refactor to make it easier to expand on this list
of builtins we allow.
Also, doesn't mutate the global `safe_builtins` dict every time from
`RestrictedPython`, instead, opts for copying the dict first.
2016-11-28 11:38:25 -08:00
luke14free
624a144880
Fix: add error bands to plotly only if they are set by the user
2016-11-28 11:43:08 +01:00
luke14free
870e7c200e
Adding errors bands in graphs and fixing chart-edit bugs
2016-11-28 11:33:04 +01:00
Arik Fraimovich
f473e18bef
Merge pull request #1376 from getredash/webpack
...
Change: upgrade the frontend stack
2016-11-28 10:34:38 +02:00
Arik Fraimovich
a463bad9b5
Add missing feature to the changelog.
2016-11-28 10:24:56 +02:00
Arik Fraimovich
14d46063af
Make keyboard shortcuts work again
2016-11-28 10:18:17 +02:00
Arik Fraimovich
dca899883c
Bring back pace
2016-11-28 09:51:51 +02:00
Arik Fraimovich
b5e2234234
Set title
2016-11-27 15:49:17 +02:00
Arik Fraimovich
b507c7cdb1
Fix authentication handling for embeds
2016-11-27 15:31:04 +02:00
Arik Fraimovich
51528508ba
Make sure session is loaded before route is rendered
2016-11-27 14:02:29 +02:00
Arik Fraimovich
724b7675c7
Fix: query filters
2016-11-27 13:08:37 +02:00
Arik Fraimovich
1ea9f0e900
Fix: sometimes order of columns in table was wrong
2016-11-27 13:08:22 +02:00
Arik Fraimovich
8901079084
Fix new dashboard link in app header
2016-11-27 13:08:07 +02:00
Arik Fraimovich
c25a4e3285
Fix dashboard creation
2016-11-27 13:07:11 +02:00
Arik Fraimovich
5a3033aeb6
Add /dashboards to list of paths
2016-11-27 13:07:03 +02:00
Arik Fraimovich
cd670b677a
Implement sorting for data tables
2016-11-27 12:00:47 +02:00
Arik Fraimovich
2067eab56b
Fix: query snippets were broken
2016-11-27 12:00:22 +02:00
Arik Fraimovich
7c5d395736
Show correct embed URL
2016-11-27 10:55:47 +02:00
Arik Fraimovich
0a06d516e2
Remove input-errors/show-errors usage
2016-11-26 12:16:41 +02:00
Arik Fraimovich
68ccf4b13a
Remove references to rd_ui
2016-11-26 12:01:42 +02:00
Arik Fraimovich
c029e13ba2
Migrate the draft functionality and fork to this branch
2016-11-26 11:54:14 +02:00
Arik Fraimovich
a874d88667
Fix tests & update CircleCI configuration
2016-11-26 11:35:21 +02:00
Arik Fraimovich
3314599be7
Webpack build notifier
2016-11-26 11:35:21 +02:00
Arik Fraimovich
bb64b17e45
Udpate webpack config
2016-11-26 11:35:21 +02:00
Arik Fraimovich
5c99175d2e
change default settings to use client/dist
2016-11-26 11:35:21 +02:00
Arik Fraimovich
0a06f950d5
Working embeds & renamed frontend to client
2016-11-26 11:35:21 +02:00
Arik Fraimovich
50fcb14fda
Working login/logout, real session data & public dashboard page
...
Fixes #1276 .
2016-11-26 11:35:21 +02:00
Arik Fraimovich
73e5ed4a07
use clientconfig in datetime filter
2016-11-26 11:34:43 +02:00
Arik Fraimovich
4ef4f98a66
Load currentUser/clientConfig from server
2016-11-26 11:34:43 +02:00
Arik Fraimovich
8676eb000d
Change queries/format call to return JSON object
2016-11-26 11:33:49 +02:00
Arik Fraimovich
3fecc023d2
Move backend templates into redash/templates
2016-11-26 11:33:49 +02:00
Arik Fraimovich
afc31aea9a
Remove unused files
2016-11-26 11:33:49 +02:00
Arik Fraimovich
3070d85789
change sourcemaps generation method
2016-11-26 11:33:49 +02:00
Arik Fraimovich
8952919f41
Pivot table visualization
2016-11-26 11:33:49 +02:00
Arik Fraimovich
c67828f48d
Map visualization
2016-11-26 11:33:49 +02:00
Arik Fraimovich
8e55be9712
Cohort visualization|
2016-11-26 11:33:49 +02:00
Arik Fraimovich
2ef8ecd14a
Add wordcloud and boxplot visualizations
2016-11-26 11:33:49 +02:00
Arik Fraimovich
2b9066bb49
Sankey visualization
2016-11-26 11:33:49 +02:00
Arik Fraimovich
7dbd20cb15
Cleanup eslint issues
2016-11-26 11:33:49 +02:00
Arik Fraimovich
9579c0a970
Sunburst visualization
2016-11-26 11:33:49 +02:00
Arik Fraimovich
d237943a85
remove .env.example file
2016-11-26 11:33:49 +02:00
Arik Fraimovich
ca3c934ee4
Remove old gulp file & package.json
2016-11-26 11:33:49 +02:00
Arik Fraimovich
55e3d86308
Backport changes made after creating this pull request
2016-11-26 11:33:49 +02:00
Arik Fraimovich
df5e1b51d0
Remove manual injections
2016-11-26 11:33:49 +02:00
luke14free
599fe5f4de
Adding capabilities to the original script runner
2016-11-26 11:33:49 +02:00
luke14free
f7eec278c9
Adding a query runner for generic script execution
2016-11-26 11:33:49 +02:00
Arik Fraimovich
0ced011f0f
Address lint issues
2016-11-26 11:33:49 +02:00
Arik Fraimovich
0ab815ba9c
Remove unused logging
2016-11-26 11:33:49 +02:00
Arik Fraimovich
4b191637ea
Working dashboard editor
2016-11-26 11:33:49 +02:00
luke14free
02d27c1a0b
Improving security checks & removing unused log
2016-11-26 11:33:49 +02:00
luke14free
edd2a1b547
Adding correct classes for the toggle and option to stop refresh
2016-11-26 11:33:49 +02:00
luke14free
4c3de76ea1
Making select menu for refresh choice look nicer
2016-11-26 11:33:49 +02:00
luke14free
21cfa35211
Fixing stupid concatenation typo
2016-11-26 11:33:49 +02:00
luke14free
b88f36a9f9
Add: autorefresh capabilities do dashboard
2016-11-26 11:33:49 +02:00
luke14free
3743ef5611
Adding capabilities to the original script runner
2016-11-26 11:33:49 +02:00
luke14free
f9260ca60f
Adding clientConfig for JS visualization
2016-11-26 11:33:49 +02:00
luke14free
a368b14a97
Fixing wrong package version and ES6 compliance
2016-11-26 11:33:49 +02:00
luke14free
e9746ac528
Removing unused pagination import
2016-11-26 11:33:49 +02:00
luke14free
b9664141d5
Removing tabs and making the changes ES6 compliant
2016-11-26 11:33:49 +02:00
luke14free
f5c43d819a
finally moving variables to this
2016-11-26 11:33:49 +02:00
luke14free
ff697109c3
Remove variables with $scope and use self
2016-11-26 11:33:49 +02:00
luke14free
0e6b68d3b2
Fixing CSS
2016-11-26 11:33:49 +02:00
luke14free
21283caae6
Adding a query runner for generic script execution
2016-11-26 11:33:49 +02:00
luke14free
f44912babe
Hide tabs when viz type is set to custom
2016-11-26 11:33:49 +02:00
luke14free
71be7aa1ee
Fixing console log reporting and option label
2016-11-26 11:33:49 +02:00
luke14free
df11077279
Removing unused import
2016-11-26 11:33:49 +02:00
luke14free
d929226c69
Adding custom javascript charts
2016-11-26 11:33:49 +02:00
Arik Fraimovich
f372e68cb8
Add queries results page
2016-11-26 11:33:49 +02:00
luke14free
55d8f9e01c
Adding dropdown menu link to the dashboards page
2016-11-26 11:33:49 +02:00
luke14free
0b6d2b4486
Unpaginated results
2016-11-26 11:33:49 +02:00
luke14free
b249b9a444
Working version of the dashboard page
2016-11-26 11:33:49 +02:00
Arik Fraimovich
00bd38771d
add back the vendor scripts file
2016-11-26 11:33:49 +02:00
Arik Fraimovich
99815b7c71
autofocus directive
2016-11-26 11:33:49 +02:00
Arik Fraimovich
59c3f3859d
Make create dashboard work
2016-11-26 11:33:49 +02:00
Arik Fraimovich
fece3f8269
Make ui-sortable work again
2016-11-26 11:33:49 +02:00
Arik Fraimovich
d02c4e7f8d
Add widget dialog
2016-11-26 11:33:49 +02:00
Arik Fraimovich
416f7da75f
Query view/edit screens
2016-11-26 11:33:49 +02:00
Arik Fraimovich
d561904aa6
First version of query pages
2016-11-26 11:33:41 +02:00
Arik Fraimovich
33834a4436
data sources pages
2016-11-26 11:33:41 +02:00
Arik Fraimovich
b76fbc2150
Destinations editor
2016-11-26 11:33:41 +02:00
Arik Fraimovich
e0aeae4541
Desitnations list
2016-11-26 11:33:41 +02:00
Arik Fraimovich
54eb2fed50
remove edit-in-place directive
2016-11-26 11:33:41 +02:00
Arik Fraimovich
cb01381dfa
Migrate the group list and show page
2016-11-26 11:33:41 +02:00
Arik Fraimovich
98cc0fe1ce
Fix new user form to show errors
2016-11-26 11:33:41 +02:00
Arik Fraimovich
3583f57d00
new user page
2016-11-26 11:33:41 +02:00
Arik Fraimovich
de91bb941b
User show page
2016-11-26 11:33:41 +02:00
Arik Fraimovich
6eb083193f
Add users list page
2016-11-26 11:33:41 +02:00
Arik Fraimovich
d49e5f9d57
Query snippets pages
2016-11-26 11:33:41 +02:00
Arik Fraimovich
0e5325ef1c
Remove code from rd_ui that was already migrated to frontend
2016-11-26 11:33:41 +02:00
Arik Fraimovich
db795c7b59
Remove unused test code
2016-11-26 11:33:12 +02:00
Arik Fraimovich
bbbaa7a842
working version of chart visualization
2016-11-26 11:33:12 +02:00
Arik Fraimovich
ee31edf690
Visualzations base & table visualization
2016-11-26 11:33:12 +02:00
Arik Fraimovich
22236c7ffe
Add alerts and admin pages
2016-11-26 11:33:12 +02:00
Arik Fraimovich
9c9feee7b5
Queries page
2016-11-26 11:33:12 +02:00
Arik Fraimovich
4ad53eb8dd
Support for pushstate in dev server
2016-11-26 11:33:12 +02:00
Arik Fraimovich
aa529e40d3
Initial config
2016-11-26 11:33:12 +02:00
Arik Fraimovich
0318be5ed9
Separate npm modules to their own JS file
2016-11-26 11:33:12 +02:00
Arik Fraimovich
da790de60d
First page implemented (home)
2016-11-26 11:33:12 +02:00
Arik Fraimovich
4e0c9af18d
Migrated services & app header component
2016-11-26 11:33:12 +02:00
Arik Fraimovich
56bdea2d8d
Migrate filters
2016-11-26 11:33:12 +02:00
Arik Fraimovich
a83646070f
Initial Webpack setup
2016-11-26 11:33:12 +02:00
Arik Fraimovich
6f52c50adc
Merge pull request #1429 from someones/es_error_propagation
...
Add missing error check from #1402
2016-11-25 18:19:44 +02:00
Adam Griffiths
c449bfbcf5
Add missing error check
2016-11-25 10:18:54 +11:00
Arik Fraimovich
47c1ac89f2
Merge pull request #1405 from denisov-vlad/google_analytics
...
[Datasources] Add: simple Google Analytics query runner
2016-11-24 22:18:02 +02:00
Vladislav Denisov
6bdc863b64
google_analytics: review fixes #2
2016-11-24 23:17:04 +03:00
Arik Fraimovich
9b6b27a002
Merge pull request #1409 from denisov-vlad/clickhouse
...
[Datasources] Add: Add query runner for Yandex ClickHouse
2016-11-24 21:52:26 +02:00
Arik Fraimovich
b9aeb2f419
Merge pull request #1427 from getredash/cass
...
[Cassandra] Fix: remove reference to non existing Error class
2016-11-24 21:50:05 +02:00
Vladislav Denisov
92dee61bcd
google_analytics: added accounts and properties as schema tables
2016-11-23 17:17:05 +03:00
Arik Fraimovich
f3db250fd7
[Cassandra] Fix: remove reference to non existing Error class
2016-11-23 13:05:28 +02:00
Arik Fraimovich
9f68deefea
Merge pull request #1256 from ninneko/fork_with_vis
...
Change: when forking a query, copy all visualizations
2016-11-23 11:49:26 +02:00
Vladislav Denisov
8eefad290b
google_analytics: review fixes
2016-11-23 12:48:10 +03:00
Arik Fraimovich
0947491400
Merge pull request #1423 from getredash/cass_error
...
[Cassandra] Fix: cassandra.cluster.Error wasn't imported
2016-11-23 10:53:54 +02:00
Vladislav Denisov
f572315e9d
clickhouse: changed exception's message type to unicode
2016-11-23 11:53:11 +03:00
Arik Fraimovich
52c71bc740
[Cassandra] Fix: cassandra.cluster.Error wasn't imported
...
Fixed #1422 .
2016-11-23 10:51:06 +02:00
Vladislav Denisov
3a80dfff39
review fixes
2016-11-23 10:15:03 +03:00
Arik Fraimovich
e6482cffab
Merge pull request #1421 from getredash/arikfr-patch-1
...
Change: [BigQuery] only specify useLegacySQL is it's True
2016-11-22 23:55:16 +02:00
Arik Fraimovich
971f961bcd
Merge pull request #1353 from washort/draft-toggle
...
Change: make draft status for queries and dashboards toggleable
2016-11-22 23:38:33 +02:00
Arik Fraimovich
4cb0f910ea
Change: [BigQuery] only specify useLegacySQL is it's False
2016-11-22 23:25:10 +02:00
Arik Fraimovich
265c9733ba
Merge pull request #1419 from ehfeng/master
...
Change: use redash.utils.json_dumps instead of json.dumps in Python query runner
2016-11-22 15:27:43 +02:00
Eric Feng
a834b08603
Switching to redash.utils.json_dumps
...
Currently, python runner is returning datetime objects as unicode strings. `redash.utils.json_dumps` returns them as native python datetime objects.
2016-11-21 13:13:08 -08:00
Vladislav Denisov
a66136e6a4
clickhouse: removed unused code
2016-11-20 14:50:38 +03:00
Arik Fraimovich
037d196557
Merge pull request #1373 from AntoineAugusti/rate-limit-login
...
Add: rate limit the login page
2016-11-20 13:47:16 +02:00
Antoine Augusti
9118464970
Rate limit the login page
2016-11-20 12:44:43 +01:00
Vladislav Denisov
c94daceb5f
google_analytics: added date/datetime parsing
2016-11-20 14:18:02 +03:00
Vladislav Denisov
0a0ca219d0
google_analytics: removed unused code
2016-11-20 13:54:58 +03:00
Arik Fraimovich
e65ec8cf4b
Merge pull request #1402 from someones/es_error_propagation
...
Change: correctly propagate ElasticSearch errors to the UI
2016-11-20 12:49:39 +02:00
Vladislav Denisov
d03cafc09b
clickhouse: added more column types
2016-11-20 13:14:17 +03:00
Arik Fraimovich
3b7f167861
Merge pull request #1371 from vitorbaptista/feature/show_admins_the_password_reset_link
...
Change: display user's password reset link to the admin when mail server disabled
2016-11-20 11:30:55 +02:00
Arik Fraimovich
a951034f4b
Update release notes.
2016-11-20 11:16:38 +02:00
Arik Fraimovich
8a622fb7ca
Bump version to 1.0.0.
2016-11-20 10:58:11 +02:00
Arik Fraimovich
ca39892c64
Update release date of 0.12.0.
2016-11-20 10:57:40 +02:00
Vladislav Denisov
bdee3392ec
clickhouse: query runner for Yandex.Clickhouse DB
2016-11-18 15:48:01 +03:00
Adam Griffiths
8ad336ad71
Propagate elasticsearch errors to the UI
...
Handle and correctly print various errors which
we're being obscured as "Unable to serialise JSON"
errors.
Requests' exceptions also have non-json serializable
characters, and so have to be converted to a safer format.
2016-11-18 12:49:36 +11:00
Adam Griffiths
60a4c3de04
PEP8 updates for ES query runner
2016-11-18 12:49:19 +11:00
Vladislav Denisov
de64c4c80c
simple GA query runner
2016-11-17 17:56:52 +03:00
Vitor Baptista
3ca78bebde
Fix conditions to show the user reset link
2016-11-16 17:38:17 +00:00
Arik Fraimovich
2d7a497073
Merge pull request #1398 from getredash/012patches
...
Fix: missing images after minification
2016-11-16 08:58:47 +02:00
Arik Fraimovich
788c16ce37
Fix #1389 : missing images after minification
2016-11-16 08:53:16 +02:00
Arik Fraimovich
2de4aa2a0c
Merge pull request #1395 from getredash/012patches
...
Change: switch to requests in URL query runner
2016-11-15 18:23:06 +02:00
Arik Fraimovich
10cbb7fd52
Change: switch to requests in URL query runner
2016-11-15 18:19:44 +02:00
Arik Fraimovich
0cbbe7095d
Merge pull request #1394 from getredash/012patches
...
Fix: conflict handling in dashboard widget editing was wrong
2016-11-15 16:05:30 +02:00
Arik Fraimovich
c88dafa4ad
Fix: update version after deleting a widget
2016-11-15 15:57:34 +02:00
Arik Fraimovich
48a79fe996
Fix #1383 : dashboard co-editors shuould be able to edit widgets
2016-11-15 15:53:06 +02:00
Arik Fraimovich
b70a24f6b4
Fix 1388: Wrong detection of conflict after adding a widget to the dashboard
2016-11-15 15:52:36 +02:00
Arik Fraimovich
d1b82694a6
Fix author name on #1113 .
2016-11-15 15:51:46 +02:00
Arik Fraimovich
db1a941459
Merge pull request #1392 from getredash/012patches
...
Update documentation links to point at the new location.
2016-11-15 14:04:56 +02:00
Arik Fraimovich
e22706692a
Remove old documentation. 👋
2016-11-15 14:01:15 +02:00
Arik Fraimovich
c06aeae84f
Update references to documentation to point at the new one
2016-11-15 13:56:55 +02:00
Arik Fraimovich
e0617d9ad7
Merge pull request #1243 from kassyuz/patch-1
...
Create proxy_pass.rst
2016-11-15 13:17:54 +02:00
yohei.naruse
8c78252ea2
fix tests
2016-11-11 02:21:30 +09:00
Arik Fraimovich
29a2fb1931
Merge pull request #1382 from getredash/changelog
...
Add: a changelog
2016-11-10 10:06:16 +02:00
Arik Fraimovich
e21799a754
Add a changelog 📜 💥
2016-11-10 10:05:09 +02:00
yohei.naruse
1ad0c9c75f
fix errors
2016-11-09 00:37:16 +09:00
Vitor Baptista
438ebb940e
Fix condition to show forgotten password link and alter its message
2016-11-07 18:13:33 +00:00
Arik Fraimovich
d6febb0cb4
Merge pull request #1375 from moonami/issue-1247
...
Fix: Download Dataset does not work when not logged in
2016-11-07 10:38:38 +02:00
yohei.naruse
7bc71c9cb5
apply review.
2016-11-06 03:05:48 +09:00
yohei.naruse
519964a179
delete unused code
2016-11-06 03:05:48 +09:00
yohei.naruse
1d486938c1
fix bugs
2016-11-06 03:05:47 +09:00
yohei.naruse
ad3d01280a
modify front scripts to use query fork api
2016-11-06 03:04:30 +09:00
yohei.naruse
3216e67b41
add query fork api
2016-11-06 03:03:04 +09:00
yohei.naruse
e5665879bd
add query fork to models.py
2016-11-06 03:02:11 +09:00
Arik Fraimovich
61fe16e18e
Merge pull request #1374 from washort/cors-star
...
Add: allow '*' in REDASH_CORS_ACCESS_CONTROL_ALLOW_ORIGIN
2016-11-05 17:46:55 +02:00
Joshua Dechant
2184f53277
JS vars should be camelCase
2016-11-04 23:46:54 -04:00
Joshua Dechant
733f245e36
This fixes #1247
2016-11-04 12:40:53 -04:00
Allen Short
6c4294b64d
Allow '*' in REDASH_CORS_ACCESS_CONTROL_ALLOW_ORIGIN
2016-11-02 16:31:58 -05:00
Vitor Baptista
69c1f15ce9
Wrap "Password Reset Button" in form group to visually separate it
2016-11-02 18:23:15 +00:00
Vitor Baptista
72389b00c9
Display user's password reset link to the admin
...
Similarly to when we invite new users, this allows the admin to reset the
password herself (or send it manually to the user), in cases where there's some
issue sending the e-mail.
2016-11-02 18:20:05 +00:00
Allen Short
65a6385380
Make draft status for queries and dashboards toggleable.
2016-11-02 12:31:33 -05:00
Arik Fraimovich
2f090435a5
Merge pull request #1113 from whummer/feat/share-access-permissions
...
Add: share modify/access permissions for queries and dashboard
2016-10-28 19:11:03 +03:00
Arik Fraimovich
d9bad96e8e
Remove MQL tests
2016-10-28 18:16:54 +03:00
Arik Fraimovich
b7a5d95bb8
Add JIRA connection test
2016-10-28 18:13:20 +03:00
Arik Fraimovich
ab85e43e58
Fix graphite test connection method
2016-10-28 17:50:26 +03:00
Arik Fraimovich
96553ad942
Merge pull request #1369 from someones/es_test_fix
...
Fix: missing format call in Elasticsearch test method
2016-10-28 09:14:10 +03:00
Adam Griffiths
c1847fbc12
Fix missing format call
2016-10-28 15:44:59 +11:00
Arik Fraimovich
dc345aa363
Fix: bring back correct timeout value
2016-10-27 19:34:00 +03:00
Arik Fraimovich
002f794f2a
Merge pull request #1368 from getredash/rand
...
Change: added ability to disable auto update in admin views
2016-10-27 19:32:16 +03:00
Arik Fraimovich
d2c64c6da2
Ability to disable auto update in admin views
2016-10-27 19:28:43 +03:00
Arik Fraimovich
e2595e7540
Show queues data sources in a pop over
2016-10-27 19:21:42 +03:00
Arik Fraimovich
aa5d14ed02
Merge pull request #1366 from deecay/master
...
Change: improve error message for exception in the Python query runner
2016-10-27 09:35:00 +03:00
deecay
4ba7aa1fc0
Improve error message for exception.
2016-10-27 11:16:04 +09:00
Arik Fraimovich
fd9dc4b4e8
Update controller/view name
2016-10-26 22:17:17 +03:00
Arik Fraimovich
c57c765688
Merge pull request #1365 from washort/tz-fix
...
Fix: compare retrieval times in UTC timezone
2016-10-26 21:47:27 +03:00
Arik Fraimovich
52b87efb73
Add feature flag for the permissions control feature
2016-10-26 21:40:51 +03:00
Allen Short
36d01a2029
Compare retrieval times in UTC timezone
2016-10-26 10:18:33 -05:00
Arik Fraimovich
2592959550
Use version for partial query updates
2016-10-26 16:28:39 +03:00
Arik Fraimovich
6c5dd09a78
Add change tracking and fix tests
2016-10-26 16:09:55 +03:00
Arik Fraimovich
9cb9bdb515
Record events for permission changes
2016-10-26 11:47:57 +03:00
Arik Fraimovich
df17759ab4
Fix tests
2016-10-26 11:47:40 +03:00
Arik Fraimovich
028393b229
Return dashboard permission status with dashboard object
2016-10-26 11:22:51 +03:00
Arik Fraimovich
8245a667ef
Return permission state with query object
2016-10-26 11:17:14 +03:00
Arik Fraimovich
6218421266
Tests for the permissions API (and rewrite)
2016-10-26 10:52:24 +03:00
Arik Fraimovich
f34471ec10
Return 409 when dashboard can't be updated due to conflict
2016-10-25 11:58:43 +03:00
Arik Fraimovich
40cc592591
Make sure error are logged in tests
2016-10-25 11:58:25 +03:00
Arik Fraimovich
bb96702ae6
Update dashboard testS
2016-10-25 10:45:00 +03:00
Arik Fraimovich
8b091129ed
Use new helper for dashboards API
2016-10-24 21:33:49 +03:00
Arik Fraimovich
edea6f3a05
WIP:
...
- Move version/change tracking logic to mixins (the change mixin is still WIP).
- Tests for queries update API.
2016-10-24 16:58:30 +03:00
Arik Fraimovich
c51477ac93
Add tests outline
2016-10-24 13:56:39 +03:00
Arik Fraimovich
9f3bbfee13
Renames
2016-10-24 13:56:31 +03:00
Arik Fraimovich
7ba5a2062a
Remove unused method
2016-10-24 13:37:32 +03:00
Arik Fraimovich
00a77f8d3a
snake_case to camelCase
2016-10-24 12:57:54 +03:00
Arik Fraimovich
b9ab9135d0
Apply review to models code
2016-10-24 12:57:30 +03:00
Arik Fraimovich
19e5a0af86
Naming and indentation fixes
2016-10-24 12:40:17 +03:00
Arik Fraimovich
b748eb14f4
"Simplify" migration code
2016-10-24 12:35:52 +03:00
Waldemar Hummer
60a79cbe08
address code review comments
2016-10-24 12:33:29 +03:00
Waldemar Hummer
c0c4f453f2
fix handling of latest_version in query view
2016-10-24 12:33:29 +03:00
Waldemar Hummer
e0672f4c4d
add optimistic locking for dashboard editing
2016-10-24 12:33:29 +03:00
Waldemar Hummer
6b540e03fc
check for shared permissions in dashboard UI
2016-10-24 12:33:29 +03:00
Tatyana Tychshenko
95dca53b1e
Finalised UI for sharing permissions
2016-10-24 12:33:29 +03:00
Waldemar Hummer
91a46ea1bb
add optimistic locking for concurrent changes to queries by different users
2016-10-24 12:33:29 +03:00
Waldemar Hummer
903ba0c1e0
add backend API and tests for managing access permissions.
2016-10-24 12:33:29 +03:00
Tatyana Tychshenko
2a688200be
UI for sharing edit permissions
2016-10-24 12:33:29 +03:00
Arik Fraimovich
37dff5f0a4
Merge pull request #1360 from shinji19/hotfix/mysql_connection_test
...
Fix: connection test was broken for MySQL
2016-10-24 12:09:07 +03:00
ichihara
6397b8ca1f
fix variable name
2016-10-24 18:01:46 +09:00
Arik Fraimovich
360028c01f
Merge pull request #1359 from laughingman7743/fix_schema_loading_query
...
Fix: schema loading query for Hive was wrong for non default schema
2016-10-23 16:12:42 +03:00
laughingman7743
6a42daffe2
Fix schema loading query for Hive query runner
2016-10-22 10:06:18 +09:00
Arik Fraimovich
7ee41d41b5
Merge pull request #1358 from getredash/add_user_id_to_run_query
...
Fix: make sure all calls to run_query updated with new parameter
2016-10-21 21:54:03 +03:00
Arik Fraimovich
c138d0592a
Fix: make sure all calls to run_query updated with new parameter
2016-10-21 19:15:50 +03:00
Arik Fraimovich
3db0eea921
Merge pull request #1341 from zoetrope/specify-nameid-format-in-saml
...
Add: support for specifying SAML nameid-format
2016-10-21 08:17:11 +03:00
zoetrope
9ce211bf09
add environment variable name in doc
2016-10-21 13:58:27 +09:00
zoetrope
5610ce1721
specify nameid-format in SAML authentication
2016-10-21 13:58:12 +09:00
zoetrope
67528eeb73
Merge remote-tracking branch 'upstream/master'
2016-10-21 13:09:43 +09:00
Arik Fraimovich
880627c69c
Merge pull request #1355 from getredash/add_user_id_to_run_query
...
Change: pass the user object to the run_query method
2016-10-21 00:06:05 +03:00
Arik Fraimovich
ae2cd5363f
Change: pass the user object to the run_query method
...
This to allow different use cases like checking permissions
based on who is currently running the query.
2016-10-20 23:42:25 +03:00
Arik Fraimovich
b0ecd0e9a0
Merge pull request #1343 from zoetrope/use-local-metadata-in-saml
...
Add: support for local SAML metadata file
2016-10-20 15:39:34 +03:00
Arik Fraimovich
23c605b149
Merge pull request #1342 from zoetrope/add-entity-id-in-saml
...
SAML: specify entity id
2016-10-20 15:38:39 +03:00
Arik Fraimovich
464b8368bf
Merge pull request #1301 from washort/connection-test
...
Add: "test connection" button for data sources
2016-10-20 10:21:31 +03:00
Arik Fraimovich
cb0ea7b63e
Show spinner while testing connection
2016-10-20 10:11:16 +03:00
Arik Fraimovich
ef07388d2a
Allow testing connection only after saving
2016-10-20 10:11:16 +03:00
Arik Fraimovich
8464d8c64a
Fix the way we were calling the test API -
...
Previously it was overriding the content of $scope.dataSource and
resulting in a broken form.
Also updated the messages.
2016-10-20 10:11:16 +03:00
Arik Fraimovich
37a02bfe37
Make the DataSourceTest api more consistent with other APIs.
2016-10-20 10:11:16 +03:00
Arik Fraimovich
41f7791c87
Make the DataSourceList#get call more robust
2016-10-20 10:10:42 +03:00
Arik Fraimovich
9041ccabd3
Change: update Raven version (5.27.0 had a bug)
2016-10-20 10:10:42 +03:00
Arik Fraimovich
d4a1a5b239
Update CSS files in embed.html
2016-10-20 10:10:42 +03:00
Arik Fraimovich
cf7ed8fae7
Change: catch all exceptions from query runners
2016-10-20 10:10:42 +03:00
Arik Fraimovich
f63d43c3cf
*Don't* anotate MSSQL queries..
2016-10-20 10:10:42 +03:00
Arik Fraimovich
aec38614c0
Change: make visualization embeds more printer friendly
2016-10-20 10:10:42 +03:00
Arik Fraimovich
459a25bedd
Revert settings screen menu to simple mode to allow extending it
2016-10-20 10:10:42 +03:00
Arik Fraimovich
14e024bca8
Add: allow changing alert email subject.
...
Fixes #1144 .
2016-10-20 10:10:42 +03:00
Arik Fraimovich
fc8985f689
Change: allow specifying recipient address when sending email test message.
...
Closes #1224 .
2016-10-20 10:10:42 +03:00
Arik Fraimovich
cecc1a9462
Fix: 0 is falsy, so need to check differently if there is value defined.
2016-10-20 10:10:42 +03:00
Arik Fraimovich
fe6497dfe7
Add: control over y axis min/max values
2016-10-20 10:10:42 +03:00
Arik Fraimovich
79df2b8d22
Add option to change the map tile layer
2016-10-20 10:10:42 +03:00
Arik Fraimovich
ef6a543850
Use group color for the marker-cluster
2016-10-20 10:10:42 +03:00
Arik Fraimovich
c17a6956dc
Change: upgrade Python packages
...
- pytz
- funcy
- raven (Sentry client)
- xlsxwriter
2016-10-20 10:10:42 +03:00
Arik Fraimovich
6775f01684
Celery: Upgrade Celery to more recent version.
...
This might help with worker stopping to take new tasks after some time.
Closes #1258 .
2016-10-20 10:10:42 +03:00
Arik Fraimovich
3a4754303d
Change: upgrade Requests to latest version.
...
Closes #643 .
Related #1258 .
2016-10-20 10:10:42 +03:00
Arik Fraimovich
f9824675f1
Fix: Redis memory leak.
...
We were appending new QueryTaskTracker ids to query_task_trackers sorted set
but we were never removing them...
Also removed the migration to create index on org_id as it created by default
by Peewee for foreign keys.
2016-10-20 10:10:42 +03:00
Arik Fraimovich
42ae78a017
Add: support for snapshot generation service
2016-10-20 10:10:42 +03:00
Arik Fraimovich
f56cbf051c
Fix: queries API was doing N+1 queries in most cases
2016-10-20 10:10:42 +03:00
Arik Fraimovich
ef80fb1d1a
Change: add more logging and information for refresh schemas task
2016-10-20 10:10:42 +03:00
Arik Fraimovich
b92f22c36e
Add: collect runtime metrics for Celery tasks
2016-10-20 10:10:42 +03:00
Arik Fraimovich
fde0ba1503
Add: feature toggle to control if to report query results count
2016-10-20 10:10:42 +03:00
Arik Fraimovich
c8b62755d0
Change: remove deprecated settings
2016-10-20 10:10:42 +03:00
Arik Fraimovich
7de2d6c101
Only show BigQuery GCE option when on a GCE instance
2016-10-20 10:10:42 +03:00
Arik Fraimovich
8cc4e2bee7
Add: support for loading BigQuery schema
2016-10-20 10:10:42 +03:00
Arik Fraimovich
7b0f5a195e
Add: support MongoDB SSL connections
2016-10-20 10:10:42 +03:00
Arik Fraimovich
0d8ee9ced7
Change: more flexible column width calculation
2016-10-20 10:10:42 +03:00
Arik Fraimovich
838c211198
Add: additional configuration for Celery jobs
2016-10-20 10:10:42 +03:00
Arik Fraimovich
9c3baed230
Fix: BoxPlot visualization wasn't rendering on a dashboard
2016-10-20 10:10:42 +03:00
Arik Fraimovich
435b49fa9c
Change: don't annotate MSSQL queries.
...
(I got tired of chasing weird unicode issues)
2016-10-20 10:10:42 +03:00
Arik Fraimovich
707df82b40
Add: support for date/time with seconds parameters
2016-10-20 10:10:42 +03:00
Arik Fraimovich
8116c6140f
Fix: properly render checkboxes in dynamic forms
2016-10-20 10:10:42 +03:00
Arik Fraimovich
34543e67f7
Fix: support for Unicode columns name in Google Spreadsheets
2016-10-20 10:10:42 +03:00
Arik Fraimovich
afe5cae2a9
Add: API to force refresh data source schema
2016-10-20 10:10:42 +03:00
Arik Fraimovich
94a0bddb3d
Typo fix in dashboard page.
2016-10-20 10:10:42 +03:00
Kazuhito Hokamura
9786063dbb
Add a comment
2016-10-20 10:10:42 +03:00
Kazuhito Hokamura
025e9d2710
Limit the editing functionality to only the text
2016-10-20 10:10:42 +03:00
Arik Fraimovich
a9562d361f
Change: paginate query page & add explicit urls.
...
- Paginate the queries API result.
- Split the API to /api/queries (all queries) and /api/queries/my which returns
a user's queries (or drafts).
- In the interface have explicit URLs for all queries (/queries), my queries (/queries/my)
and drafts (/queries/drafts).
2016-10-20 10:10:42 +03:00
Kazuhito Hokamura
97ad716d5a
Make it possible to edit a TextBox
2016-10-20 10:10:42 +03:00
Arik Fraimovich
95367abc91
Add JQL to default enabled query runners.
2016-10-20 10:10:42 +03:00
Tsuyoshi Tatsukawa
f7af1fa82a
add Content-Type to JSON response of QueryResultResource
2016-10-20 10:10:42 +03:00
Arik Fraimovich
5321948e46
Add documentation on JIRA datasource
2016-10-20 10:10:42 +03:00
Arik Fraimovich
df437999ca
Add JIRA query runner
2016-10-20 10:10:42 +03:00
Arik Fraimovich
f4b87e76a3
Change: update Slack configuration titles.
2016-10-20 10:10:42 +03:00
Arik Fraimovich
f0d0d60dc1
Change: don't annotate BigQuery queries
...
It's not really useful anyway and breaks support for `#StandardSQL` directive.
2016-10-20 10:10:42 +03:00
Arik Fraimovich
26bd08bb2b
Add markers cluster support & cleanup/refactor code.
2016-10-20 10:10:42 +03:00
Hirotaka Suzuki
e5146c3755
Add REDASH_FEATURE_DISABLE_REFRESH_QUERIES setting
2016-10-20 10:10:42 +03:00
IllusiveMilkman
f12d47752c
Update bootstrap.sh
...
Check for Ubuntu 16.04 before upgrading pip.
2016-10-20 10:10:42 +03:00
Arik Fraimovich
7683402741
Move around some functions and add support for window resize event.
2016-10-20 10:10:42 +03:00
Arik Fraimovich
ba354ce65a
Remove unnecessary code.
2016-10-20 10:10:42 +03:00
Arik Fraimovich
f892a3c70a
Fix: use key_as_string when available.
2016-10-20 10:10:42 +03:00
IllusiveMilkman
cc1dae8eed
Update bootstrap.sh
...
Testing script on clean install of Ubuntu Desktop 16.04.1.
pip fails if not upgraded beforehand, whether "sudo" or "sudo -s" or "sudo -sH" is run.
After this modification it works perfectly from a clean install. Below are my steps if anyone should want to replicate or validate:
1. Clean install of Ubuntu 16.04.1 Desktop (on VM)
2. sudo apt-get -y install git
3. mkdir ~/git
4. cd ~/git
5. git clone https://github.com/getredash/redash
6. cd ~/git/redash/setup/ubuntu
7. chmod +x bootstrap.sh
8. nano bootstrap.sh
9. added "pip install --upgrade pip" to the script above the "pip install -U..." line.
10. Saved script.
11. sudo -H ./bootstrap.sh
Note that the "-H" is necessary in order to run the script successfully, otherwise you will run into pip ownership issues.
2016-10-20 10:10:42 +03:00
Arik Fraimovich
0436c3b5b7
Use smaller Plot.ly build
2016-10-20 10:10:42 +03:00
Arik Fraimovich
e810b36496
Sepcify specific version of Plotly
2016-10-20 10:10:42 +03:00
Arik Fraimovich
50ece739d9
Remove non existing cache directory.
2016-10-20 09:16:08 +03:00
Arik Fraimovich
2d2df5c9e0
Try newer version of NodeJS for builds.
2016-10-20 08:56:19 +03:00
Allen Short
d54e9125d9
Connection-test UI
2016-10-19 12:03:28 -05:00
zoetrope
78bc42e65c
add environment variable name in doc
2016-10-13 10:58:00 +09:00
zoetrope
186537d849
add environment variable name in doc
2016-10-13 10:57:13 +09:00
zoetrope
a729601dff
specify entityid in AuthnRequest in SAML
2016-10-13 10:19:41 +09:00
zoetrope
07af792943
use local metadata in saml
2016-10-13 10:11:37 +09:00
Arik Fraimovich
c14d119fe7
Change: update Raven version (5.27.0 had a bug)
2016-10-10 18:08:15 +03:00
Arik Fraimovich
1c4225beff
Update CSS files in embed.html
2016-10-09 22:57:34 +03:00
Arik Fraimovich
53b710ee7b
Change: catch all exceptions from query runners
2016-10-09 22:52:28 +03:00
Arik Fraimovich
04398ff909
*Don't* anotate MSSQL queries..
2016-10-09 13:50:00 +03:00
Arik Fraimovich
ce77f452c7
Change: make visualization embeds more printer friendly
2016-10-09 13:23:37 +03:00
Arik Fraimovich
7a855d1e0a
Revert settings screen menu to simple mode to allow extending it
2016-10-09 13:15:14 +03:00
Arik Fraimovich
0235d37005
Merge pull request #1335 from getredash/add-yaxis-scales
...
Add: allow changing alert email subject.
2016-10-09 10:02:19 +03:00
Arik Fraimovich
5df4e7eb78
Add: allow changing alert email subject.
...
Fixes #1144 .
2016-10-09 09:44:34 +03:00
Arik Fraimovich
015b1dc8fd
Merge pull request #1334 from getredash/add-yaxis-scales
...
Change: allow specifying recipient address when sending email test message
2016-10-09 09:19:08 +03:00
Arik Fraimovich
8e9e288a1d
Change: allow specifying recipient address when sending email test message.
...
Closes #1224 .
2016-10-09 09:15:47 +03:00
Arik Fraimovich
2135dfd2e5
Merge pull request #1333 from getredash/add-yaxis-scales
...
Add: control over y axis min/max values
2016-10-09 09:14:58 +03:00
Arik Fraimovich
08676a3d0b
Fix: 0 is falsy, so need to check differently if there is value defined.
2016-10-09 09:06:33 +03:00
Arik Fraimovich
1ac3119648
Add: control over y axis min/max values
2016-10-08 23:29:30 +03:00
Arik Fraimovich
39aaa2fd94
Merge pull request #1292 from getredash/add-cluster-marker
...
Change: improvements to map visualization
2016-10-08 15:37:51 +03:00
Arik Fraimovich
85fe74f3db
Add option to change the map tile layer
2016-10-08 15:34:20 +03:00
Arik Fraimovich
7cbf350b73
Use group color for the marker-cluster
2016-10-08 11:59:19 +03:00
Arik Fraimovich
b22191b789
Merge pull request #1332 from getredash/small
...
Change: upgrade Python packages
2016-10-08 11:33:16 +03:00
Arik Fraimovich
23ba98bc94
Merge pull request #1331 from getredash/small
...
Celery: Upgrade Celery to more recent version.
2016-10-08 11:26:23 +03:00
Arik Fraimovich
66f8922d5b
Change: upgrade Python packages
...
- pytz
- funcy
- raven (Sentry client)
- xlsxwriter
2016-10-08 11:25:54 +03:00
Arik Fraimovich
3283116518
Merge pull request #1330 from getredash/small
...
Change: upgrade Requests to latest version.
2016-10-08 11:10:09 +03:00
Arik Fraimovich
2565af604e
Celery: Upgrade Celery to more recent version.
...
This might help with worker stopping to take new tasks after some time.
Closes #1258 .
2016-10-08 11:08:28 +03:00
Arik Fraimovich
0d944794e4
Merge pull request #1329 from getredash/small
...
Fix: Redis memory leak.
2016-10-08 11:03:56 +03:00
Arik Fraimovich
7cc22c71a1
Change: upgrade Requests to latest version.
...
Closes #643 .
Related #1258 .
2016-10-08 11:03:43 +03:00
Arik Fraimovich
4d47583a94
Fix: Redis memory leak.
...
We were appending new QueryTaskTracker ids to query_task_trackers sorted set
but we were never removing them...
Also removed the migration to create index on org_id as it created by default
by Peewee for foreign keys.
2016-10-08 10:59:52 +03:00
Arik Fraimovich
49e788a1aa
Merge pull request #1328 from getredash/small
...
Add: support for snapshot generation service
2016-10-07 17:34:10 +03:00
Arik Fraimovich
7145aa2086
Merge pull request #1325 from getredash/small
...
Fix: queries API was doing N+1 queries in most cases
2016-10-07 00:08:07 +03:00
Arik Fraimovich
d1a3ed312a
Add: support for snapshot generation service
2016-10-07 00:07:54 +03:00
Arik Fraimovich
2db4b67505
Fix: queries API was doing N+1 queries in most cases
2016-10-07 00:00:41 +03:00
Arik Fraimovich
39091e006a
Merge pull request #1324 from getredash/small
...
Change: add more logging and information for refresh schemas task
2016-10-06 22:20:20 +03:00
Arik Fraimovich
229ca6cb52
Merge pull request #1323 from getredash/small
...
Add: collect runtime metrics for Celery tasks
2016-10-06 15:54:58 +03:00
Arik Fraimovich
2ac64a7d08
Change: add more logging and information for refresh schemas task
2016-10-06 15:54:46 +03:00
Arik Fraimovich
00acaa214b
Add: collect runtime metrics for Celery tasks
2016-10-06 15:30:43 +03:00
Arik Fraimovich
462faea52d
Merge pull request #1316 from getredash/small
...
Change: remove deprecated settings
2016-10-05 17:22:02 +03:00
Arik Fraimovich
d6dd95db31
Add: feature toggle to control if to report query results count
2016-10-05 17:19:25 +03:00
Arik Fraimovich
a8fa68a563
Change: remove deprecated settings
2016-10-05 17:15:46 +03:00
Arik Fraimovich
931a1f3379
Merge pull request #1315 from getredash/small
...
Add: support for loading BigQuery schema
2016-10-05 17:15:13 +03:00
Arik Fraimovich
0952cf8178
Only show BigQuery GCE option when on a GCE instance
2016-10-05 17:07:01 +03:00
Arik Fraimovich
0eab12880f
Add: support for loading BigQuery schema
2016-10-05 16:56:59 +03:00
Arik Fraimovich
39b4f9af22
Merge pull request #1314 from getredash/small
...
Add: support MongoDB SSL connections
2016-10-05 16:56:55 +03:00
Arik Fraimovich
1049d46a20
Add: support MongoDB SSL connections
2016-10-05 16:54:22 +03:00
Arik Fraimovich
73e1837469
Merge pull request #1313 from getredash/small
...
Change: more flexible column width calculation
2016-10-05 16:53:52 +03:00
Arik Fraimovich
ca1ca9b451
Merge pull request #1312 from getredash/small
...
Add: additional configuration for Celery jobs
2016-10-05 16:49:32 +03:00
Arik Fraimovich
fb30a8217c
Change: more flexible column width calculation
2016-10-05 16:43:45 +03:00
Arik Fraimovich
30451bc0d9
Add: additional configuration for Celery jobs
2016-10-05 16:41:41 +03:00
Arik Fraimovich
cd2e9276fb
Merge pull request #1311 from getredash/small
...
Fix: BoxPlot visualization wasn't rendering on a dashboard
2016-10-05 16:35:10 +03:00
Arik Fraimovich
fc00e61d49
Merge pull request #1310 from getredash/small
...
Add: support for date/time with seconds parameters
2016-10-05 16:34:32 +03:00
Arik Fraimovich
6a973f31b3
Fix: BoxPlot visualization wasn't rendering on a dashboard
2016-10-05 16:32:53 +03:00
Arik Fraimovich
a562ce748d
Merge pull request #1309 from getredash/small
...
Fix: properly render checkboxes in dynamic forms
2016-10-05 16:32:20 +03:00
Arik Fraimovich
4462afc670
Change: don't annotate MSSQL queries.
...
(I got tired of chasing weird unicode issues)
2016-10-05 16:31:23 +03:00
Arik Fraimovich
ad5e4f46d6
Add: support for date/time with seconds parameters
2016-10-05 16:27:39 +03:00
Arik Fraimovich
d48192cb0f
Merge pull request #1308 from getredash/small
...
Fix: support for Unicode columns name in Google Spreadsheets
2016-10-05 16:26:05 +03:00
Arik Fraimovich
1e85caa6c1
Fix: properly render checkboxes in dynamic forms
2016-10-05 16:25:34 +03:00
Arik Fraimovich
649e0bc53f
Fix: support for Unicode columns name in Google Spreadsheets
2016-10-05 16:23:07 +03:00
Arik Fraimovich
d72a19894a
Merge pull request #1307 from getredash/small
...
Add: API to force refresh data source schema
2016-10-05 16:20:45 +03:00
Arik Fraimovich
11a2b55c08
Add: API to force refresh data source schema
2016-10-05 16:17:48 +03:00
Arik Fraimovich
9cd9958827
Typo fix in dashboard page.
2016-10-05 16:14:19 +03:00
Arik Fraimovich
beb89ec657
Merge pull request #1305 from hokaccha/edit-text-box
...
Add: UI to edit dashboard text box widget
2016-10-05 16:12:47 +03:00
Kazuhito Hokamura
eb47d88b33
Add a comment
2016-10-05 22:08:23 +09:00
Kazuhito Hokamura
0530b5fe1e
Limit the editing functionality to only the text
2016-10-05 22:03:39 +09:00
Arik Fraimovich
e8eb840d32
Merge pull request #1279 from IllusiveMilkman/patch-2
...
Change: update bootstrap.sh to support Ubuntu 16.04
2016-10-05 14:47:35 +03:00
Arik Fraimovich
8cf0252b07
Merge pull request #1262 from getredash/plotly_upgrade
...
Change: upgrade Plot.ly version and switch to smaller build
2016-10-05 14:45:26 +03:00
Arik Fraimovich
0b79fb833e
Merge pull request #1306 from getredash/pagination
...
Change: paginate queries page & add explicit urls.
2016-10-05 14:44:01 +03:00
Arik Fraimovich
5096e4ed79
Change: paginate query page & add explicit urls.
...
- Paginate the queries API result.
- Split the API to /api/queries (all queries) and /api/queries/my which returns
a user's queries (or drafts).
- In the interface have explicit URLs for all queries (/queries), my queries (/queries/my)
and drafts (/queries/drafts).
2016-10-05 14:14:26 +03:00
Kazuhito Hokamura
83ffd915c8
Make it possible to edit a TextBox
2016-10-04 22:31:28 +09:00
Arik Fraimovich
e8582ec100
Add JQL to default enabled query runners.
2016-09-28 09:43:47 +03:00
Allen Short
6829192854
Connection-test queries
2016-09-27 18:57:47 -05:00
Alexander Leibzon
fefcb928da
add memsql as datasource
2016-09-27 19:13:44 +03:00
Arik Fraimovich
41f99f54cf
Merge pull request #1299 from tatsukawa/json-contenttype
...
Change: send Content-Type header (application/json) in query results responses
2016-09-27 10:50:44 +03:00
Tsuyoshi Tatsukawa
3b6017495e
add Content-Type to JSON response of QueryResultResource
2016-09-27 15:14:32 +09:00
Arik Fraimovich
808fdd4507
Merge pull request #1298 from getredash/add_jql
...
Add: JIRA (JQL) query runner
2016-09-26 17:08:39 +03:00
Arik Fraimovich
aefd2fde0a
Add documentation on JIRA datasource
2016-09-26 17:03:12 +03:00
Arik Fraimovich
af56f59255
Add JIRA query runner
2016-09-26 16:48:53 +03:00
Arik Fraimovich
dfb1a204e2
Merge pull request #1297 from getredash/arikfr-patch-1
...
Change: update Slack configuration titles.
2016-09-26 13:34:19 +03:00
Arik Fraimovich
b711e5c4a2
Change: update Slack configuration titles.
2016-09-26 11:04:48 +03:00
Arik Fraimovich
8c1056cc4f
Merge pull request #1294 from getredash/arikfr-patch-1
...
Change: don't annotate BigQuery queries
2016-09-26 10:15:04 +03:00
Arik Fraimovich
9d6b3f14a5
Change: don't annotate BigQuery queries
...
It's not really useful anyway and breaks support for `#StandardSQL` directive.
2016-09-23 18:13:42 +03:00
Arik Fraimovich
03217dd7ea
Add markers cluster support & cleanup/refactor code.
2016-09-22 23:08:32 +03:00
Arik Fraimovich
ff9e844204
Merge pull request #1280 from hirotaka-s/feature/disable_refresh_queries_setting
...
Add: configuration flag to disable scheduled queries
2016-09-20 12:41:24 +03:00
Hirotaka Suzuki
01eb099c3d
Add REDASH_FEATURE_DISABLE_REFRESH_QUERIES setting
2016-09-20 17:56:18 +09:00
IllusiveMilkman
2b25f2e80a
Update bootstrap.sh
...
Check for Ubuntu 16.04 before upgrading pip.
2016-09-19 20:35:35 +02:00
Arik Fraimovich
6d686f03a3
Move around some functions and add support for window resize event.
2016-09-18 15:34:08 +03:00
Arik Fraimovich
de222429a1
Remove unnecessary code.
2016-09-18 15:23:29 +03:00
Arik Fraimovich
a3cf92ecf6
Merge pull request #1289 from getredash/es_parser
...
Change: use key_as_string when available (ElasticSearch query runner)
2016-09-18 08:49:05 +03:00
Arik Fraimovich
37b40164ab
Fix: use key_as_string when available.
2016-09-17 16:50:54 +03:00
Arik Fraimovich
e155191c93
Merge pull request #1285 from falling-down/oracle-metadata
...
Change: do not display Oracle tablespace name in schema browser
2016-09-14 22:24:11 +03:00
Matthew Carter
b20b263ed1
Do not display Oracle tablespace name in schema browser
...
Does not make sense to list tablespace name to end user.
Also include all tables visible to user for querying not just owned by user.
Do not list known system tables in schema browser.
2016-09-12 12:47:00 -04:00
Matthew Carter
8cfbf8b8bb
Merge pull request #1 from getredash/master
...
update master from upstream
2016-09-12 11:57:50 -04:00
Arik Fraimovich
e42f93fcce
Merge pull request #1283 from getredash/fix/gs_dup_columns
...
Fix: schema browser was unstable after opening a table
2016-09-11 15:29:35 +03:00
Arik Fraimovich
b9d1e43a8e
Fix: schema browser was unstable after opening a table ( closes #1261 )
2016-09-11 15:26:48 +03:00
Arik Fraimovich
6cbc39cbe2
Merge pull request #1282 from getredash/fix/gs_dup_columns
...
Change: deduplicate Google Spreadsheet columns
2016-09-11 10:10:51 +03:00
Arik Fraimovich
09a848f524
Change: deduplicate Google Spreadsheet columns
2016-09-11 09:41:15 +03:00
Arik Fraimovich
21a9b4b03e
Fix: in multi-org setup login after logout is broken
2016-09-08 15:26:56 +03:00
IllusiveMilkman
d9623faf8c
Update bootstrap.sh
...
Testing script on clean install of Ubuntu Desktop 16.04.1.
pip fails if not upgraded beforehand, whether "sudo" or "sudo -s" or "sudo -sH" is run.
After this modification it works perfectly from a clean install. Below are my steps if anyone should want to replicate or validate:
1. Clean install of Ubuntu 16.04.1 Desktop (on VM)
2. sudo apt-get -y install git
3. mkdir ~/git
4. cd ~/git
5. git clone https://github.com/getredash/redash
6. cd ~/git/redash/setup/ubuntu
7. chmod +x bootstrap.sh
8. nano bootstrap.sh
9. added "pip install --upgrade pip" to the script above the "pip install -U..." line.
10. Saved script.
11. sudo -H ./bootstrap.sh
Note that the "-H" is necessary in order to run the script successfully, otherwise you will run into pip ownership issues.
2016-09-08 10:28:11 +02:00
Arik Fraimovich
ef4699aca7
Merge pull request #1269 from kurtgooden/big_query_drive
...
Add: Google Drive federated tables support in BigQuery query runner
2016-09-07 17:55:44 +03:00
Kurt Gooden
43075f741d
Reverted GCE change
2016-09-07 06:16:06 -04:00
Kurt Gooden
ddd91e37db
Merge remote-tracking branch 'getredash/master' into big_query_drive
2016-09-07 06:13:48 -04:00
Arik Fraimovich
4caf2e309d
Merge pull request #1277 from getredash/arikfr-patch-1
...
Set specific version of cryptography lib
2016-09-07 08:48:04 +03:00
Arik Fraimovich
0eb5a7d203
Set specific version of cryptography
...
This to avoid incompatibility with `oauth2client`.
2016-09-07 08:45:40 +03:00
Arik Fraimovich
170bd65237
Merge pull request #1272 from ariarijp/fix-treasuredata-query-runner
...
Fix: TreasureData get_schema method was returning array instead of string as column name
2016-09-06 08:28:00 +03:00
ariarijp
2739f04f1e
Fix get_schema method
2016-09-03 22:02:16 +09:00
Kurt Gooden
4a8a67f6f4
Add Google Drive scope to Big Query
...
To access federated tables based off Google Drive files, an additional
scope is needed during OAuth.
2016-08-31 23:05:44 -04:00
Arik Fraimovich
4710c4193e
Merge pull request #1265 from getredash/fix/dashboard_refresh
...
Fix: refresh modal not working for unsaved query
2016-08-30 18:32:55 +03:00
Arik Fraimovich
2e5ec26be9
Mention how to restart the services after mail configuration update.
2016-08-30 18:11:05 +03:00
Arik Fraimovich
cfbb466f92
Fix #1263 : refresh modal not working for unsaved query
2016-08-30 18:04:58 +03:00
Arik Fraimovich
bc3a5ab04c
Merge pull request #1264 from getredash/fix/dashboard_refresh
...
Fix: dashboard refresh not working
2016-08-30 17:57:56 +03:00
Arik Fraimovich
db4aec22f6
Fix #1184 : dashboard refresh not working.
2016-08-30 17:55:10 +03:00
Arik Fraimovich
d22f0d44b6
Merge pull request #1216 from atsaki/noniteractive-upgrade
...
Change: bootstrap.sh - use non interactive dist-upgrade
2016-08-29 19:13:49 +03:00
Arik Fraimovich
03837c0659
Merge pull request #1242 from ereli/patch-1
...
Docs: add warning re. quotes on column names and BigQuery
2016-08-29 19:12:19 +03:00
Arik Fraimovich
2eeb94765d
Merge pull request #1236 from yershalom/master
...
Add: query runner for Cassandra and ScyllaDB
2016-08-29 13:26:22 +03:00
Arik Fraimovich
9fef335315
Use smaller Plot.ly build
2016-08-28 23:29:58 +03:00
Arik Fraimovich
17726dbcb9
Sepcify specific version of Plotly
2016-08-28 23:29:45 +03:00
Arik Fraimovich
10b398e8e6
Merge pull request #1249 from mystelynx/override-slack-params
...
Add: override slack webhook parameters
2016-08-28 22:34:01 +03:00
Arik Fraimovich
2b5e34099f
Merge pull request #1252 from rohanpd/get-presto-schema
...
Add: Schema loading support for Presto query runner (using information_schema)
2016-08-27 15:07:07 +03:00
Arik Fraimovich
e05a63db9a
Update recommended instance size.
2016-08-27 14:58:33 +03:00
Arik Fraimovich
9a980759d3
Merge pull request #1255 from vishesh92/add-influxdb-documentation
...
Docs: add documentation for InfluxDB
2016-08-26 22:27:39 +03:00
vishesh92
8ce02d3003
Add documentation for influxdb
2016-08-25 12:39:35 +05:30
Arik Fraimovich
6202d0963d
Merge pull request #1240 from easytaxibr/bugfix/public_dashboard_not_found
...
Fix: when shared dashboard token not found, return 404
2016-08-25 00:08:44 +03:00
syerushalmy
d41b84eb2e
Fixed syntax error at _get_tables
2016-08-24 10:19:20 +03:00
Wesley Batista
e7d6ac07c9
Catch the error and respond with 404
2016-08-23 17:51:40 -03:00
Arik Fraimovich
ba30577601
Rename 0025_add_notification_destination.py to 0025_add_query_snippets_table.py
2016-08-23 23:06:36 +03:00
syerushalmy
7cce9d5d6e
Added Auth importer for cassandra
2016-08-23 20:04:17 +03:00
syerushalmy
b308e0275c
Removed cursor.close() from hive_ds because its not needed
2016-08-23 16:55:55 +03:00
Rohan Dhupelia
0319acc7ca
add the ability to load the schema for the presto query runner
2016-08-23 21:32:12 +10:00
Arik Fraimovich
93aac14c87
Merge pull request #1251 from getredash/feature/snippets
...
Fix: autocomplete went crazy when database has no autocomplete.
2016-08-23 08:51:08 +03:00
Arik Fraimovich
ca6ee5e04f
Fix: autocomplete went crazy when database has no autocomplete.
2016-08-23 01:43:29 +03:00
Arik Fraimovich
2aaf5dd2f0
Merge pull request #1250 from getredash/feature/snippets
...
Add: query snippets feature
2016-08-23 01:35:46 +03:00
Arik Fraimovich
10f5ecdb00
Add: query snippets feature
2016-08-22 23:58:00 +03:00
mystelynx
6ba76debf0
override webhook params
2016-08-22 11:12:46 +09:00
Arik Fraimovich
b8eca28e20
Merge pull request #1246 from getredash/large-schema
...
Fix: support large schemas in schema browser
2016-08-19 23:41:10 +03:00
Arik Fraimovich
490928d474
Fix: support large schemas in schema browser
2016-08-19 23:38:38 +03:00
Arik Fraimovich
19530f4132
Merge pull request #1245 from getredash/feature/ace
...
Change: switch from CodeMirror to Ace editor
2016-08-19 23:24:45 +03:00
Arik Fraimovich
2e1dce5961
Switch from CodeMirror to Ace editor
2016-08-19 23:15:34 +03:00
Cassio A. Moreto
d5b374c540
Create proxy_pass.rst
...
Add docpage of proxy pass configuration.
2016-08-19 15:56:34 -03:00
Ereli
94ce4b7b6e
adding warning not to use quotes on column names
...
Bigquery doesn't work with "Action__filter" as it doesn't support quoted field names.
2016-08-19 13:58:48 +01:00
Wesley Batista
dfb7cc1934
Catch the error and respond with 404
2016-08-18 12:27:18 -03:00
syerushalmy
37271c746c
Switched to fetch_columns instead of messy code
2016-08-17 10:59:09 +03:00
syerushalmy
986dc686bb
Removed unnessecery exception throw
2016-08-17 10:42:20 +03:00
syerushalmy
bd5039ad95
Fixed little syntax error
2016-08-16 16:04:21 +03:00
syerushalmy
37873196ec
Fixed some syntax
2016-08-16 15:59:51 +03:00
syerushalmy
87d77d4d27
Added cassandra-driver to requirements_all_ds.txt file
2016-08-16 14:12:35 +03:00
syerushalmy
eee2e7c833
Added new DS for Cassandra and ScyllaDB
2016-08-16 14:10:50 +03:00
Arik Fraimovich
dfb92dbb4e
Merge pull request #1234 from getredash/arikfr-patch-1
...
Change: MongoDB query runner set DB name as mandatory
2016-08-11 15:40:15 +03:00
Arik Fraimovich
5baf72a01e
Change: MongoDB query runner set DB name as mandatory
2016-08-11 15:36:46 +03:00
Arik Fraimovich
b78100355c
Merge pull request #1223 from toyama0919/master
...
Fix: Alert: when hipchat Alert.name is multibyte character, occur error.
2016-08-10 17:04:00 +03:00
Arik Fraimovich
b750843865
Merge pull request #1230 from kataring/presto-annotate_query-true
...
Change: annotate Presto queries with metadata
2016-08-10 17:03:31 +03:00
Arik Fraimovich
a69ee0cfe9
Merge pull request #1225 from hokaccha/fix-document
...
Fix: RST formatting of the Vagrant documentation
2016-08-10 16:43:47 +03:00
Arik Fraimovich
0b928e6a9b
Merge pull request #1227 from hokaccha/fix-provisioning-script
...
Fix: Bower install fails in vagrant
2016-08-10 16:40:51 +03:00
Arik Fraimovich
a411af2512
Merge pull request #1232 from hokaccha/fix-confirm-dialog
...
Fix: don't show warning when query string (parameters value) changes
2016-08-10 15:53:44 +03:00
Kazuhito Hokamura
7843d2ee84
Fix: don't show warning when query string (parameters value) changes
2016-08-10 21:43:05 +09:00
Noriaki Katayama
1d693ad220
annotate_query to True
2016-08-09 19:12:49 +09:00
toyama0919
88d61e8faa
apply reviews arikfr. string to unicode.
2016-08-09 19:01:13 +09:00
Kazuhito Hokamura
058b6bc37c
Fix failing bower install
2016-08-06 22:21:00 +09:00
Arik Fraimovich
8d8af7386c
Merge pull request #1226 from getredash/feature/sankey
...
Add: Sankey visualization
2016-08-05 23:00:42 +03:00
Arik Fraimovich
91ca74b46c
Add: Sankey visualization
2016-08-05 22:32:20 +03:00
Kazuhito Hokamura
1e186d10a8
Fix RST formatting
2016-08-06 01:36:06 +09:00
Arik Fraimovich
14dea68e25
Update screenshots.
2016-08-04 08:30:39 +03:00
Arik Fraimovich
12896ed039
Update screenshots.
2016-08-04 08:30:04 +03:00
Arik Fraimovich
549fe8a465
Add ap-northeast-2 AMI ( closes #1135 )
2016-08-03 17:27:47 +03:00
Arik Fraimovich
eafe0dbe34
Update AWS images
2016-08-03 17:25:10 +03:00
Arik Fraimovich
7598048317
Update bootstrap.sh:
...
- Update version to 0.11.1.
- Move all apt commands to the beginning of the script and add the missing ones (lib-sasl).
- Fix the Redash Metadata data source creation command.
2016-08-03 16:52:45 +03:00
Arik Fraimovich
17fa957a91
Update Packer configuration to remove SSH keys to comply with AWS marketplace
2016-08-03 16:52:06 +03:00
toyama0919
ae3af64c09
Fix: Alert: when hipchat Alert.name is multibyte character, occur error.
2016-08-03 09:56:54 +09:00
Arik Fraimovich
a02eddabb5
Merge pull request #1222 from getredash/feature/sunburst_visualization
...
Add: additional results format for sunburst visualization
2016-07-31 23:10:18 +03:00
Arik Fraimovich
ca7d8699c8
Add additional results format for sunburst
2016-07-31 23:05:00 +03:00
Arik Fraimovich
3dbb5a6bfc
Merge pull request #1221 from getredash/feature/sunburst_visualization
...
Fix: sunburst didn't handle all cases of path lengths
2016-07-31 15:48:01 +03:00
Arik Fraimovich
50419f3d8c
Fix: sunburst didn't handle all cases of path lengths
2016-07-31 15:46:00 +03:00
Arik Fraimovich
0e70188cb4
Merge pull request #1213 from getredash/feature/sunburst_visualization
...
Add: new sunburst sequence visualization
2016-07-31 10:55:53 +03:00
Arik Fraimovich
77ce9b1d58
Add help paragraph on data shape
2016-07-31 10:53:00 +03:00
Arik Fraimovich
20206048af
Redraw sunburst on window resize or options change
2016-07-31 10:48:52 +03:00
Arik Fraimovich
a7cc1eee5f
Merge pull request #1218 from getredash/arikfr-patch-1
...
Fix: updated result not being saved when changing query text.
2016-07-28 15:30:16 +03:00
Arik Fraimovich
295ca92e44
Simplify the code.
2016-07-28 15:30:05 +03:00
Arik Fraimovich
1995fe4258
Fix: updated result not being saved when changing query text.
2016-07-28 15:26:00 +03:00
Arik Fraimovich
5b20fe21aa
Merge pull request #1217 from atsaki/install-libffi-dev
...
Change: install libffi-dev for Cryptography (Ubuntu setup script)
2016-07-28 11:32:55 +03:00
Atsushi Sasaki
738cd1d69d
non interactive dist-upgrade
2016-07-28 15:24:13 +09:00
Atsushi Sasaki
57651f177b
install libffi-dev for cryptography
2016-07-28 15:23:12 +09:00
Arik Fraimovich
061783313a
Merge pull request #1215 from getredash/fix/alert_email
...
Fix: email alerts not working
2016-07-27 16:54:02 +03:00
Arik Fraimovich
218937b175
Skip email sending if there are no recipients
2016-07-27 16:48:17 +03:00
Arik Fraimovich
c43357cc77
Fix #1212 : email alerts not being sent
2016-07-27 16:47:16 +03:00
Arik Fraimovich
42e7a41fcc
Typo fix.
2016-07-27 16:21:15 +03:00
Arik Fraimovich
52cbb42aaf
Implement the visualization rendering logic
2016-07-26 18:06:54 +03:00
Arik Fraimovich
767fc3644a
Base skeleton for the new visualization
2016-07-25 11:27:39 +03:00
Arik Fraimovich
9a6d2d7c62
Merge pull request #1204 from falling-down/vertica-metadata
...
Add: show views in schema browser for Vertica data sources
2016-07-25 10:43:16 +03:00
Arik Fraimovich
a9fac34560
Merge pull request #1206 from kitsuyui/update-pymssql-version
...
Change: update pymssql version to 2.1.3
2016-07-25 10:42:25 +03:00
kitsuyui
6a9467451a
Update pymssql version. (is needed for tds_version keyword argument)
...
- https://github.com/pymssql/pymssql/releases/tag/v2.1.3
2016-07-25 12:15:31 +09:00
Matthew Carter
56ffec1be7
view metadata missing from Vertica
2016-07-24 15:31:11 -04:00
Arik Fraimovich
5d43cbe67f
Merge pull request #1198 from mystelynx/add/bigquery-config-sql-type
...
Change: add support for Standard SQL in BigQuery query runner
2016-07-24 11:45:09 +03:00
mystelynx
e0e5dd3dd8
fix key name and title
2016-07-21 21:56:57 +09:00
mystelynx
2dac682e8e
specify to use standard sql or not
2016-07-21 21:44:16 +09:00
mystelynx
f524dda88b
add bigquery configuration to use legacy/standard sql
2016-07-21 21:13:48 +09:00
Arik Fraimovich
84d0c2294c
Merge pull request #1193 from ken880guchi/modify-ken880guchi-patch-1
...
Change: modify the argument order of moment.add function call
2016-07-20 15:49:09 +03:00
Arik Fraimovich
e0485dec56
Merge pull request #1195 from AntoineAugusti/patch-2
...
Docs: fix typo in maintenance page title
2016-07-20 11:17:07 +03:00
Antoine Augusti
fb523725f6
Typo
2016-07-20 10:12:51 +02:00
Kenya Yamaguchi
1dd736d9b5
Modify the argument order of moment.add function
2016-07-20 01:19:21 +09:00
Arik Fraimovich
600afa5c82
Merge pull request #1138 from smartcanvas/feature/bigquery_udf
...
Add: ability to register user defined function (UDF) resources for BigQuery DataSource/Query
2016-07-15 19:17:45 +03:00
Arik Fraimovich
78f65b145a
Merge pull request #1187 from getredash/arikfr-patch-3
...
Fix: read only users receive the permission error modal in query view
2016-07-14 22:05:57 +03:00
Arik Fraimovich
ea28e71170
Fix: read only users receive the permission error modal in query view
...
Closes #1153 .
2016-07-14 22:03:34 +03:00
Arik Fraimovich
9193fed393
Mention Extended JSON support in MongoDB docs.
2016-07-12 09:35:44 +03:00
Arik Fraimovich
57ee9fd18b
Fix formatting.
2016-07-12 09:31:52 +03:00
Arik Fraimovich
3f1d48b1f2
Update restart documentation.
2016-07-12 09:27:23 +03:00
Arik Fraimovich
7844b908de
Merge pull request #1104 from kitsuyui/fix/unicode-error-with-sql-server
...
Fix #1101 : MSSQL Query runner: query execution fails if user name has unicode characters
2016-07-11 18:17:30 +03:00
Arik Fraimovich
28ffff8930
Update Query Result Format page.
2016-07-11 16:19:55 +03:00
Arik Fraimovich
21283e2e83
Merge pull request #1181 from getredash/fix/gs
...
Fix: Excel file generation fails when row missing column value.
2016-07-11 11:54:25 +03:00
Arik Fraimovich
d4bfbc2c57
Fix: Excel file generation fails when row missing column value.
2016-07-11 11:51:55 +03:00
Arik Fraimovich
49d8a99bc4
Merge pull request #1176 from someones/org_groups_list
...
Add: 'list' command for org and groups CLI
2016-07-11 10:55:55 +03:00
Arik Fraimovich
dae2907ca3
Merge pull request #1177 from someones/users_list_fix
...
Fix: users list CLI command was broken
2016-07-11 10:54:50 +03:00
Arik Fraimovich
dd45fe04ee
Merge pull request #1179 from kitsuyui/fix/not-shown-left-pane
...
Fix: schema not loading when table name has unicode characters
2016-07-11 10:54:11 +03:00
kitsuyui
74021c2d5a
Fix : #1178 Left Pane is not shown when database contains table that name has unicode characters (MSSQL)
...
- Update table_name to be unicode (not str).
2016-07-11 16:46:17 +09:00
Adam Griffiths
87d7d9cb5d
Fix a copy paste error that broke list command
2016-07-11 17:05:09 +10:00
Adam Griffiths
697e377bec
Add 'manage.py groups list' command
...
'groups list' simply prints out groups.
--org option is provided, limits printing to groups of
the specified organization.
--org accepts organization slugs.
2016-07-11 16:57:07 +10:00
Adam Griffiths
99906c1d0d
Add 'manage.py org list' command
...
'org list' simply prints out the organizations.
2016-07-11 16:52:17 +10:00
Arik Fraimovich
b1937aaab2
Merge pull request #1173 from smartcanvas/fix/cursor-pointer-for-table-headers
...
Add: add cursor:pointer to SmartTable headers to indicate it's clickable
2016-07-06 15:58:12 +03:00
fabito
cd449183bf
add cursor:pointer to smart table headers
2016-07-06 09:10:01 -03:00
Arik Fraimovich
dd0d29467e
Merge pull request #1159 from shyamgopal/patch-1
...
Docs: update mention the option of querying Google Spreadsheet with Google BigQuery
2016-07-06 09:20:02 +03:00
Arik Fraimovich
ff49d25963
Merge pull request #1170 from easytaxibr/fix/docker_create_database
...
Fix: change parameters for 'manage.py ds new' CLI
2016-07-06 09:17:52 +03:00
ShyamK
5a1f4d9144
Update datasources.rst
2016-07-06 09:59:11 +05:30
kitsuyui
679e44c874
Add charset to configuration.
2016-07-06 11:40:39 +09:00
kitsuyui
eaf127da71
Merge remote-tracking branch 'upstream/master' into fix/unicode-error-with-sql-server
2016-07-06 11:35:20 +09:00
Wesley Batista
628122053b
Fix: change parameters for 'manage.py ds new'
2016-07-05 20:36:38 -03:00
Arik Fraimovich
8a5a71421d
Merge pull request #1168 from getredash/fix/gs
...
Fix: improve Google Spreadsheets parsing
2016-07-05 21:50:45 +03:00
Arik Fraimovich
906365f011
Merge pull request #967 from lloydw/master
...
Add: extend ElasticSearch query_runner to support aggregations
2016-07-05 21:40:33 +03:00
Arik Fraimovich
bab1029c9d
Merge pull request #1151 from masaedw/azuredb
...
Change: ability to set pymssql TDS version (to support Azure Database) #backward-incompatible
2016-07-05 21:30:06 +03:00
Arik Fraimovich
d263688da4
Merge pull request #1147 from someones/celery-worker-count
...
Control celery worker count with environment variables, defaults to 2
2016-07-05 13:46:51 +03:00
Adam Griffiths
7d10edd32c
Replace -c2 in Procfile.heroku with env variable
...
Replace -c2 in Procfile.heroku with
-c${REDASH_HEROKU_CELERY_WORKER_COUNT:-2}. This reads from the
environment variable REDASH_HEROKU_CELERY_WORKER_COUNT and
uses the value of that if set, otherwise defaults to 2.
Add REDASH_HEROKU_CELERY_WORKER_COUNT to the settings page.
2016-07-05 11:16:45 +10:00
Arik Fraimovich
a34357d222
Move dateutil import higher
2016-07-04 22:34:13 +03:00
Arik Fraimovich
95fa6849b3
More robust parsing of worksheets with handling:
...
- handle the case of empty worksheet.
- handle the case of worksheet with no data.
2016-07-04 22:25:10 +03:00
Arik Fraimovich
4496a004e8
Meaningful message for not found spreadsheet
2016-07-04 22:21:05 +03:00
Arik Fraimovich
6905340c2d
Google Spreadsheets: Add support for unicode
2016-07-04 18:31:42 +03:00
Arik Fraimovich
3ec113e8d0
Bump version.
2016-07-03 15:22:15 +03:00
Arik Fraimovich
bba801f9d5
Merge pull request #1167 from ariarijp/fix-bootstrap-script-for-ubuntu
...
Fix the version of setuptools on bootstrap script for Ubuntu
2016-07-03 14:17:03 +03:00
Arik Fraimovich
b41041014f
Merge pull request #1166 from getredash/refersh_14_days
...
Feature: add "every 14 days" refresh option
2016-07-03 14:14:34 +03:00
Arik Fraimovich
31edf9cf80
Add every 14 days refresh option
2016-07-03 14:12:09 +03:00
Takuya Arita
522e07ac95
Fix the version of setuptools on bootstrap script for Ubuntu
2016-07-03 20:10:01 +09:00
Arik Fraimovich
837073144f
Dockerfile: pin setuptools version to 23.1.0 until they resolve bug introduced in 24.0
2016-07-03 13:39:38 +03:00
Arik Fraimovich
9895e28a3f
Cleanup/fix script tags.
2016-07-03 13:31:59 +03:00
Arik Fraimovich
ae9e295d2f
Fix #1165 : don't use hard coded org/user.
2016-07-03 13:26:54 +03:00
Arik Fraimovich
7681d3ee84
Merge pull request #1164 from darabos/patch-1
...
Docs: update permission documentation
2016-07-01 08:30:15 +03:00
Daniel Darabos
458f5eb032
Update permission documentation
...
https://github.com/getredash/redash/pull/957 has been merged.
2016-06-30 13:22:55 +02:00
Arik Fraimovich
ce81d69f91
Merge pull request #1160 from 5t111111/fix-indentation-in-docker-compose-example
...
Fix indentation in docker-compose-example.yml
2016-06-28 16:12:07 +03:00
Hirofumi Wakasugi
0456caf798
Fix indentation in docker-compose-example.yml
2016-06-28 22:05:23 +09:00
ShyamK
bb2574ef0b
Update datasources.rst for a new way using Google Spreadsheet.
2016-06-27 15:18:06 +05:30
Arik Fraimovich
bcd3670282
Merge pull request #1156 from jcox92/patch-1
...
Docs: add SSL parameters to nginx configuration
2016-06-26 08:56:19 +03:00
Josh Cox
f7e556969a
Add SSL parameters to nginx configuration
...
These parameters prevent some common exploits and vulnerabilities. My primary reference was here: https://raymii.org/s/tutorials/Strong_SSL_Security_On_nginx.html
2016-06-23 15:24:17 -04:00
Arik Fraimovich
dd759fe4b0
Merge pull request #1155 from getredash/random
...
Fix: make all configuration values of Oracle required
2016-06-23 21:24:09 +03:00
Arik Fraimovich
988b301f65
Fix: make all configuration values of Oracle required
2016-06-23 21:21:04 +03:00
Arik Fraimovich
923b3b18e4
Merge pull request #1152 from getredash/random
...
Fix: add missing paddings in titles
2016-06-22 16:08:45 +03:00
Arik Fraimovich
95c47138ab
Fix: add missing paddings in titles
2016-06-22 14:12:27 +03:00
Masayuki Muto
cfbffe0cce
Specify tds_version
2016-06-22 16:34:34 +09:00
Masayuki Muto
991fe618b7
Update pymssql version to connect Azure Database
2016-06-22 16:19:38 +09:00
Masayuki Muto
0538fe401b
Fix typo
2016-06-22 16:18:42 +09:00
Arik Fraimovich
31e7375a30
Merge pull request #1150 from getredash/random
...
UI Fixes for v0.11
2016-06-21 14:07:50 +03:00
Arik Fraimovich
8808e38de9
Fix: shared dashboard fail to render queries.
2016-06-21 11:56:02 +03:00
Arik Fraimovich
0314313285
Merge pull request #1149 from toru-takahashi/patch-2
...
Presto QueryRunner supports tinyint and smallint
2016-06-21 11:50:32 +03:00
Toru Takahashi
9c0d1da7f9
Presto QueryRunner supports tinyint and smallint
...
Presto0.148 started to support tinyint and smallint.
https://prestodb.io/docs/current/release/release-0.148.html
2016-06-21 17:36:23 +09:00
Arik Fraimovich
904ea9f90a
Fix: after creating new alert, it uses wrong id to load subscribers
2016-06-20 19:36:27 +03:00
Arik Fraimovich
6bb09d8446
Merge pull request #1146 from someones/doc-add-settings
...
Docs: add a link to settings documentation.
2016-06-20 09:31:50 +03:00
Arik Fraimovich
d5e5b2438b
Merge pull request #1136 from someones/org-aware-cli
...
Feature: add --org option to all relevant CLI commands.
2016-06-20 09:27:38 +03:00
Arik Fraimovich
dbd48e15bc
Merge pull request #1143 from ariarijp/fix/email-input
...
Fix: use the email input type where needed
2016-06-20 08:56:43 +03:00
Takuya Arita
21fdd6b69d
Revert input type
2016-06-20 14:05:51 +09:00
Adam Griffiths
a666adeaa7
Add a link to settings.
...
The settings page doesn't seem to have any links to it.
The only way to find it is through searching for it.
So we'll add one to the setup.rst page.
2016-06-20 11:05:28 +10:00
Adam Griffiths
15361cc81c
Improve the help text text
...
Add "(leave blank for 'default')." or
"(leave blank for all organizations)" to organization options.
Remove the text "This commands assume single organization operation."
from the `users` and `groups` managers help text.
2016-06-20 09:56:05 +10:00
Adam Griffiths
704a167c74
Fix organization parameters.
...
Move organization to the end of the parameter
list to prevent breaking any existing code.
Provide a default for all organization parameters
to allow people to call the CLI functions without
breaking existing code.
Add missing organization parameter to `list` in
`users.py`.
2016-06-20 09:49:37 +10:00
ariarijp
df2c8d83b0
Use the email input type
2016-06-19 20:48:01 +09:00
Arik Fraimovich
7445972c10
Merge pull request #1142 from getredash/random
...
Fix: dates in filters might be duplicated
2016-06-19 08:54:02 +03:00
Arik Fraimovich
1933995a28
Fix: dates in filters might be duplicated
2016-06-19 08:51:45 +03:00
Arik Fraimovich
8df822eee2
Merge pull request #1141 from getredash/random
...
Make create data source button more prominent
2016-06-17 18:10:28 +03:00
Arik Fraimovich
227fe9b44a
Make create data source button more prominent
2016-06-17 18:07:48 +03:00
Arik Fraimovich
5d0ed02caa
Merge pull request #1140 from getredash/random
...
Fix: Hive should use the enabled variable
2016-06-17 18:06:54 +03:00
Arik Fraimovich
392627d6d6
Merge pull request #1139 from getredash/random
...
Fix: Impala data source referencing wrong variable
2016-06-17 17:53:30 +03:00
Arik Fraimovich
72d02e9e9d
Fix: Hive should use the enabled variable
2016-06-17 17:50:26 +03:00
Arik Fraimovich
902ce24f6f
Fix: Impala data source referencing wrong variable
2016-06-17 17:49:34 +03:00
Arik Fraimovich
c5bfbbaef7
Merge pull request #1133 from vishesh92/fix-scroll
...
Fix: query scrolling issues
2016-06-17 17:43:04 +03:00
fabito
58a9bedb64
add documentation for UDF Source URIs
2016-06-17 09:50:03 -03:00
Arik Fraimovich
a03f5f88fb
Limit Celery concurrency
2016-06-17 10:19:33 +03:00
fabito
ec50cf97a9
Add new optional property "UDF Source URIs" to BigQuery datasource so that users can reuse UDFs amongs queries
2016-06-17 02:02:48 -03:00
Adam Griffiths
a66e182f73
Add --org option to all relevant CLI commands.
...
--org is the organization slug, not the name.
Allows the management of users, datasources and groups
with respect to organisations.
All commands default to 'default' slug, or None where
relevant, which means the commands will still work
as they did before without any changes.
2016-06-17 12:03:09 +10:00
Arik Fraimovich
96dd811607
Merge pull request #1127 from someones/schema_secrets
...
Mark basic_auth_password as secret
2016-06-16 21:24:16 +03:00
Vishesh Jindal
409200188e
Fix query scrolling #1024
2016-06-16 17:40:48 +05:30
Arik Fraimovich
ad65391914
Merge pull request #1130 from AntoineAugusti/patch-1
...
Improve Slack notification style
2016-06-15 17:22:31 +03:00
Antoine Augusti
203f6afa09
Improve Slack notification style
2016-06-15 15:56:04 +02:00
Arik Fraimovich
2b710420ab
Docs: start worker process on Heroku
2016-06-15 16:17:11 +03:00
Arik Fraimovich
01116f41ed
Don't auto reload/run in debug mode on Heroku
2016-06-15 16:17:11 +03:00
Arik Fraimovich
87e25f2107
Merge pull request #1129 from getredash/fix-viz-options
...
Feature: support for JSON query formatting (Mongo, ElasticSearch)
2016-06-15 15:21:41 +03:00
Arik Fraimovich
c495250a54
Feature: support for JSON query formatting (Mongo, ElasticSearch)
2016-06-15 15:06:50 +03:00
Arik Fraimovich
c01d266030
Merge pull request #1128 from getredash/fix-viz-options
...
Fix: visualization options not updating after changing type
2016-06-15 12:49:43 +03:00
Arik Fraimovich
8515ac25bc
Fix: visualization options not updating after changing type
2016-06-15 12:42:18 +03:00
Adam Griffiths
23988a72aa
Mark basic_auth_password as secret
2016-06-15 11:34:02 +10:00
Arik Fraimovich
6bc0e7a716
Merge pull request #1126 from getredash/fix_669
...
Fix #669 : save fails when doing partial save of new query
2016-06-14 15:39:58 +03:00
Arik Fraimovich
2c2ff0d252
Fix #669 : save fails when doing partial save of new query
2016-06-14 15:39:12 +03:00
Arik Fraimovich
69cefee0d4
Update Heroku instructions.
2016-06-14 14:36:41 +03:00
Arik Fraimovich
02c065751a
Update Heroku pre_compile hook
2016-06-14 14:23:56 +03:00
Arik Fraimovich
aed65f4bad
Deduplicate parameter names
2016-06-14 14:00:38 +03:00
Arik Fraimovich
6bb2716fe3
Merge pull request #1121 from getredash/fix_949
...
Show error when failing to communicate with server
2016-06-14 13:18:06 +03:00
Arik Fraimovich
efaeb08178
Merge pull request #1120 from getredash/feature/params_ui
...
Fix: default vale for parameters should be [] and not {}
2016-06-14 13:17:21 +03:00
Arik Fraimovich
e18a073128
Show error when failing to communicate with server
...
Closes #949 .
2016-06-14 12:12:31 +03:00
Arik Fraimovich
f21276ec06
Merge pull request #1119 from getredash/feature/params_ui
...
Feature: add UI to delete alerts
2016-06-14 12:00:53 +03:00
Arik Fraimovich
b0c0582e41
Fix: default vale for parameters should be [] and not {}
2016-06-14 11:59:11 +03:00
Arik Fraimovich
9ad85091ed
Add UI to delete alerts ( closes #731 )
2016-06-14 11:55:00 +03:00
Arik Fraimovich
2d2fb69b7b
Add API to delete alerts ( #731 ).
2016-06-14 11:21:05 +03:00
Arik Fraimovich
3ce27b9652
Merge pull request #1118 from getredash/feature/params_ui
...
Fix: remove alerts for archived queries
2016-06-14 11:15:50 +03:00
Arik Fraimovich
da4db94cf8
Close #930 : remove alerts for archived queries
2016-06-14 11:09:35 +03:00
Arik Fraimovich
4cbc79a7aa
Use default user for alert_subscription factory
2016-06-14 11:04:41 +03:00
Arik Fraimovich
4fabaaea8a
Merge pull request #1117 from getredash/feature/params_ui
...
Fix #1052 : filter not working for date/time values
2016-06-14 11:02:02 +03:00
Arik Fraimovich
a7af596da0
Fix #1052 : filter not working for date/time values
2016-06-14 10:58:33 +03:00
Arik Fraimovich
df637e3f6b
Merge pull request #1116 from getredash/feature/params_ui
...
Return meaningful error when there is no cached result.
2016-06-14 10:44:24 +03:00
Arik Fraimovich
68465b0c60
Return meaningful error when there is no cached result.
...
Previously it was crashing as it was trying to access an unreferenced
variables (query_result).
2016-06-14 10:41:01 +03:00
Arik Fraimovich
86565402fa
Merge pull request #1069 from getredash/feature/params_ui
...
Feature: UI for query parameters
2016-06-14 10:15:36 +03:00
Arik Fraimovich
c2e3637dce
Feature: UI for query parameters
...
This pull request implements UI for parameters and also allows to set the default value and type of a parameter.
(Closes #583 )
Other changes in this pull request:
- Loading/error state for dashboard widgets.
- Refresh button on dashboard widgets (Closes #810 ).
- Maintain sync between query/dashboard URL and current parameters, and preserve them when navigating.
- Removed Pivot Table tab.
2016-06-14 10:09:16 +03:00
Arik Fraimovich
52558043ee
Merge pull request #1091 from whummer/feature/cache_embeds
...
Add caching for queries used in embeds
2016-06-14 08:34:13 +03:00
Waldemar Hummer
a045d7ddf7
simplify code to get parameters
2016-06-14 09:36:32 +10:00
Arik Fraimovich
c107c94a27
Merge pull request #1077 from nabilblk/master
...
Fix: install needed dependencies to use Hive in Docker image
2016-06-13 15:22:53 +03:00
Arik Fraimovich
790128ce77
Merge pull request #1067 from anthony-coble/add_word_cloud
...
Feature: word cloud visualization
2016-06-13 13:40:02 +03:00
Arik Fraimovich
abc790ce41
Merge pull request #1115 from getredash/fix-1097
...
Fix: allow non integers in alert reference value
2016-06-13 13:13:27 +03:00
Arik Fraimovich
f2643521f7
Fix: allow non integers in alert reference value
2016-06-13 13:03:08 +03:00
nabil
0d897e6878
move hive depencencies into req_all_ds.txt
2016-06-09 22:29:46 +00:00
Arik Fraimovich
4ec473cf5e
Merge pull request #1110 from getredash/fix-1097
...
Fix #1109 : mixed group permissions resulting in wrong permission
2016-06-09 20:02:06 +03:00
Arik Fraimovich
0c7f0c25a8
Fix #1109 : mixed group permissions resulting in wrong permission
2016-06-09 19:59:26 +03:00
Arik Fraimovich
8c21e9149d
Merge pull request #1108 from getredash/fix-1097
...
Remove potnetially concurrency not safe code form enqueue_query
2016-06-09 17:08:53 +03:00
Arik Fraimovich
7159f0beb0
Remove potnetially concurrency not safe code form enqueue_query.
...
This might have been causing the behavior described in #1097 .
2016-06-09 16:53:29 +03:00
Arik Fraimovich
095e7596b5
Merge pull request #1103 from AntoineAugusti/patch-1
...
Docs: add section about monitoring
2016-06-09 16:32:24 +03:00
Arik Fraimovich
31013836ea
Fix path reference in embed.html.
2016-06-09 11:06:52 +03:00
kitsuyui
91e99c42cd
Fix #1101 : Query execution fails if user name has unicode characters
...
- Encode the query with connection's charset when its type is unicode(not str).
2016-06-09 12:08:58 +09:00
Arik Fraimovich
b67f412f58
Add test for enqueue_query
2016-06-08 20:00:59 +03:00
Antoine Augusti
c1bf9dc67d
Add section about monitoring
2016-06-08 15:47:00 +02:00
Arik Fraimovich
65635ec703
Merge pull request #1102 from getredash/feature/hipchat_v2
...
Switch to HipChat V2 API
2016-06-08 16:17:10 +03:00
Arik Fraimovich
ceaa00e448
Fix HipChat base URL
2016-06-08 16:09:06 +03:00
Arik Fraimovich
679b0a3125
Switch to HipChat V2.
2016-06-08 16:04:28 +03:00
Arik Fraimovich
fe81dbd3a2
Fix paths in Gulp build pipeline
2016-06-08 10:00:05 +03:00
Arik Fraimovich
1409907ef1
WIP: gulp fix
2016-06-08 09:32:14 +03:00
Arik Fraimovich
cbbfc4e931
Update bower.json
2016-06-08 08:57:51 +03:00
Arik Fraimovich
1ca5262fa8
Merge pull request #1099 from someones/heroku-clean
...
Fix RST syntax for links
2016-06-08 08:14:29 +03:00
Adam Griffiths
429b76f5a7
Fix RST syntax for links
2016-06-08 15:01:03 +10:00
Arik Fraimovich
8b73a2b135
Merge pull request #1098 from getredash/flexible_notifications
...
Feature: UI for alert destinations & new destination types
2016-06-07 15:18:11 +03:00
Arik Fraimovich
eed5485080
Update Alerts/subscriptions UI for new look and feel.
2016-06-07 15:12:47 +03:00
Arik Fraimovich
daa6c1cd6f
Merge pull request #1096 from AntoineAugusti/patch-2
...
Fix typo in env variable VERSION_CHECK
2016-06-07 11:01:00 +03:00
Antoine Augusti
68dc3b033c
Fix typo in env variable VERSION_CHECK
2016-06-07 09:58:49 +02:00
Anthony Coble
2e88e7f396
fixup! Add a word cloud vis
2016-06-06 17:49:31 -04:00
Arik Fraimovich
cd06d276e4
Merge pull request #1095 from ordd/fix_new_query_permission
...
Fix: use create_query permission for new query button.
2016-06-06 17:25:28 +03:00
Or
437f589fde
Fix: use create_query permission for new query button.
2016-06-06 12:27:08 +03:00
Arik Fraimovich
1fbeb5d2a5
Merge pull request #1092 from someones/heroku-clean
...
Add Heroku support
2016-06-06 09:24:27 +03:00
Arik Fraimovich
df1e72ca01
Take into account that node_modules moves to root
2016-06-06 09:24:13 +03:00
Arik Fraimovich
fcc656e04e
Add support for REDIS_URL and DATABASE_URL in settings.
...
(preparation for Heroku support - #1092 )
2016-06-06 09:22:33 +03:00
Adam Griffiths
a0b97c1fc9
Update Heroku support as per comments
...
Fix comment in bin/pre_compile.
Remove .gitattributes and .travis.yml in rd_ui/.
Remove bin/run from Procfile.heroku.
Update documentation:
-Add a note about upgrading from version to version.
-Remove commands for DATABASE_URL and REDIS_URL.
-Add importance to the cookie secret variable.
-Merge adding redis and postgres addons into 1 step.
2016-06-06 11:39:10 +10:00
Arik Fraimovich
4d6599e0ea
WIP
2016-06-05 15:51:49 +03:00
Adam Griffiths
c75054b320
Add Heroku support
...
Move .bowerrc, bower.json, gulpfile.js, package.json
down to root level.
Update paths in .bowerrc, gulpfile.js, Makefile
Add a heroku-postbuild step to package.json which
installs devDependencies and runs the build.
Add step in bin/pre_compile which adds the
requirements_all_ds.txt to requirements.txt to ensure that
cffi is installed. Also removes pymssql as this is
not supported on Heroku.
Add content from rd_ui/.gitignore to .gitignore and
remove rd_ui/.gitignore.
Add section in setup.rst about Heroku deployments.
2016-06-03 12:21:09 +10:00
Waldemar Hummer
011ca74338
add caching for queries used in embeds
2016-06-03 09:14:59 +10:00
Arik Fraimovich
434615a1be
Merge remote-tracking branch 'origin/master' into flexible_notifications
2016-06-02 10:21:52 +03:00
Arik Fraimovich
2bc0b276b5
Merge pull request #1061 from thoughtworks/fix/area_plots
...
Fix: area chart stacking doesn't work
2016-06-01 21:21:18 +03:00
Arik Fraimovich
e942486ed7
Merge pull request #1090 from getredash/contributing_guide
...
Contributing Guide
2016-06-01 15:56:36 +03:00
Arik Fraimovich
9eff7ef8c9
Update CONTRIBUTING.md
2016-06-01 15:55:50 +03:00
Arik Fraimovich
34b305d232
Update CONTRIBUTING.md
2016-06-01 15:52:52 +03:00
Arik Fraimovich
f0d97bc5d1
Update CONTRIBUTING.md
2016-06-01 15:30:04 +03:00
Arik Fraimovich
f64622db77
Merge pull request #1089 from James226/master
...
Add support for serialising UUID type within MSSQL #961
2016-06-01 15:14:59 +03:00
Arik Fraimovich
8030baa6a5
Create "Contributing Guide"
2016-06-01 14:55:11 +03:00
Raymond Machira
3d82b702b3
Merge branch 'upstream/master' into fix/area_plots
...
# Conflicts:
# rd_ui/app/scripts/directives/plotly.js
2016-05-31 10:50:05 -05:00
Arik Fraimovich
ad8676df2e
Merge pull request #1087 from getredash/fix/chart_editor
...
Maintain fixed size of chart area
2016-05-31 11:29:37 +03:00
Arik Fraimovich
ea031e9a98
Maintain fixed size of chart area
2016-05-31 11:27:01 +03:00
Arik Fraimovich
9cfebedec9
Merge pull request #1086 from getredash/fix/chart_editor
...
Give bottom margin setting more meaningful name & change to input type to number.
2016-05-31 10:36:24 +03:00
Arik Fraimovich
772d263827
Give bottom margin setting more meaningful name & change to input to number.
2016-05-31 10:27:28 +03:00
Arik Fraimovich
8c455c8a1c
Update login page title
2016-05-31 09:46:29 +03:00
Arik Fraimovich
857caab20e
Merge pull request #1085 from getredash/feature/pause-api
...
Feature: API to pause a data source
2016-05-31 09:08:03 +03:00
Arik Fraimovich
59f8af2c44
Switch to Redis for pause state storage
2016-05-30 22:44:09 +03:00
Arik Fraimovich
9538ee7c31
Feature: API to pause a data source
2016-05-30 18:30:05 +03:00
Arik Fraimovich
e8312185dc
Merge pull request #1084 from getredash/fix_dup_alerts
...
Fix #1049 : duplicate alerts when data source belongs to multiple groups
2016-05-30 14:42:05 +03:00
Arik Fraimovich
07d2b5ba42
Fix #1049 : duplicate alerts
2016-05-30 14:39:58 +03:00
Arik Fraimovich
f8120284d5
WIP: updated look and feel
2016-05-30 14:39:01 +03:00
James Parker
5b654fd1c8
Add support for serialising UUID type within MSSQL #961
2016-05-27 09:22:38 +01:00
Arik Fraimovich
6edb0ca8ec
Merge pull request #1080 from jeffwidman/patch-1
...
Fix typo
2016-05-27 08:42:21 +03:00
Lloyd Weehuizen
3f208c03fd
Add missing type parameter to collect_value call
2016-05-27 10:23:16 +12:00
Jeff Widman
ef0de1414d
Fix typo
2016-05-26 14:29:40 -07:00
Arik Fraimovich
214aa3b799
Merge pull request #1060 from thoughtworks/saml-authorization
...
Feature: support configuring user's groups with SAML
2016-05-26 23:07:30 +03:00
Arik Fraimovich
64d7538040
Merge pull request #1074 from toyama0919/master
...
Fix: ElasticSearch wasn't using correct type names
2016-05-26 22:57:32 +03:00
Kumar Vora
69177752bc
addresses PR feedback!
2016-05-26 14:46:25 -05:00
Kumar Vora
d83c6c42dd
Raymond/Kumar : Fixes issue where going into edit more would break stacking. - selects legend divs from current graph only (instead of selecting from the entire dom)
2016-05-26 14:17:19 -05:00
nabil
2043834ae9
Issue #1076 : addtional dependencies for Hive Datasource
2016-05-26 10:38:07 +01:00
toyama0919
d6f4af448c
fix bug. There is a case set unsupport type for elasticsearch.
2016-05-25 17:50:13 +09:00
Raymond Machira
43b425f91c
Merge branch 'get-redash-master' of github.com:thoughtworks/redash into fix/area_plots
2016-05-24 18:11:13 -05:00
Raymond Machira
17427cf47b
Names the legend item click listener to avoid overriding other places the event may be used. Also removes the event listener when type of chart changes.
2016-05-24 17:54:50 -05:00
Kumar Vora
b5be5a8fa4
no need to check count of results
2016-05-24 16:38:41 -05:00
Arik Fraimovich
14fcf01751
Merge pull request #1072 from getredash/arikfr-patch-2
...
Remove counter from the tasks Done tab (as it always shows 50). #1047
2016-05-23 21:24:01 +03:00
Arik Fraimovich
09848d65a1
Remove counter from the tasks Done tab (as it always shows 50). #1047
2016-05-23 18:32:59 +03:00
Arik Fraimovich
0d897ea959
Update AMIs to 0.10.1
2016-05-22 13:35:07 +03:00
Arik Fraimovich
e88d4c3d27
Remove reference to Google Groups and add Discourse instead
2016-05-22 10:33:46 +03:00
Arik Fraimovich
82f0b4c386
Update version reference in bootstrap scripts.
2016-05-22 10:33:46 +03:00
Arik Fraimovich
3037c4f90d
Merge pull request #1066 from edwardsharp/edwardsharp-fix-1057
...
Docs: command type-o fix.
2016-05-22 08:59:12 +03:00
Kumar Vora
8900d02c95
fixing test
2016-05-20 14:35:49 -05:00
Kumar Vora
c1c2db4a73
use user.org instead of passing org as a separate argument
2016-05-20 14:28:08 -05:00
Anthony Coble
574d8a18ae
Add a word cloud vis
2016-05-19 16:19:08 -04:00
edward sharp
82872db111
command type-o in setup docs. fix #1057
2016-05-19 12:57:18 -07:00
Arik Fraimovich
3f90dd9247
Merge pull request #1064 from getredash/fix/keys_cleanup
...
Fix: old task trackers were not really removed
2016-05-19 10:08:58 +03:00
Arik Fraimovich
b2e2277d0b
Fix: old task trackers were not really removed
2016-05-19 09:58:30 +03:00
Arik Fraimovich
e20a00566a
Merge pull request #1007 from vorakumar/issue-1006
...
Issue#1006: Make bottom margin editable for Chart visualization
2016-05-18 23:18:12 +03:00
Arik Fraimovich
e10ecd2dad
Merge pull request #1058 from AntoineAugusti/patch-1
...
Bring back filters if dashboard filters are enabled
2016-05-18 22:50:31 +03:00
Arik Fraimovich
6e0dd2b9a3
Merge pull request #1063 from windward-ltd/master
...
Add support for date/time Y axis
2016-05-18 22:50:13 +03:00
tomerb
0bb3fb9c40
added datetime to the yaxis scale options
2016-05-18 18:41:08 +03:00
Arik Fraimovich
1a1160eb76
Merge pull request #1062 from getredash/fix_dql
...
DynamoDB: Better exception handling
2016-05-18 14:14:00 +03:00
Arik Fraimovich
d4ae97aab2
Move pyparsing import to the try/except block
2016-05-18 14:08:42 +03:00
Arik Fraimovich
8bc42c8ad9
Remove duplicate reference to ParseException
2016-05-18 13:45:26 +03:00
Arik Fraimovich
6c5865bd3b
Better exception handling
2016-05-18 13:44:38 +03:00
Arik Fraimovich
701035fabd
Merge pull request #1059 from getredash/fix_dql
...
Fix: DynamoDB having issues when setting host
2016-05-18 13:42:48 +03:00
Arik Fraimovich
31aee1b6b9
Better exception handling
2016-05-18 13:30:20 +03:00
Arik Fraimovich
367ea859e4
If host param is empty, change it to None
2016-05-18 13:30:10 +03:00
Raymond Machira
d79d3da955
Merge branch 'get-redash-master' into fix/area_plots
2016-05-17 15:55:21 -05:00
Raymond Machira
6c822d1e4b
Force area charts to recalculate on click of legend items.
...
This fixes issue #948 where stacked area plots do not update once series are enabled/disabled using the legend.
It also fixes the behaviour of percentage stack area plots, so as to have similar behaviour to percentage stacked bar charts.
2016-05-17 15:49:25 -05:00
Ama Asare
ad85b9a62c
Ama/Kumar: Configure authorization for SAML
2016-05-17 14:01:18 -05:00
Arik Fraimovich
b5a4a6b880
Merge pull request #979 from ninneko/860-managepy_support_gropu_operation
...
Feature: Add CLI to edit group permissions
2016-05-17 15:05:16 +03:00
Arik Fraimovich
1828de20b0
Fix: DynamoDB having issues when setting host
2016-05-17 14:36:15 +03:00
Antoine Augusti
48c85645c6
Bring back filters if dashboard filters are enabled
2016-05-17 09:57:08 +02:00
Arik Fraimovich
ed45dcb01d
Merge pull request #1044 from thoughtworks/improve-vagrant-flow
...
Improve vagrant flow
2016-05-13 15:47:10 +03:00
Ama Asare
d4ff7482ad
Ama: Install just pymongo and not everything in requirements_all_ds.txt
...
Because some dependencies were missing and we dont really need everything in the file...just pymongo
Also removed unneeded files, reverted circle.yml to as it is on redash, so it doesnt show in the PR diff
2016-05-09 17:15:07 -05:00
Ama Asare
90f0b3b49a
Ama: Consolidate vagrant_provision script, move files to more intuitive locations, include command from #1021 .
...
Also reset circle.yml to be as in the main redash repo so our changes are not included in the changeset
Check earlier PR https://github.com/getredash/redash/pull/1027 to follow conversation.
2016-05-09 17:13:33 -05:00
Ama Asare
f8efb2d7ea
Ama/Chris #7121 Added script to run or test redash vagrant server in one command.
2016-05-09 17:13:18 -05:00
Kumar Vora
d2ba0cb6cf
Let plotly calculate the height based on provided margin values
2016-05-09 16:11:51 -05:00
Arik Fraimovich
cfb852e9c5
Add missing import.
2016-05-08 22:29:36 +03:00
Arik Fraimovich
d5c6e57c62
Optionally get org_slug from g.
2016-05-08 10:41:56 +03:00
Arik Fraimovich
2924d4fce6
Merge pull request #1040 from getredash/fix/visaulizations
...
Small fixes to visualizations view
2016-05-08 10:39:37 +03:00
Arik Fraimovich
e602b8cf2b
Don't render visualizations in the background
2016-05-08 10:34:30 +03:00
Arik Fraimovich
0b806e2e7d
Fix: link in pivot tab was broken
2016-05-08 10:34:14 +03:00
yohei.naruse
c3c302e11e
modify indent size
2016-05-08 12:43:42 +09:00
Arik Fraimovich
aa837ed09b
Update for new design
2016-05-07 22:20:06 +03:00
Arik Fraimovich
f07e7273c1
Fix: add destination to list of static routes
2016-05-07 22:19:53 +03:00
Arik Fraimovich
9b6f555d76
Update alert task to use destinations
2016-05-07 17:58:15 +03:00
Arik Fraimovich
e069374232
Merge w/ latest master
2016-05-07 17:49:49 +03:00
Arik Fraimovich
c496df3b87
Update ISSUE_TEMPLATE.md
2016-05-05 22:30:10 +03:00
Arik Fraimovich
2ee0065102
Merge pull request #1038 from getredash/docs-github
...
Add an ISSUE_TEMPLATE.md to direct people at the forum
2016-05-05 22:29:23 +03:00
Arik Fraimovich
c0ffea7083
Add an ISSUE_TEMPLATE.md to direct people at the forum
2016-05-05 22:28:04 +03:00
Arik Fraimovich
fec0d5fecc
Merge pull request #1037 from dheerajrav/master
...
multifilter bug fix
2016-05-05 16:28:03 +03:00
dheerajrav
83a03a22b1
multifilter bug fix
2016-05-05 18:51:41 +05:30
Arik Fraimovich
8b5dc8ef68
Merge pull request #1036 from getredash/fixes_160504
...
Add optional block for more scripts in template
2016-05-05 11:26:22 +03:00
Arik Fraimovich
f3a274a5c0
Add optional block for more scripts in template
2016-05-05 11:26:02 +03:00
Arik Fraimovich
386d6efdaa
Merge pull request #1035 from whummer/feat/test_params_on_embeds
...
Add test case for embeds with parameters
2016-05-05 09:56:56 +03:00
Waldemar Hummer
e415189017
add test case for embeds with parameters; minor fix in embeds.py
2016-05-05 11:15:49 +10:00
Arik Fraimovich
b066ce4b74
Merge pull request #1033 from getredash/fixes_160504
...
Fix: only ask for notification permissions if wasn't denied
2016-05-04 17:03:26 +03:00
Arik Fraimovich
056ae4f63e
Fix: only ask for notification permissions if wasn't denied
2016-05-04 16:57:58 +03:00
Arik Fraimovich
6d495d2f2c
Merge pull request #1014 from whummer/feat/params_on_embeds
...
Add server-side parameter handling for embeds
2016-05-04 16:56:35 +03:00
Arik Fraimovich
960c416fcb
Merge pull request #1032 from getredash/fixes_160504
...
Fix: make sure we return dashboards only for current org only
2016-05-04 16:54:25 +03:00
Arik Fraimovich
f7322a413f
Merge pull request #1021 from ariarijp/documentation-improvement
...
Vagrant docs: add purging the cache step
2016-05-04 16:49:58 +03:00
Arik Fraimovich
d9cc063be2
Fix: make sure we return dashboards only for current org
2016-05-04 16:32:49 +03:00
Arik Fraimovich
8fa6fdb0d5
Merge pull request #1030 from getredash/fixes_160504
...
Make sure data sources list ordered by id
2016-05-04 12:12:17 +03:00
Arik Fraimovich
7016477700
Restore support for forwarding events
2016-05-04 12:07:59 +03:00
Arik Fraimovich
0bb722df5d
Make sure data sources ordered by id
2016-05-04 12:03:47 +03:00
Arik Fraimovich
b3844d3643
Merge pull request #1029 from getredash/fixes_160504
...
Hive: close connection only if it exists
2016-05-04 10:42:59 +03:00
Arik Fraimovich
e32bfe3db7
Hive: close connection only if it exists
2016-05-04 10:40:53 +03:00
Waldemar Hummer
4591eff557
add server-side parameter handling for embeds
2016-05-03 10:49:01 +10:00
Arik Fraimovich
7062873cd1
Add note re. GCE image version
2016-05-02 12:48:43 +03:00
Lloyd Weehuizen
203cf6e28b
Style updates
2016-05-02 10:18:11 +12:00
Arik Fraimovich
9e23cc2bf2
update version references
2016-05-01 15:49:39 +03:00
ariarijp
c5d92b4e7e
Add purging the cache step
2016-05-01 21:37:51 +09:00
Arik Fraimovich
41dfcd8cbf
Bump version.
2016-05-01 11:18:32 +03:00
Arik Fraimovich
869c060f5a
Merge pull request #1017 from getredash/fix/ds_cli
...
Add data source to default group when creating with CLI
2016-04-29 16:11:30 +03:00
Arik Fraimovich
b9322004f8
Add data source to default group when creating with CLI
2016-04-29 16:08:23 +03:00
yohei.naruse
1fa701c136
apply reviews.
2016-04-28 11:43:01 +09:00
Arik Fraimovich
7b5d16ef6c
Merge pull request #1005 from staritza/master
...
Update bootstrap.sh to include saml dependency
2016-04-25 23:44:39 +03:00
Kumar Vora
303e158eb1
Issue#1006: allowing user to change bottom margin for Chart visualizations
2016-04-22 13:16:00 -05:00
Arik Fraimovich
d331285c1f
Merge pull request #980 from machira/master
...
Add environment variable to override secure_flag on session cookie
2016-04-21 19:16:40 +03:00
Ama A
aab0542a93
Update bootstrap.sh to include saml dependency
...
Required for saml to work
2016-04-20 14:17:10 -05:00
Arik Fraimovich
1f824fc5e3
Merge pull request #957 from gseva:dashboard-permissions
...
Hide dashboards that current user cannot see based on his groups
2016-04-20 20:18:19 +03:00
Raymond Machira
c19a0209eb
Make secure_flag environment var default to Enforce HTTPs
...
Also wraps parse_boolean around the os.get call for the secure_flag variable
2016-04-20 11:01:37 -05:00
Arik Fraimovich
5bd133ca50
Add additional tests
2016-04-20 18:30:31 +03:00
Arik Fraimovich
3ce07782ad
Fix #986 : search might return duplicate queries
2016-04-20 17:54:20 +03:00
Arik Fraimovich
078fd96660
Record event when opening shared dashboard
2016-04-20 17:54:20 +03:00
Arik Fraimovich
5fe70b7aff
Record event when opening visualization embed ( closes #971 ).
2016-04-20 17:54:20 +03:00
Arik Fraimovich
ad445ef40d
Fix: don't show viz edit button if user can't edit
2016-04-20 17:54:20 +03:00
Arik Fraimovich
61aca53300
Show query description only if enabled
2016-04-20 17:54:20 +03:00
Arik Fraimovich
6881da930b
Fix #996 : only show edit controls if user can edit
2016-04-20 17:54:20 +03:00
Arik Fraimovich
d9a8b25430
Fix #994 : query description was rendered with bigger font than name
2016-04-20 17:54:20 +03:00
Antoine Augusti
8c77d77668
Mention how to use some special features
2016-04-20 17:54:20 +03:00
Antoine Augusti
5cef835a78
Specify the user to use when using the provided AMIs
2016-04-20 17:54:20 +03:00
Arik Fraimovich
3c0fc3b134
Feature: running queries (tasks) monitor
...
- Refactored tasks module into a package.
- Add new admins screens (running queries & outdated queries).
2016-04-20 17:54:20 +03:00
Arik Fraimovich
a9cab5fd46
Avoid drawing chart before there is data
2016-04-20 17:54:20 +03:00
Arik Fraimovich
152109a8ef
use ng-src to avoid errors before scope is available
2016-04-20 17:54:20 +03:00
Arik Fraimovich
4ed1db3ccd
Show message if dashboard is archived
2016-04-20 17:54:20 +03:00
Arik Fraimovich
b4af116fc5
Fix: new user form was in wrong scope
2016-04-20 17:54:20 +03:00
Arik Fraimovich
20f6993c8b
Fix: embeds got broken due to missing inject
2016-04-20 17:54:20 +03:00
Arik Fraimovich
15c032668b
Add material font to gulpfile
2016-04-20 17:54:20 +03:00
Arik Fraimovich
0f20f8d5f9
Fix #779 : use the default chart type for new series
2016-04-20 17:54:20 +03:00
Arik Fraimovich
fc0dd22e03
Remove angular-plotly and use Plotly's autoresize
2016-04-20 17:54:20 +03:00
Arik Fraimovich
ae98bf9f60
Remove Plotly legend height workaround and use official support for scrolling.
2016-04-20 17:54:20 +03:00
Arik Fraimovich
a426002adf
Switch to official Plotly.js bower distribution and use latest version.
2016-04-20 17:54:20 +03:00
Arik Fraimovich
2e9c6dd05d
bower.json: move bootstrap version to correct location
2016-04-20 17:54:20 +03:00
Arik Fraimovich
509b8afefc
Add documentation on permissions model
2016-04-20 17:54:20 +03:00
Arik Fraimovich
43fb88d49b
Add Slack to list of contact methods
2016-04-20 17:54:20 +03:00
Arik Fraimovich
2bd60663b9
Update name in conf.py
2016-04-20 17:54:20 +03:00
Arik Fraimovich
accb3d973d
Docs: re:dash -> Re:dash & new screenshots
2016-04-20 17:54:20 +03:00
Arik Fraimovich
807df66ae9
Refine docker instructions
2016-04-20 17:54:20 +03:00
Antoine Augusti
bdfb2e9e63
Snake case it is
2016-04-20 17:54:20 +03:00
Antoine Augusti
3d946b9a36
Clean code
2016-04-20 17:54:20 +03:00
Antoine Augusti
9ebd7c8f04
Add a command to send an invitation link to a user
2016-04-20 17:54:20 +03:00
Arik Fraimovich
222eb369ca
Change logoUrl to logo_url to comply w/ code style
2016-04-20 17:54:20 +03:00
Arik Fraimovich
d8207241b7
New design 🎉 and UX improvements! In more detail:
...
- Based on the SuperFlat admin theme (I bought the extended license).
- All pages are now full-width to give your data the room it deserves.
- Various UX improvements (althuogh there is still room for improvement).
2016-04-20 17:54:20 +03:00
Antoine Augusti
2f94a21bd0
Inject variables with app context and ability to change the logo
2016-04-20 17:54:20 +03:00
tdawber
1233706aac
Add link to embeds to open query in new window
2016-04-20 17:54:20 +03:00
Arik Fraimovich
0fb17c5478
Fix #958 : group members/datasources were cached.
2016-04-20 17:54:20 +03:00
chiragkparmar@gmail.com
b74db8148d
Correct ports per installation strategy used
2016-04-20 17:54:20 +03:00
chiragkparmar@gmail.com
d1b979b64e
Add more instructions on getting started.
2016-04-20 17:54:20 +03:00
chiragkparmar@gmail.com
bf47e57abc
Remove extra gif
2016-04-20 17:54:20 +03:00
chiragkparmar@gmail.com
f8161dc9a5
Add second demo
2016-04-20 17:54:20 +03:00
chiragkparmar@gmail.com
3fccd23a62
Add missing )
2016-04-20 17:54:20 +03:00
chiragkparmar@gmail.com
2888f0dbf4
Add documentation link at the top
2016-04-20 17:54:20 +03:00
chiragkparmar@gmail.com
3b4bb6a557
Add gitter chat button
2016-04-20 17:54:20 +03:00
Arik Fraimovich
346b31d39e
Add support for using Redis via unix socket
2016-04-20 17:54:20 +03:00
Arik Fraimovich
1d2425e002
Ability to disable some query runners
2016-04-20 17:54:20 +03:00
Arik Fraimovich
bee6a6d80b
Friendlier name for MySQL query runner
2016-04-20 17:54:20 +03:00
Arik Fraimovich
515b52196c
Allow toggling dashboard full screen from URL
2016-04-20 17:54:20 +03:00
Andrew Davison
02601ace68
Release download path must use the version, not the branch
2016-04-20 17:54:20 +03:00
Andrew Davison
5cb03baa95
Use a REDASH_BRANCH environment variable instead, in the same way as REDASH_VERSION.
...
Move REDASH_VERSION var setup to top of file where it is more visible and easier to update.
2016-04-20 17:54:20 +03:00
Arik Fraimovich
fac8295aaf
Use ng-if instead of ng-show for schema
2016-04-20 17:54:20 +03:00
Arik Fraimovich
fd913402bc
Fix: on first save, make sure we load alredy existing data
2016-04-20 17:54:20 +03:00
Arik Fraimovich
7f7ab39329
Fix mobile state of query page
2016-04-20 17:54:20 +03:00
Andrew Davison
23c7218195
Allow passing version to bootstrap.sh as a cli parameter, to download a specific tag's setup files.
2016-04-20 17:54:20 +03:00
Andrew Davison
2a559d6452
Fix "http directive is not allowed here"
2016-04-20 17:54:20 +03:00
Sam Ehlers
3a8af1e4c7
Fixed error when result doesn't contain series
2016-04-20 17:54:20 +03:00
Sam Ehlers
3c2877123f
Fixed error when series doesn't have tags
2016-04-20 17:54:20 +03:00
Sam Ehlers
ebb07946ac
Added support for multiple queries and tags
...
Multiple queries are separated by semicolons and could possibly have
different columns and tags.
https://docs.influxdata.com/influxdb/v0.11/guides/querying_data/#multiple-queries
Tags come in to the result set when you use a GROUP BY statement.
2016-04-20 17:54:20 +03:00
Arik Fraimovich
afd009e540
When opening a query page, don't automatically execute it
2016-04-20 17:54:20 +03:00
Arik Fraimovich
5d86d34b4e
Fix: show notifications only when page in background
2016-04-20 17:54:20 +03:00
Arik Fraimovich
8b5673e973
Ask for notification permissions only on query execution
2016-04-20 17:54:20 +03:00
Arik Fraimovich
50c043ca54
Split colors palette to base and additional
2016-04-20 17:54:20 +03:00
chiragkparmar@gmail.com
42fdfdeb97
Update color palette to add more pretty colors
...
Inspired from ggplot2 color palette, update ColorPalette to make charts
more pretty.
2016-04-20 17:54:20 +03:00
Arik Fraimovich
cc51baabce
Move buttons in the query page
2016-04-20 17:54:20 +03:00
Alex DeBrie
586f035a5c
Prevent schemas from expanding on search
2016-04-20 17:54:20 +03:00
Andrea Leesley
d3c47e5bf3
Adjust query info ui.
2016-04-20 17:54:20 +03:00
Andrea Leesley
cfc064ef48
Make query results full width.
2016-04-20 17:54:20 +03:00
Andrea Leesley
36b471f26d
Move the schema container to the right.
...
- Clean up ui on the new query page.
2016-04-20 17:54:20 +03:00
atharva.inamdar
96a0fe8ed8
updated query search bar visibility threshold to 500
2016-04-20 17:54:20 +03:00
Alexander Leibzon
f33a2fcaa9
code style, name method
2016-04-20 17:54:20 +03:00
Alexander Leibzon
073182612b
requirements rearrangement
2016-04-20 17:54:20 +03:00
Alexander Leibzon
d3d6121fc0
fixes
2016-04-20 17:54:20 +03:00
Alexander Leibzon
0b222498e7
the dynamoDB SQL connector
2016-04-20 17:54:20 +03:00
Alexander Leibzon
1b3fe9dde2
add requirements
2016-04-20 17:54:20 +03:00
Alexander Leibzon
ccf6c0ede6
dynamodb SQL connector
2016-04-20 17:54:20 +03:00
John Katsnelson
07f18cbe0c
docker-compose ls should be docker-machine ls
2016-04-20 17:54:20 +03:00
John Katsnelson
619b4ec32d
adds basic docker compose instructions
2016-04-20 17:54:20 +03:00
Arik Fraimovich
b73fdf1f33
Merge pull request #1003 from getredash/feature/embed_event
...
Fix #986 : search might return duplicate queries
2016-04-20 17:14:05 +03:00
Arik Fraimovich
10f12e5008
Fix #986 : search might return duplicate queries
2016-04-20 17:09:59 +03:00
Arik Fraimovich
ff9336907e
Merge pull request #1002 from getredash/feature/embed_event
...
Feature: record events for embed and shared dashboard open
2016-04-20 16:25:45 +03:00
Arik Fraimovich
fe54e63dd3
Record event when opening shared dashboard
2016-04-20 16:23:00 +03:00
Arik Fraimovich
17d371379b
Record event when opening visualization embed ( closes #971 ).
2016-04-20 16:15:31 +03:00
Arik Fraimovich
0908e222a6
Merge pull request #1000 from getredash/fix/edit_button
...
Fix: don't show visualization edit button if user can't edit it.
2016-04-19 14:14:37 +03:00
Arik Fraimovich
dbfe6c385c
Fix: don't show viz edit button if user can't edit
2016-04-19 14:11:50 +03:00
Arik Fraimovich
e63220cc3a
Merge pull request #998 from getredash/fix/embed_title
...
Fix #994 : query description was rendered with bigger font than name
2016-04-18 22:10:30 +03:00
Arik Fraimovich
07ccd0986d
Show query description only if enabled
2016-04-18 22:08:32 +03:00
Arik Fraimovich
9e96b7f81e
Merge pull request #999 from getredash/fix/empty_dropdown
...
Fix #996 : only show dashboard edit controls if user can edit
2016-04-18 18:46:40 +03:00
Arik Fraimovich
a9ccdc79a4
Fix #996 : only show edit controls if user can edit
2016-04-18 18:43:56 +03:00
Arik Fraimovich
3ad726e87f
Fix #994 : query description was rendered with bigger font than name
2016-04-18 18:36:42 +03:00
Arik Fraimovich
2655eec907
Merge pull request #997 from AntoineAugusti/additional-documentation
...
Additional documentation
2016-04-18 18:09:36 +03:00
Antoine Augusti
1d54bf000b
Mention how to use some special features
2016-04-18 17:00:23 +02:00
Antoine Augusti
2e45b67e11
Specify the user to use when using the provided AMIs
2016-04-18 15:39:42 +02:00
Arik Fraimovich
30227f4815
Merge pull request #856 from getredash/feature/task_monitoring
...
Feature: running queries monitor
2016-04-18 13:49:55 +03:00
Arik Fraimovich
d38ab20c45
Feature: running queries (tasks) monitor
...
- Refactored tasks module into a package.
- Add new admins screens (running queries & outdated queries).
2016-04-18 13:46:31 +03:00
Arik Fraimovich
c17ba03a20
Merge pull request #992 from getredash/fix/2016-04-17
...
Small UI fixes
2016-04-17 18:15:51 +03:00
Arik Fraimovich
ff641440aa
Avoid drawing chart before there is data
2016-04-17 18:12:12 +03:00
Arik Fraimovich
505f807e5a
use ng-src to avoid errors before scope is available
2016-04-17 18:08:09 +03:00
Arik Fraimovich
eb61caa6b8
Show message if dashboard is archived
2016-04-17 18:05:15 +03:00
Arik Fraimovich
cbc58ba594
Fix: new user form was in wrong scope
2016-04-17 17:57:25 +03:00
Arik Fraimovich
8b4e8729dd
Fix: embeds got broken due to missing inject
2016-04-17 14:30:02 +03:00
Arik Fraimovich
3925c48d14
Add material font to gulpfile
2016-04-17 12:26:48 +03:00
Arik Fraimovich
376199957e
Merge pull request #991 from getredash/plotly
...
Improvements to Plotly.js integration
2016-04-17 12:13:57 +03:00
Arik Fraimovich
cf2407b69b
Fix #779 : use the default chart type for new series
2016-04-17 11:58:29 +03:00
Arik Fraimovich
c51779708e
Remove angular-plotly and use Plotly's autoresize
2016-04-17 11:58:00 +03:00
Arik Fraimovich
9cded144e6
Remove Plotly legend height workaround and use official support for scrolling.
2016-04-17 11:12:33 +03:00
Arik Fraimovich
1dd8b6293b
Switch to official Plotly.js bower distribution and use latest version.
2016-04-17 11:12:09 +03:00
Arik Fraimovich
3881eaa72e
bower.json: move bootstrap version to correct location
2016-04-17 11:12:03 +03:00
Arik Fraimovich
6db399893b
Add documentation on permissions model
2016-04-17 09:45:52 +03:00
Arik Fraimovich
a98c45f649
Add Slack to list of contact methods
2016-04-17 09:24:21 +03:00
Arik Fraimovich
8e9cced4c5
Update name in conf.py
2016-04-15 23:27:29 +03:00
Arik Fraimovich
05eb9685ee
Docs: re:dash -> Re:dash & new screenshots
2016-04-15 23:26:21 +03:00
Arik Fraimovich
7f920f352a
Refine docker instructions
2016-04-15 23:14:14 +03:00
Arik Fraimovich
874793e4b0
Merge pull request #977 from ChiragKParmar/master
...
Adding two badges for better visibility.
2016-04-15 23:13:29 +03:00
Arik Fraimovich
6e440d8263
Merge pull request #911 from jkatsnelson/patch-1
...
Docs: Docker compose instructions
2016-04-15 22:45:17 +03:00
Arik Fraimovich
235109c3f7
Merge pull request #984 from getredash/surprise
...
New design 🎉 and UX improvements!
2016-04-15 18:59:04 +03:00
Arik Fraimovich
c7f2217f15
Merge pull request #988 from AntoineAugusti/cli-invite-user
...
Feature: add CLI to invite user
2016-04-15 18:54:52 +03:00
Antoine Augusti
25cfa04a2b
Snake case it is
2016-04-15 17:34:57 +02:00
Antoine Augusti
a8758c3a5f
Clean code
2016-04-15 16:38:05 +02:00
Antoine Augusti
e015adba7e
Add a command to send an invitation link to a user
2016-04-15 15:55:52 +02:00
Arik Fraimovich
38b603b28c
Change logoUrl to logo_url to comply w/ code style
2016-04-14 22:31:02 +03:00
Arik Fraimovich
44f8ccfd75
New design 🎉 and UX improvements! In more detail:
...
- Based on the SuperFlat admin theme (I bought the extended license).
- All pages are now full-width to give your data the room it deserves.
- Various UX improvements (althuogh there is still room for improvement).
2016-04-14 22:27:26 +03:00
Arik Fraimovich
6cc2cf765d
Merge pull request #987 from AntoineAugusti/inject-app-context
...
Feature: ability to change logo
2016-04-14 22:18:32 +03:00
Arik Fraimovich
748f6e4f2c
Merge pull request #983 from tdawber/feature/embed_open_in_redash
...
Add link to embeds to open query page in new window
2016-04-14 21:53:11 +03:00
Antoine Augusti
2d578247ef
Inject variables with app context and ability to change the logo
2016-04-14 11:50:00 +02:00
tdawber
bde60d5919
Add link to embeds to open query in new window
2016-04-12 12:02:02 +10:00
Raymond Machira
17ca702cb3
Add environment variable to override secure_flag on session cookie
2016-04-11 13:02:29 -05:00
yohei.naruse
19aaa938d8
manage.py support group operations.
2016-04-10 22:08:36 +09:00
Arik Fraimovich
c80728c3fa
Merge pull request #978 from getredash/fix958
...
Fix #958 : group members/datasources were cached.
2016-04-10 11:28:28 +03:00
Arik Fraimovich
39a832aff5
Fix #958 : group members/datasources were cached.
2016-04-10 11:26:33 +03:00
chiragkparmar@gmail.com
f3a12d20f8
Correct ports per installation strategy used
2016-04-08 12:41:29 -04:00
chiragkparmar@gmail.com
0743c4a532
Add more instructions on getting started.
2016-04-07 18:32:01 -04:00
chiragkparmar@gmail.com
1169ed2542
Remove extra gif
2016-04-07 18:19:31 -04:00
chiragkparmar@gmail.com
3f3a8fb903
Add second demo
2016-04-07 18:07:44 -04:00
chiragkparmar@gmail.com
8b87ac39d1
Add missing )
2016-04-07 18:05:33 -04:00
chiragkparmar@gmail.com
4520d1889c
Add documentation link at the top
2016-04-07 18:04:30 -04:00
chiragkparmar@gmail.com
57ec4bf21e
Add gitter chat button
2016-04-07 17:55:32 -04:00
chiragkparmar@gmail.com
8091b546e0
Merge remote-tracking branch 'getredash/master'
2016-04-07 17:52:56 -04:00
Arik Fraimovich
d78ef8fab5
Merge pull request #974 from getredash/embed
...
Add support for using Redis via unix socket
2016-04-06 20:57:13 +03:00
Arik Fraimovich
31879f9f7d
Add support for using Redis via unix socket
2016-04-06 20:54:21 +03:00
Arik Fraimovich
0c6317c1db
Merge pull request #973 from getredash/embed
...
Small updates to data sources (friendlier name for MySQL, and ability to disable query runners)
2016-04-06 20:42:24 +03:00
Arik Fraimovich
eec883763a
Ability to disable some query runners
2016-04-06 18:19:51 +03:00
Arik Fraimovich
85be5fb7e9
Friendlier name for MySQL query runner
2016-04-06 18:19:42 +03:00
Arik Fraimovich
2308a3af10
Merge pull request #972 from getredash/embed
...
Feature: allow toggling dashboard full screen from URL
2016-04-06 18:12:43 +03:00
Arik Fraimovich
db56818a52
Allow toggling dashboard full screen from URL
2016-04-06 18:02:42 +03:00
Arik Fraimovich
39315dbb18
Merge pull request #962 from handwritingio/influxdb_tags
...
InfluxDB: Added support for multiple queries and tags
2016-04-05 14:50:39 +03:00
Arik Fraimovich
0d9faa8c04
Merge pull request #964 from ink-adavison/bootstrap_version_parameter
...
Allow passing branch name to bootstrap.sh
2016-04-05 14:44:23 +03:00
Andrew Davison
70f7219057
Release download path must use the version, not the branch
2016-04-04 16:02:58 +01:00
Andrew Davison
ad2a5601bf
Use a REDASH_BRANCH environment variable instead, in the same way as REDASH_VERSION.
...
Move REDASH_VERSION var setup to top of file where it is more visible and easier to update.
2016-04-04 15:37:38 +01:00
Arik Fraimovich
b0ea6b0f7f
Merge pull request #970 from getredash/query_page
...
Use ng-if instead of ng-show for schema
2016-04-03 12:07:23 +03:00
Arik Fraimovich
43078f60cf
Use ng-if instead of ng-show for schema
2016-04-03 12:06:52 +03:00
Arik Fraimovich
637c17bcd1
Merge pull request #969 from getredash/query_page
...
Fix: on first save, make sure we load alredy existing data
2016-04-03 11:08:09 +03:00
Arik Fraimovich
941657fbbc
Fix: on first save, make sure we load alredy existing data
2016-04-03 10:42:48 +03:00
Arik Fraimovich
07a53d6aa8
Fix mobile state of query page
2016-04-03 10:30:53 +03:00
Lloyd Weehuizen
c850acb3b9
Extend ElasticSearch query_runner to support aggregations
2016-04-01 14:06:54 +13:00
Arik Fraimovich
93c663d5aa
Merge pull request #963 from ink-adavison/nginx_vhost_http_fix
...
Fix "http directive is not allowed here" on Ubuntu and Amazon Linux
2016-03-31 10:38:25 +03:00
Andrew Davison
4a401db4d2
Allow passing version to bootstrap.sh as a cli parameter, to download a specific tag's setup files.
2016-03-30 17:04:57 +01:00
Andrew Davison
90128b90e6
Fix "http directive is not allowed here"
2016-03-30 16:19:14 +01:00
Sam Ehlers
c6794dde64
Fixed error when result doesn't contain series
2016-03-30 10:17:55 -05:00
Sam Ehlers
b100824f94
Fixed error when series doesn't have tags
2016-03-30 10:17:45 -05:00
Sam Ehlers
9ff33ac024
Added support for multiple queries and tags
...
Multiple queries are separated by semicolons and could possibly have
different columns and tags.
https://docs.influxdata.com/influxdb/v0.11/guides/querying_data/#multiple-queries
Tags come in to the result set when you use a GROUP BY statement.
2016-03-30 09:28:24 -05:00
Arik Fraimovich
f6f9dace4d
Merge pull request #960 from getredash/notification
...
When opening a query page, don't automatically execute it
2016-03-30 11:53:11 +03:00
Arik Fraimovich
4cc8dd1df8
When opening a query page, don't automatically execute it
2016-03-30 11:33:55 +03:00
Arik Fraimovich
52902c3f47
Merge pull request #959 from getredash/notification
...
Fix: show browser notification only when page is hidden
2016-03-30 11:04:32 +03:00
Arik Fraimovich
1768778d1d
Fix: show notifications only when page in background
2016-03-30 11:01:11 +03:00
Arik Fraimovich
f5abb47d89
Ask for notification permissions only on query execution
2016-03-30 11:01:01 +03:00
Arik Fraimovich
ffe23fc59c
Split colors palette to base and additional
2016-03-30 10:30:15 +03:00
chiragkparmar@gmail.com
d6a474b9f1
Update color palette to add more pretty colors
...
Inspired from ggplot2 color palette, update ColorPalette to make charts
more pretty.
2016-03-30 10:27:38 +03:00
Arik Fraimovich
c5a763b5f2
Merge pull request #932 from hudl:SkunkUI
...
Adjust the UI on the New Query page
2016-03-30 10:11:37 +03:00
Arik Fraimovich
aab2da2f4c
Move buttons in the query page
2016-03-30 10:06:48 +03:00
Arik Fraimovich
d83dfc977e
Merge pull request #934 from alexanderlz/master
...
Feature: DynamoDB DQL query runner
2016-03-29 22:00:32 +03:00
Seva Gavrilov
5149845eec
Merge branch 'master' of github.com:gseva/redash into dashboard-permissions
2016-03-29 13:29:45 -03:00
Seva Gavrilov
c98cdef8f2
Fixed dashboard restrictions and added tests.
2016-03-29 13:27:35 -03:00
Arik Fraimovich
0f727c2424
Fix typo in requirements.txt.
2016-03-29 16:16:57 +03:00
Arik Fraimovich
982b0efbe8
Fix #946 : update Python redis lib version.
...
Looks like some of the Celery dependencies (which we don't have pinned version for) require newer version of redis lib.
2016-03-29 16:12:24 +03:00
Arik Fraimovich
5e22576c5c
Merge pull request #956 from getredash/fix/impala
...
Fix: adapt Impala query runner for new configuration
2016-03-29 10:38:13 +03:00
Arik Fraimovich
76c2d37d0e
Fix: adapt Impala query runner for new configuration
2016-03-29 10:30:31 +03:00
Seva Gavrilov
5bb1d2757e
Text only widgets are now shown to everybody.
2016-03-28 18:00:37 -03:00
Arik Fraimovich
a66ac849ff
Merge pull request #951 from seanauriti/patch-1
...
Fixes URL for Github Release
2016-03-28 21:35:22 +03:00
Arik Fraimovich
8b4e3226a8
Merge pull request #952 from seanauriti/patch-2
...
Update upgrade.rst
2016-03-28 21:34:49 +03:00
Sean Auriti
00c455fea5
Update upgrade.rst
2016-03-28 13:41:21 -04:00
Sean Auriti
339c91836f
Fixes URL for Github Release
2016-03-28 12:17:52 -04:00
Arik Fraimovich
0dfbe6fc72
Merge pull request #947 from getredash/fix/migration
...
Fix: permissions migration was changing default's group type
2016-03-27 10:32:14 +03:00
Arik Fraimovich
dd836d909d
Migration to make sure the default group has correct type
2016-03-27 10:29:26 +03:00
Arik Fraimovich
6cff6e833a
Fix permissions migration
2016-03-27 10:26:09 +03:00
Arik Fraimovich
5885cd9aef
Merge pull request #940 from kirikiriyamama/improve_security
...
Nginx configuration: hide version
2016-03-25 20:16:37 +02:00
Alex DeBrie
d43d5731ee
Prevent schemas from expanding on search
2016-03-24 17:00:45 +00:00
Andrea Leesley
1701d6cb60
Adjust query info ui.
2016-03-24 16:59:14 +00:00
Andrea Leesley
a9fbb1ccb2
Make query results full width.
2016-03-24 16:59:14 +00:00
Andrea Leesley
c096a133c5
Move the schema container to the right.
...
- Clean up ui on the new query page.
2016-03-24 16:55:49 +00:00
atharva.inamdar
be90353cca
updated query search bar visibility threshold to 500
2016-03-24 16:39:19 +00:00
Alex DeBrie
4bcb705a2a
Hide user subscriptions if email is not enabled
2016-03-24 14:28:47 +00:00
Alex DeBrie
1c04f3cc29
Fix broken tests
2016-03-24 13:55:46 +00:00
Alex DeBrie
ee29f07802
Clean up after rebase
2016-03-24 02:46:59 +00:00
Alex DeBrie
df2067eec1
Make subscription display more clear
2016-03-23 20:57:19 +00:00
Alex DeBrie
601010e44e
Remove email destination from AlertSubscription migration
2016-03-23 20:57:19 +00:00
Alex DeBrie
6c3b713b3d
Add destination subscriptions to Alert page
2016-03-23 20:57:19 +00:00
Alex DeBrie
faf2f7dede
Add user subscriptions back to Alert page
2016-03-23 20:57:19 +00:00
Alex DeBrie
bf880a834b
Move notify to AlertSubscription; adjust email destination to take multiple addresses
2016-03-23 20:57:19 +00:00
Alex DeBrie
ce6ceac5c4
Add hipchat to default destinations
2016-03-23 20:57:19 +00:00
Alex DeBrie
70b4f9d447
Create dynamicForm directive
2016-03-23 20:57:18 +00:00
Alex DeBrie
3838b03417
Clean up tasks.py to remove unneeded code
2016-03-23 20:52:50 +00:00
Alex DeBrie
a11fa2717d
Add migrations of existing alerts
2016-03-23 20:51:10 +00:00
Alex DeBrie
becf315e66
Add hipchat destination
2016-03-23 20:51:10 +00:00
Alex DeBrie
04eb37a7f2
Pass objects instead of IDs to notify method
2016-03-23 20:51:10 +00:00
Alex DeBrie
e91610f4b4
Remove hacky backwards compatibility for notifications
2016-03-23 20:51:10 +00:00
Alex DeBrie
63786c98df
Remove unnecessary code
2016-03-23 20:51:10 +00:00
Alex DeBrie
54f3df6988
Move destination icons to BaseDestination
2016-03-23 20:49:20 +00:00
Alex DeBrie
bb3874e631
Pass subscription user to notify method
2016-03-23 20:49:20 +00:00
Alex DeBrie
eef18510d5
Fix email destination bugs; make email alerts backward compatible
2016-03-23 20:49:20 +00:00
Alex DeBrie
a3c0917d85
Fix AlertSubscription unsubscribe permissions and broken tests
2016-03-23 20:49:20 +00:00
Alex DeBrie
ed7f9ea5f0
Create UI for adding/removing alert subscriptions
2016-03-23 20:49:20 +00:00
Alex DeBrie
82b7146216
Enforce AlertSubscription uniqueness; update AlertSubscription delete handler
2016-03-23 20:49:20 +00:00
Alex DeBrie
3cfbb9855b
Update notify logic in tasks and add destinations for Slack, email, and webhooks
2016-03-23 20:49:20 +00:00
Alex DeBrie
4938f8e013
Add ability to choose destination when creating alert
2016-03-23 20:47:50 +00:00
Alex DeBrie
a43761da39
Require destination_id in POSTs that create a subscription
2016-03-23 20:47:50 +00:00
Alex DeBrie
a3703b2058
Fix broken tests
2016-03-23 20:47:08 +00:00
Alex DeBrie
f2d5d52310
Remove destination groups; use ConfigurationContainer for options; Add user field on NotificationDestination
2016-03-23 20:44:14 +00:00
Alex DeBrie
eed2a41816
Add destination field to AlertSubscription
2016-03-23 20:39:22 +00:00
Alex DeBrie
16c0df4117
Group handlers for Destinations
2016-03-23 20:38:33 +00:00
Alex DeBrie
3844483776
Add destination elements to rd_ui
2016-03-23 20:35:50 +00:00
Alex DeBrie
53f8f1de3b
Fix typo
2016-03-23 20:24:26 +00:00
Alex DeBrie
3ac7f02aea
Add NotificationDestination model and handlers; Add BaseNotification class
2016-03-23 20:24:26 +00:00
Seva Gavrilov
66d1bb1af6
Merge github.com:yanenok/redash into dashboard-permissions
2016-03-23 12:36:11 -03:00
Arik Fraimovich
002396117d
Merge pull request #941 from kasajei/master
...
Fix install command for freetds-devel on amazon_linux
2016-03-23 14:58:47 +02:00
kasajei
eaaeffb8a2
Fix install command for freetds-devel on amazon_linux
2016-03-23 19:06:27 +09:00
Alexander Leibzon
7bb80e375a
code style, name method
2016-03-23 11:44:57 +02:00
kirikiriyamama
3aca06b57f
Remove unnecessary blanks
2016-03-23 11:16:12 +09:00
kirikiriyamama
d2a57cbf62
Improve security
...
Hide nginx version
2016-03-23 11:16:05 +09:00
Arik Fraimovich
70a5ffdbf5
Merge pull request #939 from AntoineAugusti/patch-1
...
Docs: Fix command to restart the web server
2016-03-22 11:03:52 +02:00
Antoine Augusti
a77b2168bd
Fix command to restart the web server
2016-03-22 10:00:14 +01:00
Arik Fraimovich
ba3013a513
Merge pull request #883 from tsibley/remote-user-auth
...
Support for REMOTE_USER authentication
2016-03-22 09:53:13 +02:00
Thomas Sibley
e61a5f3567
Support for remote user authentication via a trusted request header
...
This allows redash to use nearly any custom authentication setup.
Authentication via the REMOTE_USER environment variable is not provided
as it's deemed unlikely to ever be used.
Note that, like existing authentication providers, if you disable
password authentication and the remote user auth is unsuccessful
(probably due to a misconfiguration), then you'll get a redirect
loop of /login ⇄ /remote_user/login.
2016-03-21 17:00:16 -07:00
Arik Fraimovich
624ebbadb9
Retain copy of the event before it's being changed
2016-03-21 14:29:07 +02:00
Arik Fraimovich
2ce6b567ca
Include public.html in frontend build
2016-03-21 13:12:01 +02:00
Arik Fraimovich
70e2b5de23
Merge pull request #938 from getredash/api_key_name
...
Fix: event reporting breaks when using ApiUser.
2016-03-21 12:49:40 +02:00
Arik Fraimovich
c3299ff0e6
Fix: event reporting breaks when using ApiUser.
2016-03-21 12:40:23 +02:00
Arik Fraimovich
0ec8c3e0b9
Add find_by_email method to User model
2016-03-21 10:20:58 +02:00
Arik Fraimovich
fbb81b62d6
Make signed out layout more modular
2016-03-20 10:07:10 +02:00
Arik Fraimovich
ea57175bfa
Merge pull request #935 from getredash/extensibility
...
Feature: allow forwarding events to a webhook
2016-03-17 13:47:50 +02:00
Alexander Leibzon
ad95a5eb5e
requirements rearrangement
2016-03-17 13:10:15 +02:00
Arik Fraimovich
efe1f8370c
Feature: allow forwarding events to a webhook
2016-03-17 13:10:09 +02:00
Alexander Leibzon
2e93af3a21
fixes
2016-03-17 13:09:02 +02:00
Alexander Leibzon
c2f3c55d80
Merge remote-tracking branch 'upstream/master'
2016-03-17 12:51:53 +02:00
Alexander Leibzon
629c16acbe
the dynamoDB SQL connector
2016-03-17 12:51:06 +02:00
Alexander Leibzon
158fc6222d
add requirements
2016-03-17 12:50:39 +02:00
Alexander Leibzon
d88d1a1e61
dynamodb SQL connector
2016-03-17 03:13:44 +02:00
John Katsnelson
f2a1bc7f0e
docker-compose ls should be docker-machine ls
2016-03-16 09:17:09 -07:00
Arik Fraimovich
9e6e913347
Merge pull request #928 from getredash/extensibility
...
Add extension points to override frontend elements
2016-03-15 22:49:45 +02:00
Arik Fraimovich
fde36298ce
Add extension points to override frontend elemnts
2016-03-15 22:46:36 +02:00
Arik Fraimovich
e75c3c6871
Merge pull request #927 from getredash/fix/format
...
Fix: format API not working for non default organization
2016-03-15 15:28:13 +02:00
Arik Fraimovich
82871f606a
Fix: format API not working for non defualt organization
2016-03-15 15:25:52 +02:00
Arik Fraimovich
0fcf232b5e
Move footer to include file
2016-03-15 14:22:12 +02:00
Arik Fraimovich
e0ad3ee309
Merge pull request #925 from getredash/feature/password_reset
...
Feature: password reset & invite links functionality.
2016-03-15 10:59:54 +02:00
Arik Fraimovich
df180a2cb8
Allow admin to reset password instead of resend invite
2016-03-15 10:56:37 +02:00
Arik Fraimovich
0dccaa9ca4
Show warning if email server isn't configured
2016-03-15 10:37:33 +02:00
Arik Fraimovich
5a222beff4
Merge pull request #926 from erans/master
...
Python query runner: make max and min functions available to the scripts
2016-03-15 10:11:05 +02:00
Eran Sandler
86980793ac
made Python's max and min functions available to the scripts
2016-03-15 09:40:03 +02:00
Arik Fraimovich
7a943f62b3
Password reset & invite links functionality.
2016-03-14 18:33:17 +02:00
Arik Fraimovich
56b3675a23
Merge pull request #923 from getredash/sentry_logs
...
Setup Sentry to catch error logs
2016-03-14 11:54:33 +02:00
Arik Fraimovich
7e094f2b2d
Setup Sentry to catch error logs
2016-03-14 11:50:11 +02:00
Arik Fraimovich
079ae09253
Merge pull request #917 from getredash/modular
...
Restructure the Flask app
2016-03-14 11:47:26 +02:00
Arik Fraimovich
9ae503289c
Restructure the Flask app:
...
Tried to untangle the cyclic dependencies, although there are still some of
them left. The main reason for this restructuring/refactoring is to make
the application a bit more extensible, so it's possible to add more routes
to it without touching the core.
2016-03-14 11:45:02 +02:00
Arik Fraimovich
f8a8928a90
Merge pull request #922 from getredash/feature/google_login
...
Allow existing users sign in with Google Apps even if they are not from an allowed domain
2016-03-14 11:30:11 +02:00
Arik Fraimovich
7da1c85315
Allow existing users sign in with Google Apps even if they are not in domain list.
2016-03-14 11:19:23 +02:00
Arik Fraimovich
d8b1131011
Merge pull request #921 from getredash/events
...
Additional events and information
2016-03-14 11:16:29 +02:00
Arik Fraimovich
3bdcd958ca
Track data source and query creation
2016-03-14 10:59:11 +02:00
Arik Fraimovich
4d5d9fc42f
Track user ip and useragent in events
2016-03-14 10:53:41 +02:00
Arik Fraimovich
dd5c1866f2
Merge pull request #920 from getredash/mongo_improvements
...
Feature: MongoDB - add support for $date and relative dates.
2016-03-14 10:16:25 +02:00
Arik Fraimovich
1359d386c6
Change tag to be humanTime
2016-03-14 10:13:38 +02:00
Arik Fraimovich
1aab5b4963
Install Pymongo for tests (temporary solution)
2016-03-13 23:32:54 +02:00
Arik Fraimovich
18d7c33620
Feature: MongoDB - add support for $date and relative dates.
2016-03-13 23:25:24 +02:00
Arik Fraimovich
abde67f2d9
Fix: gulp wasn't building app_layout.html
2016-03-13 22:58:12 +02:00
Arik Fraimovich
e60caf87a6
Merge pull request #919 from alexanderlz/master
...
Fix: schema fetching for Vertica & SQLite was broken (fix #916 )
2016-03-13 22:51:25 +02:00
Alexander Leibzon
3f15ad36a5
fix schema resolution, resolves #916
2016-03-13 16:59:09 +02:00
Arik Fraimovich
2f35c1ea2b
Merge pull request #918 from getredash/query_runners_improvements
...
Several improvements to query runners:
2016-03-13 15:44:04 +02:00
Arik Fraimovich
2d1a28389b
Sort query runners by name
2016-03-13 15:40:51 +02:00
Arik Fraimovich
5cc7eda420
Remove from default list query runners we don't install deps for by default
2016-03-13 15:39:49 +02:00
Arik Fraimovich
32682483cd
Add explicit Redshift query runner
2016-03-13 15:38:09 +02:00
Arik Fraimovich
605a12c34b
PostgreSQL query runner: add timeout for connection
2016-03-13 15:38:00 +02:00
Arik Fraimovich
a6b86c7af2
Friendly name for MSSQL query runner
2016-03-13 15:34:41 +02:00
Arik Fraimovich
741faeef2b
Update PyMongo versino to 3.2.1
2016-03-13 15:33:19 +02:00
Arik Fraimovich
2a745d5d54
Dockerfile: set the path to static assets
2016-03-12 18:37:20 +02:00
Arik Fraimovich
12660c3d51
Remove references to deprecated config
2016-03-12 18:22:53 +02:00
Arik Fraimovich
7c0c189b55
Merge pull request #910 from getredash/feature/better_fullscreen
...
Better full screen support
2016-03-12 18:18:07 +02:00
Arik Fraimovich
b0b9cd92f8
Merge pull request #912 from jkatsnelson/patch-2
...
redash static assets path should be pointed at dist, not app
2016-03-12 18:10:00 +02:00
Arik Fraimovich
27feb676b2
Added X-Forwarded-Proto to nginx config ( closes #884 )
2016-03-11 23:19:28 +02:00
Arik Fraimovich
cd5aec2b63
Fix #848 : change instructions to recreate database instead of running migrations.
2016-03-11 23:13:17 +02:00
Arik Fraimovich
a1a73a1b2f
Merge pull request #888 from toru-takahashi/improve-treasuredata-plugin
...
Improve TreasureData query runner
2016-03-11 22:58:11 +02:00
toru-takahashi
99ed8f8daf
Modify property name and change default behavior
2016-03-12 00:31:54 +09:00
John Katsnelson
6fe5127f20
redash static assets path should be pointed at dist, not app
2016-03-10 11:36:42 -08:00
John Katsnelson
4d06a26038
adds basic docker compose instructions
2016-03-10 11:33:08 -08:00
Arik Fraimovich
841805496e
Better full screen support
2016-03-10 14:05:34 +02:00
Arik Fraimovich
0e7098020c
Merge pull request #909 from getredash/fix908
...
Fix #908 : updating configuration without secrets was failing
2016-03-10 11:58:38 +02:00
Arik Fraimovich
33a5e06eb1
Fix #908 : updating configuration without secrets was failing
2016-03-10 11:56:49 +02:00
Arik Fraimovich
536d7595c5
Merge pull request #906 from getredash/feature/public_dashboard
...
Feature: public dashboards
2016-03-10 11:52:01 +02:00
Arik Fraimovich
6104e5df3c
Remove unused (Heroku related) Procfiles
2016-03-10 11:51:06 +02:00
Arik Fraimovich
b183651e04
Verify user has access to visualization before creating widget
2016-03-10 11:42:04 +02:00
Arik Fraimovich
fad8f2b7be
UI for controlling access to dashboard
2016-03-10 11:28:39 +02:00
Arik Fraimovich
298db14bc1
API to create api key for dashboards
2016-03-10 10:09:26 +02:00
Arik Fraimovich
6bc3970ad5
Make sure user has access to data source when loading query result
2016-03-09 15:15:03 +02:00
Arik Fraimovich
be65582da9
Remove explicit header setting as we do it in the config
2016-03-09 13:43:52 +02:00
Arik Fraimovich
b92fbb489b
Fix call to authenticate_request
2016-03-09 13:41:33 +02:00
Arik Fraimovich
52ad1f1ba1
Public dasboards feature.
2016-03-09 13:38:02 +02:00
Arik Fraimovich
b4b2bb86ee
Merge pull request #902 from jeffwidman/fix-execute-bit
...
Make create_database script executable
2016-03-08 11:36:08 +02:00
Jeff Widman
ed01773d4e
Make create_database script executable
2016-03-08 01:34:31 -08:00
Arik Fraimovich
399b7ad348
Merge pull request #901 from jeffwidman/fix-docker-compose
...
Docker: fix docker-compose env variables in example
2016-03-08 11:25:23 +02:00
Jeff Widman
6393f0225a
No longer specifying google-apps domain from ENV var
...
http://docs.redash.io/en/latest/setup.html#users-google-authentication-setup
2016-03-08 01:21:04 -08:00
Jeff Widman
30066f6d04
Postgres and Redis urls should call out to their own container
2016-03-08 01:20:32 -08:00
Arik Fraimovich
feadf88159
Merge pull request #894 from jeffwidman/patch-4
...
Dockerfile: use redash's docker-hub nginx image
2016-03-08 10:56:21 +02:00
Jeff Widman
8d8605c7d8
volume mapping already handled in dockerfile
2016-03-08 00:53:31 -08:00
Arik Fraimovich
bf55d2f4da
Merge pull request #895 from jeffwidman/patch-5
...
Use redash's docker-hub redash image
2016-03-08 08:32:03 +02:00
Arik Fraimovich
aec5f78e7b
Merge pull request #893 from jeffwidman/patch-3
...
Fix YAML syntax error due to missing spaces
2016-03-08 08:27:44 +02:00
Jeff Widman
2a1354e70b
Use redash's docker-hub redash image
2016-03-07 15:44:42 -08:00
Jeff Widman
2365f25e11
Use redash's docker-hub nginx image
2016-03-07 15:16:49 -08:00
Jeff Widman
8d10e9696e
Fix YAML syntax error due to missing spaces
...
Environment variables weren't being parsed properly due to missing spaces.
2016-03-07 14:50:12 -08:00
toru-takahashi
6065545352
Fix case sensitive issue for query type
2016-03-08 02:13:52 +09:00
toru-takahashi
a98ead9030
Add option to enable Auto Get Schema
2016-03-08 02:05:05 +09:00
toru-takahashi
f07ed1df31
Update td-client to v0.4.1
2016-03-07 22:51:13 +09:00
Arik Fraimovich
a8ece8641a
Bump version.
2016-03-06 12:13:19 +02:00
Arik Fraimovich
bac4025eff
Merge pull request #882 from tsibley/new-data-source-via-cli
...
CLI: Restore ability to pass JSON options string for a new data source
2016-03-06 12:01:23 +02:00
Thomas Sibley
d07bf7e0aa
CLI: Restore ability to pass JSON options string for a new data source
...
Commit "Encapsulate data source/query runner configuration in an
object." (ed99b84 ) accidentally removed that functionality by not
inflating the passed in JSON into a ConfigurationContainer object.
This led to errors of the form if you passed -o:
Traceback (most recent call last):
...
File "/opt/redash/redash-git/redash/models.py", line 321, in db_value
return value.to_json()
AttributeError: 'unicode' object has no attribute 'to_json'
2016-03-04 09:22:42 -08:00
Yana Manukhina
207dac693c
Fix: show empty dashboards to their creators
2016-03-02 20:44:38 +03:00
Arik Fraimovich
8f937b7a35
Merge pull request #850 from toyama0919/master
...
Kibana: add support for limiting # of results returned
2016-03-01 23:37:24 +02:00
Arik Fraimovich
8747d0e724
Merge pull request #872 from erans/master
...
MongoDB: support for count queries
2016-03-01 23:36:24 +02:00
Yana Manukhina
866f378c88
List only dashboards available to current user based on user's groups
2016-03-01 20:46:36 +03:00
Arik Fraimovich
4a280eea29
Merge pull request #877 from ink-adavison/ink-adavison-ubuntubasepathfix
...
Correct Ubuntu Bootstrap.sh to a working Base URL
2016-03-01 13:36:25 +02:00
ink-adavison
194e9f4d7e
Correct Ubuntu Bootstrap.sh to a working Base URL
...
The redash/docker/setup/... path is returning 404, but redash/master/setup/... works
2016-03-01 11:17:11 +00:00
Arik Fraimovich
4c5d2f14bf
Merge pull request #866 from jeffwidman/fix_end_of_file_spacing
...
Fix whitespace issues
2016-02-29 22:39:15 +02:00
Jeff Widman
b86cf6ea4d
Check should be 'x not in y' rather than 'not x in y'
2016-02-29 12:34:50 -08:00
Jeff Widman
dd72faaa77
Fix docstring spacing per PEP 257
2016-02-29 12:34:50 -08:00
Jeff Widman
c1b33939d0
A few misc whitespaces fixes
2016-02-29 12:34:50 -08:00
Jeff Widman
1aad95986b
Add spaces around arithmetic operators per PEP 8
2016-02-29 12:34:50 -08:00
Jeff Widman
80209defc9
Remove extraneous spaces at end of lines
2016-02-29 12:34:46 -08:00
Jeff Widman
c198d22691
Format files to end in a single newline per PEP 8
2016-02-29 12:00:03 -08:00
Arik Fraimovich
43ac5600e5
Merge pull request #873 from getredash/feature/print_layout
...
Feature: print layout for dashboards
2016-02-29 21:11:41 +02:00
Arik Fraimovich
863365a412
Feature: print layout for dashboards
2016-02-29 21:07:07 +02:00
Eran Sandler
50c6bca421
added support for count queries
2016-02-29 21:05:50 +02:00
Arik Fraimovich
30b97e37f0
Merge pull request #854 from erans/master
...
Minors fixes for MongoDB and Python query runners
2016-02-29 21:04:14 +02:00
Eran Sandler
7f96de8b22
updated reverted change
2016-02-29 21:02:05 +02:00
Arik Fraimovich
dec30549f6
Merge pull request #867 from jeffwidman/fix_weird_indenting
...
Fix non-standard indentation to conventional four spaces
2016-02-29 15:25:11 +02:00
Arik Fraimovich
1a9059f1cc
Merge pull request #865 from jeffwidman/fix_flask_ext
...
Replace deprecated flask.ext.* with flask_*
2016-02-29 15:22:13 +02:00
Jeff Widman
5208abd072
Make lines indented by four spaces instead of three
2016-02-29 01:58:19 -08:00
Jeff Widman
0ccbb24b3f
Fix non-standard indentation to conventional four spaces
...
Not sure what happened in this section of code, but it was incorrectly indented by two spaces rather than four in several places.
2016-02-29 01:09:43 -08:00
Jeff Widman
09ccec59f5
Replace deprecated flask.ext.* with flask_*
...
Importing flask extensions using flask.ext.* is deprecated in favor of flask_*
For background, see: https://github.com/mitsuhiko/flask/issues/1135
2016-02-29 00:39:50 -08:00
Arik Fraimovich
8688b1c432
Merge pull request #864 from getredash/fix/datasource_show
...
Fix: data source loaded without properties
2016-02-28 18:56:10 +02:00
Arik Fraimovich
d06d1ada28
Fix: data source loaded without properties
2016-02-28 18:54:20 +02:00
Arik Fraimovich
3328de3462
Merge pull request #863 from getredash/fix/filters_datetime
...
Fix: properly show date/time in filters
2016-02-28 11:06:02 +02:00
Arik Fraimovich
84f71d1837
Fix: properly show date/time in filters
2016-02-28 11:04:08 +02:00
Arik Fraimovich
f219d20299
Merge pull request #857 from jeffwidman/patch-1
...
Fix typo: completly => completely
2016-02-27 21:55:56 +02:00
Eran Sandler
bdd2e0c418
fixed the query runner actually running code
2016-02-26 09:59:49 +02:00
Jeff Widman
d0cdf53b33
Fix typo: completly => completely
2016-02-25 18:00:15 -08:00
Arik Fraimovich
27faf8f88a
Merge pull request #849 from sortable/presto-column-names
...
Fix: Presto - deduplicate column names
2016-02-25 21:39:29 +02:00
Arik Fraimovich
caf0734bac
Merge pull request #855 from sreynen/patch-2
...
Docs: document settings.py
2016-02-25 21:37:57 +02:00
Eran Sandler
5f501b9df6
added JSON serialization support for internal bson timestamp which sometimes gets return in newer pymongo versions
2016-02-25 09:25:26 +02:00
Scott Reynen
caaf180d13
Create settings.rst
...
This is mostly just a template so far, as I'm only able to describe the settings I already understand, which isn't many.
2016-02-24 16:28:24 -07:00
Eran Sandler
68220a0d67
Added 'additionalModulesPaths' to the config allowing import modules from an external verified path. You'd still need to whitelist the module name in 'allowedImportModules'
2016-02-25 00:35:00 +02:00
Colin Dellow
0ebb53994b
presto: use the disambiguated column name
2016-02-24 15:40:22 -05:00
Colin Dellow
177b62ea40
presto: use existing disambiguation path
2016-02-24 15:23:50 -05:00
Arik Fraimovich
a26da3aed3
Merge pull request #846 from sreynen/patch-1
...
Add link to dev environment documentation.
2016-02-24 22:07:35 +02:00
Arik Fraimovich
3a27955d24
Merge pull request #853 from getredash/arikfr-patch-1
...
Fix #851 : embed doesn't load due to missing module.
2016-02-24 21:59:29 +02:00
Arik Fraimovich
86f2a0172f
Fix #851 : embed doesn't load due to missing module.
2016-02-24 21:53:12 +02:00
Arik Fraimovich
db59b34bda
Merge pull request #852 from hudl/ConfigurationFixes
...
Small fixes for new ConfigurationContainer use
2016-02-24 21:49:57 +02:00
Alex DeBrie
51e92e0c71
Small fixes for new ConfigurationContainer use
2016-02-24 17:52:49 +00:00
toyama0919
246ce10a7f
fix bug: Kibana not working limit, all select results.
2016-02-24 13:02:28 +09:00
Colin Dellow
cde54cec8b
presto: don't merge columns with the same name
...
Fixes #847
2016-02-23 18:40:49 -05:00
Scott Reynen
21dc36b506
Add link to dev environment documentation.
2016-02-23 14:16:47 -07:00
Arik Fraimovich
d74442184e
Merge pull request #844 from getredash/kms
...
Encapsulate data sources configuration logic in an object
2016-02-23 15:06:29 +02:00
Arik Fraimovich
db3e689e68
Update query runners for new config class
2016-02-23 15:02:49 +02:00
Arik Fraimovich
491e2e10d1
Fix test
2016-02-23 15:02:49 +02:00
Arik Fraimovich
ed99b8452c
Encapsulate data source/query runner configuration in an object.
...
This is a step towards adding more complex logic in configuration
handling, like encryption of secrets.
2016-02-23 15:02:49 +02:00
Arik Fraimovich
f1e90fde31
Merge pull request #843 from getredash/design/download_links
...
Fix: dashboard query results links broken
2016-02-23 11:35:06 +02:00
Arik Fraimovich
954e63a41f
Fix: dashboard query results links broken
2016-02-23 11:33:13 +02:00
Arik Fraimovich
6ec4c4c19c
Merge pull request #840 from getredash/design/download_links
...
Improve layout of download links
2016-02-22 11:53:43 +02:00
Arik Fraimovich
553c6ac8d7
Improve layout of download links
2016-02-22 11:50:42 +02:00
Arik Fraimovich
b462869be7
Merge pull request #833 from toyama0919/feature/download-excel-from-dashboard
...
Feature: download Excel file link from dashboard.
2016-02-22 10:55:20 +02:00
Arik Fraimovich
3a5d59cf69
Merge pull request #839 from getredash/feature/api_params
...
Feature: add API to trigger query refresh and support for parameters.
2016-02-22 10:43:42 +02:00
Arik Fraimovich
c12b059d10
Add API to trigger query refresh and support for parameters.
2016-02-22 10:40:46 +02:00
Arik Fraimovich
e705ede3b7
Merge pull request #838 from erans/master
...
Python query runner -- added access to sorted and reversed functions
2016-02-21 13:03:05 +02:00
Eran Sandler
3b5aafa8e1
Added access to sorted and reversed functions
2016-02-21 11:13:46 +02:00
Arik Fraimovich
2440a83e46
Merge pull request #835 from benmanns/ubuntu-bootstrap-update-reorder
...
Ubuntu bootstrap script - move update before upgrade
2016-02-18 10:56:00 +02:00
Benjamin Manns
2b5a36cb3f
Move update before upgrade
...
Running update before upgrade will fetch the latest sources, so we
can be sure that the upgrades will bring the box to the latest
versions of everything. Otherwise, this is often a no-op because
the box's sources will be cached at time of generation, meaning
there is nothing to upgrade.
2016-02-17 16:11:16 -05:00
toyama0919
78511fd0ce
add feature, Excel download from dashboard.
2016-02-17 14:48:23 +09:00
Arik Fraimovich
a50ae19236
Merge pull request #823 from mobiledefense/add-widescreen-toggle
...
Feature: Button toggle to display dashboard in at full screen width
2016-02-16 10:23:16 +02:00
Arik Fraimovich
65f81c4d93
Merge pull request #831 from ninneko/801-download-excel
...
Feature: download results in Excel (XSLX) format (closes #801 )
2016-02-16 09:19:53 +02:00
yohei.naruse
0afca7321a
#801 fix test case.
...
schedule = "{:02d}:00".format(now.hour - 3) maybe be negative value when now.hour < 3.
I've fixed it.
2016-02-16 13:16:31 +09:00
yohei.naruse
32824f7575
apply reviews
2016-02-16 10:56:06 +09:00
yohei.naruse
2f16c8ae5f
#801 Download DataSheets as Excel file
2016-02-15 23:47:31 +09:00
Arik Fraimovich
868263315b
Merge pull request #829 from getredash/fix/embed
...
Fix: Plot.ly was given wrong timestamp
2016-02-14 20:40:43 +02:00
Arik Fraimovich
1ceddc9e91
Fix: we were sending wrong timestamp to Plotly
2016-02-14 20:38:32 +02:00
Arik Fraimovich
a96d135a4f
Merge pull request #828 from getredash/fix/embed
...
Fix #797 : user redirected to homepage when changing permission type
2016-02-14 20:11:51 +02:00
Arik Fraimovich
cec4e71d99
Fix #797 : user redirected to homepage when changing permission type
2016-02-14 16:01:36 +02:00
Arik Fraimovich
0730ed8ed4
Merge pull request #827 from getredash/fix/embed
...
Feature: pivot tables are now regular visualizations that can be *saved*
2016-02-14 15:21:45 +02:00
Arik Fraimovich
e3420acd4b
Feature: pivots are now regular visualizations that can be *saved*.
2016-02-14 15:17:52 +02:00
Arik Fraimovich
d21e2a79cc
Close #772 : upgrade to latest PivotTable.js lib
2016-02-14 14:40:01 +02:00
Arik Fraimovich
d1cf376ab3
Merge pull request #826 from getredash/fix/embed
...
Fix #802 : switching to/from query source view resets chart colors
2016-02-14 14:13:24 +02:00
Arik Fraimovich
0ea0ba3fbe
Fix #802 : switching to/from query source view resets chart colors
2016-02-14 13:52:53 +02:00
Arik Fraimovich
0c93fe12ba
Amend jshint settings
2016-02-14 13:51:32 +02:00
Arik Fraimovich
dad7b22cba
Merge pull request #825 from getredash/fix/embed
...
Fix: sorting X values in charts had no effect
2016-02-14 13:26:32 +02:00
Arik Fraimovich
19766cf4ce
Fix: sorting X values had no effect.
2016-02-14 13:24:14 +02:00
Arik Fraimovich
5e2727cfdf
Use unminified d3.js in development.
2016-02-14 12:25:16 +02:00
Arik Fraimovich
3da326009b
Bump Plot.ly version to a more recent one.
2016-02-14 12:24:56 +02:00
Matt Sochor
240739a445
Add dashboard toggle to display dashboard in at full screen width
2016-02-11 16:39:40 -05:00
Arik Fraimovich
253c4fd0a6
Merge pull request #821 from getredash/fix/embed
...
Fix embed URL & move logic into a directive
2016-02-10 15:41:05 +02:00
Arik Fraimovich
cda1068ff1
Show logo in embdes
2016-02-10 15:39:02 +02:00
Arik Fraimovich
eb324a4067
Limit the amount of information we return for embeds
2016-02-10 15:34:48 +02:00
Arik Fraimovich
8cf7314dc0
Fix embed URL & move logic into a directive
2016-02-10 15:34:31 +02:00
Arik Fraimovich
32b928d247
BSD 2-Clause
...
Updated copyright holder & removed last paragraph that doesn't belong to BSD-2 clause.
2016-02-10 11:32:00 +02:00
Arik Fraimovich
a5168ecc80
Update bootstrap.sh to more recent release
2016-02-09 15:18:58 +02:00
Arik Fraimovich
262ebb3bf1
Merge pull request #820 from getredash/gulp
...
Switch to Gulp from Grunt for faster builds
2016-02-09 15:15:38 +02:00
Arik Fraimovich
3e58d8798a
Copy additional files on gulp build
2016-02-09 15:09:31 +02:00
Arik Fraimovich
bab536aaea
Support for embeds in multi-org
2016-02-09 14:59:38 +02:00
Arik Fraimovich
bab4080430
Switch to Gulp from Grunt
2016-02-09 14:59:19 +02:00
Arik Fraimovich
a894f035dd
Merge pull request #815 from getredash/fix/cli
...
Fix CLI issues with recent version
2016-02-09 00:56:16 +02:00
Arik Fraimovich
d4a83e29d4
Fix: delete data source CLI failing when data source has references
2016-02-09 00:03:35 +02:00
Arik Fraimovich
ded4761c8a
If start_time not found skip metric collections (probably not running in real request context)
2016-02-09 00:01:44 +02:00
Arik Fraimovich
3fa143cfb1
Merge pull request #813 from ojarva/shellcheck-fixes
...
Fix shellcheck issues in bootstrap.sh scripts
2016-02-07 08:49:06 +02:00
Olli Jarva
de01184bbd
Small shellcheck updates
...
Fix shellcheck complaints. These changes are not particularly important,
but spotting new/real issues is easier when checker output is empty by
default.
2016-02-06 16:42:24 +02:00
Arik Fraimovich
635bcc3e9f
Pull latest docker image before building
2016-02-03 11:06:09 +02:00
Arik Fraimovich
b6b8daced6
Update Circle: build deps on master branch
2016-02-03 10:20:07 +02:00
Arik Fraimovich
b222f85d88
Add freetds-dev to Dockerfile
2016-02-03 09:06:01 +02:00
Arik Fraimovich
27c3fee345
Merge pull request #808 from joeharris76/master
...
Feature: Microsoft SQL Server query runner
2016-02-03 08:48:05 +02:00
Joe Harris
8c48ec5508
Cleanup of issues with the SQL Server feature PR
2016-02-02 16:18:21 -05:00
Joe Harris
cc176f5cba
Add error handling to the pymssql import
2016-02-02 09:24:58 -05:00
Joe Harris
3a970a00c4
Add Microsoft SQL Server as a data source
...
Uses `pymssql` which in turn uses `FreeTDS`. Note that the data type
support is somewhat limited (see “datasources” page in docs).
2016-02-01 16:53:52 -05:00
Joe Harris
3b395a05b8
Merge pull request #1 from getredash/master
...
Pull from origin
2016-01-29 15:55:50 -05:00
Arik Fraimovich
9fa249a519
Update screenshots.
2016-01-27 12:55:52 +02:00
Arik Fraimovich
4e9b60ac82
Merge pull request #794 from getredash/hotfixes
...
Fixes for #792 , #785 , #733 and additional logging for execute_query
2016-01-24 12:03:34 +02:00
Arik Fraimovich
7a7e5be166
Fix #733 : update migrations to work with new code
2016-01-24 11:57:05 +02:00
Arik Fraimovich
a1eec8490a
Add more logging to execute_query
2016-01-24 11:32:44 +02:00
Arik Fraimovich
197bbde788
Fix #785 : remove admin check box and direct users to use the groups
...
admin.
2016-01-24 11:08:02 +02:00
Arik Fraimovich
fed9d80fdb
Fix #792 : can't grant admin with CLI
2016-01-24 10:58:05 +02:00
Arik Fraimovich
78ba6f2739
Merge pull request #781 from woei66/master
...
Amazon Linux bootstrap script: check nginx default directory
2016-01-23 16:52:39 +02:00
Arik Fraimovich
cbb84ae3d3
Merge pull request #786 from JohnConnell/patch-1
...
Docs: instructions for compressed backup.
2016-01-23 16:51:21 +02:00
Arik Fraimovich
8120158119
Merge pull request #782 from shyamgopal/bug-768
...
Fix: Empty cells in google sheets displayed as datetime values #768
2016-01-23 16:50:44 +02:00
Arik Fraimovich
bd7b60d859
Merge pull request #784 from bobrik/fix-isoformat
...
Fix json serialization for datetime.timedelta, closes #783
2016-01-23 16:49:46 +02:00
Arik Fraimovich
80c03a5900
Merge pull request #787 from JohnConnell/patch-2
...
Docs: Updated links to Google's documentation about creating a service account
2016-01-23 16:46:04 +02:00
Arik Fraimovich
77e2d5db9b
Merge pull request #790 from tknzk/fix_typo_on_doc
...
Docs: fix a typo in backup instructions
2016-01-23 16:44:35 +02:00
tknzk
7174dd856e
fix a typo.
2016-01-22 17:45:40 +09:00
John Connell
6b5efc9e16
Update datasources.rst
...
Updated links to Google's documentation about creating a service account.
2016-01-21 13:05:02 -07:00
John Connell
4f95205795
Update maintenance.rst
...
Added: How to create a compressed backup.
2016-01-21 12:51:13 -07:00
Ivan Babrou
e26ea40c9b
Fix json serialization for datetime.timedelta, closes #783
2016-01-21 14:37:36 +00:00
Arik Fraimovich
24137e87fd
Update cloud images references
2016-01-21 14:47:51 +02:00
Shyamgopal Kundapurkar
221ec3a2a1
Fix of #768
2016-01-21 16:35:03 +05:30
David Lin
7081e25fa3
add -y to expect package, check nginx default directory and install to the right directory
2016-01-21 06:37:12 +00:00
Arik Fraimovich
8d126331cf
Fix #778 : update docs with correct CLI command.
2016-01-20 22:19:43 +02:00