Commit Graph

2020 Commits

Author SHA1 Message Date
Emanuel Schütze
a7f392b997
Merge pull request #6074 from tsiegleauq/show-unpublish-ap
Show "unpublished" for finished polls in AP
2021-05-26 17:35:42 +02:00
Sean
6451cdf590 Show "unpublished" for finished polls in AP
Also: Change APs change detection to onPush.
This is the last possible option to enhance AP performance
2021-05-26 17:07:40 +02:00
Emanuel Schütze
2eda8fea22
Merge pull request #6063 from tsiegleauq/cryon-font
Add own font for chyron
2021-05-26 16:59:03 +02:00
Sean
74b32af293 Add own font for chyron
Alters Current Speakery Chyron, optionally shows the structure level in
a new line (slightly smaler, faint)
Font for user name in chyron can be configured
Support way more font mime types
Adds an own font for chyron (server, client)
Extends loads-font service
Cleanup countdown-time component from font loading
2021-05-26 16:41:27 +02:00
Emanuel Schütze
43d73a87f1
Merge pull request #6076 from tsiegleauq/more-lenient-word-breaking
Add some hyphenation
2021-05-25 21:49:16 +02:00
Emanuel Schütze
66945231f4
Merge pull request #6075 from tsiegleauq/poo-dialog-cannot-enter
Enhance point-of-order dialog
2021-05-25 21:40:50 +02:00
Emanuel Schütze
5a9767004d
Merge pull request #6073 from tsiegleauq/keep-poo-infos
Keep point-of-order infos
2021-05-25 21:37:15 +02:00
Emanuel Schütze
a0c9f3b6da
Merge pull request #6066 from tsiegleauq/fullscreen-projector-cursor
Hide cursor in full screen projector
2021-05-25 21:37:01 +02:00
Sean
f05dd8c448 Keep point-of-order infos
Keeps pro, contra, poo infos in active speaker and finished speakers.
Cleans up a lot of template related code
2021-05-25 20:59:18 +02:00
Sean
7a6b31d8f8 Hide cursor in full screen projector
Hides the cursor when hovering over the full screen projectors
containers
2021-05-25 20:41:15 +02:00
Sean
f707615875 Add some hyphenation
Use hyphenation for motion details poll display.
More lenient display of lpng poll names using hyphenation
2021-05-25 15:56:12 +02:00
Sean
fbb60cb0b6 Enhance point-of-order dialog
Escape and enter do what they should
2021-05-25 15:15:08 +02:00
Sean
861726fb9c Restrict Chat message length in client
Restricts Chat Messages in client to enforce a maximum length of 512
characters
enhance chat form validation
show chat message length and characters left if close to the limit of
512
2021-05-21 13:14:03 +02:00
Emanuel Schütze
cb13c8cd47 Always allow speakers to remove from list of speakers (button always enabled) 2021-05-10 21:40:38 +02:00
Sean
3402928935 remove Motion polls show global values
Motion polls were displaying global abstain, etc
2021-05-06 14:21:04 +02:00
Sean
18c75a6d12 Enumber Voting results
Enumber the rank of voting results in PDF, Projector and Detail View
2021-05-05 14:49:42 +02:00
Sean
0011d63a40 Add General x to analog polls
Adds general approval/rejection/abstain to analog polls
Fix a bug where the 100% base "Entitled" would render analog polls unusable
enumerate poll candidates
2021-05-05 12:03:41 +02:00
Sean
0b23806db6 Fix user cannot see candidate names
Assignment detail view sort list "getTitle" was hidden behind
"assignment_can_manage", thus users could not see the names of candidates
2021-05-04 15:47:15 +02:00
Emanuel Schütze
74981e26c0
Merge pull request #6037 from tsiegleauq/poll-progress-speaker-manage
Allow LOS-Manager to see poll progress
2021-05-03 13:11:30 +02:00
Tobias Hößl
705c42bd11
Fixes #6030 - amending a list item does not show the change inline in diff box 2021-05-02 20:10:19 +02:00
Emanuel Schütze
d86fcd80b7
Merge pull request #6031 from jsangmeister/fix-entitled-users
Fix entitled user calculation and display of voting banner in case of vote delegations
2021-04-29 15:38:49 +02:00
Emanuel Schütze
88e870c9df
Merge pull request #6040 from tsiegleauq/search-cannot-find-uml
Find umlauts using search
2021-04-29 15:38:29 +02:00
Emanuel Schütze
325469bc82
Merge pull request #6038 from FinnStutzenstein/fix-los
Fix LOS (closes #6035)
2021-04-29 15:03:54 +02:00
Emanuel Schütze
db4c593adf Added new translations (it, es). 2021-04-29 14:12:52 +02:00
Finn Stutzenstein
75bd3c50e5
Fix LOS (closes #6035) 2021-04-29 13:46:36 +02:00
Sean
d08752db21 Find umlauts using search
TinyMCE currently escapes all special chatacters pretty unconviniently.
We now try to parse HTML using DOMParser and extract the text content so
we can actually search for it
2021-04-29 11:09:53 +02:00
Sean
85bb9f751d Allow LOS-Manager to see poll progress
Adjust poll progress bar to be visible for LOS-Manager.
Cleans up redundant permission asking
Adds push CD to progress bar to react better on permission changs
2021-04-28 13:10:29 +02:00
Emanuel Schütze
22df847c78 Updated translations 2021-04-27 23:05:23 +02:00
Finn Stutzenstein
c9c90cd4a3 pro/contra speakers and notes for point of order speakers
Enhance Pro Contra UI/UX by Sean
2021-04-27 19:53:17 +02:00
Joshua Sangmeister
8ad008d9de Fix entitled user calculation and display of voting banner in case of vote delegations 2021-04-26 15:44:42 +02:00
Sean
697177640b Some enhancements for motion detail
Vscroll for the list of changes
List of changes can collapse
direct link to an amendment over the list of changes
Vscroll for the amendment create wizzard
Line numbers in the amendment create wizzard
Some css cleanup
2021-04-15 20:58:08 +02:00
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