Skip to content
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

Oracles-discovery #14

Merged
merged 15 commits into from
Mar 6, 2024
Merged

Oracles-discovery #14

merged 15 commits into from
Mar 6, 2024

Conversation

macnablocky
Copy link
Collaborator

@macnablocky macnablocky commented Feb 29, 2024

Description

Adds Oracles Discovery feature

Summary of changes

  • Adds Oracles discovery module
  • Adds unit tests for the new module

Related issues

Fixes #13

@macnablocky macnablocky changed the title Draft: to finnish: Oracles-discovery: draft Feb 29, 2024
@macnablocky macnablocky self-assigned this Mar 4, 2024
@macnablocky macnablocky changed the title Oracles-discovery: draft Oracles-discovery Mar 4, 2024
@macnablocky macnablocky marked this pull request as ready for review March 4, 2024 22:23
@macnablocky macnablocky merged commit 70bcf51 into main Mar 6, 2024
1 of 2 checks passed
BartoszSolkaBD pushed a commit that referenced this pull request Mar 21, 2024
MWBlocky added a commit that referenced this pull request May 13, 2024
* Merge pull request #17 from blockydevs/error_handling

Error handling - exception filters

* Merge pull request #15 from blockydevs/10-jobs-discovery

Endpoint to fetch jobs discovery

* Merge pull request #16 from blockydevs/11-job-assignment

Endpoint to assign a job to user and to retrieve assigned jobs

* Merge pull request #18 from blockydevs/authorization-token-handling

Middleware to pass the auth token

* Merge pull request #21 from blockydevs/unit_tests_fix

fix: unit tests

* Merge pull request #14 from blockydevs/#13-Oracles-discovery

Oracles-discovery

* Merge pull request #20 from blockydevs/#Statistics-Exchange-oracle

# Statistics exchange oracle

* Naming covention alignemnt (#27)

* Alignment of naming convention and endpoint structure

* Alignment of naming convention and endpoint structure

* ExchangeOracleApi->ExchangeOracle

* externalApiGateway-> gateway

* Coverage improvement

* CI/CD workflow

* fix(unit tests): Remove validationSchema from ConfigModule

* Alignment after testing with stage exchange oracle (#29)

* Fixes after check

* Removes unnecessary comment

* Fixes SDK limitation

* Removes unnecessary interceptor, changes Body to Query in request for oracle discovery

* Adds statistics related DTO interfaces with api mapping

* Changes in interface naming convention of received data

* Review fixes

* Review fixes

* Review fixes

* Review fixes

* Changes logic of calling exchange oracle: url is obtained based on the address provided in the enpoint. Adds CORS

* Adds test coverage

* Adds test coverage

* Adds kv store to the modules that use it

* minor fixes

* minor fixes

* Alignment of the swagger and interface used in the project

* Minor fixes

* Minor fixes

* Minor fixes

* Minor fixes

* Removes todo

* Review fixes

* Review fixes

* Review fixes

* Review fixes

* name: human-app -> human-app-server in package.json (#63)

* Fixes after code review (2024-05-07) (#75)

* File `global-common.interface.ts` has been renamed to `global-common.ts`.

* Renamed and moved EnvironmentVariableMissingError class.

* Renamed and moved Pageable classes to utils directory.

* Remove unused import in exchange-oracle.gateway.spec.ts

* Remove console.log from fetchAssignedJobs method.

* Update dependencies in package.json.

* Update terminology in README.md

* Remove unused Headers import from job-assignment.controller.ts

* Removed OnModuleInit import from kv-store-gateway.service.ts

* Corrected the data types for REDIS_PORT and REDIS_HOST in .env.example file.

* Remove redundant volume configuration in Docker-compose

* Add RPC_URL environment variable to docker-compose

* Replace hardcoded URL_KEY in KvStoreGateway with imported constant.

* fix: Update KVStoreClient import and test in KvStoreGateway

* Add Reputation Oracle address to .env and refactor Oracle Discovery.

* Add token authentication for Oracle statistics.

* Remove manual environment variable check.

* Refactor address to use escrowAddress in job assignment service.

* Ensure environment variables validation takes place before module loading.

* Revert "Add token authentication for Oracle statistics."

* Update terminology from 'Interfaces' to 'Model' in README

* Refactor PageableClasses to PageableDto and the file renamed from pageable-classes.ts to pageable.model.ts

* Update KV store gateway test to use actual SDK.

* Added REPUTATION_ORACLE_ADDRESS in app configuration and docker compose file.

* Integrate and use EscrowUtils for job assignment processing.

* Added chainId parameter to `getExchangeOracleAddressByEscrowAddress` method.

* Remove redundant code KV-store gateway test

* Update EscrowUtilsGateway tests.

* Add mock ConfigService to oracle-discovery service test.

* Revert "Add mock ConfigService to oracle-discovery service test."

This reverts commit a2134ad.

* Update oracle-discovery.service.spec.ts tests.

* Fixes CR 2024-05-10 (#78)

* The KVStoreKeys.url constant is now directly called.

* Changed Redis data volume path and updated gitignore.

* Refactor oracle discovery and statistics modules.

* Add CHAIN_IDS_ENABLED to .env.example

* Fix typo in oracle-discovery.service file name and references.

---------

Co-authored-by: MWBlocky <137490000+MWBlocky@users.noreply.github.com>
Co-authored-by: macnablocky <143715306+macnablocky@users.noreply.github.com>
Co-authored-by: MWBlocky <michal.walczak@blockydevs.com>
Co-authored-by: maciek.nabialek <maciej.nabialek@blockydevs.com>
BartoszSolkaBD added a commit that referenced this pull request May 27, 2024
* Merge pull request #17 from blockydevs/error_handling

Error handling - exception filters

* Merge pull request #15 from blockydevs/10-jobs-discovery

Endpoint to fetch jobs discovery

* Merge pull request #16 from blockydevs/11-job-assignment

Endpoint to assign a job to user and to retrieve assigned jobs

* Merge pull request #18 from blockydevs/authorization-token-handling

Middleware to pass the auth token

* Merge pull request #21 from blockydevs/unit_tests_fix

fix: unit tests

* Merge pull request #14 from blockydevs/#13-Oracles-discovery

Oracles-discovery

* Merge pull request #20 from blockydevs/#Statistics-Exchange-oracle

# Statistics exchange oracle

* Naming covention alignemnt (#27)

* Alignment of naming convention and endpoint structure

* Alignment of naming convention and endpoint structure

* ExchangeOracleApi->ExchangeOracle

* externalApiGateway-> gateway

* Coverage improvement

* CI/CD workflow

* fix(unit tests): Remove validationSchema from ConfigModule

* Fixes after check

* Removes unnecessary comment

* Fixes SDK limitation

* Removes unnecessary interceptor, changes Body to Query in request for oracle discovery

* Adds statistics related DTO interfaces with api mapping

* Changes in interface naming convention of received data

* Review fixes

* Review fixes

* Review fixes

* Review fixes

* Changes logic of calling exchange oracle: url is obtained based on the address provided in the enpoint. Adds CORS

* Adds test coverage

* Adds test coverage

* Adds kv store to the modules that use it

* minor fixes

* minor fixes

* Alignment of the swagger and interface used in the project

* Alignment after testing with stage exchange oracle (#29)

* Fixes after check

* Removes unnecessary comment

* Fixes SDK limitation

* Removes unnecessary interceptor, changes Body to Query in request for oracle discovery

* Adds statistics related DTO interfaces with api mapping

* Changes in interface naming convention of received data

* Review fixes

* Review fixes

* Review fixes

* Review fixes

* Changes logic of calling exchange oracle: url is obtained based on the address provided in the enpoint. Adds CORS

* Adds test coverage

* Adds test coverage

* Adds kv store to the modules that use it

* minor fixes

* minor fixes

* Alignment of the swagger and interface used in the project

* Minor fixes

* Minor fixes

* Minor fixes

* Minor fixes

* Removes todo

* Review fixes

* Review fixes

* Review fixes

* Review fixes

* Add email verification endpoints and related logic.

* name: human-app -> human-app-server in package.json (#63)

* Implement password reset functionality.

* Add disableOperator and prepareSignature methods.

* A property has been set in the eslint config to avoid enforcing a line break style.

* Implement KYC procedure start.

* Integration with the KYC procedure, password reset and disable operator modules.

* The variable name 'restorePasswordDto' in the sendRestorePassword function has been changed to 'restorePasswordData'.

* Update 'type' field data type in PrepareSignature model.

* Refactor prepareSignature test and update response fixture.

* Refactor service injections in multiple controllers, renamed to a generic 'service' format.

* Refactor services to use 'gateway' instead of 'reputationOracleService'.

* Sets base paths in the controllers and simplify the path of each endpoint.

* Refactor email verification test fixtures.

* Refactor 'h_captcha_token'.

* Enhance test coverage for oracle gateway.

* bug fixed

* Remove hCaptcha token mapping in user-worker and password-reset mappers.

* Refactor code to separate PrepareSignature functionality into its own module. (#71)

* fix: Change naming conventions in password-reset mapper.

* Fixes after code review (2024-05-07) (#75)

* File `global-common.interface.ts` has been renamed to `global-common.ts`.

* Renamed and moved EnvironmentVariableMissingError class.

* Renamed and moved Pageable classes to utils directory.

* Remove unused import in exchange-oracle.gateway.spec.ts

* Remove console.log from fetchAssignedJobs method.

* Update dependencies in package.json.

* Update terminology in README.md

* Remove unused Headers import from job-assignment.controller.ts

* Removed OnModuleInit import from kv-store-gateway.service.ts

* Corrected the data types for REDIS_PORT and REDIS_HOST in .env.example file.

* Remove redundant volume configuration in Docker-compose

* Add RPC_URL environment variable to docker-compose

* Replace hardcoded URL_KEY in KvStoreGateway with imported constant.

* fix: Update KVStoreClient import and test in KvStoreGateway

* Add Reputation Oracle address to .env and refactor Oracle Discovery.

* Add token authentication for Oracle statistics.

* Remove manual environment variable check.

* Refactor address to use escrowAddress in job assignment service.

* Ensure environment variables validation takes place before module loading.

* Revert "Add token authentication for Oracle statistics."

* Update terminology from 'Interfaces' to 'Model' in README

* Refactor PageableClasses to PageableDto and the file renamed from pageable-classes.ts to pageable.model.ts

* Update KV store gateway test to use actual SDK.

* Added REPUTATION_ORACLE_ADDRESS in app configuration and docker compose file.

* Integrate and use EscrowUtils for job assignment processing.

* Added chainId parameter to `getExchangeOracleAddressByEscrowAddress` method.

* Remove redundant code KV-store gateway test

* Update EscrowUtilsGateway tests.

* Add mock ConfigService to oracle-discovery service test.

* Revert "Add mock ConfigService to oracle-discovery service test."

This reverts commit a2134ad.

* Update oracle-discovery.service.spec.ts tests.

* Fixes CR 2024-05-10 (#78)

* The KVStoreKeys.url constant is now directly called.

* Changed Redis data volume path and updated gitignore.

* Refactor oracle discovery and statistics modules.

* Add CHAIN_IDS_ENABLED to .env.example

* Fix typo in oracle-discovery.service file name and references.

* Merge conflict fixes

* Adds Email Confirmation, KYC procedure, Password Reset and Disable Operator modules. (#64)

* Fixes after check

* Removes unnecessary comment

* Fixes SDK limitation

* Removes unnecessary interceptor, changes Body to Query in request for oracle discovery

* Adds statistics related DTO interfaces with api mapping

* Changes in interface naming convention of received data

* Review fixes

* Review fixes

* Review fixes

* Review fixes

* Changes logic of calling exchange oracle: url is obtained based on the address provided in the enpoint. Adds CORS

* Adds test coverage

* Adds test coverage

* Adds kv store to the modules that use it

* minor fixes

* minor fixes

* Alignment of the swagger and interface used in the project

* Add email verification endpoints and related logic.

* Implement password reset functionality.

* Add disableOperator and prepareSignature methods.

* A property has been set in the eslint config to avoid enforcing a line break style.

* Implement KYC procedure start.

* Integration with the KYC procedure, password reset and disable operator modules.

* The variable name 'restorePasswordDto' in the sendRestorePassword function has been changed to 'restorePasswordData'.

* Update 'type' field data type in PrepareSignature model.

* Refactor prepareSignature test and update response fixture.

* Refactor service injections in multiple controllers, renamed to a generic 'service' format.

* Refactor services to use 'gateway' instead of 'reputationOracleService'.

* Sets base paths in the controllers and simplify the path of each endpoint.

* Refactor email verification test fixtures.

* Refactor 'h_captcha_token'.

* Enhance test coverage for oracle gateway.

* bug fixed

* Remove hCaptcha token mapping in user-worker and password-reset mappers.

* Refactor code to separate PrepareSignature functionality into its own module. (#71)

* fix: Change naming conventions in password-reset mapper.

* Merge conflict fixes

---------

Co-authored-by: maciek.nabialek <maciej.nabialek@blockydevs.com>

* Fixes CR 2024-05-15 (#88)

* Implement token authentication in KYC procedure start.

* Update endpoint in gateway config and add new signature types.

* Fixed tests.

* Remove 'CERTIFICATE_AUTHENTICATION' from global-common enums.

* Fixed reputation-oracle.gateway.spec.ts (#90)

* Removes authorisation from prepare-signature endpoint (#92)

---------

Co-authored-by: MWBlocky <137490000+MWBlocky@users.noreply.github.com>
Co-authored-by: macnablocky <143715306+macnablocky@users.noreply.github.com>
Co-authored-by: MWBlocky <michal.walczak@blockydevs.com>
Co-authored-by: maciek.nabialek <maciej.nabialek@blockydevs.com>
KacperKoza343 added a commit that referenced this pull request Jul 15, 2024
* Merge pull request #17 from blockydevs/error_handling

Error handling - exception filters

* Merge pull request #15 from blockydevs/10-jobs-discovery

Endpoint to fetch jobs discovery

* Merge pull request #16 from blockydevs/11-job-assignment

Endpoint to assign a job to user and to retrieve assigned jobs

* Merge pull request #18 from blockydevs/authorization-token-handling

Middleware to pass the auth token

* Merge pull request #21 from blockydevs/unit_tests_fix

fix: unit tests

* Merge pull request #14 from blockydevs/#13-Oracles-discovery

Oracles-discovery

* Merge pull request #20 from blockydevs/#Statistics-Exchange-oracle

# Statistics exchange oracle

* Naming covention alignemnt (#27)

* Alignment of naming convention and endpoint structure

* Alignment of naming convention and endpoint structure

* ExchangeOracleApi->ExchangeOracle

* externalApiGateway-> gateway

* Coverage improvement

* CI/CD workflow

* fix(unit tests): Remove validationSchema from ConfigModule

* Fixes after check

* Removes unnecessary comment

* Fixes SDK limitation

* Removes unnecessary interceptor, changes Body to Query in request for oracle discovery

* Adds statistics related DTO interfaces with api mapping

* Changes in interface naming convention of received data

* Review fixes

* Review fixes

* Review fixes

* Review fixes

* Changes logic of calling exchange oracle: url is obtained based on the address provided in the enpoint. Adds CORS

* Adds test coverage

* Adds test coverage

* Adds kv store to the modules that use it

* minor fixes

* minor fixes

* Alignment of the swagger and interface used in the project

* Alignment after testing with stage exchange oracle (#29)

* Fixes after check

* Removes unnecessary comment

* Fixes SDK limitation

* Removes unnecessary interceptor, changes Body to Query in request for oracle discovery

* Adds statistics related DTO interfaces with api mapping

* Changes in interface naming convention of received data

* Review fixes

* Review fixes

* Review fixes

* Review fixes

* Changes logic of calling exchange oracle: url is obtained based on the address provided in the enpoint. Adds CORS

* Adds test coverage

* Adds test coverage

* Adds kv store to the modules that use it

* minor fixes

* minor fixes

* Alignment of the swagger and interface used in the project

* Minor fixes

* Minor fixes

* Minor fixes

* Minor fixes

* Removes todo

* Review fixes

* Review fixes

* Review fixes

* Review fixes

* Add email verification endpoints and related logic.

* name: human-app -> human-app-server in package.json (#63)

* Implement password reset functionality.

* Add disableOperator and prepareSignature methods.

* A property has been set in the eslint config to avoid enforcing a line break style.

* Implement KYC procedure start.

* Integration with the KYC procedure, password reset and disable operator modules.

* The variable name 'restorePasswordDto' in the sendRestorePassword function has been changed to 'restorePasswordData'.

* Update 'type' field data type in PrepareSignature model.

* Refactor prepareSignature test and update response fixture.

* Refactor service injections in multiple controllers, renamed to a generic 'service' format.

* Refactor services to use 'gateway' instead of 'reputationOracleService'.

* Sets base paths in the controllers and simplify the path of each endpoint.

* Refactor email verification test fixtures.

* Refactor 'h_captcha_token'.

* Enhance test coverage for oracle gateway.

* bug fixed

* Remove hCaptcha token mapping in user-worker and password-reset mappers.

* Refactor code to separate PrepareSignature functionality into its own module. (#71)

* fix: Change naming conventions in password-reset mapper.

* Fixes after code review (2024-05-07) (#75)

* File `global-common.interface.ts` has been renamed to `global-common.ts`.

* Renamed and moved EnvironmentVariableMissingError class.

* Renamed and moved Pageable classes to utils directory.

* Remove unused import in exchange-oracle.gateway.spec.ts

* Remove console.log from fetchAssignedJobs method.

* Update dependencies in package.json.

* Update terminology in README.md

* Remove unused Headers import from job-assignment.controller.ts

* Removed OnModuleInit import from kv-store-gateway.service.ts

* Corrected the data types for REDIS_PORT and REDIS_HOST in .env.example file.

* Remove redundant volume configuration in Docker-compose

* Add RPC_URL environment variable to docker-compose

* Replace hardcoded URL_KEY in KvStoreGateway with imported constant.

* fix: Update KVStoreClient import and test in KvStoreGateway

* Add Reputation Oracle address to .env and refactor Oracle Discovery.

* Add token authentication for Oracle statistics.

* Remove manual environment variable check.

* Refactor address to use escrowAddress in job assignment service.

* Ensure environment variables validation takes place before module loading.

* Revert "Add token authentication for Oracle statistics."

* Update terminology from 'Interfaces' to 'Model' in README

* Refactor PageableClasses to PageableDto and the file renamed from pageable-classes.ts to pageable.model.ts

* Update KV store gateway test to use actual SDK.

* Added REPUTATION_ORACLE_ADDRESS in app configuration and docker compose file.

* Integrate and use EscrowUtils for job assignment processing.

* Added chainId parameter to `getExchangeOracleAddressByEscrowAddress` method.

* Remove redundant code KV-store gateway test

* Update EscrowUtilsGateway tests.

* Add mock ConfigService to oracle-discovery service test.

* Revert "Add mock ConfigService to oracle-discovery service test."

This reverts commit a2134ad.

* Update oracle-discovery.service.spec.ts tests.

* Fixes CR 2024-05-10 (#78)

* The KVStoreKeys.url constant is now directly called.

* Changed Redis data volume path and updated gitignore.

* Refactor oracle discovery and statistics modules.

* Add CHAIN_IDS_ENABLED to .env.example

* Fix typo in oracle-discovery.service file name and references.

* Merge conflict fixes

* Adds Email Confirmation, KYC procedure, Password Reset and Disable Operator modules. (#64)

* Fixes after check

* Removes unnecessary comment

* Fixes SDK limitation

* Removes unnecessary interceptor, changes Body to Query in request for oracle discovery

* Adds statistics related DTO interfaces with api mapping

* Changes in interface naming convention of received data

* Review fixes

* Review fixes

* Review fixes

* Review fixes

* Changes logic of calling exchange oracle: url is obtained based on the address provided in the enpoint. Adds CORS

* Adds test coverage

* Adds test coverage

* Adds kv store to the modules that use it

* minor fixes

* minor fixes

* Alignment of the swagger and interface used in the project

* Add email verification endpoints and related logic.

* Implement password reset functionality.

* Add disableOperator and prepareSignature methods.

* A property has been set in the eslint config to avoid enforcing a line break style.

* Implement KYC procedure start.

* Integration with the KYC procedure, password reset and disable operator modules.

* The variable name 'restorePasswordDto' in the sendRestorePassword function has been changed to 'restorePasswordData'.

* Update 'type' field data type in PrepareSignature model.

* Refactor prepareSignature test and update response fixture.

* Refactor service injections in multiple controllers, renamed to a generic 'service' format.

* Refactor services to use 'gateway' instead of 'reputationOracleService'.

* Sets base paths in the controllers and simplify the path of each endpoint.

* Refactor email verification test fixtures.

* Refactor 'h_captcha_token'.

* Enhance test coverage for oracle gateway.

* bug fixed

* Remove hCaptcha token mapping in user-worker and password-reset mappers.

* Refactor code to separate PrepareSignature functionality into its own module. (#71)

* fix: Change naming conventions in password-reset mapper.

* Merge conflict fixes

---------

Co-authored-by: maciek.nabialek <maciej.nabialek@blockydevs.com>

* Fixes CR 2024-05-15 (#88)

* Implement token authentication in KYC procedure start.

* Update endpoint in gateway config and add new signature types.

* Fixed tests.

* Remove 'CERTIFICATE_AUTHENTICATION' from global-common enums.

* Fixed reputation-oracle.gateway.spec.ts (#90)

* Removes authorisation from prepare-signature endpoint (#92)

* 4th milestone features  (#79)

* Milestone 4 - draft: TODO
* User stats endpoint, test and possible rework of response mapping
* Add unit tests
* Add proxy endpoints for:
- user/register-address
- auth/signin/web3

* Adds test coverage, minor fixes

* Adds additional proxies for 4 milestone

* Reworks reputation oracle gateway test suite, adds necessary mappings

* adds missing await

* Review fixes

* Adds /user/register-address handling

* Changes endpoint name

* Adds import fixes

* Adds controller and module to the main app module

* Updates README.md (#125)

* Updates README.md: Adds Caching section, Changes in signature type

* README.md updates

* README.md updates

* fix(app/user/worker): remove chain id validation (#114)

* fix(app/user/worker): remove chain id validation

* Test fix and JWT User data align

* Updates README.md: Adds Caching section, Changes in signature type

* Removes commented code

* Changes after hcaptcha api check

* Adds interceptor for axios requests

* Fix/signature (#126)

* Updates README.md (#125)

* Updates README.md: Adds Caching section, Changes in signature type

* README.md updates

* README.md updates

* fix(app/worker): add signature field to req body

* update(app): revert readme

* fix(app/register-address): fix test

---------

Co-authored-by: macnablocky <143715306+macnablocky@users.noreply.github.com>
Co-authored-by: Kacper Koza <kacper.koza@silksh.pl>

* Fixes undefined in POST data, fixes unit tests

* Adds Resign job feature, small changes in the gateway config (#134)

* Fixes

* Fixes in dependencies

---------

Co-authored-by: Kacper Koza <kacper.koza@silksh.pl>
Co-authored-by: maciej.nabialek <maciej.nabialek@blockydevs.com>
Co-authored-by: macnablocky <143715306+macnablocky@users.noreply.github.com>

* Fixes restore password

* Fixes restore password part 2.

* review fixes

---------

Co-authored-by: KacperKoza343 <165884432+KacperKoza343@users.noreply.github.com>
Co-authored-by: Kacper Koza <kacper.koza@silksh.pl>
Co-authored-by: Bartosz Solka <bartosz.solka@blockydevs.com>

* fixes after merge

* fix(app/worker/jobs): fix jobs resigning (#138)

Co-authored-by: = <kacper.koza@silksh.pl>

* Add TokenRefresh feature in reputation oracle integration (#141)

* Update endpoint paths in `reputation-oracle.gateway.spec.ts`.

* Add TokenRefresh feature in reputation oracle integration

* Update mapping conventions for pagination and sorting (#144)

* Fixes after client review (#150)

* Fixes after client review

* Fixes after client review

* Fixes after client review

* Fixes failing test

* small fix in displaying axios interceptor logs

* Adds filtering to oracle discovery (#154)

* Adds filtering to oracle discovery

* Adds and passes tests for controller, adds mapper

* Adds and passes tests for service

* Rework of oracle-discovery.service.ts in alignment with code review remark

* Modifies filtering in oracle discovery to be case insensitive (but will return original data) (#159)

* Fixes in validators, fixes in parsing Oracle Discovery DTO

* Revert "Fixes in validators, fixes in parsing Oracle Discovery DTO"

This reverts commit 68953ae.

* Validator fixes (#166)

* Fixes in validators, fixes in parsing Oracle Discovery DTO

* Removes TransformToArray from decorator list,

* Rollbacks yarn lock in dashboard admin

* Changes to improve swagger readablity

* Adds optional validator to jobsDiscoveryParamsDto.sort_field (#168)

* Adds optional validator to jobsDiscoveryParamsDto.sort_field

* Adds optional validator to jobsDiscoveryParamsDto.job_type

* Human app maintanance (#178)

* HAM-2

* HAM-6

* HAM-3

* HAM-3 part 2

* HAM-9

* HAM-1

* HAM-5

* HAM-1 rework

* Fix to HAM-9

* Fix to HAM-6

* HAM-16/30/31/32 (#181)

* HAM-16/30/31/32

* Fixes in resing job (#187)

* fix(app/worker/jobs): fix resign job dto

* Fixes ut

---------

Co-authored-by: KacperKoza343 <kacper.koza@blockydevs.com>

* Changes assignment id back from number to string (#190)

* Changes assignment id back from number to string (#188)

* Changes assignment id back from number to string

* Update job-assignment.model.ts

* Ham 8 backend implementation (#192)

* feat(app/worker/password): add hcaptcha field

* Fixes endpoint model for forgot password, adds h-captcha token to email verification resend endpoint model

* Adds proper handling of ttl and changes address to wallet_address in JWT token decoding

* Adds proper handling of ttl and changes address to wallet_address in JWT token decoding

* small fix

* small fix

* Adds cache reset on demand

---------

Co-authored-by: KacperKoza343 <kacper.koza@blockydevs.com>

* updates default allowed headers (#199)

* Reputation/Exchange oracle response parsing refactor (#203)

* Jobs discovery should return only ACTIVE jobs

* Removes unnecessary filtering, adds type guarding of responses from reputation and exchange oracle gateways

---------

Co-authored-by: MWBlocky <137490000+MWBlocky@users.noreply.github.com>
Co-authored-by: macnablocky <143715306+macnablocky@users.noreply.github.com>
Co-authored-by: MWBlocky <michal.walczak@blockydevs.com>
Co-authored-by: maciek.nabialek <maciej.nabialek@blockydevs.com>
Co-authored-by: KacperKoza343 <165884432+KacperKoza343@users.noreply.github.com>
Co-authored-by: Kacper Koza <kacper.koza@silksh.pl>
Co-authored-by: KacperKoza343 <kacper.koza@blockydevs.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Oracles discovery
3 participants