forked from skoczen/will
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
148 lines (117 loc) · 4.92 KB
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
# Welcome to Will's settings.
#
# Config and the environment:
# ---------------------------
# Will can use settings from the environment or this file, and sets reasonable defaults.
#
# Best practices: set keys and the like in the environment, and anything you'd be ok
# with other people knowing in this file.
#
# To specify in the environment, just prefix with WILL_
# (i.e. WILL_DEFAULT_ROOM becomes DEFAULT_ROOM).
# In case of conflict, you will see a warning message, and the value in this file will win.
# ------------------------------------------------------------------------------------
# Required settings
# ------------------------------------------------------------------------------------
# The list of plugin modules will should load.
# Will recursively loads all plugins contained in each module.
# This list can contain:
#
# Built-in core plugins:
# ----------------------
# All built-in modules: will.plugins
# Built-in modules: will.plugins.module_name
# Specific plugins: will.plugins.module_name.plugin
#
# Plugins in your will:
# ----------------------
# All modules: plugins
# A specific module: plugins.module_name
# Specific plugins: plugins.module_name.plugin
#
# Plugins anywhere else on your PYTHONPATH:
# -----------------------------------------
# All modules: someapp
# A specific module: someapp.module_name
# Specific plugins: someapp.module_name.plugin
# By default, the list below includes all the core will plugins and
# all your project's plugins.
PLUGINS = [
# Built-ins
"will.plugins.admin",
"will.plugins.chat_room",
"will.plugins.devops",
"will.plugins.friendly",
"will.plugins.fun",
"will.plugins.help",
"will.plugins.productivity",
"will.plugins.web",
"will.plugins.fitbot",
# All plugins in your project.
"plugins",
]
# Don't load any of the plugins in this list. Same options as above.
PLUGIN_BLACKLIST = [
"will.plugins.productivity.hangout", # Because it requires a HANGOUT_URL
"will.plugins.productivity.world_time", # Because it requires a WORLD_WEATHER_ONLINE_V2_KEY key
"will.plugins.productivity.bitly", # Because it requires a BITLY_ACCESS_TOKEN key and the bitly_api library
"will.plugins.devops.bitbucket_is_up", # Because most folks use github.
"will.plugins.devops.pagerduty", # Because it requires a PAGERDUTY_SUBDOMAIN and PAGERDUTY_API_KEY key
"will.plugins.devops.github_is_up",
]
# ------------------------------------------------------------------------------------
# Potentially required settings
# ------------------------------------------------------------------------------------
# If will isn't accessible at localhost, you must set this for his keepalive to work.
# Note no trailing slash.
# PUBLIC_URL = "http://my-will.herokuapp.com"
PUBLIC_URL = "http://localhost:9000"
HTTPSERVER_PORT = "9000"
# Port to bind the web server to (defaults to $PORT, then 80.)
# Set > 1024 to run without elevated permission.
# HTTPSERVER_PORT = "9000"
# ------------------------------------------------------------------------------------
# Optional settings
# ------------------------------------------------------------------------------------
# The list of rooms will should join. Default is all rooms.
# ROOMS = ['Testing, Will Kahuna',]
# The room will will talk to if the trigger is a webhook and he isn't told a specific room.
# Default is the first of ROOMS.
DEFAULT_ROOM = 'DailyStandup'
# Fully-qualified folders to look for templates in, beyond the two that
# are always included: core will's templates folder, your project's templates folder, and
# all templates folders in included plugins, if they exist.
#
# TEMPLATE_DIRS = [
# os.path.abspath("other_folder/templates")
# ]
# Access Control: Specify groups of users to be used in the acl=["admins","ceos"] parameter
# in respond_to and hear actions.
# Group names can be any string, and the list is composed of user handles.
# ACL = {
# "admins": ["steven", "will"]
# }
# Deprecated - please use ACL, above, instead: User handles who are allowed to perform
# `admin_only` plugins. Defaults to everyone.
# ADMINS = [
# "steven",
# "levi",
# ]
# Sets a different storage backend. If unset, defaults to redis.
# If you use a different backend, make sure to add their required settings.
# STORAGE_BACKEND = "redis" # "redis", "couchbase", or "file".
# Disable SSL checks. Strongly reccomended this is not set to True.
# ALLOW_INSECURE_HIPCHAT_SERVER = False
# Mailgun config, if you'd like will to send emails.
# DEFAULT_FROM_EMAIL="[email protected]"
# Set in your environment:
# export WILL_MAILGUN_API_KEY="key-12398912329381"
# export WILL_MAILGUN_API_URL="example.com"
# Logging level
LOGLEVEL = "DEBUG"
# Proxy settings
# Use proxy to access hipchat servers
# Make sure your proxy allows CONNECT method to port 5222
# PROXY_URL = "http://user:[email protected]:3128"
# or
# PROXY_URL = "http://yproxy:80