From: yamat0jp Date: Fri, 1 Sep 2017 11:48:38 +0000 (+0900) Subject: advanced X-Git-Url: http://git.sourceforge.jp/view?p=pybbs%2Fpybbs.git;a=commitdiff_plain;h=37f7ad44fc832678ffce90f03efc78d1a94f9609 advanced --- diff --git a/index.py b/index.py index 4d34be7..dd657b9 100755 --- a/index.py +++ b/index.py @@ -93,6 +93,7 @@ class NaviHandler(tornado.web.RequestHandler): def name(self): names = self.application.db.tables() names.remove('_default') + names.remove('help') na = self.application.db.get(where('kinds') == 'conf')['info name'] if na in names: names.remove(na) @@ -400,11 +401,14 @@ class ArticleApi(tornado.web.RequestHandler): class HelpHandler(tornado.web.RequestHandler): def get(self): - self.render('help.htm',req='') + if self.current_user == b'admin': + self.redirect('/help') def post(self): com = self.get_argument('help','') - mail = self.application.db.get(where('kinds') == 'conf')['mail'] + table = self.application.db.table('help') + time = datetime.now() + table.insert({'comment':com,'time':time.strftime('%Y/%m/%d %H:%M')}) if com == '': req = '' else: diff --git a/static/db/bak.json b/static/db/bak.json index 09f146e..4d56999 100644 --- a/static/db/bak.json +++ b/static/db/bak.json @@ -1 +1 @@ -{"bbs": {"1": {"name": "None", "password": "", "number": 1, "comment": "

\u3053\u306e\u63b2\u793a\u677f\u306f\u3059\u3054\u3044\u3067\u3059\u3002\u4f55\u304c\u3059\u3054\u3044\u306e\u304b\u5229\u7528\u8005\u306b\u306f\u308f\u304b\u3089\u306a\u3044\u3067\u3057\u3087\u3046\u3051\u308c\u3069\u3001\u7ba1\u7406\u8005\u306f\u7ba1\u7406\u304c\u3057\u3084\u3059\u3044\u3067\u3059\u3002\u7c21\u5358\u306b\u904b\u7528\u3067\u304d\u307e\u3059\u3002heroku\u3067git\u3059\u308c\u3070\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u30af\u30ea\u30a2\u3057\u3066\u3059\u3050\u4f7f\u3048\u308b\u72b6\u614b\u306b\u306a\u308a\u307e\u3059\u3002\u6c17\u306b\u3057\u306a\u3044\u4eba\u306f\u305d\u306e\u307e\u307e\u4f7f\u3048\u307e\u3059\u3002\r\n

\u3000tornado\u3092\u4f7f\u7528\u3057\u3066\u66f8\u304b\u308c\u305f\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u304c\u5927\u5909\u7c21\u7d20\u3067\u3059\u3002\u306a\u304a\u304b\u3064\u30d6\u30ed\u30b0\u30b7\u30b9\u30c6\u30e0\u306b\u30a2\u30c3\u30d7\u304c\u30b0\u30ec\u30fc\u30c9\u3055\u305b\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002\r\n

\u3000\u63b2\u793a\u677f\u306e\u7ba1\u7406\u306b\u5fc5\u8981\u306a\u62e1\u5f35\u3067\u3059\u304c\u30c1\u30e3\u30f3\u30cd\u30eb\u306e\u8ffd\u52a0\u306f\u7ba1\u7406\u8005\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u8ffd\u52a0\u3057\u305f\u3044URL\u3092\u6253\u3061\u8fbc\u3080\u3060\u3051\u3002\u305d\u3046\u3059\u308c\u3070\u81ea\u52d5\u3067\u4f5c\u6210\u3055\u308c\u305f\u65b0\u3057\u3044\u30c1\u30e3\u30f3\u30cd\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u304f\u308c\u307e\u3059\u3002\r\n

\u3000\u3055\u3042\u4f7f\u3044\u305f\u304f\u306a\u308a\u307e\u3057\u305f\u304b\u3002", "date": "2016/11/18/16:17", "title": "\u3053\u306eBBS\u306f\u3059\u3054\u3044\u3067\u3059\u3002\u3002\u3002\uff20\uff20\uff1b"}}, "_default": {"1": {"title": "pybbs", "bad_words": ["pybbs", "kinds": "conf"}}, "bbs2": {}, "bbs1": {"3": {"name": "\u8ab0\u304b\u3055\u3093", "password": "", "number": 10, "comment": "

test



simasu

", "date": "2016/11/20 08:56", "title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057."}, "1": {"name": "\u8ab0\u304b\u3055\u3093", "password": "", "number": 8, "comment": "

\u3053\u308c\u3067\r\n

\u3000\r\n

\r\n

\u3000\u3067\u304d\u305f\u304b\u3082

", "date": "2016/11/20 08:51", "title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057."}, "4": {"name": "\u8ab0\u304b\u3055\u3093", "password": "", "number": 9, "comment": "

test\r\n

\r\n

im\r\n

\r\n

test now", "date": "2016/11/20 08:53", "title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057."}, "2": {"name": "\u8ab0\u304b\u3055\u3093", "password": "", "number": 1, "comment": "

writing ok\r\n

\r\n

