-
Notifications
You must be signed in to change notification settings - Fork 8
/
config.yml-example
96 lines (87 loc) · 2.98 KB
/
config.yml-example
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
# Linkspace configuration. Also see the files in the "environments"
# directory that extend this configuration.
#
# Your application's name
appname: "Linkspace"
# The default layout to use for your application (located in
# views/layouts/main.tt)
layout: "main"
# when the charset is set to UTF-8 Dancer2 will handle for you
# all the magic of encoding and decoding. You should not care
# about unicode within your app when this setting is set (recommended).
charset: "UTF-8"
# template engine
# simple: default and very basic template engine
# template_toolkit: TT
template: "template_toolkit"
logger: LogReport
session: "YAML"
engines:
session:
YAML:
session_dir: "/tmp/dancer-sessions"
cookie_duration: 3600
cookie_name: linkspace.session
is_secure: 1 # Comment out or remove if using HTTP
gads:
header: "HEADER"
hostlocal: 1 # Whether to fetch files such as jquery.js locally
dateformat: "yyyy-MM-dd" # In CLDR format. Not all options available for datetime picker
email_from: '"Linkspace" <[email protected]>' # Emails are sent from this
aup: 0 # Whether to show an acceptable use policy
login_instance: 1 # The config values used for login page
default_instance: 1 # The default instance on login, if more than one
url: https://example.com/ # Used for URLs in overnight email alerts
# legacy_menu: 0
# aup_accept: I accept these terms # Use to change default accept button
message_prefix: |
This email has been generated and sent from Linkspace. Replies
will be directed to the sender of the message.
user_status: 0 # Whether to show user status on login
user_status_message: |
You must accept that you will treat this system with
respect. And be gentle please.
plugins:
LogReport:
session_messages: [ NOTICE, MISTAKE, WARNING, ERROR, FAULT, ALERT, FAILURE, PANIC ]
DBIC:
default:
dsn: dbi:Pg:database=gads;host=127.0.0.1 # or dbi:mysql:database=dbname;mysql_enable_utf8=1;host=localhost
schema_class: GADS::Schema
user: dbuser
password: dbpass
options:
RaiseError: 1
PrintError: 1
quote_names: 1
# mysql_enable_utf8: 1
Auth::Extensible:
no_default_pages: 1
no_login_handler: 1
record_lastlogin: 1
mailer:
module: Mail::Message
options:
via: sendmail
sendmail_options:
- "-f"
mail_from: '"Linkspace Database" <[email protected]>'
password_reset_text: GADS::reset_text
welcome_text: GADS::welcome_text
realms:
dbic:
provider: DBIC
user_as_object: 1
users_resultset: User
roles_resultset: Permission
user_roles_resultset: UserPermission
roles_role_column: name
roles_key: permission
password_expiry_days: 60
users_pwchanged_column: pwchanged
users_pwresetcode_column: resetpw
encryption_algorithm: SHA-512
user_valid_conditions:
deleted: ~
account_request: 0