Martin Zimmermann
01d86881ca
Merge branch 'master' into dev
...
Conflicts:
isso/views/comments.py
10 years ago
Martin Zimmermann
f7e51fd03d
Merge branch 'legacy/0.9'
...
Conflicts:
CHANGES.rst
isso/core.py
setup.py
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
e2e69c4124
fix CSRF test
10 years ago
Martin Zimmermann
3809f49f98
Disqus & Wordpress use controllers now
...
... still ugly.
10 years ago
Martin Zimmermann
49f0031157
add comments.empty
10 years ago
Martin Zimmermann
2a0898c928
use SAQueue and clear cache/queue tables on startup
10 years ago
Martin Zimmermann
cffe8cea08
fix Worker.wait
10 years ago
Martin Zimmermann
c9333adc5c
use proper transactions
10 years ago
Martin Zimmermann
08cb3cd324
queue.sqlite -> queue.sa
10 years ago
Martin Zimmermann
e706fabb26
SQLite3 queue uses SQLAlchemy now
10 years ago
Martin Zimmermann
a0a2662cc9
rename module/__init__.py only to just module.py
10 years ago
Martin Zimmermann
8d2b4b4584
isso.queue.tasks -> isso.tasks
10 years ago
Martin Zimmermann
c9ff66e172
remove stale threads, fix db-purge tasks and change signature(s)
10 years ago
Martin Zimmermann
7701dafa13
remove old Markup.js module
10 years ago
Martin Zimmermann
95dba92d46
rename sqlite.SQLite3Cache to sa.SACache
10 years ago
Martin Zimmermann
db9bfddc13
SQLite3Cache uses SA now
10 years ago
Martin Zimmermann
6245a8dc17
new API response for like/dislike
10 years ago
Martin Zimmermann
bd1cb498d1
remove cgi.escape and simplify input sanitization
...
Escaping is done in Jade templates (by default).
10 years ago
Martin Zimmermann
fc2cc0c65f
fix test discovery
10 years ago
Martin Zimmermann
ff272f60ce
fix cookie expiration
10 years ago
Martin Zimmermann
131951c976
python3 compatibility
10 years ago
Martin Zimmermann
7a3251ddfc
refactor and migration to SQLAlchemy
...
* split db/view into model, controller and views
* use SQLAlchemy for comments, threads and preferences
10 years ago
Martin Zimmermann
57d4380106
fix french 'date-now'
10 years ago
Martin Zimmermann
7886c20aef
Merge branch 'master' into dev
...
Conflicts:
MANIFEST.in
docs/docs/install.rst
isso/tests/test_html.py
10 years ago
Martin Zimmermann
f0d1958cc0
Merge branch 'legacy/0.9'
...
Conflicts:
CHANGES.rst
docs/docs/install.rst
setup.py
10 years ago
Martin Zimmermann
978d22e77e
fix wrong status code type
10 years ago
Martin Zimmermann
ce9781df51
Merge branch 'legacy/0.9'
...
Conflicts:
CHANGES.rst
isso/core.py
isso/dispatch.py
setup.py
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
d472262fee
add SQLite3-based queue
10 years ago
Martin Zimmermann
80cbf2676f
drop Python 2.6
...
* no timedelta.total_seconds
* no functools.total_ordering
EOL.
10 years ago
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
10 years ago
Martin Zimmermann
10960ecf1e
add in-memory queue, worker and task skeleton
10 years ago
Martin Zimmermann
1e542e612a
move total_seconds to utilities
10 years ago
Martin Zimmermann
a551271743
cache processed HTML
...
The sanitizer is written in Python and rather slow for many comments
10 years ago
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.
10 years ago
Martin Zimmermann
bbd9e1b523
add type checking utils
10 years ago
Martin Zimmermann
b2bc582f92
remove tests with too many votes
10 years ago
Martin Zimmermann
5f71b735e5
include default.ini in package
...
share/isso.conf symlink actually. Fix broken isso.dispatch module.
10 years ago
Martin Zimmermann
1a4e760fe0
remove configuration dependency in Markup
...
Also handle mutable datastructures more carefully.
10 years ago
Martin Zimmermann
65caa7ad99
remove configuration dependency from hash
10 years ago
Martin Zimmermann
d386590e57
Merge branch 'legacy/0.9'
10 years ago