\u7a7a\u767d\u884c\u304c\u8868\u793a\u3055\u308c\u306a\u304f\u306a\u3063\u3066\u3044\u307e\u3057\u305f", "date": "2016/11/20 08:29", "title": "sandbox"}}, "bbs3": {}} \ No newline at end of file +{"_default": {"1": {"mentenance": false, "title": "pybbs", "kinds": "conf", "count": 30, "password": "admin", "bad_words": ["pybbs", "out_words": ["\u6b7b\u306d", "\u963f\u5446", "\u30a2\u30db", "\u99ac\u9e7f", "\u30d0\u30ab"]}}, "bbs": {"1": {"title": "\u3053\u306eBBS\u306f\u3059\u3054\u3044\u3067\u3059\u3002\u3002\u3002\uff20\uff20\uff1b", "date": "2016/11/18/16:17", "password": "", "number": 1, "name": "None", "comment": "

\u3053\u306e\u63b2\u793a\u677f\u306f\u3059\u3054\u3044\u3067\u3059\u3002\u4f55\u304c\u3059\u3054\u3044\u306e\u304b\u5229\u7528\u8005\u306b\u306f\u308f\u304b\u3089\u306a\u3044\u3067\u3057\u3087\u3046\u3051\u308c\u3069\u3001\u7ba1\u7406\u8005\u306f\u7ba1\u7406\u304c\u3057\u3084\u3059\u3044\u3067\u3059\u3002\u7c21\u5358\u306b\u904b\u7528\u3067\u304d\u307e\u3059\u3002heroku\u3067git\u3059\u308c\u3070\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u30af\u30ea\u30a2\u3057\u3066\u3059\u3050\u4f7f\u3048\u308b\u72b6\u614b\u306b\u306a\u308a\u307e\u3059\u3002\u6c17\u306b\u3057\u306a\u3044\u4eba\u306f\u305d\u306e\u307e\u307e\u4f7f\u3048\u307e\u3059\u3002\r\n

\u3000tornado\u3092\u4f7f\u7528\u3057\u3066\u66f8\u304b\u308c\u305f\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u304c\u5927\u5909\u7c21\u7d20\u3067\u3059\u3002\u306a\u304a\u304b\u3064\u30d6\u30ed\u30b0\u30b7\u30b9\u30c6\u30e0\u306b\u30a2\u30c3\u30d7\u304c\u30b0\u30ec\u30fc\u30c9\u3055\u305b\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002\r\n

\u3000\u63b2\u793a\u677f\u306e\u7ba1\u7406\u306b\u5fc5\u8981\u306a\u62e1\u5f35\u3067\u3059\u304c\u30c1\u30e3\u30f3\u30cd\u30eb\u306e\u8ffd\u52a0\u306f\u7ba1\u7406\u8005\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u8ffd\u52a0\u3057\u305f\u3044URL\u3092\u6253\u3061\u8fbc\u3080\u3060\u3051\u3002\u305d\u3046\u3059\u308c\u3070\u81ea\u52d5\u3067\u4f5c\u6210\u3055\u308c\u305f\u65b0\u3057\u3044\u30c1\u30e3\u30f3\u30cd\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u304f\u308c\u307e\u3059\u3002\r\n

\u3000\u3055\u3042\u4f7f\u3044\u305f\u304f\u306a\u308a\u307e\u3057\u305f\u304b\u3002"}}, "bbs3": {}, "bbs1": {"4": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "date": "2016/11/20 08:53", "password": "", "number": 9, "name": "\u8ab0\u304b\u3055\u3093", "comment": "

test\r\n

\r\n

im\r\n

\r\n

test now"}, "1": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "date": "2016/11/20 08:51", "password": "", "number": 8, "name": "\u8ab0\u304b\u3055\u3093", "comment": "

\u3053\u308c\u3067\r\n

\u3000\r\n

\r\n

\u3000\u3067\u304d\u305f\u304b\u3082

"}, "3": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "date": "2016/11/20 08:56", "password": "", "number": 10, "name": "\u8ab0\u304b\u3055\u3093", "comment": "

test



simasu

"}, "2": {"title": "sandbox", "date": "2016/11/20 08:29", "password": "", "number": 1, "name": "\u8ab0\u304b\u3055\u3093", "comment": "

writing ok\r\n

\r\n

\u7a7a\u767d\u884c\u304c\u8868\u793a\u3055\u308c\u306a\u304f\u306a\u3063\u3066\u3044\u307e\u3057\u305f"}}, "bbs2": {}} \ No newline at end of file diff --git a/static/db/db.json b/static/db/db.json index 7d3ed17..48ba97c 100644 --- a/static/db/db.json +++ b/static/db/db.json @@ -1 +1 @@ -{"bbs3": {}, "bbs2": {}, "bbs1": {"50": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "password": "", "date": "2017/08/20 20:44", "name": "\u7ba1\u7406\u8005", "raw": "a", "comment": "

a

