Commit Graph

1374 Commits

Author SHA1 Message Date
Arik Fraimovich
d751fd8c8c Make sure table/pivot doesn't overflow 2014-05-18 15:01:40 +03:00
Arik Fraimovich
35552f9b77 Update to latest pivottable. (fixes #211) 2014-05-18 15:00:55 +03:00
Arik Fraimovich
1cc36b481a When formatting datge/time, if value is null, ignore 2014-05-18 14:36:46 +03:00
Arik Fraimovich
c9b95bc359 Fix: if column named only ::x the table was broken 2014-05-18 14:34:13 +03:00
Arik Fraimovich
86d64c35ab Add favicon to the project 2014-05-18 14:28:08 +03:00
Arik Fraimovich
8712c8567c Add /\ to escpaed characters in column name 2014-05-18 14:25:54 +03:00
Arik Fraimovich
b0cc646b5e Merge pull request #220 from EverythingMe/celery
Reconnect to database on every task.
2014-05-18 13:59:42 +03:00
Arik Fraimovich
8e1c852b0d Reset the database lock if pid changed 2014-05-18 13:57:08 +03:00
Arik Fraimovich
349f67337d Merge pull request #219 from EverythingMe/celery
Split __init__ into several modules and remove flask-peewee dependency.
2014-05-18 10:21:38 +03:00
Arik Fraimovich
4af979d3eb Split __init__ into several modules and remove flask-peewee dependency.
This should make imports more sensible and with less side effects. Also might reduce the memory footprint of the workers.
2014-05-18 10:19:07 +03:00
Arik Fraimovich
727cc67f19 Merge pull request #218 from EverythingMe/celery
Fix: queries were enqueued more than once because lock wasn't saved
2014-05-17 18:16:09 +03:00
Arik Fraimovich
f51df00564 Fix: queries were enqueued >1 because lock wasn't saved 2014-05-17 18:12:39 +03:00
Arik Fraimovich
8d7044a81a Merge pull request #217 from EverythingMe/celery
Use celery to replace our home grown background workers
2014-05-17 17:21:55 +03:00
Arik Fraimovich
d1c62b106d Fix: refresh fails if no status was previously set 2014-05-17 17:17:18 +03:00
Arik Fraimovich
a1dcf94d4d Update tests 2014-05-17 17:11:46 +03:00
Arik Fraimovich
53fc9bbf54 Use data source's queue name. 2014-05-17 16:50:44 +03:00
Arik Fraimovich
7755e9859d Add queue name to data source 2014-05-17 16:44:30 +03:00
Arik Fraimovich
21f3a80940 Use cls instead of explicit class name 2014-05-17 16:22:55 +03:00
Arik Fraimovich
06910d9002 Remove unused dependencies. 2014-05-17 16:19:32 +03:00
Arik Fraimovich
5777070bec Schedule refresh_queries using celery_beat. 2014-05-16 18:36:42 +03:00
Arik Fraimovich
8e3adcd283 Update .gitignore. 2014-05-16 18:36:21 +03:00
Arik Fraimovich
381ab62505 Move outdated queries selection logic to model. 2014-05-16 18:34:53 +03:00
Arik Fraimovich
93491004e2 Fix test due to refactor. 2014-05-16 18:19:01 +03:00
Arik Fraimovich
d1f0ae9538 Remove tests for old Job class. 2014-05-16 18:14:42 +03:00
Arik Fraimovich
94bb55d66b Remove the data.Manager as it's not needed anymore. 2014-05-16 18:13:37 +03:00
Arik Fraimovich
9de6996dc8 Deprecate old runworkers command. 2014-05-16 17:57:43 +03:00
Arik Fraimovich
9636359497 Update controllers to use new Job class. 2014-05-16 17:57:14 +03:00
Arik Fraimovich
9a6b40aff9 Enqueue jobs to celery. 2014-05-16 17:56:57 +03:00
Arik Fraimovich
82dee49a43 Remove old workers code. 2014-05-16 17:56:28 +03:00
Arik Fraimovich
9b4482f25d Move result storing logic to models. 2014-05-16 17:56:04 +03:00
Arik Fraimovich
4caf1ac3d3 Create celery app object. 2014-05-16 17:54:14 +03:00
Arik Fraimovich
0cda4a6632 Bump version to 0.4 2014-05-16 14:37:20 +03:00
Arik Fraimovich
a80618fbe2 Celery related settings 2014-05-16 14:37:11 +03:00
Arik Fraimovich
310808f1fb Add celery to requirements.txt 2014-05-16 14:26:54 +03:00
Arik Fraimovich
c6a415535e Merge pull request #213 from EverythingMe/feature_auto_links
Feature: auto link URLs in table
2014-05-13 20:17:26 +03:00
Arik Fraimovich
ce87c7b736 Apply cell contents as html. 2014-05-13 20:15:00 +03:00
Arik Fraimovich
036eb46ea4 Apply linking filter to string columns. 2014-05-13 20:14:45 +03:00
Arik Fraimovich
95ad15057b Filter to convert URLs into <a> elements. 2014-05-13 20:14:23 +03:00
Arik Fraimovich
459309ee4e Merge branch 'feature_group_permissions' (updated version of #208) 2014-05-13 19:42:04 +03:00
Arik Fraimovich
4e0069810e Bump version to 0.3.7 2014-05-13 19:41:50 +03:00
Arik Fraimovich
5a62e90f17 Fix migration code 2014-05-13 19:36:04 +03:00
Arik Fraimovich
cf689c424f Fix user creation in manage.py 2014-05-13 18:34:19 +03:00
Arik Fraimovich
dad9eb21a0 Create user groups in test setup. 2014-05-13 18:29:59 +03:00
Arik Fraimovich
8b581368dc Use the User.permissions property instead of groups. 2014-05-13 18:29:39 +03:00
Arik Fraimovich
ca093ec235 Move permissions logic back to a property on User model. 2014-05-13 18:18:10 +03:00
Arik Fraimovich
c6e210f107 Use new SQLMetadata class to check table permissions. 2014-05-13 18:17:39 +03:00
Arik Fraimovich
e2d0285496 Feature flag for enabling table permission checking. 2014-05-13 18:17:08 +03:00
Arik Fraimovich
16125327b1 Class for SQL metadata logic (tables, ddl, dml statements) 2014-05-13 18:16:30 +03:00
Arik Fraimovich
d8d666c971 Update the migration to use the admin permission too 2014-05-13 17:13:05 +03:00
Arik Fraimovich
772ea94b59 Fix: move the groups creation to init function 2014-05-13 16:47:58 +03:00