Commit Graph
100 Commits
Author SHA1 Message Date
cozis d2c5c42537 Update the synchronization app to periodically query the remote root directory listing 2025-12-05 09:44:42 +01:00
cozis 49cee347f5 Add the terminator "/" to directory names when returning directory listings from the web interface 2025-12-05 09:19:25 +01:00
cozis 1e2223aeb0 Fix bad usage of the toastyfs client API in the web interface GET handler 2025-12-05 09:10:25 +01:00
cozis acc9c097d3 Forward declare struct pollfd in ToastyFS.h to avoid including winsock2.h and poll.h 2025-12-05 09:10:25 +01:00
cozis e73bb3a7d8 Add crash logger 2025-12-04 12:25:19 +01:00
cozis 5c192a1e52 Fix wrong error code returned by file_tree_read 2025-12-03 21:15:54 +01:00
cozis a082f46b78 Update TODO.txt 2025-12-03 19:12:35 +01:00
cozis 6519b0c1bb Fix incorrect call to http_response_builder_body_cap in toastyfs_web 2025-12-03 18:01:39 +01:00
cozis 012b31df3a Fix compilation warnings 2025-12-03 00:03:44 +01:00
cozis b0b2d576cc Refactoring of toastyfs_web 2025-12-03 00:03:36 +01:00
cozis 09ec872591 Merge branch 'main' into synchronization_app 2025-12-02 12:21:39 +01:00
cozis f665dae9ed Update chttp.c/.h 2025-12-02 12:07:10 +01:00
cozis 0d099a1fa6 Return version tags in directory listing 2025-11-25 12:08:33 +01:00
cozis afad13f44f Allow users of libtoastyfs to operate on files/directories with specific version tags 2025-11-24 14:34:57 +01:00
cozis 49091aff6d Document communication between metadata server and clients in the misc/PROTOCOL.txt file and add generation counters for files 2025-11-24 13:04:29 +01:00
cozis 1c768bb8f1 Add logging to app.py 2025-11-23 11:33:30 +01:00
cozis 8e37bc674f Draft of app.py, a python script which synchronized local folders to ToastyFS through the web interface 2025-11-23 11:21:34 +01:00
cozis 70a3a91783 Change README.md to refer to the cluster demo script 2025-11-23 09:53:36 +01:00
cozis e99c574767 Add options --reuse-addr and --trace-bytes to toastyfs_web 2025-11-23 09:08:45 +01:00
cozis b661f18214 Fix bug 2025-11-23 00:55:07 +01:00
cozis 0dbb5b1fc5 Add command-line arguments to toastyfs_web 2025-11-23 00:46:27 +01:00
cozis d7a2262172 Fix compilation errors of the web interface 2025-11-22 23:59:08 +01:00
cozis b930ba08e3 Add the ability to associate an opaque user pointer to a ToastyHandle which is then returned in its associated ToastyResult 2025-11-22 23:09:31 +01:00
cozis e1fa3729c6 Drop the MAX_CONNS macro and define TCP_CONNECTION_LIMIT, TCP_POLL_CAPACITY, TCP_EVENT_CAPACITY instead 2025-11-22 22:59:32 +01:00
cozis 582893be70 Add notes on the HTTP's interface semantics 2025-11-22 13:13:10 +01:00
cozis b2b1ed540b Update cHTTP and rewrite web/main.c 2025-11-22 12:30:47 +01:00
cozis 747f851155 Draft of the REST server client using cHTTP 2025-11-20 10:50:55 +01:00
cozis b0313ffcf8 Make toasty client thread-safe and implement toasty_wakeup 2025-11-20 03:51:01 +01:00
cozis 9b40edb56c Minor change to README.md code snippet 2025-11-18 18:57:39 +01:00
cozis 8c98835364 Add entries to TODO.txt 2025-11-18 11:44:53 +01:00
cozis 9d0a8e7de5 Bug fix 2025-11-17 23:30:50 +01:00
cozis c83b56ad90 Bug fix 2025-11-17 23:18:10 +01:00
cozis 690a950e71 Bug fixes 2025-11-17 23:07:50 +01:00
cozis dabd337bb8 Use mock versions of lseek and SetFilePointer in file_system.c 2025-11-17 22:49:41 +01:00
cozis dd74106935 Ignore .wal and .tmp files 2025-11-17 22:49:20 +01:00
cozis 94744ede6f Use mocked version of MoveFileExW in wal.c 2025-11-17 22:34:38 +01:00
cozis fb28e94a83 Continued work on the WAL 2025-11-17 21:52:44 +01:00
cozis 6126a2e932 Draft of wal.c/.h 2025-11-17 15:49:09 +01:00
cozis eaa3f3a8a1 Implement FileTree serialization and deserialization routines 2025-11-17 15:02:22 +01:00
cozis fbcfd80f6d Add TODO.txt entry 2025-11-17 13:08:14 +01:00
cozis b7fc855a80 Move miscellaneous files to the misc folder 2025-11-17 13:06:51 +01:00
cozis cd865a5cdf Simplify Features bullet points to make them easier to read 2025-11-17 13:04:56 +01:00
cozis ec159a2c6a Minor reorganization of test in the README.md 2025-11-17 13:03:01 +01:00
cozis 04a706dad9 Add code snippet to README.md 2025-11-17 13:01:30 +01:00
cozis bc0a95a9a5 Turn TODO.txt in a list of checkboxes 2025-11-17 12:54:06 +01:00
cozis 4accabc4e2 Add Features paragraph to README.md 2025-11-17 12:48:52 +01:00
cozis 09f1ed4b3e Reorganize types in ToastyFS.h by placing them near function interfaces that reference them 2025-11-17 11:50:22 +01:00
cozis 3fc1e12623 Modify Makefile clean rule to remove compilation artifacts by their extension (.exe, .out, ...), not their full name 2025-11-17 11:46:23 +01:00
cozis 46db334a2e Resolve compilation errors and implement blocking API 2025-11-17 11:32:09 +01:00
cozis ee05547981 Fix compilation errors 2025-11-16 16:16:54 +01:00
cozis c6cac0155e Change client.c to match the new ToastyFS.h API 2025-11-16 16:07:03 +01:00
cozis b591408cc9 Fix some build errors 2025-11-16 13:01:08 +01:00
cozis f7dc52ae8f Add example of the blocking API 2025-11-16 12:21:31 +01:00
cozis 58d2d7def3 Polish API in ToastyFS.h 2025-11-16 11:59:58 +01:00
cozis 914419df6d Add timeout logic to toastyfs_wait 2025-11-16 11:59:39 +01:00
cozis 91a2395448 Add README 2025-11-16 02:21:37 +01:00
cozis e1cdc28d4d Rename project to ToastyFS 2025-11-16 02:10:59 +01:00
cozis a4a37b7a36 Minor fixes 2025-11-16 01:18:05 +01:00
cozis 7af1bc27b5 Fix value of CHUNK_SERVER_RECONNECT_TIME by expressing it in seconds, also change it to a runtime-modifiable value 2025-11-15 12:10:26 +01:00
cozis 11054cae86 Add new chunk hashes to the cs_add_list when creating or updating them in the chunk server 2025-11-15 10:55:11 +01:00
cozis a366b46398 Bug fixes 2025-11-15 10:38:45 +01:00
cozis a11740ab41 Fix uninitialized BinaryReader struct when parsing auth response message 2025-11-14 21:14:33 +01:00
cozis bbae5fdb7f Fix compilation errors 2025-11-14 21:06:38 +01:00
cozis 3df1745d69 Add comments 2025-11-14 12:07:32 +01:00
cozis 2bbe1ac0e8 Clean up download logic for missing/lost chunks 2025-11-14 11:56:29 +01:00
cozis 9a944feb01 Rewrote simulation scheduler and fixed some bugs 2025-11-14 01:16:48 +01:00
cozis 3a2173c154 Minor bug fixes 2025-11-13 23:37:42 +01:00
cozis 3048f3d66b Bug fixes 2025-11-13 23:02:25 +01:00
cozis 7b01ac6384 Fix compilation errors 2025-11-13 20:21:26 +01:00
cozis cdce267768 Update DESIGN.txt and code accordingly 2025-11-13 17:27:00 +01:00
cozis facd220c59 Fix corner case in DESIGN.txt 2025-11-13 12:18:34 +01:00
cozis 4ec47e66b4 Clean up chunk management section of DESIGN.txt 2025-11-13 12:09:29 +01:00
cozis 83c2ccb2ca Implement DirectoryScanner object 2025-11-13 01:35:15 +01:00
cozis 88189c6693 Draft of the chunk server endpoint that returns the list of all chunks 2025-11-13 01:09:01 +01:00
cozis e4c5390ca7 Implement CHUNK_LIST endpoints on the metadata server 2025-11-13 00:43:18 +01:00
cozis 7012f582d2 Add chunk management notes to DESIGN.txt 2025-11-12 12:13:52 +01:00
cozis d598ccedb2 Use a default timeout of -1 when metadata_server_step and chunk_server_step don't set an explicit one 2025-11-11 11:38:00 +01:00
cozis 641c1999ad Add notes on the chunk management strategy to DESIGN.txt 2025-11-11 10:48:23 +01:00
cozis 012dc6bdb3 Add TODO.txt entry for logging 2025-11-10 23:19:12 +01:00
cozis 9a3a874514 Implement DOWNLOAD_LOCATIONS message in metadata server 2025-11-10 22:48:41 +01:00
cozis 8d169bc107 Modify Makefile to remove object files on clean 2025-11-10 20:21:54 +01:00
cozis 67f0cad0b8 Changes to Makefile 2025-11-10 19:30:07 +01:00
cozis debbd08ce6 Add TODO.txt entry 2025-11-10 18:51:12 +01:00
cozis d25d79c1f1 Clean up state update logic in chunk server 2025-11-10 18:36:11 +01:00
cozis 81ecbf3a80 Remove outdated code 2025-11-10 17:48:43 +01:00
cozis 50dd662057 Add asserts 2025-11-10 17:24:15 +01:00
cozis 8ea71ac236 Fix bug in client 2025-11-10 16:03:16 +01:00
cozis 6a608051d6 Clean up timeout code in metadata server 2025-11-10 15:07:38 +01:00
cozis 1d3ce1247e Add DESIGN.txt 2025-11-10 13:36:28 +01:00
cozis 747ab5aaea Remove old TODO comment 2025-11-10 13:27:51 +01:00
cozis 9ea4ee5223 Remove solved TODO from TODO.txt and fix a bug in file_tree_read 2025-11-10 12:51:12 +01:00
cozis 9cdf636eb6 Bug fix 2025-11-10 12:41:18 +01:00
cozis 36925309da Bug fix 2025-11-10 12:26:25 +01:00
cozis 62d7439ddd Set sockets as non-blocking and fix chunk server timeout 2025-11-09 21:30:22 +01:00
cozis bab8558511 Progress 2025-11-09 20:36:08 +01:00
cozis d13ad3ae6c Progress 2025-11-09 19:43:24 +01:00
cozis ecef79cc53 Progress 2025-11-09 19:06:23 +01:00
cozis bf1a18b9d0 Progress 2025-11-09 18:19:17 +01:00
cozis 753aba9e63 Progress 2025-11-09 17:39:53 +01:00
cozis 5f018c18b4 Progress 2025-11-09 16:49:15 +01:00