-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
132 lines (100 loc) · 3.98 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
# Welcome to Will's settings.
#
# All of the settings here can also be specified in the environment, and should be for
# keys and the like. In case of conflict, you will see a warning message, and the
# value in this file will win.
# ------------------------------------------------------------------------------------
# Required
# ------------------------------------------------------------------------------------
# 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",
# 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",
"will.plugins.devops.pagerduty",
"will.plugins.productivity.bitly", # Because it requires a BITLY_ACCESS_TOKEN key and the bitly_api library
]
# ------------------------------------------------------------------------------------
# Potentially Required
# ------------------------------------------------------------------------------------
# If will isn't accessible at localhost, you must set this for his keepalive to work.
# Note no trailing slash.
PUBLIC_URL = "http://will.buddyup.org"
# Port to bind the web server to (defaults to $PORT, then 80.)
# Set > 1024 to run without elevated permission.
# HTTPSERVER_PORT = "9000"
# ------------------------------------------------------------------------------------
# Optional
# ------------------------------------------------------------------------------------
import os
if not "DEV_ENV" in os.environ:
# The list of rooms will should join. Default is all rooms.
ROOMS = ['Everybody Everyone!', 'Uptime Downtime', ]
# 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 = 'Everybody Everyone!'
# Pipedrive Config
PIPEDRIVE_PIPELINE_WHITELIST = [1, 7]
PIPEDRIVE_STAGE_BLACKLIST = [2, 5]
# 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",
"brian",
]
# 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"
# ------------------------------------------------------------------------------------
# buddyup settings
# ------------------------------------------------------------------------------------
# Deploy
DEPLOY_PREFIX = "buddyup-"
GITHUB_ORGANIZATION_NAME = "buddyup"
# Urls
GOLD_STAR_URL = "https://buddyup-will.s3.amazonaws.com/goldstar.jpg"
# MAINTENANCE_PAGE_URL = "https://buddyup-maintenance.s3.amazonaws.com/maintenance.html"
ZOOM_URL = "https://zoom.us/j/8064056417"