Commit Graph

127 Commits

Author SHA1 Message Date
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
c9b924d79a
Merge pull request #5976 from FinnStutzenstein/fixListOfSpeakerInitialClosed
Fix LOS initially closed migration issue
2021-03-22 20:48:47 +01:00
Finn Stutzenstein
f897bb01a3
Enable pytest in docker
The DJANGO_SETTINGS_MODULE is set in the develop container, so the
tests.settings from the setup.cfg was ignored. Executing pytest with

    DJANGO_SETTINGS_MODULE=tests.settings pytest

works fine. The line added in the setup.cfg takes over precedence: It
auto-adds the --ds parameter which has a higher precedence than the
environment variable.

Also removed an unnecessary setting.
2021-03-22 13:01:26 +01:00
Finn Stutzenstein
41a3447357
Fix LOS initially closed migration issue 2021-03-22 08:54:16 +01:00
Emanuel Schütze
bd29777d83 Updated translations 2021-03-19 14:20:15 +01:00
Finn Stutzenstein
a48fe86791
Add login errors for inactive users 2021-03-19 07:35:45 +01:00
Finn Stutzenstein
e45d83de5a
Small mediafile fixes 2021-03-18 15:21:00 +01:00
Finn Stutzenstein
365d0d55ea
Merge pull request #5937 from FinnStutzenstein/deleteUnusedCode
Delete unused code
2021-03-15 14:52:04 +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
Finn Stutzenstein
3ba4f99876
Delete unused code
@oscar: Only the user restricter is still present in the code since it is needed for whoami
2021-03-08 08:57:21 +01:00
Emanuel Schütze
bd7fa9b3db
Merge pull request #5935 from FinnStutzenstein/userAutoupdateOnPermissionChange
Update users on can_see_extra_data permission change
2021-03-04 21:23:04 +01:00
Finn Stutzenstein
265145f001
Merge pull request #5936 from FinnStutzenstein/redisTimeoutErrors
Attempt on handling timeout errors
2021-03-04 09:09:38 +01:00
Finn Stutzenstein
39fb2fadec
Attempt on handling timeout errors
This code retries to load sessions three times. If not an error will be
thrown. There are other solutions (Like not throwing the error), but
I would like to see errors in production usage to see, if this helps or
not.
2021-03-04 08:45:45 +01:00
Finn Stutzenstein
d0c1879521
Update users on can_see_extra_data permission change 2021-03-04 08:20:05 +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
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
Emanuel Schütze
4e6f0850c4 Fixed showSubtitle config. Reordered agenda config. 2021-03-01 15:21:43 +01:00
Finn Stutzenstein
a9045b6a1c
Point of order only for agenda.can_be_speaker 2021-03-01 14:31:40 +01:00
Finn Stutzenstein
f8446ee609
Fix point of order weighting 2021-02-22 13:33:36 +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
Finn Stutzenstein
fe0f8d28f4
Remove debug prints 2021-02-15 11:32:24 +01:00
Finn Stutzenstein
35e8f84fda
Own session redis
- removed big mode artifacts
- removed django_session_redis
- Enforce newly created settings.py when invalid options are set:
  * OPENSLIDES_USER_DATA_DIR
  * SESSION_ENGINE
- Overwrites the secret key during development to "development"
2021-02-15 07:37:46 +01:00
Finn Stutzenstein
e9c2dc90d5
Catch pyPDF2 key error 2021-02-15 07:22:38 +01:00
Emanuel Schütze
c0dad72eb4
Merge pull request #5882 from FinnStutzenstein/fixPointOfOrderSorting
Fix point of order sorting
2021-02-11 21:15:42 +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
b0ccb1ea7e
Fix point of order sorting 2021-02-10 15:58:01 +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
Norman Jäckel
c3de6dc870 Added information to poll start and stop. 2021-02-05 15:28:37 +01:00
Emanuel Schütze
3b1b396e9a Removed setup.py and MANIFEST
Reason: pip supported is dropped for next OpenSlides release (3.4)
because the python server cannot run stand-alone anymore. You will cannot
install OpenSlides 3.4 via 'pip install openslides'.
2021-02-04 22:17:46 +01:00
Emanuel Schütze
72b7162eeb
Merge pull request #5842 from FinnStutzenstein/sortPooSpeakers
Order point of order speakers in the request order (closes #5816)
2021-02-04 22:03:11 +01:00
Finn Stutzenstein
94c943cdb5
Order point of order speakers in the request order (closes #5816) 2021-02-03 09:15:28 +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
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
Danilo Bürger
11d7f7b888
Allow preset env variable for django secret
The source command fails if /run/secrets/django does not exist. This is however not important if DJANGO_SECRET_KEY is already set. This is checked in the next step
2021-01-22 21:08:34 +01:00
Gernot Schulz
7e67e0db12
Merge pull request #5815 from gsiv/fix/entrypoint-db
server: Fix database config in Docker entrypoint
2021-01-22 16:33:42 +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
Gernot Schulz
0f0d750d83 server: Fix database config in Docker entrypoint
Firstly, this patch ensures that the server connects to the database
according to the given configuration variables.  Up until now, there was
a pg_isready check for the hard-coded hostname "db".  While this
generally worked in the default setup – db is an alias for pgbouncer in
the provided YAML configuration files – it is obviously wrong and would
lead to unexpected behavior in customized setups.

Secondly, the .pgpass setup, which was a remnant of another time and not
used anymore, has been removed.
2021-01-18 14:00:58 +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
Finn Stutzenstein
ea180246c7
fixed server, rebased on current master 2021-01-12 09:50:13 +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
b0ba30b454
Fix vote_delegated_from_user_ids on user update 2021-01-08 08:24:34 +01:00
Emanuel Schütze
ef135837f7 Update version to 3.4-master 2020-12-18 00:43:02 +01:00
Emanuel Schütze
a37e2196b3 Release 3.3 2020-12-18 00:43:02 +01:00
Emanuel Schütze
273debf99a Readded setup.py 2020-12-18 00:42:59 +01:00
Emanuel Schütze
227dfd0c26 Updated translations 2020-12-17 10:30:46 +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