Commit graph

12 commits

Author SHA1 Message Date
3c874d0218 Updated SammiClient
Updated API per suggestion of ImamuraCross on SAMMI Community discord.
Added Timeout check when attempting to connect.
Added Queue for requests when a request is in the process of running.
2025-05-07 20:14:44 -05:00
d23ac2f7c5 Updated Password Fields
Made Passwords secret fields.  Hover still exposes password.
2025-04-30 18:17:48 -05:00
16fcd30a6a Updated SammiAPI
Updated get_deck_status() to properly return true or false if the deck is 1 or 0 for return
Updated modify_button() to be a variant, be it an int, color, or string to be passed for color.
2025-04-30 16:51:15 -05:00
90e9f1f496 Updated SammiApi
Made Button ID optional in insert_array() and delete_array()
Fixed dictionary to use index, instead of position for the name of the field for insert_array() and delete_array()
2025-04-30 16:10:03 -05:00
4f949a7239 Updated SammiClient
Fixed missing method being not set.
Removed State.CLOSED check to disconnect and null the client variable
Moved request_completed signal emit to after we clear headers, buffer disconnect client connection, and null out client variable.
2025-04-30 16:05:10 -05:00
9457488fa7 Updated Sammi API
Fixed delete_variable(), made button_id optional.  Fixed incorrect api_path string.
2025-04-30 16:04:07 -05:00
25296ae38d Updated SammiApi
Fixed deck_id and button_id to be deckID and buttonID
Updated set_variable() to make button_id optional.
Fixed contains() to be has() for Dictionary.
2025-04-30 15:40:09 -05:00
fee6e0faf8 Updated SammiClient
Fixed indentation for getting Body of HTTP response.  Should be outside if statement.
2025-04-30 15:27:28 -05:00
9315f7bce5 Updated SammiClient
Missed 1 get_tree().process_frame await.
2025-04-30 15:10:04 -05:00
482ae21121 Updated SammiClient
Removed await get_tree().process_frame from tight loop
2025-04-30 15:01:38 -05:00
d6e60ff204 Fixed stuff
Fixed tabs in both files
Fixed SammiClient to be added to the tree, so that events can process.
2025-04-30 14:56:40 -05:00
759a19fcf1 Created Sammi API Plugin
Created code for Sammi API plugin
2025-04-30 14:38:41 -05:00