Commit Graph

817 Commits

Author SHA1 Message Date
Martin Zimmermann
91e63c7e5f simplify import format detection 2014-06-11 10:31:44 +02:00
Martin Zimmermann
3f50db4174 add link to package on AUR 2014-06-07 14:52:11 +02:00
Martin Zimmermann
dc40d80c81 Merge branch 'legacy/0.9' 2014-05-29 15:54:36 +02:00
Martin Zimmermann
41dd7d8173 Back to development: 0.9.2 2014-05-29 15:53:04 +02:00
Martin Zimmermann
d5a30bc09f Preparing release 0.9.1 2014-05-29 15:52:38 +02:00
Schoewilliam
ad32243708 Fix issue #97 : Alignment problem with the submission forms fields 2014-05-29 15:52:07 +02:00
Martin Zimmermann
3f8bbd6f3c remvoe pagination and css improvements from the contribution page 2014-05-29 15:40:01 +02:00
Martin Zimmermann
661f2a6881 Back to development: 0.10 2014-05-29 14:17:11 +02:00
Martin Zimmermann
82932eb57f Preparing release 0.9 2014-05-29 14:16:56 +02:00
Martin Zimmermann
d2644c3ba3 increase Copyright year 2014-05-29 14:16:31 +02:00
Martin Zimmermann
a201534c8d differenciate between deployment and init scripts 2014-05-29 14:12:07 +02:00
Martin Zimmermann
119ceb0035 improve site targets 2014-05-29 14:04:11 +02:00
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