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

[Do not merge] Beta #429

Draft
wants to merge 40 commits into
base: dev
Choose a base branch
from
Draft

[Do not merge] Beta #429

wants to merge 40 commits into from

Commits on Sep 12, 2024

  1. Merge remote-tracking branch 'origin/Batch-fix' into beta

    # Conflicts:
    #	apps/web/app/page.tsx
    Corantin committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    6c7816f View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2024

  1. Configuration menu
    Copy the full SHA
    b38e22e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7b69f79 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2024

  1. Configuration menu
    Copy the full SHA
    9e33a59 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c1e6a91 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c39a314 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2024

  1. Merge remote-tracking branch 'origin/dev' into beta

    # Conflicts:
    #	apps/web/app/page.tsx
    Corantin committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    6d24e74 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e97fbf8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    117cc94 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f49c0f5 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2024

  1. Merge branch 'mobile-connect-button' into beta

    # Conflicts:
    #	apps/web/app/page.tsx
    Corantin committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    47cfd8b View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2024

  1. Configuration menu
    Copy the full SHA
    db584ed View commit details
    Browse the repository at this point in the history
  2. Use sub version v4

    Corantin committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    6255684 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    29c47b2 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2024

  1. ♻️ Refactored daily job route for multi-chain support

    - Renamed the `dailyJob` route to support different chains
    - Moved chain-specific variables inside the `updateScoresOnChain` function
    - Changed `GET` method to `POST` and added authorization check
    - Added new cron jobs in vercel.json for different chains
    - Included 'CRON_SECRET' in environment variables in turbo.json
    
    :alarm_clock: Updated job schedule frequency
    
    The frequency of the daily-job in the passport-oracles API has been updated.
    
    - The job was previously running every minute, but it's now set to run every 15 minutes. This change should help reduce server load and improve overall performance.
    
    :lock: Added unauthorized access logging
    
    - Enhanced security by adding a console error log for unauthorized attempts to access the dailyJob route.
    - The log includes details such as the request URL and chain parameter.
    
    :alarm_clock: Updated cron job configurations
    
    - Added POST method to all scheduled jobs
    - No changes in the schedule timings, they remain at every 15 minutes
    - This update ensures that the correct HTTP method is used when these jobs are triggered
    
    :recycle: Refactor code to support multiple chains
    
    - Renamed routes to include chain parameter
    - Moved chain-specific variables inside functions, allowing them to use the new chain parameter
    - Replaced local URLs with Vercel URL for fetching scores and passport data
    - Removed unused environment variables (CHAIN_ID, HOST, PORT)
    - Added authorization check in POST methods using CRON_SECRET environment variable
    - Updated cron jobs in vercel.json to remove method specification
    
    :sparkles: Added chain ID to API endpoints
    
    - Imported `useChainIdFromPath` hook in CheckPassport, PoolForm and SubmitPassport components
    - Updated the WRITE_SCORER_URI and fetch URL for addStrategy to include `chainFromPath`
    - This allows the application to dynamically use the correct chain ID based on the current path
    
    Fix paths
    
    :truck: Standardize route naming
    
    Renamed several routes to follow a consistent kebab-case naming convention. This change improves readability and consistency across the codebase.
    
    - Changed 'addStrategy' to 'add-strategy'
    - Renamed 'dailyJob' to 'daily-job'
    - Updated 'writeScore' to 'write-score'
    - Altered 'signMessage' to 'sign-message'
    - Modified 'submitPassport' to 'submit-passport'
    
    Also updated references in components where these routes were used.
    
    :recycle: Improved URL handling and response messages
    
    - Modified the way URLs are constructed to handle both production and development environments
    - Enhanced response message to provide more accurate status of score updates
    Corantin committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    648e2f6 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2024

  1. Merge branch 'dev' into beta

    Corantin committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    c2f68ab View commit details
    Browse the repository at this point in the history
  2. Merge branch 'dev' into beta

    Corantin committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    cef6c57 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'dev' into beta

    Corantin committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    1f20af2 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'dev' into beta

    Corantin committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    b8ed4dc View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2024

  1. Merge branch 'dev' into beta

    Corantin committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    8135990 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'dev' into beta

    Corantin committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    6bad13b View commit details
    Browse the repository at this point in the history
  3. Merge branch 'dev' into beta

    Corantin committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    3f398f5 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'dev' into beta

    Corantin committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    fdb9067 View commit details
    Browse the repository at this point in the history
  5. Merge branch 'dev' into beta

    Corantin committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    a279142 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2024

  1. ⬆️ Bump production version

    - The production version in the configuration file has been updated from 0.1.0 to 0.1.1.
    - This update is necessary for the deployment of new features and bug fixes in the production environment.
    Corantin committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    5358dc2 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2024

  1. Merge branch 'dev' into beta

    Corantin committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    35617c6 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'dev' into beta

    Corantin committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    19c9c88 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'dev' into beta

    Corantin committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    97db6fa View commit details
    Browse the repository at this point in the history
  4. Merge branch 'dev' into beta

    Corantin committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    2ea917e View commit details
    Browse the repository at this point in the history
  5. Merge branch 'dev' into beta

    Corantin committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    47082be View commit details
    Browse the repository at this point in the history
  6. Merge branch 'dev' into beta

    Corantin committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    da78c22 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2024

  1. Merge branch 'dev' into beta

    Corantin committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    0f189c8 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2024

  1. Merge branch 'dev' into beta

    Corantin committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    095cd5a View commit details
    Browse the repository at this point in the history
  2. Merge branch 'dev' into beta

    Corantin committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    0577ecf View commit details
    Browse the repository at this point in the history
  3. Merge branch 'dev' into beta

    Corantin committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    de865ee View commit details
    Browse the repository at this point in the history
  4. Merge branch 'dev' into beta

    Corantin committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    3d0f36c View commit details
    Browse the repository at this point in the history
  5. Merge branch 'dev' into beta

    Corantin committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    c24da41 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2024

  1. Bump subgraph to v0.1.2

    Corantin committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    5bcb025 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    be7e332 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9829a09 View commit details
    Browse the repository at this point in the history