", "number": 16}, "67": {"title": "\u524a\u9664\u3055\u308c\u307e\u3057\u305f", "password": "a", "date": "2017/08/20 20:46", "name": "", "raw": "a", "comment": "\u6295\u7a3f\u8005\u306b\u3088\u308a\u524a\u9664\u3055\u308c\u307e\u3057\u305f", "number": 33}, "66": {"title": "\u524a\u9664\u3055\u308c\u307e\u3057\u305f", "password": "a", "date": "2017/08/20 20:45", "name": "", "raw": "a", "comment": "\u6295\u7a3f\u8005\u306b\u3088\u308a\u524a\u9664\u3055\u308c\u307e\u3057\u305f", "number": 32}, "57": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "password": "", "date": "2017/08/20 20:44", "name": "\u7ba1\u7406\u8005", "raw": "a", "comment": "

a

", "number": 23}, "2": {"title": "\u30b5\u30f3\u30c9\u30dc\u30c3\u30af\u30b9\u3068\u3057\u3066\u3054\u5229\u7528\u304f\u3060\u3055\u3044", "password": "admin", "date": "2016/12/01 18:32", "name": "\u7ba1\u7406\u8005", "raw": "\u63b2\u793a\u677f\u306e\u52d5\u4f5c\u691c\u8a3c\u306b\u4f7f\u3063\u3066\u3044\u305f\u3060\u3051\u307e\u3059\u3002\u843d\u66f8\u304d\u7528\u3067\u3059\u3002\u3054\u9023\u7d61\u306f\u5225\u306e\u30c1\u30e3\u30f3\u30cd\u30eb\u306b\u3069\u3046\u305e\u3002", "comment": "

\u63b2\u793a\u677f\u306e\u52d5\u4f5c\u691c\u8a3c\u306b\u4f7f\u3063\u3066\u3044\u305f\u3060\u3051\u307e\u3059\u3002\u843d\u66f8\u304d\u7528\u3067\u3059\u3002\u3054\u9023\u7d61\u306f\u5225\u306e\u30c1\u30e3\u30f3\u30cd\u30eb\u306b\u3069\u3046\u305e\u3002

", "number": 1}, "46": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "password": "", "date": "2017/08/20 20:43", "name": "\u7ba1\u7406\u8005", "raw": "a", "comment": "

a

", "number": 12}, "44": {"title": "\u524a\u9664\u3055\u308c\u307e\u3057\u305f", "password": "a", "date": "2017/08/20 20:42", "name": "", "raw": "del", "comment": "\u6295\u7a3f\u8005\u306b\u3088\u308a\u524a\u9664\u3055\u308c\u307e\u3057\u305f", "number": 10}, "42": {"title": "\u524a\u9664\u3055\u308c\u307e\u3057\u305f", "password": "a", "date": "2017/08/20 18:34", "name": "", "raw": "test", "comment": "\u6295\u7a3f\u8005\u306b\u3088\u308a\u524a\u9664\u3055\u308c\u307e\u3057\u305f", "number": 8}, "73": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "password": "", "date": "2017/08/21 01:33", "name": "\u7ba1\u7406\u8005", "raw": "link>>15.", "comment": "

link>>15.

", "number": 39}, "45": {"title": "\u524a\u9664\u3055\u308c\u307e\u3057\u305f", "password": "a", "date": "2017/08/20 20:43", "name": "", "raw": "a", "comment": "\u6295\u7a3f\u8005\u306b\u3088\u308a\u524a\u9664\u3055\u308c\u307e\u3057\u305f", "number": 11}, "69": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "password": "", "date": "2017/08/21 00:53", "name": "\u7ba1\u7406\u8005", "raw": "test>>8desu", "comment": "

test>>8desu

", "number": 35}, "47": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "password": "", "date": "2017/08/20 20:43", "name": "\u7ba1\u7406\u8005", "raw": "a", "comment": "

a

", "number": 13}, "52": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "password": "", "date": "2017/08/20 20:44", "name": "\u7ba1\u7406\u8005", "raw": "a", "comment": "

a

", "number": 18}, "58": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "password": "", "date": "2017/08/20 20:44", "name": "\u7ba1\u7406\u8005", "raw": "a", "comment": "

a

", "number": 24}, "39": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "password": "", "date": "2016/12/24 20:02", "name": "\u8ab0\u304b\u3055\u3093", "raw": "test>>1desu>>2\r\n>>12", "comment": "

test>>1desu>>2\r\n

>>12

", "number": 5}, "48": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "password": "", "date": "2017/08/20 20:43", "name": "\u7ba1\u7406\u8005", "raw": "a", "comment": "

a

", "number": 14}, "40": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "password": "", "date": "2016/12/24 20:03", "name": "\u8ab0\u304b\u3055\u3093", "raw": ">>1>>2 >>3", "comment": "

>>1>>2 >>3

", "number": 6}, "61": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "password": "", "date": "2017/08/20 20:44", "name": "\u7ba1\u7406\u8005", "raw": "a", "comment": "

a

", "number": 27}, "55": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "password": "", "date": "2017/08/20 20:44", "name": "\u7ba1\u7406\u8005", "raw": "a", "comment": "

a

", "number": 21}, "65": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "password": "", "date": "2017/08/20 20:45", "name": "\u7ba1\u7406\u8005", "raw": "a", "comment": "

a

