Commit Graph

8585 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
Finn Stutzenstein
676bda8cc3
Merge pull request #5821 from danilobuerger/django-env
Allow preset env variable for django secret
2021-01-26 09:19:48 +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
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
Emanuel Schütze
97950d5baa
Merge pull request #5817 from FinnStutzenstein/debugging
Performance improvements for OS3+
2021-01-21 13:35:03 +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
Finn Stutzenstein
4f4bff9bb3
Merge pull request #5814 from FinnStutzenstein/docs
Docs and security email
2021-01-18 07:25:57 +01:00
Finn Stutzenstein
b2e6d2f2ac Docs and security email 2021-01-17 21:18:52 +01:00
Finn Stutzenstein
b200cfbd07
Merge pull request #5533 from FinnStutzenstein/externalAutoupdateService
External autoupdate service
2021-01-14 13:39:32 +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
1145ae1460
Merge pull request #5719 from FinnStutzenstein/minVotesAmount
Minimum amount of votes
2021-01-13 11:23:49 +01:00
Sean
bc382df68f Client: Add form validation and request handling 2021-01-13 11:14:12 +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
Emanuel Schütze
010b61cce2
Merge pull request #5800 from FinnStutzenstein/fixUserUpdateVoteDelegations
Fix vote_delegated_from_user_ids on user update
2021-01-08 15:39:05 +01:00
Emanuel Schütze
8542817129
Merge pull request #5791 from FinnStutzenstein/pwGeneration
Change PW generation to a secure method
2021-01-08 15:37:38 +01:00
Finn Stutzenstein
b0ba30b454
Fix vote_delegated_from_user_ids on user update 2021-01-08 08:24:34 +01:00
Finn Stutzenstein
183c511046
Change PW generation to a secure method 2021-01-05 07:42:19 +01:00
Emanuel Schütze
ea277adf9e
Merge pull request #5784 from emanuelschuetze/release3.3
Release3.3
2020-12-18 01:04:36 +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
ab2fbaac79
Merge pull request #5778 from tsiegleauq/changelog-3.3
Add Changelog for 3.3 release
2020-12-17 23:56:00 +01:00
Emanuel Schütze
aeaedabb87
Merge pull request #5780 from emanuelschuetze/translation20201216
Updated translations
2020-12-17 23:23:28 +01:00
Sean
52c4aa6c58 Updated Changelog for 3.3 release 2020-12-17 23:22:46 +01:00
Emanuel Schütze
227dfd0c26 Updated translations 2020-12-17 10:30:46 +01:00
Emanuel Schütze
b179930cc8
Merge pull request #5779 from tsiegleauq/add-more-server-messages-to-translations
Add more server messages to translations
2020-12-16 20:05:33 +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
Emanuel Schütze
266c129e04
Merge pull request #5777 from tsiegleauq/see-own-vote-delegations-in-profile
Show vote delegations to users on ownPage
2020-12-16 13:35:35 +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
Emanuel Schütze
1ebad842de
Merge pull request #5773 from tsiegleauq/mat-chips-in-search-val
Overwork chip list in search value selector
2020-12-15 17:18:37 +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
Emanuel Schütze
5d5a5b3e39
Merge pull request #5755 from FinnStutzenstein/fixUserDelegationSelfvote
Fix user delegation selfvote
2020-12-10 10:10:42 +01:00
Finn Stutzenstein
ef42a2293d
Adjust restricter, so poll managers can see the delegation structure 2020-12-10 09:20:50 +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
Sean
78cfa4875e
Merge pull request #5683 from jwinzer/bug-fix-perms
Fix unresolved permissions
2020-12-09 12:54:22 +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