Commit Graph

2032 Commits

Author SHA1 Message Date
Sean 878f3a7ab3 Fix csv importing users with groups
old groups
new groups created on the fly
2021-01-26 11:11:05 +01:00
Martin Dickopp 2130f4970f Improve password generation
Generating an 8-bit random number and reducing it modulo 56
(characters.length) does not choose all numbers 0 to 55 with equal
probability, but chooses 0 to 31 with higher probability than 32 to 55.
This change improves the password generation algorithms by choosing all
characters with equal probability.
2021-01-24 19:14:20 +01:00
Finn Stutzenstein 8049bfa91e
Performance improvements for OS3+
- Cleans up log messages in the client
- Refactored the autoupdate bundle code into an own file
- Added bulk creates for History in Postgresql. This is the only database system
  that supports returning all ids whan multiple elements are inserted. We can
  make usage out of it.
- Added a `disable_history`, that is request-wide
- Disabled history on poll vote requests
- Removed unnecessary user ordering
- Reduced the queries for creating motion vote objects by one
- removed final_data: This was not prefetched. Using the normal data collection
  the data is prefetched
- removed unnecessary user query if vore delegation is not used
2021-01-21 12:53:51 +01:00
FinnStutzenstein e225a57f97
OpenSlides3+: External Autoupdate Service
- Removing channels. Going back to a wsgi deployment
- Removed server projector code
- Autoupdate throttling is now in the client
- New communication stack in the client
- Adopted all deployment methods: Docker stack and docker compose (prod and dev)
- Added autoupdate service as submodule
2021-01-14 07:55:41 +01:00
Sean bc382df68f Client: Add form validation and request handling 2021-01-13 11:14:12 +01:00
Sean 0b01b5576b
Fixing min amounts in assignment meta info 2021-01-12 09:29:28 +01:00
Finn Stutzenstein 7e763e8c07
Minumum amount of votes
renamed votes_amount to max_votes_amount
2021-01-12 09:29:24 +01:00
Finn Stutzenstein 183c511046
Change PW generation to a secure method 2021-01-05 07:42:19 +01:00
Emanuel Schütze a37e2196b3 Release 3.3 2020-12-18 00:43:02 +01:00
Emanuel Schütze 227dfd0c26 Updated translations 2020-12-17 10:30:46 +01:00
Sean 3b062a52e7 Add more server messages to translations
Adds some ValidationErrors send from the server to the translations in
the client
2020-12-16 16:21:56 +01:00
Sean f07cc4e176 Show vote delegations to users on ownPage
Users can see vote delegations concerning them if visiting their own
user detail page
2020-12-16 12:37:12 +01:00
Emanuel Schütze 222a2ea581
Merge pull request #5775 from tsiegleauq/more-powerful-vote-delegations
Add more dynamic vote delegations to user list
2020-12-15 17:35:01 +01:00
Emanuel Schütze 057e03a82c
Merge pull request #5774 from tsiegleauq/los-go-button-layouting
Responsive add-self buttons in list-of-speakers
2020-12-15 17:20:54 +01:00
Sean cb73f52345 Add more dynamic vote delegations to user list
The user list now shows vote delegations from and to in every form and
preview
2020-12-15 16:40:27 +01:00
Sean 53be648c23 Responsive add-self buttons in list-of-speakers 2020-12-15 15:36:45 +01:00
Sean 2a224cb3b5 Overwork chip list in search value selector
Removed the placeholder, fixed the height, made it scrollable like the
filter bars, using elipsis for very long names, inidkated long names
using tooltips
2020-12-15 14:04:11 +01:00
Emanuel Schütze acd33b8207
Merge pull request #5765 from tsiegleauq/poll-create-layout-enhance
Enhance poll dialog layout
2020-12-13 21:37:08 +01:00
Sean e2cabbaf62 Enhance poll dialog layout
declutters the the poll dialogs
2020-12-13 21:27:08 +01:00
Emanuel Schütze 19df8184d0
Merge pull request #5762 from tsiegleauq/poll-progress-bar-ap
Show vote progress in autopilot
2020-12-13 20:56:58 +01:00
Emanuel Schütze 0a80a73f2e
Merge pull request #5761 from jwinzer/poll-progress-users
Fix user filter of poll progress
2020-12-13 20:52:50 +01:00
Sean b9f36f1cea Hide poll progress bar by perms 2020-12-11 11:21:11 +01:00
Sean ac63a04666 Show vote progress in autopilot
Shows the vote progress in the autopilot
changes the theme of the progress bar to support its normal buffer color
Shows "autopilot" in browser title
2020-12-09 14:17:27 +01:00
Jochen Winzer 689bfcac61 Fix unresolved permissions. 2020-12-09 12:36:35 +01:00
Jochen Winzer ec36d4d64e User is only allowed to vote if present and has not delegated his vote or has delegated his vote to a user who is present. 2020-12-09 11:09:11 +01:00
Emanuel Schütze 5cc464b250
Merge pull request #5750 from tsiegleauq/avoid-zombie-jitsi
Avoid stream/jitsi cases without information
2020-12-08 17:40:54 +01:00
Sean 92cf811921 Avoid stream/jitsi cases without information
Rewrites the jitsi/stream state management.
After every reload and after a stream becomes available (while not
currently in a jitsi conference) you will switch to live stream, if
available
2020-12-08 17:15:25 +01:00
Sean 9c738b5d8e Add poll meta info component
Adds a component to display the assignment polls meta info
2020-12-08 16:25:08 +01:00
Sean 10614ca57b Show latest meaningfull poll results in autopilot
Shows the latest meaningfull poll result in autopilot
The last published poll result from the corresponding content object
2020-12-08 14:45:08 +01:00
Emanuel Schütze 2943c969ab
Merge pull request #5751 from tsiegleauq/motion-to-motion-nav
Reset the CR Mode by motion-motion navigation
2020-12-03 15:02:10 +01:00
Emanuel Schütze ea4ec53fb1
Merge pull request #5746 from tsiegleauq/poster-image
Add poster image in 404 cases
2020-12-03 12:24:57 +01:00
Sean 944685696a
Merge pull request #5739 from tsiegleauq/hide-started-assignment-polls
Hide started assignment polls
2020-12-03 12:19:38 +01:00
Emanuel Schütze 5629c73b4b
Merge pull request #5734 from tsiegleauq/deleted-users-in-polls
Show "Deleted user" if a poll user cannot be found
2020-12-03 12:09:56 +01:00
Sean d0ed5448e8 Add poster image in 404 cases
Shows the assigned poster image if the stream is not
reachable
2020-12-03 12:09:30 +01:00
Emanuel Schütze 00b148edbd
Merge pull request #5736 from tsiegleauq/hide-motion-id-in-pdf
Consider show-seq-number config during pdf export
2020-12-03 11:59:46 +01:00
Sean 5e1b5b5658 Show "Deleted user" if a poll user cannot be found
Fixes an error that would freeze OpenSlides
If a user was deleted but registered as a poll option,
The Assignment Detail View would freeze
2020-12-03 11:51:41 +01:00
Emanuel Schütze 96d464bcfa
Merge pull request #5748 from tsiegleauq/vjs-pip
Re-Enable pip option for VJS
2020-12-03 11:36:43 +01:00
Sean a410083349 Reset the CR Mode by motion-motion navigation
Set the CR mode to default if navigating from one motion
to the other motion instead of keeping the previously selected
CD mode
2020-12-02 12:42:03 +01:00
Sean ce2f71a9da Re-Enable pip option for VJS
re enables the previously disabled pip mode for videojs
2020-12-01 17:09:02 +01:00
Sean 90ac27ff43 Hide started assignment polls
Hide assignment polls in started state if user does not have
the manage permission
2020-11-30 15:27:12 +01:00
Sean 629ad4ec1f Consider show-seq-number config during pdf export
If not stated in the export dialog, the sequential
motion number will not be printed in the PDF if the config
option is unset
2020-11-27 17:09:33 +01:00
Sean 00066806d6 Trim livestream URL
Trims whitespaces from the livestream URL
2020-11-27 16:58:58 +01:00
Emanuel Schütze 96f96f09ee
Merge pull request #5732 from emanuelschuetze/fixAssignmentManagePermission
Fixed permission for assignment submenu.
2020-11-26 12:44:27 +01:00
Emanuel Schütze c4f37999f3 Fixed permission for assignment submenu. 2020-11-26 12:29:00 +01:00
Emanuel Schütze ad907de958 Updated translations 2020-11-26 12:20:21 +01:00
Emanuel Schütze 8b94829a2c
Merge pull request #5695 from tsiegleauq/active-wait-for-perms
Show "please grant mic access" info
2020-11-26 12:06:27 +01:00
Emanuel Schütze fbed661dfb
Merge pull request #5730 from emanuelschuetze/motionPollTitle
Show motion poll title in motion pdf
2020-11-26 12:05:33 +01:00
Emanuel Schütze 5577bac7c9 Show motion poll title in motion pdf 2020-11-26 11:47:18 +01:00
Finn Stutzenstein c7405c36d8
Fix sorting of assignment options 2020-11-26 11:39:43 +01:00
Joshua Sangmeister fca688a1f7 fix config usage 2020-11-26 10:37:45 +01:00
Sean 26ac618ddf Show "please grant mic access" info
If the browser does not have the permission to use the microphone,
OpenSlides will show a spinner to inform the user to grant
mic access
2020-11-25 15:49:18 +01:00
Sean a51103b7b7
Merge pull request #5707 from tsiegleauq/automatically-join-jitsi
Autoconnect the next X speaker to jitsi
2020-11-25 15:29:24 +01:00
Sean d6467d5bbf Autoconnect the next X speaker to jitsi
In config, set "general_system_conference_auto_connect_next_speakers"
to let the next X speakers on the current list of speakers
automatically join the jitsi conference.
Updates automatically
2020-11-25 15:13:02 +01:00
Emanuel Schütze 03cb8592fe
Merge pull request #5724 from emanuelschuetze/translation20201125
Updated translations
2020-11-25 11:49:22 +01:00
Emanuel Schütze 1f302b466a Updated translations 2020-11-25 11:39:57 +01:00
Sean 65c7d3491c
Merge pull request #5717 from emanuelschuetze/listType
Add ol list type.
2020-11-25 11:23:50 +01:00
Emanuel Schütze b611642ecb
Merge pull request #5721 from FinnStutzenstein/fixGroupDeletionInConfig
Fix group deletion for config variables
2020-11-25 10:39:08 +01:00
Sean 1eee3bc56d
Merge pull request #5718 from tsiegleauq/negative-voting
Allow negative voting
2020-11-25 10:01:12 +01:00
Sean b5cb694fc7 Allow negative voting
Adds "no" as the opposite of "votes" as assignment poll method
Added global_yes, enabled new voting mode `N` in the server
Layout, Tables, Charts, Projector, Vote CSS, Cleanups, Percent bases,
analog votes and more
2020-11-24 23:14:12 +01:00
Finn Stutzenstein f609e6362f
Fix group deletion for config variables 2020-11-24 13:43:05 +01:00
Finn Stutzenstein 07a003717d
Remove the possibility to select default non-analog poll types, if electronic voting is disabled 2020-11-24 10:28:56 +01:00
Emanuel Schütze ab230fe7a9 Allowed ol list types (in html and pdf). 2020-11-23 20:40:22 +01:00
Emanuel Schütze 34070843c2
Merge pull request #5690 from tsiegleauq/search-value-single-val
Fix non-multipl os-search-val-selector
2020-11-11 20:54:36 +01:00
Sean 9ce8fe8233
Merge pull request #5692 from tsiegleauq/quick-toggle-los-open-ap
Add los-close toggle to autopilot
2020-11-10 12:09:00 +01:00
Sean a188abed48 Fix non-multipl os-search-val-selector
Fixes a bug there non multiple uses of search value
selector was submitting the value twice due to late
alterations of internal form objects
2020-11-10 11:14:28 +01:00
Sean ade2d4b977 Add los-close toggle to autopilot
Adds a open/close list-of-speakers toggle option to autopilot component
Also: hides the list of speakers if the current content object does not
allow a list-of-speakers (mediafiles, users)
2020-11-09 19:06:41 +01:00
Sean be0deefdce Fix "remove all speaker" button
Remove all speakers was always deactivated
2020-11-09 16:18:26 +01:00
Emanuel Schütze 7b0f8e3c25
Merge pull request #5687 from emanuelschuetze/translation-20201107
Updated translations
2020-11-08 20:15:14 +01:00
Emanuel Schütze 88b25acd0a Updated translations 2020-11-07 18:36:07 +01:00
Emanuel Schütze 22f9108b49
Merge pull request #5684 from tsiegleauq/vscroll-selection-bugs
Fix a bug where vscroll select lists lost content
2020-11-07 18:26:39 +01:00
Emanuel Schütze 019c097c26
Merge pull request #5685 from emanuelschuetze/point-of-order-on-projector
Show point of order icon on projector (los slide)
2020-11-07 18:09:27 +01:00
Emanuel Schütze f9796027ef Show point of order icon on projector (los slide) 2020-11-07 17:19:59 +01:00
Sean 2364ed66ff Fix a bug where vscroll select lists lost content
Large virtual scroll select lists lost the
content after scrolling. Form values
were removed from the component if the
buffer was exceeding the view
2020-11-06 18:33:13 +01:00
Emanuel Schütze 9fcb6cdcba
Merge pull request #5676 from tsiegleauq/show-vote-totals-in-user-list
Show vote weight totals in user list
2020-11-06 11:16:16 +01:00
Emanuel Schütze 5b84bddc2a
Merge pull request #5680 from jwinzer/presence-disabled-fix
Disable presence checkbox
2020-11-05 22:55:32 +01:00
Emanuel Schütze def6e8d59d
Merge pull request #5682 from emanuelschuetze/translation-20201105
Updated translations
2020-11-05 22:54:23 +01:00
Emanuel Schütze a49ed17b45
Merge pull request #5674 from jwinzer/cinema-speaker-list
Cinema needs perm to show list of speakers. Use content-container.
2020-11-05 22:48:00 +01:00
Emanuel Schütze 7d97cede2d
Merge pull request #5672 from jwinzer/assignment-update
Call assignment details from new route after a route change.
2020-11-05 22:39:09 +01:00
Sean 17e5d42d17 Show vote weight totals in user list
Shows the total vote weight in user list
2020-11-05 22:33:15 +01:00
Emanuel Schütze beb59cee73 Updated translations 2020-11-05 22:03:00 +01:00
Jochen Winzer d89c7cfdb0 Disable checkbox if user is not permitted to change presence. 2020-11-05 21:33:04 +01:00
Joshua Sangmeister 883463ea87 Deactivate empty votes for assignment polls 2020-11-05 16:44:22 +01:00
Jochen Winzer 513f1477af Call assignment details from new route after a route change.
Make private.
2020-11-04 18:05:10 +01:00
Jochen Winzer 837af97d57 Need perm to show list of speakers. Use content-container.
Fix link.
2020-11-04 18:01:38 +01:00
Sean 6bc2c104b1
Merge pull request #5673 from jwinzer/poll-collection-refresh
Bug fix preventing undesired recreation of poll-collection
2020-11-04 16:23:51 +01:00
Sean d4b92a2b4e
Merge pull request #5628 from tsiegleauq/vjs-404
catch and refresh unreachable video streams
2020-11-04 16:15:01 +01:00
Jochen Winzer 5ef1869a10 Bug fix preventing undesired recreation of poll-collection and poll-votes on poll change. 2020-11-04 09:38:53 +01:00
Sean ccc48e6b3f
Add "point of order" feature to ListOfSpeakers
Adds the option "point of order" to the list of speakers
- You can make a point of order even though you normally have no
permission to add yourself to the ListOfSpeakers
- You can make a point of order even though you are already on theListOfSpeakers (but you may only be there once)
- new points of order will be on top of the list of speakers
- Point of orders will be highlighted by a red triangle

