Changeset 10530
- Timestamp:
- Jan 27, 2009, 10:59:25 PM (11 years ago)
- Location:
- OpenPNE3/plugins/opOpenSocialPlugin/trunk
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
OpenPNE3/plugins/opOpenSocialPlugin/trunk/apps/pc_backend/modules/opOpenSocialPlugin/lib/ApplicationConfigForm.class.php
r10014 r10530 28 28 'is_view_profile_application' => new sfWidgetFormInputCheckbox(), 29 29 'home_application_limit' => new sfWidgetFormInput(), 30 'application_token_max_age' => new sfWidgetFormInput(), 31 'application_cache_time' => new sfWidgetFormInput(), 30 'shindig_token_cipher_key' => new sfWidgetFormInput(), 31 'shindig_token_hmac_key' => new sfWidgetFormInput(), 32 'shindig_token_max_age' => new sfWidgetFormInput(), 33 'shindig_cache_time' => new sfWidgetFormInput(), 32 34 )); 33 35 … … 36 38 'is_view_profile_application' => new sfValidatorBoolean(), 37 39 'home_application_limit' => new sfValidatorInteger(array('min' => 0)), 38 'application_token_max_age' => new sfValidatorInteger(array('min' => 0)), 39 'application_cache_time' => new sfValidatorInteger(array('min' => 0)), 40 'shindig_token_cipher_key' => new sfValidatorString(), 41 'shindig_token_hmac_key' => new sfValidatorString(), 42 'shindig_token_max_age' => new sfValidatorInteger(array('min' => 0)), 43 'shindig_cache_time' => new sfValidatorInteger(array('min' => 0)), 40 44 )); 41 45 … … 44 48 'is_view_profile_application' => $is_view_profile_application, 45 49 'home_application_limit' => SnsConfigPeer::get('home_application_limit', 3), 46 'application_token_max_age' => SnsConfigPeer::get('application_max_token_age', 60*60), 47 'application_cache_time' => SnsConfigPeer::get('application_cache_time', 24*60*60), 50 'shindig_token_cipher_key' => SnsConfigPeer::get('shindig_token_cipher_key'), 51 'shindig_token_hmac_key' => SnsConfigPeer::get('shindig_token_hmac_key'), 52 'shindig_token_max_age' => SnsConfigPeer::get('shindig_max_token_age', 60*60), 53 'shindig_cache_time' => SnsConfigPeer::get('shindig_cache_time', 24*60*60), 48 54 )); 49 55 … … 52 58 'is_view_profile_application' => 'プロフィール画面にアプリを表示する', 53 59 'home_application_limit' => 'ホーム・プロフィール画面のアプリ表示上限', 54 'application_token_max_age' => 'トークン有効期限(秒)', 55 'application_cache_time' => 'キャッシュ有効期限(秒)', 60 'shindig_token_cipher_key' => 'トークン暗号化キー', 61 'shindig_token_hmac_key' => 'トークンハッシュ化キー', 62 'shindig_token_max_age' => 'トークン有効期限(秒)', 63 'shindig_cache_time' => 'キャッシュ有効期限(秒)', 56 64 )); 57 65 $this->widgetSchema->setNameFormat('application_config[%s]'); -
OpenPNE3/plugins/opOpenSocialPlugin/trunk/data/fixtures/010_navigation.yml
r10278 r10530 11 11 12 12 NavigationI18n: 13 default_navigation_application_i18n: 13 default_navigation_application_i18n_en: 14 id: default_navigation_application 15 caption: "Applications" 16 culture: "en" 17 default_navigation_application_i18n_ja: 14 18 id: default_navigation_application 15 19 caption: "アプリケーション" 16 20 culture: "ja_JP" 17 18 friend_navigation_application_i18n: 21 friend_navigation_application_i18n_en: 22 id: friend_navigation_application 23 caption: "Applications" 24 culture: "en" 25 friend_navigation_application_i18n_ja: 19 26 id: friend_navigation_application 20 27 caption: "アプリケーション" -
OpenPNE3/plugins/opOpenSocialPlugin/trunk/lib/vendor/Shindig/config/local.php
r10296 r10530 7 7 'default_js_prefix' => $webprefix.'/gadgets/js/', 8 8 'default_iframe_prefix' => $webprefix.'/gadgets/ifr?', 9 'token_max_age' => SnsConfigPeer::get('application_token_max_age', 60*60), 9 10 'token_cipher_key' => SnsConfigPeer::get('shindig_token_cipher_key'), 11 'token_hmac_key' => SnsConfigPeer::get('shindig_token_hmac_key'), 12 'token_max_age' => SnsConfigPeer::get('shindig_token_max_age', 60*60), 10 13 11 14 'base_path' => realpath(dirname(__FILE__).'/..').'/', … … 26 29 'messages_service' => 'opJsonDbOpensocialService', 27 30 28 'cache_time' => SnsConfigPeer::get(' application_cache_time', 60*60),31 'cache_time' => SnsConfigPeer::get('shindig_cache_time', 60*60), 29 32 'cache_root' => sfConfig::get('sf_app_cache_dir').'/plugins/opOpenSocialPlugin', 30 33
Note: See TracChangeset
for help on using the changeset viewer.