", "number": 31}, "41": {"title": "\u524a\u9664\u3055\u308c\u307e\u3057\u305f", "password": "a", "date": "2017/08/20 18:33", "name": "", "raw": "test", "comment": "\u6295\u7a3f\u8005\u306b\u3088\u308a\u524a\u9664\u3055\u308c\u307e\u3057\u305f", "number": 7}, "68": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "password": "", "date": "2017/08/20 21:36", "name": "\u7ba1\u7406\u8005", "raw": "a", "comment": "

a

", "number": 34}, "60": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "password": "", "date": "2017/08/20 20:44", "name": "\u7ba1\u7406\u8005", "raw": "a", "comment": "

a

", "number": 26}, "56": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "password": "", "date": "2017/08/20 20:44", "name": "\u7ba1\u7406\u8005", "raw": "a", "comment": "

a

", "number": 22}, "54": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "password": "", "date": "2017/08/20 20:44", "name": "\u7ba1\u7406\u8005", "raw": "a", "comment": "

a

", "number": 20}, "64": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "password": "", "date": "2017/08/20 20:45", "name": "\u7ba1\u7406\u8005", "raw": "a", "comment": "

a

", "number": 30}, "53": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "password": "", "date": "2017/08/20 20:44", "name": "\u7ba1\u7406\u8005", "raw": "a", "comment": "

a

", "number": 19}, "51": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "password": "", "date": "2017/08/20 20:44", "name": "\u7ba1\u7406\u8005", "raw": "a", "comment": "

a

", "number": 17}, "72": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "password": "", "date": "2017/08/21 01:26", "name": "\u7ba1\u7406\u8005", "raw": "a", "comment": "

a

", "number": 38}, "38": {"title": "\u524a\u9664\u3055\u308c\u307e\u3057\u305f", "password": "b", "date": "2016/12/19 17:45", "name": "", "raw": ">>1 2 >>3", "comment": "\u6295\u7a3f\u8005\u306b\u3088\u308a\u524a\u9664\u3055\u308c\u307e\u3057\u305f", "number": 4}, "9": {"title": "bbs", "password": "KAINUSHI", "date": "2016/12/15 18:28", "name": "\u8ab0\u304b\u3055\u3093", "raw": "http://kainushi.xyz http://pybbs.herokuapp.com\r\nhttp://kainushi.xyz", "comment": "

http://kainushi.xyz http://pybbs.herokuapp.com\r\n

http://kainushi.xyz

\u691c\u51faURL:
http://kainushi.xyz
http://pybbs.herokuapp.com
", "number": 3}, "62": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "password": "", "date": "2017/08/20 20:44", "name": "\u7ba1\u7406\u8005", "raw": "a", "comment": "

a

", "number": 28}, "43": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "password": "", "date": "2017/08/20 18:34", "name": "\u7ba1\u7406\u8005", "raw": "\u4e0a\u306e\u8cb4\u5973\u3092\u524a\u9664\u3057\u307e\u3057\u305f", "comment": "

\u4e0a\u306e\u8cb4\u5973\u3092\u524a\u9664\u3057\u307e\u3057\u305f

", "number": 9}, "8": {"title": "bbs", "password": "KAINUSHI", "date": "2016/12/14 19:21", "name": "\u8ab0\u304b\u3055\u3093", "raw": "http://kainushi.xyz\r\ndesuyo", "comment": "

http://kainushi.xyz\r\n

desuyo

\u691c\u51fa\u3055\u308c\u305furl:http://kainushi.xyz", "number": 2}, "49": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "password": "", "date": "2017/08/20 20:44", "name": "\u7ba1\u7406\u8005", "raw": "a", "comment": "

a

", "number": 15}, "71": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "password": "", "date": "2017/08/21 01:26", "name": "\u7ba1\u7406\u8005", "raw": "a", "comment": "

a

", "number": 37}, "63": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "password": "", "date": "2017/08/20 20:45", "name": "\u7ba1\u7406\u8005", "raw": "a", "comment": "

a

", "number": 29}, "70": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "password": "", "date": "2017/08/21 01:20", "name": "\u7ba1\u7406\u8005", "raw": "test>>8yori", "comment": "

test>>8yori

", "number": 36}, "59": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "password": "", "date": "2017/08/20 20:44", "name": "\u7ba1\u7406\u8005", "raw": "a", "comment": "

a

