forked from magfest/ubersystem
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test-defaults.ini
333 lines (264 loc) · 7.92 KB
/
test-defaults.ini
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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
path = "/rams"
hostname = "localhost"
url_root = "https://localhost"
consent_form_url = "http://magfest.org/parentalconsentform"
regdesk_email_signature = ''' - Victoria Earl,
MAGFest Registration Chair'''
stops_email_signature = '''Staff Operations Department
MAGFest Inc.
http://www.magfest.org'''
marketplace_email_signature = ''' - Danielle Pomfrey,
MAGFest Marketplace Coordinator'''
peglegs_email_signature = ''' - Tom Hyre,
MAGFest Director of Panel Operations'''
guest_email_signature = ''' - Steph Prader,
MAGFest Guest Coordinator'''
rooms_locked_in = True
post_con = "False"
at_the_con = "False"
shift_custom_badges = "True"
printed_badge_deadline = ""
dev_box = "True"
send_emails = "False"
event_name = "CoolCon9000"
numbered_badges = "True"
badge_promo_codes_enabled = True
# tests should turn this on to test the effects
hardcore_optimizations_enabled = "False"
shiftless_depts = "con_ops",
# we want 2 preassigned types to test some of our logic, so we've
# set these even though Supporter isn't really a badge type anymore
preassigned_badge_types = "staff_badge", "supporter_badge"
transferable_badge_types = "attendee_badge",
# =============================
# hotel
# =============================
night_display_order = "thursday", "friday", "saturday", "sunday", "monday", "tuesday", "wednesday"
# =============================
# panels
# =============================
send_sms = True
expected_response = "December 2016"
alt_schedule_url = ""
# =============================
# tabletop
# =============================
tabletop_twilio_number = "+15713646627"
tabletop_locations = "tabletop_tournaments", "tabletop_tournaments_2", "tabletop_indie"
# =============================
# guests
# =============================
rock_island_groups = band,guest
[badge_prices]
one_days_enabled = True
presell_one_days = False
# default attendee prices
initial_attendee = 40
dealer_badge_price = 20
group_discount = 10
[[single_day]]
[[attendee]]
[[stocks]]
[table_prices]
# we need to set some default table prices so we can write tests
# against them without worrying about what's been configured
default_price = 400
1 = 100
2 = 200
3 = 300
4 = 400
[badge_ranges]
staff_badge = 1, 399
supporter_badge = 500, 999
attendee_badge = 3000, 5999
[age_groups]
[[under_6]]
desc = "Under 6"
min_age = 0
max_age = 5
discount = 999
can_volunteer = False
consent_form = True
wristband_color = "red"
[[under_13]]
desc = "Between 6 and 13"
min_age = 6
max_age = 12
discount = 0
can_volunteer = False
consent_form = True
wristband_color = "red"
[[under_18]]
desc = "Between 13 and 18"
min_age = 13
max_age = 17
discount = 0
can_volunteer = False
consent_form = True
wristband_color = "red"
[[under_21]]
desc = "Between 18 and 21"
min_age = 18
max_age = 20
discount = 0
can_volunteer = True
consent_form = False
wristband_color = "blue"
[[over_21]]
desc = "21 or older"
min_age = 21
max_age = 99
discount = 0
can_volunteer = True
consent_form = False
wristband_color = "green"
[integer_enums]
size_unknown = -1
no_shirt = 0
[[donation_tier]]
'No thanks' = 0
[[shirt]]
'no shirt' = NO_SHIRT
[[fee_price]]
'Badge Replacement' = 80
[[store_price]]
'MAGFest 2016 tshirt' = 20
'Squarewave tshirt' = 15
'Polo Shirt' = 25
'Hoodie' = 30
'Scarf' = 25
'Beanie' = 15
'Pin (MAGBadge)' = 8
'Pin (MAGFest Logo)' = 8
'Pin set of 2' = 15
'Poster' = 3
'Lanyard' = 5
'Wristband' = 1
'MAGnet (indoor)' = 2
'MAGnet (outdoor)' = 4
'Bumper Sticker' = 3
'Squarewave Bumper Sticker' = 2
'MAGFest 2016 Car Decal (Small)' = 3
'MAGFest 2016 Car Decal (Large)' = 5
'Squarewave Car Decal (Small)' = 3
'Squarewave Car Decal (Large)' = 5
'Other Sticker' = 1
[enums]
[[sale]]
merch = "Merch"
cash = "Cash"
credit = "Credit Card"
[[payment_method]]
cash = "Cash"
stripe = "Stripe"
square = "Square"
manual = "Stripe"
group = "Group"
stripe_error = "Stripe"
[[fee_payment_method]]
cash = "cash"
credit = "credit"
[[new_reg_payment_method]]
cash = "Cash"
square = "Square"
stripe_error = "Stripe Error Override"
[[door_payment_method]]
cash = "Pay with cash"
stripe = "Pay with credit card now (faster)"
manual = "Pay with credit card at the registration desk"
group = "Taking an unassigned Group badge (group leader must be present)"
[[event_location]]
panels_1 = "Panels 1 (Woodrow Wilson Ballroom)"
panels_2 = "Panels 2 (Woodrow Wilson Ballroom)"
panels_3 = "Panels 3 (Cherry Blossom Ballroom)"
panels_4 = "Panels 4 (Chesapeake D,E,F)"
mages_1 = "MAGES 1 (Chesapeake G,H,I)"
mages_2 = "MAGES 2 (Chesapeake 7,8,9)"
forum = "Forum (Chesapeake K,L)"
the_forge = "Creation Area (Chesapeake 1,2,3)"
soapbox = "The Soapbox (Camellia 3,4)"
autographs = "Autographs A (Expo Hall E)"
autographs_1 = "Autographs 1 (Expo Hall E)"
film_fest = "Games on Film (Maryland C)"
console_stage = "Arena (Maryland D)"
starship_horizons = "Starship Horizons (Annapolis 1,2,3,4)"
simulations = "Artemis (Expo Hall C)"
console_tournament = "Console (Gameroom Tournaments)"
console_tournament_2 = "Console (Gameroom Tournaments 2)"
console_attendee = "Console (Attendee Tournaments)"
arcade_tournaments_1 = "Arcade (Tournaments 1)"
arcade_tournaments_2 = "Arcade (Tournaments 2)"
arcade_tournaments_3 = "Arcade (Tournaments 3)"
arcade_tournaments_5 = "Arcade (Tournaments 4)"
arcade_tournaments_4 = "Arcade (Pinball)"
lan_1 = "LAN 1"
lan_2 = "LAN 2"
lan_3 = "Theater A"
lan_theater = "Theater B"
larp = "LARP (Magnolia 1)"
tabletop_indie = "Tabletop Indie Showcase (National Harbor 10,11)"
tabletop_tournaments = "Tabletop (Tournaments)"
tabletop_panels = "Tabletop Discussions (National Harbor 8)"
tabletop_ccg = "Tabletop CCG (National Harbor 4,5,6,7)"
pathfinder = "Pathfinder (National Harbor 12,13)"
ddal = "D&D Adventurers League, 5th edition (National Harbor 12,13)"
concerts = "Concerts (Potomac Ballrooms)"
chiptunes = "Chipspace (Potomac Hallway)"
zombie_tag = "Zombie Tag (Magnolia 2)"
escape_room = "Escape Room (Baltimore 1,2)"
MegaManathon = "Mega Man-athon 5 (Maryland Hallway)"
[[dept_head_overrides]]
security = "The Dorsai Irregulars"
[[test_departments]]
# our tests should work no matter what departments exist, so we'll
# add these departments to use in our tests
console = "Console"
arcade = "Arcade"
con_ops = "Fest Ops"
[[interest]]
# ensure that we have uniform interests
console = "Consoles"
arcade = "Arcade"
[[job_location]]
# ensure that "arcade" and "consoles" exist in any model columns using "job_location"
console = "Console"
arcade = "Arcade"
con_ops = "Fest Ops"
food_prep = "Staff Suite"
regdesk = "Registration"
stops = "Staffing Ops"
[[badge]]
attendee_badge = "Attendee"
child_badge = "Minor"
supporter_badge = "Supporter"
staff_badge = "Staff"
guest_badge = "Guest"
one_day_badge = "One Day"
[[ribbon]]
volunteer_ribbon = "Volunteer"
dept_head_ribbon = "Department Head"
dealer_ribbon = "Shopkeep"
panelist_ribbon = "Panelist"
band = "RockStar"
over_13 = "Between 13 and 18 (unused)"
under_13 = "Under 13"
[dept_head_checklist]
[secret]
test_db_file = "/tmp/uber.db"
sqlalchemy_url = "sqlite+pysqlite:///%(test_db_file)s"
# SQLite doesn't support these options, so they're set to -1 to indicate
# that they should be ignored.
sqlalchemy_pool_size = -1
sqlalchemy_max_overflow = -1
# set some other config values off just to be safe
aws_access_key = ""
aws_secret_key = ""
stripe_secret_key = ""
stripe_public_key = ""
[dates]
# Required for magprime plugin tests, must exist before magprime is imported
shirt_deadline = '2016-12-15'
group_prereg_takedown = '2015-01-01'
room_deadline = "2015-11-30"
panel_app_deadline = "2016-10-31"