Commit Graph

24 Commits

Author SHA1 Message Date
Norman Jäckel
ff183c03a3 Rename requrirements. This fixes #676. 2013-05-23 23:46:14 +02:00
Norman Jäckel
1a58298daf Update metafiles for new packaging style 2013-05-16 23:54:49 +02:00
Norman Jäckel
592cbcfe7d Update all meta files. 2013-05-15 01:59:18 +02:00
Oskar Hahn
9d78d44e5b fab command, to run scripts with the OpenSlides settings
Add two example scripts
2013-04-24 13:06:04 +02:00
Oskar Hahn
db1503ad7b Format fix 2013-04-19 19:15:57 +02:00
Emanuel Schuetze
1d1f5fa218 Added html support for motion text.
Use html parser 'beautifulsoup' to replace html tags which not supported by reportlab pdf.
'pip install bs4' required.

Fixed nested ol lists and unicode warning.

New requirement: beautifulsoup4

HTML support for reportlab.

Move parse html code into new function. Added missing html support in pdf for motion reason.

Added version number for bleach and beautifulsoup4. Moved to core requirements block.

Added bs4, bleach and html5lib requirements to portable build script. Updated portable readme for 1.4.
2013-04-18 13:23:40 +02:00
Roland Geider
01885c9304 Add first version of server-side filtering of HTML with bleach
Fix formatting (pep8 and otherwise)

Make the CleanHtml a mixin so it can be used easier, add a test case

Mark HTML fields as 'safe' in the template

Update list of allowed HTML tags, take special care for reportlab

Add heading tags to white list

Rename get_clean_html to get_clean_html_fields
2013-04-18 13:20:27 +02:00
Norman Jäckel
b9d4af7de7 Use Fabric in travis and insert a fabfile for developers 2013-04-16 00:19:59 +02:00
Emanuel Schuetze
71437eaaf7 Updated win32 portable build script.
prepare_portable.py:
 Added new site-packages tornado and qrcode.
 Fix incorrect exclude patterns. (by Andy)
 Do not exclude unittest from bundled modules for portable (by Andy)
Updated license files for win32.
requirements.txt: Updated all required packages and current version numbers.
MANIFEST.in: updated file structure
2013-04-12 00:04:32 +02:00
Emanuel Schuetze
71ac7a1cdb New feature: qr-code for system url on participants password pdf.
(Note: New dependency! Run 'pip install qrcode')

Fixed pep8 issues. Create qr-code image for system url one time only.

New feature: qr-code for system url on participants password pdf.
(Note: New dependency! Run 'pip install qrcode')

Fixed pep8 issues. Create qr-code image for system url one time only.

Print qrcode image from StringIO stream.
Adapted table stylesheet for better integration of reportlab's Image object.

Fixed pep8 issue.

Made qrcode import as optional feature. Fixed pep8 issue.
2013-03-22 14:35:40 +01:00
Oskar Hahn
7fb3c38cc8 Use Pillow instead of PIL 2013-02-28 11:29:17 +01:00
Norman Jäckel
ed515f5e76 Update dev packages in requirements. 2013-02-28 00:37:02 +01:00
Oskar Hahn
14f062f59f Django 1.5 release 2013-02-27 12:27:54 +01:00
Oskar Hahn
f388f3d41a handle static files with tornado 2013-02-18 19:58:18 +01:00
Roland Geider
70407feab8 Use the tornado server to serve the application 2013-01-19 10:51:42 +01:00
Norman Jäckel
595eac2c11 Update requirements: set version of coverage to 3.6 2013-01-17 22:33:52 +01:00
Norman Jäckel
d5cbf80bf5 Set to Django 1.5c1 2013-01-06 00:33:03 +01:00
Norman Jäckel
deb0d5b2e5 Some fixes. Update requirements.txt and setup.py. 2013-01-05 23:20:38 +01:00
Oskar Hahn
594efc44ad updated requirements.txt 2012-12-14 15:36:41 +01:00
Oskar Hahn
6ccde4256e added testing packages to the requirements.txt file 2012-12-01 18:07:44 +01:00
Oskar Hahn
65eeffe1c1 Changed pil to PIL in requirements 2012-11-24 16:51:21 +01:00
Oskar Hahn
5cf27b358d added simplejson into the requirements for python 2.5 2012-11-24 16:28:47 +01:00
Oskar Hahn
ddd251a742 fix for travis 2012-11-24 15:43:17 +01:00
Oskar Hahn
4eed43f782 Configured the repo for travis 2012-11-24 15:26:20 +01:00