Commit Graph

2755 Commits

Author SHA1 Message Date
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
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
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
Arik Fraimovich
efe1f8370c Feature: allow forwarding events to a webhook 2016-03-17 13:10:09 +02: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