mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2025-06-22 00:14:01 +02:00
c4649f159432058ba6681433247e83ad28a51068
Bumps [selenium](https://github.com/SeleniumHQ/Selenium) from 4.15.1 to 4.15.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/SeleniumHQ/Selenium/releases">selenium's releases</a>.</em></p> <blockquote> <h2>Selenium 4.0.0 RC3</h2> <h3>Changelog</h3> <p>For each component's detailed changelog, please check:</p> <ul> <li><a href="https://github.com/SeleniumHQ/selenium/blob/trunk/rb/CHANGES">Ruby</a></li> <li><a href="https://github.com/SeleniumHQ/selenium/blob/trunk/py/CHANGES">Python</a></li> <li><a href="https://github.com/SeleniumHQ/selenium/blob/trunk/javascript/node/selenium-webdriver/CHANGES.md">JavaScript</a></li> <li><a href="https://github.com/SeleniumHQ/selenium/blob/trunk/java/CHANGELOG">Java</a></li> <li><a href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/CHANGELOG">DotNet</a></li> <li><a href="https://github.com/SeleniumHQ/selenium/blob/trunk/cpp/iedriverserver/CHANGELOG">IEDriverServer</a></li> </ul> <h3>Commits in this release</h3> <!-- raw HTML omitted --> <ul> <li><a href="ae5c7cb81d
"><code>ae5c7cb81d</code></a> - [grid] Add error message and exception type if the session does not exist :: Puja Jagani</li> <li><a href="4a1bc4cf9f
"><code>4a1bc4cf9f</code></a> - Removing old comment in the PR template. :: Diego Molina</li> <li><a href="59055b3f97
"><code>59055b3f97</code></a> - [java] Deprecating <code>VERSION</code> to favour <code>BROWSER_VERSION</code> :: Diego Molina</li> <li><a href="681eae6493
"><code>681eae6493</code></a> - Add jmx info for OneShotNode :: Simon Mavi Stewart</li> <li><a href="294d1c92fb
"><code>294d1c92fb</code></a> - Use the IANA port range when there are less the 5k ports to choose from :: Thomas Flori</li> <li><a href="22638e01b1
"><code>22638e01b1</code></a> - Support getting timeouts from the driver :: Alex Rodionov</li> <li><a href="320cd389db
"><code>320cd389db</code></a> - [java] Fixing misspellings in Java docs :: Diego Molina</li> <li><a href="24ae200b53
"><code>24ae200b53</code></a> - Update Firefox to 93 and Edge to 94 :: Simon Mavi Stewart</li> <li><a href="3b84577bc1
"><code>3b84577bc1</code></a> - Laying the groundwork for 4.0.0 :: Simon Mavi Stewart</li> <li><a href="3fba1c847f
"><code>3fba1c847f</code></a> - Update most java deps to latest stable releases :: Simon Mavi Stewart</li> <li><a href="e8937abef8
"><code>e8937abef8</code></a> - Bump OpenTelemetry to 1.6.0 and correct docs :: Simon Mavi Stewart</li> <li><a href="8e1a3f62cd
"><code>8e1a3f62cd</code></a> - Ensure zsh completions are correctly generated :: Simon Mavi Stewart</li> <li><a href="46de1e6003
"><code>46de1e6003</code></a> - [dotnet] Explicitly remove Expect header :: Jim Evans</li> <li><a href="0a2b4d979d
"><code>0a2b4d979d</code></a> - [dotnet] Updating version for impending 4.0.0 stable release :: Jim Evans</li> <li><a href="c4e685ac9f
"><code>c4e685ac9f</code></a> - [js] Avoid modifying CDP Grid endpoint :: Puja Jagani</li> <li><a href="136067e0db
"><code>136067e0db</code></a> - [rb] update changelog and bump version to Selenium 4 RC3 :: titusfortner</li> <li><a href="6c5c572c4a
"><code>6c5c572c4a</code></a> - [py] Correct deprecations in IE bindings. Fixes <a href="https://redirect.github.com/SeleniumHQ/Selenium/issues/9818">#9818</a> :: AutomatedTester</li> <li><a href="e6080b6f59
"><code>e6080b6f59</code></a> - [dotnet] Update version for 4.0 RC3 :: Jim Evans</li> <li><a href="46d4ee53a8
"><code>46d4ee53a8</code></a> - [dotnet] Update CHANGELOG :: Jim Evans</li> <li><a href="6c6a72c3bc
"><code>6c6a72c3bc</code></a> - [py] bump to RC 3 :: AutomatedTester</li> </ul> <!-- raw HTML omitted --> <h2>Selenium 4.0.0 RC2</h2> <h3>Changelog</h3> <p>For each component's detailed changelog, please check:</p> <ul> <li><a href="https://github.com/SeleniumHQ/selenium/blob/trunk/rb/CHANGES">Ruby</a></li> <li><a href="https://github.com/SeleniumHQ/selenium/blob/trunk/py/CHANGES">Python</a></li> <li><a href="https://github.com/SeleniumHQ/selenium/blob/trunk/javascript/node/selenium-webdriver/CHANGES.md">JavaScript</a></li> <li><a href="https://github.com/SeleniumHQ/selenium/blob/trunk/java/CHANGELOG">Java</a></li> <li><a href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/CHANGELOG">DotNet</a></li> <li><a href="https://github.com/SeleniumHQ/selenium/blob/trunk/cpp/iedriverserver/CHANGELOG">IEDriverServer</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/SeleniumHQ/Selenium/commits">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
aki_prj23_transparenzregister
Contributions
See the CONTRIBUTING.md about how code should be formatted and what kind of rules we set ourselves.
Available entrypoints
The project has currently the following entrypoint available:
- data-transformation > Transfers all the data from the mongodb into the sql db to make it available as production data.
- reset-sql > Resets all sql tables in the connected db.
- copy-sql > Copys the content of a db to another db.
- webserver > Starts the webserver showing the analysis results.
DB Connection settings
To connect to the SQL db see sql/connector.py To connect to the Mongo db see [connect]
Create a secrets.json
in the root of this repo with the following structure (values to be replaces by desired config):
The sqlite db is alternative to the postgres section.
{
"sqlite": "path-to-sqlite.db",
"postgres": {
"username": "username",
"password": "password",
"host": "localhost",
"database": "db-name",
"port": 5432
},
"mongo": {
"username": "username",
"password": "password",
"host": "localhost",
"database": "transparenzregister",
"port": 27017
}
}
Alternatively, the secrets can be provided as environment variables. One option to do so is to add a .env
file with
the following layout:
PYTHON_POSTGRES_USERNAME=postgres
PYTHON_POSTGRES_PASSWORD=postgres
PYTHON_POSTGRES_HOST=localhost
PYTHON_POSTGRES_DATABASE=postgres
PYTHON_POSTGRES_PORT=5432
PYTHON_MONGO_USERNAME=username
PYTHON_MONGO_HOST=localhost
PYTHON_MONGO_PASSWORD=password
PYTHON_MONGO_PORT=27017
PYTHON_MONGO_DATABASE=transparenzregister
PYTHON_SQLITE_PATH=PathToSQLite3.db # An overwrite path to an sqllite db
PYTHON_DASH_LOGIN_USERNAME=some-login-to-webgui
PYTHON_DASH_LOGIN_PW=some-pw-to-login-to-webgui
CR=ghcr.io/fhswf/aki_prj23_transparenzregister
TAG=latest
HTTP_PORT=80
The prefix PYTHON_
can be customized by setting a different prefix
when constructing the ConfigProvider.
Description
Languages
Jupyter Notebook
84.5%
HTML
12.1%
Python
3.3%