Commit Graph

688 Commits

Author SHA1 Message Date
Martin Zimmermann
165caa9620 show all top-level comments (for now)
There is a bug, when you hide N top-level comments, that shows the wrong
comment count. With a JSON API like data structure, the total comment
count can be sent as a different key, related to #96.
2014-05-27 16:17:11 +02:00
Martin Zimmermann
f2aedff1a3 Merge branch 'fix/reference-deleted-comment' 2014-05-27 16:10:50 +02:00
Martin Zimmermann
8fefe3a616 fix hidden reply to deleted comment (and change a few names) 2014-05-27 16:10:15 +02:00
Martin Zimmermann
6bfd1344ba Merge branch 'remove-avatar-preview' 2014-05-27 14:52:40 +02:00
Martin Zimmermann
e1b4ddb123 remove sha1.js and pbkdf2.js, part of #51 2014-05-27 14:35:29 +02:00
Martin Zimmermann
14fac577df fix syntax 2014-05-27 14:27:35 +02:00
Martin Zimmermann
16663d44f8 hide avatar during editing 2014-05-27 14:27:19 +02:00
Martin Zimmermann
0211322915 remove avatar preview in postbox 2014-05-27 13:56:03 +02:00
Martin Zimmermann
7474be12f0 Merge branch 'add-website-field' 2014-05-27 13:44:45 +02:00
Martin Zimmermann
77d40a99eb border-radius only for first and last input 2014-05-27 13:42:07 +02:00
Martin Zimmermann
065460d78a add tests for website validation 2014-05-27 13:33:29 +02:00
Martin Zimmermann
5b0ce6471a add website input 2014-05-27 13:33:16 +02:00
Martin Zimmermann
fd8465eb1c warn about incorrect notification backends, fix #95
SMTP is now also recognized as `smtp`backend. You may use multiple
notification backends (separated by comma). Defaults to `stdout`.
2014-05-27 12:18:40 +02:00
Martin Zimmermann
8cf9ea348e .gitignore /lib64 and /man 2014-05-26 16:03:41 +02:00
Martin Zimmermann
c334655d91 Merge branch 'jade' 2014-05-26 16:02:27 +02:00
Martin Zimmermann
29085979e5 document jade as new (build) dependency 2014-05-26 16:00:28 +02:00
Martin Zimmermann
1a970557b8 add new JS deps to Makefile 2014-05-26 15:57:37 +02:00
Martin Zimmermann
b60dbd3e42 remove old template 'struct' 2014-05-26 15:50:45 +02:00
Martin Zimmermann
608119e8ce add r.js build optimization for jade plugin 2014-05-26 15:47:09 +02:00
Martin Zimmermann
ccf59fba2a initial support for jade
Replace Markup.js with Jade [1] for real templating (like expression
evaluation and sane syntax). Jade compiles directly to JavaScript which
makes it possible to only have Jade as build dependency with a tiny
runtime wrapper for the client (around 40% of Markup.js's size).

Templates are rewritten for Jade but do not use all features from Jade
(such as filters, mixins and includes) for now.

A simple requirejs-jade wrapper to compile Jade during runtime is
already included.

i18n
----

I also rewrote the i18n module and moved translation and pluralization
functions back into the module, thus decoupling it from the previous
markup language. The module now exposes:

  * i18n.translate(msgid) -> string
  * i18n.pluralize(msgid, n) -> string

I18n depends on app/config and thus has access to the user's prefered
language and exposes both function with `i18n.lang` already set. If the
msgid was not found, it returns "???" (like Markup.js).

The pluralization function replaces `{{ n }}` with the function argument
just like with Markup.js (to keep the diffs clean).

[1] http://jade-lang.com/
2014-05-25 23:46:26 +02:00
Martin Zimmermann
7c3bd52821 stub requirejs-text to save ~5kb 2014-05-25 14:59:09 +02:00
Martin Zimmermann
47618d06f2 simplify GH readme to avoid repetition 2014-05-24 16:03:42 +02:00
Martin Zimmermann
fcc4cd63b4 fix #93 2014-05-24 10:34:46 +02:00
Martin Zimmermann
a5e1dcc225 Merge pull request #92 from Schoewilliam/39-84
Issue #49 : Comments thread and submission form now support avatar disabling
2014-05-22 19:44:44 +02:00
Schoewilliam
dd14bb91db #49 : Comments thread and submission form now support data-isso-avatar="false" 2014-05-22 20:06:31 +04:00
Martin Zimmermann
4f98bca202 hide avatars with data-isso-avatar="false", part of #49 2014-05-21 20:38:29 +02:00
Martin Zimmermann
29b4643c5e Merge pull request #91 from Schoewilliam/39-84
Tweaking the submission form — making it responsive
2014-05-21 19:37:34 +02:00
Schoewilliam
34a50910f2 Tweaking the submission form — making it responsive 2014-05-21 21:26:21 +04:00
Martin Zimmermann
c7c7595991 Merge branch 'pr-89' 2014-05-21 16:30:41 +02:00
Martin Zimmermann
9e3d933d82 remove targets to generate CSS from SCSS 2014-05-21 16:30:06 +02:00
Schoewilliam
c2dd9d3bb5 getting rid of SCSS 2014-05-21 18:19:11 +04:00
Martin Zimmermann
fb182ae93f Merge branch 'pr-83', closes #83 2014-05-17 11:07:51 +02:00
Martin Zimmermann
e6fdfb03eb do not limit From: field to email address-only, closes #87
You may now set a full From header, e.g.:

    [smtp]
    from = Foo Bar <spam@local>

If not, the old name "Ich schrei sonst!" is used.
2014-05-15 10:59:39 +02:00
Martin Zimmermann
5c91a84951 fix uWSGI spooling for Python3 2014-05-15 10:41:33 +02:00
Martin Zimmermann
d5e5e9c7e2 use numerical values in default configuration to match user-provided values 2014-05-03 12:00:46 +02:00
Martin Zimmermann
ed810cdf39 fetch all nested comments when set to 'inf' 2014-05-03 12:00:17 +02:00
Martin Zimmermann
324326c2ba translate Hidden to german and french 2014-05-03 11:58:09 +02:00
Martin Zimmermann
f3a7f65687 remove keyworded function arguments and fix JS hints 2014-05-03 11:23:15 +02:00
Martin Zimmermann
59bfde7c03 idiomatic python
* make "process_fetched_list" private
* rename fetch_args to args
* a few logic simplifications
2014-05-03 11:23:12 +02:00
Martin Zimmermann
4ee509ed02 Merge branch 'feature/75', closes #75 2014-05-03 00:33:31 +02:00
Martin Zimmermann
123ea26ca9 handle WP's query-string "pages" and variable WXR namespaces
Site links such as /?p=1234 are imported *as is* and maybe do work in
Isso. Do not use a query-based URL structure as permalinks. Ever.

Also, depending on the pages you are going to export, WXR' XML namespace
may change from ../export/1.0/ to ../export/1.2/. Isso tries to import
any WXR 1.x
2014-05-03 00:16:54 +02:00
Srijan Choudhary
26ae30f76c Update docs 2014-05-03 01:52:32 +05:30
Srijan Choudhary
26d26ae71b Add i18n for "Hidden" 2014-05-03 01:37:28 +05:30
Srijan Choudhary
8879db59b8 Show all comments if limit/nested_limit set as inf 2014-05-03 01:17:11 +05:30
Srijan Choudhary
baef73f1e8 Change default values of config params 2014-05-03 01:16:47 +05:30
Srijan Choudhary
ab927e39d0 Add a reveal on click parameter 2014-05-03 01:16:03 +05:30
Srijan Choudhary
2e2fba89a6 Add some tests 2014-05-03 01:14:33 +05:30
Srijan Choudhary
abc0eaaf1d Handle limit/nested_limit zero
This returns zero comments now
2014-05-03 01:14:23 +05:30
Martin Zimmermann
333bba728b update docs 2014-05-02 11:57:47 +02:00
Martin Zimmermann
346b60a9b3 disqus import imports anonymized IP address now 2014-05-02 11:43:13 +02:00