This feature can be used to request to speak with a higher level of
urgency
2020-11-03 12:40:36 +01:00
Sean b391ed0dfe catch and refresh unreachable video streams
Detects if a live stream is reachable or not.
Adds a refresh key to recheck if a stream can be reached
Live adding and removing streams made easier
2020-10-29 09:20:18 +01:00
Finn Stutzenstein 12e6090fa7
Merge pull request #5546 from FinnStutzenstein/checkForCookies
Added missing client part for cookie checking on login
2020-10-08 09:17:02 +02:00
Emanuel Schütze e77b2518d5 Updated translations 2020-10-07 23:32:28 +02:00
Emanuel Schütze 21990aa568
Merge pull request #5602 from FinnStutzenstein/addDemoModeToDocker
Add demo mode to all docker setups
2020-10-07 23:30:35 +02:00
Emanuel Schütze 58db337a40
Merge pull request #5617 from tsiegleauq/only-non-stable-slides-in-ap
Show first unstable element in autopilot
2020-10-07 23:30:19 +02:00
Sean 70ea4f3658
Merge pull request #5568 from tsiegleauq/show-amendment-cr-in-lead-motion-slide
Add amendment cr to lead motion slide
2020-10-07 18:17:52 +02:00
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 22a318bde2 Show first unstable element in autopilot
Skips all unstable elements in autopilot
2020-10-07 17:24:44 +02:00
Finn Stutzenstein fd2fd8d73a Add demo mode to all docker setups 2020-10-07 16:50:08 +02:00
Sean Engelhardt 823a87c164 Add amendment cr to lead motion slide
Adds amendment cr to the lead motion slide.
Previously the amendmet cr was only present in the amendment slide but was forgotten in the motion slide
2020-10-07 16:47:16 +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
Sean de474e9eae
Merge pull request #5613 from tsiegleauq/invisible-agenda-item-issue
Fix hidden motions in agenda list
2020-10-07 10:29:31 +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 daaf404756 Fix hidden motions in agenda list
Fixes an error where hidden motions in the agenda list would throw an
error
2020-10-06 16:11:17 +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 2ca157bb7c
Merge pull request #5604 from tsiegleauq/select-search-throws-errors
Fix mat select search errors
2020-10-05 10:47:05 +02:00
Sean 25878f297f Fix mat select search errors
Mat select search wants a mat-option now
2020-10-02 15:27:30 +02:00
Finn Stutzenstein 8d2a7f1b12
Merge pull request #5541 from jsangmeister/vote-delegation
Add vote delegation
2020-10-02 14:15:06 +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
Finn Stutzenstein 90e13a0f8e
Update .dockerignore to reduce the context size 2020-09-29 16:16:58 +02:00
Sean 677a93e2ca Update and fix compodoc generation
Fixes and updates compodoc.
2020-09-28 13:02:56 +02:00
Sean 991c08d57d
Merge pull request #5534 from tsiegleauq/protected-values-cause-user-error
Cleanup previous return statements in void functions
2020-09-28 11:53:57 +02:00
Sean 6606e46f68 Add package lock to dockerfile
Adds the package-lock file to the clients dockerfile, so npm-ci works
2020-09-23 14:44:33 +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
Emanuel Schütze b392ac83aa
Merge pull request #5570 from tsiegleauq/vjs-poster-url-config
Add vjs live steam poster url as config
2020-09-23 08:22:37 +02:00
Sean Engelhardt 7f53636b7b Add vjs live steam poster url as config
Adds a new config to show a poster url in the live stream view
2020-09-22 14:53:31 +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 acbddd3c53
Merge pull request #5567 from tsiegleauq/pdf-list-cr-amendment-fixes
More reliable text/stack defintion in cr pdf
2020-09-17 18:31:28 +02:00
Sean 6007799f1d More reliable text/stack defintion in cr pdf
Motion pdfs with line numbers, CR/Amendment and bullet points with
multiple changes have a better chance to produce expected results
2020-09-17 18:11:45 +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
Emanuel Schütze e8e39b1e89
Merge pull request #5550 from tsiegleauq/vscroll-selector-component
Add virtual scrolling for search value selector
2020-09-17 16:48:12 +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 594777960b Adjust code style in user repo
Cleans up return statements in void functions
2020-09-14 12:29:21 +02:00
Emanuel Schütze 2759f8ce2b
Merge pull request #5551 from FinnStutzenstein/crInProjector
Always include CRs in motion slide
2020-09-11 11:38:57 +02:00
Sean b596bf0ca5 Show amendments change reco in main motion
Fixes a bug which was preventing change recos from amendments to display
in main motions
2020-09-11 00:07:33 +02:00
Finn Stutzenstein d893f3dbe5 Always include CRs in motion slide
Show Amendment CR in Projector

