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

Reorganize tutorial and enhance fdev to support River publishing #1396

Draft
wants to merge 128 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
128 commits
Select commit Hold shift + click to select a range
5aa11d9
reorganize tutorial
sanity Jan 24, 2025
b727240
rewrite README
sanity Jan 24, 2025
38c26e5
remove cruft
sanity Jan 24, 2025
f838ca8
feat: Add flexible metadata source with generator support
sanity Jan 25, 2025
00e663a
fix: Resolve archive creation and metadata field naming errors
sanity Jan 25, 2025
651f6a5
docs: Add documentation for dynamic metadata generation in webapp con…
sanity Jan 25, 2025
ab3ce81
fix: Correct sources reference in build archive creation
sanity Jan 25, 2025
0292ac4
remove fdev modifications, they were the wrong approach.
sanity Jan 25, 2025
552c5d0
feat: Add support for pre-compressed webapp archive in fdev publish
sanity Jan 25, 2025
68d13a6
fix: Update xz2 dependency and fix WebApp and XzDecoder imports
sanity Jan 25, 2025
65d9cc0
fix: Resolve type mismatches in WebApp state and archive handling
sanity Jan 25, 2025
440b06e
fix: Remove unnecessary `into_inner()` calls in WebApp creation
sanity Jan 25, 2025
40f20a3
fix: Convert archive to tar::Builder before passing to WebApp::from_data
sanity Jan 25, 2025
d42fbf4
fix: Update WebApp method calls and add tar::Builder import
sanity Jan 25, 2025
d9670fe
fix: Remove duplicate tar::Builder import and dereference Vec<u8>
sanity Jan 25, 2025
db0df7f
refactor: Remove duplicate tar::Builder import in build.rs
sanity Jan 25, 2025
ffe6e89
fix: Resolve type inference issue with empty State in fdev commands
sanity Jan 25, 2025
28e21ff
fix: Convert State to WrappedState in ContractRequest::Put
sanity Jan 25, 2025
e194d53
fix: convert State to Vec<u8> before converting to WrappedState
sanity Jan 25, 2025
455eca6
fix: Make tar variable mutable to resolve borrow error in entries()
sanity Jan 25, 2025
0a05f20
docs: Add documentation for pre-compressed webapp archive publishing …
sanity Jan 25, 2025
5e9d327
docs: Clarify webapp metadata can be any binary format
sanity Jan 25, 2025
22c8538
docs: Remove JSON references for parameters, state, and input files
sanity Jan 25, 2025
fba5dcd
docs: Improve CLI help text for contract and delegate publishing options
sanity Jan 26, 2025
b2daf1d
feat: Add version wrapper for raw WASM files in contract put command
sanity Jan 27, 2025
0bbe199
fix: Update contract versioning and import for fdev CLI
sanity Jan 27, 2025
1191598
fix: Correct ContractContainer creation from raw WASM code
sanity Jan 27, 2025
1579ae3
fix: Resolve ContractContainer conversion in fdev contract deployment
sanity Jan 27, 2025
065901f
fix: Replace ContractWasmAPIVersion::new() with From trait implementa…
sanity Jan 27, 2025
b52ab17
fix: Correct ContractWasmAPIVersion construction in put_contract
sanity Jan 27, 2025
7c10054
fix: Correct ContractWasmAPIVersion::V1 variant usage in contract dep…
sanity Jan 27, 2025
1986331
fix: Wrap ContractCode in Arc for WrappedContract::new()
sanity Jan 27, 2025
8063152
refactor: Remove unused version variable in contract deployment
sanity Jan 27, 2025
94c7430
wip
sanity Jan 27, 2025
e19a7b0
update to stdlib branch
sanity Jan 27, 2025
221a0ec
point stdlib at main branch
sanity Jan 27, 2025
7343bae
fix: Remove unnecessary tar wrapping and fix index.html validation
sanity Jan 27, 2025
2f2ed64
fix: Correctly create tar Builder for WebApp::nfrom_data
sanity Jan 27, 2025
0961580
fix: Wrap archive bytes in Cursor to implement Read trait for tar::Bu…
sanity Jan 27, 2025
d04a06f
fix typo in function name
sanity Jan 27, 2025
3a71aba
fix: Improve index.html detection in tar archive extraction
sanity Jan 27, 2025
b61db45
refactor: Improve index.html detection in tar archive with robust pat…
sanity Jan 27, 2025
14806e9
format
sanity Jan 30, 2025
c6ea69f
hopefully fix lock file
sanity Jan 30, 2025
c9f4667
try to fix Cargo.lock again
sanity Jan 30, 2025
8a476dc
merge
sanity Jan 31, 2025
6c46bec
feat: Add tracing for contract state operations to diagnose state han…
sanity Jan 31, 2025
e626217
fix: Add trace logging for contract state retrieval error
sanity Feb 1, 2025
ae2993a
feat: Add trace logging for contract state not found error
sanity Feb 1, 2025
e56b8d3
merge and fix Cargo.lock
sanity Feb 4, 2025
b5f3884
fix: Add debug comment for contract state retrieval error
sanity Feb 6, 2025
92356b9
fix: Improve logging for contract state retrieval errors
sanity Feb 6, 2025
052f221
fix: Remove comment about contract state not found error
sanity Feb 6, 2025
2d1defb
add debug logging
sanity Feb 6, 2025
86b78e7
refactor: Prepare for improved logging in contract_requests method
sanity Feb 6, 2025
b48173f
feat: Enhance contract request logging with client context and error …
sanity Feb 6, 2025
ed7b967
fix: Correct match expression syntax and logging in contract request …
sanity Feb 6, 2025
5b67c97
fix: Improve error handling and logging in contract_requests method
sanity Feb 6, 2025
d25bb88
feat: Add tracing logs for contract publishing and retrieval
sanity Feb 6, 2025
4591ecb
refactor: Fix indentation and add implementation block comment
sanity Feb 6, 2025
582ac68
fix: Remove extra comma in error handling match arm
sanity Feb 6, 2025
9ab6b5e
fix: Resolve unclosed implementation block in runtime.rs
sanity Feb 6, 2025
0ca26fa
fix: Add type annotation for related_contracts in commands.rs
sanity Feb 6, 2025
3eac1c4
I understand now. Could you confirm the implementation of `RelatedCon…
sanity Feb 6, 2025
6437ac1
fix: Handle missing CARGO_TARGET_DIR in tests with temporary directory
sanity Feb 6, 2025
e05759a
fix: Convert PathBuf to String in fdev build configuration
sanity Feb 6, 2025
613e191
refactor: Improve related contracts state check in contract publishin…
sanity Feb 7, 2025
5742755
feat: Add detailed logging for WebSocket client operations in fdev tool
sanity Feb 7, 2025
aeeb398
fix: Improve WebSocket error handling and logging in client-server co…
sanity Feb 7, 2025
82bd445
Merge branch 'main' into river-integration
sanity Feb 8, 2025
a168b69
feat: Add detailed debug logging for websocket contract operations
sanity Feb 9, 2025
38432b9
fix: Use debug formatting for ContractResponse logging
sanity Feb 9, 2025
9c11f17
feat: Add detailed logging for contract verification and storage process
sanity Feb 9, 2025
aaee36e
feat: Enhance websocket and contract verification logging for better …
sanity Feb 9, 2025
54edf45
feat: Add tracing logging comment for HttpGateway implementation
sanity Feb 9, 2025
e66fbdd
feat: Add detailed tracing logging to web_home and web_subpages funct…
sanity Feb 9, 2025
2d520e4
chore: Add comment about adding debug tracing logs in path_handlers
sanity Feb 9, 2025
f521efa
feat: Add debug logging to path_handlers for contract retrieval diagn…
sanity Feb 9, 2025
4a7c466
refactor: Change log level from info to debug in web_home and web_sub…
sanity Feb 9, 2025
609b3ad
fix: Add missing tracing debug import and remove unused imports
sanity Feb 9, 2025
3f96f31
feat: Add placeholder comment for tracing debug logs in WebApp implem…
sanity Feb 9, 2025
0f5a8f8
feat: Add detailed tracing debug logs to WebApp operations
sanity Feb 9, 2025
b3102d5
feat: Add #[instrument] macro to improve function tracing and logging
sanity Feb 9, 2025
ac59753
feat: Add instrumentation to get_web_body function
sanity Feb 9, 2025
906ea4e
fix: Add Debug derive and skip non-Debug parameters in instrumentation
sanity Feb 9, 2025
6a2f78d
refactor: Change instrumentation level to debug for tracing
sanity Feb 9, 2025
bd2490f
fix: Update `get_web_body` instrumentation with debug level
sanity Feb 9, 2025
64f5767
chore: Add comment for adding tracing instrumentation to HTTP gateway
sanity Feb 9, 2025
1c48e7a
feat: Add debug-level tracing to HttpGateway functions for improved d…
sanity Feb 9, 2025
8566154
feat: Add comment suggesting debug tracing for HttpGateway functions
sanity Feb 9, 2025
e10c95f
feat: Add debug instrumentation to as_router_v1 function
sanity Feb 9, 2025
9ea86e2
refactor: Optimize webapp archive handling to use pre-compressed inpu…
sanity Feb 13, 2025
acfab4a
test: Fix WebApp state conversion and remove unused import
sanity Feb 13, 2025
73f193e
fix: Correct WebApp creation from archive bytes
sanity Feb 13, 2025
22778ba
feat: Fix WebApp creation by converting archive to tar::Builder
sanity Feb 13, 2025
7b2081c
feat: Add WebApp method to handle pre-compressed web archives directly
sanity Feb 13, 2025
eb3480b
refactor: Improve debug log message for WebApp creation
sanity Feb 13, 2025
3c63c94
test: Remove tracing instrument from WebApp::from_compressed
sanity Feb 13, 2025
c6e05b2
feat: Add detailed logging for metadata and packed state in put_contr…
sanity Feb 14, 2025
0b22009
refactor: Add debug logging for web archive contents
sanity Feb 14, 2025
77baf94
fix: Make archive mutable to call entries() method
sanity Feb 14, 2025
f7e072d
refactor: Replace tracing::info with println for contract publishing log
sanity Feb 17, 2025
a530b17
refactor: Fix tokio-tungstenite version mismatch and remove unused im…
sanity Feb 17, 2025
e362fa8
fix: Remove unnecessary `.into()` conversion for WebSocketStream
sanity Feb 17, 2025
5483e43
fix: Resolve tokio-tungstenite version mismatch using unsafe conversion
sanity Feb 17, 2025
9aebd2b
refactor: Move websocket conversion function to shared module and fix…
sanity Feb 17, 2025
202b99c
fix: Correct Connection import and module resolution in fdev crate
sanity Feb 17, 2025
0a62acd
revert first attempt to correct issues with stdlib modifications
sanity Feb 17, 2025
4315a4f
update tokio-tungstenite to bring in line with freenet-stdlib dependency
sanity Feb 17, 2025
f300f1e
feat: Add get-contract-id command to retrieve contract ID without pub…
sanity Feb 17, 2025
91425c5
fix: Add support for GetContractId command in fdev CLI
sanity Feb 17, 2025
8ecdd2a
fix: Add missing contract ID retrieval implementation
sanity Feb 17, 2025
9f522fa
feat: Add debug logging to variable_content() for filesystem path dia…
sanity Feb 18, 2025
719d87f
refactor: Update webapp cache path and index.html location
sanity Feb 18, 2025
2d4e465
wip - river renders and no websocket error, but webapp not updating
sanity Feb 19, 2025
1aae916
refactor: Add state hash checking for webapp cache updates
sanity Feb 19, 2025
6f3dbb5
fix: Improve error handling and remove unnecessary code in contract_h…
sanity Feb 19, 2025
ff7c033
feat: Add ahash dependency and fix path borrowing in path_handlers
sanity Feb 19, 2025
094f615
feat: Add ahash dependency to core Cargo.toml
sanity Feb 19, 2025
afd4303
clean up
sanity Feb 20, 2025
4613df5
replace more unwraps with ?
sanity Feb 20, 2025
8354e9b
wip
sanity Mar 6, 2025
0c76419
wip
sanity Mar 6, 2025
7f2a0ca
merge main
sanity Mar 8, 2025
f57729a
add and use subscribe flag to contract operations
netsirius Mar 9, 2025
c009568
merge main
sanity Mar 9, 2025
d6352c3
merge use-subscribe
sanity Mar 10, 2025
e954ab8
handle new subscribe flag
sanity Mar 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "stdlib"]
path = stdlib
url = https://github.com/freenet/freenet-stdlib
url = git@github.com:freenet/freenet-stdlib.git
Loading
Loading