Commit Graph
100 Commits
Author SHA1 Message Date
PhilippandGitHub 2bc477d384 Reconfigureing the dependabot limits (#491)
Setting the pip lmits to 10 since we idel often with 5 open PRs.
2023-12-27 12:28:26 +01:00
PhilippandGitHub 71c929cda8 Renamed some artifacts (#489)
Renamed some artifacts and other minor tweaks to the test & build
workfow
2023-12-27 10:59:02 +00:00
PhilippandGitHub 2235987834 Renamed the artifact to have a sensible name (#485) 2023-12-26 12:17:43 +01:00
PhilippandGitHub 6ccf2ffd17 Reworked the options creation (#464)
Fixed the bug
2023-12-23 21:19:36 +01:00
PhilippandGitHub 43e66e28f6 Merge pull request #476
* Removed the git changes since dependabot utterly overflows that and b…
2023-12-21 21:52:22 +01:00
PhilippandGitHub e846bba576 Removed some packages and moved some to the dev dependencies. (#467) 2023-12-20 11:10:20 +01:00
PhilippandGitHub cf1f043291 Downgraded the artifact download in pages (#465)
V4 artifact download can't download v2 pages artifacts download
2023-12-17 13:19:59 +01:00
PhilippandGitHub fd16ed6752 Artifact upgrade v4 (#463) 2023-12-15 16:46:52 +01:00
PhilippandGitHub d1736db653 Removed the title length limit for news articles (#457) 2023-12-14 17:14:24 +00:00
PhilippandGitHub 3b6ee329e4 Edit eol for sh files (#456) 2023-12-14 18:08:10 +01:00
PhilippandGitHub 7dbf674eae Starting the container with tini for more stability (#452) 2023-12-14 17:11:01 +01:00
PhilippandGitHub 319ca3b8ad Added redirection callbacks to the person and the company page. (#423) 2023-12-04 19:11:22 +01:00
PhilippandGitHub 5969929f79 Potential fix. (#427)
I have looked up the error and found an potential fix.
I could not reproduce the error afterwords so it should work.
2023-11-30 17:22:31 +01:00
PhilippandGitHub 9c60d01985 Simplifications (#416) 2023-11-30 17:21:19 +01:00
PhilippandGitHub 6890562a18 Simplified some functions. (#414) 2023-11-26 14:01:12 +00:00
PhilippandGitHub 0672773551 Ner simplifications (#419) 2023-11-25 16:53:10 +01:00
PhilippandGitHub 65c41bb20c Added translations to the search que page and the about page. (#407) 2023-11-22 21:48:35 +01:00
PhilippandGitHub 762d3f9091 Add flask-compress (#409)
Added flask compression for compressed responsed to limit the download
time of plots.
I switch this on by default. It could also be crontoled via
DASH_COMPRESS as an env variable.
2023-11-20 21:12:07 +01:00
PhilippandGitHub 36f2d653b1 Added links (#406)
Added links into the plot.
When clicking on the plot on the main page a redirect is implemente the
the matching detailpage.
2023-11-20 20:06:51 +00:00
PhilippandGitHub cf1c8ea508 Fixed the layout dropdown for the graph. (#393) 2023-11-16 17:43:54 +01:00
PhilippandGitHub e257799f77 Fixed initial layout of homepage. (#388) 2023-11-16 17:26:02 +01:00
PhilippandGitHub ce1598c42e Removed double execution of Layouting in 2 and 3d. (#385)
Prior to layouting the sping layout was allways calculated and later
overwritten. (Double execution)
2023-11-16 17:25:15 +01:00
96d216fb74 Added a web-frontend to add companies to the search queue. (#375)
This webfrontent adds a company to the search que or resets the search
que entry to be searched again.
This will allow for directed growth or an initiallisation.

---------

Co-authored-by: Tristan Nolde <tristan.nolde@yahoo.de>
2023-11-16 17:24:43 +01:00
0d4d1324d0 Simplification of layout selection (#384)
Removed the 2d/3d toggle and added that option into the layout dropdown.

---------

Co-authored-by: KM-R <129882581+KM-R@users.noreply.github.com>
2023-11-14 21:31:30 +00:00
PhilippandGitHub e7278c047e Fixed edge thickness (#370) 2023-11-14 19:32:32 +01:00
PhilippandGitHub 4e63c6e907 Added rounding on Metric table to 6 digits to limit the noise (#386)
Currently to many digits are shown in the Metrics table. Rounding to 6
digits should be a bit better.
2023-11-14 17:49:48 +01:00
PhilippandGitHub 119a3edfca Fixed sql alchemy reset order. (#383)
There was a problem on the PG variant.
The SQLite variant worked. Now resetting properly also on PG.
2023-11-14 17:44:24 +01:00
PhilippandGitHub 7c1fac28fd Fixed tqdm typos. (#382) 2023-11-14 17:42:38 +01:00
PhilippandGitHub 0c4a2d7a74 Moved transparenzregister url prefix to docker compose. (#380) 2023-11-13 20:08:50 +01:00
PhilippandGitHub 2da3e6cea0 Removed the unused colorscale legend and other unused code fragements (#371) 2023-11-13 19:28:57 +01:00
PhilippandGitHub 31221a1055 Fixed spagetti connection by adding breaks. (#366) 2023-11-13 19:27:03 +01:00
PhilippandGitHub d0677287b6 Added a filter for financial reports. (#372)
Finanical reports are now filtered before beeing added to the SQL
database to only added knwon keys.
Some matching is also done.
The most importend missing reports are printed to be implemented later
on.
Rapidfuzz could be used.
2023-11-13 18:52:12 +01:00
PhilippandGitHub 41bee38bf7 Print the actor in the maintenance action (#377) 2023-11-13 13:07:45 +01:00
PhilippandGitHub af8a907cf9 Stop table reset of better persistent tables. (#373) 2023-11-12 14:27:44 +01:00
PhilippandGitHub 19a4460d90 Added a small stability fix. (#374)
The current code has problems with an empty db.
2023-11-12 14:14:15 +01:00
PhilippandGitHub 24c55c68b7 Removed docstring ruins. (#367) 2023-11-12 13:58:00 +01:00
PhilippandGitHub 905021af14 Experimental caching (#285)
Added some caching decoraterors to speedup page delivery.
2023-11-11 14:28:25 +01:00
066800123d Created pipeline to run ner sentiment and sql ingest (#314)
Created a dataprocessing pipline that enhances the raw mined data with
Organsiation extractions and sentiment analysis prio to moving the data
to the sql db.
The transfer of matched data is done afterword.

---------

Co-authored-by: SeZett <zeleny.sebastian@fh-swf.de>
2023-11-11 13:28:12 +00:00
PhilippandGitHub e5b61bc19c Added multi relation dropdowns to dashbord (#363)
This change allows for a more complete combination of relation
combinations to be filtered.
2023-11-11 13:47:46 +01:00
PhilippandGitHub ad8f5d0fb1 Added github actions automerge for pre-commit updates. (#362) 2023-11-11 13:30:16 +01:00
PhilippandGitHub 4716eb9fe2 Added a frist rollback function on a pending Rollback error. (#346)
Possible fix for #341.
Rolls back stuck SQL sessions.
This only helps against the symptomps not the cause.
2023-11-09 19:48:26 +00:00
PhilippandGitHub 97fc7f01b5 Added some redirects to home page. (#348) 2023-11-09 19:06:36 +01:00
PhilippandGitHub 3ce49c9e19 Added requirements.txt to gitignore (#347) 2023-11-09 18:38:42 +01:00
PhilippandGitHub fe02b0f6c5 Added an error handling when the sql session crashes in process on network connection lost. (#352) 2023-11-09 18:38:04 +01:00
PhilippandGitHub 12f40af538 Added pagination, sorting and filtering for the table of related persons. (#333)
Added pagination, sorting and filtering for the table of related
persons.
2023-11-07 22:19:36 +01:00
PhilippandGitHub 16b975a0f4 Hide the plotly logo in graph objects (#339) 2023-11-07 22:16:27 +01:00
PhilippandGitHub 97b05bacf4 Added a custom favicon. (#338) 2023-11-07 22:15:08 +01:00
PhilippandGitHub aec7414e69 Removed the background color of plotly plot. (#334)
Removed the background color of the plot to fully use the plotly_white
layout.
2023-11-07 15:55:50 +01:00
PhilippandGitHub d79bc0f267 Added poetry install to the pre-commit hooks. (#332)
Limiting most pre-commit hooks to the pre-commit stage.
2023-11-06 21:58:33 +01:00
PhilippandGitHub 4323522b96 Added poetry install to the pre-commit hooks. (#329) 2023-11-06 20:02:29 +01:00
PhilippandGitHub 2fddc9149a Reduced the number of times the dependabot auto merge is triggered. (#318) 2023-11-03 21:25:55 +01:00
PhilippandGitHub ad36c68993 Moved the AI tests into the AI folder. (#315) 2023-11-03 13:45:24 +01:00
PhilippandGitHub a638949644 Added a types package and upgraded poetry. (#313) 2023-11-02 22:13:32 +01:00
PhilippandGitHub d40746c69b Used black on jupyter. (#312) 2023-11-02 20:52:46 +00:00
PhilippandGitHub 8d9981d967 Moved AI files in the AI module. (#308) 2023-11-02 20:30:04 +01:00
PhilippandGitHub 389810c9bc Update and rename dependabot-approve.yaml to dependabot-auto-merge.yaml 2023-11-01 18:21:56 +01:00
PhilippandGitHub 3c2394d2d5 Sets auto merge for PRs opened by dependabot to true. (#293)
Sets auto merge for PRs opened by dependabot to true.
Review is still needed.
2023-10-30 19:20:54 +01:00
PhilippandGitHub 4362463f3c Added types-six to the linting packages and unlocked all the linter versions. (#286)
Added the from mypy demanded types-six package as a lint dependency.
This should allow for a faster execution.
2023-10-29 20:40:57 +01:00
PhilippandGitHub f72d606d18 Added base-path support in URL generating features (#288)
Add the basepath dash url to the path generation for dynamicly generated
links.
2023-10-29 20:40:40 +01:00
PhilippandGitHub 6526549bdd Reworked the about page for a nicer version of the git hash (#283)
The git hash looks currently like this:

`Build from GiT Revision: ('d3189f78c47d812f447739f97876ced01227e1fd',)`

After this change it should look like this:
`Build from GiT Revision: d3189f78c47d812f447739f97876ced01227e1fd`
2023-10-29 12:56:08 +01:00
PhilippandGitHub fca53c5e0c Dash security-fix against DoS. (#284)
Dash has currently a security vulnerability.
This updated should fix this.
Dependabot is currently not allowed to upgrade main-version.
2023-10-29 12:55:28 +01:00
PhilippandGitHub 0e388eb927 Using actor to identify dependabot and skipp some actions. (#273) 2023-10-26 19:29:25 +02:00
PhilippandGitHub e7a778e4cb Changed the plotly default theme (#269)
I think the current blueish plotly default theme bits itself quit beadly
with @KM-R s great work.
I propose to set the deault plotly template to either:

- plotly_white
- ggplot2
- seaborn

Simply change the constant i have set will change this.
Heren you can find the catalog of themes:
https://plotly.com/python/templates/#disable-default-theming

I would not suggest to do more than changing the default layout.
2023-10-26 19:22:44 +02:00
PhilippandGitHub 7953ba9291 Mixed typo fixes (#270) 2023-10-26 19:06:45 +02:00
PhilippandGitHub ab97d77d2d Made pip-audit pass on every build. (#272)
Since dependabot is activated this can be reduced as an reporting tool.
2023-10-26 16:50:24 +00:00
PhilippandGitHub 4c56431bff Update dependabot.yml 2023-10-26 18:19:20 +02:00
PhilippandGitHub 896136dcee Added an about page (#251)
This page was added since it is sometimes difficult to say which version
was deployed on an server. This should allow an easy lookup on the
server and make it comparable with what is expected.
2023-10-26 17:32:17 +02:00
PhilippandGitHub 6d77867eb5 Using the python action and the inbuild poetry cache (#261)
I have found out that the python setup action supports the use of the
poetry cache which increases the build speed.
2023-10-24 21:49:09 +02:00
PhilippandGitHub 1eb972b7ff Adds the transfer of sentiments into the sql db (#253)
Transfers the sentimenes from the mongodb int the sql db.
2023-10-24 17:50:40 +02:00
b250b67343 Auto maintance push (#258)
Added that the maintance action allso runs on changes of itself.

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: philipp-horstenkamp <philipp-horstenkamp@users.noreply.github.com>
2023-10-23 17:50:51 +00:00
PhilippandGitHub 77a0faa257 Reduced build time (#260)
The building and pushing of artifacts takes to long. With those changes
build experimental images aren't pushed anymore.
This saves build time and disc space.
2023-10-23 19:43:53 +02:00
PhilippandGitHub f0d763cc5b Fixing the pre-commit upgrade (#256)
The action allso executes over all files. This is ok when using
pre-conmit.ci. We only execute file fixes once.
2023-10-23 17:15:39 +02:00
PhilippandGitHub ad7aa3e53b Filled Docker Labels and ENVs to identify the git revision it was build from (#250)
Added labels and env vars to identify the git revion a container was
build from to have a more transparent build flow of untaged images.
2023-10-21 18:13:03 +02:00
PhilippandGitHub 88f0673470 Slimmed down the env vars access and added logging in case the password protection was disabled. (#252)
Slimmed down the env vars access and added logging in case the password
protection was disabled.
2023-10-21 17:57:56 +02:00
PhilippandGitHub 55ebb4c17d Typo fixes (#249) 2023-10-21 10:58:54 +02:00
PhilippandGitHub 640faeccec Adding auth back in. (#248) 2023-10-20 14:56:54 +00:00
PhilippandGitHub 86daa9a781 Renamed a few jobs (#246) 2023-10-19 19:43:55 +02:00
PhilippandGitHub 2d80298aa2 Dependabot: Ignoring all major updates. (#241) 2023-10-19 19:24:58 +02:00
PhilippandGitHub 36a0bab6ff Add relations from finanical reports to SQL (#216) 2023-10-19 19:21:33 +02:00
PhilippandGitHub a358ebe9c1 Dependabot/coverage (#240) 2023-10-19 18:47:32 +02:00
PhilippandGitHub b92be60789 Automaticlly updating pre-commits (#220) 2023-10-19 18:44:13 +02:00
PhilippandGitHub 0441a3482b Create dependabot.yml (#227) 2023-10-19 18:05:36 +02:00
PhilippandGitHub fdba24ef11 Updates including security-updates (#226) 2023-10-19 17:59:15 +02:00
PhilippandGitHub c0d42a22d7 General updates & linting (#218) 2023-10-14 17:43:45 +02:00
PhilippandGitHub 6365e252b9 Added location to person (#185) 2023-10-14 15:27:19 +00:00
PhilippandGitHub 411f1053dd Set home title (#217) 2023-10-14 17:16:54 +02:00
PhilippandGitHub f8c111d7e2 Resolve mismatch between staging and prod db data for financials (#211)
SQL Creation is now done dynamicly by the definition of the enumeration
type.
2023-10-14 17:16:14 +02:00
PhilippandGitHub c8d3c7395b Update docker-compose.yml (#210) 2023-10-12 18:09:52 +02:00
PhilippandGitHub 68346aff15 Removed error suppression from sql data transformation. (#205) 2023-10-09 17:58:20 +02:00
PhilippandGitHub 63325e7faa Add constraints to the SQL entities (#186) 2023-10-06 18:48:58 +02:00
PhilippandGitHub ea9c777217 Enabeling data processing in docker container. (#195) 2023-10-06 18:36:29 +02:00
PhilippandGitHub b1ca268a62 SQL fixes after new mongo ingest (#199) 2023-10-06 18:22:19 +02:00
PhilippandGitHub 8bb27f5195 Set the DASH_URL_BASE_PATHNAME in the docker container to be used as a default (#192)
Set the DASH_URL_BASE_PATHNAME in the docker container to be used as a
prefix.

Added a Dash Title
2023-10-06 18:13:25 +02:00
Philipp ab96c5a01a Switched two docker container off. 2023-10-05 22:16:45 +02:00
PhilippandGitHub 09c36960e3 Add an list of missing relation partners to be searched (#171)
- [x] Add a new table
- [x] Add a field to the table that can register if the company was
already queried
- [x] Add a field to the table that counts how many times a relation
partner was missing
- [x] Add a function that restets the counter

Also:
- Reworked the get_company function to use the location dict as kwargs
2023-10-05 19:57:30 +02:00
PhilippandGitHub c6f2c7467c Rework the transfer of company data to fit the new data in the mongodb (#188)
This adds the additional company data as proposed to the sql db.

- [x] @TrisNol Is everything included or did I miss a feature. Relations
are in another issue.
- [x] @KM-R New DB features for the Dashbord for your review.
2023-10-05 19:47:46 +02:00
PhilippandGitHub ea89a64a80 Linter update to ruff==0.0.292 (#191) 2023-10-04 20:04:59 +02:00
PhilippandGitHub 41f2c9f995 Executing black over all jupyter notebook (#190)
Reverting black for the jupyter notebooks gets old. Can we just run
black over all of them?
2023-10-04 20:03:47 +02:00
PhilippandGitHub 030ad00c7d Testing speedup with in memory SQLite (#189)
If no SQLite File is written and deleted testing is MUCH faster.
2023-10-04 19:36:57 +02:00
01b4ce00c1 Spellchecking with PyCharm (#133)
Co-authored-by: KM-R <129882581+KM-R@users.noreply.github.com>
2023-10-02 20:47:42 +02:00