Commit Graph

1158 Commits

Author SHA1 Message Date
Martin Zimmermann
460db1dd1e update landing page 2014-05-29 13:32:15 +02:00
Martin Zimmermann
a741c62cd6 use python-passlib fallback on Debian 2014-05-29 13:12:35 +02:00
Martin Zimmermann
211f637569 remove Django's PBKDF2 in favour of werkzeug.security.pbkdf2_hex 2014-05-29 12:38:46 +02:00
Martin Zimmermann
932274921c extend FastCGI deployment example with virtualenv 2014-05-29 11:59:00 +02:00
Martin Zimmermann
64054ec029 remove unused code, fix pyflakes and jshint hints 2014-05-28 11:05:10 +02:00
Martin Zimmermann
8c6a7e209e pin versions for Squeeze and Wheezy, also remove py26 from default run
Python2.6 is EOL and my distributions is about to remove it. Travis CI
uses Ubuntu 12.04 LTS and can still test Python2.6 for at least three
years.
2014-05-28 10:12:58 +02:00
Martin Zimmermann
94ee6a6981 use el.on("click") to load more comments and prevent default 2014-05-27 23:18:14 +02:00
Martin Zimmermann
d0a50c7905 fix french translation 2014-05-27 22:41:37 +02:00
Martin Zimmermann
2d37637019 add fr and de translation for postbox-website, fix french translation 2014-05-27 22:32:49 +02:00
Martin Zimmermann
20fc700e98 fix typos 2014-05-27 22:04:53 +02:00
Martin Zimmermann
96206b110c fix pagination translations and pluralization
If a message does not contain '\n', pluralize is not called. Also
replace {{ hidden_replies }} with {{ n }}.
2014-05-27 22:03:20 +02:00
Martin Zimmermann
cff9cabe9a update changelog 2014-05-27 17:36:03 +02:00
Martin Zimmermann
9c16237a6a update authors 2014-05-27 17:36:03 +02:00
Martin Zimmermann
8b5462ed2e remove /check-ip 2014-05-27 17:36:03 +02:00
Martin Zimmermann
5d3f178fca remove debug statement 2014-05-27 16:27:42 +02:00
Martin Zimmermann
e00ef92a67 remove now unused parent-hightlight rule 2014-05-27 16:27:02 +02:00
Martin Zimmermann
96620e8cd0 rename .postbox to .isso-postbox 2014-05-27 16:26:05 +02:00
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