Arik Fraimovich
98307aec0d
Make the counter migration safer.
2015-09-09 09:57:54 +03:00
Arik Fraimovich
59cbafa724
Fix migration - always set target row number
2015-09-07 08:49:04 +03:00
Arik Fraimovich
1d99da5a32
Improvements to counter visualization:
...
1. Ability to take target value from different row.
2. Ability to clear target column name.
3. Use explicit default configuration values instead of "magic" defaults.
2015-09-06 23:30:02 +03:00
Arik Fraimovich
993a861c78
Users UI.
2015-09-06 10:15:25 +03:00
Arik Fraimovich
accca51f39
Feature: web interface to edit datasources
...
* Web interface to add and delete data sources, without the need to ssh
into the server.
* Ability to safely delete datasources -- query results from this data sources
are deleted, while queries get assigned null datasource.
* Updated the BigQuery datasource to use the JSON key file from Google Developer
console. Also both BigQuery and the Google Spreadsheets datasource no longer store
their key on the filesystem, but rather in the DB.
* Minor updates to the Flask Admin.
2015-07-26 10:24:08 +03:00
Arik Fraimovich
3d859ec5f3
Feature: alerts for query results.
...
This is basic implementation for alerts feature, where you can
define a simple rule on the last query result to send an alert.
As part of the implementation added Flask-Mail to the project,
to send emails. Should be useful to make re:dash more "self aware"
(notify users about potential issues, when queries done executing
and more).
2015-07-22 17:05:31 +03:00
Arik Fraimovich
e183affdd0
Feature: support for per user api keys
2015-07-08 20:59:07 +03:00
Arik Fraimovich
825b93bfe9
Fix migration numbering (there is 0007 already)
2015-04-18 22:46:42 +03:00
Arik Fraimovich
8c98282200
Rename only data sources with duplicates
2015-04-18 22:46:42 +03:00
Dat Le
768ac9eb04
Fix: make the data_sources's name unique
...
Also added migration script.
2015-04-18 22:46:42 +03:00
Arik Fraimovich
faad6b656b
Change query ttl field to be a string and named schedule.
...
This to allow other types of scheduling than just repeat every X seconds.
The first supported option will be: repeat every day at hour X.
2015-04-01 11:23:26 +03:00
Arik Fraimovich
a4bceae60b
Allow anyone to edit any query & show who edited it
2015-03-22 13:22:11 +02:00
Arik Fraimovich
9385449feb
Add updated_at timestamp to visualization, query, dashboard and users models
2015-03-22 12:58:26 +02:00
Arik Fraimovich
7f6c7f0634
Record event when accessing query result from API
2015-03-12 11:43:21 +02:00
Arik Fraimovich
69bcaddbe0
Fix: migrations stopped working due to peewee upgrade
2015-03-09 16:55:55 +02:00
Arik Fraimovich
6c716f23d9
Fix migration & query runner for mysql
2015-03-09 08:58:03 +02:00
Arik Fraimovich
0389a45be4
Fix: make migration work with new peewee
2015-03-08 13:28:18 +02:00
Arik Fraimovich
d798c77574
Support for already valid data source config
2015-03-02 07:34:06 +02:00
Arik Fraimovich
8a171ba39a
Use JSON Schema for data source configuration
2015-02-24 07:50:10 +02:00
Arik Fraimovich
af64657260
Migration to update all data source options
2015-02-24 07:50:09 +02:00
Arik Fraimovich
131266e408
Fix #263 : timestamp fields should be with time zone
2015-02-23 09:02:16 +02:00
Arik Fraimovich
1afd2ab388
Refactoring of @christophervalles work on query delete feature:
...
- Change delete into archive.
- Safely remove widgets.
- Make sure archived queries don't get scheduled, or show up in search.
- If direct link to query used, show notification.
- Tests.
- Some more.
2015-01-25 16:17:52 +02:00
Christopher Valles
4aa9500402
Working on delete query
2015-01-25 16:16:31 +02:00
Amir Nissim
0d5f001d38
fix migration add_text_to_widgets
2014-07-28 16:27:23 +03:00
Amir Nissim
236f7f9c04
fix add_global_filters_to_dashboard migration script
2014-07-28 12:15:08 +03:00
Arik Fraimovich
5698f9692a
Events model
2014-07-09 18:33:21 +03:00
Arik Fraimovich
4bbf04b68a
Update migration for new structure
2014-06-18 20:24:53 +03:00
Arik Fraimovich
7755e9859d
Add queue name to data source
2014-05-17 16:44:30 +03:00
Arik Fraimovich
5a62e90f17
Fix migration code
2014-05-13 19:36:04 +03:00
Arik Fraimovich
d8d666c971
Update the migration to use the admin permission too
2014-05-13 17:13:05 +03:00
Christopher Valles
81d027611f
Remove is_admin flag
2014-05-09 18:12:34 +01:00
Christopher Valles
c0329cc0ef
Fixed tests;
2014-05-08 19:19:23 +01:00
Christopher Valles
2d398696d0
Update from upstream
2014-05-07 15:36:42 +01:00
Arik Fraimovich
ee7e452c70
Global filters flag for dashboard.
2014-05-05 18:42:49 +03:00
Arik Fraimovich
4ffd21be09
Migration to add text column to widgets and make visualization_id nullable.
2014-04-29 10:35:47 +03:00
Christopher Valles
78da5ae92e
First refactor of permissions;
2014-04-14 18:14:01 +01:00
Arik Fraimovich
6556f22e91
Migration for new permission
2014-04-06 19:16:18 +03:00
Arik Fraimovich
000c482f1b
Add data source to QueryResult
2014-03-19 12:57:42 +02:00
Arik Fraimovich
163f483a56
Move logging setup to __init__.py so it's always available
2014-03-18 17:48:37 +02:00
Arik Fraimovich
e2ce0809da
Data sources model
2014-03-18 17:48:37 +02:00
Arik Fraimovich
aaa38689b3
Change roles to permissions
2014-03-12 12:45:12 +02:00
Arik Fraimovich
e976f39d2b
Add roles field to user
2014-03-12 11:40:40 +02:00
Christopher Valles
a2f55b9838
Removing unneeded imports in migration script
2014-03-04 13:12:43 +00:00
Christopher Valles
826fccbc94
Adding a new table called activity_log to log who runs what and when
2014-03-04 13:04:55 +00:00
Arik Fraimovich
812e8cca9a
Add flask_login and use it for managing authentication
2014-03-02 14:42:13 +02:00
Arik Fraimovich
9defa45428
Use of user object (fix views, update migrations and some).
2014-02-22 14:43:00 +02:00
Arik Fraimovich
52bcb8dfb6
User model & migration (ref #17 )
2014-02-18 11:15:46 +02:00
Arik Fraimovich
1b7bfb42fc
Fix: allow queries.description to be null.
2014-02-13 19:08:35 +02:00
Arik Fraimovich
7018ed28fb
There is no bar chart type -- it's column.
2014-02-09 20:03:32 +02:00
Arik Fraimovich
92f5df4704
Improve visualizations migration
2014-02-09 16:40:39 +02:00