Commit Graph

71 Commits

Author SHA1 Message Date
FinnStutzenstein 6e87a4bd80 Use prettier 2019-01-10 12:54:22 +01:00
Oskar Hahn 800055a5ea Format code with black 2019-01-08 21:50:50 +01:00
Jochen Saalfeld b024960a51
naming tasks and add format check for client 2018-12-10 14:07:27 +01:00
Jochen Saalfeld 8b191e9e0a
fixing urlPrefix in prod environment 2018-11-02 08:49:02 +01:00
Oskar Hahn c405b4b323 Use Protocol instead of ABC in cache_provicer 2018-10-28 10:37:16 +01:00
Oskar Hahn 9eef4da21c remove old client 2018-10-25 16:04:28 +02:00
Jochen Saalfeld a7b01fc09c implementing sorting in categories (fixes #3903) 2018-10-23 13:19:43 +02:00
Oskar Hahn 5b5d0e395a new autoupdate format 2018-10-19 07:35:59 +02:00
Oskar Hahn bc442210fb Improve redis cache
* delete only keys with prefix
* Make redis_provider atomic with transactions and lua scripts
* improve lock
* generate change_id in redis to make sure it is uniq
* use miliseconds as starttime
* add argument use max_change_id to get_{full|resticted}_data
2018-10-15 23:37:26 +02:00
FinnStutzenstein 1e4eacecfd New superadmin group 2018-10-12 07:58:18 +02:00
Tobias Hößl 9f291308aa Initial tests for OpenSlides3. Parallel execution of server and client
tests.
2018-10-08 14:10:18 +02:00
FinnStutzenstein f1ddd16dc6 Motion rework
- remove motion version
- migrations for versions and change recommendations
- Redone motion comments. Wording changed from comment fields to comment
  sections
- fixed test order, tests are not atomic
- introduce get_group_model. Just use OpenSlides Groups and not the
django's ones.
2018-09-10 09:00:55 +02:00
Norman Jäckel 4feb2a8e21
Merge pull request #3828 from ostcar/super_fastest_even_faster
Faster then fastes big_mode (with tests)
2018-09-04 21:14:00 +02:00
Jochen Saalfeld f8d29d083a
Travis linting and some minor changes
* properly ignore multiple virtual environments and vscode folders

* use scss instead of css in app.component

* remove yarn from client

* remove deprication error

* auditing packages

* updating travis to work with the new client
2018-08-28 10:35:22 +02:00
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 acceeff8f8 * Update python requirements
* drop python 3.4
2018-08-07 15:23:11 +02:00
Emanuel Schütze 2129ffe73a Fix dockerfile to build with gulp4/node10. 2018-06-26 10:25:24 +02:00
Jochen Saalfeld c81e318705 Upgrade to node v10 and gulp 4 2018-06-15 08:54:09 +02:00
FinnStutzenstein b0a42e19e1 Sort submitters 2018-06-13 14:16:25 +02:00
FinnStutzenstein ca8ee3edd6 Splitup comment see and manage permissions for motion comments 2018-02-16 14:09:32 +01:00
FinnStutzenstein 0b04b7478f Fixed email translations, motion sorting, undefined in DOCX, reduced motion search 2018-02-02 12:48:01 +01:00
Oskar Hahn 87b889fbf2 Rewrite config to have id field 2017-08-24 15:02:42 +02:00
Oskar Hahn 9d1ebac86e Add typing (#3370)
Add typing
2017-08-23 20:51:06 +02:00
Norman Jäckel f10465c477 Switched from npm to Yarn. Closed #3012. 2017-04-28 11:49:55 +02:00
Emanuel Schütze e611b46784 Added karma tests for angular.js to travis.
Installed required dependencies to run karma test in phantomjs which
is a supported browser by travis.
2017-03-08 23:46:04 +01:00
Norman Jäckel 14ec6c0f44 Improved autoupdate on permission change. 2017-03-06 17:42:27 +01:00
Oskar Hahn fccde8de11 Changed the function has_perm to support an user id or None as the first argument.
Also fixt the case, where an anonymous user connects to the websocket connection.

Also added a function anonymous_is_enabled() to see, if the anyonmous user is enabled.

Added pip freeze to travis to see installed versions.
2017-01-24 15:16:29 +01:00
Oskar Hahn 66f7cba313 Test openslides with python 3.6 with travis 2017-01-07 16:36:27 +01:00
Norman Jäckel bb3bc0b8ae Updated .travis file. 2016-12-09 18:38:40 +01:00
Norman Jäckel 76250c5851 Changed loading of JavaScript files. 2016-09-18 11:23:51 +02:00
Emanuel Schuetze e980e20042 Fix travis: Upgrade setuptools before install.
Upgrade setuptools to 18.5+.
Upgrade beautifulsoup4 to 4.5+ to work with latest html5lib.
2016-07-27 14:00:02 +02:00
Norman Jäckel 70bcf731b7 Updated README.rst. Added file for DEVELOPMENT instructions. 2016-04-15 19:53:07 +02:00
Norman Jäckel c818a4964f Activate gulp jshint for Travis. 2016-02-16 01:01:26 +01:00
Norman Jäckel 8cb74c5e7a Simplified installing of JS and CSS libs. Fixed #1906. 2016-02-05 23:27:15 +01: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
Oskar Hahn 12a08b9732 New Agenda Item
Changed agenda item, so it can not be manualy created, but is always created
when a custom slide, motion or assignment is created.
2015-10-29 15:44:43 +01:00
Norman Jäckel 8c48d67df0 Fixed projector. 2015-09-14 20:30:37 +02:00
Norman Jäckel 5c4c0367a1 Updated Projector config field and control views. 2015-09-06 14:59:33 +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 2e9b05eb5a Speed up travis with cache for pip and node 2015-01-26 02:05:14 +01:00
Oskar Hahn e7230b7391 New Test order.
* seperate unittests and integration tests
* moved old tests in seperat folder 'old'
* created a testrunner that does not create a testdatabase, if only unittests are run
* wrote some unit- and integration tests as examples
* fixed user.get_short_name() to use the sort order from config
* fixed wrong url_pattern in the user app
2015-01-24 18:00:03 +01:00
Oskar Hahn 35024764cf Rework of management command 2015-01-23 15:40:12 +01:00
Norman Jäckel f7cb518430 Used Bower and gulp to manage third party JavaScript and Cascading Style Sheets libraries.
Cleaned up settings. Updated development section in README.rst.

Removed jQuery, jquery.cookie and bootstrap from repository.
2015-01-17 00:12:04 +01:00
Oskar Hahn 32137b6523 Use python3
python3.3 and python3.4 are supported
2014-08-24 21:21:11 +02:00
Norman Jäckel ee9e2729d1 Updated CHANGELOG, README.rst, requirements files, .travis.yml and setup.py. 2014-05-05 21:25:17 +02:00
Oskar Hahn 6ae503e009 fix for python2.6 and pip 1.5 2014-03-11 23:50:30 +01:00