", "number": 25}}, "kagawa": {}, "bbs": {"1": {"title": "\u3053\u306eBBS\u306f\u3059\u3054\u3044\u3067\u3059\u3002\u3002\u3002\uff20\uff20\uff1b", "password": "admin", "date": "2016/11/22 19:43", "name": "\u7ba1\u7406\u8005", "raw": "\u3053\u306e\u63b2\u793a\u677f\u306f\u3059\u3054\u3044\u3067\u3059\u3002\u4f55\u304c\u3059\u3054\u3044\u306e\u304b\u5229\u7528\u8005\u306b\u306f\u308f\u304b\u3089\u306a\u3044\u3067\u3057\u3087\u3046\u3051\u308c\u3069\u3001\u7ba1\u7406\u8005\u306f\u7ba1\u7406\u304c\u3057\u3084\u3059\u3044\u3067\u3059\u3002\u7c21\u5358\u306b\u904b\u7528\u3067\u304d\u307e\u3059\u3002heroku\u3067git\u3059\u308c\u3070\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u30af\u30ea\u30a2\u3057\u3066\u3059\u3050\u4f7f\u3048\u308b\u72b6\u614b\u306b\u306a\u308a\u307e\u3059\u3002\u6c17\u306b\u3057\u306a\u3044\u4eba\u306f\u305d\u306e\u307e\u307e\u4f7f\u3048\u307e\u3059\u3002\r\n\u3000tornado\u3092\u4f7f\u7528\u3057\u3066\u66f8\u304b\u308c\u305f\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u304c\u5927\u5909\u7c21\u7d20\u3067\u3059\u3002\u306a\u304a\u304b\u3064\u30d6\u30ed\u30b0\u30b7\u30b9\u30c6\u30e0\u306b\u30a2\u30c3\u30d7\u304c\u30b0\u30ec\u30fc\u30c9\u3055\u305b\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002\r\n\u3000\u63b2\u793a\u677f\u306e\u7ba1\u7406\u306b\u5fc5\u8981\u306a\u62e1\u5f35\u3067\u3059\u304c\u30c1\u30e3\u30f3\u30cd\u30eb\u306e\u8ffd\u52a0\u306f\u7ba1\u7406\u8005\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u8ffd\u52a0\u3057\u305f\u3044URL\u3092\u6253\u3061\u8fbc\u3080\u3060\u3051\u3002\u305d\u3046\u3059\u308c\u3070\u81ea\u52d5\u3067\u4f5c\u6210\u3055\u308c\u305f\u65b0\u3057\u3044\u30c1\u30e3\u30f3\u30cd\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u304f\u308c\u307e\u3059\u3002\r\n\u3000\u3055\u3042\u4f7f\u3044\u305f\u304f\u306a\u308a\u307e\u3057\u305f\u304b\u3002", "comment": "

\u3053\u306e\u63b2\u793a\u677f\u306f\u3059\u3054\u3044\u3067\u3059\u3002\u4f55\u304c\u3059\u3054\u3044\u306e\u304b\u5229\u7528\u8005\u306b\u306f\u308f\u304b\u3089\u306a\u3044\u3067\u3057\u3087\u3046\u3051\u308c\u3069\u3001\u7ba1\u7406\u8005\u306f\u7ba1\u7406\u304c\u3057\u3084\u3059\u3044\u3067\u3059\u3002\u7c21\u5358\u306b\u904b\u7528\u3067\u304d\u307e\u3059\u3002heroku\u3067git\u3059\u308c\u3070\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u30af\u30ea\u30a2\u3057\u3066\u3059\u3050\u4f7f\u3048\u308b\u72b6\u614b\u306b\u306a\u308a\u307e\u3059\u3002\u6c17\u306b\u3057\u306a\u3044\u4eba\u306f\u305d\u306e\u307e\u307e\u4f7f\u3048\u307e\u3059\u3002\r\n

\u3000tornado\u3092\u4f7f\u7528\u3057\u3066\u66f8\u304b\u308c\u305f\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u304c\u5927\u5909\u7c21\u7d20\u3067\u3059\u3002\u306a\u304a\u304b\u3064\u30d6\u30ed\u30b0\u30b7\u30b9\u30c6\u30e0\u306b\u30a2\u30c3\u30d7\u304c\u30b0\u30ec\u30fc\u30c9\u3055\u305b\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002\r\n

\u3000\u63b2\u793a\u677f\u306e\u7ba1\u7406\u306b\u5fc5\u8981\u306a\u62e1\u5f35\u3067\u3059\u304c\u30c1\u30e3\u30f3\u30cd\u30eb\u306e\u8ffd\u52a0\u306f\u7ba1\u7406\u8005\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u8ffd\u52a0\u3057\u305f\u3044URL\u3092\u6253\u3061\u8fbc\u3080\u3060\u3051\u3002\u305d\u3046\u3059\u308c\u3070\u81ea\u52d5\u3067\u4f5c\u6210\u3055\u308c\u305f\u65b0\u3057\u3044\u30c1\u30e3\u30f3\u30cd\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u304f\u308c\u307e\u3059\u3002\r\n

\u3000\u3055\u3042\u4f7f\u3044\u305f\u304f\u306a\u308a\u307e\u3057\u305f\u304b\u3002

", "number": 1}}, "_default": {"1": {"password": "admin", "count": 30, "mentenance": false, "title2": "

pybbs

", "title": "pybbs", "bad_words": ["infomation

", "number": 1}}, "index": {}} \ No newline at end of file +{"bbs1": {"63": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "comment": "

a

", "password": "", "name": "\u7ba1\u7406\u8005", "date": "2017/08/20 20:45", "raw": "a", "number": 29}, "58": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "comment": "

a

", "password": "", "name": "\u7ba1\u7406\u8005", "date": "2017/08/20 20:44", "raw": "a", "number": 24}, "54": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "comment": "

a

", "password": "", "name": "\u7ba1\u7406\u8005", "date": "2017/08/20 20:44", "raw": "a", "number": 20}, "8": {"title": "bbs", "comment": "

http://kainushi.xyz\r\n

desuyo

\u691c\u51fa\u3055\u308c\u305furl:http://kainushi.xyz", "password": "KAINUSHI", "name": "\u8ab0\u304b\u3055\u3093", "date": "2016/12/14 19:21", "raw": "http://kainushi.xyz\r\ndesuyo", "number": 2}, "59": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "comment": "

