Changeset 2920504
- Timestamp:
- 06/02/2023 08:24:00 AM (3 years ago)
- Location:
- appful-app
- Files:
-
- 3 edited
- 71 copied
-
tags/3.1.1 (copied) (copied from appful-app/trunk)
-
tags/3.1.1/appful-app.php (copied) (copied from appful-app/trunk/appful-app.php) (1 diff)
-
tags/3.1.1/appful.log (copied) (copied from appful-app/trunk/appful.log)
-
tags/3.1.1/frontend/scripts/user.js (copied) (copied from appful-app/trunk/frontend/scripts/user.js)
-
tags/3.1.1/frontend/templates/appful_menu_page.html.twig (copied) (copied from appful-app/trunk/frontend/templates/appful_menu_page.html.twig)
-
tags/3.1.1/includes/api/Api.php (copied) (copied from appful-app/trunk/includes/api/Api.php)
-
tags/3.1.1/includes/api/Endpoints.php (copied) (copied from appful-app/trunk/includes/api/Endpoints.php)
-
tags/3.1.1/includes/api/ReqHandler.php (copied) (copied from appful-app/trunk/includes/api/ReqHandler.php)
-
tags/3.1.1/includes/api/client/BackendClient.php (copied) (copied from appful-app/trunk/includes/api/client/BackendClient.php)
-
tags/3.1.1/includes/api/client/SelfClient.php (copied) (copied from appful-app/trunk/includes/api/client/SelfClient.php) (2 diffs)
-
tags/3.1.1/includes/api/dtos/BlogHooksDto.php (copied) (copied from appful-app/trunk/includes/api/dtos/BlogHooksDto.php)
-
tags/3.1.1/includes/api/dtos/BlogInfoDto.php (copied) (copied from appful-app/trunk/includes/api/dtos/BlogInfoDto.php)
-
tags/3.1.1/includes/api/handlers/AuthenticateUserRequestHandler.php (copied) (copied from appful-app/trunk/includes/api/handlers/AuthenticateUserRequestHandler.php)
-
tags/3.1.1/includes/api/handlers/ClearLogRequestHandler.php (copied) (copied from appful-app/trunk/includes/api/handlers/ClearLogRequestHandler.php)
-
tags/3.1.1/includes/api/handlers/PullLocalPostContentRequestHandler.php (copied) (copied from appful-app/trunk/includes/api/handlers/PullLocalPostContentRequestHandler.php)
-
tags/3.1.1/includes/api/mapper/BlogHooksMapper.php (copied) (copied from appful-app/trunk/includes/api/mapper/BlogHooksMapper.php)
-
tags/3.1.1/includes/api/mapper/BlogInfoMapper.php (copied) (copied from appful-app/trunk/includes/api/mapper/BlogInfoMapper.php)
-
tags/3.1.1/includes/api/reponses/HttpResponse.php (copied) (copied from appful-app/trunk/includes/api/reponses/HttpResponse.php)
-
tags/3.1.1/includes/api/requests/HttpRequest.php (copied) (copied from appful-app/trunk/includes/api/requests/HttpRequest.php)
-
tags/3.1.1/includes/domain/AuthenticateRequest.php (copied) (copied from appful-app/trunk/includes/domain/AuthenticateRequest.php)
-
tags/3.1.1/includes/domain/BlogHooks.php (copied) (copied from appful-app/trunk/includes/domain/BlogHooks.php)
-
tags/3.1.1/includes/domain/BlogInfo.php (copied) (copied from appful-app/trunk/includes/domain/BlogInfo.php)
-
tags/3.1.1/includes/helper/ClientTokenManager.php (copied) (copied from appful-app/trunk/includes/helper/ClientTokenManager.php)
-
tags/3.1.1/includes/helper/Constants.php (copied) (copied from appful-app/trunk/includes/helper/Constants.php)
-
tags/3.1.1/includes/helper/Logger.php (copied) (copied from appful-app/trunk/includes/helper/Logger.php)
-
tags/3.1.1/includes/hooks/AttachmentHook.php (copied) (copied from appful-app/trunk/includes/hooks/AttachmentHook.php)
-
tags/3.1.1/includes/hooks/PostHook.php (copied) (copied from appful-app/trunk/includes/hooks/PostHook.php)
-
tags/3.1.1/includes/hooks/UserHook.php (copied) (copied from appful-app/trunk/includes/hooks/UserHook.php)
-
tags/3.1.1/includes/main/AppfulPlugin.php (copied) (copied from appful-app/trunk/includes/main/AppfulPlugin.php)
-
tags/3.1.1/includes/menu/Menu.php (copied) (copied from appful-app/trunk/includes/menu/Menu.php)
-
tags/3.1.1/includes/use_cases/AttachmentDeleteUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/AttachmentDeleteUseCase.php)
-
tags/3.1.1/includes/use_cases/AttachmentSaveUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/AttachmentSaveUseCase.php)
-
tags/3.1.1/includes/use_cases/AuthenticateUserUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/AuthenticateUserUseCase.php)
-
tags/3.1.1/includes/use_cases/CategoryDeleteUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/CategoryDeleteUseCase.php)
-
tags/3.1.1/includes/use_cases/CategorySaveUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/CategorySaveUseCase.php)
-
tags/3.1.1/includes/use_cases/ClearLogsUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/ClearLogsUseCase.php)
-
tags/3.1.1/includes/use_cases/CommentDeleteUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/CommentDeleteUseCase.php)
-
tags/3.1.1/includes/use_cases/CommentSaveUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/CommentSaveUseCase.php)
-
tags/3.1.1/includes/use_cases/DeleteSessionUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/DeleteSessionUseCase.php)
-
tags/3.1.1/includes/use_cases/GetLocalPostContentByIdUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/GetLocalPostContentByIdUseCase.php)
-
tags/3.1.1/includes/use_cases/GetPostContentsByIdUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/GetPostContentsByIdUseCase.php)
-
tags/3.1.1/includes/use_cases/IsLoggedInUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/IsLoggedInUseCase.php)
-
tags/3.1.1/includes/use_cases/LogoutUserUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/LogoutUserUseCase.php)
-
tags/3.1.1/includes/use_cases/PostDeleteUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/PostDeleteUseCase.php)
-
tags/3.1.1/includes/use_cases/PostSaveUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/PostSaveUseCase.php)
-
tags/3.1.1/includes/use_cases/PullLocalPostContentUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/PullLocalPostContentUseCase.php)
-
tags/3.1.1/includes/use_cases/RegisterBlogUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/RegisterBlogUseCase.php)
-
tags/3.1.1/includes/use_cases/SendAttachmentChunkSyncUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/SendAttachmentChunkSyncUseCase.php)
-
tags/3.1.1/includes/use_cases/SendCategoryChunkSyncUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/SendCategoryChunkSyncUseCase.php)
-
tags/3.1.1/includes/use_cases/SendCommentChunkSyncUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/SendCommentChunkSyncUseCase.php)
-
tags/3.1.1/includes/use_cases/SendPostChunkSyncUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/SendPostChunkSyncUseCase.php)
-
tags/3.1.1/includes/use_cases/SendTagChunkSyncUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/SendTagChunkSyncUseCase.php)
-
tags/3.1.1/includes/use_cases/SendUserChunkSyncUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/SendUserChunkSyncUseCase.php)
-
tags/3.1.1/includes/use_cases/SyncAllUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/SyncAllUseCase.php)
-
tags/3.1.1/includes/use_cases/TagDeleteUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/TagDeleteUseCase.php)
-
tags/3.1.1/includes/use_cases/TagSaveUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/TagSaveUseCase.php)
-
tags/3.1.1/includes/use_cases/UseCaseManager.php (copied) (copied from appful-app/trunk/includes/use_cases/UseCaseManager.php)
-
tags/3.1.1/includes/use_cases/UserDeleteUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/UserDeleteUseCase.php)
-
tags/3.1.1/includes/use_cases/UserSaveUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/UserSaveUseCase.php)
-
tags/3.1.1/includes/wp/WPBlogManager.php (copied) (copied from appful-app/trunk/includes/wp/WPBlogManager.php)
-
tags/3.1.1/includes/wp/WPOptionsManager.php (copied) (copied from appful-app/trunk/includes/wp/WPOptionsManager.php)
-
tags/3.1.1/includes/wp/WPPostManager.php (copied) (copied from appful-app/trunk/includes/wp/WPPostManager.php)
-
tags/3.1.1/includes/wp/WPUserManager.php (copied) (copied from appful-app/trunk/includes/wp/WPUserManager.php)
-
tags/3.1.1/lib/vendor/autoload.php (copied) (copied from appful-app/trunk/lib/vendor/autoload.php)
-
tags/3.1.1/lib/vendor/composer/ClassLoader.php (copied) (copied from appful-app/trunk/lib/vendor/composer/ClassLoader.php)
-
tags/3.1.1/lib/vendor/composer/autoload_classmap.php (copied) (copied from appful-app/trunk/lib/vendor/composer/autoload_classmap.php)
-
tags/3.1.1/lib/vendor/composer/autoload_psr4.php (copied) (copied from appful-app/trunk/lib/vendor/composer/autoload_psr4.php)
-
tags/3.1.1/lib/vendor/composer/autoload_real.php (copied) (copied from appful-app/trunk/lib/vendor/composer/autoload_real.php)
-
tags/3.1.1/lib/vendor/composer/autoload_static.php (copied) (copied from appful-app/trunk/lib/vendor/composer/autoload_static.php)
-
tags/3.1.1/lib/vendor/composer/installed.php (copied) (copied from appful-app/trunk/lib/vendor/composer/installed.php)
-
tags/3.1.1/readme.txt (copied) (copied from appful-app/trunk/readme.txt) (1 diff)
-
trunk/appful-app.php (modified) (1 diff)
-
trunk/includes/api/client/SelfClient.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
appful-app/tags/3.1.1/appful-app.php
r2920184 r2920504 12 12 * Plugin URI: https://appful.io 13 13 * Description: Appful® is the number 1 plugin for turning your WordPress Content into a native, beautiful app on iOS & Android in under 5 minutes. 14 * Version: 3.1. 014 * Version: 3.1.1 15 15 * Requires at least: 5.8 16 16 * Requires PHP: 7.4 -
appful-app/tags/3.1.1/includes/api/client/SelfClient.php
r2920184 r2920504 17 17 public function __construct() { 18 18 $this->client = new Client( [ 19 "base_uri" => get_site_url(), 20 "headers" => [ 19 "headers" => [ 21 20 "content-type" => "application/json", 22 21 "Accept" => "application/json" … … 29 28 $backend_request->header( "Authorization", "Bearer " . ClientTokenManager::getToken() ); 30 29 31 $request_ path =Endpoints::$HOOK . $backend_request->get_path();32 $request = new Request( $backend_request->get_method(), $request_ path, $backend_request->get_headers(), $backend_request->get_body() );30 $request_url = get_site_url() . Endpoints::$HOOK . $backend_request->get_path(); 31 $request = new Request( $backend_request->get_method(), $request_url, $backend_request->get_headers(), $backend_request->get_body() ); 33 32 $response = $this->client->send( $request ); 34 33 35 34 if ( $response->getStatusCode() != 200 ) { 36 Logger::log( "Received non 200 status code (" . $response->getStatusCode() . ") for local request path: " . $request_ path. " with request body: " . json_decode( $backend_request->get_body() ) );35 Logger::log( "Received non 200 status code (" . $response->getStatusCode() . ") for local request path: " . $request_url . " with request body: " . json_decode( $backend_request->get_body() ) ); 37 36 } 38 37 -
appful-app/tags/3.1.1/readme.txt
r2920184 r2920504 6 6 Tested up to: 6.2 7 7 Requires PHP: 7.4 8 Stable tag: 3.1. 08 Stable tag: 3.1.1 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
appful-app/trunk/appful-app.php
r2920184 r2920504 12 12 * Plugin URI: https://appful.io 13 13 * Description: Appful® is the number 1 plugin for turning your WordPress Content into a native, beautiful app on iOS & Android in under 5 minutes. 14 * Version: 3.1. 014 * Version: 3.1.1 15 15 * Requires at least: 5.8 16 16 * Requires PHP: 7.4 -
appful-app/trunk/includes/api/client/SelfClient.php
r2920184 r2920504 17 17 public function __construct() { 18 18 $this->client = new Client( [ 19 "base_uri" => get_site_url(), 20 "headers" => [ 19 "headers" => [ 21 20 "content-type" => "application/json", 22 21 "Accept" => "application/json" … … 29 28 $backend_request->header( "Authorization", "Bearer " . ClientTokenManager::getToken() ); 30 29 31 $request_ path =Endpoints::$HOOK . $backend_request->get_path();32 $request = new Request( $backend_request->get_method(), $request_ path, $backend_request->get_headers(), $backend_request->get_body() );30 $request_url = get_site_url() . Endpoints::$HOOK . $backend_request->get_path(); 31 $request = new Request( $backend_request->get_method(), $request_url, $backend_request->get_headers(), $backend_request->get_body() ); 33 32 $response = $this->client->send( $request ); 34 33 35 34 if ( $response->getStatusCode() != 200 ) { 36 Logger::log( "Received non 200 status code (" . $response->getStatusCode() . ") for local request path: " . $request_ path. " with request body: " . json_decode( $backend_request->get_body() ) );35 Logger::log( "Received non 200 status code (" . $response->getStatusCode() . ") for local request path: " . $request_url . " with request body: " . json_decode( $backend_request->get_body() ) ); 37 36 } 38 37 -
appful-app/trunk/readme.txt
r2920184 r2920504 6 6 Tested up to: 6.2 7 7 Requires PHP: 7.4 8 Stable tag: 3.1. 08 Stable tag: 3.1.1 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset
for help on using the changeset viewer.