Git Product home page Git Product logo

cpedialog's Introduction

HubPress

What Is HubPress?

editor

HubPress is a free, open source tool you can use to build a rich, AsciiDoc based blog using GitHub Pages!

Created and maintained by Anthonny Quérouil (twitter @anthonny_q).

Note
While HubPress may appear feature-complete, it is actually in Tech Preview. Bugs are inevitible, so if you find something is not behaving the way you think it should, please raise a bug and the project team will address it as soon as possible.

Documentation is rapidly evolving as the project gains momentum. Check back regularly for more tips on how to use HubPress. If you see something wrong with the documentation, please raise a bug. Your help with improving every aspect of HubPress is greatly appreciated. Pull Requests are always welcome.

Browser compatibility

HubPress is compatible with Chrome Desktop, Firefox Desktop, and Chrome for Android.

Chrome Beta for Android will be fully compatible soon, but is not currently supported because of bugs with IndexedDB. While using HubPress Preview, use Chrome for Android only.

Getting Started

Installation

Fork the repository

Click the Fork icon Fork to create a copy of this repository within your GitHub account.

Use the github.io domain

If you have never used your GitHub Pages domain before, you can use this procedure to quickly set up HubPress. With this method, only a few steps are required to get HubPress deployed and ready for use.

Important
If you are currently using your username.github.io GitHub Pages domain for another project, or if you want to use a custom domain name, skip to the next procedure for instructions.
  1. Rename your repository to <username>.github.io

  2. Set values in hubpress/config.json

    Edit config

    The following parameters are mandatory :

    • username, which is your GitHub user name,

    • repositoryName, which is the new name of the repository fork, <username>.github.io.

  3. Commit the changes, and open the GitHub Pages domain: https://<username>.github.io/.

  4. The following screen indicates you have correctly configured HubPress

    Install complete

Use a Custom Domain or GitHub Page Domain Already In Use

