-
Notifications
You must be signed in to change notification settings - Fork 4
/
shinycms.conf
203 lines (176 loc) · 5.53 KB
/
shinycms.conf
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
name ShinyCMS
author Will Braswell <[email protected]>
site_name CloudForFree
domain __ENV(DOMAIN)__
email_from [email protected]
site_email [email protected]
upload_dir cms-uploads
default_view HTML
recaptcha_public_key 6Led1LwSAAAAAIrp5XqIB6xgo2cb4tV1rLF_imF9
recaptcha_private_key 6Led1LwSAAAAAI9EMK3XSFUuXHd29drsJD-Ha68P
<Controller::Pages>
# Leading part of URL for front-end CMS pages
# If you change this, you will also need to change the setting below,
# and the PathPart of Controller::Pages::base()
page_prefix pages
</Controller::Pages>
<Controller::Admin::Pages>
# Leading part of URL for front-end CMS pages
# If you change this, you will also need to change the setting above,
# and the PathPart of Controller::Pages::base()
page_prefix pages
# Hide new pages by default (Yes/No)
hide_new_pages No
# Hide new sections by default (Yes/No)
hide_new_sections No
</Controller::Admin::Pages>
<Controller::Blog>
# Default number of blog posts to display per page
posts_per_page 10
</Controller::Blog>
<Controller::Admin::Blog>
# Default to allowing comments or not (Yes/No)
comments_default No
# Hide new posts by default (Yes/No)
hide_new_posts No
</Controller::Admin::Blog>
<Controller::Discussion>
# Lowest user level allowed to post comments (User/Pseudonym/Anonymous)
can_comment User
# Lowest user level allowed to like comments (User/Anonymous)
can_like User
# Notify comment author by email when their comment is replied to
notify_user No
# Notify content author by email when a comment is posted on their content
notify_author No
# Notify site admin by email when a comment is posted on their site
notify_admin No
</Controller::Discussion>
<Controller::Forums>
# Default number of forum posts to display per page
posts_per_page 20
</Controller::Forums>
<Controller::Admin::News>
# Default to allowing comments or not (Yes/No)
comments_default No
# Hide new items by default (Yes/No)
hide_new_items No
</Controller::Admin::News>
<Controller::Shop>
# Default number of items to display per page
items_per_page 10
# Lowest user level allowed to like items (User/Anonymous)
can_like User
# Currency symbol
currency $
</Controller::Shop>
<Controller::Shop::Basket>
# Currency symbol
currency £
</Controller::Shop>
<Controller::Shop::Checkout>
# Currency symbol
currency £
</Controller::Shop>
<Controller::Admin::Shop>
# Default to allowing comments or not (Yes/No)
comments_default No
# Currency symbol
currency $
# Display items in order list
display_items_in_order_list Yes
# Hide new items by default (Yes/No)
hide_new_items No
# Hide new categories by default (Yes/No)
hide_new_categories No
</Controller::Admin::Shop>
<Controller::User>
# Allow users to create accounts?
# SECURITY & Doorman::Auth0: only allow GitHub & Auth0 authenticated sessions register
allow_registration No
# Default to allowing comments on profiles or not (Yes/No)
comments_default No
# Maximum file size for user profile pics, in bytes
profile_pic_file_size 1048576 # 1 MiB
</Controller::User>
<Controller::Admin::User>
# Default to allowing comments on profiles or not (Yes/No)
comments_default No
# Maximum file size for user profile pics, in bytes
profile_pic_file_size 1048576 # 1 MiB
</Controller::Admin::User>
<Controller::PaymentHandler::Subscription::CCBill>
# Verification key to be embedded in URL of postback requests
# e.g. http://example.com/paymenthandler/subscription/ccbill/[key]/success
key op394jq20v378
# Name of access to grant
access Member
</Controller::PaymentHandler::Subscription::CCBill>
<Controller::PaymentHandler::PhysicalGoods::CCBill>
# Verification key to be embedded in URL of postback requests
# e.g. http://example.com/paymenthandler/subscription/ccbill/[key]/success
key op394jq20v378
# Email address to send despatch instructions to
despatch_email [email protected]
</Controller::PaymentHandler::PhysicalGoods::CCBill>
<ccbill-check-access>
account 123456
subacc 0000
username datausr1
password passwrd1
</ccbill-check-access>
<Plugin::Session>
# Session TTL, in seconds (3600=1h, 43200=12h)
expires 43200
</Plugin::Session>
<Model::DB>
schema_class ShinyCMS::Schema
<connect_info>
dsn dbi:mysql:database=cloudforfree_org;host=cff_db
user cloudff_user
password __ENV(DBPASSWORD)__
AutoCommit 1
# Quote SQL in case of reserved words (notably, 'user' and 'order' tables)
quote_char `
# Force MySQL to be more ANSI-compliant
on_connect_call set_strict_mode
</connect_info>
</Model::DB>
<View::HTML>
TEMPLATE_EXTENSION .tt
WRAPPER select-wrapper.tt
render_die 1
# Template caching duration (in seconds)
STAT_TTL 1
</View::HTML>
#<View::Email>
#stash_key email_data
#<default>
#content_type text/plain
#charset utf-8
#</default>
#<sender>
#mailer SMTP
#<mailer_args>
#Host localhost
#</mailer_args>
#</sender>
#</View::Email>
#<View::Email::Template>
#stash_key email_data
#template_prefix emails
#<default>
#content_type text/html
#charset utf-8
#view HTML
#</default>
#<sender>
#mailer SMTP
#<mailer_args>
#Host localhost
#</mailer_args>
#</sender>
#</View::Email::Template>
<Plugin::Static::Simple>
ignore_dirs [ restricted-files ]
</Plugin::Static::Simple>