spacebox/lib/sha/LICENSE
Cocktail Frank ac72b8cb84 Add function for sending play session data over HTTP
Add a function to the `sb:☁️:HTTP` class that sends session data
collected by a `sb::progress::Progress` object to a configured URL.

Add a PHP script for receiving the session data, intended to be
installed separately on a remote server.

Add a randomly generated ID when writing new save files. Do not
overwrite existing IDs, so the ID will persist for the life of the
file. Store the ID in the play session data.

Add a string identifying the program's build, either "windows",
"linux", "macos", "wasm", or "android".

Add function for accessing requests in the HTTP queue.

Add the `sb::math` namespace for functions in math.hpp.

Add open source SHA256 hash library to the project. Use the library to
hash the player's Steam username before saving it to the session data.

Add documentation for `sb:☁️:http::post_session` to README.

Add a function for getting a string representing the current date up to
the minute to `sb::time`. This function is used to store the start time
of the play session.

Add test of session transfer to HTTP test case.
2025-04-16 20:06:07 -04:00

22 lines
1.1 KiB
Plaintext

MIT License
Copyright (c) 2022 Filip Dobrosavljevic
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.