Commit Graph

  • 49cee347f5 Add the terminator "/" to directory names when returning directory listings from the web interface cozis 2025-12-05 09:19:25 +01:00
  • 1e2223aeb0 Fix bad usage of the toastyfs client API in the web interface GET handler cozis 2025-12-05 09:04:09 +01:00
  • acc9c097d3 Forward declare struct pollfd in ToastyFS.h to avoid including winsock2.h and poll.h cozis 2025-12-04 22:21:31 +01:00
  • 6746b0d5fb Add MISSING_FILE_GENERATION special value for "file does not exist" Claudeandcozis 2025-12-04 12:25:20 +00:00
  • e73bb3a7d8 Add crash logger cozis 2025-12-04 12:25:19 +01:00
  • 5c192a1e52 Fix wrong error code returned by file_tree_read cozis 2025-12-03 21:15:54 +01:00
  • 4bcee9a617 Add TOASTY_WRITE_TRUNCATE_AFTER flag for HTTP PUT semantics Claude 2025-12-03 19:49:48 +00:00
  • 8160c5ac51 Add TOASTY_WRITE_CREATE_IF_MISSING flag for server-side file auto-creation Claude 2025-12-03 18:41:16 +00:00
  • a082f46b78 Update TODO.txt cozis 2025-12-03 19:12:35 +01:00
  • 6519b0c1bb Fix incorrect call to http_response_builder_body_cap in toastyfs_web cozis 2025-12-03 18:01:39 +01:00
  • 012b31df3a Fix compilation warnings cozis 2025-12-02 22:19:32 +01:00
  • b0b2d576cc Refactoring of toastyfs_web cozis 2025-12-02 14:19:42 +01:00
  • 09ec872591 Merge branch 'main' into synchronization_app cozis 2025-12-02 12:21:39 +01:00
  • f665dae9ed Update chttp.c/.h cozis 2025-12-02 12:07:10 +01:00
  • 0d099a1fa6 Return version tags in directory listing cozis 2025-11-25 12:08:33 +01:00
  • afad13f44f Allow users of libtoastyfs to operate on files/directories with specific version tags cozis 2025-11-24 14:30:59 +01:00
  • 1281bf0822 Reject write operations with expect_gen=0 Claude 2025-11-24 12:46:27 +00:00
  • acb1336d47 Implement synchronization protocol from PROTOCOL.txt Claude 2025-11-24 12:16:55 +00:00
  • 49091aff6d Document communication between metadata server and clients in the misc/PROTOCOL.txt file and add generation counters for files cozis 2025-11-24 13:04:29 +01:00
  • 1c768bb8f1 Add logging to app.py cozis 2025-11-23 11:33:30 +01:00
  • 8e37bc674f Draft of app.py, a python script which synchronized local folders to ToastyFS through the web interface cozis 2025-11-23 11:21:34 +01:00
  • 70a3a91783 Change README.md to refer to the cluster demo script cozis 2025-11-23 09:53:36 +01:00
  • 3b0ef325fa Fix web server hanging issues Claudeandcozis 2025-11-23 08:26:42 +00:00
  • e99c574767 Add options --reuse-addr and --trace-bytes to toastyfs_web cozis 2025-11-23 09:08:45 +01:00
  • cc758a5d3a Add web server to cluster demo and fix port bug Claudeandcozis 2025-11-23 00:00:54 +00:00
  • b661f18214 Fix bug cozis 2025-11-23 00:55:07 +01:00
  • 0dbb5b1fc5 Add command-line arguments to toastyfs_web cozis 2025-11-23 00:46:27 +01:00
  • 7e63c211d3 Add cluster demo script for easy cluster management Claude 2025-11-22 23:16:50 +00:00
  • d7a2262172 Fix compilation errors of the web interface cozis 2025-11-22 23:42:08 +01:00
  • 7b0b1acf61 Fix file size tracking to use actual written bytes Claude 2025-11-22 22:33:15 +00:00
  • f856bd0e05 Track actual bytes read in read operations Claude 2025-11-22 22:22:43 +00:00
  • b930ba08e3 Add the ability to associate an opaque user pointer to a ToastyHandle which is then returned in its associated ToastyResult cozis 2025-11-22 23:09:31 +01:00
  • e1fa3729c6 Drop the MAX_CONNS macro and define TCP_CONNECTION_LIMIT, TCP_POLL_CAPACITY, TCP_EVENT_CAPACITY instead cozis 2025-11-22 22:59:32 +01:00
  • 582893be70 Add notes on the HTTP's interface semantics cozis 2025-11-22 13:13:10 +01:00
  • b2b1ed540b Update cHTTP and rewrite web/main.c cozis 2025-11-22 12:30:47 +01:00
  • 747f851155 Draft of the REST server client using cHTTP cozis 2025-11-20 10:50:55 +01:00
  • b0313ffcf8 Make toasty client thread-safe and implement toasty_wakeup cozis 2025-11-20 03:34:05 +01:00
  • 9b40edb56c Minor change to README.md code snippet cozis 2025-11-18 18:57:39 +01:00
  • 8c98835364 Add entries to TODO.txt cozis 2025-11-17 23:33:25 +01:00
  • 9d0a8e7de5 Bug fix cozis 2025-11-17 23:30:50 +01:00
  • 2a2537b382 Merge pull request #15 from cozis/metadata-server-WAL Francesco CozzutoandGitHub 2025-11-17 23:19:16 +01:00
  • c83b56ad90 Bug fix cozis 2025-11-17 23:18:10 +01:00
  • 690a950e71 Bug fixes cozis 2025-11-17 23:07:50 +01:00
  • dabd337bb8 Use mock versions of lseek and SetFilePointer in file_system.c cozis 2025-11-17 22:49:41 +01:00
  • dd74106935 Ignore .wal and .tmp files cozis 2025-11-17 22:49:20 +01:00
  • a1c2e52ec1 Merge pull request #14 from cozis/claude/add-file-seek-mocks-01VBJ2woEagtYiZ4EXZj1ou1 Francesco CozzutoandGitHub 2025-11-17 22:46:04 +01:00
  • 2ab69e43fc Add mocks for lseek and SetFilePointer Claude 2025-11-17 21:44:39 +00:00
  • 94744ede6f Use mocked version of MoveFileExW in wal.c cozis 2025-11-17 22:34:38 +01:00
  • ba4936f565 Merge pull request #13 from cozis/claude/make-auth-system-018EC3ZfTMZUjJbR5SXo5J7K Francesco CozzutoandGitHub 2025-11-17 22:32:09 +01:00
  • 047203a745 Add MoveFileExW mock to system.h/.c Claude 2025-11-17 21:30:24 +00:00
  • 57ec853b4d Merge pull request #12 from cozis/claude/fix-wal-metadata-server-01Dva8AjnwAxq3JKaimzpRiY Francesco CozzutoandGitHub 2025-11-17 22:25:37 +01:00
  • e195c3b3b2 Fix critical data loss bug in Windows WAL rotation Claude 2025-11-17 21:17:11 +00:00
  • e8d1e059c3 Improve WAL robustness: fix lifetime issues and use dynamic allocation Claude 2025-11-17 21:12:33 +00:00
  • 52bc1ff450 Complete WAL implementation with file rotation Claude 2025-11-17 21:02:19 +00:00
  • fb28e94a83 Continued work on the WAL cozis 2025-11-17 21:52:44 +01:00
  • 6126a2e932 Draft of wal.c/.h cozis 2025-11-17 15:49:09 +01:00
  • eaa3f3a8a1 Implement FileTree serialization and deserialization routines cozis 2025-11-17 15:02:22 +01:00
  • fbcfd80f6d Add TODO.txt entry cozis 2025-11-17 13:08:14 +01:00
  • b7fc855a80 Move miscellaneous files to the misc folder cozis 2025-11-17 13:06:51 +01:00
  • cd865a5cdf Simplify Features bullet points to make them easier to read cozis 2025-11-17 13:04:56 +01:00
  • ec159a2c6a Minor reorganization of test in the README.md cozis 2025-11-17 13:03:01 +01:00
  • 04a706dad9 Add code snippet to README.md cozis 2025-11-17 12:57:46 +01:00
  • bc0a95a9a5 Turn TODO.txt in a list of checkboxes cozis 2025-11-17 12:54:06 +01:00
  • 4accabc4e2 Add Features paragraph to README.md cozis 2025-11-17 12:48:52 +01:00
  • 09f1ed4b3e Reorganize types in ToastyFS.h by placing them near function interfaces that reference them cozis 2025-11-17 11:50:22 +01:00
  • 3fc1e12623 Modify Makefile clean rule to remove compilation artifacts by their extension (.exe, .out, ...), not their full name cozis 2025-11-17 11:46:23 +01:00
  • 46db334a2e Resolve compilation errors and implement blocking API cozis 2025-11-17 11:32:09 +01:00
  • ee05547981 Fix compilation errors cozis 2025-11-16 16:16:54 +01:00
  • c6cac0155e Change client.c to match the new ToastyFS.h API cozis 2025-11-16 16:07:03 +01:00
  • b591408cc9 Fix some build errors cozis 2025-11-16 13:01:08 +01:00
  • f7dc52ae8f Add example of the blocking API cozis 2025-11-16 12:21:31 +01:00
  • 58d2d7def3 Polish API in ToastyFS.h cozis 2025-11-16 11:59:58 +01:00
  • 914419df6d Add timeout logic to toastyfs_wait cozis 2025-11-16 11:59:39 +01:00
  • 91a2395448 Add README cozis 2025-11-16 02:18:25 +01:00
  • e1cdc28d4d Rename project to ToastyFS cozis 2025-11-16 02:10:59 +01:00
  • a4a37b7a36 Minor fixes cozis 2025-11-16 01:18:05 +01:00
  • 7af1bc27b5 Fix value of CHUNK_SERVER_RECONNECT_TIME by expressing it in seconds, also change it to a runtime-modifiable value cozis 2025-11-15 12:10:26 +01:00
  • 11054cae86 Add new chunk hashes to the cs_add_list when creating or updating them in the chunk server cozis 2025-11-15 10:55:11 +01:00
  • a366b46398 Bug fixes cozis 2025-11-15 10:38:45 +01:00
  • a11740ab41 Fix uninitialized BinaryReader struct when parsing auth response message cozis 2025-11-14 21:14:33 +01:00
  • bbae5fdb7f Fix compilation errors cozis 2025-11-14 21:06:38 +01:00
  • 3df1745d69 Add comments cozis 2025-11-14 12:07:26 +01:00
  • 2bbe1ac0e8 Clean up download logic for missing/lost chunks cozis 2025-11-14 11:56:29 +01:00
  • 787807031b Merge pull request #11 from cozis/improve-chunk-management-policy Francesco CozzutoandGitHub 2025-11-14 01:17:57 +01:00
  • 9a944feb01 Rewrote simulation scheduler and fixed some bugs cozis 2025-11-14 01:16:48 +01:00
  • 3a2173c154 Minor bug fixes cozis 2025-11-13 23:37:42 +01:00
  • 3048f3d66b Bug fixes cozis 2025-11-13 23:02:25 +01:00
  • de3391c34a Merge pull request #10 from cozis/claude/measure-branch-coverage-0168rdcTg6viLER3ufRwoAye Francesco CozzutoandGitHub 2025-11-13 21:53:39 +01:00
  • d4ecf6db17 Replace custom HTML generation with lcov/genhtml Claude 2025-11-13 20:41:28 +00:00
  • abaa12c5b3 Remove all CSS styling from HTML reports, use browser defaults Claude 2025-11-13 20:26:20 +00:00
  • b6b926a659 Simplify HTML coverage report styling to use minimal default styles Claude 2025-11-13 20:24:04 +00:00
  • 4c0b3429f0 Add .gitattributes to enforce LF line endings for shell scripts Claude 2025-11-13 20:07:57 +00:00
  • d288b2896f Move coverage scripts to scripts/ directory and add Makefile targets Claude 2025-11-13 19:58:14 +00:00
  • b465d5282e Add HTML coverage reports with branch-level detail Claude 2025-11-13 19:55:08 +00:00
  • 4b97b176bd Add branch coverage measurement for random simulation Claude 2025-11-13 19:35:06 +00:00
  • 7b01ac6384 Fix compilation errors cozis 2025-11-13 20:21:26 +01:00
  • cdce267768 Update DESIGN.txt and code accordingly cozis 2025-11-13 17:27:00 +01:00
  • facd220c59 Fix corner case in DESIGN.txt cozis 2025-11-13 12:18:34 +01:00
  • 4ec47e66b4 Clean up chunk management section of DESIGN.txt cozis 2025-11-13 12:09:29 +01:00
  • 14cd2f1ac6 Fix compilation issues Claude 2025-11-13 00:47:56 +00:00