correctly validate the existing affiliate name
[bse.git] / test.cfg
CommitLineData
d2730773
TC
1# where to install the site
2base_url = http://bsetest.develop-help.com
6a8a205a 3securl = http://bsetestshop.develop-help.com
d2730773 4# where to install the site
5af99440 5base_dir = /home/httpd/bsetest
d2730773
TC
6# the database user/password/dsn
7dbuser = bsetest
8dbpass = bsetest
9dsn = dbi:mysql:bsetest
10dbclass = BSE::DB::Mysql
11sessionclass = Apache::Session::MySQL
12# the location of mysql
aefcabcb 13mysql = mysql
9615cff6 14basic.access_control=0
74b21f6d 15basic.staticajax=1
27aceccf 16basic.sign=0
4010d92e 17#basic.htusers = /home/httpd/bsetest/htdocs/images/.htusers
d09682dd 18#article uris.9 = /test
ebe779a5 19paths.htpasswd=/home/httpd/bsetest/data/htusers
d09682dd
TC
20datadump.to=tony@develop-help.com
21datadump.from=tony@develop-help.com
dbe0477f 22confirmations.from=tony@develop-help.com
d09682dd
TC
23subscriptions.from=tony@develop-help.com
24#subscriptions.testemail=tony@develop-help.com
25#subscriptions.testname=Tony Cook
26#subscriptions.testtextonly=1
27subscriptions.testing=1
27aceccf 28shop.noencrypt=0
d09682dd 29shop.from=sales@develop-help.com
27aceccf 30shop.to_name=
d09682dd
TC
31shop.to_email=tony@develop-help.com
32shop.email_order=1
27aceccf
TC
33shop.crypt_signing_id=
34shop.show_card_type=1
7aa0262a 35shop.crypt_content_type=1
cae48ae5 36shop.order_from_catalog=1
8786e0ca 37shop.sidebar_cart=0
2a295ea9
TC
38#site users.nopassword=1
39site users.info_on_register=1
cf9f9cbc
TC
40site users.notify_register=1
41site users.notify_register_email=tony@imager.perl.org
ac7ba5a8 42basic.ajax=1
8786e0ca
TC
43site users.require_name1=1
44site users.require_name2=1
2a295ea9
TC
45#site users.require_title=1
46#site users.require_organization=1
47#site users.require_address=1
48#site users.require_suburb=1
49#site users.require_city=1
50#site users.require_state=1
51#site users.require_postcode=1
52#site users.require_country=1
53#site users.require_telephone=1
54#site users.require_facsimile=1
55#site users.subscribe_all=1
1c3e5303 56#site users.subscribe_1=1
8786e0ca
TC
57site user validation.email_rules=nobademail
58validation rule nobademail.nomatch=blank@blank.com.au
59validation rule nobademail.error=Please enter a non-default email address
00dd8d82
TC
60debug.cookies=0
61debug.logon_cookies=0
954e856d 62debug.mail_encryption=0
9063386f 63site users.billing_on_main_opts=0
505456b1 64#site users.user_register=0
220c179a 65#paths.libraries=/home/tony/dev/bse/tandb_dealer/cvs/modules
74b21f6d
TC
66#paths.libraries=/home/tony/dev/bse/lib
67#paths.libraries=/home/tony/dev/bse/work2/modules
8b44b8ed 68paths.libraries=/home/tony/dev/bse/tryandbyte2/modules
74b21f6d
TC
69#basic.custom_class=BSE::Custom::Abberfield
70#basic.custom_class=BSE::CustomTest
8b44b8ed 71basic.custom_class=BSE::Custom
220c179a
TC
72#paths.siteuser_passwd=/home/httpd/bsetest/data/supasswd
73#custom.user_auth=1
f0543260 74# product fields.retailPrice=Dealer Price Inc GST
00dd8d82 75#paths.local_templates=/home/tony/dev/bse/tandb_dealer/cvs/templates
74b21f6d 76#paths.local_templates=/home/tony/dev/bse/work2/templates
24acb207 77#paths.local_templates=/home/tony/dev/bse/tryandbyte/templates
41e7c841 78#shop.payment_types=1,2,10,11,12
81f3292d
TC
79payment type names.10=DirectDeposit
80payment type names.11=FaxProForma
81payment type names.12=EmailProForma
82payment type required.11=facsimile
83
74b21f6d 84#paths.local_templates=/home/tony/dev/bse/work/templates/
ea646070 85
dfdeb4fe 86affiliate.prompt_name=1
3c32512d 87site users.require_affiliate_name=0
954e856d
TC
88affiliate.set_cookie=quux
89affiliate.other_cookies=alpha,beta
ea646070
TC
90affiliate.linkbaseurl=devbox.org
91affiliate.linkyourdesc=Your Home Page
92affiliate.linkdefurl=something.devbox.org
93affiliate.linkdefdesc=Our Home Page
dfdeb4fe 94
81f3292d
TC
95dealer.bsb=999999
96dealer.accountno=77777777
d49f56a6
TC
97shop.display_facsimile=Fax Number
98site user flags.a=Access to private pages
99tandb custom.siteuser_include_flag=a
f2bf0d11 100site user flags.d=Demo user
8786e0ca 101custom.saveopts=0
220c179a
TC
102
103#test.1=hello
104#test.2=alpha
105#test.10=beta
106#test.100=gamma
107#test.1000=delta
108
99b7cef0 109#perl=/opt/perl-5.8.1/bin/perl
f0543260 110downloads.must_be_filled=1
99b7cef0
TC
111subscriptions.text_link_inline="$1" [$3]
112subscriptions.text_link_list_prefix=X$nX$nXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
00dd8d82
TC
113subscriptions.text_link_list=[$3] '$1'$n => $2
114
115#paths.local_templates=/home/tony/dev/bse/base/altadmin/
41f10371 116
0ec4ac8a 117site.secureadmin=0
4175638b
TC
118
119debug.dump_session=0
3c32512d
TC
120
121bse siteuser images.logo=1
122bse siteuser image logo.description=Your Logo
ab2cd916
TC
123affiliate.subscription_required=affiliatepage
124
b95fc3a0
TC
125editor.allow_thumb=1
126editor.thumbs_class=BSE::Thumb::Imager
6a8a6ac5 127
a5e3fc4b
TC
128default formmail validation.subject_width=40
129
7aa0262a 130test form.fields=email,name,company,select,radio,check,multiselect,testfile
a5e3fc4b 131test form.subject=Foo
7aa0262a 132test form.encrypt=0
6866b8dd 133test form.secure=1
cc53c774
TC
134test form.crypt_signing_id=
135test form.crypt_content_type=1
d44b5da9
TC
136test form.crypt_passphrase=
137test form.email=tony@develop-help.com
cc53c774 138test form.field_config=notes,required_if
0f9b108b 139test form.submit=Send the message
57d988af 140test form.autofill=0
a319d280 141test form.require_logon=0
3b3b82d3 142test form.logon_message=Yo Dude! Logon to submit this form!
8f84f3f1 143test form.title=Some test title
7aa0262a 144;test form.sql=insert test_form_data values(null,?,?,?,?,?,?,?,?)
9c5943b6
TC
145test form.sql_params={userId},email,name,company,select,radio,check,multiselect
146test form.sql_dsn=dbi:mysql:bsetest
147test form.sql_user=bsetest
148test form.sql_password=bsetest
7aa0262a 149test form.send_email=1
a319d280 150#test form.field_config=default
a5e3fc4b 151test formmail validation.name_description=Your Name
cc53c774 152test formmail validation.name_required_if=company
a5e3fc4b 153test formmail validation.name_width=60
0f9b108b
TC
154test formmail validation.name_maxlength=80
155test formmail validation.name_notes=Put your name here
a5e3fc4b 156test formmail validation.company_description=Organization
cc53c774
TC
157test formmail validation.company_required_if=name
158;test formmail validation.select_values==default;1=Hello;2=Goodbye;3=Arivaderchi
159test formmail validation.select_values=test select values:prefix_
d44b5da9 160test formmail validation.select_htmltype=select
cc53c774 161test formmail validation.select_required=1
a319d280 162test formmail validation.select_default=php
d44b5da9
TC
163test formmail validation.radio_htmltype=radio
164test formmail validation.radio_values=Test Radio Values
a319d280 165test formmail validation.radio_default=second
d44b5da9
TC
166test formmail validation.check_htmltype=check
167test formmail validation.check_values=Test Check Values
a319d280 168test formmail validation.check_default=php;cobol
d44b5da9
TC
169test formmail validation.multiselect_htmltype=multiselect
170test formmail validation.multiselect_values=test check values
a319d280 171test formmail validation.multiselect_default=perl;php
7aa0262a 172test formmail validation.testfile_htmltype=file
cae48ae5
TC
173test formmail validation.testfile_maxfilesize=1000
174test formmail validation.testfile_filetoobigmsg=%s Too big dude
d44b5da9
TC
175
176test radio values.first=One
177test radio values.second=Two
178test radio values.third=Three
179
180test check values.perl=Perl
181test check values.php=PHP
182test check values.cobol=COBOL
a5e3fc4b 183
cc53c774
TC
184test select values.prefix_=Select a language
185test select values.prefix_perl=Perl
186test select values.prefix_php=PHP
187test select values.prefix_cobol=COBOL
188
85802bd5 189site.secureadmin=1
5d88571c
TC
190#article defaults.title=<set the article title>
191#article defaults.body=<set the body>
192#product defaults.title=<set the product title>
193#catalog defaults.title=<set the catalog title>
41e7c841 194
99607df0 195shop.cardprocessor=DevHelp::Payments::Test
5d88571c 196#shop.cardprocessor=DevHelp::Payments::Inpho
d44b5da9
TC
197#inpho.user=theowww
198#inpho.password=s1tz^^mD1
199#inpho.test=1
200#inpho.test_url=http://www.develop-help.com/cgi-bin/inphotest.pl
201#inpho.test_user=test
202#inpho.test_password=test
99607df0 203#shop.cardprocessor=DevHelp::Payments::SecurePayXML
d19b7b5c
TC
204securepay xml.testmerchantid=ABC0001
205securepay xml.testpassword=abc123
206securepay xml.test=1
207securepay xml.debug=1
208securepay xml.prefix=BSE
16ac5598
TC
209
210bse location validation.postcode_description=Funky Postcode
718a070d
TC
211
212seminar.locations=1
988d8721
TC
213
214#report total_sales.bse_rights=blah|edit_foo,blah
c2096d67
TC
215
216query groups.1=name starts with t
217query group name starts with t.sql=select id from site_users where id = ? and name1 like "t%"
a319d280
TC
218
219shop.free_products=1
8f84f3f1
TC
220
221body class.link=
222
def1a923
TC
223#body class.p=bsep
224
225popimage.extrawidth = 20
226popimage.extraheight = 20
54c97cf6
TC
227popimage.popmiddle = 0
228
229debug.cache_stats = 1
e806c5d8
TC
230
231siteuser updates.custom1=Import custom1 by userId
232siteuser updates.custom12=Import custom1/2 by id
233siteuser updates.email=Import new email addresses
234
235siteuser update custom1.fields=userId;customStr1
236
237siteuser update custom12.fields=id;customStr1;customStr2
238siteuser update custom12.customStr1_description=MicroSim Status
239siteuser update custom12.customStr2_required=1
240siteuser update custom12.customStr2_description=Correlation code
241
242siteuser update email.fields=id;email
61693c75
TC
243
244search highlight.body_prefix=<i>
245search highlight.body_suffix=</i>
246search highlight.title_prefix=<i>
247search highlight.title_suffix=</i>
4d764c34 248;valid child types.Article=Article,Seminar
2076966c
TC
249
250shop product options.book_flight=Flight Booking;Book a flight;Don't book a flight
441990c0 251;seminars.popup_date_format=%H:%M %d/%m/%Y
4d764c34
TC
252seminars.free_bookings=1
253
254admin group template sets.test=Test Templates
f2bf0d11
TC
255
256html.msentify=1
74b21f6d
TC
257#html.ajaxcharset=1
258html.mbcs=1
5af99440 259html.redirect_links=1
f2bf0d11 260debug.convert_charset=1
74b21f6d 261html.charset=windows-1252
99607df0
TC
262
263popink.payment_email=tony@develop-help.com
264popink.errorsto=tony@develop-help.com
265popink.pop3host=localhost
266popink.pop3user=pop3test
267popink.pop3password=forts51t
268
269includes.99cfg=cfg/
270
271permission full_access.permissions=*
74b21f6d
TC
272
273search index scores.product_code=5
9615cff6
TC
274
275reports.articles=Article titles
276report articles.sql1=select id, title from article
277report articles.sort1=+id;by id;order by 1
278report articles.sort2=-id;by id desc;order by 1 desc
279report articles.sort3=+title;by title asc;order by 2
280report articles.sort4=-title;by title desc;order by 2 desc
281reports.articles2=Article titles2
282report articles2.sql1=select id as "Id", title as "Title", lastModified from article where id >= ? and id <= ?
283report articles2.sql1params=1,2
284
285report articles2.param1=article,Minimum Id
286report articles2.param2=article,Maximum Id
287report articles2.sort1=+id;by id;order by 1
288report articles2.sort2=-id;by id desc;order by 1 desc
289report articles2.sort3=+title;by title asc;order by 2
290report articles2.sort4=-title;by title desc;order by 2 desc
291report articles2.sort5=;by something;order by 1 asc