Commit Graph

12 Commits

Author SHA1 Message Date
Nicolas Le Manchet
43d8ae702d Update config sample to work with SQLAlchemy 2014-07-22 09:58:29 +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
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
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
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
0509e15f67 clarify [general] host usage a bit 2014-03-29 12:58:41 +01:00
Martin Zimmermann
0d6d072281 add isso.conf example to source distribution
mv sample configuration to share/
2014-03-25 18:50:18 +01:00