Shows the amendment CR in the projector if the projected slide is in
diff version.
Only shows direct Change recos to amended paragraphs
2020-09-10 19:38:25 +02:00
Sean eb98289b84 Add virtual scrolling for search value selector
Adds virtual scrolling for the search value selector.
2020-09-08 12:57:27 +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
Finn Stutzenstein 7446effe0f
Added missing client part for cookie checking on login 2020-09-07 08:36:02 +02:00
Emanuel Schütze 792f0e5d06
Merge pull request #5543 from tsiegleauq/adjust-live-conf-perms
Adjust live stream permission
2020-09-04 15:01:39 +02:00
Sean 28878a0b12 Fix Firefox indexedDB state change issue
Firefox ignores the state change of the conf state
after reloading
2020-09-04 14:19:50 +02:00
Sean 059ace3a11 Adjust live stream permission
New rules to show the live stream and jitsi bar
2020-09-04 14:14:36 +02:00
Emanuel Schütze 06974b559e
Merge pull request #5536 from tsiegleauq/pdf-line-number-in-long-lists
PDF line number alignment
2020-09-01 15:47:37 +02:00
Sean ef87f05454 PDF line number alignment
- Aligns line number for long lists
- Better support for changes to the default font
2020-08-31 15:15:00 +02:00
Finn Stutzenstein a329031942
Fixed errors in client 2020-08-31 13:45:59 +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
Gernot Schulz 418480bff5
build.sh: Make build script more useful
build.sh replaces docker-compose as an image build tool.  Instead, all
OpenSlides services can be built using this script which offers various
important options such as tagging and configurable defaults.

