Audacity 3.2.0
|
Namespaces | |
namespace | anonymous_namespace{AuthorizationHandler.cpp} |
namespace | anonymous_namespace{CloudSyncService.cpp} |
namespace | anonymous_namespace{NetworkUtils.cpp} |
namespace | anonymous_namespace{OAuthService.cpp} |
namespace | anonymous_namespace{ServiceConfig.cpp} |
namespace | anonymous_namespace{ShareAudioDialog.cpp} |
namespace | anonymous_namespace{UploadService.cpp} |
namespace | anonymous_namespace{UserPanel.cpp} |
namespace | anonymous_namespace{UserService.cpp} |
namespace | sync |
Classes | |
class | AuthorizationHandler |
struct | AuthResult |
struct | AuthStateChangedMessage |
Message that is sent when authorization state changes. More... | |
class | CloudSyncService |
class | LinkFailedDialog |
class | LinkSucceededDialog |
class | LinkWithTokenDialog |
class | OAuthService |
Service responsible for OAuth authentication against the audio.com service. More... | |
struct | ResponseResult |
class | ServiceConfig |
Configuration for the audio.com. More... | |
class | ShareAudioDialog |
struct | TransferStats |
struct | UploadFailedPayload |
This structure represents an upload error as returned by the server. More... | |
class | UploadOperation |
Class used to track the upload operation. More... | |
struct | UploadOperationCompleted |
class | UploadOperationHandle |
A unique_ptr like class that holds a pointer to UploadOperation. More... | |
class | UploadService |
Service, responsible for uploading audio files to audio.com. More... | |
struct | UploadSuccessfulPayload |
This structure represents the payload associated with successful upload. More... | |
struct | UserDataChanged |
class | UserImage |
class | UserPanel |
struct | UserPanelStateChangedMessage |
class | UserService |
Service for providing information about the user profile. More... | |
Enumerations | |
enum class | SyncResultCode { Success , Cancelled , Expired , Conflict , ConnectionFailed , PaymentRequired , TooLarge , Unauthorized , Forbidden , NotFound , UnexpectedResponse , InternalClientError , InternalServerError , SyncImpossible , UnknownError } |
Functions | |
ResponseResult | GetResponseResult (IResponse &response, bool readBody) |
void | SetCommonHeaders (Request &request) |
bool | IsUploadRecoverable (SyncResultCode code) |
OAuthService & | GetOAuthService () |
Returns the instance of the OAuthService. More... | |
const ServiceConfig & | GetServiceConfig () |
Returns the instance of the ServiceConfig. More... | |
wxString | GetUploadTempPath () |
UserService & | GetUserService () |
AuthorizationHandler & | GetAuthorizationHandler () |
AuthResult | PerformBlockingAuth (AudacityProject *project, AudiocomTrace trace, const TranslatableString &alternativeActionLabel) |
Variables | |
StringSetting | CloudProjectsSavePath |
IntSetting | DaysToKeepFiles |
Audacity: A Digital Audio Editor
Dmitry Vedenko
Audacity: A Digital Audio Editor
Dmitry Vedenko
Audacity: A Digital Audio Editor
Dmitry Vedenko
Audacity: A Digital Audio Editor
Dmitry Vedenko
Audacity: A Digital Audio Editor
Dmitry Vedenko
Audacity: A Digital Audio Editor
Dmitry Vedenko
Audacity: A Digital Audio Editor
Dmitry Vedenko
Audacity: A Digital Audio Editor
Dmitry Vedenko
Audacity: A Digital Audio Editor
Dmitry Vedenko
Audacity: A Digital Audio Editor
Dmitry Vedenko
Audacity: A Digital Audio Editor
Dmitry Vedenko
Audacity: A Digital Audio Editor
Dmitry Vedenko
Audacity: A Digital Audio Editor
Dmitry Vedenko
Audacity: A Digital Audio Editor
Dmitry Vedenko
Audacity: A Digital Audio Editor
Dmitry Vedenko
Audacity: A Digital Audio Editor
Dmitry Vedenko
Audacity: A Digital Audio Editor
Dmitry Vedenko
Audacity: A Digital Audio Editor
Dmitry Vedenko
Audacity: A Digital Audio Editor
Dmitry Vedenko
|
strong |
Definition at line 42 of file NetworkUtils.h.
AuthorizationHandler & audacity::cloud::audiocom::GetAuthorizationHandler | ( | ) |
Definition at line 74 of file AuthorizationHandler.cpp.
References audacity::cloud::audiocom::anonymous_namespace{AuthorizationHandler.cpp}::handler.
Referenced by audacity::cloud::audiocom::sync::CloudProjectPropertiesDialog::CloudProjectPropertiesDialog(), PerformBlockingAuth(), audacity::cloud::audiocom::sync::CloudProjectPropertiesDialog::~CloudProjectPropertiesDialog(), audacity::cloud::audiocom::LinkWithTokenDialog::~LinkWithTokenDialog(), and audacity::cloud::audiocom::ShareAudioDialog::~ShareAudioDialog().
CLOUD_AUDIOCOM_API OAuthService & audacity::cloud::audiocom::GetOAuthService | ( | ) |
Returns the instance of the OAuthService.
Definition at line 569 of file OAuthService.cpp.
Referenced by LoginDialog::ContinueCreateAccount(), LoginDialog::ContinueSignIn(), audacity::cloud::audiocom::sync::ProjectCloudExtension::GetCloudProjectPage(), audacity::cloud::audiocom::CloudSyncService::GetHeadSnapshotID(), audacity::cloud::audiocom::CloudSyncService::GetProjects(), audacity::cloud::audiocom::sync::ProjectsListDialog::ProjectsTableData::GetSelectedProjectUrl(), LoginDialog::LoginDialog(), audacity::cloud::audiocom::sync::ProjectCloudUIExtension::OnCloudStatusChanged(), audacity::cloud::audiocom::LinkWithTokenDialog::OnContinue(), audacity::cloud::audiocom::UserPanel::OnLinkButtonPressed(), anonymous_namespace{CloudProjectFileIOExtensions.cpp}::IOExtension::OnSave(), audacity::cloud::audiocom::anonymous_namespace{OAuthService.cpp}::OAuthServiceSettingsResetHandler::OnSettingResetEnd(), audacity::cloud::audiocom::CloudSyncService::OpenFromCloud(), PerformBlockingAuth(), anonymous_namespace{CloudProjectFileIOExtensions.cpp}::IOExtension::PerformCloudSave(), audacity::cloud::audiocom::ShareAudioDialog::InitialStatePanel::PopulateInitialStatePanel(), anonymous_namespace{AudioComPrefsPanel.cpp}::AudioComPrefsPanel::PopulateOrExchange(), SetCommonHeaders(), audacity::cloud::audiocom::sync::CloudProjectPropertiesDialog::SetupEvents(), audacity::cloud::audiocom::CloudSyncService::SyncProject(), audacity::cloud::audiocom::UserService::UpdateUserData(), audacity::cloud::audiocom::UserPanel::UpdateUserData(), and audacity::cloud::audiocom::anonymous_namespace{AuthorizationHandler.cpp}::WaitForAuth().
ResponseResult audacity::cloud::audiocom::GetResponseResult | ( | IResponse & | response, |
bool | readBody | ||
) |
Definition at line 86 of file NetworkUtils.cpp.
References audacity::network_manager::IResponse::getError(), audacity::network_manager::IResponse::getErrorString(), audacity::network_manager::IResponse::getHTTPCode(), audacity::cloud::audiocom::anonymous_namespace{NetworkUtils.cpp}::GuessResultCode(), audacity::network_manager::IResponse::readAll(), and Success.
Referenced by audacity::cloud::audiocom::sync::DataUploader::UploadOperation::ConfirmUpload(), audacity::cloud::audiocom::sync::RemoteProjectSnapshot::DownloadBlob(), audacity::cloud::audiocom::sync::DataUploader::UploadOperation::FailUpload(), audacity::cloud::audiocom::CloudSyncService::GetProjects(), audacity::cloud::audiocom::anonymous_namespace{CloudSyncService.cpp}::PerformProjectGetRequest(), and audacity::cloud::audiocom::sync::DataUploader::UploadOperation::PerformUpload().
CLOUD_AUDIOCOM_API const ServiceConfig & audacity::cloud::audiocom::GetServiceConfig | ( | ) |
Returns the instance of the ServiceConfig.
Definition at line 382 of file ServiceConfig.cpp.
Referenced by audacity::cloud::audiocom::OAuthService::Authorize(), audacity::cloud::audiocom::sync::MixdownUploader::ExportProject(), audacity::cloud::audiocom::ShareAudioDialog::ExportProject(), audacity::cloud::audiocom::sync::ProjectCloudExtension::GetCloudProjectPage(), audacity::cloud::audiocom::CloudSyncService::GetHeadSnapshotID(), audacity::cloud::audiocom::CloudSyncService::GetProjects(), audacity::cloud::audiocom::sync::ProjectsListDialog::ProjectsTableData::GetSelectedProjectUrl(), audacity::cloud::audiocom::anonymous_namespace{UploadService.cpp}::GetUploadRequestPayload(), audacity::cloud::audiocom::OAuthService::HandleLinkURI(), audacity::cloud::audiocom::OAuthService::MakeAudioComAuthorizeURL(), audacity::cloud::audiocom::OAuthService::MakeOAuthRequestURL(), audacity::cloud::audiocom::sync::ProjectCloudUIExtension::OnCloudStatusChanged(), anonymous_namespace{CloudProjectFileIOExtensions.cpp}::IOExtension::OnSave(), audacity::cloud::audiocom::CloudSyncService::OpenFromCloud(), anonymous_namespace{CloudProjectFileIOExtensions.cpp}::IOExtension::PerformCloudSave(), audacity::cloud::audiocom::ShareAudioDialog::InitialStatePanel::PopulateInitialStatePanel(), anonymous_namespace{AudioComPrefsPanel.cpp}::AudioComPrefsPanel::PopulateOrExchange(), audacity::cloud::audiocom::sync::anonymous_namespace{ResumedSnaphotUploadOperation.cpp}::ResumedSnaphotUploadOperation::RefreshUrls(), audacity::cloud::audiocom::OAuthService::Register(), audacity::cloud::audiocom::CloudSyncService::ReportUploadStats(), SetCommonHeaders(), audacity::cloud::audiocom::CloudSyncService::SyncProject(), audacity::cloud::audiocom::UserService::UpdateUserData(), audacity::cloud::audiocom::sync::anonymous_namespace{ResumedSnaphotUploadOperation.cpp}::ResumedSnaphotUploadOperation::UploadBlocks(), audacity::cloud::audiocom::sync::UploadMixdown(), audacity::cloud::audiocom::sync::anonymous_namespace{ResumedSnaphotUploadOperation.cpp}::ResumedSnaphotUploadOperation::UploadSnapshot(), audacity::cloud::audiocom::OAuthService::ValidateAuth(), and audacity::cloud::audiocom::anonymous_namespace{OAuthService.cpp}::WriteClientFields().
CLOUD_AUDIOCOM_API wxString audacity::cloud::audiocom::GetUploadTempPath | ( | ) |
Definition at line 628 of file UploadService.cpp.
References TempDirectory::DefaultTempDir(), FileNames::WritableLocationCheck(), and XO().
Referenced by audacity::cloud::audiocom::sync::anonymous_namespace{MixdownUploader.cpp}::GenerateTempPath(), and audacity::cloud::audiocom::anonymous_namespace{ShareAudioDialog.cpp}::GenerateTempPath().
CLOUD_AUDIOCOM_API UserService & audacity::cloud::audiocom::GetUserService | ( | ) |
Definition at line 145 of file UserService.cpp.
Referenced by audacity::cloud::audiocom::sync::ProjectCloudExtension::GetCloudProjectPage(), audacity::cloud::audiocom::sync::ProjectsListDialog::ProjectsTableData::GetSelectedProjectUrl(), audacity::cloud::audiocom::sync::ProjectCloudUIExtension::OnCloudStatusChanged(), anonymous_namespace{CloudProjectFileIOExtensions.cpp}::IOExtension::OnSave(), audacity::cloud::audiocom::ShareAudioDialog::InitialStatePanel::PopulateInitialStatePanel(), anonymous_namespace{AudioComPrefsPanel.cpp}::AudioComPrefsPanel::PopulateOrExchange(), and audacity::cloud::audiocom::UserPanel::UpdateUserData().
bool audacity::cloud::audiocom::IsUploadRecoverable | ( | SyncResultCode | code | ) |
Definition at line 117 of file NetworkUtils.cpp.
References Cancelled, ConnectionFailed, Forbidden, InternalClientError, InternalServerError, PaymentRequired, and Unauthorized.
Referenced by audacity::cloud::audiocom::sync::LocalProjectSnapshot::OnSnapshotCreated(), and audacity::cloud::audiocom::sync::anonymous_namespace{ResumedSnaphotUploadOperation.cpp}::ResumedSnaphotUploadOperation::UploadSnapshot().
AuthResult audacity::cloud::audiocom::PerformBlockingAuth | ( | AudacityProject * | project, |
AudiocomTrace | trace, | ||
const TranslatableString & | alternativeActionLabel | ||
) |
Definition at line 79 of file AuthorizationHandler.cpp.
References audacity::cloud::audiocom::AuthResult::Authorised, audacity::cloud::audiocom::AuthResult::Cancelled, audacity::cloud::audiocom::AuthResult::Failure, GetAuthorizationHandler(), GetOAuthService(), audacity::cloud::audiocom::AuthorizationHandler::PopSuppressDialogs(), project, audacity::cloud::audiocom::AuthorizationHandler::PushSuppressDialogs(), audacity::cloud::audiocom::AuthResult::UseAlternative, and audacity::cloud::audiocom::anonymous_namespace{AuthorizationHandler.cpp}::WaitForAuth().
Referenced by anonymous_namespace{CloudProjectFileIOExtensions.cpp}::IOExtension::OnLoad(), audacity::cloud::audiocom::sync::OpenProjectFromCloud(), audacity::cloud::audiocom::sync::ProjectsListDialog::ProjectsTableData::Refresh(), anonymous_namespace{CloudProjectFileIOExtensions.cpp}::IOExtension::SaveCloudProject(), and audacity::cloud::audiocom::sync::SyncCloudProject().
void audacity::cloud::audiocom::SetCommonHeaders | ( | Request & | request | ) |
Definition at line 102 of file NetworkUtils.cpp.
References audacity::network_manager::common_headers::AcceptLanguage, audacity::network_manager::common_headers::Authorization, audacity::cloud::audiocom::ServiceConfig::GetAcceptLanguageValue(), GetOAuthService(), GetServiceConfig(), and audacity::network_manager::Request::setHeader().
Referenced by audacity::cloud::audiocom::sync::LocalProjectSnapshot::DeleteSnapshot(), audacity::cloud::audiocom::CloudSyncService::GetProjects(), audacity::cloud::audiocom::sync::LocalProjectSnapshot::MarkSnapshotSynced(), audacity::cloud::audiocom::sync::anonymous_namespace{ResumedSnaphotUploadOperation.cpp}::ResumedSnaphotUploadOperation::MarkSnapshotSynced(), audacity::cloud::audiocom::anonymous_namespace{CloudSyncService.cpp}::PerformProjectGetRequest(), audacity::cloud::audiocom::sync::anonymous_namespace{ResumedSnaphotUploadOperation.cpp}::ResumedSnaphotUploadOperation::RefreshUrls(), and audacity::cloud::audiocom::CloudSyncService::ReportUploadStats().
CLOUD_AUDIOCOM_API StringSetting audacity::cloud::audiocom::CloudProjectsSavePath |
Definition at line 18 of file CloudLibrarySettings.cpp.
Referenced by anonymous_namespace{AudioComPrefsPanel.cpp}::AudioComPrefsPanel::Browse(), anonymous_namespace{AudioComPrefsPanel.cpp}::AudioComPrefsPanel::Commit(), anonymous_namespace{CloudProjectFileIOExtensions.cpp}::IOExtension::OnSave(), anonymous_namespace{AudioComPrefsPanel.cpp}::AudioComPrefsPanel::PopulateOrExchange(), and audacity::cloud::audiocom::CloudSyncService::SyncCloudSnapshot().
CLOUD_AUDIOCOM_API IntSetting audacity::cloud::audiocom::DaysToKeepFiles |
Definition at line 28 of file CloudLibrarySettings.cpp.
Referenced by anonymous_namespace{AudioComPrefsPanel.cpp}::AudioComPrefsPanel::Commit(), audacity::cloud::audiocom::sync::anonymous_namespace{CloudSyncHousekeeper.cpp}::Housekeeper::PerformHousekeeping(), and anonymous_namespace{AudioComPrefsPanel.cpp}::AudioComPrefsPanel::PopulateOrExchange().