a

", "password": "", "name": "\u7ba1\u7406\u8005", "date": "2017/08/20 20:44", "raw": "a", "number": 25}, "65": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "comment": "

a

", "password": "", "name": "\u7ba1\u7406\u8005", "date": "2017/08/20 20:45", "raw": "a", "number": 31}, "39": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "comment": "

test>>1desu>>2\r\n

>>12

", "password": "", "name": "\u8ab0\u304b\u3055\u3093", "date": "2016/12/24 20:02", "raw": "test>>1desu>>2\r\n>>12", "number": 5}, "41": {"title": "\u524a\u9664\u3055\u308c\u307e\u3057\u305f", "comment": "\u6295\u7a3f\u8005\u306b\u3088\u308a\u524a\u9664\u3055\u308c\u307e\u3057\u305f", "password": "a", "name": "", "date": "2017/08/20 18:33", "raw": "test", "number": 7}, "62": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "comment": "

a

", "password": "", "name": "\u7ba1\u7406\u8005", "date": "2017/08/20 20:44", "raw": "a", "number": 28}, "9": {"title": "bbs", "comment": "

http://kainushi.xyz http://pybbs.herokuapp.com\r\n

http://kainushi.xyz

\u691c\u51faURL:
http://kainushi.xyz
http://pybbs.herokuapp.com
", "password": "KAINUSHI", "name": "\u8ab0\u304b\u3055\u3093", "date": "2016/12/15 18:28", "raw": "http://kainushi.xyz http://pybbs.herokuapp.com\r\nhttp://kainushi.xyz", "number": 3}, "57": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "comment": "

a

", "password": "", "name": "\u7ba1\u7406\u8005", "date": "2017/08/20 20:44", "raw": "a", "number": 23}, "49": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "comment": "

a

", "password": "", "name": "\u7ba1\u7406\u8005", "date": "2017/08/20 20:44", "raw": "a", "number": 15}, "42": {"title": "\u524a\u9664\u3055\u308c\u307e\u3057\u305f", "comment": "\u6295\u7a3f\u8005\u306b\u3088\u308a\u524a\u9664\u3055\u308c\u307e\u3057\u305f", "password": "a", "name": "", "date": "2017/08/20 18:34", "raw": "test", "number": 8}, "56": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "comment": "

a

", "password": "", "name": "\u7ba1\u7406\u8005", "date": "2017/08/20 20:44", "raw": "a", "number": 22}, "50": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "comment": "

a

", "password": "", "name": "\u7ba1\u7406\u8005", "date": "2017/08/20 20:44", "raw": "a", "number": 16}, "70": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "comment": "

test>>8yori

", "password": "", "name": "\u7ba1\u7406\u8005", "date": "2017/08/21 01:20", "raw": "test>>8yori", "number": 36}, "44": {"title": "\u524a\u9664\u3055\u308c\u307e\u3057\u305f", "comment": "\u6295\u7a3f\u8005\u306b\u3088\u308a\u524a\u9664\u3055\u308c\u307e\u3057\u305f", "password": "a", "name": "", "date": "2017/08/20 20:42", "raw": "del", "number": 10}, "67": {"title": "\u524a\u9664\u3055\u308c\u307e\u3057\u305f", "comment": "\u6295\u7a3f\u8005\u306b\u3088\u308a\u524a\u9664\u3055\u308c\u307e\u3057\u305f", "password": "a", "name": "", "date": "2017/08/20 20:46", "raw": "a", "number": 33}, "64": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "comment": "

a

", "password": "", "name": "\u7ba1\u7406\u8005", "date": "2017/08/20 20:45", "raw": "a", "number": 30}, "45": {"title": "\u524a\u9664\u3055\u308c\u307e\u3057\u305f", "comment": "\u6295\u7a3f\u8005\u306b\u3088\u308a\u524a\u9664\u3055\u308c\u307e\u3057\u305f", "password": "a", "name": "", "date": "2017/08/20 20:43", "raw": "a", "number": 11}, "52": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "comment": "

a

", "password": "", "name": "\u7ba1\u7406\u8005", "date": "2017/08/20 20:44", "raw": "a", "number": 18}, "60": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "comment": "

a

", "password": "", "name": "\u7ba1\u7406\u8005", "date": "2017/08/20 20:44", "raw": "a", "number": 26}, "73": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "comment": "

link>>15.

", "password": "", "name": "\u7ba1\u7406\u8005", "date": "2017/08/21 01:33", "raw": "link>>15.", "number": 39}, "2": {"title": "\u30b5\u30f3\u30c9\u30dc\u30c3\u30af\u30b9\u3068\u3057\u3066\u3054\u5229\u7528\u304f\u3060\u3055\u3044", "comment": "

\u63b2\u793a\u677f\u306e\u52d5\u4f5c\u691c\u8a3c\u306b\u4f7f\u3063\u3066\u3044\u305f\u3060\u3051\u307e\u3059\u3002\u843d\u66f8\u304d\u7528\u3067\u3059\u3002\u3054\u9023\u7d61\u306f\u5225\u306e\u30c1\u30e3\u30f3\u30cd\u30eb\u306b\u3069\u3046\u305e\u3002

