Commit Graph

8 Commits

Author SHA1 Message Date
Danglewood
d1d67bfa8d update vite in package.json (#6678) 2024-09-19 16:10:59 +00:00
Theodore Aptekarev
c63b3c8bab Security updates (#6531)
* Bump website deps to patched versions

* Drop support for python 3.8

* Bump scikit-learn to a patched version

* Run urllib3 update on lock files

* Bump ipykernel that brings in tornado to devtools

* Apply braces patch in frontend-components

* Drop python 3.8 from devtools support

* Bump dev environment to python >=3.10 to get rid of ullib3 v1 in lock files

* Downgrade and pin numpy to 1.x until pandas-ta supports 2.x

* Bump runners checkout and cache actions and python version

* Fix platform hub integration test

* Update dev install script to allow python 3.9

* Bump actions to versions that use node 20 vs node 16

* Bump exchange calendars package to resolve deprecation warnings

* Resolve bugs highlighted by the tests (#6538)

* Fix FMP currency snapshot model after a security update

* fixes

* add to the commit

* lint

---------

Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>

* Bump finviz

* Remove website folder that was added by merge conflict resolution

* update test cassettes

* biztoc test

* fix most of test_charting

* bump yfinance

* reference.json

* Fix some tests

* Enable 3.12 support

* Have 2 sets of cassettes for 2 versions of urlib3

* Allow 3.12 for sec provider

* add json_schema_extra choices to compare groups

* sorted choices

* test fixing: cassetes

* fix charting test

* black

* headers in sec download zip file

* Delete yaml

* lint

* lint

* Record https test_sec_compare_company_facts_fetcher

* Record https test_sec_compare_company_facts_fetcher, new params

* Record test in 3.9 and 3.10

* Record yfinance tests

* Record 310 with us vpn

* Record tests individually

* record without cache

* record without cache

---------

Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
Co-authored-by: hjoaquim <henriquecjoaquim@gmail.com>
Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
Co-authored-by: Diogo Sousa <montezdesousa@gmail.com>
2024-07-01 13:05:59 +00:00
Theodore Aptekarev
6a10598f5b Remove PDF export capabilities (#6442)
* Bump black in devtools and pre-commit

* Remove pdf export functionality from cli and charting extensions

* print message only if the file was actually created

* Update css to use fonts from google

* Bump bundled plotly js version

* Bump dependencies

* Update static html of the charting extension to use the new plotly

* Update lock file hashes

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
Co-authored-by: hjoaquim <henriquecjoaquim@gmail.com>
2024-05-21 14:52:14 +02:00
Theodore Aptekarev
ac3f10a4c0 Security updates (#6387)
* Bump aiohttp to a patched version

* Bump python-multipart to a patched version

* Bump urllib3 to the latest patched version

* Bump aiohttp-client-cache and aiosqlite to latest versions

* Bump plotly.js and third level deps in frontend components
2024-05-10 22:06:32 +00:00
teh_coderer
281799f047 hotfix / improve autoscaling/dynamic loading, fix forex candle charts, equity reports (#5183)
* improve autoscaling/dynamic loading, fix forex candle charts

* updates

* Update plotly_helper.py

* fix?

* fix table date sorting, localize forex load

* tests

* tests?

* ugh tests

* Update test_display_debt.txt

* Update test_get_debt.csv

* Update forex_helper.py

* close #5182

* fix `crypto/dd/info` tables not loading due to `dict` object in dataframe values

* Update parent_classes.py

* tables: show full value on hover, fix year only filtering. on reset use queue if logged in

* lint + first batch of test fix

* tests pt2

* Tests v3

* Pylint

* typo

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-07-14 14:46:01 +00:00
teh_coderer
8a70c6205d Feature/ Pywry login (#5115)
* Update .gitignore

* init

* Update backend.py

* Update main.tsx

* Update no_import.py

* Update session_controller.py

* indents

* adjust window size

* update keys

* re-add save session for pywry login

* pop response keys on rename

* walrus remember

* use session username for profile

* implement logout clearing of cookies

* don't display welcome when logging in from `account` menu

* Update session_model.py

* Update session_model.py

* customdata handler for charts

* fix remember key

* only slice data if chandlestick trace in data

* Update profile_model.py

* Update streamlit_run.py

* Update plotly.html

* test

* Update loggers.py

* updates

* Update session_controller.py

* Update session_controller.py

* no longer need to call_hub for logout

* tests

* Update test_session_controller.py

* Update profile_model.py

* bump pywry, fix numbers passed as strings tables

* update plotly frontend packages

* formatting

* Update backend.py

* Update backend.py

* change to prod

* return on image export

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-06-20 17:47:38 +00:00
teh_coderer
73e59804fc hotfix/ Include plotly.js in reports html + Improve Charts in Reports (#5126)
* include plotly.js in reports html, implement new plotly multi-legends feature

* use `ensure_backend` to `check_backend`, improve charts in reports

* requirements files

* fix files with `CRLF` line endings

* Update widget_helpers.py

* Update widget_helpers.py

* handle unsupported plotly multiple legends version error
2023-06-12 14:10:13 +00:00
teh_coderer
979930b9e8 feature / Refactor Interactive Charts to React (#4941)
* init

* fix tables

* add shortcuts

* handle svgs

* test

* test2

* test3

* Update loggers.py

* Update sdk_helpers.py

* Update loggers.py

* Update loggers.py

* updates

* updates

* update

* handle add text high/low for candlestick traces when updating

* adding save overlay to tables

* maybe fix

* prints

* asdf

* working

* working

* removing prints

* update

* fix no figure title text

* add trace labels space

* download finished popup for MacOS

* bump pywry

* update

* update table

* Update plotly_helper.py

* only format numbers over 10_000 on tables

* Delete generate_index.py

* turn off logs in generations

* update tables

* bump pywry, fix tables, added ichimoku ta indicator

* Update backend.py

* mypy

* update tables

* updates

* juan more

* tables

* test

* bump pywry

* bump pywry

* Update loggers.py

* test

* fixing some formatting

* add update button to indicators dashboard

* fix oecd dates to be full dates

* prepare charts/tables for pywry update

* Update poetry.lock

* Update finviz_view.py

* tests

* tests

* tests

* tests

* testss?

* tests

* Create test_call_func[call_sec-nasdaq_view.sec_filings-other_args37-called_with37].yaml

* testtss please

* Update loggers.py

* testss

* `with open(newline="\n")`

* tests

* tests -__-

* why

* Revert "`with open(newline="\n")`"

This reverts commit 554e0f53f4.

* Revert "why"

This reverts commit 89f1d9b823.

* Revert "tests -__-"

This reverts commit a9c694ae96.

* Revert "tests"

This reverts commit 5463249498.

* whelp

* .

* rename `streamlit.py` -> `streamlit_run.py`,  bump pywry/finviz/streamlit

* Update backend.py

* update

* Revert "update file"

---------

Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-05-11 17:38:12 +00:00