summaryrefslogtreecommitdiff
path: root/src/web_service/telemetry_json.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-07-27chore: make yuzu REUSE compliantGravatar Andrea Pappacoda1-3/+2
[REUSE] is a specification that aims at making file copyright information consistent, so that it can be both human and machine readable. It basically requires that all files have a header containing copyright and licensing information. When this isn't possible, like when dealing with binary assets, generated files or embedded third-party dependencies, it is permitted to insert copyright information in the `.reuse/dep5` file. Oh, and it also requires that all the licenses used in the project are present in the `LICENSES` folder, that's why the diff is so huge. This can be done automatically with `reuse download --all`. The `reuse` tool also contains a handy subcommand that analyzes the project and tells whether or not the project is (still) compliant, `reuse lint`. Following REUSE has a few advantages over the current approach: - Copyright information is easy to access for users / downstream - Files like `dist/license.md` do not need to exist anymore, as `.reuse/dep5` is used instead - `reuse lint` makes it easy to ensure that copyright information of files like binary assets / images is always accurate and up to date To add copyright information of files that didn't have it I looked up who committed what and when, for each file. As yuzu contributors do not have to sign a CLA or similar I couldn't assume that copyright ownership was of the "yuzu Emulator Project", so I used the name and/or email of the commit author instead. [REUSE]: https://reuse.software Follow-up to 01cf05bc75b1e47beb08937439f3ed9339e7b254
2022-06-13web_service: Eliminate variable shadowingGravatar Morph1-2/+2
2020-08-22web_service: Move web_result.h into web_serviceGravatar Lioncash1-2/+2
This is the only place it's actively used. It's also more appropriate for web-related structures to be within the web service target. Especially given this one doesn't rely on anything in the common library.
2020-08-18common/telemetry: Migrate namespace into the Common namespaceGravatar Lioncash1-0/+2
Migrates the Telemetry namespace into the Common namespace to make the code consistent with the rest of our common code.
2020-05-08Replace externals with Conan (#3735)Gravatar James Rowe1-1/+1
* Remove git submodules that will be loaded through conan * Move custom Find modules to their own folder * Use conan for downloading missing external dependencies * CI: Change the yuzu source folder user to the user that the containers run on * Attempt to remove dirty mingw build hack * Install conan on the msvc build * Only set release build type when using not using multi config generator * Re-add qt bundled to workaround an issue with conan qt not downloading prebuilt binaries * Add workaround for submodules that use legacy CMAKE variables * Re-add USE_BUNDLED_QT on the msvc build bot
2020-01-29web_service/telemetry_json: Report USER_CONFIGGravatar ReinUsesLisp1-0/+1
2018-10-28compatdb: Use a seperate endpoint for testcase submissionGravatar fearlessTobi1-5/+16
2018-10-10web_backend: Make Client use the PImpl idiomGravatar Lioncash1-0/+1
Like with TelemetryJson, we can make the implementation details private and avoid the need to expose httplib to external libraries that need to use the Client class.
2018-10-10telemetry_json: Use the PImpl idiom to avoid unnecessary dependency exposureGravatar Lioncash1-33/+53
Users of the web_service library shouldn't need to care about an external library like json.h. However, given it's exposed in our interface, this requires that other libraries publicly link in the JSON library. We can do better. By using the PImpl idiom, we can hide this dependency in the cpp file and remove the need to link that library in altogether.
2018-10-10telemetry_json: Take std::string parameters by valueGravatar Lioncash1-2/+1
Taking them by const reference isn't advisable here, because it means the std::move calls were doing nothing and we were always copying the std::string instances.
2018-10-10telemetry_json: Remove unnecessary includesGravatar Lioncash1-2/+0
Removes unused includes. Also rectifies a missing <chrono> include.
2018-10-02Address a bunch of review commentsGravatar fearlessTobi1-0/+5
2018-10-02Port web_service from CitraGravatar fearlessTobi1-0/+94
2018-01-12Massive removal of unused modulesGravatar James Rowe1-86/+0
2017-08-25web_services: Refactor to remove dependency on Core.Gravatar bunnei1-2/+1
2017-07-11telemetry_session: Use TelemetryJson to submit real telemetry.Gravatar bunnei1-2/+0
2017-07-11web_service: Implement JSON serialization of telemetry data.Gravatar bunnei1-0/+80
2017-07-10web_service: Add skeleton project.Gravatar bunnei1-0/+9