", "password": "admin", "name": "\u7ba1\u7406\u8005", "date": "2016/12/01 18:32", "raw": "\u63b2\u793a\u677f\u306e\u52d5\u4f5c\u691c\u8a3c\u306b\u4f7f\u3063\u3066\u3044\u305f\u3060\u3051\u307e\u3059\u3002\u843d\u66f8\u304d\u7528\u3067\u3059\u3002\u3054\u9023\u7d61\u306f\u5225\u306e\u30c1\u30e3\u30f3\u30cd\u30eb\u306b\u3069\u3046\u305e\u3002", "number": 1}, "40": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "comment": "

>>1>>2 >>3

", "password": "", "name": "\u8ab0\u304b\u3055\u3093", "date": "2016/12/24 20:03", "raw": ">>1>>2 >>3", "number": 6}, "68": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "comment": "

a

", "password": "", "name": "\u7ba1\u7406\u8005", "date": "2017/08/20 21:36", "raw": "a", "number": 34}, "51": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "comment": "

a

", "password": "", "name": "\u7ba1\u7406\u8005", "date": "2017/08/20 20:44", "raw": "a", "number": 17}, "61": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "comment": "

a

", "password": "", "name": "\u7ba1\u7406\u8005", "date": "2017/08/20 20:44", "raw": "a", "number": 27}, "53": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "comment": "

a

", "password": "", "name": "\u7ba1\u7406\u8005", "date": "2017/08/20 20:44", "raw": "a", "number": 19}, "69": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "comment": "

test>>8desu

", "password": "", "name": "\u7ba1\u7406\u8005", "date": "2017/08/21 00:53", "raw": "test>>8desu", "number": 35}, "66": {"title": "\u524a\u9664\u3055\u308c\u307e\u3057\u305f", "comment": "\u6295\u7a3f\u8005\u306b\u3088\u308a\u524a\u9664\u3055\u308c\u307e\u3057\u305f", "password": "a", "name": "", "date": "2017/08/20 20:45", "raw": "a", "number": 32}, "38": {"title": "\u524a\u9664\u3055\u308c\u307e\u3057\u305f", "comment": "\u6295\u7a3f\u8005\u306b\u3088\u308a\u524a\u9664\u3055\u308c\u307e\u3057\u305f", "password": "b", "name": "", "date": "2016/12/19 17:45", "raw": ">>1 2 >>3", "number": 4}, "55": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "comment": "

a

", "password": "", "name": "\u7ba1\u7406\u8005", "date": "2017/08/20 20:44", "raw": "a", "number": 21}, "72": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "comment": "

a

", "password": "", "name": "\u7ba1\u7406\u8005", "date": "2017/08/21 01:26", "raw": "a", "number": 38}, "47": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "comment": "

a

", "password": "", "name": "\u7ba1\u7406\u8005", "date": "2017/08/20 20:43", "raw": "a", "number": 13}, "48": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "comment": "

a

", "password": "", "name": "\u7ba1\u7406\u8005", "date": "2017/08/20 20:43", "raw": "a", "number": 14}, "46": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "comment": "

a

", "password": "", "name": "\u7ba1\u7406\u8005", "date": "2017/08/20 20:43", "raw": "a", "number": 12}, "71": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "comment": "

a

", "password": "", "name": "\u7ba1\u7406\u8005", "date": "2017/08/21 01:26", "raw": "a", "number": 37}, "43": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "comment": "

\u4e0a\u306e\u8cb4\u5973\u3092\u524a\u9664\u3057\u307e\u3057\u305f

", "password": "", "name": "\u7ba1\u7406\u8005", "date": "2017/08/20 18:34", "raw": "\u4e0a\u306e\u8cb4\u5973\u3092\u524a\u9664\u3057\u307e\u3057\u305f", "number": 9}}, "_default": {"1": {"info name": "info", "title": "pybbs", "bad_words": ["pybbs", "mentenance": false, "kinds": "conf"}}, "bbs3": {}, "index": {}, "bbs": {"1": {"title": "\u3053\u306eBBS\u306f\u3059\u3054\u3044\u3067\u3059\u3002\u3002\u3002\uff20\uff20\uff1b", "comment": "

\u3053\u306e\u63b2\u793a\u677f\u306f\u3059\u3054\u3044\u3067\u3059\u3002\u4f55\u304c\u3059\u3054\u3044\u306e\u304b\u5229\u7528\u8005\u306b\u306f\u308f\u304b\u3089\u306a\u3044\u3067\u3057\u3087\u3046\u3051\u308c\u3069\u3001\u7ba1\u7406\u8005\u306f\u7ba1\u7406\u304c\u3057\u3084\u3059\u3044\u3067\u3059\u3002\u7c21\u5358\u306b\u904b\u7528\u3067\u304d\u307e\u3059\u3002heroku\u3067git\u3059\u308c\u3070\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u30af\u30ea\u30a2\u3057\u3066\u3059\u3050\u4f7f\u3048\u308b\u72b6\u614b\u306b\u306a\u308a\u307e\u3059\u3002\u6c17\u306b\u3057\u306a\u3044\u4eba\u306f\u305d\u306e\u307e\u307e\u4f7f\u3048\u307e\u3059\u3002\r\n

