Commit Graph

1369 Commits

Author SHA1 Message Date
Emanuel Schütze
25d83b4419
Merge pull request #5609 from tsiegleauq/show-delegations-in-single-vote-table
Add "represented by" to single votes table
2020-10-07 17:35:20 +02:00
Sean
2162f2b049 Add "represented by" to single votes table
Adds a "represented by" field to the single votes table, to indicate a
vote delegation.
Also fixes an height issue that occured in large single vote tables when
the user was navigating from a list view table to a single vote table
2020-10-07 16:45:31 +02:00
Finn Stutzenstein
435bb59472 Add parsing of decimal fields for projector data
Fixes an issue where the projector would not show special poll values,
such as "majority" or "not counted"
2020-10-07 15:01:58 +02:00
Emanuel Schütze
706c1d9e36
Merge pull request #5592 from tsiegleauq/assignment-projector-percentage
Fix assignment polldata discovery in percent pipe
2020-10-06 22:33:34 +02:00
Emanuel Schütze
e6fc32b9b4
Merge pull request #5598 from tsiegleauq/export-vote-weight
Export users with username and vote weight
2020-10-06 22:31:03 +02:00
Emanuel Schütze
2bb0134cd8
Merge pull request #5610 from tsiegleauq/mediafile-multi-download-perms
Fix mediafile multi download permission
2020-10-06 22:26:04 +02:00
Sean
d22e0bf2f6 Fix mediafile multi download permission
Fixes a permission issue in the mediafile list.
Without manage right, the vertical dot menu was not visible.
Also allows multi selection and selective download without manage
rights.

Fixes a ngrid css error in mediafile list
2020-10-05 17:28:22 +02:00
Sean
ed1c3eaa7a Add search and filter for vote delegation
Adds a new filter "Vote delegation" to user list:
Transferred vote right
Received vote reight
neither received not transferred vote right

Adjusts the user list search and the global search to include vote
deligations
2020-10-05 12:39:17 +02:00
Sean
9607f05454
Merge pull request #5507 from tsiegleauq/repair-compodoc
Update and fix compodoc generation
2020-10-05 11:05:20 +02:00
Sean
28bac117be Export users with username and vote weight
Importer expects both username and vote weight,
Thus, exported csv could not easily be reimported
2020-10-01 15:44:20 +02:00
Sean
98a8de3c2d Fix assignment polldata discovery in percent pipe
Fixes an issue where projector data was not delivering enough
information to guess if a poll data belongs to an assignment or a
motion.
This error resultet that the percent base pipe used the percent bases
for motions to calculate for assignments
2020-10-01 13:51:25 +02:00
Sean
8c28b03ffc Vote delegations on client
Add "your vote was delegated" error

Observe operator alterations during vote

Add "canVoteFor" getter

Adjust poll progress bars
2020-10-01 12:18:44 +02:00
Sean
677a93e2ca Update and fix compodoc generation
Fixes and updates compodoc.
2020-09-28 13:02:56 +02:00
Sean
42dd397fae Update to Angular 10
Update @angular/core @angular/cli
Update material, search-select, cdk, ngrid
Update localstorage
Update rxjs
Update ngx-translate
Update ngx-translate-extract
Update @schematics/angular
Update some deps
Update dev deps
Fix css imports, lint
Downgrad CDK and Material for ngrid
Update docker
Provide pdf worker
Move static file output to django folder
Update readme / used files
Update package-lock.json for npm ci
2020-09-23 10:29:57 +02:00
Emanuel Schütze
69299808b6 Updated translations 2020-09-23 09:36:57 +02:00
Emanuel Schütze
cf4573cb54
Merge pull request #5515 from tsiegleauq/lazy-user-mode
Implement cinema mode (autopilot)
2020-09-23 08:37:33 +02:00
Sean Engelhardt
bc540180dd fix white change-recommendation-overview
Fixes a bug where a white or blank change-recommendation-overview appeared
2020-09-18 16:29:13 +02:00
Sean
ec13ab56e8 Implement cinema mode
Implements a viewer mode containing the most important information and
Heavily refactors ListOfSpeaker and CurrentListOfSpeaker
interaction heavy components on a single view:

Current List of Speakers
Currently Open Polls
Current projector

Permission in migration
2020-09-17 18:38:57 +02:00
Emanuel Schütze
2687d1abba
Merge pull request #5564 from tsiegleauq/amendment-projection-default
Add amendment projection defaults
2020-09-17 17:26:29 +02:00
Emanuel Schütze
c4a2b02f5d
Merge pull request #5565 from CatoTH/bugfix/show-changed-amendment-in-slides
Fix changed amendment in slides
2020-09-17 16:54:10 +02:00
Sean
a42205e47f Hide diff-box in projector 2020-09-17 15:40:43 +02:00
Emanuel Schütze
855db8241b
Merge pull request #5542 from tsiegleauq/vscroll-user-import
Vscroll for user import
2020-09-17 15:14:01 +02:00
Emanuel Schütze
688b1b276d
Merge pull request #5563 from tsiegleauq/hide-id-in-amendment-list
Show or hide motion id in amendment list by config
2020-09-17 15:03:42 +02:00
Emanuel Schütze
3d7bfe652c
Merge pull request #5562 from tsiegleauq/amendment-filter-new-workflow
Evaluate default amendment workflow in list
2020-09-17 15:00:57 +02:00
Tobias Hößl
1a0e017f80
Fix changed amendment in slides 2020-09-16 19:52:37 +02:00
Sean
df2e26c3ed Show or hide motion id in amendment list by config
Hides the motion id in the list of amendments if the given config was
enabled or disabled
2020-09-16 15:51:03 +02:00
Sean
4712707d6b Add amendment projection defaults
Creates projection defaults for (paragraph based) amendments.
Adds a migration to add amendments as projection defaults.

