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

chain release2.9 compatibility Grace Period and overdue #3387

Merged
merged 63 commits into from
Oct 31, 2024

Commits on Sep 6, 2024

  1. Configuration menu
    Copy the full SHA
    4008755 View commit details
    Browse the repository at this point in the history
  2. Feat: add some methods and interfaces

    - a method to get NU billing information
    - a method to get contract payment state
    - a method to get used resources by the node contract
    - some related interfaces
    0oM4R committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    50e3d5a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fa43de3 View commit details
    Browse the repository at this point in the history
  4. chore: inhance docstirng

    0oM4R committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    593914d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8693051 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9af58da View commit details
    Browse the repository at this point in the history
  7. Refactor:

    enhance code readablity.
    reduce number of requests by passing the contract info to all chiled functions
    0oM4R committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    46b6166 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2024

  1. chore: inhance imports

    0oM4R committed Sep 7, 2024
    Configuration menu
    Copy the full SHA
    6ae49d0 View commit details
    Browse the repository at this point in the history
  2. Refactor: unlock contracts

    - use proxy url in unlockMycontracts
    - refactor unlockContracts to accept array of contracts
    - add function to unlock contracts by their ids
    0oM4R committed Sep 7, 2024
    Configuration menu
    Copy the full SHA
    c655eb6 View commit details
    Browse the repository at this point in the history
  3. add overdue details interfaces

    0oM4R committed Sep 7, 2024
    Configuration menu
    Copy the full SHA
    9bc59cf View commit details
    Browse the repository at this point in the history
  4. chore: contract overdue

    - add function that takes only contract to unlock it
    - add calculate overdue functions
    0oM4R committed Sep 7, 2024
    Configuration menu
    Copy the full SHA
    e0cd248 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2024

  1. Configuration menu
    Copy the full SHA
    8d72c5c View commit details
    Browse the repository at this point in the history
  2. fix: remove duplicated call

    0oM4R committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    c5f6de8 View commit details
    Browse the repository at this point in the history
  3. refactor:

    mUSD converter will return the price in mTFT
    fix unique name price calc
    fix imports
    0oM4R committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    eb1a7fd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    200b46c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e1d0363 View commit details
    Browse the repository at this point in the history
  6. wip fix calculations

    0oM4R committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    8f2b5b7 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2024

  1. feat: support Payment state

    - add contracts on rented node to the rent node overdue
    0oM4R committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    f29a977 View commit details
    Browse the repository at this point in the history
  2. chore: clean up

    0oM4R committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    e80eae6 View commit details
    Browse the repository at this point in the history
  3. refactor: enhance contract lock state

    it is storing the rent contract on a map by the node id, and ignore the unwanted calculations
    0oM4R committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    a496e73 View commit details
    Browse the repository at this point in the history
  4. refactor: enhance contract lock

    unlock dialog now will check if the node contract on rented node or not; if so will retrive the rent contract cost and store the and will avoid duplication
    0oM4R committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    a1910e2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c161781 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a946efe View commit details
    Browse the repository at this point in the history
  7. feat: show the rent contract that will be unlocked as it is associate…

    …d with selected contracts
    0oM4R committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    aa0e95f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d1e1889 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2024

  1. fix: build

    0oM4R committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    976695d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3eaf6f5 View commit details
    Browse the repository at this point in the history
  3. docs: add deprecated annotation

    0oM4R committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    ca76686 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f650c2f View commit details
    Browse the repository at this point in the history
  5. docs: WIP adding docstrings

    0oM4R committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    a3f6a6f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9c1d7d3 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2024

  1. docs: WIP adding docstrings

    0oM4R committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    b179374 View commit details
    Browse the repository at this point in the history
  2. cleanup: remove unused module

    0oM4R committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    524f918 View commit details
    Browse the repository at this point in the history
  3. fix: build

    remove unused import
    0oM4R committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    accb85b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    694b6c8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5721a34 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2024

  1. Configuration menu
    Copy the full SHA
    1c32ecf View commit details
    Browse the repository at this point in the history
  2. refactor:

    use the calculator module,
    remove the added pricing related interfaces and functions
    
    add helper method to convert from bytes to gb
    0oM4R committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    b9e0216 View commit details
    Browse the repository at this point in the history
  3. chore: list all contracts

    to avoid default page size 50, add a function to work around that.
    0oM4R committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    c16787e View commit details
    Browse the repository at this point in the history
  4. fix: build

    return if the contract list is empty
    0oM4R committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    e642604 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2024

  1. Chore: apply comments

    - fix typos
    - fix calculation in ipv4 cost
    - fix nu cost calaculations
    0oM4R committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    c08b88d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4950681 View commit details
    Browse the repository at this point in the history
  3. Chore: enahnce code readability

    separate node contracts on rented node cost calculations to multiple functions
    create constants with numbers repeatedly  used in the calculations
    enhance docstring
    0oM4R committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    88bf71b View commit details
    Browse the repository at this point in the history
  4. Chore:

    fix typo
    fix build
    fix name convention
    0oM4R committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    09f8bab View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2024

  1. Configuration menu
    Copy the full SHA
    9b8f032 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f1b4d55 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2024

  1. Configuration menu
    Copy the full SHA
    ee14685 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b2e8914 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2024

  1. Merge branch 'development' of github.com:threefoldtech/tfgrid-sdk-ts …

    …into development_chain_release2.9
    0oM4R committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    60d3ed4 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2024

  1. Configuration menu
    Copy the full SHA
    69397c3 View commit details
    Browse the repository at this point in the history
  2. refactor: convert the monthly cost to avoid missing decimals on conve…

    …rting cost per second
    0oM4R committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    efb365c View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2024

  1. fix: get total overdue

    skip the node contracts on rented nodes as it already calculated in rent contract
    0oM4R committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    cd8d087 View commit details
    Browse the repository at this point in the history
  2. refactor: calculate node contract on rented node

    we were ignoring the elapsed seconds for node contracts and we assume that it is the same as rent contract
    0oM4R committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    829718d View commit details
    Browse the repository at this point in the history
  3. refactor

    reorder the calculation logic to be easier in debugging
    0oM4R committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    5d63c81 View commit details
    Browse the repository at this point in the history
  4. refactor:

    pass the contracts by id as the contracts do not have the public_ips_number field
    0oM4R committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    3abb1a5 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2024

  1. Configuration menu
    Copy the full SHA
    b2ec2e4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8e482a8 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2024

  1. Configuration menu
    Copy the full SHA
    7026c2c View commit details
    Browse the repository at this point in the history
  2. Chore: remove unused functions

    0oM4R committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    0714187 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2024

  1. Configuration menu
    Copy the full SHA
    aed21b5 View commit details
    Browse the repository at this point in the history
  2. Chore: include node contract on rented node in the getTotalOverDue fu…

    …nction this will be needed for UI
    0oM4R committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    0a4aab6 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2024

  1. Configuration menu
    Copy the full SHA
    8667aa0 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2024

  1. merge development

    0oM4R committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    5b4536f View commit details
    Browse the repository at this point in the history