\u3000tornado\u3092\u4f7f\u7528\u3057\u3066\u66f8\u304b\u308c\u305f\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u304c\u5927\u5909\u7c21\u7d20\u3067\u3059\u3002\u306a\u304a\u304b\u3064\u30d6\u30ed\u30b0\u30b7\u30b9\u30c6\u30e0\u306b\u30a2\u30c3\u30d7\u304c\u30b0\u30ec\u30fc\u30c9\u3055\u305b\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002\r\n

\u3000\u63b2\u793a\u677f\u306e\u7ba1\u7406\u306b\u5fc5\u8981\u306a\u62e1\u5f35\u3067\u3059\u304c\u30c1\u30e3\u30f3\u30cd\u30eb\u306e\u8ffd\u52a0\u306f\u7ba1\u7406\u8005\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u8ffd\u52a0\u3057\u305f\u3044URL\u3092\u6253\u3061\u8fbc\u3080\u3060\u3051\u3002\u305d\u3046\u3059\u308c\u3070\u81ea\u52d5\u3067\u4f5c\u6210\u3055\u308c\u305f\u65b0\u3057\u3044\u30c1\u30e3\u30f3\u30cd\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u304f\u308c\u307e\u3059\u3002\r\n

\u3000\u3055\u3042\u4f7f\u3044\u305f\u304f\u306a\u308a\u307e\u3057\u305f\u304b\u3002

", "password": "admin", "name": "\u7ba1\u7406\u8005", "date": "2016/11/22 19:43", "raw": "\u3053\u306e\u63b2\u793a\u677f\u306f\u3059\u3054\u3044\u3067\u3059\u3002\u4f55\u304c\u3059\u3054\u3044\u306e\u304b\u5229\u7528\u8005\u306b\u306f\u308f\u304b\u3089\u306a\u3044\u3067\u3057\u3087\u3046\u3051\u308c\u3069\u3001\u7ba1\u7406\u8005\u306f\u7ba1\u7406\u304c\u3057\u3084\u3059\u3044\u3067\u3059\u3002\u7c21\u5358\u306b\u904b\u7528\u3067\u304d\u307e\u3059\u3002heroku\u3067git\u3059\u308c\u3070\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u30af\u30ea\u30a2\u3057\u3066\u3059\u3050\u4f7f\u3048\u308b\u72b6\u614b\u306b\u306a\u308a\u307e\u3059\u3002\u6c17\u306b\u3057\u306a\u3044\u4eba\u306f\u305d\u306e\u307e\u307e\u4f7f\u3048\u307e\u3059\u3002\r\n\u3000tornado\u3092\u4f7f\u7528\u3057\u3066\u66f8\u304b\u308c\u305f\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u304c\u5927\u5909\u7c21\u7d20\u3067\u3059\u3002\u306a\u304a\u304b\u3064\u30d6\u30ed\u30b0\u30b7\u30b9\u30c6\u30e0\u306b\u30a2\u30c3\u30d7\u304c\u30b0\u30ec\u30fc\u30c9\u3055\u305b\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002\r\n\u3000\u63b2\u793a\u677f\u306e\u7ba1\u7406\u306b\u5fc5\u8981\u306a\u62e1\u5f35\u3067\u3059\u304c\u30c1\u30e3\u30f3\u30cd\u30eb\u306e\u8ffd\u52a0\u306f\u7ba1\u7406\u8005\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u8ffd\u52a0\u3057\u305f\u3044URL\u3092\u6253\u3061\u8fbc\u3080\u3060\u3051\u3002\u305d\u3046\u3059\u308c\u3070\u81ea\u52d5\u3067\u4f5c\u6210\u3055\u308c\u305f\u65b0\u3057\u3044\u30c1\u30e3\u30f3\u30cd\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u304f\u308c\u307e\u3059\u3002\r\n\u3000\u3055\u3042\u4f7f\u3044\u305f\u304f\u306a\u308a\u307e\u3057\u305f\u304b\u3002", "number": 1}}, "bbs2": {}, "info": {"1": {"title": "\u30bf\u30a4\u30c8\u30eb\u306a\u3057.", "comment": "

infomation

", "password": "", "name": "\u7ba1\u7406\u8005", "date": "2017/08/21 21:19", "raw": "infomation", "number": 1}}, "kagawa": {}, "help": {"2": {"time": "2017/09/01 20:29", "comment": "\u6295\u7a3f\u8005\u540d\u306a\u3069\uff1a\u76f8\u8ac7\u5185\u5bb9\uff1a\u305d\u306e\u4ed6\uff1a"}}} \ No newline at end of file diff --git a/templates/help.htm b/templates/help.htm index 4b0d5de..c5f5af7 100644 --- a/templates/help.htm +++ b/templates/help.htm @@ -5,7 +5,7 @@

訪問者の皆さん

{% module xsrf_form_html() %}

お問い合わせ<削除依頼など何でも>

-
+

{{req}}


開発者の皆さん diff --git a/templates/top.htm b/templates/top.htm index 00877f9..3dd3268 100755 --- a/templates/top.htm +++ b/templates/top.htm @@ -23,6 +23,7 @@ {% if name != '' %}

[ {{name}} ] <=info channel {% end %} +

[ help ] <=master