Commit Graph

1989 Commits

Author SHA1 Message Date
Tobias Hößl
ba177a89d4
Allow formatting-only-changes without breaking the inline diff 2021-04-05 11:58:09 +02:00
Emanuel Schütze
045648eddb Updated translations 2021-04-01 17:45:29 +02:00
jsangmeister
787390c899
Merge pull request #5978 from jsangmeister/voting-changes
Implement voting changes
2021-04-01 16:12:31 +02:00
Joshua Sangmeister
4b13ff681e user_token, single votes table, entitled_users server changes
server changes finished, tests, cleanup

Add entitled user table

Fix formatting

Finish entitled users table & implement new percent base

Fix typing

Fixed remarks & errors

Fix new precent base representation

Update autoupdate service

Remove unneeded prettier entry

Remove unneeded css
2021-04-01 16:02:47 +02:00
Emanuel Schütze
2d4419530e
Merge pull request #5987 from CatoTH/bugfix/escape-special-characters
Bugfix: change detection for additional special characters
2021-04-01 09:08:44 +02:00
Tobias Hößl
7275aa69af
Bugfix: change detection for additional special characters 2021-03-31 21:44:53 +02:00
Finn Stutzenstein
ca298960ae
Do not show old errors on the spinner 2021-03-25 15:23:06 +01:00
Emanuel Schütze
2f9b6aba95
Merge pull request #5979 from tsiegleauq/poll-method-makes-sense
Disable general no/yes depending on poll method
2021-03-25 10:06:58 +01:00
Sean
49dba31d56 Disable general no/yes depending on poll method
During the creation of an assignment poll:
Disable and unset the general yes control if the poll method is "yes"
Disables and unset the general no control if the poll method if "no"
2021-03-25 09:55:13 +01:00
Emanuel Schütze
2e43a17987 Updated translations 2021-03-22 21:20:15 +01:00
Emanuel Schütze
2e5cea512e
Merge pull request #5957 from CatoTH/bugfix/add-warning-when-editing-motion-with-amendments
Add a warning when editing a motion with existing amendments
2021-03-22 21:15:02 +01:00
Tobias Hößl
9c2e49692c Add a warning when editing a motion with existing amendments 2021-03-22 21:00:04 +01:00
Finn Stutzenstein
7bbd8688a2
Merge pull request #5970 from FinnStutzenstein/updateClientDeps
Client dependencies
2021-03-22 08:52:31 +01:00
Finn Stutzenstein
c10a0ad70d
Client dependencies:
- Update ng2-pdf-viewer
- Lock down tsparticles and ng-particles to the version in the
package-lock.json. In fresh installs newer versions do not work
currently
2021-03-22 07:55:37 +01:00
Emanuel Schütze
bd29777d83 Updated translations 2021-03-19 14:20:15 +01:00
Martin Dickopp
a9d223121e Make configurable whether a newly created list of speakers is initially open or closed 2021-03-08 16:28:00 +01:00
Emanuel Schütze
ba0e9b3bc6 Add translation service to DiffService. 2021-03-08 12:54:22 +01:00
Tobias Hößl
bef322d0a4
Don't show diff view on slides if no change recos exist 2021-03-06 19:16:22 +01:00
Emanuel Schütze
bc9b028624 Updated translations 2021-03-05 07:44:49 +01:00
Emanuel Schütze
291402e159
Merge pull request #5920 from CatoTH/bugfix/inconsistency-amendment-paragraphs
Bugfix: better handling of inconsistent states in amendments if the b…
2021-03-04 21:26:12 +01:00
Tobias Hößl
ac50d6f8dc Bugfix: better handling of inconsistent states in amendments if the base motion has shrunk 2021-03-04 21:17:14 +01:00
Finn Stutzenstein
93da435e7c
Remove voted_id for ongoing polls 2021-03-04 07:56:11 +01:00
Finn Stutzenstein
3504a87295 Update Dependencies 2021-03-02 22:53:48 +01:00
Emanuel Schütze
155ade1a8c Updated translations 2021-03-02 22:27:45 +01:00
Finn Stutzenstein
619a698272 Error handling:
- catch QuotaExceededError
- add generic error message to the spinner
2021-03-01 17:10:22 +01:00
GabrielInTheWorld
a450a1dff5
Merge pull request #5898 from GabrielInTheWorld/cleanup-fix-spinner
Some cleanup in favor of spinner-fixes
2021-03-01 16:49:02 +01:00
Emanuel Schütze
d73b2142b7
Merge pull request #5928 from FinnStutzenstein/orderAssignmentOptions
order assignment options by weight
2021-03-01 16:25:14 +01:00
Emanuel Schütze
05fcf40b51
Merge pull request #5929 from FinnStutzenstein/chatPersistance
Do not clear chat notifications from local storage
2021-03-01 16:19:28 +01:00
Emanuel Schütze
83ff7b938c
Merge pull request #5927 from FinnStutzenstein/pointOfOrderOnlyCanSpeak
Point of order only for agenda.can_be_speaker
2021-03-01 16:12:44 +01:00
GabrielMeyer
7314bf0999 Cleanup spinner-fixes
- Rename: noop-interceptor -> stable-interceptor
- Put logic from stable.service to openslides-status.service
2021-03-01 16:11:08 +01:00
Emanuel Schütze
7dcc0ad42a
Merge pull request #5924 from emanuelschuetze/agenda-config
Fixed showSubtitle config. Reordered agenda config.
2021-03-01 15:37:17 +01:00
Emanuel Schütze
4e6f0850c4 Fixed showSubtitle config. Reordered agenda config. 2021-03-01 15:21:43 +01:00
Finn Stutzenstein
33fca309c4
Fix usage of osPerms 2021-03-01 15:14:13 +01:00
Finn Stutzenstein
b13732f9ec
Do not clear chat notifications from local storage 2021-03-01 15:00:47 +01:00
Finn Stutzenstein
0a8274e6e2
order assignment options by weight 2021-03-01 14:40:06 +01:00
Finn Stutzenstein
a9045b6a1c
Point of order only for agenda.can_be_speaker 2021-03-01 14:31:40 +01:00
Finn Stutzenstein
4929e2b6f6 Change chat access groups
Adjust some client chat feature

