as_html() in BaseReviewRequestField object rendered as plain text on 3.0.1

2018-01-25 Thread Meng-Zhe Zhang
Hi all. I wrote an extension to add custom links on review pages by overwriting the as_html() method of BaseReviewRequestField object: class JenkinsLinkField(BaseReviewRequestField): field_id = 'jenkins_link' label = 'link' def as_html(self): # example code return

Re: as_html() in BaseReviewRequestField object rendered as plain text on 3.0.1

2018-01-29 Thread Meng-Zhe Zhang
l. Thanks. MZZ Meng-Zhe Zhang於 2018年1月25日星期四 UTC+8下午11時51分18秒寫道: > > Hi all. > > I wrote an extension to add custom links on review pages by overwriting > the as_html() method of BaseReviewRequestField object: > > > class JenkinsLinkField(BaseReviewRequestField): > f

Possible error in the "Extension Configuration" documentation page

2018-04-14 Thread Meng-Zhe Zhang
Dear all: Hi. I recently tried to add a configuration page to an old reviewboard extension. 1. I followed the steps in the extension configuration page: https://www.reviewboard.org/docs/manual/3.0/extending/extensions/configuration/ and had a "*500 Internal server error*" instantly. After som

Re: Possible error in the "Extension Configuration" documentation page

2018-04-15 Thread Meng-Zhe Zhang
confirm the > version of Review Board? That error does not seem right. > > The log location can be customized in Logging Settings. > > Christian > > > On Sat, Apr 14, 2018 at 14:51 Meng-Zhe Zhang > wrote: > >> Dear all: >> >> Hi. I recently trie

Re: Possible error in the "Extension Configuration" documentation page

2018-04-15 Thread Meng-Zhe Zhang
urlpatterns = [ url(r'^$', my_configure),] MZZ Christian Hammond於 2018年4月15日星期日 UTC+8下午11時34分38秒寫道: > > Yeah, the import doesn't work, but our code isn't doing that import. Do > you have a full stack trace of the error I can see? > > Christian >

BaseDateField does not prompt "publish" after date selected in datepicker

2018-04-28 Thread Meng-Zhe Zhang
Hi. I tried to use the BaseDateField class to add a custom field in the review request page. By following the example code in the document, the field shows up as expected. If the date string was manually typed in, it worked ok, just like other built-in fields. However, when the date was picked

Re: BaseDateField does not prompt "publish" after date selected in datepicker

2018-05-02 Thread Meng-Zhe Zhang
; } }, }); return this; }, I wonder if this should be the default behavior of BaseDateField? MZZ 2018/05/02 Meng-Zhe Zhang於 2018年4月28日星期六 UTC+8下午6時24分53秒寫道: > > Hi. I tried to use the BaseDateField class to add a custom field in the > review request page. > > By following the exam

BaseTextAreaField fields content disappears when editing

2018-05-02 Thread Meng-Zhe Zhang
Hi. I am using BaseTextAreaField and have an issue: *environment: * reviewboard 3.0.5, bitnami stack *description:* 1. When a BaseTextAreaField field is edited, the editor interface shows up with no text inside. Original content was supposed to be there, be not. 2. However, If the 'Cancel' but

Re: BaseTextAreaField fields content disappears when editing

2018-05-02 Thread Meng-Zhe Zhang
> > Hmm, that should work. Would you be able to share your extension code (or > at least the failing portion of it)? > > -David > > On Wed, May 2, 2018 at 2:34 AM Meng-Zhe Zhang > wrote: > >> Hi. I am using BaseTextAreaField and have an issue: >> >>