Will only work for paragraph based amendments, other amendments will
still be considered motions
2020-09-16 15:41:11 +02:00
Sean
51512fd589 Evaluate default amendment workflow in list
Evaluates the default amendment workflow in the amendment list so users
can se the filters accordingly
2020-09-16 11:55:02 +02:00
Sean
34f23b3d0e Adjust the example csv gender fields
The example fields are now as they would be expected by the OpenSlides
translation
2020-09-15 17:44:47 +02:00
Sean
bc333a6b51 Avoid final version to amendments
If the motion is a paragraph based amendment the user cannot create a
final version anymore
2020-09-14 16:40:08 +02:00
Sean
f3fe98436e Vscroll for user import
Allows to import giant sets of users as CSV.
Tested 500k. The client is fine. The python server and the SQL data base really do not like that.
2020-09-07 16:00:11 +02:00
Emanuel Schütze
9a4f8e1781
Merge pull request #5514 from CatoTH/create-line-number-performance-tweak
Performance tweak for creating line numbers
2020-08-27 09:01:25 +02:00
Emanuel Schütze
38af3d3b8a
Merge pull request #5529 from tsiegleauq/export-dialog-supporter
Add "supporter" to motion export dialog
2020-08-27 08:35:23 +02:00
Emanuel Schütze
4960a8f115
Merge pull request #5516 from tsiegleauq/no-final-may-decide
Hide motion preamble in final state
2020-08-27 08:28:59 +02:00
Sean
0d16b487d5 Add "supporter" to motion export dialog
Allows PDF, CSV and XLSX to export the supporter manually
2020-08-26 15:52:08 +02:00
Sean
756fdc9c66
Merge pull request #5522 from tsiegleauq/clean-submitter-component
Fix selector with in submitter component
2020-08-26 11:05:52 +02:00
Tobias Hößl
fcdfad1c2e
Improve performance of line range detection + html2fragment / avoid recalculation of full changeset 2020-08-25 19:53:10 +02:00
Sean
5070069910 Fix selector with in submitter component
Fixes the too small search value selector in the submitter component

fixed the ad-hoc creation
2020-08-24 14:08:58 +02:00
Sean
a9c1578ebb Hide motion preamble in final state
If a motion is in final state, the preamble does not get shown in detail
view and pdf
2020-08-24 13:57:09 +02:00
Emanuel Schütze
aed17360e6
Merge pull request #5517 from tsiegleauq/motion-projection-controls
Allow motion of non existing change recos
2020-08-21 18:23:08 +02:00
Emanuel Schütze
d8f62a05ba
Merge pull request #5520 from tsiegleauq/more-permission-checks
Hide group selector without manage rights
2020-08-21 17:49:04 +02:00
Sean
7bf8e880fd Update supported browsers
Push latest Firefox ESR as latest supported browser
Push opera 70 as latest supported browser
2020-08-21 16:15:50 +02:00
Sean
7af65f790e Hide group selector without manage rights
Fixes a bug where the user group selector was shown even though the user
had not permission to manage the users
2020-08-21 16:09:06 +02:00
Finn Stutzenstein
2c85bb28f1
Merge pull request #5504 from tsiegleauq/demo-mode
Add demo mode
2020-08-21 08:10:45 +02:00
Sean
2b55388870 Allow motion of non existing change recos
Allows to project any version of the motions, event if they do not yet
exist.
Gives the user more control about the content they want to project.
Currently, if a motion has no logical changed version, they would
always project the original version which does not automatically
update if a changed version exists. This behaviour would require the
user to update their current projection
2020-08-20 13:22:47 +02:00
Sean
fbf424e570
Add demo mode
Adds a demo mode in the settings.py to prevent certain obvious
kinds of vandalism on public openslides testing instances
2020-08-17 07:25:53 +02:00
Emanuel Schütze
c6abbb629e
Merge pull request #5505 from tsiegleauq/multiple-file-download
Download mutliple files as zip
2020-08-12 17:13:41 +02:00
Sean
e75573e139 Download mutliple files as zip
Adds the possitibility to download folders
and multiple files as zip.
2020-08-12 15:24:37 +02:00
Emanuel Schütze
b726801747
Merge pull request #5500 from tsiegleauq/crate-users-svc
Add "create user" to more search value selectors
2020-08-12 15:00:55 +02:00
Sean
bfe72497cd Add "create user" to more search value selectors
Adds the "create new user" function to more search value
selectors.
2020-08-11 12:15:47 +02:00