Nuxt 4 upgrade#4
Open
cdr-chakotay wants to merge 53 commits into
Open
Conversation
- Enabled the Verification card - Added a dummy handler function - Added a hash choice
- Add ToDos for further implementation.
- Replace `createInput` with `verifyInput` throughout the verification logic. - Implement and integrate `validateTsInput` utility for timestamp validation to enhance error handling. - Update `doVerify` to handle timestamp validation, hash calculation, and verification outcomes. - Add a lazy reporting system with alerts to the view, in case verification takes place
- Introduce `verifySnackbar` to improve UI feedback during verification. - Add localized snackbar messages for success, failure, and errors. - Remove `alert` calls and integrate snackbar notifications in `doVerify`. - Update i18n strings with new verification messages.
- Update README with instructions for running the dev environment with hot reloading. - Add temporary fixes in `uits.js` to handle local development scenarios (e.g., localhost URL adjustments).
- Updated Nuxt to version 3.12.3 and related dependencies. - Refactored page components to use `<script setup>` syntax. - Replaced `_slug.vue` with `[slug].vue` for dynamic routing. - Introduced new `doc/[slug].vue` page for document rendering. - Removed old asyncData methods in favor of useAsyncData. - Added polyfills for Buffer in the client. - Created a new Vuetify plugin for consistent component usage. - Updated TypeScript configuration to extend from Nuxt's default. - Enhanced TimestampService with listener management and WebSocket error handling. - Added favicon.ico to public assets.
… in Docker configuration. fix: Cleanup document integration since it has been defective in nuxt3
…runtime errors during page buildup
chore: Upgrade Nuxt and i18n dependencies for improved performance and compatibility
Closed
Contributor
Author
|
Would recommend a squash before merge, since this has been a cumbersome project. |
Fix (hopefully) consistency and inclusion proof: with := max_index + 1
- Fetch inclusion proof from authority and verify interval inclusion in main tree
- Fixed variable shadowing bug (let verified_mth) and wrong getInclusionProof arguments
- Added uncached path in doVerify() to fetch proof when interval is not cached
- Fixed createIHash using wrong key name ("interval" → "index") to match Python schema
- Fixed createIHash using entry submission time instead of interval seal time
Needed to change:
- Added interval_ts to IntervalProofStructure so proof is self-contained for verification
- Added interval_ts to formulate_proof() in worker.py
- Added parseCompactTs to index.vue imports
- Corrected field name "interval" → "index" and added interval_ts to protocol.md
… json collection from backend
Contributor
Author
|
Did another run on the implementation of the web verification feature. Needed to change some of the entities since timestamp time != sealing time of the interval. Proper review needed on the verification logic. Has been quite some time since we talked about that. Markdown docs are still broken and at the moment I do not really have the time to fix them. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This pull request:
What is no longer working: Rendering the Markdown docs
mthverificationResolves #2
Resolves #5