If you want your blog to be available on a custom domain, or you are already using your GitHub Pages domain to host another project, some extra configuration is required.

  1. In the repository settings, set the default branch to gh-pages :

    Settings gh-pages

  2. Switch your repository to the branch gh-pages

    Install complete

  3. Set the required values in `hubpress/config.json

    Edit config

    The following parameters are mandatory :

    • username, which is your GitHub user name,

    • repositoryName, which is the repository fork. For example, hubpress.io if you did not rename it.

  4. Commit the changes, and open the GitHub Pages domain: https://<username>.github.io/<repositoryName>/.

  5. The following screen indicates you have correctly configured HubPress

    Install complete

Administration Console

The HubPress Administration Console is available at /hubpress

Log Into the Administration Console

Install complete

Enter your GitHub credentials to log into HubPress Admin.

Once you authenticate, a personal token is created for future calls from HubPress to the GitHub API.

This is synchronized across all sessions of HubPress, so if you open the Administration Console on your PC and then your Tablet, the token is applicable to all devices.

Settings Page

You can configure basic blog settings (such as CNAME and Pagination) and social media accounts you want to connect to your blog.

Meta

This section contains basic information configured in the /hubpress/config.json file.

The following fields are configurable:

Git CNAME

Lets you specify a custom domain name for your blog. See Setting Up A Custom Domain for instructions about setting up a CNAME for your blog.

Live Preview Render Delay

Controls how long the live render takes to refresh, in milliseconds. For fast typists, setting this field to a value over 2000 (two seconds) will result in a smoother editing experience because the live preview will not be regenerated so frequently. Setting this value below 2000 will result in the live preview refreshing faster, but may result in some visible cursor delay when typing.

Site

Title and Description

The Title and Description fields allow you to give your blog a name, and tell visitors what they can expect from your blog posts.

The Logo and Cover Image fields can be used the following ways:

  • A HTML link to an image hosting service. For example gravatar.

  • A link to an image committed to the /images directory of your blog repository.

Note
See the /images/README.adoc file for tips about embedding images into your blog posts.
Theme

The Theme is selectable from the list of themes stored in the /themes directory. Specify it according to it is spelled in it’s containing folder.

Google Analytics

The Google Analytics field takes the unique Google Analytics code generated for the site.

Disqus Shortname

The Disqus shortname field takes your Disqus URL/shortname that is specified when you register a new site for Disqus. Only the shortname is required, not a link to your profile page.

Social Network

All fields in this group require full URLs to your public profile page. The way these values are rendered on your blog depends on the theme selected.

Managing Posts

When you first start HubPress, the Posts view is empty. As you create blog posts, the page populates with the list of posts on the left, and a live preview of the blog post itself on the right.

Writing A Blog Post with HubPress

Note
If you have never used AsciiDoc before to write content, the AsciiDoctor Writer’s Guide should be your first stop in your journey. The guide provides both basic and advanced mark-up examples for you to copy and use.

HubPress Editor displays the AsciiDoc code on the left, and the live preview on the right.

Blog Title, and Headings

The blog title is always Level 1 in an AsciiDoc post. For example, = Blog Title sets the name of the Blog Post to Blog Title.

A = Blog Title is required for saving it successfully.

If you want a first-level heading you use == First Level Heading, and so on to create other nested headings.

HubPress Parameters

HubPress allows you to alter characteristics of each blog post using attributes.

:hp-image: for Blog Post Cover Images

If you want to add a cover image to your Blog Post, set the hp-image attribute.

  1. :hp-image: Example

= Blog Title
:hp-image: a-cover-image.jpg
Note
Because HubPress defaults the /images directory as the root for all images, you only need to declare the filename of the image. Because of this, you may want to consider creating a /covers directory in your repository to group the cover images together. Naming the cover images consistently will make it very easy to apply to every post. If you have a theme to your blog, this allows your readers to get a visual clue as to what the post is about.

The themes that currently support blog post cover images are:

  • Saga

:published_at: to alter the Publication Date

By default, the publication date is the date you created the Blog Post. You can force the publication date by adding the :published_at: attribute.

  1. :published_at: Example

= Blog Title
:published_at: 2015-01-31

:hp-tags: for Metadata Tags

Note
Categories are not supported.

Add tags by using the hp-tags attribute.

  1. :hp-tags: Example

= Blog Title
:hp-tags: HubPress, Blog, Open Source,

:hp-alt-title: to Specify an Alternative Title

Specify an alternative title using the hp-alt-title attribute.

The alternative title is used instead of the HTML file name generated by HubPress.

  1. :hp-alt-title: Example

= 大千世界
:hp-alt-title: My English Title

Adding Images

Push Images to GitHub Repository

You can use Git command line or a Git app to add images to your blog posts:

  1. Commit images to the /images directory.

  2. In your blog post, use the following basic AsciiDoc syntax:

    image::<filename>[]
  3. See http://asciidoctor.org/docs/asciidoc-writers-guide/ for complex examples of Image syntax.

If you are embedding images from a hosted source — such as instagram, another GitHub repository, or any photo hosting sites — put the full URL to the image in place of the <filename>.

Hosted Image Embed
image::http://<full path to image>[]
Using GitHub Issues as an Image Hosting Container

You can use a single issue as an image container for a blog post containing many issues by uploading multiple images as comments. Alternatively, you can use multiple issues to store individual images. Whatever works best for you, and your organization style. Watch this five minute video for a demonstration about how to use GitHub Issues and Cloud Hosting services as embed targets, and some bonus tips on using the image AsciiDoc syntax.

Embedding Videos

HubPress allows you to embed video directly into your blog post by using a quick notation in your blog post. You don’t need to put it the full URL: all you need is the unique video ID.

video::[unique_youtube_video_id][youtube | vimeo]
YouTube Video Embed
video::KCylB780zSM[youtube]
Vimeo Video Embed
video::67480300[vimeo]

Updating HubPress

Because HubPress is hosted on GitHub, you can update by pulling down the latest changes from the HubPress master repository.

To learn how to do this correctly (there’s a trick to it the first time you pull changes from upstream), you can watch the following video to learn the correct process.

Troubleshooting

If something is not working as you expect, some of these tips may help.

Resetting Blog Database on Android

Sometimes the HubPress local database becomes out-of-sync with your published blog. This can happen because you are editing your blog on your PC, then switch over to your tablet.

HubPress works on a locally-stored database specific to your Browser, so if you switch devices — and subsequently switch browsers — you lose the synchronicity between browsers.

To return your instance of HubPress to that of the published blog, clear the browser Cache and Data in Settings > Apps. When you do this, HubPress is forced to rebuild the local database, and will reflect the state of the blog in GitHub.

Credits

Thanks to Jared Morgan for initially tidying up the README you see here, and continuing to be the "docs guy" for HubPress. Thanks to takkyuuplayer, hinaloe to have translated the README into Japanese

cpedialog's People

Watchers

 avatar

cpedialog's Issues

xss

顶部搜索框搜索 "><script>alert(document.cookie)<%2Fscript><br"


Original issue reported on code.google.com by [email protected] on 3 Aug 2009 at 4:30

System configuration中的Posts num per page设置项不起作用

Preconditions:
假设当前有3篇weblog

What steps will reproduce the problem?
1. 进入System configuration,修改Posts num per 
page并保存,之前值是10,改为
2,保存之。
2. 进入首页,刷新

What is the expected output? What do you see instead?
首页显示的blog并没有根据Posts num per 
page的设置进行显示,仍然显示3篇。只有
通过添加一篇blog,重新进入首页后,才会根据新的Posts num 
per page值进行对应
的显示,即每页两篇,一共两页。

还有一个问题,就是分页显示似乎不对,例如当前4篇blog,应
分成两页,每页2篇,
但是首页却显示出当前一共有3页。见附件。


Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 25 Aug 2008 at 1:46

Attachments:

web页面中太多从网络获取的东西

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
是否考虑将从网络中获取的东西放到工程里面来。例如yui的��
�关js和css,好像还有
一些数据都需要从cpedialog.appspot.com里面获取。都从本地获取��
�件的话,调试的
时候会比较方便。

Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 25 Aug 2008 at 1:29

Click to edit在IE6(XPSP3)下不能工作,点了没反应

What steps will reproduce the problem?
1. Click Feeds in Configration page
2. click the title of feeds, nothing happenes
3. click the url or valid field, nothing happenes either

What is the expected output? What do you see instead?
It's must show a edit form, but I see nothing

What version of the product are you using? On what operating system?
I forgot, maybe the latest

Please provide any additional information below.

other tabs have the same problem

Original issue reported on code.google.com by [email protected] on 4 Apr 2009 at 6:07

最新的源码无法运行

What steps will reproduce the problem?
1. 通过SVN下载最新源码
2. 通过PyDev在Eclipse里面配置
3. 启动时报一下错误:
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "C:\Program Files\Google\google_appengine\dev_appserver.py", line 
60, in <module>
    run_file(__file__, globals())
  File "C:\Program Files\Google\google_appengine\dev_appserver.py", line 
57, in run_file
    execfile(script_path, globals_)
  File "C:\Program 
Files\Google\google_appengine\google\appengine\tools\dev_appserver_main.py"
, line 463, in <module>
    sys.exit(main(sys.argv))
  File "C:\Program 
Files\Google\google_appengine\google\appengine\tools\dev_appserver_main.py"
, line 385, in main
    SetGlobals()
  File "C:\Program 
Files\Google\google_appengine\google\appengine\tools\dev_appserver_main.py"
, line 81, in SetGlobals
    from google.appengine.tools import appcfg
  File "C:\Program 
Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 37, 
in <module>
    import optparse
  File "C:\Python25\lib\optparse.py", line 404, in <module>
    _builtin_cvt = { "int" : (_parse_int, _("integer")),
  File "C:\Python25\lib\gettext.py", line 566, in gettext
    return dgettext(_current_domain, message)
  File "C:\Python25\lib\gettext.py", line 530, in dgettext
    codeset=_localecodesets.get(domain))
  File "C:\Python25\lib\gettext.py", line 465, in translation
    mofiles = find(domain, localedir, languages, all=1)
  File "C:\Python25\lib\gettext.py", line 437, in find
    for nelang in _expand_lang(lang):
  File "C:\Python25\lib\gettext.py", line 131, in _expand_lang
    from locale import normalize
ImportError: cannot import name normalize


What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 23 Mar 2009 at 2:01

lost_password blank page

It results in a blank page, it does not work. I didn't get a chance to dig or 
find out why but I'm sure 
you will.

Original issue reported on code.google.com by bbddb4 on 3 Jan 2010 at 5:53

cpedialog 1.0 doesn't work for me.

What steps will reproduce the problem?
1. I just typed python appcfy.py /path/to/cpidialog
2. Then in the console it displays """
Uploading index definitions.
Error 400: --- begin server output ---
Creating a composite index failed: This index:
entity_type: "Archive"
ancestor: false
Property {
  name: "date"
  direction: 2
}

is not necessary, since single-property indices are built in. Please remove
it from your index file and upgrade to the latest version of the SDK, if
you haven't already.
"""
3. And then I go to my app index, the browser tells me """
Traceback (most recent call last):
  File
"/base/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line
507, in __call__
    handler.get(*groups)
  File "/base/data/home/apps/nextstopheaven/2.337924679879795810/blog.py",
line 86, in get
    obj_page = util.getBlogPagination(page)
  File "/base/data/home/apps/nextstopheaven/2.337924679879795810/util.py",
line 130, in getBlogPagination
    obj_page  =  YUIPaginator(blogs_query,page,cpedialog.num_post_per_page)
  File
"/base/data/home/apps/nextstopheaven/2.337924679879795810/cpedia/pagination/GqlQ
ueryPaginator.py",
line 33, in __init__
    self.count = int(gqlQuery.count())
  File "/base/python_lib/versions/1/google/appengine/ext/db/__init__.py",
line 1552, in count
    result = raw_query.Count(limit=limit)
  File "/base/python_lib/versions/1/google/appengine/api/datastore.py",
line 1086, in Count
    raise _ToDatastoreError(err)
NeedIndexError: no matching index found.
"""



What version of the product are you using? On what operating system?

cpedialog 1.0

Python 2.6.2
Ubuntu 9.04
GAE 1.2.7

Original issue reported on code.google.com by [email protected] on 22 Nov 2009 at 5:33

Some "redirect" calls are not followed by "return"

When handling errors, the program should return after redirect, unless 
it's at the bottom of method definition. One example: copy and paste a 
permanent url to the browser, append "aaa" after it so that it does not 
match any existing perm-url, the program crashes instead of redirectly the 
browser to "/".

I have patched what I can find, and suggest it to be included in next 
release.

Original issue reported on code.google.com by [email protected] on 29 Jan 2009 at 10:53

Attachments:

Images admin not showing images or javascript table

What steps will reproduce the problem?
1. Log in as admin
2. Go to admin console
3. Select 'Images' tab

What is the expected output? What do you see instead?

Expect to see YUI Datatable representing uploaded images using blog posting
tool.  Don't see any table.  Appears this is broken in this release.

What version of the product are you using? On what operating system?

Current version from Google Code, running on GAE.

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 22 Mar 2009 at 12:25

Attachments:

Dates display incorrectly

What steps will reproduce the problem?
1. Write a blog entry
2. The date shown will be incorrect, a numerical month has been used
instead of the day.

I have made changes to correct this myself, may save you some time:
http://github.com/woodenbrick/cpe_wedding/commit/3ce0e7a62b24024cbd8da74d577ca86
c9d24cc04



Original issue reported on code.google.com by [email protected] on 23 Jan 2009 at 1:41

文章计算器删除文章后不能减一

What steps will reproduce the problem?
1. 删除一篇文章
2. 被删除文章的月份文章数目没有减一


What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 10 Sep 2008 at 9:42

TimeZone support problem.

What steps will reproduce the problem?
Currently, cpedialog does not support timezone setup.
All the time are UTC based.


What is the expected output? What do you see instead?
We need to consider use pytz(http://pytz.sourceforge.net/) or some other
approach(maybe just hour adjust.) to resolve this problem.

pytz: more than 500 files!

Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 2 Sep 2008 at 6:17

页面右上角的search,能否改为默认search当前blog

What steps will reproduce the problem?
1. 打开页面,右上角输入框中输入想搜索的数据
2. 输入完毕后,直接敲回车
3. 新页面打开,是google search的result

What is the expected output? What do you see instead?
能否改成敲击回车后,默认搜索的是当前blog的内容,感觉这�
��比较符合使用习惯。

Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 27 Aug 2008 at 9:34

新安装的程序没有办法进入管理界面

What steps will reproduce the problem?
1. 新安装的程序li-jun.appspot.com
2. 登录之后没有管理链接,也没有办法发帖或者写新页面
3. 我把这个app连接到一个Google App上了,会不会是这个原因?

What is the expected output? What do you see instead?
当让需要进入管理界面了。

What version of the product are you using? On what operating system?
最新版本,下载时间为2009-03-19

Please provide any additional information below.
没有了


Original issue reported on code.google.com by [email protected] on 19 Mar 2009 at 2:43

Dates are not specific to the owner's time zone.

What steps will reproduce the problem?
1. Create a blog.
2.
3.

What is the expected output? What do you see instead?
I would expect to be able to enter my timezone in the admin and it would
put the correct times on my new posts.  Instead it's wherever the server
is, which was 5 hours off from mine.

What version of the product are you using? On what operating system?


Please provide any additional information below.
This app is awesome. Thank you to all of the developers that contributed.

Original issue reported on code.google.com by [email protected] on 17 Sep 2008 at 2:21

上传后,首页出错

What steps will reproduce the problem?
1. 上传后,首页出错

What is the expected output? What do you see instead?

116.22.91.14 - - [02/09/2008:01:34:46 -0700] "GET /index.html HTTP/1.1" 0 
0 - -E 09-02 01:34AM 46.134 
<type 'exceptions.ImportError'>: No module named util
Traceback (most recent call last):
  File "/base/data/home/apps/iter/1.2/main.py", line 23, in <module>
    import rpc
  File "/base/data/home/apps/iter/1.2/rpc.py", line 36, in <module>
    import util

What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 2 Sep 2008 at 8:49

标题如果为日语的时候,无法发布

What steps will reproduce the problem?
1. 标题为日语,比如“あいうえお”
2. 然后预览
3. 然后发布。会得到提示“ Generate permanent link for blog error, 
please
retry it. ”

What is the expected output? What do you see instead?
“ Generate permanent link for blog error, please retry it. ”

What version of the product are you using? On what operating system?
Server:GAE

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 8 Oct 2009 at 4:58

Attachments:

Sign up form - Google Chrome not able to select list of country and birthday

What steps will reproduce the problem?
1. Sign up
2.
3.

What is the expected output? What do you see instead?
To select country and birthday

What version of the product are you using? On what operating system?
Windows XP service pack 3

Please provide any additional information below.
Google Chrome not able to see the list of country and birthday (year, 
month, day).
Firefox and IE have non problem.


Original issue reported on code.google.com by [email protected] on 13 Dec 2008 at 3:39

开发RPC服务

使cpedialog能支持离线BLOG发布软件和第三方图片托管商的"Publis
h to Blog"功能.

Original issue reported on code.google.com by [email protected] on 4 Sep 2009 at 9:20

a bug on the blog datetime formatting

blog_main.html, blog_main_month.html, blog_view.html

has this bug that show the blog date in wrong format.

the result would show the month in long and short form.

It should be changed to 

<H2 class=date-header> {{blog.date|date:"l, j F , Y"}} </H2>

Original issue reported on code.google.com by [email protected] on 14 Jan 2009 at 3:07

system configuration中的recaptcha_public_key和recaptcha_private_key输入框不可用的情况仍然存在

What steps will reproduce the problem?
1. 进入system configuration后,选择第一个tab "system"
2. 修改某些内容,并保存
3. 
提示保存成功,recaptcha_public_key和recaptcha_private_key仍然是灰色
,需
要刷新页面才行。

What is the expected output? What do you see instead?
是否能这样,当保存设置成功后,刷新当前页面。因为,例��
�修改了"Logo Images",
保存完成后,却看不到已经apply的新logo 
image,若保存完毕刷新,则没有这个问题了。

Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 27 Aug 2008 at 9:17

Update does not work

I followed the instructions.

I get the following error:

Traceback (most recent call last):

    File "/base/python_lib/versions/1/google/appengine/ext/webapp/init.py",
line 498, in call

        handler.get(groups) 

    File "/base/data/home/apps/hlabsblog/1.330079895166875385/blog.py",
line 85, in get

        obj_page = util.getBlogPagination(page) 

    File "/base/data/home/apps/hlabsblog/1.330079895166875385/util.py",
line 127, in getBlogPagination

        obj_page =
GqlQueryPaginator?(blogs_query,page,cpedialog.num_post_per_page).page() 

    File
"/base/data/home/apps/hlabsblog/1.330079895166875385/cpedia/pagination/GqlQueryP
aginator?.py",
line 32, in init

        self.count = int(gqlQuery.count()) ##todo:google GqlQuery? has 1000
records limit. 

    File "/base/python_lib/versions/1/google/appengine/ext/db/init.py",
line 1353, in count

        return self.get_query().Count(limit=limit) 

    File "/base/python_lib/versions/1/google/appengine/api/datastore.py",
line 960, in Count

        raise ToDatastoreError?(err) 

    File "/base/python_lib/versions/1/google/appengine/api/datastore.py",
line 1637, in ToDatastoreError?

        raise errors[err.application_error](err.error_detail) 

NeedIndexError?: no matching index found.

please advise

Email: [email protected]

Original issue reported on code.google.com by [email protected] on 18 Dec 2008 at 11:47

iframe not work

What steps will reproduce the problem?
1. <iframe src="http://a.forecabox.com/get/4157" width="728" height="90" 
marginwidth="0" marginheight="0" frameborder="0" scrolling="no" 
allowtransparency="true"></iframe>

What is the expected output? What do you see instead?
http://a.forecabox.com/get/4157 should dispaly.

What version of the product are you using? On what operating system?
cpedialog_20081112_1.0_patched.zip, Vista

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 6 Jan 2009 at 2:50

Problem with installation

HI. Nice application.

However i keep getting the following application error.

Traceback (most recent call last):
  File
"/base/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line
499, in __call__
    handler.get(*groups)
  File "/base/data/home/apps/hds/1.3/blog.py", line 85, in get
    obj_page = util.getBlogPagination(page)
  File "/base/data/home/apps/hds/1.3/util.py", line 127, in getBlogPagination
    obj_page  = 
GqlQueryPaginator(blogs_query,page,cpedialog.num_post_per_page).page()
  File
"/base/data/home/apps/hds/1.3/cpedia/pagination/GqlQueryPaginator.py", line
35, in __init__
    self.object_list = gqlQuery.fetch(per_page,bottom)
  File "/base/python_lib/versions/1/google/appengine/ext/db/__init__.py",
line 1311, in fetch
    raw = self._get_query().Get(limit, offset)
  File "/base/python_lib/versions/1/google/appengine/api/datastore.py",
line 927, in Get
    return self._Run(limit, offset)._Next(limit)
  File "/base/python_lib/versions/1/google/appengine/api/datastore.py",
line 876, in _Run
    str(exc) + '\nThis query needs this index:\n' + yaml)
NeedIndexError: no matching index found.
This query needs this index:
- kind: Weblog
  properties:
  - name: entrytype
  - name: date
    direction: desc

What am i doing wrong.

Original issue reported on code.google.com by [email protected] on 28 Aug 2008 at 4:44

system configration里面的tab "pages"没有 save 按钮

What steps will reproduce the problem?
1. 
操作后发现,其实只要修改了数据,即被保存,但是没有save�
��钮,感觉有些怪。
2. 
而且保存过后,页面也没有刷新,用户不知道是否修改成功��
�只有刷新过后才能看
到结果。


Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 27 Aug 2008 at 9:22

Date starts at Jan 1 2009

What steps will reproduce the problem?
1. Download and install cpedia.  I did this today (1/27/09)
2. Post a new blog (yay, first post)
3. View date

What is the expected output? What do you see instead?
I expected to see today's date.

What version of the product are you using? On what operating system?
mmmm... whatever was current today.  I uploaded from Windows but not sure
that's relevant.

Please provide any additional information below.


Original issue reported on code.google.com by chris%[email protected] on 27 Jan 2009 at 5:03

Recaptcha public key和Recaptcha private key不可编辑

What steps will reproduce the problem?
1. 进入http://localhost:8080/admin,选择"system"
2. 此时Recaptcha public key和Recaptcha private 
key是可编辑的,修改system
configuration的设置后,点击"Save",提示保存系统设置成功。
3. 此时Recaptcha public key和Recaptcha private 
key变为不可编辑,需要刷新页
面,两输入框才重新进入可编辑状态。 

What is the expected output? What do you see instead?
不知道这两个输入框的设置有什么具体含义。

Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 25 Aug 2008 at 1:34

发现了一个小问题。

我在几天内发的文章,日期都是显示的2009年01月01日。
这个也算是个Bug么?

这个应该是日期的问题吧?

Original issue reported on code.google.com by [email protected] on 10 Jan 2009 at 6:32

作者在所有的模板中加入自己的adsense广告?

我试用安装了一下,发现作者竟然在模板中加入自己的adsense�
��告,后台也
没有控制的地方,这点我坚决不能接受,于是马上删除。

或者我冤枉作者了?

Original issue reported on code.google.com by surftheair on 31 Dec 2008 at 2:26

get an error when access the layout management page

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.
Traceback (most recent call last):
  File
"/base/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line
501, in __call__
    handler.get(*groups)
  File
"/base/data/home/apps/codingmyself/2.335282188432334428/authorized.py",
line 61, in check_login
    return handler_method(self, *args, **kwargs)
  File "/base/data/home/apps/codingmyself/2.335282188432334428/admin.py",
line 252, in get
    self.generate('admin/admin_layout.html',template_values)
  File "/base/data/home/apps/codingmyself/2.335282188432334428/admin.py",
line 62, in generate
    view.ViewPage(cache_time=0).render(self, template_name,values)
  File "/base/data/home/apps/codingmyself/2.335282188432334428/view.py",
line 115, in render
    output = self.render_or_get_cache(handler, template_file, params)
  File "/base/data/home/apps/codingmyself/2.335282188432334428/view.py",
line 108, in render_or_get_cache
    return self.full_render(handler, template_file, template_params)
  File "/base/data/home/apps/codingmyself/2.335282188432334428/view.py",
line 88, in full_render
    return template.render(template_file, template_params,
debug=cpedialog.debug)
  File
"/base/python_lib/versions/1/google/appengine/ext/webapp/template.py", line
80, in render
    t = load(template_path, debug)
  File
"/base/python_lib/versions/1/google/appengine/ext/webapp/template.py", line
108, in load
    template = django.template.loader.get_template(file_name)
  File
"/base/python_lib/versions/third_party/django-0.96/django/template/loader.py",
line 80, in get_template
    template = get_template_from_string(source, origin, template_name)
  File
"/base/python_lib/versions/third_party/django-0.96/django/template/loader.py",
line 88, in get_template_from_string
    return Template(source, origin, name)
  File
"/base/python_lib/versions/third_party/django-0.96/django/template/__init__.py",
line 158, in __init__
    self.nodelist = compile_string(template_string, origin)
  File
"/base/python_lib/versions/third_party/django-0.96/django/template/__init__.py",
line 174, in compile_string
    return parser.parse()
  File
"/base/python_lib/versions/third_party/django-0.96/django/template/__init__.py",
line 273, in parse
    compiled_result = compile_func(self, token)
  File
"/base/python_lib/versions/third_party/django-0.96/django/template/loader_tags.p
y",
line 172, in do_include
    return ConstantIncludeNode(path[1:-1])
  File
"/base/python_lib/versions/third_party/django-0.96/django/template/loader_tags.p
y",
line 87, in __init__
    t = get_template(template_path)
  File
"/base/python_lib/versions/third_party/django-0.96/django/template/loader.py",
line 80, in get_template
    template = get_template_from_string(source, origin, template_name)
  File
"/base/python_lib/versions/third_party/django-0.96/django/template/loader.py",
line 88, in get_template_from_string
    return Template(source, origin, name)
  File
"/base/python_lib/versions/third_party/django-0.96/django/template/__init__.py",
line 158, in __init__
    self.nodelist = compile_string(template_string, origin)
  File
"/base/python_lib/versions/third_party/django-0.96/django/template/__init__.py",
line 174, in compile_string
    return parser.parse()
  File
"/base/python_lib/versions/third_party/django-0.96/django/template/__init__.py",
line 273, in parse
    compiled_result = compile_func(self, token)
  File
"/base/python_lib/versions/third_party/django-0.96/django/template/loader_tags.p
y",
line 172, in do_include
    return ConstantIncludeNode(path[1:-1])
  File
"/base/python_lib/versions/third_party/django-0.96/django/template/loader_tags.p
y",
line 87, in __init__
    t = get_template(template_path)
  File
"/base/python_lib/versions/third_party/django-0.96/django/template/loader.py",
line 79, in get_template
    source, origin = find_template_source(template_name)
  File
"/base/python_lib/versions/third_party/django-0.96/django/template/loader.py",
line 72, in find_template_source
    raise TemplateDoesNotExist, name
TemplateDoesNotExist: include/menu_navigator.html


Original issue reported on code.google.com by [email protected] on 31 Jul 2009 at 8:52

"My Feeds"总是显示Loading...

What steps will reproduce the problem?
1. 进入system configuration
2. enable my feeds并设置上对应的某个feed
3. 保存后,刷新页面

What is the expected output? What do you see instead?
页面中的右侧栏的下部,My 
Feeds总是显示Loading...,不知道是否是问题。看
cpedialog.appspot.com上没有出现类似的问题。

Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 27 Aug 2008 at 9:19

500Error

Traceback (most recent call last):

File "/base/python_lib/versions/1/google/appengine/ext/webapp/__init__.py",
 line 499, in __call__
    handler.get(*groups)
  File "/base/data/home/apps/onlymaomao/1.329234563990752713/blog.py", 
line 85, in get
    obj_page = util.getBlogPagination(page)
  File "/base/data/home/apps/onlymaomao/1.329234563990752713/util.py", 
line 131, in getBlogPagination
    memcache.add(key=key_, value=obj_pages, time=3600)

File "/base/python_lib/versions/1/google/appengine/api/memcache/__init__.py
", line 557, in add
    return self._set_with_policy(MemcacheSetRequest.ADD, key, value, 
time=time)

File "/base/python_lib/versions/1/google/appengine/api/memcache/__init__.py
", line 602, in _set_with_policy
    stored_value, flags = _validate_encode_value(value, self._do_pickle)

File "/base/python_lib/versions/1/google/appengine/api/memcache/__init__.py
", line 170, in _validate_encode_value
    stored_value = do_pickle(value)

File "/base/python_lib/versions/1/google/appengine/api/memcache/__init__.py
", line 274, in DoPickle
    self._pickler_instance.dump(value)
  File "/base/python_dist/lib/python2.5/pickle.py", line 218, in dump
    self.save(obj)
  File "/base/python_dist/lib/python2.5/pickle.py", line 280, in save
    f(self, obj) # Call unbound method with explicit self
  File "/base/python_dist/lib/python2.5/pickle.py", line 643, in save_dict
    self._batch_setitems(obj.iteritems())
  File "/base/python_dist/lib/python2.5/pickle.py", line 680, in 
_batch_setitems
    save(v)
  File "/base/python_dist/lib/python2.5/pickle.py", line 325, in save
    self.save_reduce(obj=obj, *rv)
  File "/base/python_dist/lib/python2.5/pickle.py", line 413, in 
save_reduce
    save(state)
  File "/base/python_dist/lib/python2.5/pickle.py", line 280, in save
    f(self, obj) # Call unbound method with explicit self
  File "/base/python_dist/lib/python2.5/pickle.py", line 643, in save_dict
    self._batch_setitems(obj.iteritems())
  File "/base/python_dist/lib/python2.5/pickle.py", line 675, in 
_batch_setitems
    save(v)
  File "/base/python_dist/lib/python2.5/pickle.py", line 325, in save
    self.save_reduce(obj=obj, *rv)
  File "/base/python_dist/lib/python2.5/pickle.py", line 413, in 
save_reduce
    save(state)
  File "/base/python_dist/lib/python2.5/pickle.py", line 280, in save
    f(self, obj) # Call unbound method with explicit self
  File "/base/python_dist/lib/python2.5/pickle.py", line 643, in save_dict
    self._batch_setitems(obj.iteritems())
  File "/base/python_dist/lib/python2.5/pickle.py", line 675, in 
_batch_setitems
    save(v)
  File "/base/python_dist/lib/python2.5/pickle.py", line 325, in save
    self.save_reduce(obj=obj, *rv)
  File "/base/python_dist/lib/python2.5/pickle.py", line 413, in 
save_reduce
    save(state)
  File "/base/python_dist/lib/python2.5/pickle.py", line 280, in save
    f(self, obj) # Call unbound method with explicit self
  File "/base/python_dist/lib/python2.5/pickle.py", line 643, in save_dict
    self._batch_setitems(obj.iteritems())
  File "/base/python_dist/lib/python2.5/pickle.py", line 675, in 
_batch_setitems
    save(v)
  File "/base/python_dist/lib/python2.5/pickle.py", line 325, in save
    self.save_reduce(obj=obj, *rv)
  File "/base/python_dist/lib/python2.5/pickle.py", line 390, in 
save_reduce
    save(cls)
  File "/base/python_dist/lib/python2.5/pickle.py", line 280, in save
    f(self, obj) # Call unbound method with explicit self
  File "/base/python_dist/lib/python2.5/pickle.py", line 742, in 
save_global
    (obj, module, name))
PicklingError: Can't pickle <type 'instancemethod'>: it's not found as 
__builtin__.instancemethod

Original issue reported on code.google.com by [email protected] on 12 Nov 2008 at 1:11

RPC does NOT work

What steps will reproduce the problem?
1. using third-party application to connect cpedialog
2. select MetaWebLog in API selector (XML-RPC does not work either)
3. enter username and password
4. error occurs:
'RPCHandler' object has no attribute ''
Traceback (most recent call last):
  File
"/base/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line
509, in __call__
    handler.post(*groups)
  File "/base/data/home/apps/coruorg/2.338599139441693373/rpc.py", line
114, in post
    result = getattr(self, action)(request_)
AttributeError: 'RPCHandler' object has no attribute ''


What is the expected output? What do you see instead?
It should get blog information back to 3rd application.
But error occurs instead.

What version of the product are you using? On what operating system?
cpedialog RC2 2.0, revision: 479

Please provide any additional information below.
supposing API URL is http://domain.appspot.com/rpc/ after reading main.py,
line 72.

Original issue reported on code.google.com by [email protected] on 21 Dec 2009 at 7:40

Feed URL is so long that it extends to other column.

What steps will reproduce the problem?
1. Add Feeds
2. set Feed URL
:http://www.infoq.com/cn/rss/rss.action?token=PLScgMPRv9PsIN6ke2OJSavVGPq8jqK5

What is the expected output? What do you see instead?
see the additional file

What version of the product are you using? On what operating system?
cpedialog-1.0

Original issue reported on code.google.com by [email protected] on 2 Sep 2008 at 9:24

Attachments:

提交comments的时候出现错误

What steps will reproduce the problem?
1. 提交comments

What is the expected output? What do you see instead?
提示:

Traceback (most recent call last):
  File "C:\Program
Files\Google\google_appengine\google\appengine\ext\webapp\__init__.py",
line 501, in __call__
    handler.post(*groups)
  File "E:\workspace\cpedialog\blog.py", line 243, in post
    blogReaction.userIp = clientIp
UnboundLocalError: local variable 'clientIp' referenced before assignment



Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 25 Aug 2008 at 2:06

页面右上角的按钮"search site" 和 "seach the web"不可用

What steps will reproduce the problem?
1. 打开首页即可
2. 在右上角的输入框中输入一些数据,希望通过按钮"search 
site"找到相关内容,
但是失败。
3. 点击按钮"search the web",直接raise了一个BadValueError。

What is the expected output? What do you see instead?
如果这两个按钮的功能还没做,不如先disable掉,如何?

Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 25 Aug 2008 at 1:03

Gravatar

我用Gravatar 
注册了,也上传了头像,审核也过了,就是再blog里看不到我的头�
��


Original issue reported on code.google.com by [email protected] on 10 Oct 2008 at 12:34

Using simple Textarea input instead of Richtext Editor possible?


What is the expected output? What do you see instead?
* I would like to use HTML tags like <applet> in the blog entries.

Is it possible to use a simple textarea input without filtering the HTML
instead of the Richtext Editor? In the comments section the "editor
behavior" shouldn't be changed.


Original issue reported on code.google.com by [email protected] on 11 Oct 2008 at 1:03

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.