Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add initial data creation #2295

Merged
merged 9 commits into from
Apr 23, 2024
Merged

Conversation

jsangmeister
Copy link
Contributor

fixes OpenSlides/OpenSlides#6745

See OpenSlides/openslides-datastore-service#245 (comment) for additional context.

Also fixed some types and interface usages.

During startup of the action container, it checks now if the env var OPENSLIDES_BACKEND_CREATE_INITIAL_DATA ist set. In that case, the initial data file is read and send to the action organization.initial_import.

Copy link
Member

@r-peschke r-peschke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@r-peschke r-peschke assigned jsangmeister and unassigned r-peschke Mar 15, 2024
@peb-adr
Copy link
Member

peb-adr commented Mar 26, 2024

This will leave the superadmin (user/1) unusable as no password is defined in https://github.com/OpenSlides/openslides-backend/blob/main/global/data/initial-data.json.\
There shouldn't be one defined either IMO as it would pose a security risk as people may start using the same default password for the superadmin.

The initial-data manage command currently will fire a user.set_password action after the initial import to set the generated password from the secrets/superadmin file.
So the code should be expanded to check for $SUPERADMIN_PASSWORD_FILE (default: /run/secrets/superadmin) and if it exists set superadmin's password to it's content.

@jsangmeister
Copy link
Contributor Author

@peb-adr I added the password setting as described. I renamed the variable to OPENSLIDES_BACKEND_SUPERADMIN_PASSWORD_FILE to conform with the other backend variables, I hope that's okay.

I also changed the setup slightly to load the example data file in test mode instead of the initial data. This is currently also the case and should not change, since it would make life harder for client developers.

@jsangmeister
Copy link
Contributor Author

@r-peschke I adjusted the test setup slightly to make it easier to access application class specific attributes, e.g. the logger. Maybe you can use the same adjustments for your tests in #2335

@peb-adr
Copy link
Member

peb-adr commented Mar 27, 2024

@peb-adr I added the password setting as described. I renamed the variable to OPENSLIDES_BACKEND_SUPERADMIN_PASSWORD_FILE to conform with the other backend variables, I hope that's okay.

Tbh I would prefer it stays as is.
I think should not conform with the other backend variables but rather the other secret path variables.
See https://github.com/OpenSlides/openslides-manage-service/blob/ac17d372845d464740b9c9ac43a42bbfc898faf8/pkg/config/default-config.yml#L76

@jsangmeister
Copy link
Contributor Author

Tbh I would prefer it stays as is. I think should not conform with the other backend variables but rather the other secret path variables. See https://github.com/OpenSlides/openslides-manage-service/blob/ac17d372845d464740b9c9ac43a42bbfc898faf8/pkg/config/default-config.yml#L76

Sure, I also see that, renamed it

