summaryrefslogtreecommitdiff
path: root/src/web_service (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Replace externals with Conan (#3735)Gravatar James Rowe2020-05-083-3/+3
| | | | | | | | | | | | | | | | | | | | | * 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
* Merge pull request #3673 from lioncash/extraGravatar bunnei2020-04-161-7/+7
|\ | | | | CMakeLists: Specify -Wextra on linux builds
| * CMakeLists: Specify -Wextra on linux buildsGravatar Lioncash2020-04-151-7/+7
| | | | | | | | | | | | | | | | | | | | | | Allows reporting more cases where logic errors may exist, such as implicit fallthrough cases, etc. We currently ignore unused parameters, since we currently have many cases where this is intentional (virtual interfaces). While we're at it, we can also tidy up any existing code that causes warnings. This also uncovered a few bugs as well.
* | externals: Move LibreSSL linking to httplib.Gravatar Markus Wick2020-04-161-6/+1
|/ | | | | | Neither core nor web_services use OpenSSL nor LibreSSL. However they need to link them as it's a requirement of httplib. So let's declare this within httplib instead of core and web_services.
* httplib compatibilityGravatar Brian Clinkenbeard2020-02-181-4/+3
|
* web_service/telemetry_json: Report USER_CONFIGGravatar ReinUsesLisp2020-01-291-0/+1
|
* web-service: Port citra's updated web_backend code.Gravatar bunnei2019-11-092-18/+57
|
* general: Use deducation guides for std::lock_guard and std::unique_lockGravatar Lioncash2019-04-011-2/+2
| | | | | | | Since C++17, the introduction of deduction guides for locking facilities means that we no longer need to hardcode the mutex type into the locks themselves, making it easier to switch mutex types, should it ever be necessary in the future.
* web_service: Remove unnecessary inclusionsGravatar Lioncash2019-03-022-3/+0
| | | | | | | Reduces the potential amount of rebuilding necessary if any headers change. In particular, we were including a header from the core library when we don't even link the core library to the web_service library, so this also gets rid of an indirect dependency.
* compatdb: Use a seperate endpoint for testcase submissionGravatar fearlessTobi2018-10-282-5/+17
|
* Merge pull request #1542 from lioncash/projectGravatar bunnei2018-10-231-1/+1
|\ | | | | CMakeLists: Use PROJECT_SOURCE_DIR instead of CMAKE_SOURCE_DIR
| * CMakeLists: Use PROJECT_SOURCE_DIR instead of CMAKE_SOURCE_DIRGravatar Lioncash2018-10-201-1/+1
| | | | | | | | | | | | | | | | | | This is more localized to what we want to enforce directory-wise with the project. CMAKE_SOURCE_DIR indicates the root of the source tree, but this would cause the wrong behavior if someone included yuzu as part of a larger buildsystem (for whatever reason). Instead, we want to use the directory where the "project(yuzu)" command was declared as the root path reference.
* | web_service/CMakeLists: Make the CPPHTTPLIB_OPENSSL_SUPPORT constrained to ↵Gravatar Lioncash2018-10-201-1/+1
|/ | | | | | | | the web_service library only Given we link in httplib privately, we can also make the definition enabling OpenSSL support private as well. Prevents leaking a definition into other libraries that link with this one, like the core library.
* web_backend: Make Client use the PImpl idiomGravatar Lioncash2018-10-104-142/+153
| | | | | | 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.
* telemetry_json: Use the PImpl idiom to avoid unnecessary dependency exposureGravatar Lioncash2018-10-102-49/+55
| | | | | | | | | | 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.
* telemetry_json: Add missing override specifier to the destructor of ↵Gravatar Lioncash2018-10-101-1/+1
| | | | TelemetryJson
* telemetry_json: Take std::string parameters by valueGravatar Lioncash2018-10-102-3/+2
| | | | | | 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.
* telemetry_json: Remove unnecessary includesGravatar Lioncash2018-10-102-3/+1
| | | | Removes unused includes. Also rectifies a missing <chrono> include.
* Review comments - part 5Gravatar fearlessTobi2018-10-021-2/+2
|
* Review comments -part 4Gravatar fearlessTobi2018-10-021-2/+2
|
* Review comments - part 3Gravatar fearlessTobi2018-10-023-20/+2
|
* web_backend: protect jwt cache with a mutexGravatar Weiyi Wang2018-10-022-1/+4
|
* Address a bunch of review commentsGravatar fearlessTobi2018-10-023-7/+11
|
* Port web_service from CitraGravatar fearlessTobi2018-10-028-0/+474
|
* Massive removal of unused modulesGravatar James Rowe2018-01-127-392/+0
|
* WebService: Verify username and token (#2930)Gravatar B3n302017-09-185-12/+159
| | | | | | | | | | * WebService: Verify username and token; Log errors in PostJson * Fixup: added docstrings to the functions * Webservice: Added Icons to the verification, imrpved error detection in cpr, fixup nits * fixup: fmt warning
* web_backend: Fix CPR bug where Winsock is not properly initializing.Gravatar bunnei2017-08-261-15/+27
|
* web_backend: Fix asynchronous JSON post by spawning new thread.Gravatar bunnei2017-08-251-9/+18
|
* web_services: Refactor to remove dependency on Core.Gravatar bunnei2017-08-254-19/+28
|
* web_backend: User config for username and token, support anonymous post.Gravatar bunnei2017-08-252-40/+17
|
* web_backend: Specify api-version on JSON post.Gravatar bunnei2017-07-111-1/+3
|
* telemetry_session: Use TelemetryJson to submit real telemetry.Gravatar bunnei2017-07-112-3/+1
|
* web_service: Implement JSON serialization of telemetry data.Gravatar bunnei2017-07-112-0/+125
|
* web_backend: Add initial interface to POST data to Citra Web Services.Gravatar bunnei2017-07-112-0/+63
|
* web_service: Add skeleton project.Gravatar bunnei2017-07-105-0/+50