Commit Graph

48 Commits

Author SHA1 Message Date
Oskar Hahn 2ae42caceb Faster then fastes big_mode (with tests) 2018-08-25 17:11:29 +02:00
Oskar Hahn aac9dcabf5 drop python 3.5 2018-08-23 17:51:30 +02:00
Oskar Hahn 10b3bb6497 Update to channels 2
* geis does not work with channels2 and never will be (it has to be python now)
* pytest
* rewrote cache system
* use username instead of pk for admin user in tests
2018-08-22 06:30:11 +02:00
Oskar Hahn 92a39a3fc6 support python 3.7
fix new pep8 stype
2018-08-08 21:46:56 +02:00
Oskar Hahn d7db714562 CollectionElement and Autoupdate cleanups
* change get_restricted_data and get_projector_data to always use a list
* Add typings to all get_restricted_data and get_projector_data methods
* Replace CollectionElementList with a real list
* Fixed arguments of inform_deleted_data
* Moved CollectionElementCache to cache.py and refactored it
* Run tests with cache enabled (using fakeredis)
2017-09-15 12:11:32 +02:00
Oskar Hahn 9d1ebac86e Add typing (#3370)
Add typing
2017-08-23 20:51:06 +02:00
Emanuel Schütze c5db2fa4e7 Set isort to 4.2.5 in requirements.txt (see #3281). 2017-06-01 14:51:00 +02:00
Oskar Hahn 552998b067 Update requirements, fixt a lot of warnings
Set python 3.4 as minimal supported python version
2016-01-09 12:19:46 +01:00
Emanuel Schuetze f264c3911e Moved docs to own github repository.
See https://github.com/OpenSlides/openslides-docs
2015-12-09 22:25:03 +01:00
Oskar Hahn 291f60ee9f Added a way to load angular apps dynamical 2015-07-01 20:10:40 +02:00
Norman Jäckel cf11e85f9a Added coverage and flake8 configuration to setup.cfg. Cleaned up these tools. 2015-02-25 19:39:57 +01:00
Oskar Hahn 8ad6accaa6 Add isort1
Do not do any travis checks, but append the commands, so that we can use isort to clean up the code
2015-02-17 07:41:24 +01:00
Oskar Hahn 939f3f8339 Update requirements.txt
Especially this is importand for haystack, because the old version had some DepricationWarnings.

This means, that django-haystack 2.1 and django 1.8 will not be compatible

See #1352
2014-10-19 15:40:32 +02:00
Oskar Hahn 32137b6523 Use python3
python3.3 and python3.4 are supported
2014-08-24 21:21:11 +02:00
Norman Jäckel 9abb7a3caf Updated CHANGELOG, README.rst, requirements.txt, requirements_production.txt and setup.py. 2014-03-31 21:27:56 +02:00
Oskar Hahn 6ae503e009 fix for python2.6 and pip 1.5 2014-03-11 23:50:30 +01:00
Norman Jäckel 09e315beb7 Sort requirements, fix #1031. 2013-11-14 22:38:12 +01:00
Oskar Hahn ab048e3393 Update to Django 1.6 2013-11-07 18:56:06 +01:00
Norman Jäckel 3ec18194fa New command create-dev-settings. Clean up main script. Fix wrong path for Windows version. 2013-10-29 00:48:49 +01:00
Emanuel Schuetze 66d9d22e27 Updated requirements. 2013-10-21 21:27:07 +02:00
Oskar Hahn d937262d28 Use flake8 instead of pep8. Orderd the imports with isort
* changed the fab-command pep8 to check
* checked and fixed any code with flake8. Also the urls.py
* checkt the projector app with pylint
2013-10-14 18:43:12 +02:00
Emanuel Schuetze 64e7cfd98e Some template and doc fixes
- Fixed #766 (agenda overview parent item look).
- Fixed #767 (Documentation sphinx bootstrap theme: html header)
- Fixed #785 (Enlarged doc screenshots by hover via CSS)
- Updated sphinx-bootstrap-theme to 0.2.4
- Add btn class for agenda end time tooltip
2013-06-25 22:15:51 +02:00
Norman Jäckel 51cad826cf Update requirements 2013-06-03 19:30:04 +02:00
Emanuel Schuetze 34bca4b695 Fixed typos. Changed doc style of html and latex output.
- HTML: Changed to twittter bootstrap theme.
- PDF: Improved latex pdf.
- Added doc authors to Impressum section.
- Added required sphinx packages to requirements.txt
2013-06-03 15:51:15 +02:00
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