Skip to content

charleseff/lita-totems

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lita-totems

Totems handler for Lita

Installation

Add lita-totems to your Lita instance's Gemfile:

gem "lita-totems"

Configuration

TODO: Describe any configuration attributes the plugin exposes.

Usage

TODO: Describe the plugin's features and how to use them.

License

MIT

Todo:

  • core routes: C Create a totem (set ACL?) * create C Destroy a totem * destroy, delete C add queue for totem * route: add, join, take, queue
    • yield a totem C route: yield, finish, leave, done, complete, remove C should also notify next person C should not require totem name if user only has one totem C if user has multiple totems but doesn't specify totem to yield, lita tells user which totems she has to yield (and provides commands)
      • should alert people in queue that they are closer in the queue
    • kick someone from totem/queue C route: kick C example: kick totem C notifies user that he/she's been kicked from queue C should alert people in queue that they are closer in the queue
    • info (get all totem info, plus queues you're on as primary) C route : info, list C route: just "totems" or "totems info" C if passed a totem name, gets that totem's queue
  • extras:
    • totem groups
  • refactor:
    • convert to celluloid and DAO's. Completely hide redis commands behind DAOs
  • fix "user id" issue, use name instead