forked from csudcy/my-will
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.py
121 lines (91 loc) · 3.71 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
# 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.help",
"will.plugins.productivity",
"will.plugins.web",
# All plugins in your project.
"plugins",
]
# Don't load any of the plugins in this list. Same options as above.
PLUGIN_BLACKLIST = [
# "will.plugins.friendly.cookies", # But who would deprive will of cookies??
"will.plugins.productivity.hangout", # Because it requires a HANGOUT_URL
"will.plugins.productivity.world_time", # Because it requires a WORLD_WEATHER_ONLINE key
]
# ------------------------------------------------------------------------------------
# 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"
# 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 = 'Testing, Will Kahuna'
# Fully-qualified folders to look for templates in, beyond the two that
# are always included: core will's templates folder, and your project's templates folder.
#
# TEMPLATE_DIRS = [
# os.path.abspath("other_folder/templates")
# ]
# User handles who are allowed to perform `admin_only` plugins. Defaults to everyone.
# ADMINS = [
# "steven",
# "levi",
# ]
# 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"