Martin Zimmermann
4f152d03ac
remove uWSGI/Process/Threading mixin
...
* atexit is ignored by uWSGI and the worker thread can not exit
* queue API and naming is not final
Gunicorn ignores an error on shutdown:
Exception SystemExit: 0 in <module 'threading' from
'/usr/lib64/python2.7/threading.pyc'> ignored
2014-06-28 18:06:20 +02:00
Martin Zimmermann
10960ecf1e
add in-memory queue, worker and task skeleton
2014-06-28 12:39:29 +02:00
Martin Zimmermann
1e542e612a
move total_seconds to utilities
2014-06-28 12:21:58 +02:00
Martin Zimmermann
a551271743
cache processed HTML
...
The sanitizer is written in Python and rather slow for many comments
2014-06-27 15:45:12 +02:00
Martin Zimmermann
88689c789a
connection pooling and new cache implementations
...
* add a wrapper around `sqlite3` to enable connection pooling across
multiple threads.
Most tests now use a in-memory database which speeds things (slightly)
up. The database wrapper is now uncoupled from the actual database
connection.
* split cache framework from core.Mixin into a separate package
`isso.cache`. The dependency on `werkzeug.contrib` has been removed to
ease a possible transition to a different web framework later.
The default cache uses SQLite3 now (unless Isso is run from uWSGI).
While it may sound like a Bad Idea (tm), it's much more efficient than
per-process python datastructures. The SQLite3 cache is SMP-capable
and fast for read-heavy sites.
SQLite3 may fail due to a corrupt database for concurrent read access
from multiple processes. The database is actually not corrupted, but
the connection is stale. As a workaround, limit process number to your
CPU count or wait until a "real" backend such as PostgreSQL is
available.
2014-06-27 15:37:44 +02:00
Martin Zimmermann
bbd9e1b523
add type checking utils
2014-06-26 15:33:28 +02:00
Martin Zimmermann
b2bc582f92
remove tests with too many votes
2014-06-25 19:07:19 +02:00
Martin Zimmermann
5f71b735e5
include default.ini in package
...
share/isso.conf symlink actually. Fix broken isso.dispatch module.
2014-06-25 18:48:13 +02:00
Martin Zimmermann
bffcc3af6f
include demo/index.html
2014-06-25 18:47:52 +02:00
Martin Zimmermann
1a4e760fe0
remove configuration dependency in Markup
...
Also handle mutable datastructures more carefully.
2014-06-25 18:12:51 +02:00
Martin Zimmermann
65caa7ad99
remove configuration dependency from hash
2014-06-25 17:40:16 +02:00
Martin Zimmermann
d386590e57
Merge branch 'legacy/0.9'
2014-06-25 14:35:03 +02:00
Martin Zimmermann
400e523c4c
Back to development: 0.9.3
2014-06-25 14:31:39 +02:00
Martin Zimmermann
a201b24802
Preparing release 0.9.2
2014-06-25 14:31:39 +02:00
Martin Zimmermann
fbb55bf38a
add esperanto translation
2014-06-25 14:31:34 +02:00
Martin Zimmermann
221b782157
refactor configuration parsing
...
* use a single default configuration, share/isso.conf
* try to use config.new in some tests which are decoupled
A few tests now depend on `isso.dist` to show that they (or the used
objects) have too much dependencies and need to be rewritten.
2014-06-23 18:03:46 +02:00
Martin Zimmermann
f489ae63d6
Python3.4 now uses system's CA to connect to SMTP via TLS
2014-06-16 19:34:59 +02:00
Martin Zimmermann
4a7830a96d
add [hash] to isso.conf and update some strings
2014-06-16 19:21:12 +02:00
Martin Zimmermann
396eccfa00
fix error message
2014-06-15 17:04:52 +02:00
Martin Zimmermann
33ce5959e9
Merge branch 'pr/101'
2014-06-15 16:56:03 +02:00
Martin Zimmermann
4c697c50fd
reuse environment variable
2014-06-15 16:53:33 +02:00
Federico Ceratto
fb28eb85c5
Enable isso settings directory
...
Useful to start multiple sites in a simpler way e.g. export ISSO_SETTINGS_DIR=/etc/isso.d/enabled
2014-06-15 13:54:42 +00:00
Martin Zimmermann
9260e143f1
decouple hash generation from comment view and allow customization
...
Tests now use a dummy hash function that does nothing (basically) and
run a bit faster now.
2014-06-11 14:27:44 +02:00
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