- Cleanup some stuff
- Read and write chatting
2021-02-19 15:08:02 +01:00
Emanuel Schütze
7e875c45db
Merge pull request #5897 from GabrielInTheWorld/fix-spinner
Fixes an infinite running spinner
2021-02-15 15:35:29 +01:00
GabrielMeyer
e74df38a0f Fixes an infinite running spinner
The ApplicationRef propagates never a stable state, when in cinema mode. This is, because in the `cinema.component.ts` asynchronous requests are made, before the app was getting stable.
2021-02-15 15:18:10 +01:00
Sean
4490ee91d0 More change detection in jitsi bar 2021-02-15 14:34:36 +01:00
Sean
eda242e83f Fix paragraph based amnedments in iOS
Fixes an issue on iOS devices regarding click-bindings in structural
loops.
iOS devices did not respond to any touch inputs in the given view.
The same behavious was observed in #5351
This is most a bug in angular or iOS webkit
2021-02-12 13:11:46 +01:00
Emanuel Schütze
1cf2763ed6 Updated translations 2021-02-11 21:33:18 +01:00
Sean
69adc1d41c Add Chat UI Components
Add Chat User Interface
Restructure some services
Virtual Scrolling
Manual change detection for message updates
Enhanced Date pipe
Message layout
Tabbed reusable chat window
Deleting messages
Further permission checks
Delete-prompts
Mobile friendly chat usage
automatically scroll to bottom
2021-02-11 17:10:25 +01:00
Finn Stutzenstein
8e5b1fa99d Add Chat on Server and client as draft 2021-02-09 16:07:52 +01:00
Emanuel Schütze
612bf78871 Updated translations 2021-02-08 17:07:32 +01:00
Emanuel Schütze
d05958ca10
Merge pull request #5851 from ostcar/caddy
Use caddy
2021-02-05 18:17:51 +01:00
Sean
372f1eaa7e Support youtube as livestream URL
Allows to use youtube as as live stream url config,
will load the youtube embedded player in an iframe instead
of video.js
2021-02-05 14:00:52 +01:00
Finn Stutzenstein
1b482871ac
update client 2021-02-05 12:54:09 +01:00
Sean
058a7f71ae
Merge pull request #5823 from tsiegleauq/fix-group-import
Fix csv importing users with groups
2021-02-05 10:38:36 +01:00
Oskar Hahn
799dd08e0d client listens 4200 in prod 2021-02-05 09:47:04 +01:00
Finn Stutzenstein
a839294add
Wait for a stable app (closes #5813) 2021-02-04 12:33:20 +01:00
Emanuel Schütze
e5f0ebd6e5
Merge pull request #5832 from tsiegleauq/jitsi-helpdesk
Add helpdesk icon and feature
2021-02-03 11:42:59 +01:00
Sean
04eedc7c37 Cleanup some applause code
Cleans some applause code
2021-02-02 15:52:55 +01:00
Sean
024b9c74e6 Add helpdesk icon and feature
Adds a "helpdesk" Jitsi room feature.
Can be enabled using the OpenSlides config page

Shows a 'Call support' button in the conference control bar
clicking the support button will connect the user
to a "support" jitsi room
The name of the support room will be
`JITSI_ROOM_NAME`-SUPPORT
2021-02-02 13:03:30 +01:00
Finn Stutzenstein
1380812924
Fixes offline bar on successful reconnections (closes #5810). 2021-02-02 11:56:04 +01:00
Sean
cc65b756c7
Merge pull request #5811 from tsiegleauq/applause-client
Add applause in client
2021-02-01 13:34:30 +01:00
Sean
e3d718cad0 Add applause in client
Applause button in Jitsi Bar,
Add Applause Service,
Add Applause Display component,
Add Config varriables,
Integrate applause display component in Jitsi bar,
Integrate custom vertical progress bar as own component,
  - vertical and more customizable than the mat-progress-bar
  - includes an optional end icon
  - animated and themed
Add custom clapping icon
applause particles using tsparticles
custom particle component
dynamic add and remove functions to alter particles in runtime
Set own particle shape
Use smooth emitter for clean particle spawning
2021-01-28 15:42:19 +01:00
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