LDAP with sync rake task

This commit is contained in:
Matt Fu committed 2012-03-06 16:41:06 +08:00
1 parent 7f05f21930
commit d5a2de5476
23 files changed
+109 -40

No files matched your search

@@ -4,8 +4,8 @@ require 'mysql2'
mid_host = {
:host => 'mruling.nccu.edu.tw', #mruling.nccu.edu.tw or 127.0.0.1
:port => 3006, #3306 or 8005
:host => '127.0.0.1', #mruling.nccu.edu.tw or 127.0.0.1
:port => 8005, #3306 or 8005
:username => "root",
:password => "a3G6yWd9",
:database => "RSS23_NCCU_MIDDLE",
+1
View File
@@ -11,6 +11,7 @@ en:
unconfirmed: 'You have to confirm your account before continuing.'
ldap_invalid: 'Your LDAP account is invalid'
ldap_connection_failed: 'LDAP connection failed'
ldap_pass_but_account_not_in_orbit: 'LDAP account is not supported to sign up this site.'
locked: 'Your account is locked.'
invalid: 'Invalid email or password.'
invalid_token: 'Invalid authentication token.'
+1
View File
@@ -11,6 +11,7 @@ zh_tw:
unconfirmed: '您的帳號需需要經過確認後,才能繼續。'
ldap_invalid: '您的LDAP帳號錯誤'
ldap_connection_failed: '與LDAP之間連線異常'
ldap_pass_but_account_not_in_orbit: '很抱歉,您的LDAP帳號並不支援在此網站登入'
locked: '您的帳號已被鎖定。'
invalid: 'Email 或密碼是無效的。'
invalid_token: '無效的認證代碼。'
+2
View File
@@ -117,6 +117,8 @@ en:
no_layout: You don't have a layout
name: Name
nccu: NCCU Custom
nccu_c:
nccu_ldap_uid: NCCU LDAP Account
new_asset: New asset
new_component: New component
new_design: New design
+4 -1
View File
@@ -77,6 +77,7 @@ zh_tw:
description: 描述
design: 網站版型
disable_language: 禁用語言
edit: 編輯
editing_home: 編輯首頁
editing_layout: 編輯樣板
editing_link: 編輯連結
@@ -95,7 +96,7 @@ zh_tw:
intro: 簡介
is_published: 被出版
item: 網站架構
key: 關鍵
key: 鍵值
language: 語言
layout: 佈局
layout_name: 佈局名字
@@ -117,6 +118,8 @@ zh_tw:
no_layout: 您沒有佈局
name: 名稱
nccu: 政大客制
nccu_c:
nccu_ldap_uid: NCCU LDAP 帳號
new_asset: 新增資產
new_component: 新增元件
new_design: 新設計