-
Notifications
You must be signed in to change notification settings - Fork 25
/
sample._ss_environment.php
217 lines (184 loc) · 8.29 KB
/
sample._ss_environment.php
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
<?php
/* What kind of environment is this: development, test, or live (ie, production)? */
define('SS_ENVIRONMENT_TYPE', '');
/* Database connection */
define('SS_DATABASE_SERVER', '');
define('SS_DATABASE_USERNAME', '');
define('SS_DATABASE_PASSWORD', '');
define('SS_DATABASE_CLASS','CustomMySQLDatabase');
//db name
$database = '';
/* Global variables */
$email_from = '';
$email_log = '';
$email_new_deployment = '';
/*
$mysqli = @new mysqli(SS_DATABASE_SERVER, SS_DATABASE_USERNAME, SS_DATABASE_PASSWORD, $database);
if ($mysqli->connect_errno) {
mysqli_close($mysqli);
ob_clean();
$maintenance_page = file_get_contents(getcwd(). '/../maintenance/index.html');
echo $maintenance_page;
header("HTTP/1.0 502 Bad Gateway");
exit();
}
mysqli_close($mysqli);
*/
//used by openstack/code/utils/email/DevelopmentEmail.php
define('DEV_EMAIL_TO','');
//used on events module.
define("EVENT_REGISTRATION_REQUEST_EMAIL_FROM", '');
// used on elections module.
define('REVOCATION_NOTIFICATION_EMAIL_FROM','');
//used on jobs module.
define('JOB_REGISTRATION_REQUEST_EMAIL_FROM','');
define('JOB_SUBMISSION_EMAIL_FROM','secretary@openstack.org');
//used on openstack/code/summit/TrackChairPage.php (EmailTrackChairs - ln 739)
define('TRACK_CHAIRS_EMAIL_FROM','');
//used on openstack/code/summit/SpeakerListPage.php (EmailSpeakers - ln 59)
define('SPEAKER_EMAIL_FROM','');
//used on openstack/code/summit/SchedToolsPage.php (EmailSpeakers - ln 59 )
define('SCHED_TOOLS_EMAIL_FROM','');
//used on openstack/code/summit/CallForSpeakersPage.php (EmailOnNewTalk - ln 89)
define('CALL_4_SPEAKERS_FROM_EMAIL','');
//used on marketplace reviews module.
define('MARKETPLACE_REVIEWS_EMAIL_TO','');
//used on marketplace admin.
define('MARKETPLACE_ADMIN_UPDATE_EMAIL_TO','');
define('DEPLOYMENT_SURVEY_THANK_U_FROM_EMAIL','');
define('SURVEY_COMPLETE_EMAIL_TO','');
//used on openstack/code/FeedbackForm.php (submitFeedback - ln 46)
define('FEEDBACK_FORM_FROM_EMAIL','');
define('FEEDBACK_FORM_TO_EMAIL','');
//used on openstack/code/OSLogoProgramForm.php (save- ln 133)
define('OS_LOGO_PROGRAM_FORM_FROM_EMAIL','');
define('OS_LOGO_PROGRAM_FORM_TO_EMAIL','');
//used on openstack/code/summit/PresentationVotingPage.php (Done - ln 257)
define('PRESENTATION_VOTING_EVENT_FROM_EMAIL','');
define('PRESENTATION_VOTING_EVENT_TO_EMAIL','');
//used on openstack/code/MemberListPage.php (saveNomination - ln 274)
define('CANDIDATE_NOMINATION_FROM_EMAIL','');
//used on openstack/code/summit/PresentationEditorPage.php (EmailSubmitters - ln 534)
define('OS_SUMMIT_PRESENTATION_VOTING_FROM_EMAIL','');
//used on openstack/code/summit/PresentationEditorPage.php (EmailSpeakers - ln 573)
define('OS_SUMMIT_SPEAKING_SUBMISSION_FROM_EMAIL','');
//used on openstack/code/summit/PresentationEditorPage.php (AssembleEmail - ln 1138)
define('OS_PRESENTATION_SUBMISSIONS_FROM_EMAIL','');
// news module settings
define("NEWS_SUBMISSION_EMAIL_ALERT_TO", '');
define('NEWS_SUBMISSION_EMAIL_FROM','secretary@openstack.org');
define('NEWS_SUBMISSION_EMAIL_SUBJECT','New News item on Openstack.org');
//ICLA Module configuration
define('ICLA_GROUP_ID', '');
define('GERRIT_BASE_URL', '');
define('GERRIT_USER', '');
define('GERRIT_PASSWORD', '');
define('PULL_ICLA_DATA_FROM_GERRIT_BATCH_SIZE', 1000);
define('PULL_LAST_COMMITTED_DATA_FROM_GERRIT_BATCH_SIZE', 1000);
define('CCLA_TEAM_INVITATION_EMAIL_FROM','');
define('CCLA_DEBUG_EMAIL','');
//get a key from https://github.com/settings/applications#personal-access-tokens
define('GITHUB_API_OAUTH2TOKEN','');
define('APPSEC', ''); # openstack/code/MemberVerifyPage.php
// here u need to define your hostheader and your local path
// like $_FILE_TO_URL_MAPPING['/var/www/openstack.org'] = 'http://www..openstack.org';
// mainly this is used by the cron tasks
define('IDP_OPENSTACKID_URL','https://dev.openstackid.com');
//set true on production mode, otherwise false
define('Auth_OpenID_VERIFY_HOST',false);
define('Auth_OpenID_Realm','https://devbranch.openstack.org');
define('OPENSTACKID_ENABLED',true);
// OIDC
define('OIDC_CLIENT', '');
define('OIDC_CLIENT_SECRET', '');
//set true on production mode, otherwise false
define('OIDC_VERIFY_HOST',false);
// scopes
define('OIDC_SCOPES', 'openid profile email address');
//summit purchase orders settings
define('APPROVED_PURCHASE_ORDER_EMAIL_FROM','');
define('APPROVED_PURCHASE_ORDER_EMAIL_SUBJECT','Your OpenStack Sponsorship Package Purchase Order was approved');
define('NEW_PURCHASE_ORDER_EMAIL_FROM','');
define('NEW_PURCHASE_ORDER_EMAIL_TO','');
define('NEW_PURCHASE_ORDER_EMAIL_SUBJECT','New Sponsorship Package Purchase Order');
define('REJECTED_PURCHASE_ORDER_EMAIL_FROM','');
define('REJECTED_PURCHASE_ORDER_EMAIL_SUBJECT','Your OpenStack Sponsorship Package Purchase Order was rejected');
// OAUTH 2.0 Client ID to use Google Calendar API
define('GAPI_CLIENT','');
define('GAPI_CLIENT_SECRET', '');
define('GAPI_REDIRECT_URL','http://local.openstack.org/summit-calendar-sync/login-google');
define('GAPI_SCOPES','email,profile,https://www.googleapis.com/auth/calendar');
define('GAPI_APPROVAL_PROMPT','force');
define('GAPI_ACCESS_TYPE','offline');
define('OUTLOOK_APP_PASSWORD','');
define('OUTLOOK_APP_ID','');
define('OUTLOOK_REDIRECT_URL','https://local.openstack.org/summit-calendar-sync/login-outlook');
define('OUTLOOK_SCOPES', 'openid profile offline_access User.Read https://outlook.office.com/calendars.readwrite');
// APP LINKS
// http://applinks.org/documentation/
//ios
define('APP_LINKS_IOS_APP_STORE_ID','');
define('APP_LINKS_IOS_APP_NAME','OpenStack Summit');
define('APP_LINKS_IOS_APP_CUSTOM_SCHEMA','org.openstack.ios.summit');
$APP_LINKS_IOS_FILE_CONFIG = [];
$APP_LINKS_IOS_FILE_CONFIG['org.openstack.ios.summit.debug'] = array('*');
$APP_LINKS_IOS_FILE_CONFIG['org.openstack.ios.summit.beta'] = array('*');
//android
define('APP_LINKS_ANDROID_PACKAGE','org.openstack.android.summit');
define('APP_LINKS_ANDROID_APP_NAME','OpenStackSummitApplication');
define('APP_LINKS_ANDROID_APP_CUSTOM_SCHEMA','org.openstack.android.summit');
$APP_LINKS_ANDROID_FILE_CONFIG = [];
$APP_LINKS_ANDROID_FILE_CONFIG[APP_LINKS_ANDROID_PACKAGE] = [
"FA:39:81:5D:C8:A3:36:96:A1:4F:8B:21:DA:4B:9A:6B:71:36:9C:30:56:BB:C1:3F:40:BD:94:EC:B2:26:89:10",
"3C:FA:62:3E:0B:C6:9F:81:EA:F1:74:4F:94:FC:55:6A:A4:28:0C:CB:11:4A:E3:34:30:D2:D7:6E:3D:A8:AA:8A",
];
define('GROUP_CONTACT_REPORT_TOKEN', '123456');
define('OPENSTACK_YOUTUBE_API_KEY','');
define('OPENSTACK_YOUTUBE_CHANNEL_ID','');
// Twitter
define('OPENSTACK_TWITTER_ACCOUNT', '');
define('FIREBASE_GCM_SERVER_KEY', '');
define('FIREBASE_API_KEY', '');
define('FIREBASE_PROJECT_ID', '');
define('FIREBASE_MESSAGING_SENDER_ID', '');
//auc-metrics/code/services/ActiveCommitterService.php
define('ACTIVECOMMITTERSERVICE_GERRIT_USER', '');
define('ACTIVECOMMITTERSERVICE_GERRIT_USER_SSH_KEY_FILE', '');
define('ACTIVECOMMITTERSERVICE_GERRIT_USER_SSH_KEY_FILE_PASSWORD', '');
define('SERVER_TIME_ZONE', 'America/Chicago');
define('RECAPTCHA_SITE_KEY', "");
define('RECAPTCHA_SECRET_KEY', "");
//marketplace/code/infrastructure/services/ExpiredPoweredOpenStackImplementationEmailMessageSender.php#32
define('EXPIRED_POWERED_OPENSTACK_IMPLEMENTATION_EMAIL_TO', '');
// coa
define('SENDGRID_API_KEY', '');
define('COA_UNPROCESSED_EMAIL_ROWS_FROM', '');
define('COA_UNPROCESSED_EMAIL_ROWS_TO', '');
define('COA_UNPROCESSED_EMAIL_ROWS_SUBJECT', '');
// track chair tool
define('TRACK_CHAIR_TOOL_EMAIL_FROM', '');
/**
use sake dev/tasks/GenerateEncryptionKeyTask to generate Encrypter_Key
*/
define('Encrypter_Key', '');
define('Encrypter_Cipher', 'AES-256-CBC');
//APPLE CALENDAR
define('CALDAV_BASE_SERVER_URL', 'https://p01-caldav.icloud.com:443');
//registration/code/model/member_spammer_estimator/MemberSpammerProcessorTask.php:49
define('MEMBER_SPAM_PROCESSOR_TO', '');
define('OPENSTACK_RESOURCE_API_BASE_URL', '');
define('SUMMIT_CALENDAR_SYNC_ERROR_EMAIL_FROM', '');
define('SEARCH_WIDGET_BASE_URL', '');
define('CFP_APP_BASE_URL', '');
define('SURVEY_ANALYTICS_URL', '');
define('MEETUP_OAUTH_CLIENT_ID' ,'');
define('MEETUP_OAUTH_REDIRECT_URL' ,'');
define('MEETUP_OAUTH_CLIENT_SECRET' ,'');
define('MEETUP_USER' ,'');
define('MEETUP_PASSWORD' ,'');
define('DROPBOX_ACCESS_TOKEN', '');
define('MEDIA_UPLOAD_MOUNTING_FOLDER', 'PresentationMediaUploads');
// currrent sponsored project for nav bar
define('OPENSTACK_CURRENT_SPONSORED_PROJECT', 4);
global $_FILE_TO_URL_MAPPING;
$_FILE_TO_URL_MAPPING[''] = '';