texttochange/vusion-backend — pull request #9 by overnin (2013-07-02 06:59:13+00:00)
Title: add sms-limit-manager

A new component is added to vusion to manage this sms-limit.

For performance concern a counter will be stored in Redis to avoid counting in the database at each iteration.

In order to avoid stopping half way when sending separate message, the manager can also set a wildcard to allow all message from this particular source.

TODO
- [ ] use txredis to have asyncall
- [ ] use the manager in dialogue worker (as send_schedule / dispatch_event)
- [ ] refactor the properties of dialogue worker to get the shortcode easily retrieved
- [ ] there must be a notification to worker when their shorcode is modified (ex when the customized id is support of the number of message is update)