FinnStutzenstein
c186a575f6
Fixed incomplete autoupdates
...
A conceptional issue in `get_data_since` leads to incomplete
autoupdates. The behaviour was long time in the code, but only with a
lot of autoupdates (high concurrency) and the autoupdate delay I noticed
the bug during testing. I'm sure, that this issue might have caused
incomplete autoupdates (which the user may experience as "lost
autoupdates") in previous productive instances. Instead of quering a
range (from_change_id to to_change_id) one now can only get data from a
change id up to the max change id in the element cache. The max change
id gets now returned by `get_data_since`.
I also added a get_all_data with the capability of returning the
max_change_id at this point of time.
As a usability-"fix" (more like a fix the result of a bug, not the bug
itself) a refresh button for a poll was added, that issues an autoupdate
for the poll and all options.
2020-06-04 15:16:05 +02:00
FinnStutzenstein
0eee839736
Small improvements and first attempt to make to poll progress responsive
...
to massive autoupdates. The "optimization" didn't help, so this has to
be continued in another PR.
2020-05-29 15:46:19 +02:00
Joshua Sangmeister
42fbe93314
fixes the voting autoupdate bug
2020-04-17 16:38:38 +02:00
Joshua Sangmeister
9864ff3847
fixed pseudoanonymize on client
2020-04-15 09:42:22 +02:00
FinnStutzenstein
7a97aa1b79
Cleanup for #5300
2020-04-07 09:53:16 +02:00
Joshua Sangmeister
b7b8620153
removed race condition & cleanup
2020-04-07 07:27:54 +02:00
FinnStutzenstein
7882ea1a25
Added vote weight and fixed named voting
2020-04-07 07:27:54 +02:00
Sean Engelhardt
3c36441967
Add global no and abstain to form
...
Minur UI changes
Minor Chart enhancements
Server Changes
2020-03-17 07:24:48 +01:00
Joshua Sangmeister
b48ca8c434
added chart projection for polls
2020-03-17 07:24:45 +01:00
FinnStutzenstein
0b37c5a857
WIP: Partial requests
2020-03-17 07:24:44 +01:00
Joshua Sangmeister
682db96b7c
added vote per user table and progress for polls
...
added update for options after stopping a poll
2020-03-17 07:24:39 +01:00
GabrielMeyer
96aa3b0084
Adds the chart and dialog for analog voting
2020-03-17 07:24:38 +01:00
jsangmeister
72ff1b1f09
api changes to allow some edits on finished polls
2020-03-17 07:24:38 +01:00
FinnStutzenstein
b50cf42543
Prevent stopping an analog poll
...
Fixed too much logging with the new autoupdate bundling
2020-03-17 07:24:37 +01:00
jsangmeister
5fa8341614
added testing for named and pseudoanonymous assignment voting
...
added queries count tests for assignment and motion polls and votes
2020-03-17 07:24:35 +01:00
FinnStutzenstein
ced40cab74
Initial work for supporting voting
2020-03-17 07:24:34 +01:00
Oskar Hahn
fbf7d0e43d
Remove old thinks not needed for the 2.0 release:
...
* django templates
* widgets
* views
* mppt
* main_menu
* projector 1.x api
Sorted all imports
Add a ending slash to each url with a redirect view
2015-06-16 17:07:39 +02:00
Norman Jäckel
dcd8b7a639
Merge branch 'stable/1.6.x' into 'master'.
...
Conflicts:
CHANGELOG
openslides/agenda/views.py
openslides/assignment/views.py
openslides/mediafile/views.py
openslides/users/views.py
openslides/utils/views.py
tests/motion/test_pdf.py
tests/settings.py
2015-01-02 22:11:56 +01:00
Norman Jäckel
f6b1a84545
Cleaned up utils.views to increase performance when fetching single objects from the database for a view. Fixed #1378 .
2014-12-25 00:02:50 +01:00
Oskar Hahn
5c6f7a41a8
Merge branch 'stable/1.6.x'
...
Conflicts:
tests/assignment/test_views.py
2014-10-18 08:53:51 +02:00
Oskar Hahn
cb03908a1b
Returns a 404 response if a requested poll does not exist.
...
fixes #1355
2014-10-17 07:55:41 +02:00
Oskar Hahn
32137b6523
Use python3
...
python3.3 and python3.4 are supported
2014-08-24 21:21:11 +02:00
Oskar Hahn
6409f828d7
Added a poll description field for each assignment poll
...
fixed signals in MainMenuTests
2014-01-12 10:22:38 +01:00
Norman Jäckel
405fadb6f5
Rename some classes of the poll api. Clean up the poll api.
2013-12-07 00:24:11 +01:00
Oskar Hahn
0752d476e4
Change to MIT Licence
...
* Remove headers
* Changed lineendings to linux style in AUTHORS and CHANGELOG
2013-11-04 14:57:30 +01: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
Oskar Hahn
d644d49579
Cleaned up utils
2013-10-13 20:43:26 +02:00
Oskar Hahn
adeaf248ef
Changed utils.- and poll.views
2013-02-01 12:51:01 +01:00
Oskar Hahn
bd32994296
cleanup
...
Removed unused imports and fixed pep8 errors
2012-11-24 14:01:21 +01:00
Oskar Hahn
66b853a10a
redesign the poll api, so it don't creates poll-tables. Also, it is easier to get the poll for a vote object.
...
#288 show percent after the vote results
2012-07-13 11:16:06 +02:00
Oskar Hahn
e22467b06e
cleanup poll app
2012-07-10 11:48:03 +02:00
Oskar Hahn
e8bf2fce1a
yes-no-abstain elections in assignments
2012-06-18 09:48:27 +02:00
Emanuel Schuetze
7ef298881d
Updated license header.
2012-04-25 22:29:19 +02:00
Oskar Hahn
062e9bd4cb
added signals for template-context-manipulation
2012-03-06 12:16:03 +01:00
Oskar Hahn
5aaa1a53fa
addet votes cast and votes invalid to new poll-api
2012-02-19 17:31:17 +01:00
Oskar Hahn
77b11d8edf
forgot to add some files
2012-02-15 10:46:55 +01:00
Emanuel Schuetze
e752e05b0f
Removed unnecessary parts from poll system. Needs new development in future.
2011-09-03 01:40:06 +02:00
Emanuel Schuetze
f24cc7c0c1
Minor fixes
2011-09-03 00:42:37 +02:00
Oskar Hahn
3db6a12024
Add code
2011-07-31 10:46:29 +02:00