-
Notifications
You must be signed in to change notification settings - Fork 31
Merge feature/relational db into main #3186
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
Draft
hjanott
wants to merge
66
commits into
main
Choose a base branch
from
feature/relational-db
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* 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]>
* Ch attribute set is_view_field * Added-write-fields-and-updated-is-view-field * implement function to determinate is_view_field, primary and write_fields * include meta * updated global meta * include models.py * added chyron_background/font_color2 to example-data * update writing of modelspy * linting of generate_modelspy and modelspy * Update fieldspy * update linting fieldspy --------- Co-authored-by: Ralf Peschke <[email protected]>
* Adds psycopg3 connection pool and make targets for database * fix formating and mypy errors
* make-target run psql added * pytest system with create db from template plus make targets for db * make-target run psql added * pytest system with create db from template plus make targets for db * autouse-fixtures for testsetup, setup database with schemata * add python-sql dependency * reformatted * remove Profiler * fix black and isort problems * remove truncate_db completely * fix some tests * retry of auth-service request fix a lot of tests * fix formatting errors * psycopg3 connectionpools created, still not used * Mock auth-service * use new connection-pools in conftest session- and function-setup * skip check_database_all and poll tests for rel. DB * tests working, action with db connection * add base.py * Fix mypy errors * tests and formating errors fixed, connections on newly create db for each test * test-setup with resetting db seems to be fast enough by truncate only used tables, detected by create triggers * Set test coverage to 95.3%, because of skipped tests. ONLY feature/relational-db branch * set minimum coverage to 95% * set coverage to 94% * Activate test_merge_together tests except vote dependant tests * fix codestyle * fix sql commands with lowercase keywords
* Interface for the new database. --------- Co-authored-by: Hannes Janott <[email protected]>
* move ordering lists from reader to database * better handling of CheckViolation * fix rest of agenda_item tests * update meta
* * complete user tests * fixes in reader and writer * use db calculated fields * validate special field data types * fix random dead locks in db connection
* fix structure level and list of speakers tests * more fixes
* repair models generation and fix topic tests
* adapt option tests * write test for previous fix in ex db
* adapt and fix BaseActionTestCase * remove set_home_committee * fix groups in same meeting untouched --------- Co-authored-by: luisa-beerboom <[email protected]>
* base test and fix deletion * readd json files * error handling on 1_1 not null constraint * type handling for organization import * try_get_field as class method * type handling for Checker * add list_of_speakers to create_motion * add sqlfluff to config and requirements
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Things to do before merging: