Commit Graph

14 Commits

Author SHA1 Message Date
Diogo Sousa
47821e22de some routers included if dev + chg hub backend var 2023-10-06 18:09:54 +01:00
Diogo Sousa
b03e06d3a5 include Darren auth suggestions 2023-10-06 17:50:58 +01:00
James Maslek
41b9e62c5c adding pydantic to core 2023-10-05 16:56:20 -04:00
James Maslek
4e587b263b Relock 2023-10-05 15:55:14 -04:00
montezdesousa
a7c4574919 Feature/basic auth (#5525)
* disable auth by default

* add startup banner

* banner

* create user_auth extension

* add back pymongo for user db

* lint

* add back hub option

* update toml

* remove form

* split auth_hook code

* pydantic v2

* allow db connection

* remove print

* move deps

* remove pymongo from core userservice

* reorg folders

* move props

* fix import

* create inits

* ruff

* rename user service

* rename userservice

* remove unused properties

* rename get_user_service

* ruff

* bad import

* bad import again

* fix userauth service

* now yes

* userdbservice needs to be unique

* move repository code to extension

* move remaining users code to extension

* lint

* pydantic v2

* rename default methods

* rename update to merge

* set merge_dict to private

* user_service: remove singleton

* set user_service as parent class

* fix typing

* add back default settings method used for tests

* + property

* add setter for default user settings

* revert previous: need lunch

* move back some code and start basic auth

* add auth hook

* load ext

* remove userauth ext

* remove from toml

* lint

* set ext name as param

* remove unused env var

* adding admin/pass

* add user/pass and return user_settings

* remove empty file

* improve type hints

* revert some func name changes

* 1 more

* black

* docs

* rename service

* fix tests

* rename env vars

* disable auth by default

* update ext loading

* remove unused pref

* update readme

* update readme + remove default user/pass

* separate user from authentication + lock some rout

* lint

* fix circular import

* fix tests

* readme

* remove comment

* Update README.md

* remove unused repository code

* fix auth env flag

* creds

* update readme

* only disables command auth

* remove link

* pydantic v2

* move app loader

* docstring
2023-10-05 16:25:32 +01:00
hjoaquim
798b049637 fix charting_service tests 2023-10-03 18:37:42 +01:00
Henrique Joaquim
f0278890d7 try except ftw (#5512) 2023-10-03 15:59:26 +01:00
Henrique Joaquim
82e8806e55 Hotfix/data processing int tests (#5499)
* improve/fix the generator

* fix ta/cones

* adding new test for economy menu

* test for ta

* newly generated qa file

* fixing breaking changes introduced by pydantic v2

* fixing charting

* one more little fix to charts

* fix qa/capm

* tmp fix on om

* qa stocks

* ruff n black

* remove non float columns

* mini fix so the corr result is serializable

* econometrics tests

* simplifying a bit and making ruff happy

* docstring

* docstring
2023-10-02 16:19:06 +01:00
Henrique Joaquim
a8e6d646fc Hotfix/colab logs (#5480)
* forcing logging.basicConfig() so that it overrides default calls (on notebooks)

* chaging terminal_version to platform_version instead
2023-10-02 14:50:32 +01:00
Henrique Joaquim
d2471a9c4f Hotfix/int tests python fixture (#5504)
* fix command runner tests that were generating logs

* use the import behind a fixture

* updating the generator
2023-10-02 14:43:27 +01:00
Danglewood
ad0bb2428b rename sec_filings -> company_filings (#5501) 2023-10-02 17:16:19 +05:30
Igor Radovanovic
16e94db6d1 Add toml to dev deps, fix to_df() edge case 2023-09-30 16:58:28 +02:00
Henrique Joaquim
45a1241849 Feature/charting service unit tests (#5477)
* test_check_and_get_charting_extension_name

* test_check_charting_extension_installed

* using fixtures

* test_get_extension_router

* ruff

* test_handle_back_end

* test_get_chart_format

* test_get_chart_function

* test_get_implemented_charting_functions

* test_to_chart

* test_to_chart

* test_chart

* ruff and mypy
2023-09-30 10:29:27 +01:00
Theodore Aptekarev
009699928f Rebrand sdk to platform in code (#5496)
* Relink sdk/sdk -> platform/platform

* Relink sdk -> platform

* Rename folders

* Fix dev_install script

* Fix test generators

* Fix test generators

* Fix test generators

* Organize imports
2023-09-29 10:31:45 +02:00