|
a/ForgeChat/forgechat/main.py |
|
b/ForgeChat/forgechat/main.py |
|
... |
|
... |
37 |
permissions = ['configure', 'read' ]
|
37 |
permissions = ['configure', 'read' ]
|
38 |
config_options = Application.config_options + [
|
38 |
config_options = Application.config_options + [
|
39 |
ConfigOption('channel', str, ''),
|
39 |
ConfigOption('channel', str, ''),
|
40 |
]
|
40 |
]
|
41 |
icons={
|
41 |
icons={
|
42 |
24:'allura/images/chat_24.png',
|
42 |
24:'images/chat_24.png',
|
43 |
32:'allura/images/chat_32.png',
|
43 |
32:'images/chat_32.png',
|
44 |
48:'allura/images/chat_48.png'
|
44 |
48:'images/chat_48.png'
|
45 |
}
|
45 |
}
|
46 |
|
46 |
|
47 |
def __init__(self, project, config):
|
47 |
def __init__(self, project, config):
|
48 |
Application.__init__(self, project, config)
|
48 |
Application.__init__(self, project, config)
|
49 |
self.channel = CM.ChatChannel.query.get(app_config_id=config._id)
|
49 |
self.channel = CM.ChatChannel.query.get(app_config_id=config._id)
|