The now-redundant build instructions have been removed from the YAML
templates.

The almost identical server and client build scripts have been made
fully identical.
2020-08-21 08:11:15 +02:00
FinnStutzenstein 2bcab5d098
Repository restructure
- moved all server related things into the folder `server`, so this
configuration is parallel to the client.
- All main "services" are now folders in the root directory
- Added Dockerfiles to each service (currently server and client)
- Added a docker compose configuration to start everything together.
Currently there are heavy dependencies into https://github.com/OpenSlides/openslides-docker-compose
- Resturctured the .gitignore. If someone needs something excluded,
please add it to the right section.
- Added initial build setup with Docker and docker-compose.
- removed setup.py. We won't deliver OpenSlides via pip anymore.
2020-08-21 08:11:13 +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
Sean b59c69e086 Update TinyMCE and TinyMCE angular
Updates TinyMCE and TinyMCE angular to the latest version
2020-08-13 12:27:14 +02:00
Emanuel Schütze 2b3766b758
Merge pull request #5502 from tsiegleauq/enter-animation-without-css
Replace meeting room keyframe animation
2020-08-12 18:43:50 +02:00
Sean c0f5c7b548 Replace meeting room keyframe animation
Replaces the meeting room keyframe css animation with anuglar
animations.
The css keyframe animation declaration was
"optimized away" on prod build
2020-08-12 18:18:04 +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 5f5f704057
Merge pull request #5498 from tsiegleauq/jitsi-meet-api-update
Update jitsi-meet external api
2020-08-12 15:05:29 +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
Emanuel Schütze a48592af50
Merge pull request #5497 from tsiegleauq/fix-parent-motion-title-change-error
Cleaner pdf getUnifiedChanges solution
2020-08-12 14:49:33 +02:00
Finn Stutzenstein d682d0d134
Fixed poll required users and motion state extension selector 2020-08-11 13:21:51 +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
Sean 65ee468c21 Update jitsi-meet external api
Updates jitsi-meet external api the the current version
Hide "security" and "invite" in jitsi-iFrame
2020-08-10 15:37:14 +02:00
Sean 09a10c7e92 Cleaner pdf getUnifiedChanges solution
Fixes a bug where cercain amendments where causing an
"titleChange of undefined" error
2020-08-10 14:17:43 +02:00
Emanuel Schütze 23ae32a758
Merge pull request #5480 from tsiegleauq/amendment-without-parent-motion
Detect if the parent motion was deleted
2020-07-17 16:55:47 +02:00
Sean 2c17d7b7aa Add "motions_amendments_workflow" config
Adds a config for the default workflow for amendments and maked the
necessary changes to motion detail and amendment wizzard
2020-07-17 16:10:45 +02:00
Sean e268903536 Detect if the parent motion was deleted
Fixes an error where the motion detail page would not open if the parent
motion to an amendment was deleted.
Show a warning if the parent motion to an amendment is missing
2020-07-17 16:08:15 +02:00
Emanuel Schütze 9aefb122e6 Release 3.2 2020-07-15 16:16:00 +02:00
Emanuel Schütze 47113f14fc
Merge pull request #5470 from tsiegleauq/cannot-click-bg
Fix clicking behind conference bar
2020-07-15 12:43:10 +02:00
Sean 7d912d82de Fix clicking behind conference bar
Fixes an issue with the live stream.
Clicks in the background were falsely cought.
2020-07-14 15:10:01 +02:00
Emanuel Schütze ebf8325ded
Merge pull request #5468 from tsiegleauq/safari-list-views
Fix list views for safari
2020-07-14 14:28:08 +02:00
Emanuel Schütze 03acae26ff
Merge pull request #5465 from tsiegleauq/better-jitsi-icons
Add link to CLOS to meeting room indicator
2020-07-14 14:24:54 +02:00
Sean 109fea791d Fix list views for safari
Usually useless hight information fixes rendering issues on safari
browsers
2020-07-14 13:13:49 +02:00
Sean c2bd7c16a9 Fix PDF generation for motion with free amendments
Fixes an issue where motions which had free form amendments were not be
able to render as pdf
2020-07-14 12:34:05 +02:00
Sean 7ded2cd8a1 Add link to CLOS to meeting room indicator
Links the "cannot enter meeting room"-indicator to the CLOS.
Changes the minimize icon
2020-07-14 10:53:02 +02:00
Emanuel Schütze 74e3ea119e Updated translations (DE, CZ, RU) 2020-07-12 17:41:06 +02:00
Emanuel Schütze 9e55cb1480
Merge pull request #5462 from tsiegleauq/more-jitsi-improvements
Improve Jitsi UI
2020-07-12 17:22:32 +02:00
Sean 719d1d1cf1 Improve Jitsi UI
Some slight jitsi/stream look and feel improvements

