Commit Graph

43 Commits

Author SHA1 Message Date
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
Arik Fraimovich
b7827f3eea Update visualizations migration. 2014-02-09 15:14:46 +02:00
Arik Fraimovich
93fe613a9a Migratino to set Widget.type and Widget.query_id to nullables 2014-02-09 14:33:05 +02:00
Arik Fraimovich
11f57b02e6 Migrations folder 2014-02-06 21:02:13 +02:00