generated from BlossomLabs/web3-turbo-template
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Corantin
wants to merge
15
commits into
dev
Choose a base branch
from
beta
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
[Do not merge] Beta #429
+208
−191
Commits on Sep 12, 2024
-
Merge remote-tracking branch 'origin/Batch-fix' into beta
# Conflicts: # apps/web/app/page.tsx
Configuration menu - View commit details
-
Copy full SHA for 6c7816f - Browse repository at this point
Copy the full SHA 6c7816fView commit details
Commits on Sep 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b38e22e - Browse repository at this point
Copy the full SHA b38e22eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b69f79 - Browse repository at this point
Copy the full SHA 7b69f79View commit details
Commits on Sep 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9e33a59 - Browse repository at this point
Copy the full SHA 9e33a59View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1e6a91 - Browse repository at this point
Copy the full SHA c1e6a91View commit details -
Configuration menu - View commit details
-
Copy full SHA for c39a314 - Browse repository at this point
Copy the full SHA c39a314View commit details
Commits on Sep 18, 2024
-
Merge remote-tracking branch 'origin/dev' into beta
# Conflicts: # apps/web/app/page.tsx
Configuration menu - View commit details
-
Copy full SHA for 6d24e74 - Browse repository at this point
Copy the full SHA 6d24e74View commit details -
Configuration menu - View commit details
-
Copy full SHA for e97fbf8 - Browse repository at this point
Copy the full SHA e97fbf8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 117cc94 - Browse repository at this point
Copy the full SHA 117cc94View commit details -
Configuration menu - View commit details
-
Copy full SHA for f49c0f5 - Browse repository at this point
Copy the full SHA f49c0f5View commit details
Commits on Sep 24, 2024
-
Merge branch 'mobile-connect-button' into beta
# Conflicts: # apps/web/app/page.tsx
Configuration menu - View commit details
-
Copy full SHA for 47cfd8b - Browse repository at this point
Copy the full SHA 47cfd8bView commit details
Commits on Sep 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for db584ed - Browse repository at this point
Copy the full SHA db584edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6255684 - Browse repository at this point
Copy the full SHA 6255684View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29c47b2 - Browse repository at this point
Copy the full SHA 29c47b2View commit details
Commits on Oct 11, 2024
-
♻️ 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
Configuration menu - View commit details
-
Copy full SHA for 648e2f6 - Browse repository at this point
Copy the full SHA 648e2f6View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.