Martin Zimmermann
88be07d5de
import backports.configparser before configparser, #128
...
backports.configparser got a major rewrite and an upgrade from 3.3 to
3.5 imports the wrong configparser module on Python 2.6/2.7.
Hopefully, this commit makes it work again. Alternatively, you can
remove the old configparser module(s):
rm lib/python2.7/site-packages/configparser*
And re-install configparser from PyPi.
10 years ago
Martin Zimmermann
6a3a9ea114
SMTP authentication uses bytes, not unicode, fixes #126
...
Encode configuration variables as ascii, ignoring non-ascii characters
(Python's smtplib is not yet able to support the UTF8SMTP).
10 years ago
Martin Zimmermann
c712d196d7
add option to hide voting feature, closes #115
10 years ago
Martin Zimmermann
d21aed83f8
save name, email and website in localStorage, closes #119
10 years ago
Martin Zimmermann
d9098b83f0
use different identifiers to avoid mixin events
10 years ago
Martin Zimmermann
c8acd461d3
do not export email field
10 years ago
Martin Zimmermann
881788a049
fix <time> semantics and add title attribute, closes #104
...
The browser shows a human-readable, absolute timestamp when hovering the
"time ago" element
10 years ago
Martin Zimmermann
0f1b95a125
add log to file option, closes #103
10 years ago
Martin Zimmermann
8a58afc8e6
fix order of converting HTML back to text
...
Fixes a regression introduced by ad9384e
, which escapes wanted line
breaks, such as <br /> and <div>.
10 years ago
Martin Zimmermann
4a8cbcd8f0
limit request size, closes #107
10 years ago
Martin Zimmermann
7008e88314
prevent insertion, closes #112
10 years ago
Martin Zimmermann
57d4380106
fix french 'date-now'
10 years ago
Martin Zimmermann
978d22e77e
fix wrong status code type
10 years ago
Martin Zimmermann
35acf1e17e
from __future__ import unicode_literals
10 years ago
Martin Zimmermann
ad9384e8d7
preserve HTML tags while editing comments
10 years ago
Martin Zimmermann
0c8ec38dda
don't scrollIntoView on expanding comments
...
A regression introduced in 94ee6a69
10 years ago
Martin Zimmermann
3975227ada
Revert "border-radius only for first and last input"
...
If input fields are not close enough to each other, it looks weird. Also
it didn't work in mobile view.
This reverts commit 77d40a99eb
.
10 years ago
Martin Zimmermann
b2b6af24d6
fix clode block generation
...
added fenced code blocks to default extension list
10 years ago
Martin Zimmermann
fbb55bf38a
add esperanto translation
10 years ago
Schoewilliam
ad32243708
Fix issue #97 : Alignment problem with the submission forms fields
10 years ago
Martin Zimmermann
d2644c3ba3
increase Copyright year
10 years ago
Martin Zimmermann
a741c62cd6
use python-passlib fallback on Debian
10 years ago
Martin Zimmermann
211f637569
remove Django's PBKDF2 in favour of werkzeug.security.pbkdf2_hex
10 years ago
Martin Zimmermann
64054ec029
remove unused code, fix pyflakes and jshint hints
10 years ago
Martin Zimmermann
94ee6a6981
use el.on("click") to load more comments and prevent default
10 years ago
Martin Zimmermann
d0a50c7905
fix french translation
10 years ago
Martin Zimmermann
2d37637019
add fr and de translation for postbox-website, fix french translation
10 years ago
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 }}.
10 years ago
Martin Zimmermann
8b5462ed2e
remove /check-ip
10 years ago
Martin Zimmermann
5d3f178fca
remove debug statement
10 years ago
Martin Zimmermann
e00ef92a67
remove now unused parent-hightlight rule
10 years ago
Martin Zimmermann
96620e8cd0
rename .postbox to .isso-postbox
10 years ago
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 .
10 years ago
Martin Zimmermann
8fefe3a616
fix hidden reply to deleted comment (and change a few names)
10 years ago
Martin Zimmermann
6bfd1344ba
Merge branch 'remove-avatar-preview'
10 years ago
Martin Zimmermann
e1b4ddb123
remove sha1.js and pbkdf2.js, part of #51
10 years ago
Martin Zimmermann
14fac577df
fix syntax
10 years ago
Martin Zimmermann
16663d44f8
hide avatar during editing
10 years ago
Martin Zimmermann
0211322915
remove avatar preview in postbox
10 years ago
Martin Zimmermann
7474be12f0
Merge branch 'add-website-field'
10 years ago
Martin Zimmermann
77d40a99eb
border-radius only for first and last input
10 years ago
Martin Zimmermann
065460d78a
add tests for website validation
10 years ago
Martin Zimmermann
5b0ce6471a
add website input
10 years ago
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`.
10 years ago
Martin Zimmermann
b60dbd3e42
remove old template 'struct'
10 years ago
Martin Zimmermann
608119e8ce
add r.js build optimization for jade plugin
10 years ago
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/
10 years ago
Martin Zimmermann
7c3bd52821
stub requirejs-text to save ~5kb
10 years ago
Martin Zimmermann
fcc4cd63b4
fix #93
10 years ago
Schoewilliam
dd14bb91db
#49 : Comments thread and submission form now support data-isso-avatar="false"
10 years ago