Commit Graph
26 Commits
Author SHA1 Message Date
Ilan Steemers 5b3c8440ca Schedule admin should show name instead of id in task link 2015-07-09 09:12:26 +02:00
Ilan Steemers d2515d99e0 fixed regression of task link in schedule admin 2015-07-08 22:41:29 +02:00
Ilan Steemers 44c8edb0a2 Keep task length on schedule for backward compatibility
Migrations on existing data would fail because of the old names being longer than the uuid. Keeping the field length at 100 will keep it compatible with existing  data.

Removed the squashed migrations cause this will cause dependency problems on existing installations. Every new migration will list the squashed migrations as a dependency. Not a problem for new installations, but will crash on exisitng ones.
2015-07-08 15:40:38 +02:00
Ilan Steemers d9d0e7db73 consistent task name formatting 2015-07-08 14:27:51 +02:00
Ilan Steemers f8708cfd73 Task now uses a UUID4 instead of a LUID 2015-07-08 13:33:03 +02:00
Ilan Steemers e7d2dd0309 Missed a return on exception 2015-07-05 21:09:05 +02:00
Ilan Steemers b113a52825 Restructured all the modules
The core module was becoming too large.
By splitting it in  cluster, monitor and tasks it becomes more manageable. It also reflects the documentation structure.
2015-07-03 15:12:11 +02:00
Ilan Steemers 50cc5b821b Removed superfluous return 2015-07-01 12:30:36 +02:00
Ilan Steemers 8188893ff4 Schedule args and kwargs fields are now unlimited text fields. 2015-06-30 18:34:14 +02:00
Ilan Steemers dd56a8cfa4 Add unicode to models 2015-06-30 11:14:00 +02:00
Ilan Steemers 9bd3b1fa40 renamed scheduled task result to 'last run'. Makes more sense 2015-06-27 21:54:09 +02:00
Ilan Steemers de03dd10d8 args and kwargs can be null in db 2015-06-27 16:20:14 +02:00
Ilan Steemers 666bdc97dc * updated README
* both func and hook check for callable.
2015-06-26 14:24:25 +02:00
Ilan Steemers e2f7f1e5bf added schedule to README 2015-06-25 20:30:13 +02:00
Ilan Steemers d06de5769b added scheduled tasks with admin interface 2015-06-25 19:48:38 +02:00
Ilan Steemers 47de658be5 allow Null results 2015-06-24 22:13:29 +02:00
Ilan Steemers 9d84e8cf49 using PRE_SAVE instead of POST_SAVE signal for hook. 2015-06-24 15:28:47 +02:00
Ilan Steemers 0ed1da8f05 Refactoring to make testing more stable 2015-06-23 21:12:08 +02:00
Ilan Steemers bed64c7313 Added re-submit function to Failed Task admin 2015-06-18 17:03:34 +02:00
Ilan Steemers 5adf92eb27 hooks now work
refactored task as dict instead of list for readability.
2015-06-18 15:23:21 +02:00
Ilan Steemers 69837922b1 Task now accepts a hook function, that will be called with the finished task as the argument. 2015-06-17 23:50:17 +02:00
Ilan Steemers e473665760 Added admin pages for failures and success.
SAVE_LIMIT can now be set to limit the amount of saved tasks results.
2015-06-17 15:32:54 +02:00
Ilan Steemers c8d2927dd2 restructured app and added task signing 2015-06-17 13:33:46 +02:00
Ilan Steemers 093431e88d Lots of stuff
- changed to single monitor for success and failures
- result is now in django model
- started addings tests
2015-06-16 19:03:00 +02:00
Ilan Steemers f095c52e73 - Added logging with coloredlogs (for now)
- Added task model and admin
- Moved pusher into it's own process
2015-06-16 14:58:44 +02:00
Ilan Steemers 8c0a26e0b4 Testing basic layout 2015-06-15 16:02:50 +02:00