Git repository of Karesansui.
Revision | 65c24944bee81a0044bce38f72307f1844ff4aa7 (tree) |
---|---|
Time | 2011-01-05 12:35:47 |
Author | keisuke fukawa <keisuke@kare...> |
Commiter | keisuke fukawa |
Add SSL port number change method.
@@ -1,14 +1,14 @@ | ||
1 | 1 | # Translations template for PROJECT. |
2 | -# Copyright (C) 2010 ORGANIZATION | |
2 | +# Copyright (C) 2011 ORGANIZATION | |
3 | 3 | # This file is distributed under the same license as the PROJECT project. |
4 | -# FIRST AUTHOR <EMAIL@ADDRESS>, 2010. | |
4 | +# FIRST AUTHOR <EMAIL@ADDRESS>, 2011. | |
5 | 5 | # |
6 | 6 | #, fuzzy |
7 | 7 | msgid "" |
8 | 8 | msgstr "" |
9 | 9 | "Project-Id-Version: PROJECT VERSION\n" |
10 | 10 | "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" |
11 | -"POT-Creation-Date: 2010-12-06 16:32+0900\n" | |
11 | +"POT-Creation-Date: 2011-01-05 12:32+0900\n" | |
12 | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
13 | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
14 | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
@@ -2222,7 +2222,7 @@ msgstr "" | ||
2222 | 2222 | #: /git/karesansui/karesansui/templates/default/hostby1networkstorageby1/hostby1networkstorageby1.input:141 |
2223 | 2223 | #: /git/karesansui/karesansui/templates/default/hostby1networkstorageby1/hostby1networkstorageby1.part:79 |
2224 | 2224 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:51 |
2225 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:129 | |
2225 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:148 | |
2226 | 2226 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.part:36 |
2227 | 2227 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1mail/hostby1settingby1mail.input:22 |
2228 | 2228 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1mail/hostby1settingby1mail.input:47 |
@@ -2245,8 +2245,8 @@ msgstr "" | ||
2245 | 2245 | #: /git/karesansui/karesansui/templates/default/guest/guest.part:253 |
2246 | 2246 | #: /git/karesansui/karesansui/templates/default/host/host.input:122 |
2247 | 2247 | #: /git/karesansui/karesansui/templates/default/host/host.input:148 |
2248 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:125 | |
2249 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:158 | |
2248 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:144 | |
2249 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:180 | |
2250 | 2250 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.part:29 |
2251 | 2251 | #: /git/karesansui/karesansui/templates/default/job/job.html:6 |
2252 | 2252 | #: /git/karesansui/karesansui/templates/default/jobby1/jobby1.part:47 |
@@ -2692,14 +2692,14 @@ msgid "Action Status" | ||
2692 | 2692 | msgstr "" |
2693 | 2693 | |
2694 | 2694 | #: /git/karesansui/karesansui/gadget/hostby1settingby1general.py:75 |
2695 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:137 | |
2696 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:168 | |
2695 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:156 | |
2696 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:190 | |
2697 | 2697 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.part:43 |
2698 | 2698 | msgid "Access Policy" |
2699 | 2699 | msgstr "" |
2700 | 2700 | |
2701 | 2701 | #: /git/karesansui/karesansui/gadget/hostby1settingby1general.py:83 |
2702 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:173 | |
2702 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:195 | |
2703 | 2703 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.part:9 |
2704 | 2704 | msgid "Permit access from same network" |
2705 | 2705 | msgstr "" |
@@ -2712,7 +2712,7 @@ msgstr "" | ||
2712 | 2712 | #: /git/karesansui/karesansui/gadget/hostby1settingby1general.py:94 |
2713 | 2713 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:67 |
2714 | 2714 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:78 |
2715 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:175 | |
2715 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:197 | |
2716 | 2716 | msgid "Permit access from specified IP address" |
2717 | 2717 | msgstr "" |
2718 | 2718 |
@@ -2722,11 +2722,19 @@ msgid "Permit specified IP address" | ||
2722 | 2722 | msgstr "" |
2723 | 2723 | |
2724 | 2724 | #: /git/karesansui/karesansui/gadget/hostby1settingby1general.py:113 |
2725 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:141 | |
2726 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:180 | |
2725 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:160 | |
2726 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:202 | |
2727 | 2727 | msgid "SSL Settings" |
2728 | 2728 | msgstr "" |
2729 | 2729 | |
2730 | +#: /git/karesansui/karesansui/gadget/hostby1settingby1general.py:117 | |
2731 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:89 | |
2732 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:164 | |
2733 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:211 | |
2734 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.part:65 | |
2735 | +msgid "SSL Port Number" | |
2736 | +msgstr "" | |
2737 | + | |
2730 | 2738 | #: /git/karesansui/karesansui/gadget/hostby1settingby1mail.py:37 |
2731 | 2739 | #: /git/karesansui/karesansui/gadget/hostby1settingby1mail.py:39 |
2732 | 2740 | #: /git/karesansui/karesansui/gadget/hostby1settingby1mail.py:43 |
@@ -4261,7 +4269,7 @@ msgstr "" | ||
4261 | 4269 | #: /git/karesansui/karesansui/templates/default/hostby1networkstorageby1/hostby1networkstorageby1.input:45 |
4262 | 4270 | #: /git/karesansui/karesansui/templates/default/hostby1report/hostby1report.part:32 |
4263 | 4271 | #: /git/karesansui/karesansui/templates/default/hostby1reportby1/hostby1reportby1.part:55 |
4264 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:86 | |
4272 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:96 | |
4265 | 4273 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1mail/hostby1settingby1mail.input:28 |
4266 | 4274 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1ntp/hostby1settingby1ntp.input:28 |
4267 | 4275 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1proxy/hostby1settingby1proxy.input:53 |
@@ -4542,10 +4550,11 @@ msgstr "" | ||
4542 | 4550 | #: /git/karesansui/karesansui/templates/default/hostby1networkstorage/hostby1networkstorage.input:151 |
4543 | 4551 | #: /git/karesansui/karesansui/templates/default/hostby1networkstorageby1/hostby1networkstorageby1.input:163 |
4544 | 4552 | #: /git/karesansui/karesansui/templates/default/hostby1networkstorageby1/hostby1networkstorageby1.input:169 |
4545 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:160 | |
4546 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:165 | |
4547 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:176 | |
4548 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:177 | |
4553 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:182 | |
4554 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:187 | |
4555 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:198 | |
4556 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:199 | |
4557 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:213 | |
4549 | 4558 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1mail/hostby1settingby1mail.input:68 |
4550 | 4559 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1mail/hostby1settingby1mail.input:73 |
4551 | 4560 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1ntp/hostby1settingby1ntp.input:55 |
@@ -5008,7 +5017,7 @@ msgstr "" | ||
5008 | 5017 | #: /git/karesansui/karesansui/templates/default/hostby1networksettings/hostby1networksettings.part:144 |
5009 | 5018 | #: /git/karesansui/karesansui/templates/default/hostby1networkstorage/hostby1networkstorage.part:192 |
5010 | 5019 | #: /git/karesansui/karesansui/templates/default/hostby1networkstorageby1/hostby1networkstorageby1.input:187 |
5011 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:188 | |
5020 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:219 | |
5012 | 5021 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1mail/hostby1settingby1mail.input:81 |
5013 | 5022 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1proxy/hostby1settingby1proxy.input:146 |
5014 | 5023 | #: /git/karesansui/karesansui/templates/default/hostby1staticrouteby1/hostby1staticrouteby1.input:115 |
@@ -5637,7 +5646,7 @@ msgid "" | ||
5637 | 5646 | msgstr "" |
5638 | 5647 | |
5639 | 5648 | #: /git/karesansui/karesansui/templates/default/host/host.input:123 |
5640 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:126 | |
5649 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:145 | |
5641 | 5650 | msgid "" |
5642 | 5651 | "A unique ID to distinguish each host when using Karesansui in multi-host " |
5643 | 5652 | "configuration. Should be a unique value between all hosts and guests. " |
@@ -6508,11 +6517,11 @@ msgstr "" | ||
6508 | 6517 | msgid "NTP Settings" |
6509 | 6518 | msgstr "" |
6510 | 6519 | |
6511 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:134 | |
6520 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:153 | |
6512 | 6521 | msgid "A listen port number for Karesansui web control panel." |
6513 | 6522 | msgstr "" |
6514 | 6523 | |
6515 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:138 | |
6524 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:157 | |
6516 | 6525 | msgid "" |
6517 | 6526 | "Access policy for Karesansui control panel. You may allow access from " |
6518 | 6527 | "specified IP address or network. To \\\"Permit access from same " |
@@ -6522,24 +6531,28 @@ msgid "" | ||
6522 | 6531 | "restart lighttpd via .\\\"Management\\\" - \\\"Service\\\" panel." |
6523 | 6532 | msgstr "" |
6524 | 6533 | |
6525 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:142 | |
6534 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:161 | |
6526 | 6535 | msgid "Settings to enable/disable SSL for Karesansui control panel." |
6527 | 6536 | msgstr "" |
6528 | 6537 | |
6529 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:152 | |
6538 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:165 | |
6539 | +msgid "A listen port number of SSL for Karesansui control panel." | |
6540 | +msgstr "" | |
6541 | + | |
6542 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:174 | |
6530 | 6543 | msgid "Edit Server Settings" |
6531 | 6544 | msgstr "" |
6532 | 6545 | |
6533 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:163 | |
6546 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:185 | |
6534 | 6547 | msgid "Karesansui Port Number" |
6535 | 6548 | msgstr "" |
6536 | 6549 | |
6537 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:171 | |
6550 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:193 | |
6538 | 6551 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.part:16 |
6539 | 6552 | msgid "Permit access from all" |
6540 | 6553 | msgstr "" |
6541 | 6554 | |
6542 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:182 | |
6555 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:205 | |
6543 | 6556 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.part:19 |
6544 | 6557 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1proxy/hostby1settingby1proxy.input:7 |
6545 | 6558 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1proxy/hostby1settingby1proxy.input:115 |
@@ -6549,7 +6562,7 @@ msgstr "" | ||
6549 | 6562 | msgid "Use" |
6550 | 6563 | msgstr "" |
6551 | 6564 | |
6552 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:183 | |
6565 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:207 | |
6553 | 6566 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1proxy/hostby1settingby1proxy.input:117 |
6554 | 6567 | msgid "Not use" |
6555 | 6568 | msgstr "" |
@@ -27,7 +27,7 @@ from karesansui.lib.const import LIGHTTPD_COMMAND_UPDATE_CONFIG,\ | ||
27 | 27 | LIGHTTPD_CONF_TEMP_DIR, LIGHTTPD_PORT_CONFIG,\ |
28 | 28 | LIGHTTPD_ACCESS_CONFIG, LIGHTTPD_SSL_CONFIG,\ |
29 | 29 | LIGHTTPD_DEFAULT_PORT, PORT_MIN_NUMBER, PORT_MAX_NUMBER, \ |
30 | - PROXY_ENABLE, PROXY_DISABLE | |
30 | + PROXY_ENABLE, PROXY_DISABLE, LIGHTTPD_DEFAULT_SSL_PORT | |
31 | 31 | from karesansui.lib.utils import get_no_overlap_list, is_param, is_empty, \ |
32 | 32 | uniq_filename |
33 | 33 | from karesansui.lib.checker import Checker, \ |
@@ -113,7 +113,14 @@ def validates_server(obj): | ||
113 | 113 | checker.add_error(_('"%s" is required.') % _('SSL Settings')) |
114 | 114 | else: |
115 | 115 | if obj.input.ssl_status == 'enable': |
116 | - check = True and check | |
116 | + check = checker.check_number( | |
117 | + _('SSL Port Number'), | |
118 | + obj.input.ssl_port, | |
119 | + CHECK_EMPTY | CHECK_VALID | CHECK_MIN | CHECK_MAX, | |
120 | + PORT_MIN_NUMBER, | |
121 | + PORT_MAX_NUMBER, | |
122 | + ) and check | |
123 | + | |
117 | 124 | elif obj.input.ssl_status == 'disable': |
118 | 125 | check = True and check |
119 | 126 | else: |
@@ -136,6 +143,10 @@ def get_view_server_conf(config): | ||
136 | 143 | conf_file = config['lighttpd.etc.dir'] + '/' + LIGHTTPD_SSL_CONFIG |
137 | 144 | ssl_conf = LighttpdSslConf(conf_file) |
138 | 145 | ssl_status = ssl_conf.read() |
146 | + if ssl_status["port"]: | |
147 | + ssl_port = ssl_status["port"] | |
148 | + else: | |
149 | + ssl_port = LIGHTTPD_DEFAULT_SSL_PORT | |
139 | 150 | |
140 | 151 | except IOError: |
141 | 152 | raise KaresansuiGadgetException('Failed to read configuration file. - %s' %\ |
@@ -144,10 +155,11 @@ def get_view_server_conf(config): | ||
144 | 155 | uniqkey = config['application.uniqkey'] |
145 | 156 | |
146 | 157 | server_config = { |
147 | - 'uniqkey' : uniqkey, | |
148 | - 'port' : port_number, | |
158 | + 'uniqkey' : uniqkey, | |
159 | + 'port' : port_number, | |
149 | 160 | 'access' : access_list, |
150 | 161 | 'ssl_status' : ssl_status["status"], |
162 | + 'ssl_port' : ssl_port, | |
151 | 163 | } |
152 | 164 | |
153 | 165 | return server_config |
@@ -197,10 +209,10 @@ def set_server_conf(config, input, session): | ||
197 | 209 | for key in ('port', 'access', 'ssl'): |
198 | 210 | if not tmp_file_names.has_key(key): |
199 | 211 | raise KaresansuiGadgetException( |
200 | - 'Failed to make temporary file for %s' , key) | |
201 | - elif os.path.isfile(tmp_file_names[key]) is False: | |
202 | - raise KaresansuiGadgetException( | |
203 | - 'Not exist temporary file for %s' , key) | |
212 | + 'Failed to make temporary file for %s' , key) | |
213 | + elif os.path.isfile(tmp_file_names[key]) is False: | |
214 | + raise KaresansuiGadgetException( | |
215 | + 'Not exist temporary file for %s' , key) | |
204 | 216 | |
205 | 217 | return tmp_file_names |
206 | 218 |
@@ -185,6 +185,7 @@ LIGHTTPD_COMMAND_UPDATE_CONFIG = "apply_lighttpdconf.py" | ||
185 | 185 | LIGHTTPD_CONF_TEMP_DIR = KARESANSUI_TMP_DIR + "/lighttpd" |
186 | 186 | LIGHTTPD_DEFAULT_PORT = 80 |
187 | 187 | LIGHTTPD_DEFAULT_SSL = "disable" |
188 | +LIGHTTPD_DEFAULT_SSL_PORT = 443 | |
188 | 189 | LIGHTTPD_DEFAULT_ACCESS = "all" |
189 | 190 | LIGHTTPD_PORT_CONFIG = "port.conf" |
190 | 191 | LIGHTTPD_ACCESS_CONFIG = "access.conf" |
@@ -97,7 +97,7 @@ class LighttpdSslConf(LighttpdConfig): | ||
97 | 97 | tmpl = TemplateLookup(directories = config['application.generate.dir'], |
98 | 98 | output_encoding='utf-8', input_encoding='utf-8') |
99 | 99 | template = tmpl.get_template('/ssl_conf.tmpl') |
100 | - f.write(template.render(ssl_status = data.ssl_status)) | |
100 | + f.write(template.render(ssl_status = data.ssl_status, ssl_port = data.ssl_port)) | |
101 | 101 | |
102 | 102 | class LighttpdAccessConf(LighttpdConfig): |
103 | 103 |
@@ -9,7 +9,7 @@ msgstr "" | ||
9 | 9 | "Project-Id-Version: PROJECT VERSION\n" |
10 | 10 | "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" |
11 | 11 | "POT-Creation-Date: 2010-07-22 11:08+0900\n" |
12 | -"PO-Revision-Date: 2010-12-06 16:37+0900\n" | |
12 | +"PO-Revision-Date: 2011-01-05 12:34+0900\n" | |
13 | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
14 | 14 | "Language-Team: en <LL@li.org>\n" |
15 | 15 | "Plural-Forms: nplurals=2; plural=(n != 1)\n" |
@@ -2223,7 +2223,7 @@ msgstr "" | ||
2223 | 2223 | #: /git/karesansui/karesansui/templates/default/hostby1networkstorageby1/hostby1networkstorageby1.input:141 |
2224 | 2224 | #: /git/karesansui/karesansui/templates/default/hostby1networkstorageby1/hostby1networkstorageby1.part:79 |
2225 | 2225 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:51 |
2226 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:129 | |
2226 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:148 | |
2227 | 2227 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.part:36 |
2228 | 2228 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1mail/hostby1settingby1mail.input:22 |
2229 | 2229 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1mail/hostby1settingby1mail.input:47 |
@@ -2246,8 +2246,8 @@ msgstr "" | ||
2246 | 2246 | #: /git/karesansui/karesansui/templates/default/guest/guest.part:253 |
2247 | 2247 | #: /git/karesansui/karesansui/templates/default/host/host.input:122 |
2248 | 2248 | #: /git/karesansui/karesansui/templates/default/host/host.input:148 |
2249 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:125 | |
2250 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:158 | |
2249 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:144 | |
2250 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:180 | |
2251 | 2251 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.part:29 |
2252 | 2252 | #: /git/karesansui/karesansui/templates/default/job/job.html:6 |
2253 | 2253 | #: /git/karesansui/karesansui/templates/default/jobby1/jobby1.part:47 |
@@ -2693,14 +2693,14 @@ msgid "Action Status" | ||
2693 | 2693 | msgstr "" |
2694 | 2694 | |
2695 | 2695 | #: /git/karesansui/karesansui/gadget/hostby1settingby1general.py:75 |
2696 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:137 | |
2697 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:168 | |
2696 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:156 | |
2697 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:190 | |
2698 | 2698 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.part:43 |
2699 | 2699 | msgid "Access Policy" |
2700 | 2700 | msgstr "" |
2701 | 2701 | |
2702 | 2702 | #: /git/karesansui/karesansui/gadget/hostby1settingby1general.py:83 |
2703 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:173 | |
2703 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:195 | |
2704 | 2704 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.part:9 |
2705 | 2705 | msgid "Permit access from same network" |
2706 | 2706 | msgstr "" |
@@ -2713,7 +2713,7 @@ msgstr "" | ||
2713 | 2713 | #: /git/karesansui/karesansui/gadget/hostby1settingby1general.py:94 |
2714 | 2714 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:67 |
2715 | 2715 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:78 |
2716 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:175 | |
2716 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:197 | |
2717 | 2717 | msgid "Permit access from specified IP address" |
2718 | 2718 | msgstr "" |
2719 | 2719 |
@@ -2723,11 +2723,19 @@ msgid "Permit specified IP address" | ||
2723 | 2723 | msgstr "" |
2724 | 2724 | |
2725 | 2725 | #: /git/karesansui/karesansui/gadget/hostby1settingby1general.py:113 |
2726 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:141 | |
2727 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:180 | |
2726 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:160 | |
2727 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:202 | |
2728 | 2728 | msgid "SSL Settings" |
2729 | 2729 | msgstr "" |
2730 | 2730 | |
2731 | +#: /git/karesansui/karesansui/gadget/hostby1settingby1general.py:117 | |
2732 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:89 | |
2733 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:164 | |
2734 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:211 | |
2735 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.part:65 | |
2736 | +msgid "SSL Port Number" | |
2737 | +msgstr "" | |
2738 | + | |
2731 | 2739 | #: /git/karesansui/karesansui/gadget/hostby1settingby1mail.py:37 |
2732 | 2740 | #: /git/karesansui/karesansui/gadget/hostby1settingby1mail.py:39 |
2733 | 2741 | #: /git/karesansui/karesansui/gadget/hostby1settingby1mail.py:43 |
@@ -4262,7 +4270,7 @@ msgstr "" | ||
4262 | 4270 | #: /git/karesansui/karesansui/templates/default/hostby1networkstorageby1/hostby1networkstorageby1.input:45 |
4263 | 4271 | #: /git/karesansui/karesansui/templates/default/hostby1report/hostby1report.part:32 |
4264 | 4272 | #: /git/karesansui/karesansui/templates/default/hostby1reportby1/hostby1reportby1.part:55 |
4265 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:86 | |
4273 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:96 | |
4266 | 4274 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1mail/hostby1settingby1mail.input:28 |
4267 | 4275 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1ntp/hostby1settingby1ntp.input:28 |
4268 | 4276 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1proxy/hostby1settingby1proxy.input:53 |
@@ -4544,10 +4552,11 @@ msgstr "" | ||
4544 | 4552 | #: /git/karesansui/karesansui/templates/default/hostby1networkstorage/hostby1networkstorage.input:151 |
4545 | 4553 | #: /git/karesansui/karesansui/templates/default/hostby1networkstorageby1/hostby1networkstorageby1.input:163 |
4546 | 4554 | #: /git/karesansui/karesansui/templates/default/hostby1networkstorageby1/hostby1networkstorageby1.input:169 |
4547 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:160 | |
4548 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:165 | |
4549 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:176 | |
4550 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:177 | |
4555 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:182 | |
4556 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:187 | |
4557 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:198 | |
4558 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:199 | |
4559 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:213 | |
4551 | 4560 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1mail/hostby1settingby1mail.input:68 |
4552 | 4561 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1mail/hostby1settingby1mail.input:73 |
4553 | 4562 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1ntp/hostby1settingby1ntp.input:55 |
@@ -5010,7 +5019,7 @@ msgstr "" | ||
5010 | 5019 | #: /git/karesansui/karesansui/templates/default/hostby1networksettings/hostby1networksettings.part:144 |
5011 | 5020 | #: /git/karesansui/karesansui/templates/default/hostby1networkstorage/hostby1networkstorage.part:192 |
5012 | 5021 | #: /git/karesansui/karesansui/templates/default/hostby1networkstorageby1/hostby1networkstorageby1.input:187 |
5013 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:188 | |
5022 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:219 | |
5014 | 5023 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1mail/hostby1settingby1mail.input:81 |
5015 | 5024 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1proxy/hostby1settingby1proxy.input:146 |
5016 | 5025 | #: /git/karesansui/karesansui/templates/default/hostby1staticrouteby1/hostby1staticrouteby1.input:115 |
@@ -5639,7 +5648,7 @@ msgid "" | ||
5639 | 5648 | msgstr "" |
5640 | 5649 | |
5641 | 5650 | #: /git/karesansui/karesansui/templates/default/host/host.input:123 |
5642 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:126 | |
5651 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:145 | |
5643 | 5652 | msgid "" |
5644 | 5653 | "A unique ID to distinguish each host when using Karesansui in multi-host " |
5645 | 5654 | "configuration. Should be a unique value between all hosts and guests. " |
@@ -6510,11 +6519,11 @@ msgstr "" | ||
6510 | 6519 | msgid "NTP Settings" |
6511 | 6520 | msgstr "" |
6512 | 6521 | |
6513 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:134 | |
6522 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:153 | |
6514 | 6523 | msgid "A listen port number for Karesansui web control panel." |
6515 | 6524 | msgstr "" |
6516 | 6525 | |
6517 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:138 | |
6526 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:157 | |
6518 | 6527 | msgid "" |
6519 | 6528 | "Access policy for Karesansui control panel. You may allow access from " |
6520 | 6529 | "specified IP address or network. To \\\"Permit access from same " |
@@ -6524,24 +6533,28 @@ msgid "" | ||
6524 | 6533 | "restart lighttpd via .\\\"Management\\\" - \\\"Service\\\" panel." |
6525 | 6534 | msgstr "" |
6526 | 6535 | |
6527 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:142 | |
6536 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:161 | |
6528 | 6537 | msgid "Settings to enable/disable SSL for Karesansui control panel." |
6529 | 6538 | msgstr "" |
6530 | 6539 | |
6531 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:152 | |
6540 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:165 | |
6541 | +msgid "A listen port number of SSL for Karesansui control panel." | |
6542 | +msgstr "" | |
6543 | + | |
6544 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:174 | |
6532 | 6545 | msgid "Edit Server Settings" |
6533 | 6546 | msgstr "" |
6534 | 6547 | |
6535 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:163 | |
6548 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:185 | |
6536 | 6549 | msgid "Karesansui Port Number" |
6537 | 6550 | msgstr "" |
6538 | 6551 | |
6539 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:171 | |
6552 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:193 | |
6540 | 6553 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.part:16 |
6541 | 6554 | msgid "Permit access from all" |
6542 | 6555 | msgstr "" |
6543 | 6556 | |
6544 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:182 | |
6557 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:205 | |
6545 | 6558 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.part:19 |
6546 | 6559 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1proxy/hostby1settingby1proxy.input:7 |
6547 | 6560 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1proxy/hostby1settingby1proxy.input:115 |
@@ -6551,7 +6564,7 @@ msgstr "" | ||
6551 | 6564 | msgid "Use" |
6552 | 6565 | msgstr "" |
6553 | 6566 | |
6554 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:183 | |
6567 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:207 | |
6555 | 6568 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1proxy/hostby1settingby1proxy.input:117 |
6556 | 6569 | msgid "Not use" |
6557 | 6570 | msgstr "" |
@@ -7,7 +7,7 @@ msgstr "" | ||
7 | 7 | "Project-Id-Version: Karesansui VERSION\n" |
8 | 8 | "Report-Msgid-Bugs-To: EMAIL@karesansui-project.info\n" |
9 | 9 | "POT-Creation-Date: 2010-07-22 14:36+0900\n" |
10 | -"PO-Revision-Date: 2010-12-06 16:37+0900\n" | |
10 | +"PO-Revision-Date: 2011-01-05 12:34+0900\n" | |
11 | 11 | "Last-Translator: Kazuhiro Ogura <EMAIL@ADDRESS>\n" |
12 | 12 | "Language-Team: ja <LL@li.org>\n" |
13 | 13 | "Plural-Forms: nplurals=1; plural=0\n" |
@@ -2221,7 +2221,7 @@ msgstr "%sにコロン(:)が入りすぎています。" | ||
2221 | 2221 | #: /git/karesansui/karesansui/templates/default/hostby1networkstorageby1/hostby1networkstorageby1.input:141 |
2222 | 2222 | #: /git/karesansui/karesansui/templates/default/hostby1networkstorageby1/hostby1networkstorageby1.part:79 |
2223 | 2223 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:51 |
2224 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:129 | |
2224 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:148 | |
2225 | 2225 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.part:36 |
2226 | 2226 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1mail/hostby1settingby1mail.input:22 |
2227 | 2227 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1mail/hostby1settingby1mail.input:47 |
@@ -2244,8 +2244,8 @@ msgstr "ポート番号" | ||
2244 | 2244 | #: /git/karesansui/karesansui/templates/default/guest/guest.part:253 |
2245 | 2245 | #: /git/karesansui/karesansui/templates/default/host/host.input:122 |
2246 | 2246 | #: /git/karesansui/karesansui/templates/default/host/host.input:148 |
2247 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:125 | |
2248 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:158 | |
2247 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:144 | |
2248 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:180 | |
2249 | 2249 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.part:29 |
2250 | 2250 | #: /git/karesansui/karesansui/templates/default/job/job.html:6 |
2251 | 2251 | #: /git/karesansui/karesansui/templates/default/jobby1/jobby1.part:47 |
@@ -2691,14 +2691,14 @@ msgid "Action Status" | ||
2691 | 2691 | msgstr "アクションステータス" |
2692 | 2692 | |
2693 | 2693 | #: /git/karesansui/karesansui/gadget/hostby1settingby1general.py:75 |
2694 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:137 | |
2695 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:168 | |
2694 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:156 | |
2695 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:190 | |
2696 | 2696 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.part:43 |
2697 | 2697 | msgid "Access Policy" |
2698 | 2698 | msgstr "アクセスポリシー" |
2699 | 2699 | |
2700 | 2700 | #: /git/karesansui/karesansui/gadget/hostby1settingby1general.py:83 |
2701 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:173 | |
2701 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:195 | |
2702 | 2702 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.part:9 |
2703 | 2703 | msgid "Permit access from same network" |
2704 | 2704 | msgstr "同一ネットワークを許可" |
@@ -2711,7 +2711,7 @@ msgstr "同一ネットワークを許可" | ||
2711 | 2711 | #: /git/karesansui/karesansui/gadget/hostby1settingby1general.py:94 |
2712 | 2712 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:67 |
2713 | 2713 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:78 |
2714 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:175 | |
2714 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:197 | |
2715 | 2715 | msgid "Permit access from specified IP address" |
2716 | 2716 | msgstr "特定のIPアドレスを許可" |
2717 | 2717 |
@@ -2721,11 +2721,19 @@ msgid "Permit specified IP address" | ||
2721 | 2721 | msgstr "特定のIPアドレスを許可" |
2722 | 2722 | |
2723 | 2723 | #: /git/karesansui/karesansui/gadget/hostby1settingby1general.py:113 |
2724 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:141 | |
2725 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:180 | |
2724 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:160 | |
2725 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:202 | |
2726 | 2726 | msgid "SSL Settings" |
2727 | 2727 | msgstr "SSL設定" |
2728 | 2728 | |
2729 | +#: /git/karesansui/karesansui/gadget/hostby1settingby1general.py:117 | |
2730 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:89 | |
2731 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:164 | |
2732 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:211 | |
2733 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.part:65 | |
2734 | +msgid "SSL Port Number" | |
2735 | +msgstr "SSLポート番号" | |
2736 | + | |
2729 | 2737 | #: /git/karesansui/karesansui/gadget/hostby1settingby1mail.py:37 |
2730 | 2738 | #: /git/karesansui/karesansui/gadget/hostby1settingby1mail.py:39 |
2731 | 2739 | #: /git/karesansui/karesansui/gadget/hostby1settingby1mail.py:43 |
@@ -4264,7 +4272,7 @@ msgstr "ドメインID" | ||
4264 | 4272 | #: /git/karesansui/karesansui/templates/default/hostby1networkstorageby1/hostby1networkstorageby1.input:45 |
4265 | 4273 | #: /git/karesansui/karesansui/templates/default/hostby1report/hostby1report.part:32 |
4266 | 4274 | #: /git/karesansui/karesansui/templates/default/hostby1reportby1/hostby1reportby1.part:55 |
4267 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:86 | |
4275 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:96 | |
4268 | 4276 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1mail/hostby1settingby1mail.input:28 |
4269 | 4277 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1ntp/hostby1settingby1ntp.input:28 |
4270 | 4278 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1proxy/hostby1settingby1proxy.input:53 |
@@ -4556,10 +4564,11 @@ msgstr "ゲスト作成" | ||
4556 | 4564 | #: /git/karesansui/karesansui/templates/default/hostby1networkstorage/hostby1networkstorage.input:151 |
4557 | 4565 | #: /git/karesansui/karesansui/templates/default/hostby1networkstorageby1/hostby1networkstorageby1.input:163 |
4558 | 4566 | #: /git/karesansui/karesansui/templates/default/hostby1networkstorageby1/hostby1networkstorageby1.input:169 |
4559 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:160 | |
4560 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:165 | |
4561 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:176 | |
4562 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:177 | |
4567 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:182 | |
4568 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:187 | |
4569 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:198 | |
4570 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:199 | |
4571 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:213 | |
4563 | 4572 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1mail/hostby1settingby1mail.input:68 |
4564 | 4573 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1mail/hostby1settingby1mail.input:73 |
4565 | 4574 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1ntp/hostby1settingby1ntp.input:55 |
@@ -5022,7 +5031,7 @@ msgstr "エクスポート" | ||
5022 | 5031 | #: /git/karesansui/karesansui/templates/default/hostby1networksettings/hostby1networksettings.part:144 |
5023 | 5032 | #: /git/karesansui/karesansui/templates/default/hostby1networkstorage/hostby1networkstorage.part:192 |
5024 | 5033 | #: /git/karesansui/karesansui/templates/default/hostby1networkstorageby1/hostby1networkstorageby1.input:187 |
5025 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:188 | |
5034 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:219 | |
5026 | 5035 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1mail/hostby1settingby1mail.input:81 |
5027 | 5036 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1proxy/hostby1settingby1proxy.input:146 |
5028 | 5037 | #: /git/karesansui/karesansui/templates/default/hostby1staticrouteby1/hostby1staticrouteby1.input:115 |
@@ -5653,7 +5662,7 @@ msgid "" | ||
5653 | 5662 | msgstr "ホストにつけるタグです。一覧表示画面でタグを使った絞り込みを行うことができます(将来のバージョンで実現予定)。全角/半角文字、記号を使うことができます。複数のタグを登録するときはカンマ(,)で区切ってください。" |
5654 | 5663 | |
5655 | 5664 | #: /git/karesansui/karesansui/templates/default/host/host.input:123 |
5656 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:126 | |
5665 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:145 | |
5657 | 5666 | msgid "" |
5658 | 5667 | "A unique ID to distinguish each host when using Karesansui in multi-host " |
5659 | 5668 | "configuration. Should be a unique value between all hosts and guests. " |
@@ -6526,11 +6535,11 @@ msgstr "メール設定" | ||
6526 | 6535 | msgid "NTP Settings" |
6527 | 6536 | msgstr "NTP設定" |
6528 | 6537 | |
6529 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:134 | |
6538 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:153 | |
6530 | 6539 | msgid "A listen port number for Karesansui web control panel." |
6531 | 6540 | msgstr "Karesansuiの管理画面(HTTP)の待受ポート番号です。" |
6532 | 6541 | |
6533 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:138 | |
6542 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:157 | |
6534 | 6543 | msgid "" |
6535 | 6544 | "Access policy for Karesansui control panel. You may allow access from " |
6536 | 6545 | "specified IP address or network. To \\\"Permit access from same " |
@@ -6540,24 +6549,28 @@ msgid "" | ||
6540 | 6549 | "restart lighttpd via .\\\"Management\\\" - \\\"Service\\\" panel." |
6541 | 6550 | msgstr "Karesansui管理画面へのアクセスを制御するためのアクセスポリシーです。特定のネットワークやIPアドレスからのみのアクセス許可などが行えます。同一ネットワークを許可」では1つのネットワークをCIDR表記(例:192.168.0.0/24)で指定してください。特定のIPアドレスを許可」で複数のIPアドレスをしたい場合、それぞれのIPアドレスを改行区切りで指定してください。設定完了後は「管理」-「サービス」からlighttpdの再起動を行ってください。" |
6542 | 6551 | |
6543 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:142 | |
6552 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:161 | |
6544 | 6553 | msgid "Settings to enable/disable SSL for Karesansui control panel." |
6545 | 6554 | msgstr "Karesansuiの管理画面へのSSL接続を有効にするか否かを設定します。" |
6546 | 6555 | |
6547 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:152 | |
6556 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:165 | |
6557 | +msgid "A listen port number of SSL for Karesansui control panel." | |
6558 | +msgstr "Karesansuiの管理画面(HTTPS)の待受ポート番号です。" | |
6559 | + | |
6560 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:174 | |
6548 | 6561 | msgid "Edit Server Settings" |
6549 | 6562 | msgstr "サーバー設定" |
6550 | 6563 | |
6551 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:163 | |
6564 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:185 | |
6552 | 6565 | msgid "Karesansui Port Number" |
6553 | 6566 | msgstr "ポート番号" |
6554 | 6567 | |
6555 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:171 | |
6568 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:193 | |
6556 | 6569 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.part:16 |
6557 | 6570 | msgid "Permit access from all" |
6558 | 6571 | msgstr "全て許可" |
6559 | 6572 | |
6560 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:182 | |
6573 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:205 | |
6561 | 6574 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.part:19 |
6562 | 6575 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1proxy/hostby1settingby1proxy.input:7 |
6563 | 6576 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1proxy/hostby1settingby1proxy.input:115 |
@@ -6567,7 +6580,7 @@ msgstr "全て許可" | ||
6567 | 6580 | msgid "Use" |
6568 | 6581 | msgstr "使用" |
6569 | 6582 | |
6570 | -#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:183 | |
6583 | +#: /git/karesansui/karesansui/templates/default/hostby1settingby1general/hostby1settingby1general.input:207 | |
6571 | 6584 | #: /git/karesansui/karesansui/templates/default/hostby1settingby1proxy/hostby1settingby1proxy.input:117 |
6572 | 6585 | msgid "Not use" |
6573 | 6586 | msgstr "未使用" |
@@ -1,5 +1,5 @@ | ||
1 | 1 | % if ssl_status == "enable": |
2 | -$SERVER["socket"] == ":443" { | |
2 | +$SERVER["socket"] == ":${ssl_port}" { | |
3 | 3 | ssl.engine = "enable" |
4 | 4 | ssl.pemfile = "/etc/opt/hde/lighttpd/ssl/server.pem" |
5 | 5 | server.document-root = "/opt/hde/www" |
@@ -82,6 +82,16 @@ function validates_server(){ | ||
82 | 82 | } |
83 | 83 | } |
84 | 84 | |
85 | + if($(":input[name='ssl_status']:checked").val() == 'enable'){ | |
86 | + check = check_number( | |
87 | + $("#ssl_port"), | |
88 | + CHECK_EMPTY | CHECK_VALID | CHECK_MIN | CHECK_MAX, | |
89 | + "${_('SSL Port Number')}", | |
90 | + PORT_MIN_NUMBER, | |
91 | + PORT_MAX_NUMBER | |
92 | + ) && check; | |
93 | + } | |
94 | + | |
85 | 95 | if(!check){ |
86 | 96 | show_alert_msg("${_('Please input correct value.')}\n" + ERROR_MSG); |
87 | 97 | } |
@@ -109,9 +119,18 @@ function showswitch_proxy_setting(proxy_status){ | ||
109 | 119 | } |
110 | 120 | } |
111 | 121 | |
122 | +function showswitch_ssl_setting(ssl_status){ | |
123 | + if(ssl_status == "enable"){ | |
124 | + $("#ssl_port_setting").show(); | |
125 | + }else if(ssl_status == "disable"){ | |
126 | + $("#ssl_port_setting").hide(); | |
127 | + } | |
128 | +} | |
129 | + | |
112 | 130 | $(document).ready(function(){ |
113 | 131 | showswitch_access_policy($(":input[name='access']:checked").val()); |
114 | 132 | showswitch_proxy_setting($(":input[name='proxy_status']:checked").val()); |
133 | + showswitch_ssl_setting($(":input[name='ssl_status']:checked").val()); | |
115 | 134 | |
116 | 135 | ajax_put_event( |
117 | 136 | "#server_setting_button", |
@@ -141,6 +160,9 @@ $(document).ready(function(){ | ||
141 | 160 | "${_('SSL Settings')}", |
142 | 161 | "${_("Settings to enable/disable SSL for Karesansui control panel.")}"); |
143 | 162 | |
163 | + helptip("#ssl_port_help", | |
164 | + "${_('SSL Port Number')}", | |
165 | + "${_("A listen port number of SSL for Karesansui control panel.")}"); | |
144 | 166 | }); |
145 | 167 | |
146 | 168 | // --> |
@@ -179,8 +201,17 @@ $(document).ready(function(){ | ||
179 | 201 | |
180 | 202 | <div class="grayout-param">${_('SSL Settings')}<span id="ssl_setting_help"/></div> |
181 | 203 | <div class="grayout-value grayout-form"> |
182 | - <input type="radio" name="ssl_status" value="enable" id="ssl_enable" ${ssl_enable_checked} /> ${_('Use')} | |
183 | - <input type="radio" name="ssl_status" value="disable" id="ssl_disable" ${ssl_disable_checked} /> ${_('Not use')} | |
204 | + <input type="radio" name="ssl_status" value="enable" id="ssl_enable" ${ssl_enable_checked} | |
205 | + onClick="showswitch_ssl_setting('enable')" /> ${_('Use')} | |
206 | + <input type="radio" name="ssl_status" value="disable" id="ssl_disable" ${ssl_disable_checked} | |
207 | + onClick="showswitch_ssl_setting('disable')" /> ${_('Not use')} | |
208 | + </div> | |
209 | + | |
210 | + <div id="ssl_port_setting"> | |
211 | + <div class="grayout-param">${_('SSL Port Number')}<span id="ssl_port_help"/></div> | |
212 | + <div class="grayout-value grayout-form"> | |
213 | + <input type="text" name="ssl_port" value="${config['ssl_port']}" id="ssl_port" size="7" maxlength="5" /><span class="require-text">${_('Require')}</span> | |
214 | + </div> | |
184 | 215 | </div> |
185 | 216 | |
186 | 217 | <div class="grayout-footer"> |
@@ -60,6 +60,15 @@ else: | ||
60 | 60 | </td> |
61 | 61 | <td>${ssl_status_msg}</td> |
62 | 62 | </tr> |
63 | +% if config['ssl_status'] == 'enable': | |
64 | + <tr> | |
65 | + <th>${_('SSL Port Number')}</th> | |
66 | + <td> | |
67 | + <img src="${ctx.homepath}/static/images/table-space.gif" alt="" /> | |
68 | + </td> | |
69 | + <td>${config['ssl_port'] |h}</td> | |
70 | + </tr> | |
71 | +% endif | |
63 | 72 | </table> |
64 | 73 | <br style="clear: both;"/> |
65 | 74 | </div> |