The "closed door" now has a tooltip "add yourseld to los to enter
conference"
Use "keyboard_hide" to indicate minimize/hide
Hide the potentially obsolete quick controls when the full jitsi dialog
is open
Use the "voice_chat" icon to indicate showing the full jitsi dialog
Remove "hangup" "raise hand" and "help" from the jitsi iframe
Add hangup and leave to the jitsi dialog in replacement of hangup in the
iFrame
The "enter live conference" icon is now highlighted by a fade animation
2020-07-10 16:46:29 +02:00
Sean 2835e746e8 Add prefix to topic list of speaker slide
The topics prefix (number) was missing in the list of speakers slide
2020-07-09 12:56:58 +02:00
Emanuel Schütze a7703a5557
Merge pull request #5454 from tsiegleauq/whole-agenda-slide-misses-top
Add top to agenda projection
2020-07-09 09:25:36 +02:00
Sean 32775b0a2a Add top to agenda projection
Show the agenda title prefix in the whole agenda slide projection
2020-07-09 08:16:57 +02:00
Sean 011c23093f Use a-tag for external link
Allows to left-click, right-click and middle-click the "open external"
button. Left clicking will disconnect from the current jitsi connection
in OpenSlides. Useful for tests and power using, such as multiple jitsi
connections or easier copying the link.
2020-07-09 08:11:39 +02:00