1 | /* |
---|
2 | * Nimble, an extensive application base for Grails |
---|
3 | * Copyright (C) 2009 Intient Pty Ltd |
---|
4 | * |
---|
5 | * Licensed under the Apache License, Version 2.0 (the "License"); |
---|
6 | * you may not use this file except in compliance with the License. |
---|
7 | * You may obtain a copy of the License at |
---|
8 | * |
---|
9 | * http://www.apache.org/licenses/LICENSE-2.0 |
---|
10 | * |
---|
11 | * Unless required by applicable law or agreed to in writing, software |
---|
12 | * distributed under the License is distributed on an "AS IS" BASIS, |
---|
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
---|
14 | * See the License for the specific language governing permissions and |
---|
15 | * limitations under the License. |
---|
16 | */ |
---|
17 | |
---|
18 | nimble { |
---|
19 | layout { |
---|
20 | // main style template |
---|
21 | application = 'main' |
---|
22 | administration = 'main' |
---|
23 | } |
---|
24 | organization { |
---|
25 | name = "" |
---|
26 | displayname = "" |
---|
27 | description = "" |
---|
28 | logo = "" |
---|
29 | logosmall = "" |
---|
30 | url = "" |
---|
31 | } |
---|
32 | |
---|
33 | localusers { |
---|
34 | authentication { |
---|
35 | enabled = true |
---|
36 | } |
---|
37 | registration { |
---|
38 | enabled = true |
---|
39 | } |
---|
40 | } |
---|
41 | |
---|
42 | facebook { |
---|
43 | federationprovider { |
---|
44 | enabled = false |
---|
45 | autoprovision = false |
---|
46 | } |
---|
47 | |
---|
48 | apikey = "" |
---|
49 | secretkey = "" |
---|
50 | } |
---|
51 | |
---|
52 | openid { |
---|
53 | federationprovider { |
---|
54 | enabled = false |
---|
55 | autoprovision = false |
---|
56 | } |
---|
57 | } |
---|
58 | |
---|
59 | messaging { |
---|
60 | registration { |
---|
61 | subject = "Your new account is ready!" |
---|
62 | } |
---|
63 | passwordreset { |
---|
64 | subject = "Your password has been reset" |
---|
65 | external.subject = "Your password reset request" |
---|
66 | } |
---|
67 | |
---|
68 | mail { |
---|
69 | from = "app <app@company.com>" |
---|
70 | host = "" |
---|
71 | port = 25 |
---|
72 | username = "" |
---|
73 | password = "" |
---|
74 | props = ["mail.smtp.auth": "false", |
---|
75 | "mail.smtp.socketFactory.port": "25", |
---|
76 | "mail.smtp.socketFactory.class": "javax.net.ssl.SSLSocketFactory", |
---|
77 | "mail.smtp.socketFactory.fallback": "false"] |
---|
78 | } |
---|
79 | } |
---|
80 | |
---|
81 | implementation { |
---|
82 | user = "gscf.User" |
---|
83 | profile = "gscf.Profile" |
---|
84 | } |
---|
85 | } |
---|
86 | |
---|
87 | environments { |
---|
88 | development { |
---|
89 | nimble { |
---|
90 | recaptcha { |
---|
91 | enabled = false |
---|
92 | secureapi = false |
---|
93 | |
---|
94 | // These keys are generated by the ReCaptcha service |
---|
95 | publickey = "" |
---|
96 | privatekey = "" |
---|
97 | |
---|
98 | // Include the noscript tags in the generated captcha |
---|
99 | noscript = true |
---|
100 | } |
---|
101 | } |
---|
102 | } |
---|
103 | production { |
---|
104 | nimble { |
---|
105 | recaptcha { |
---|
106 | enabled = false |
---|
107 | secureapi = false |
---|
108 | |
---|
109 | // These keys are generated by the ReCaptcha service |
---|
110 | publickey = "" |
---|
111 | privatekey = "" |
---|
112 | |
---|
113 | // Include the noscript tags in the generated captcha |
---|
114 | noscript = true |
---|
115 | } |
---|
116 | } |
---|
117 | } |
---|
118 | } |
---|