OSDN Git Service

PostClass.CreatedAtの型をDateTimeUtcに変更
[opentween/open-tween.git] / OpenTween / ApplicationSettings.cs
1 // OpenTween - Client of Twitter
2 // Copyright (c) 2012      kim_upsilon (@kim_upsilon) <https://upsilo.net/~upsilon/>
3 // All rights reserved.
4 // 
5 // This file is part of OpenTween.
6 // 
7 // This program is free software; you can redistribute it and/or modify it
8 // under the terms of the GNU General public License as published by the Free
9 // Software Foundation; either version 3 of the License, or (at your option)
10 // any later version.
11 // 
12 // This program is distributed in the hope that it will be useful, but
13 // WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14 // or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General public License
15 // for more details.
16 // 
17 // You should have received a copy of the GNU General public License along
18 // with this program. If not, see <http://www.gnu.org/licenses/>, or write to
19 // the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
20 // Boston, MA 02110-1301, USA.
21
22 using System;
23 using System.Collections.Generic;
24 using System.Linq;
25 using System.Text;
26
27 namespace OpenTween
28 {
29     /// <summary>
30     /// アプリケーション固有の情報を格納します
31     /// </summary>
32     /// <remarks>
33     /// OpenTween の派生版を作る方法は http://sourceforge.jp/projects/opentween/wiki/HowToFork を参照して下さい。
34     /// </remarks>
35     internal static class ApplicationSettings
36     {
37         //=====================================================================
38         // フィードバック送信先
39         // 異常終了時などにエラーログ等とともに表示されます。
40         
41         /// <summary>
42         /// フィードバック送信先 (メール)
43         /// </summary>
44         public const string FeedbackEmailAddress = "kim.upsilon@bucyou.net";
45
46         /// <summary>
47         /// フィードバック送信先 (Twitter)
48         /// </summary>
49         public const string FeedbackTwitterName = "@OpenTween";
50
51         /// <summary>
52         /// FeedbackTwitterName のユーザー宛にエラーレポートの DM を送信可能であるか
53         /// </summary>
54         /// <remarks>
55         /// エラーレポートを DM で受け付ける場合は、フォロー外からの DM を受け付ける設定にする必要があります
56         /// </remarks>
57         public static readonly bool AllowSendErrorReportByDM = true;
58
59         //=====================================================================
60         // Web サイト
61
62         /// <summary>
63         /// 「ヘルプ」メニューの「(アプリ名) ウェブサイト」クリック時に外部ブラウザで表示する URL
64         /// </summary>
65         public const string WebsiteUrl = "http://sourceforge.jp/projects/opentween/wiki/FrontPage";
66
67         /// <summary>
68         /// 「ヘルプ」メニューの「ショートカットキー一覧」クリック時に外部ブラウザで表示する URL
69         /// </summary>
70         /// <remarks>
71         /// Tween の Wiki ページのコンテンツはプロプライエタリなため転載不可
72         /// </remarks>
73         public const string ShortcutKeyUrl = "http://sourceforge.jp/projects/tween/wiki/%E3%82%B7%E3%83%A7%E3%83%BC%E3%83%88%E3%82%AB%E3%83%83%E3%83%88%E3%82%AD%E3%83%BC";
74
75         //=====================================================================
76         // アップデートチェック関連
77
78         /// <summary>
79         /// 最新バージョンの情報を取得するためのURL
80         /// </summary>
81         /// <remarks>
82         /// version.txt のフォーマットについては http://sourceforge.jp/projects/opentween/wiki/VersionTxt を参照。
83         /// 派生プロジェクトなどでこの機能を無効にする場合は null をセットして下さい。
84         /// </remarks>
85         public static readonly string VersionInfoUrl = "https://www.opentween.org/status/version.txt";
86
87         //=====================================================================
88         // Twitter
89         // https://dev.twitter.com/ から取得できます。
90
91         /// <summary>
92         /// Twitter コンシューマーキー
93         /// </summary>
94         public const string TwitterConsumerKey = "zIoJPq3FsuViPTAs89FetDHYz";
95         public const string TwitterConsumerSecret = "prTAs2fqLv12nHxlMoLQZT8AkpZt0yYb8A7ktGS2VYeRj0TddS";
96
97         //=====================================================================
98         // Foursquare
99         // https://developer.foursquare.com/ から取得できます。
100
101         /// <summary>
102         /// Foursquare Client Id
103         /// </summary>
104         public const string FoursquareClientId = "5H3K5YQPT55DNQUFEOAJFNJA5D01ZJGO2ITEAJ3ASRIDONUB";
105
106         /// <summary>
107         /// Foursquare Client Secret
108         /// </summary>
109         public const string FoursquareClientSecret = "JFRHP1L451M3AEPF11UZLTIIUZCZTZRVHVOWB5TQ0AJOVPBB";
110
111         //=====================================================================
112         // bit.ly
113         // https://bitly.com/a/oauth_apps から取得できます。
114
115         /// <summary>
116         /// bit.ly Client ID
117         /// </summary>
118         public const string BitlyClientId = "ddab8ec50f4459c315cbde9d923cf490923b6d2e";
119
120         /// <summary>
121         /// bit.ly Client Secret
122         /// </summary>
123         public const string BitlyClientSecret = "485c9d03dd264f8eeb4fc65d38e2762c4420cee7";
124
125         //=====================================================================
126         // TINAMI
127         // http://www.tinami.com/api/ から取得できます。
128
129         /// <summary>
130         /// TINAMI APIキー
131         /// </summary>
132         public const string TINAMIApiKey = "4f48bb4858d36";
133
134         //=====================================================================
135         // Microsoft Translator API (Cognitive Service)
136         // https://www.microsoft.com/ja-jp/translator/getstarted.aspx から取得できます。
137
138         /// <summary>
139         /// Translator Text API Subscription Key
140         /// </summary>
141         public readonly static string TranslatorSubscriptionKey = "6c47d2ea341148bf856bdbfafd429db7";
142
143         //=====================================================================
144         // Imgur
145         // https://api.imgur.com/oauth2/addclient から取得できます
146
147         /// <summary>
148         /// Imgur Client ID
149         /// </summary>
150         public readonly static string ImgurClientID = "a5fff36fb83568c";
151
152         /// <summary>
153         /// Imgur Client Secret
154         /// </summary>
155         public readonly static string ImgurClientSecret = "af5d668a9aa83b34a8f0f735e12073edafbc9a5d";
156
157         //=====================================================================
158         // Mobypicture
159         // http://www.mobypicture.com/apps/my から取得できます
160
161         /// <summary>
162         /// Mobypicture Developer Key
163         /// </summary>
164         public readonly static string MobypictureKey = "quPWTX0UrPHxqdH7";
165
166         //=====================================================================
167         // Tumblr
168         // https://www.tumblr.com/oauth/apps から取得できます
169
170         /// <summary>
171         /// Tumblr OAuth Consumer Key
172         /// </summary>
173         public readonly static string TumblrConsumerKey = "Nsk62V6wMIqVNbiGyN0g3aDGBlgU7Fcb9GJ8Se0z2MUDHAY15l";
174     }
175 }