Added support for Meala remote log database#23
Open
phinchey wants to merge 2 commits intoARK-Electronics:mainfrom
Open
Added support for Meala remote log database#23phinchey wants to merge 2 commits intoARK-Electronics:mainfrom
phinchey wants to merge 2 commits intoARK-Electronics:mainfrom
Conversation
dakejahl
reviewed
Aug 25, 2025
Collaborator
dakejahl
left a comment
There was a problem hiding this comment.
Thanks for the contribution! Can you update the PR description to include a link to the docs/website for Meala? What level of testing has been done? Can you update the README and add a table to indicate the supported backends?
| #include <vector> | ||
| #include <sqlite3.h> | ||
| #include <mavsdk/plugins/log_files/log_files.h> | ||
| #include <optional> |
| MealaCredentials _creds; | ||
| std::string _session_cookie; | ||
| bool _logged_in = false; | ||
| }; No newline at end of file |
Collaborator
There was a problem hiding this comment.
Please put this class declaration and MealaCredentials struct in a separate header
| #include <functional> | ||
| #define CPPHTTPLIB_OPENSSL_SUPPORT | ||
| #include <httplib.h> | ||
| #include <vector> |
| .public_logs = true, // Public required true for searching using Web UI | ||
| .upload_service = UploadService::FlightReview, // Local server is always FlightReview, | ||
| .credentials_file = "" // FlightReview does not need credentials | ||
|
|
| #include <future> | ||
| #include <regex> | ||
| #include <fstream> | ||
| #include "ServerInterface.hpp" |
Collaborator
There was a problem hiding this comment.
Suggested change
| #include "ServerInterface.hpp" |
already in the hpp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added support to choose FlightReview or Meala as a remote log database.
FlightReview is the default remote upload service. To use Meala, the following configuration settings are used:
Upload service = 1
Remote server = http://www.apisdynamics.ca
Credentials file = /home/jetson//.local/share/logloader/meala_creds.cert (or any other prefered location)
You need to sign up for Meala and download a credential certificate to use.