Commit Graph

629 Commits

Author SHA1 Message Date
Srijan Choudhary
76d5dbc97f Take max comments to load from config.js 2014-04-25 01:07:40 +05:30
Srijan Choudhary
8dbf4d5337 Client side changes for new API
* Handle hierarchal comments data format
* New comments fetching parameters: limit, parent, after
* Link to load more comments
2014-04-25 00:09:48 +05:30
Srijan Choudhary
a5d8a0cfe1 Change in API: hidden_replies field instead of passed_replies 2014-04-25 00:09:48 +05:30
Srijan Choudhary
3c3e83b05c Bug in API: Reply count should also filter by the after value passed 2014-04-25 00:09:48 +05:30
Srijan Choudhary
8fdceeaafb Handle edge cases occuring in tests 2014-04-25 00:09:48 +05:30
Srijan Choudhary
71024cea70 API update - new comments format 2014-04-25 00:09:48 +05:30
Martin Zimmermann
d3aa8129c4 Merge branch 'pr/85' 2014-04-24 17:39:31 +02:00
Martin Zimmermann
a753efe42d add doctype and charset 2014-04-24 17:38:53 +02:00
Srijan Choudhary
cb0acc5ac0 Add a basic demo page 2014-04-24 01:22:30 +05:30
Martin Zimmermann
087b9e98ff fix tx-push script to work with GNU mktemp 2014-04-23 10:24:29 +02:00
Martin Zimmermann
b9102b44e2 fix russian translation for "Anonymous" 2014-04-23 10:23:55 +02:00
Martin Zimmermann
9706d7df12 ... but Travis does not ship Python 3.4 2014-04-21 10:53:47 +02:00
Martin Zimmermann
f48cbf65b0 add Python 3.4 to Tox and Travis CI 2014-04-21 10:43:51 +02:00
Martin Zimmermann
26cc7eb634 Merge branch 'feature/79', closes #79 2014-04-21 10:37:59 +02:00
Martin Zimmermann
344f94e5a0 rm forward (reference) arrow 2014-04-21 10:27:37 +02:00
Martin Zimmermann
1e5878bec3 auto-correct wrong/invalid parent to max nesting level of 1 2014-04-21 10:23:45 +02:00
Martin Zimmermann
ce14726f2f set parent to null if parent is not top-level comment 2014-04-20 18:24:00 +02:00
Martin Zimmermann
24adafa25b increase db version after migration 2014-04-20 16:38:13 +02:00
Martin Zimmermann
9ee0a1a2eb reply to comment now nests to max. level of 1, part of #79 2014-04-20 16:30:18 +02:00
Martin Zimmermann
5d2daa1244 add db migration, part of #79 2014-04-20 15:39:43 +02:00
Martin Zimmermann
1253d40422 Merge branch 'fix/issue-77' 2014-04-09 10:40:31 +02:00
Martin Zimmermann
f09b6b9bdb preserve line breaks when editing comments, finally closes #77 2014-04-09 10:34:13 +02:00
Martin Zimmermann
748da790da Merge branch 'fix/issue-77' 2014-03-29 18:50:16 +01:00
Martin Zimmermann
13d979e290 Back to development: 0.8.3 2014-03-29 18:48:26 +01:00
Martin Zimmermann
16d79891da Preparing release 0.8.2 2014-03-29 18:48:06 +01:00
Martin Zimmermann
4444abc3d6 Merge branch 'fix/issue-77' into legacy/0.8 2014-03-29 18:47:43 +01:00
Martin Zimmermann
5ab3a7bed4 remove white-space: pre, closes #77 2014-03-29 18:47:02 +01:00
Martin Zimmermann
d6237de982 Back to development: 0.8.2 2014-03-29 13:14:08 +01:00
Martin Zimmermann
d5f3a118bb Preparing release 0.8.1 2014-03-29 13:13:42 +01:00
Martin Zimmermann
3fc52b94b9 Merge branch 'hotfix/origin-fallback' 2014-03-29 13:13:26 +01:00
Martin Zimmermann
52c41eef44 Merge branch 'hotfix/origin-fallback' into legacy/0.8 2014-03-29 13:13:20 +01:00
Martin Zimmermann
0509e15f67 clarify [general] host usage a bit 2014-03-29 12:58:41 +01:00
Martin Zimmermann
765a91fefb return first item of [general] -> host if origin is hidden
A minor regression introduced by the latest refactorings. A functional
test is now included. Only affects Firefox users that use non-SSL and
supress their HTTP Referer completely
2014-03-29 12:58:08 +01:00
Martin Zimmermann
cef44ab0ad Back to development: 0.9 2014-03-28 13:36:16 +01:00
Martin Zimmermann
87179fe8fa Preparing release 0.8 2014-03-28 13:36:04 +01:00
Martin Zimmermann
e60ebfbdca correct manpage title 2014-03-28 13:34:24 +01:00
Martin Zimmermann
eeebb4c34c fix coverage generation 2014-03-28 13:20:55 +01:00
Martin Zimmermann
c4430c857c add test for database migration 2014-03-28 13:20:43 +01:00
Martin Zimmermann
6bb8207236 update changelog 2014-03-28 12:54:22 +01:00
Martin Zimmermann
b199651548 run testsuite via setuptools 2014-03-28 12:28:52 +01:00
Martin Zimmermann
0233619d35 mv specs/ to tests/ 2014-03-28 12:20:37 +01:00
Martin Zimmermann
fb68f9a820 adjust coverage generation a bit 2014-03-28 12:18:44 +01:00
Martin Zimmermann
5166e69265 remove doctest-ignore-unicode dependency 2014-03-28 12:09:14 +01:00
Martin Zimmermann
4fa0f0d8ea fix server time offset calculation for IE10 2014-03-28 11:48:29 +01:00
Martin Zimmermann
e393711859 use HTTP_REFERER as fallback if HTTP_ORIGIN is not sent
Also refactor those function a bit and move doctests into a separate
module.
2014-03-28 11:48:26 +01:00
Martin Zimmermann
09451ff707 replace textarea with a content-editable div
Mainly because of the sluggish auto-resize "feature" which comes for
free when using a content-editable div.

If you use a custom CSS, make sure you replace textarea (element with
.textarea (class) and set `white-space: pre`.
2014-03-27 14:29:56 +01:00
Martin Zimmermann
638ddc6359 pass event through for $.on 2014-03-27 09:53:07 +01:00
Martin Zimmermann
dd0837c0f7 remove superscript extension from Markdown
Unexpected behavior for popular smileys like "^^" which does not render
properly and thus, needs to be escaped (like \^\^). If you want to
re-enable superscript, add

    [markup]
    options = superscript
    allowed-elements = sup

to your configuration.
2014-03-25 23:03:33 +01:00
Martin Zimmermann
103e68e27b update changelog 2014-03-25 19:19:06 +01:00
Martin Zimmermann
78b34ecdd2 return only publicely visible comments on /count
A regression introduced by 5ce48de.
2014-03-25 19:01:07 +01:00