@jsangmeister jsangmeister added this pull request to the merge queue Apr 23, 2024
Merged via the queue into OpenSlides:main with commit cf3aacd Apr 23, 2024
5 checks passed
@jsangmeister jsangmeister deleted the initial-data branch April 23, 2024 14:19
r-peschke added a commit that referenced this pull request May 7, 2024
* Fix structure level migration test order error (#2274)

* Bump actions/github-script from 6 to 7 (#2277)

Bumps [actions/github-script](https://github.com/actions/github-script) from 6 to 7.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](actions/github-script@v6...v7)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Implement readding of interposed questions (#2237)

* Implement readding of interposed questions

* Remove weight calculation change and restrict more

* Update meta

* Bump types-pyyaml in /requirements/partial (#2287)

Bumps [types-pyyaml](https://github.com/python/typeshed) from 6.0.12.12 to 6.0.12.20240311.
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-pyyaml
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump pytest from 8.0.2 to 8.1.1 in /requirements/partial (#2288)

Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.0.2 to 8.1.1.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest@8.0.2...8.1.1)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump types-redis in /requirements/partial (#2290)

Bumps [types-redis](https://github.com/python/typeshed) from 4.6.0.20240218 to 4.6.0.20240311.
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-redis
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump types-pygments in /requirements/partial (#2292)

Bumps [types-pygments](https://github.com/python/typeshed) from 2.17.0.20240106 to 2.17.0.20240310.
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-pygments
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update meta repository (#2294)

Co-authored-by: jsangmeister <[email protected]>

* Bump types-requests in /requirements/partial (#2286)

Bumps [types-requests](https://github.com/python/typeshed) from 2.31.0.20240218 to 2.31.0.20240311.
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-requests
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump types-bleach in /requirements/partial (#2289)

Bumps [types-bleach](https://github.com/python/typeshed) from 6.1.0.20240222 to 6.1.0.20240311.
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-bleach
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump types-simplejson in /requirements/partial (#2291)

Bumps [types-simplejson](https://github.com/python/typeshed) from 3.19.0.20240218 to 3.19.0.20240310.
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-simplejson
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump mypy from 1.8.0 to 1.9.0 in /requirements/partial (#2283)

* Bump mypy from 1.8.0 to 1.9.0 in /requirements/partial

Bumps [mypy](https://github.com/python/mypy) from 1.8.0 to 1.9.0.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v1.8.0...1.9.0)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Fix email typings

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joshua Sangmeister <[email protected]>

* Bump autoflake from 2.3.0 to 2.3.1 in /requirements/partial (#2297)

Bumps [autoflake](https://github.com/PyCQA/autoflake) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/PyCQA/autoflake/releases)
- [Commits](PyCQA/autoflake@v2.3.0...v2.3.1)

---
updated-dependencies:
- dependency-name: autoflake
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update meta repository (#2298)

Co-authored-by: jsangmeister <[email protected]>

* Fix \update-meta command (#2299)

* Fix \update-meta command (#2300)

* Fix \update-meta command (#2301)

* Fix \update-meta command (#2302)

* Fix \update-meta command (#2303)

* Add staging branches to CI (#2255)

* Implement cascade delete for amendments (#2253)

* Implement certain preventions for changing active speakers state (#2272)

* Update all translations (#2282)

* Update meta repository (#2304)

Co-authored-by: jsangmeister <[email protected]>

* Add colgroup and col to allowed html tags (#2305)

* Update meta repository (#2308)

Co-authored-by: jsangmeister <[email protected]>

* Handle zero default time in projector_countdown.create (#2285)

* Add remaining_time to SlLoS.update (#2279)

* Add remaining_time to SlLoS.update

* Expand sllos update test

* Make test not internal

* Update meta repository (#2310)

Co-authored-by: jsangmeister <[email protected]>

* Fix participant import re-upload structure_level error (#2313)

* Fix KeyError in entitled users calculation (#2314)

* Bump black from 24.2.0 to 24.3.0 in /requirements/partial (#2316)

Bumps [black](https://github.com/psf/black) from 24.2.0 to 24.3.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](psf/black@24.2.0...24.3.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Fix fixed list order in tests (#2317)

* Fix fixed list order in tests

* Fix mypy

* Fix test_longer_migration (#2320)

* Add migration to remove empty structure level remnants (#2325)

* Add migration to remove empty structure level remnants

* Fix data file migration indices

* Remove consistency check for PoO settings (#2326)

* Add new los setting for hiding the secondary contribution count (#2296)

* Add new los setting for hiding the secondary contribution count

* Rename setting

* Update meta repository (#2327)

Co-authored-by: luisa-beerboom <[email protected]>

* Change perm for user actions (#2322)

* Change perm for user actions

* Change other actions and write tests

* Remove import changes

* Fix speaker update KeyError (#2328)

* Bump python from 3.10.13-slim-bookworm to 3.10.14-slim-bookworm (#2329)

Bumps python from 3.10.13-slim-bookworm to 3.10.14-slim-bookworm.

---
updated-dependencies:
- dependency-name: python
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump pyupgrade from 3.15.1 to 3.15.2 in /requirements/partial (#2334)

Bumps [pyupgrade](https://github.com/asottile/pyupgrade) from 3.15.1 to 3.15.2.
- [Commits](asottile/pyupgrade@v3.15.1...v3.15.2)

---
updated-dependencies:
- dependency-name: pyupgrade
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump pytest-cov from 4.1.0 to 5.0.0 in /requirements/partial (#2333)

Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 4.1.0 to 5.0.0.
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](pytest-dev/pytest-cov@v4.1.0...v5.0.0)

---
updated-dependencies:
- dependency-name: pytest-cov
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update meta repository (#2336)

Co-authored-by: jsangmeister <[email protected]>

* Stop paused speakers in speaker.speak (#2332)

* Update meta repository (#2338)

Co-authored-by: jsangmeister <[email protected]>

* Fix close-issues workflow (#2339)

* Add user to group in case of saml login (#2335)

* saml_login with adding group to user

* add group-add to saml_id save_saml_account

* fix annotations from code review

---------

Co-authored-by: Ralf Peschke <[email protected]>

* Bump types-bleach in /requirements/partial (#2345)

Bumps [types-bleach](https://github.com/python/typeshed) from 6.1.0.20240311 to 6.1.0.20240331.
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-bleach
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Fix readd_last with anonymous interposed questions (#2341)

* Bump werkzeug from 3.0.1 to 3.0.2 in /requirements/partial (#2347)

Bumps [werkzeug](https://github.com/pallets/werkzeug) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](pallets/werkzeug@3.0.1...3.0.2)

---
updated-dependencies:
- dependency-name: werkzeug
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump types-requests in /requirements/partial (#2350)

Bumps [types-requests](https://github.com/python/typeshed) from 2.31.0.20240311 to 2.31.0.20240403.
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-requests
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update actions to docker compose v2 (#2349)

* Bump the opentelemetry-dependencies group in /requirements/partial with 5 updates (#2342)

* Bump the opentelemetry-dependencies group

Bumps the opentelemetry-dependencies group in /requirements/partial with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [opentelemetry-api](https://github.com/open-telemetry/opentelemetry-python) | `1.23.0` | `1.24.0` |
| [opentelemetry-sdk](https://github.com/open-telemetry/opentelemetry-python) | `1.23.0` | `1.24.0` |
| [opentelemetry-exporter-otlp](https://github.com/open-telemetry/opentelemetry-python) | `1.23.0` | `1.24.0` |
| [opentelemetry-instrumentation-flask](https://github.com/open-telemetry/opentelemetry-python-contrib) | `0.44b0` | `0.45b0` |
| [opentelemetry-instrumentation-requests](https://github.com/open-telemetry/opentelemetry-python-contrib) | `0.44b0` | `0.45b0` |


Updates `opentelemetry-api` from 1.23.0 to 1.24.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-python/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-python/blob/main/CHANGELOG.md)
- [Commits](open-telemetry/opentelemetry-python@v1.23.0...v1.24.0)

Updates `opentelemetry-sdk` from 1.23.0 to 1.24.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-python/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-python/blob/main/CHANGELOG.md)
- [Commits](open-telemetry/opentelemetry-python@v1.23.0...v1.24.0)

Updates `opentelemetry-exporter-otlp` from 1.23.0 to 1.24.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-python/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-python/blob/main/CHANGELOG.md)
- [Commits](open-telemetry/opentelemetry-python@v1.23.0...v1.24.0)

Updates `opentelemetry-instrumentation-flask` from 0.44b0 to 0.45b0
- [Release notes](https://github.com/open-telemetry/opentelemetry-python-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-python-contrib/commits)

Updates `opentelemetry-instrumentation-requests` from 0.44b0 to 0.45b0
- [Release notes](https://github.com/open-telemetry/opentelemetry-python-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-python-contrib/commits)

---
updated-dependencies:
- dependency-name: opentelemetry-api
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: opentelemetry-dependencies
- dependency-name: opentelemetry-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: opentelemetry-dependencies
- dependency-name: opentelemetry-exporter-otlp
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: opentelemetry-dependencies
- dependency-name: opentelemetry-instrumentation-flask
  dependency-type: direct:production
  dependency-group: opentelemetry-dependencies
- dependency-name: opentelemetry-instrumentation-requests
  dependency-type: direct:production
  dependency-group: opentelemetry-dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update datastore

* Update auth service

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joshua Sangmeister <[email protected]>
Co-authored-by: Joshua Sangmeister <[email protected]>

* Replace lxml with existing bs4 methods (#2354)

* Update meta repository (#2355)

Co-authored-by: bastianjoel <[email protected]>

* Bump types-requests in /requirements/partial (#2358)

Bumps [types-requests](https://github.com/python/typeshed) from 2.31.0.20240403 to 2.31.0.20240406.
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-requests
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump pypdf[crypto] from 4.1.0 to 4.2.0 in /requirements/partial (#2357)

Bumps [pypdf[crypto]](https://github.com/py-pdf/pypdf) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/py-pdf/pypdf/releases)
- [Changelog](https://github.com/py-pdf/pypdf/blob/main/CHANGELOG.md)
- [Commits](py-pdf/pypdf@4.1.0...4.2.0)

---
updated-dependencies:
- dependency-name: pypdf[crypto]
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* FIx auth service URL in requirements (#2359)

* Fix closes-issues action (#2363)

* Update meta repository (#2362)

Co-authored-by: jsangmeister <[email protected]>

* Bump types-redis in /requirements/partial (#2364)

Bumps [types-redis](https://github.com/python/typeshed) from 4.6.0.20240311 to 4.6.0.20240409.
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-redis
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* New delegator restriction settings (#2361)

* Start implementing new delegator settings

* Implement for support_self

* Implement speaker action changes

* cleanup

* Remove presence stuff

* Update meta repository (#2367)

Co-authored-by: luisa-beerboom <[email protected]>

* add meeting to schema for saml_attribut configuration (#2368)

* Bump black from 24.3.0 to 24.4.0 in /requirements/partial (#2371)

Bumps [black](https://github.com/psf/black) from 24.3.0 to 24.4.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](psf/black@24.3.0...24.4.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update meta repository (#2372)

Co-authored-by: m-schieder <[email protected]>

* Bump gunicorn from 21.2.0 to 22.0.0 in /requirements/partial (#2374)

* Bump gunicorn from 21.2.0 to 22.0.0 in /requirements/partial

Bumps [gunicorn](https://github.com/benoitc/gunicorn) from 21.2.0 to 22.0.0.
- [Release notes](https://github.com/benoitc/gunicorn/releases)
- [Commits](benoitc/gunicorn@21.2.0...22.0.0)

---
updated-dependencies:
- dependency-name: gunicorn
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update datastore

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joshua Sangmeister <[email protected]>

* Bump types-redis in /requirements/partial (#2375)

Bumps [types-redis](https://github.com/python/typeshed) from 4.6.0.20240409 to 4.6.0.20240417.
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-redis
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add new meeting setting for topic navigation (#2366)

* Update meta repository (#2380)

Co-authored-by: jsangmeister <[email protected]>

* Add initial data creation (#2295)

* Cleanup interface usages & add initial data creation

* Fix tests

* Fix test_exceptions.py

* Extend initial data creation for superadmin password & add tests

* Fix tests

* Rename env var

* Change dependabot assignee (#2383)

* Bump types-redis in /requirements/partial (#2384)

Bumps [types-redis](https://github.com/python/typeshed) from 4.6.0.20240417 to 4.6.0.20240423.
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-redis
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump black from 24.4.0 to 24.4.1 in /requirements/partial (#2388)

Bumps [black](https://github.com/psf/black) from 24.4.0 to 24.4.1.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](psf/black@24.4.0...24.4.1)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add get_forwarding_committee presenter (#2385)

* Add get_forwarding_committee presenter

payload: A committee_id, returns: a list with committee names

* Change payload to meeting_id and add permission check

* Update meta repository (#2386)

Co-authored-by: r-peschke <[email protected]>

* Bump mypy from 1.9.0 to 1.10.0 in /requirements/partial (#2387)

* Bump mypy from 1.9.0 to 1.10.0 in /requirements/partial

Bumps [mypy](https://github.com/python/mypy) from 1.9.0 to 1.10.0.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@1.9.0...v1.10.0)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix mypy error, IMO a mypy bug

* fix flake8 error

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ralf Peschke <[email protected]>

* Update meta repository (#2389)

Co-authored-by: r-peschke <[email protected]>

* Fix return type (#2390)

* Bump types-redis in /requirements/partial (#2392)

Bumps [types-redis](https://github.com/python/typeshed) from 4.6.0.20240423 to 4.6.0.20240425.
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-redis
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump roman from 4.1 to 4.2 in /requirements/partial (#2393)

Bumps [roman](https://github.com/zopefoundation/roman) from 4.1 to 4.2.
- [Changelog](https://github.com/zopefoundation/roman/blob/master/CHANGES.rst)
- [Commits](zopefoundation/roman@4.1...4.2)

---
updated-dependencies:
- dependency-name: roman
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update meta repository (#2394)

Co-authored-by: r-peschke <[email protected]>

* Update meta repository (#2395)

Co-authored-by: Elblinator <[email protected]>

* Add setting to forbid delegator from voting (#2396)

* Add action for cherry-picking staging changes (#2398)

* Update meta repository (#2397)

Co-authored-by: rrenkert <[email protected]>

* Bump black from 24.4.1 to 24.4.2 in /requirements/partial (#2400)

Bumps [black](https://github.com/psf/black) from 24.4.1 to 24.4.2.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](psf/black@24.4.1...24.4.2)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump pytest from 8.1.1 to 8.2.0 in /requirements/partial (#2401)

Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.1.1 to 8.2.0.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest@8.1.1...8.2.0)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update meta repository (#2404)

Co-authored-by: r-peschke <[email protected]>

* Add empty test cryptographic

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Joshua Sangmeister <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: luisa-beerboom <[email protected]>
Co-authored-by: openslides-automation[bot] <125256978+openslides-automation[bot]@users.noreply.github.com>
Co-authored-by: Joshua Sangmeister <[email protected]>
Co-authored-by: Emanuel Schütze <[email protected]>
Co-authored-by: Bastian Rihm <[email protected]>
Co-authored-by: reiterl <[email protected]>
Co-authored-by: Ralf Peschke <[email protected]>
Co-authored-by: bastianjoel <[email protected]>
Co-authored-by: m-schieder <[email protected]>
Co-authored-by: r-peschke <[email protected]>
Co-authored-by: Elblinator <[email protected]>
Co-authored-by: peb-adr <[email protected]>
Co-authored-by: rrenkert <[email protected]>
r-peschke added a commit that referenced this pull request May 8, 2024
* Update meta repository (#2380)

Co-authored-by: jsangmeister <[email protected]>

* Add initial data creation (#2295)

* Cleanup interface usages & add initial data creation

* Fix tests

* Fix test_exceptions.py

* Extend initial data creation for superadmin password & add tests

* Fix tests

* Rename env var

* Change dependabot assignee (#2383)

* Bump types-redis in /requirements/partial (#2384)

Bumps [types-redis](https://github.com/python/typeshed) from 4.6.0.20240417 to 4.6.0.20240423.
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-redis
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump black from 24.4.0 to 24.4.1 in /requirements/partial (#2388)

Bumps [black](https://github.com/psf/black) from 24.4.0 to 24.4.1.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](psf/black@24.4.0...24.4.1)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add get_forwarding_committee presenter (#2385)

* Add get_forwarding_committee presenter

payload: A committee_id, returns: a list with committee names

* Change payload to meeting_id and add permission check

* Update meta repository (#2386)

Co-authored-by: r-peschke <[email protected]>

* Bump mypy from 1.9.0 to 1.10.0 in /requirements/partial (#2387)

* Bump mypy from 1.9.0 to 1.10.0 in /requirements/partial

Bumps [mypy](https://github.com/python/mypy) from 1.9.0 to 1.10.0.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@1.9.0...v1.10.0)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix mypy error, IMO a mypy bug

* fix flake8 error

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ralf Peschke <[email protected]>

* Update meta repository (#2389)

Co-authored-by: r-peschke <[email protected]>

* Fix return type (#2390)

* Bump types-redis in /requirements/partial (#2392)

Bumps [types-redis](https://github.com/python/typeshed) from 4.6.0.20240423 to 4.6.0.20240425.
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-redis
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump roman from 4.1 to 4.2 in /requirements/partial (#2393)

Bumps [roman](https://github.com/zopefoundation/roman) from 4.1 to 4.2.
- [Changelog](https://github.com/zopefoundation/roman/blob/master/CHANGES.rst)
- [Commits](zopefoundation/roman@4.1...4.2)

---
updated-dependencies:
- dependency-name: roman
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update meta repository (#2394)

Co-authored-by: r-peschke <[email protected]>

* Update meta repository (#2395)

Co-authored-by: Elblinator <[email protected]>

* Add setting to forbid delegator from voting (#2396)

* Add action for cherry-picking staging changes (#2398)

* Update meta repository (#2397)

Co-authored-by: rrenkert <[email protected]>

* Bump black from 24.4.1 to 24.4.2 in /requirements/partial (#2400)

Bumps [black](https://github.com/psf/black) from 24.4.1 to 24.4.2.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](psf/black@24.4.1...24.4.2)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump pytest from 8.1.1 to 8.2.0 in /requirements/partial (#2401)

Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.1.1 to 8.2.0.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest@8.1.1...8.2.0)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update meta repository (#2404)

Co-authored-by: r-peschke <[email protected]>

* fix black and isort errors

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: openslides-automation[bot] <125256978+openslides-automation[bot]@users.noreply.github.com>
Co-authored-by: jsangmeister <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: reiterl <[email protected]>
Co-authored-by: r-peschke <[email protected]>
Co-authored-by: Elblinator <[email protected]>
Co-authored-by: peb-adr <[email protected]>
Co-authored-by: rrenkert <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove the need for openslides manage tool for initial-data
3 participants