Commit Graph

3706 Commits

Author SHA1 Message Date
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