Commit Graph

671 Commits

Author SHA1 Message Date
Martin Zimmermann
fc2cc0c65f fix test discovery 2014-07-22 17:02:51 +02:00
Martin Zimmermann
ff272f60ce fix cookie expiration 2014-07-22 16:59:06 +02:00
Martin Zimmermann
0365b7057a Merge pull request #110 from NicolasLM/dev
Update .gitignore
2014-07-22 13:14:36 +02:00
Nicolas Le Manchet
7174c6a686 Update .gitignore 2014-07-22 13:01:30 +02:00
Martin Zimmermann
b2f925f99b Merge pull request #109 from NicolasLM/dev
Update config sample to work with SQLAlchemy
2014-07-22 10:43:43 +02:00
Nicolas Le Manchet
43d8ae702d Update config sample to work with SQLAlchemy 2014-07-22 09:58:29 +02:00
Martin Zimmermann
9aa1e9544d add SQLAlchemy to requirements 2014-07-21 23:24:34 +02:00
Martin Zimmermann
131951c976 python3 compatibility 2014-07-21 23:24:22 +02:00
Martin Zimmermann
7a3251ddfc refactor and migration to SQLAlchemy
* split db/view into model, controller and views
* use SQLAlchemy for comments, threads and preferences
2014-07-21 22:58:42 +02:00
Martin Zimmermann
7886c20aef Merge branch 'master' into dev
Conflicts:
	MANIFEST.in
	docs/docs/install.rst
	isso/tests/test_html.py
2014-07-14 20:03:50 +02:00
Martin Zimmermann
e02687a066 remove superscript extension from defaults (again) 2014-07-14 19:38:00 +02:00
Martin Zimmermann
392add88e6 disable intra emphasis 2014-07-14 19:34:40 +02:00
Martin Zimmermann
f0d1958cc0 Merge branch 'legacy/0.9'
Conflicts:
	CHANGES.rst
	docs/docs/install.rst
	setup.py
2014-07-13 11:26:23 +02:00
Martin Zimmermann
a89f228477 fix virtualenv path, add yum/apt-get hints and AUR package 2014-07-13 11:22:02 +02:00
Martin Zimmermann
7f82745cd0 Back to development: 0.9.5 2014-07-09 23:23:42 +02:00
Martin Zimmermann
203f9c7c1a Preparing release 0.9.4 2014-07-09 23:23:30 +02:00
Martin Zimmermann
978d22e77e fix wrong status code type 2014-07-09 23:23:12 +02:00
Martin Zimmermann
ce9781df51 Merge branch 'legacy/0.9'
Conflicts:
	CHANGES.rst
	isso/core.py
	isso/dispatch.py
	setup.py
2014-07-09 12:37:53 +02:00
Martin Zimmermann
b59f650c99 Back to development: 0.9.4 2014-07-09 09:40:48 +02:00
Martin Zimmermann
d2769d73b4 Preparing release 0.9.3 2014-07-09 09:40:35 +02:00
Martin Zimmermann
261d0e4985 update changelog 2014-07-09 09:40:21 +02:00
Martin Zimmermann
35acf1e17e from __future__ import unicode_literals 2014-07-09 09:19:48 +02:00
Martin Zimmermann
ee8a84c0b2 add CSS for blockquote and pre 2014-07-06 19:39:19 +02:00
Martin Zimmermann
ad9384e8d7 preserve HTML tags while editing comments 2014-07-06 19:29:42 +02:00
Martin Zimmermann
0c8ec38dda don't scrollIntoView on expanding comments
A regression introduced in 94ee6a69
2014-07-06 19:13:58 +02:00
Martin Zimmermann
9674afbeed remove isso.css from pypi distribution 2014-07-06 19:01:02 +02:00
Martin Zimmermann
9fa7edb74b add version fallback, closes #102 2014-07-06 18:52:20 +02:00
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.
2014-07-06 18:39:59 +02:00
Martin Zimmermann
b2b6af24d6 fix clode block generation
added fenced code blocks to default extension list
2014-07-06 18:34:06 +02:00
Martin Zimmermann
d472262fee add SQLite3-based queue 2014-07-02 18:08:12 +02:00
Martin Zimmermann
80cbf2676f drop Python 2.6
* no timedelta.total_seconds
* no functools.total_ordering

EOL.
2014-06-28 18:21:44 +02:00
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