Commit Graph

864 Commits

Author SHA1 Message Date
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
Martin Zimmermann
1e2efb24b3 remove duplicate test 2014-03-25 18:50:21 +01:00
Martin Zimmermann
5ce48de94a add POST request to get comment counts for multiple URLs
The old way via `GET /count?uri=...` still works, but is now deprecated
and might be removed in future releases.
The new way is much more efficient especially fore multiple listings.

The internal implemention is improvable though.
2014-03-25 18:50:21 +01:00
Martin Zimmermann
0d6d072281 add isso.conf example to source distribution
mv sample configuration to share/
2014-03-25 18:50:18 +01:00
Martin Zimmermann
ce35b9ff0e Merge branch 'doc-improvements' 2014-03-20 17:09:34 +01:00
Martin Zimmermann
da782654b2 remove warning when SMTP is not configured as notifcation backend 2014-03-20 17:07:42 +01:00
Martin Zimmermann
e4ad81cde0 exit if no website(s) are configured and remove default host 2014-03-20 17:07:38 +01:00
Martin Zimmermann
d69bfc2511 fix visual update up/downvote 2014-03-20 16:32:28 +01:00
Martin Zimmermann
0b816a0677 store session-key in database (once generated on db creation), #74
Store a random session key used to sign and verify comment ownership
once the database is initialized, not on every application startup.

Currently fixed session keys in [general] session-key are migrated into
the database on startup. The configuration parser will notice you about
the change and suggest you to remove this option.
2014-03-20 16:32:25 +01:00
Martin Zimmermann
de50c683bc extend installation docs
* add interludium for users new to Python
* include guides for prebuilt packages and building from source
  (obsoletes DEVELOPMENT.md).
2014-03-20 14:18:58 +01:00
Martin Zimmermann
e75fa4b7e1 add target to generate Isso's CSS 2014-03-20 14:18:58 +01:00
Martin Zimmermann
2c2c911ba4 Isso requires SQLite 3.3.8 or later 2014-03-20 14:18:57 +01:00
Martin Zimmermann
ac41731c6a update changelog to reflect latest changes 2014-03-20 14:18:57 +01:00
Martin Zimmermann
5df4b40a1f rewrite Makefile 2014-03-20 14:18:54 +01:00
Martin Zimmermann
b19084b3e2 add manpage stuff 2014-03-19 15:57:54 +01:00
Martin Zimmermann
ad31a67d8f get doc version via installed distribution 2014-03-19 14:00:16 +01:00