Changeset 2978062
- Timestamp:
- 10/12/2023 10:58:26 AM (2 years ago)
- Location:
- appful-app
- Files:
-
- 4 added
- 3 deleted
- 27 edited
- 243 copied
-
tags/3.1.14 (copied) (copied from appful-app/trunk)
-
tags/3.1.14/appful-app.php (copied) (copied from appful-app/trunk/appful-app.php) (1 diff)
-
tags/3.1.14/appful.log (copied) (copied from appful-app/trunk/appful.log)
-
tags/3.1.14/frontend/scripts/user.js (copied) (copied from appful-app/trunk/frontend/scripts/user.js)
-
tags/3.1.14/frontend/styles/style.css (copied) (copied from appful-app/trunk/frontend/styles/style.css)
-
tags/3.1.14/frontend/templates/appful_menu_page.html.twig (copied) (copied from appful-app/trunk/frontend/templates/appful_menu_page.html.twig)
-
tags/3.1.14/includes/api/Api.php (copied) (copied from appful-app/trunk/includes/api/Api.php)
-
tags/3.1.14/includes/api/Endpoints.php (copied) (copied from appful-app/trunk/includes/api/Endpoints.php) (1 diff)
-
tags/3.1.14/includes/api/ReqHandler.php (copied) (copied from appful-app/trunk/includes/api/ReqHandler.php) (2 diffs)
-
tags/3.1.14/includes/api/Rewrites.php (copied) (copied from appful-app/trunk/includes/api/Rewrites.php)
-
tags/3.1.14/includes/api/client/BackendClient.php (copied) (copied from appful-app/trunk/includes/api/client/BackendClient.php)
-
tags/3.1.14/includes/api/client/SelfClient.php (copied) (copied from appful-app/trunk/includes/api/client/SelfClient.php)
-
tags/3.1.14/includes/api/dtos/BlogHooksDto.php (copied) (copied from appful-app/trunk/includes/api/dtos/BlogHooksDto.php) (1 diff)
-
tags/3.1.14/includes/api/dtos/BlogInfoDto.php (copied) (copied from appful-app/trunk/includes/api/dtos/BlogInfoDto.php) (1 diff)
-
tags/3.1.14/includes/api/dtos/PageContentDto.php (copied) (copied from appful-app/trunk/includes/api/dtos/PageContentDto.php)
-
tags/3.1.14/includes/api/dtos/PageDto.php (copied) (copied from appful-app/trunk/includes/api/dtos/PageDto.php)
-
tags/3.1.14/includes/api/dtos/PostDto.php (copied) (copied from appful-app/trunk/includes/api/dtos/PostDto.php)
-
tags/3.1.14/includes/api/dtos/RoleDto.php (copied) (copied from appful-app/trunk/includes/api/dtos/RoleDto.php)
-
tags/3.1.14/includes/api/dtos/UserDto.php (copied) (copied from appful-app/trunk/includes/api/dtos/UserDto.php)
-
tags/3.1.14/includes/api/dtos/UserRoleDto.php (copied) (copied from appful-app/trunk/includes/api/dtos/UserRoleDto.php)
-
tags/3.1.14/includes/api/handlers/AuthenticateUserRequestHandler.php (copied) (copied from appful-app/trunk/includes/api/handlers/AuthenticateUserRequestHandler.php) (1 diff)
-
tags/3.1.14/includes/api/handlers/ClearLogRequestHandler.php (copied) (copied from appful-app/trunk/includes/api/handlers/ClearLogRequestHandler.php)
-
tags/3.1.14/includes/api/handlers/CreateCommentRequestHandler.php (copied) (copied from appful-app/trunk/includes/api/handlers/CreateCommentRequestHandler.php) (1 diff)
-
tags/3.1.14/includes/api/handlers/GetPageContentsRequestHandler.php (copied) (copied from appful-app/trunk/includes/api/handlers/GetPageContentsRequestHandler.php)
-
tags/3.1.14/includes/api/handlers/GetPagesRequestHandler.php (copied) (copied from appful-app/trunk/includes/api/handlers/GetPagesRequestHandler.php)
-
tags/3.1.14/includes/api/handlers/GetRolesRequestHandler.php (copied) (copied from appful-app/trunk/includes/api/handlers/GetRolesRequestHandler.php)
-
tags/3.1.14/includes/api/handlers/InfoRequestHandler.php (modified) (2 diffs)
-
tags/3.1.14/includes/api/handlers/PageSyncRequestHandler.php (copied) (copied from appful-app/trunk/includes/api/handlers/PageSyncRequestHandler.php)
-
tags/3.1.14/includes/api/handlers/PullLocalPageContentRequestHandler.php (copied) (copied from appful-app/trunk/includes/api/handlers/PullLocalPageContentRequestHandler.php)
-
tags/3.1.14/includes/api/handlers/PullLocalPostContentRequestHandler.php (copied) (copied from appful-app/trunk/includes/api/handlers/PullLocalPostContentRequestHandler.php)
-
tags/3.1.14/includes/api/handlers/RoleSyncRequestHandler.php (copied) (copied from appful-app/trunk/includes/api/handlers/RoleSyncRequestHandler.php)
-
tags/3.1.14/includes/api/handlers/page (added)
-
tags/3.1.14/includes/api/handlers/page/GetPageContentRequestHandler.php (added)
-
tags/3.1.14/includes/api/mapper/BlogHooksMapper.php (copied) (copied from appful-app/trunk/includes/api/mapper/BlogHooksMapper.php) (1 diff)
-
tags/3.1.14/includes/api/mapper/BlogInfoMapper.php (copied) (copied from appful-app/trunk/includes/api/mapper/BlogInfoMapper.php) (1 diff)
-
tags/3.1.14/includes/api/mapper/PageContentMapper.php (copied) (copied from appful-app/trunk/includes/api/mapper/PageContentMapper.php)
-
tags/3.1.14/includes/api/mapper/PageMapper.php (copied) (copied from appful-app/trunk/includes/api/mapper/PageMapper.php)
-
tags/3.1.14/includes/api/mapper/PostMapper.php (copied) (copied from appful-app/trunk/includes/api/mapper/PostMapper.php)
-
tags/3.1.14/includes/api/mapper/RoleMapper.php (copied) (copied from appful-app/trunk/includes/api/mapper/RoleMapper.php)
-
tags/3.1.14/includes/api/mapper/UserMapper.php (copied) (copied from appful-app/trunk/includes/api/mapper/UserMapper.php)
-
tags/3.1.14/includes/api/mapper/UserRoleMapper.php (copied) (copied from appful-app/trunk/includes/api/mapper/UserRoleMapper.php)
-
tags/3.1.14/includes/api/reponses/BackendResponse.php (deleted)
-
tags/3.1.14/includes/api/reponses/HttpResponse.php (copied) (copied from appful-app/trunk/includes/api/reponses/HttpResponse.php)
-
tags/3.1.14/includes/api/requests/BackendRequest.php (deleted)
-
tags/3.1.14/includes/api/requests/HttpRequest.php (copied) (copied from appful-app/trunk/includes/api/requests/HttpRequest.php)
-
tags/3.1.14/includes/domain/AuthenticateRequest.php (copied) (copied from appful-app/trunk/includes/domain/AuthenticateRequest.php)
-
tags/3.1.14/includes/domain/BlogHooks.php (copied) (copied from appful-app/trunk/includes/domain/BlogHooks.php) (3 diffs)
-
tags/3.1.14/includes/domain/BlogInfo.php (copied) (copied from appful-app/trunk/includes/domain/BlogInfo.php) (1 diff)
-
tags/3.1.14/includes/domain/CreateCommentRequest.php (copied) (copied from appful-app/trunk/includes/domain/CreateCommentRequest.php)
-
tags/3.1.14/includes/domain/Page.php (copied) (copied from appful-app/trunk/includes/domain/Page.php)
-
tags/3.1.14/includes/domain/PageContent.php (copied) (copied from appful-app/trunk/includes/domain/PageContent.php)
-
tags/3.1.14/includes/domain/Post.php (copied) (copied from appful-app/trunk/includes/domain/Post.php)
-
tags/3.1.14/includes/domain/Role.php (copied) (copied from appful-app/trunk/includes/domain/Role.php)
-
tags/3.1.14/includes/domain/User.php (copied) (copied from appful-app/trunk/includes/domain/User.php)
-
tags/3.1.14/includes/domain/UserRole.php (copied) (copied from appful-app/trunk/includes/domain/UserRole.php)
-
tags/3.1.14/includes/helper/ClientTokenManager.php (copied) (copied from appful-app/trunk/includes/helper/ClientTokenManager.php)
-
tags/3.1.14/includes/helper/Constants.php (copied) (copied from appful-app/trunk/includes/helper/Constants.php)
-
tags/3.1.14/includes/helper/Logger.php (copied) (copied from appful-app/trunk/includes/helper/Logger.php)
-
tags/3.1.14/includes/hooks/AttachmentHook.php (copied) (copied from appful-app/trunk/includes/hooks/AttachmentHook.php)
-
tags/3.1.14/includes/hooks/Hooks.php (copied) (copied from appful-app/trunk/includes/hooks/Hooks.php)
-
tags/3.1.14/includes/hooks/PageHook.php (copied) (copied from appful-app/trunk/includes/hooks/PageHook.php)
-
tags/3.1.14/includes/hooks/PostHook.php (copied) (copied from appful-app/trunk/includes/hooks/PostHook.php)
-
tags/3.1.14/includes/hooks/SessionHook.php (copied) (copied from appful-app/trunk/includes/hooks/SessionHook.php)
-
tags/3.1.14/includes/hooks/UserHook.php (copied) (copied from appful-app/trunk/includes/hooks/UserHook.php)
-
tags/3.1.14/includes/main/AppfulPlugin.php (copied) (copied from appful-app/trunk/includes/main/AppfulPlugin.php)
-
tags/3.1.14/includes/menu/Menu.php (copied) (copied from appful-app/trunk/includes/menu/Menu.php)
-
tags/3.1.14/includes/use_cases/AttachmentDeleteUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/AttachmentDeleteUseCase.php)
-
tags/3.1.14/includes/use_cases/AttachmentSaveUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/AttachmentSaveUseCase.php)
-
tags/3.1.14/includes/use_cases/AuthenticateUserUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/AuthenticateUserUseCase.php)
-
tags/3.1.14/includes/use_cases/CategoryDeleteUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/CategoryDeleteUseCase.php)
-
tags/3.1.14/includes/use_cases/CategorySaveUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/CategorySaveUseCase.php)
-
tags/3.1.14/includes/use_cases/ClearLogsUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/ClearLogsUseCase.php)
-
tags/3.1.14/includes/use_cases/CommentDeleteUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/CommentDeleteUseCase.php)
-
tags/3.1.14/includes/use_cases/CommentSaveUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/CommentSaveUseCase.php)
-
tags/3.1.14/includes/use_cases/CreateCommentUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/CreateCommentUseCase.php)
-
tags/3.1.14/includes/use_cases/DeleteSessionUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/DeleteSessionUseCase.php)
-
tags/3.1.14/includes/use_cases/GetBlogInfoUseCase.php (modified) (1 diff)
-
tags/3.1.14/includes/use_cases/GetLocalPostContentByIdUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/GetLocalPostContentByIdUseCase.php)
-
tags/3.1.14/includes/use_cases/GetPageSyncDataUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/GetPageSyncDataUseCase.php)
-
tags/3.1.14/includes/use_cases/GetPagesByIdUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/GetPagesByIdUseCase.php)
-
tags/3.1.14/includes/use_cases/GetPostContentsByIdUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/GetPostContentsByIdUseCase.php)
-
tags/3.1.14/includes/use_cases/GetRoleSyncDataUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/GetRoleSyncDataUseCase.php)
-
tags/3.1.14/includes/use_cases/GetRolesByIdUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/GetRolesByIdUseCase.php)
-
tags/3.1.14/includes/use_cases/IsLoggedInUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/IsLoggedInUseCase.php)
-
tags/3.1.14/includes/use_cases/LogoutUserUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/LogoutUserUseCase.php)
-
tags/3.1.14/includes/use_cases/PageDeleteUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/PageDeleteUseCase.php)
-
tags/3.1.14/includes/use_cases/PageSaveUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/PageSaveUseCase.php)
-
tags/3.1.14/includes/use_cases/PostDeleteUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/PostDeleteUseCase.php)
-
tags/3.1.14/includes/use_cases/PostSaveUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/PostSaveUseCase.php)
-
tags/3.1.14/includes/use_cases/PullLocalPostContentUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/PullLocalPostContentUseCase.php)
-
tags/3.1.14/includes/use_cases/RegisterBlogUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/RegisterBlogUseCase.php)
-
tags/3.1.14/includes/use_cases/SendAttachmentChunkSyncUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/SendAttachmentChunkSyncUseCase.php)
-
tags/3.1.14/includes/use_cases/SendCategoryChunkSyncUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/SendCategoryChunkSyncUseCase.php)
-
tags/3.1.14/includes/use_cases/SendCommentChunkSyncUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/SendCommentChunkSyncUseCase.php)
-
tags/3.1.14/includes/use_cases/SendPageChunkSyncUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/SendPageChunkSyncUseCase.php)
-
tags/3.1.14/includes/use_cases/SendPostChunkSyncUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/SendPostChunkSyncUseCase.php)
-
tags/3.1.14/includes/use_cases/SendRoleChunkSyncUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/SendRoleChunkSyncUseCase.php)
-
tags/3.1.14/includes/use_cases/SendTagChunkSyncUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/SendTagChunkSyncUseCase.php)
-
tags/3.1.14/includes/use_cases/SendUserChunkSyncUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/SendUserChunkSyncUseCase.php)
-
tags/3.1.14/includes/use_cases/SyncAllUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/SyncAllUseCase.php)
-
tags/3.1.14/includes/use_cases/SyncPagesUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/SyncPagesUseCase.php)
-
tags/3.1.14/includes/use_cases/SyncRolesUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/SyncRolesUseCase.php)
-
tags/3.1.14/includes/use_cases/TagDeleteUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/TagDeleteUseCase.php)
-
tags/3.1.14/includes/use_cases/TagSaveUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/TagSaveUseCase.php)
-
tags/3.1.14/includes/use_cases/UseCaseManager.php (copied) (copied from appful-app/trunk/includes/use_cases/UseCaseManager.php)
-
tags/3.1.14/includes/use_cases/UserDeleteUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/UserDeleteUseCase.php)
-
tags/3.1.14/includes/use_cases/UserSaveUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/UserSaveUseCase.php)
-
tags/3.1.14/includes/use_cases/page (copied) (copied from appful-app/trunk/includes/use_cases/page)
-
tags/3.1.14/includes/use_cases/page/GetPageContentsByIdUseCase.php (modified) (2 diffs)
-
tags/3.1.14/includes/wp/WPAttachmentManager.php (modified) (1 diff)
-
tags/3.1.14/includes/wp/WPBlogManager.php (copied) (copied from appful-app/trunk/includes/wp/WPBlogManager.php) (1 diff)
-
tags/3.1.14/includes/wp/WPCommentManager.php (copied) (copied from appful-app/trunk/includes/wp/WPCommentManager.php)
-
tags/3.1.14/includes/wp/WPOptionsManager.php (copied) (copied from appful-app/trunk/includes/wp/WPOptionsManager.php)
-
tags/3.1.14/includes/wp/WPPageManager.php (copied) (copied from appful-app/trunk/includes/wp/WPPageManager.php) (2 diffs)
-
tags/3.1.14/includes/wp/WPPostManager.php (copied) (copied from appful-app/trunk/includes/wp/WPPostManager.php) (4 diffs)
-
tags/3.1.14/includes/wp/WPRoleManager.php (copied) (copied from appful-app/trunk/includes/wp/WPRoleManager.php)
-
tags/3.1.14/includes/wp/WPUserManager.php (copied) (copied from appful-app/trunk/includes/wp/WPUserManager.php)
-
tags/3.1.14/includes/wp/mapper/PageMapper.php (copied) (copied from appful-app/trunk/includes/wp/mapper/PageMapper.php)
-
tags/3.1.14/includes/wp/mapper/PostMapper.php (copied) (copied from appful-app/trunk/includes/wp/mapper/PostMapper.php)
-
tags/3.1.14/includes/wp/mapper/UserMapper.php (copied) (copied from appful-app/trunk/includes/wp/mapper/UserMapper.php)
-
tags/3.1.14/includes/wp/plugins/LanguageHelper.php (copied) (copied from appful-app/trunk/includes/wp/plugins/LanguageHelper.php)
-
tags/3.1.14/includes/wp/plugins/RoleHelper.php (copied) (copied from appful-app/trunk/includes/wp/plugins/RoleHelper.php)
-
tags/3.1.14/lib/.gitignore (deleted)
-
tags/3.1.14/lib/vendor/autoload.php (copied) (copied from appful-app/trunk/lib/vendor/autoload.php)
-
tags/3.1.14/lib/vendor/bin (copied) (copied from appful-app/trunk/lib/vendor/bin)
-
tags/3.1.14/lib/vendor/composer/ClassLoader.php (copied) (copied from appful-app/trunk/lib/vendor/composer/ClassLoader.php)
-
tags/3.1.14/lib/vendor/composer/autoload_classmap.php (copied) (copied from appful-app/trunk/lib/vendor/composer/autoload_classmap.php) (1 diff)
-
tags/3.1.14/lib/vendor/composer/autoload_files.php (copied) (copied from appful-app/trunk/lib/vendor/composer/autoload_files.php)
-
tags/3.1.14/lib/vendor/composer/autoload_psr4.php (copied) (copied from appful-app/trunk/lib/vendor/composer/autoload_psr4.php) (2 diffs)
-
tags/3.1.14/lib/vendor/composer/autoload_real.php (copied) (copied from appful-app/trunk/lib/vendor/composer/autoload_real.php)
-
tags/3.1.14/lib/vendor/composer/autoload_static.php (copied) (copied from appful-app/trunk/lib/vendor/composer/autoload_static.php) (4 diffs)
-
tags/3.1.14/lib/vendor/composer/installed.json (copied) (copied from appful-app/trunk/lib/vendor/composer/installed.json)
-
tags/3.1.14/lib/vendor/composer/installed.php (copied) (copied from appful-app/trunk/lib/vendor/composer/installed.php) (2 diffs)
-
tags/3.1.14/lib/vendor/composer/platform_check.php (copied) (copied from appful-app/trunk/lib/vendor/composer/platform_check.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/guzzle/CHANGELOG.md (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/guzzle/CHANGELOG.md)
-
tags/3.1.14/lib/vendor/guzzlehttp/guzzle/README.md (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/guzzle/README.md)
-
tags/3.1.14/lib/vendor/guzzlehttp/guzzle/UPGRADING.md (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/guzzle/UPGRADING.md)
-
tags/3.1.14/lib/vendor/guzzlehttp/guzzle/composer.json (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/guzzle/composer.json)
-
tags/3.1.14/lib/vendor/guzzlehttp/guzzle/src/Client.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/guzzle/src/Client.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/guzzle/src/ClientInterface.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/guzzle/src/ClientInterface.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/guzzle/src/Cookie/CookieJar.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/guzzle/src/Cookie/CookieJar.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/guzzle/src/Cookie/CookieJarInterface.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/guzzle/src/Cookie/CookieJarInterface.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/guzzle/src/Cookie/SessionCookieJar.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/guzzle/src/Cookie/SessionCookieJar.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/guzzle/src/Cookie/SetCookie.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/guzzle/src/Cookie/SetCookie.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/guzzle/src/Handler/EasyHandle.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/guzzle/src/Handler/EasyHandle.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/guzzle/src/Handler/HeaderProcessor.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/guzzle/src/Handler/HeaderProcessor.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/guzzle/src/Handler/MockHandler.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/guzzle/src/Handler/MockHandler.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/guzzle/src/HandlerStack.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/guzzle/src/HandlerStack.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/guzzle/src/MessageFormatter.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/guzzle/src/MessageFormatter.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/guzzle/src/MessageFormatterInterface.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/guzzle/src/MessageFormatterInterface.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/guzzle/src/Middleware.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/guzzle/src/Middleware.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/guzzle/src/RequestOptions.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/guzzle/src/RequestOptions.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/guzzle/src/RetryMiddleware.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/guzzle/src/RetryMiddleware.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/guzzle/src/TransferStats.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/guzzle/src/TransferStats.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/guzzle/src/Utils.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/guzzle/src/Utils.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/guzzle/src/functions.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/guzzle/src/functions.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/guzzle/src/functions_include.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/guzzle/src/functions_include.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/promises/CHANGELOG.md (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/promises/CHANGELOG.md)
-
tags/3.1.14/lib/vendor/guzzlehttp/promises/README.md (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/promises/README.md)
-
tags/3.1.14/lib/vendor/guzzlehttp/promises/composer.json (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/promises/composer.json)
-
tags/3.1.14/lib/vendor/guzzlehttp/promises/src/AggregateException.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/promises/src/AggregateException.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/promises/src/CancellationException.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/promises/src/CancellationException.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/promises/src/Coroutine.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/promises/src/Coroutine.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/promises/src/Create.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/promises/src/Create.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/promises/src/Each.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/promises/src/Each.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/promises/src/EachPromise.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/promises/src/EachPromise.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/promises/src/FulfilledPromise.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/promises/src/FulfilledPromise.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/promises/src/Is.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/promises/src/Is.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/promises/src/Promise.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/promises/src/Promise.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/promises/src/PromiseInterface.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/promises/src/PromiseInterface.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/promises/src/PromisorInterface.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/promises/src/PromisorInterface.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/promises/src/RejectedPromise.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/promises/src/RejectedPromise.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/promises/src/RejectionException.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/promises/src/RejectionException.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/promises/src/TaskQueue.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/promises/src/TaskQueue.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/promises/src/TaskQueueInterface.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/promises/src/TaskQueueInterface.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/promises/src/Utils.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/promises/src/Utils.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/psr7/CHANGELOG.md (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/CHANGELOG.md)
-
tags/3.1.14/lib/vendor/guzzlehttp/psr7/README.md (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/README.md)
-
tags/3.1.14/lib/vendor/guzzlehttp/psr7/composer.json (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/composer.json)
-
tags/3.1.14/lib/vendor/guzzlehttp/psr7/src/AppendStream.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/AppendStream.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/psr7/src/BufferStream.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/BufferStream.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/psr7/src/FnStream.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/FnStream.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/psr7/src/Header.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/Header.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/psr7/src/HttpFactory.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/HttpFactory.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/psr7/src/InflateStream.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/InflateStream.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/psr7/src/LazyOpenStream.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/LazyOpenStream.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/psr7/src/Message.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/Message.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/psr7/src/MessageTrait.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/MessageTrait.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/psr7/src/MimeType.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/MimeType.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/psr7/src/MultipartStream.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/MultipartStream.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/psr7/src/PumpStream.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/PumpStream.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/psr7/src/Query.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/Query.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/psr7/src/Request.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/Request.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/psr7/src/Response.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/Response.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/psr7/src/Rfc7230.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/Rfc7230.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/psr7/src/ServerRequest.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/ServerRequest.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/psr7/src/Stream.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/Stream.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/psr7/src/StreamWrapper.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/StreamWrapper.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/psr7/src/Uri.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/Uri.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/psr7/src/UriNormalizer.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/UriNormalizer.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/psr7/src/UriResolver.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/UriResolver.php)
-
tags/3.1.14/lib/vendor/guzzlehttp/psr7/src/Utils.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/Utils.php)
-
tags/3.1.14/lib/vendor/psr/http-client/CHANGELOG.md (copied) (copied from appful-app/trunk/lib/vendor/psr/http-client/CHANGELOG.md)
-
tags/3.1.14/lib/vendor/psr/http-client/README.md (copied) (copied from appful-app/trunk/lib/vendor/psr/http-client/README.md)
-
tags/3.1.14/lib/vendor/psr/http-client/composer.json (copied) (copied from appful-app/trunk/lib/vendor/psr/http-client/composer.json)
-
tags/3.1.14/lib/vendor/psr/http-factory/README.md (copied) (copied from appful-app/trunk/lib/vendor/psr/http-factory/README.md)
-
tags/3.1.14/lib/vendor/psr/http-factory/composer.json (copied) (copied from appful-app/trunk/lib/vendor/psr/http-factory/composer.json)
-
tags/3.1.14/lib/vendor/psr/http-message/README.md (copied) (copied from appful-app/trunk/lib/vendor/psr/http-message/README.md)
-
tags/3.1.14/lib/vendor/psr/http-message/composer.json (copied) (copied from appful-app/trunk/lib/vendor/psr/http-message/composer.json)
-
tags/3.1.14/lib/vendor/psr/http-message/src/MessageInterface.php (copied) (copied from appful-app/trunk/lib/vendor/psr/http-message/src/MessageInterface.php)
-
tags/3.1.14/lib/vendor/psr/http-message/src/RequestInterface.php (copied) (copied from appful-app/trunk/lib/vendor/psr/http-message/src/RequestInterface.php)
-
tags/3.1.14/lib/vendor/psr/http-message/src/ResponseInterface.php (copied) (copied from appful-app/trunk/lib/vendor/psr/http-message/src/ResponseInterface.php)
-
tags/3.1.14/lib/vendor/psr/http-message/src/ServerRequestInterface.php (copied) (copied from appful-app/trunk/lib/vendor/psr/http-message/src/ServerRequestInterface.php)
-
tags/3.1.14/lib/vendor/psr/http-message/src/StreamInterface.php (copied) (copied from appful-app/trunk/lib/vendor/psr/http-message/src/StreamInterface.php)
-
tags/3.1.14/lib/vendor/psr/http-message/src/UploadedFileInterface.php (copied) (copied from appful-app/trunk/lib/vendor/psr/http-message/src/UploadedFileInterface.php)
-
tags/3.1.14/lib/vendor/psr/http-message/src/UriInterface.php (copied) (copied from appful-app/trunk/lib/vendor/psr/http-message/src/UriInterface.php)
-
tags/3.1.14/lib/vendor/symfony/deprecation-contracts/composer.json (copied) (copied from appful-app/trunk/lib/vendor/symfony/deprecation-contracts/composer.json)
-
tags/3.1.14/lib/vendor/symfony/deprecation-contracts/function.php (copied) (copied from appful-app/trunk/lib/vendor/symfony/deprecation-contracts/function.php)
-
tags/3.1.14/lib/vendor/symfony/polyfill-ctype/LICENSE (copied) (copied from appful-app/trunk/lib/vendor/symfony/polyfill-ctype/LICENSE)
-
tags/3.1.14/lib/vendor/symfony/polyfill-ctype/composer.json (copied) (copied from appful-app/trunk/lib/vendor/symfony/polyfill-ctype/composer.json)
-
tags/3.1.14/lib/vendor/symfony/polyfill-mbstring/LICENSE (copied) (copied from appful-app/trunk/lib/vendor/symfony/polyfill-mbstring/LICENSE)
-
tags/3.1.14/lib/vendor/symfony/polyfill-mbstring/Mbstring.php (copied) (copied from appful-app/trunk/lib/vendor/symfony/polyfill-mbstring/Mbstring.php)
-
tags/3.1.14/lib/vendor/symfony/polyfill-mbstring/bootstrap.php (copied) (copied from appful-app/trunk/lib/vendor/symfony/polyfill-mbstring/bootstrap.php)
-
tags/3.1.14/lib/vendor/symfony/polyfill-mbstring/bootstrap80.php (copied) (copied from appful-app/trunk/lib/vendor/symfony/polyfill-mbstring/bootstrap80.php)
-
tags/3.1.14/lib/vendor/symfony/polyfill-mbstring/composer.json (copied) (copied from appful-app/trunk/lib/vendor/symfony/polyfill-mbstring/composer.json)
-
tags/3.1.14/lib/vendor/twig/twig/CHANGELOG (copied) (copied from appful-app/trunk/lib/vendor/twig/twig/CHANGELOG)
-
tags/3.1.14/lib/vendor/twig/twig/LICENSE (copied) (copied from appful-app/trunk/lib/vendor/twig/twig/LICENSE)
-
tags/3.1.14/lib/vendor/twig/twig/composer.json (copied) (copied from appful-app/trunk/lib/vendor/twig/twig/composer.json)
-
tags/3.1.14/lib/vendor/twig/twig/src/Compiler.php (copied) (copied from appful-app/trunk/lib/vendor/twig/twig/src/Compiler.php)
-
tags/3.1.14/lib/vendor/twig/twig/src/Environment.php (copied) (copied from appful-app/trunk/lib/vendor/twig/twig/src/Environment.php)
-
tags/3.1.14/lib/vendor/twig/twig/src/ExpressionParser.php (copied) (copied from appful-app/trunk/lib/vendor/twig/twig/src/ExpressionParser.php)
-
tags/3.1.14/lib/vendor/twig/twig/src/Extension/CoreExtension.php (copied) (copied from appful-app/trunk/lib/vendor/twig/twig/src/Extension/CoreExtension.php)
-
tags/3.1.14/lib/vendor/twig/twig/src/Extension/ExtensionInterface.php (copied) (copied from appful-app/trunk/lib/vendor/twig/twig/src/Extension/ExtensionInterface.php)
-
tags/3.1.14/lib/vendor/twig/twig/src/Extension/GlobalsInterface.php (copied) (copied from appful-app/trunk/lib/vendor/twig/twig/src/Extension/GlobalsInterface.php)
-
tags/3.1.14/lib/vendor/twig/twig/src/ExtensionSet.php (copied) (copied from appful-app/trunk/lib/vendor/twig/twig/src/ExtensionSet.php)
-
tags/3.1.14/lib/vendor/twig/twig/src/Lexer.php (copied) (copied from appful-app/trunk/lib/vendor/twig/twig/src/Lexer.php)
-
tags/3.1.14/lib/vendor/twig/twig/src/Loader/FilesystemLoader.php (copied) (copied from appful-app/trunk/lib/vendor/twig/twig/src/Loader/FilesystemLoader.php)
-
tags/3.1.14/lib/vendor/twig/twig/src/Node/Expression/ArrayExpression.php (copied) (copied from appful-app/trunk/lib/vendor/twig/twig/src/Node/Expression/ArrayExpression.php)
-
tags/3.1.14/lib/vendor/twig/twig/src/Node/Expression/Binary/MatchesBinary.php (copied) (copied from appful-app/trunk/lib/vendor/twig/twig/src/Node/Expression/Binary/MatchesBinary.php)
-
tags/3.1.14/lib/vendor/twig/twig/src/Node/Expression/CallExpression.php (copied) (copied from appful-app/trunk/lib/vendor/twig/twig/src/Node/Expression/CallExpression.php)
-
tags/3.1.14/lib/vendor/twig/twig/src/Node/IfNode.php (copied) (copied from appful-app/trunk/lib/vendor/twig/twig/src/Node/IfNode.php)
-
tags/3.1.14/lib/vendor/twig/twig/src/Token.php (copied) (copied from appful-app/trunk/lib/vendor/twig/twig/src/Token.php)
-
tags/3.1.14/lib/vendor/twig/twig/src/TwigFilter.php (copied) (copied from appful-app/trunk/lib/vendor/twig/twig/src/TwigFilter.php)
-
tags/3.1.14/lib/vendor/twig/twig/src/TwigFunction.php (copied) (copied from appful-app/trunk/lib/vendor/twig/twig/src/TwigFunction.php)
-
tags/3.1.14/lib/vendor/twig/twig/src/TwigTest.php (copied) (copied from appful-app/trunk/lib/vendor/twig/twig/src/TwigTest.php)
-
tags/3.1.14/readme.txt (copied) (copied from appful-app/trunk/readme.txt) (1 diff)
-
trunk/appful-app.php (modified) (1 diff)
-
trunk/includes/api/Endpoints.php (modified) (1 diff)
-
trunk/includes/api/ReqHandler.php (modified) (2 diffs)
-
trunk/includes/api/dtos/BlogHooksDto.php (modified) (1 diff)
-
trunk/includes/api/dtos/BlogInfoDto.php (modified) (1 diff)
-
trunk/includes/api/handlers/AuthenticateUserRequestHandler.php (modified) (1 diff)
-
trunk/includes/api/handlers/CreateCommentRequestHandler.php (modified) (1 diff)
-
trunk/includes/api/handlers/InfoRequestHandler.php (modified) (2 diffs)
-
trunk/includes/api/handlers/page (added)
-
trunk/includes/api/handlers/page/GetPageContentRequestHandler.php (added)
-
trunk/includes/api/mapper/BlogHooksMapper.php (modified) (1 diff)
-
trunk/includes/api/mapper/BlogInfoMapper.php (modified) (1 diff)
-
trunk/includes/domain/BlogHooks.php (modified) (3 diffs)
-
trunk/includes/domain/BlogInfo.php (modified) (1 diff)
-
trunk/includes/use_cases/GetBlogInfoUseCase.php (modified) (1 diff)
-
trunk/includes/use_cases/page/GetPageContentsByIdUseCase.php (modified) (2 diffs)
-
trunk/includes/wp/WPAttachmentManager.php (modified) (1 diff)
-
trunk/includes/wp/WPBlogManager.php (modified) (1 diff)
-
trunk/includes/wp/WPPageManager.php (modified) (2 diffs)
-
trunk/includes/wp/WPPostManager.php (modified) (4 diffs)
-
trunk/lib/vendor/composer/autoload_classmap.php (modified) (1 diff)
-
trunk/lib/vendor/composer/autoload_psr4.php (modified) (2 diffs)
-
trunk/lib/vendor/composer/autoload_static.php (modified) (4 diffs)
-
trunk/lib/vendor/composer/installed.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
appful-app/tags/3.1.14/appful-app.php
r2971246 r2978062 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.1 314 * Version: 3.1.14 15 15 * Requires at least: 5.8 16 16 * Requires PHP: 7.4 -
appful-app/tags/3.1.14/includes/api/Endpoints.php
r2971184 r2978062 38 38 39 39 public static string $HOOK = "/appful/api"; 40 public static string $CREATE_COMMENT = "create-comment"; 41 public static string $AUTHENTICATE_USER = "authenticate-user"; 40 public static string $CREATE_COMMENT_HOOK = "create-comment"; 41 public static string $AUTHENTICATE_USER_HOOK = "authenticate-user"; 42 public static string $GET_PAGE_CONTENT_HOOK = "get-page-content-hook"; 42 43 } -
appful-app/tags/3.1.14/includes/api/ReqHandler.php
r2971184 r2978062 23 23 use AppfulPlugin\Api\Handlers\InfoRequestHandler; 24 24 use AppfulPlugin\Api\Handlers\LogRequestHandler; 25 use AppfulPlugin\Api\Handlers\Page\GetPageContentRequestHandler; 25 26 use AppfulPlugin\Api\Handlers\PageSyncRequestHandler; 26 27 use AppfulPlugin\Api\Handlers\PostSyncRequestHandler; … … 70 71 new GetPageContentsRequestHandler( $use_case_manager->pages()->get_page_contents_by_id_use_case() ), 71 72 new PullLocalPageContentRequestHandler( $use_case_manager->pages()->get_local_page_content_by_id_use_case() ), 73 new GetPageContentRequestHandler( $use_case_manager->pages()->get_page_contents_by_id_use_case() ), 72 74 ]; 73 75 } -
appful-app/tags/3.1.14/includes/api/dtos/BlogHooksDto.php
r2920040 r2978062 6 6 public ?string $create_comment; 7 7 public ?string $authenticate_user; 8 public ?string $get_page_content; 8 9 9 public function __construct( ?string $create_comment, ?string $authenticate_user ) { 10 public function __construct( 11 ?string $create_comment, 12 ?string $authenticate_user, 13 ?string $get_page_content 14 ) { 10 15 $this->create_comment = $create_comment; 11 16 $this->authenticate_user = $authenticate_user; 17 $this->get_page_content = $get_page_content; 12 18 } 13 19 } -
appful-app/tags/3.1.14/includes/api/dtos/BlogInfoDto.php
r2920030 r2978062 9 9 public string $token; 10 10 public ?BlogHooksDto $hooks; 11 public string $version; 11 12 12 public function __construct( string $hostname, string $site_url, array $languages, string $token, ?BlogHooksDto $hooks ) {13 public function __construct( string $hostname, string $site_url, array $languages, string $token, ?BlogHooksDto $hooks, string $version ) { 13 14 $this->hostname = $hostname; 14 15 $this->site_url = $site_url; 15 16 $this->languages = $languages; 16 $this->token = $token;17 $this->token = $token; 17 18 $this->hooks = $hooks; 19 $this->version = $version; 18 20 } 19 21 } -
appful-app/tags/3.1.14/includes/api/handlers/AuthenticateUserRequestHandler.php
r2920040 r2978062 20 20 21 21 public function can_handle_request( PluginRequest $request ): bool { 22 return $request->get_action() == Endpoints::$AUTHENTICATE_USER ;22 return $request->get_action() == Endpoints::$AUTHENTICATE_USER_HOOK; 23 23 } 24 24 -
appful-app/tags/3.1.14/includes/api/handlers/CreateCommentRequestHandler.php
r2954441 r2978062 21 21 22 22 public function can_handle_request( PluginRequest $request ): bool { 23 return $request->get_action() == Endpoints::$CREATE_COMMENT ;23 return $request->get_action() == Endpoints::$CREATE_COMMENT_HOOK; 24 24 } 25 25 -
appful-app/tags/3.1.14/includes/api/handlers/InfoRequestHandler.php
r2907312 r2978062 4 4 5 5 use AppfulPlugin\Api\Endpoints; 6 use AppfulPlugin\Api\Mapper\BlogInfoMapper; 6 7 use AppfulPlugin\Api\Requests\PluginRequest; 7 8 use AppfulPlugin\Api\Responses\PluginResponse; … … 23 24 Logger::log( "Found handler for Appful request" ); 24 25 25 $blog_info = $this->get_blog_info_use_case->invoke(); 26 $blog_info = $this->get_blog_info_use_case->invoke(); 27 $blog_info_dto = BlogInfoMapper::to_dto( $blog_info ); 26 28 27 return PluginResponse::plugin_response()->body( $blog_info );29 return PluginResponse::plugin_response()->body( $blog_info_dto ); 28 30 } 29 31 } -
appful-app/tags/3.1.14/includes/api/mapper/BlogHooksMapper.php
r2920040 r2978062 10 10 return new BlogHooksDto( 11 11 $blog_hooks->get_create_comment(), 12 $blog_hooks->get_authenticate_user() 12 $blog_hooks->get_authenticate_user(), 13 $blog_hooks->get_get_page_content() 13 14 ); 14 15 } -
appful-app/tags/3.1.14/includes/api/mapper/BlogInfoMapper.php
r2920030 r2978062 13 13 $blog_info->get_languages(), 14 14 $blog_info->get_token(), 15 BlogHooksMapper::to_dto( $blog_info->get_hooks() ) 15 BlogHooksMapper::to_dto( $blog_info->get_hooks() ), 16 "3.1.14", 16 17 ); 17 18 } -
appful-app/tags/3.1.14/includes/domain/BlogHooks.php
r2920040 r2978062 6 6 private ?string $create_comment = null; 7 7 private ?string $authenticate_user = null; 8 private ?string $get_page_content = null; 8 9 9 public static function blog_hooks( 10 ?string $create_comment = null, 11 ?string $authenticate_user = null 12 ): BlogHooks { 13 return ( new BlogHooks() ) 14 ->create_comment( $create_comment ) 15 ->authenticate_user( $authenticate_user ); 10 private function __construct() { 11 } 12 13 public static function init(): BlogHooks { 14 return new BlogHooks(); 16 15 } 17 16 … … 28 27 } 29 28 29 public function get_page_content( ?string $get_page_content ): BlogHooks { 30 $this->get_page_content = $get_page_content; 31 32 return $this; 33 } 34 30 35 public function get_create_comment(): ?string { 31 36 return $this->create_comment; … … 35 40 return $this->authenticate_user; 36 41 } 42 43 public function get_get_page_content(): ?string { 44 return $this->get_page_content; 45 } 37 46 } -
appful-app/tags/3.1.14/includes/domain/BlogInfo.php
r2920030 r2978062 22 22 ->languages( $languages ) 23 23 ->token( $token ) 24 ->hooks( $hooks ?? new BlogHooks() );24 ->hooks( $hooks ?? BlogHooks::init() ); 25 25 } 26 26 -
appful-app/tags/3.1.14/includes/use_cases/GetBlogInfoUseCase.php
r2907312 r2978062 3 3 namespace AppfulPlugin\UseCases; 4 4 5 use AppfulPlugin\Domain\BlogInfo; 6 use AppfulPlugin\Wp\WPBlogManager; 7 5 8 class GetBlogInfoUseCase { 6 public function invoke(): array{7 return [ "status" => "OK" ];9 public function invoke(): BlogInfo { 10 return WPBlogManager::get_blog_info(); 8 11 } 9 12 } -
appful-app/tags/3.1.14/includes/use_cases/page/GetPageContentsByIdUseCase.php
r2971184 r2978062 4 4 5 5 use AppfulPlugin\Domain\PageContent; 6 use AppfulPlugin\Wp\WPPageManager; 6 7 7 8 class GetPageContentsByIdUseCase { … … 20 21 $page_contents = []; 21 22 22 foreach ( $ids as $page_id ) { 23 $response = $this->pull_local_page_content_use_case->invoke( $page_id, $user_id ); 24 if ( $response != null ) { 25 $page_contents[] = $response; 26 } 27 } 23 $page_contents = WPPageManager::get_page_contents_by_ids($ids, $user_id); 24 // Uncomment if for some reason fetching all pages at once should not work 25 // foreach ( $ids as $page_id ) { 26 // $response = $this->pull_local_page_content_use_case->invoke( $page_id, $user_id ); 27 // if ( $response != null ) { 28 // $page_contents[] = $response; 29 // } 30 // } 28 31 29 32 return $page_contents; -
appful-app/tags/3.1.14/includes/wp/WPAttachmentManager.php
r2910521 r2978062 94 94 $args = [ 95 95 "post_type" => "attachment", 96 "include" => $ids, 96 97 "numberposts" => - 1 97 98 ]; -
appful-app/tags/3.1.14/includes/wp/WPBlogManager.php
r2920184 r2978062 20 20 21 21 private static function get_hooks(): BlogHooks { 22 return BlogHooks::blog_hooks() 23 ->create_comment( self::get_site_url() . Endpoints::$HOOK . "/" . Endpoints::$CREATE_COMMENT ) 24 ->authenticate_user( self::get_site_url() . Endpoints::$HOOK . "/" . Endpoints::$AUTHENTICATE_USER ); 22 return BlogHooks::init() 23 ->create_comment( self::get_site_url() . Endpoints::$HOOK . "/" . Endpoints::$CREATE_COMMENT_HOOK ) 24 ->authenticate_user( self::get_site_url() . Endpoints::$HOOK . "/" . Endpoints::$AUTHENTICATE_USER_HOOK ) 25 ->get_page_content( self::get_site_url() . Endpoints::$HOOK . "/" . Endpoints::$GET_PAGE_CONTENT_HOOK ); 25 26 } 26 27 -
appful-app/tags/3.1.14/includes/wp/WPPageManager.php
r2971184 r2978062 86 86 87 87 $wp_query = new \WP_Query( $args ); 88 89 do_action( 'template_redirect' ); 90 88 91 if ( have_posts() ) { 89 92 the_post(); … … 118 121 } 119 122 123 public static function get_page_contents_by_ids( array $ids, ?int $user_id = null ): array { 124 global $wp_query; 125 126 if ( $user_id ) { 127 wp_set_current_user( $user_id ); 128 } 129 130 $args = [ 131 "posts_per_page" => - 1, 132 "post_type" => "page", 133 "post__in" => $ids, 134 "post_status" => self::get_allowed_page_stati() 135 ]; 136 137 $wp_query = new \WP_Query( $args ); 138 139 do_action( 'template_redirect' ); 140 141 $pages = []; 142 143 if ( have_posts() ) { 144 ob_start(); 145 wp_head(); 146 $head = ob_get_clean(); 147 148 ob_start(); 149 body_class(); 150 $body_class = ob_get_clean(); 151 152 while ( have_posts() ) { 153 the_post(); 154 155 ob_start(); 156 the_content(); 157 $content = ob_get_clean(); 158 159 $pages[] = PageContent::pageContent() 160 ->id( get_the_ID() ) 161 ->content( $content ) 162 ->head( $head ) 163 ->footer( "" ) 164 ->body_class( $body_class ); 165 } 166 167 ob_start(); 168 wp_footer(); 169 $footer = ob_get_clean(); 170 171 $pages = array_map( function ( PageContent $content ) use ( $footer ) { 172 return $content->footer( $footer ); 173 }, $pages ); 174 } 175 176 wp_reset_postdata(); 177 178 return $pages; 179 } 180 120 181 /** 121 182 * @return string[] -
appful-app/tags/3.1.14/includes/wp/WPPostManager.php
r2962811 r2978062 5 5 use AppfulPlugin\Domain\Post; 6 6 use AppfulPlugin\Domain\PostContent; 7 use AppfulPlugin\Domain\Role;8 use AppfulPlugin\Domain\UserRole;9 7 use AppfulPlugin\Helper\Constants; 10 8 use AppfulPlugin\Wp\Mapper\PostMapper; 11 9 use AppfulPlugin\Wp\Plugins\LanguageHelper; 12 use AppfulPlugin\Wp\Plugins\RoleHelper;13 10 use WP_Post; 14 11 … … 70 67 $args = [ 71 68 "numberposts" => - 1, 69 "include" => $ids, 72 70 "post_status" => self::get_allowed_post_stati() 73 71 ]; … … 92 90 global $wp_query; 93 91 94 do_action( 'template_redirect' );95 96 92 $args = [ 97 93 "posts_per_page" => 1, … … 102 98 103 99 $wp_query = new \WP_Query( $args ); 100 101 do_action( 'template_redirect' ); 102 104 103 if ( have_posts() ) { 105 104 the_post(); -
appful-app/tags/3.1.14/lib/vendor/composer/autoload_classmap.php
r2971234 r2978062 48 48 'AppfulPlugin\\Api\\Handlers\\LogRequestHandler' => $baseDir . '/../includes/api/handlers/LogRequestHandler.php', 49 49 'AppfulPlugin\\Api\\Handlers\\PageSyncRequestHandler' => $baseDir . '/../includes/api/handlers/PageSyncRequestHandler.php', 50 'AppfulPlugin\\Api\\Handlers\\Page\\GetPageContentRequestHandler' => $baseDir . '/../includes/api/handlers/page/GetPageContentRequestHandler.php', 50 51 'AppfulPlugin\\Api\\Handlers\\PostSyncRequestHandler' => $baseDir . '/../includes/api/handlers/PostSyncRequestHandler.php', 51 52 'AppfulPlugin\\Api\\Handlers\\PullLocalPageContentRequestHandler' => $baseDir . '/../includes/api/handlers/PullLocalPageContentRequestHandler.php', -
appful-app/tags/3.1.14/lib/vendor/composer/autoload_psr4.php
r2971246 r2978062 10 10 'Symfony\\Polyfill\\Mbstring\\' => array($vendorDir . '/symfony/polyfill-mbstring'), 11 11 'Symfony\\Polyfill\\Ctype\\' => array($vendorDir . '/symfony/polyfill-ctype'), 12 'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http- message/src', $vendorDir . '/psr/http-factory/src'),12 'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-factory/src', $vendorDir . '/psr/http-message/src'), 13 13 'Psr\\Http\\Client\\' => array($vendorDir . '/psr/http-client/src'), 14 14 'GuzzleHttp\\Psr7\\' => array($vendorDir . '/guzzlehttp/psr7/src'), … … 31 31 'AppfulPlugin\\Api\\Requests\\' => array($baseDir . '/../includes/api/requests'), 32 32 'AppfulPlugin\\Api\\Mapper\\' => array($baseDir . '/../includes/api/mapper'), 33 'AppfulPlugin\\Api\\Handlers\\Page\\' => array($baseDir . '/../includes/api/handlers/page'), 33 34 'AppfulPlugin\\Api\\Handlers\\' => array($baseDir . '/../includes/api/handlers'), 34 35 'AppfulPlugin\\Api\\Dtos\\' => array($baseDir . '/../includes/api/dtos'), -
appful-app/tags/3.1.14/lib/vendor/composer/autoload_static.php
r2971246 r2978062 55 55 'AppfulPlugin\\Api\\Requests\\' => 26, 56 56 'AppfulPlugin\\Api\\Mapper\\' => 24, 57 'AppfulPlugin\\Api\\Handlers\\Page\\' => 31, 57 58 'AppfulPlugin\\Api\\Handlers\\' => 26, 58 59 'AppfulPlugin\\Api\\Dtos\\' => 22, … … 77 78 'Psr\\Http\\Message\\' => 78 79 array ( 79 0 => __DIR__ . '/..' . '/psr/http- message/src',80 1 => __DIR__ . '/..' . '/psr/http- factory/src',80 0 => __DIR__ . '/..' . '/psr/http-factory/src', 81 1 => __DIR__ . '/..' . '/psr/http-message/src', 81 82 ), 82 83 'Psr\\Http\\Client\\' => … … 159 160 array ( 160 161 0 => __DIR__ . '/../..' . '/../includes/api/mapper', 162 ), 163 'AppfulPlugin\\Api\\Handlers\\Page\\' => 164 array ( 165 0 => __DIR__ . '/../..' . '/../includes/api/handlers/page', 161 166 ), 162 167 'AppfulPlugin\\Api\\Handlers\\' => … … 220 225 'AppfulPlugin\\Api\\Handlers\\LogRequestHandler' => __DIR__ . '/../..' . '/../includes/api/handlers/LogRequestHandler.php', 221 226 'AppfulPlugin\\Api\\Handlers\\PageSyncRequestHandler' => __DIR__ . '/../..' . '/../includes/api/handlers/PageSyncRequestHandler.php', 227 'AppfulPlugin\\Api\\Handlers\\Page\\GetPageContentRequestHandler' => __DIR__ . '/../..' . '/../includes/api/handlers/page/GetPageContentRequestHandler.php', 222 228 'AppfulPlugin\\Api\\Handlers\\PostSyncRequestHandler' => __DIR__ . '/../..' . '/../includes/api/handlers/PostSyncRequestHandler.php', 223 229 'AppfulPlugin\\Api\\Handlers\\PullLocalPageContentRequestHandler' => __DIR__ . '/../..' . '/../includes/api/handlers/PullLocalPageContentRequestHandler.php', -
appful-app/tags/3.1.14/lib/vendor/composer/installed.php
r2971246 r2978062 4 4 'pretty_version' => 'dev-main', 5 5 'version' => 'dev-main', 6 'reference' => ' a41c8eaf59317be2933b3fc5141c44c0cd0052d1',6 'reference' => '2ba6b06d04004a7d391027374cc785e0853d4186', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 14 14 'pretty_version' => 'dev-main', 15 15 'version' => 'dev-main', 16 'reference' => ' a41c8eaf59317be2933b3fc5141c44c0cd0052d1',16 'reference' => '2ba6b06d04004a7d391027374cc785e0853d4186', 17 17 'type' => 'library', 18 18 'install_path' => __DIR__ . '/../../', -
appful-app/tags/3.1.14/readme.txt
r2971246 r2978062 6 6 Tested up to: 6.3 7 7 Requires PHP: 7.4 8 Stable tag: 3.1.1 38 Stable tag: 3.1.14 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
r2971246 r2978062 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.1 314 * Version: 3.1.14 15 15 * Requires at least: 5.8 16 16 * Requires PHP: 7.4 -
appful-app/trunk/includes/api/Endpoints.php
r2971184 r2978062 38 38 39 39 public static string $HOOK = "/appful/api"; 40 public static string $CREATE_COMMENT = "create-comment"; 41 public static string $AUTHENTICATE_USER = "authenticate-user"; 40 public static string $CREATE_COMMENT_HOOK = "create-comment"; 41 public static string $AUTHENTICATE_USER_HOOK = "authenticate-user"; 42 public static string $GET_PAGE_CONTENT_HOOK = "get-page-content-hook"; 42 43 } -
appful-app/trunk/includes/api/ReqHandler.php
r2971184 r2978062 23 23 use AppfulPlugin\Api\Handlers\InfoRequestHandler; 24 24 use AppfulPlugin\Api\Handlers\LogRequestHandler; 25 use AppfulPlugin\Api\Handlers\Page\GetPageContentRequestHandler; 25 26 use AppfulPlugin\Api\Handlers\PageSyncRequestHandler; 26 27 use AppfulPlugin\Api\Handlers\PostSyncRequestHandler; … … 70 71 new GetPageContentsRequestHandler( $use_case_manager->pages()->get_page_contents_by_id_use_case() ), 71 72 new PullLocalPageContentRequestHandler( $use_case_manager->pages()->get_local_page_content_by_id_use_case() ), 73 new GetPageContentRequestHandler( $use_case_manager->pages()->get_page_contents_by_id_use_case() ), 72 74 ]; 73 75 } -
appful-app/trunk/includes/api/dtos/BlogHooksDto.php
r2920040 r2978062 6 6 public ?string $create_comment; 7 7 public ?string $authenticate_user; 8 public ?string $get_page_content; 8 9 9 public function __construct( ?string $create_comment, ?string $authenticate_user ) { 10 public function __construct( 11 ?string $create_comment, 12 ?string $authenticate_user, 13 ?string $get_page_content 14 ) { 10 15 $this->create_comment = $create_comment; 11 16 $this->authenticate_user = $authenticate_user; 17 $this->get_page_content = $get_page_content; 12 18 } 13 19 } -
appful-app/trunk/includes/api/dtos/BlogInfoDto.php
r2920030 r2978062 9 9 public string $token; 10 10 public ?BlogHooksDto $hooks; 11 public string $version; 11 12 12 public function __construct( string $hostname, string $site_url, array $languages, string $token, ?BlogHooksDto $hooks ) {13 public function __construct( string $hostname, string $site_url, array $languages, string $token, ?BlogHooksDto $hooks, string $version ) { 13 14 $this->hostname = $hostname; 14 15 $this->site_url = $site_url; 15 16 $this->languages = $languages; 16 $this->token = $token;17 $this->token = $token; 17 18 $this->hooks = $hooks; 19 $this->version = $version; 18 20 } 19 21 } -
appful-app/trunk/includes/api/handlers/AuthenticateUserRequestHandler.php
r2920040 r2978062 20 20 21 21 public function can_handle_request( PluginRequest $request ): bool { 22 return $request->get_action() == Endpoints::$AUTHENTICATE_USER ;22 return $request->get_action() == Endpoints::$AUTHENTICATE_USER_HOOK; 23 23 } 24 24 -
appful-app/trunk/includes/api/handlers/CreateCommentRequestHandler.php
r2954441 r2978062 21 21 22 22 public function can_handle_request( PluginRequest $request ): bool { 23 return $request->get_action() == Endpoints::$CREATE_COMMENT ;23 return $request->get_action() == Endpoints::$CREATE_COMMENT_HOOK; 24 24 } 25 25 -
appful-app/trunk/includes/api/handlers/InfoRequestHandler.php
r2907312 r2978062 4 4 5 5 use AppfulPlugin\Api\Endpoints; 6 use AppfulPlugin\Api\Mapper\BlogInfoMapper; 6 7 use AppfulPlugin\Api\Requests\PluginRequest; 7 8 use AppfulPlugin\Api\Responses\PluginResponse; … … 23 24 Logger::log( "Found handler for Appful request" ); 24 25 25 $blog_info = $this->get_blog_info_use_case->invoke(); 26 $blog_info = $this->get_blog_info_use_case->invoke(); 27 $blog_info_dto = BlogInfoMapper::to_dto( $blog_info ); 26 28 27 return PluginResponse::plugin_response()->body( $blog_info );29 return PluginResponse::plugin_response()->body( $blog_info_dto ); 28 30 } 29 31 } -
appful-app/trunk/includes/api/mapper/BlogHooksMapper.php
r2920040 r2978062 10 10 return new BlogHooksDto( 11 11 $blog_hooks->get_create_comment(), 12 $blog_hooks->get_authenticate_user() 12 $blog_hooks->get_authenticate_user(), 13 $blog_hooks->get_get_page_content() 13 14 ); 14 15 } -
appful-app/trunk/includes/api/mapper/BlogInfoMapper.php
r2920030 r2978062 13 13 $blog_info->get_languages(), 14 14 $blog_info->get_token(), 15 BlogHooksMapper::to_dto( $blog_info->get_hooks() ) 15 BlogHooksMapper::to_dto( $blog_info->get_hooks() ), 16 "3.1.14", 16 17 ); 17 18 } -
appful-app/trunk/includes/domain/BlogHooks.php
r2920040 r2978062 6 6 private ?string $create_comment = null; 7 7 private ?string $authenticate_user = null; 8 private ?string $get_page_content = null; 8 9 9 public static function blog_hooks( 10 ?string $create_comment = null, 11 ?string $authenticate_user = null 12 ): BlogHooks { 13 return ( new BlogHooks() ) 14 ->create_comment( $create_comment ) 15 ->authenticate_user( $authenticate_user ); 10 private function __construct() { 11 } 12 13 public static function init(): BlogHooks { 14 return new BlogHooks(); 16 15 } 17 16 … … 28 27 } 29 28 29 public function get_page_content( ?string $get_page_content ): BlogHooks { 30 $this->get_page_content = $get_page_content; 31 32 return $this; 33 } 34 30 35 public function get_create_comment(): ?string { 31 36 return $this->create_comment; … … 35 40 return $this->authenticate_user; 36 41 } 42 43 public function get_get_page_content(): ?string { 44 return $this->get_page_content; 45 } 37 46 } -
appful-app/trunk/includes/domain/BlogInfo.php
r2920030 r2978062 22 22 ->languages( $languages ) 23 23 ->token( $token ) 24 ->hooks( $hooks ?? new BlogHooks() );24 ->hooks( $hooks ?? BlogHooks::init() ); 25 25 } 26 26 -
appful-app/trunk/includes/use_cases/GetBlogInfoUseCase.php
r2907312 r2978062 3 3 namespace AppfulPlugin\UseCases; 4 4 5 use AppfulPlugin\Domain\BlogInfo; 6 use AppfulPlugin\Wp\WPBlogManager; 7 5 8 class GetBlogInfoUseCase { 6 public function invoke(): array{7 return [ "status" => "OK" ];9 public function invoke(): BlogInfo { 10 return WPBlogManager::get_blog_info(); 8 11 } 9 12 } -
appful-app/trunk/includes/use_cases/page/GetPageContentsByIdUseCase.php
r2971184 r2978062 4 4 5 5 use AppfulPlugin\Domain\PageContent; 6 use AppfulPlugin\Wp\WPPageManager; 6 7 7 8 class GetPageContentsByIdUseCase { … … 20 21 $page_contents = []; 21 22 22 foreach ( $ids as $page_id ) { 23 $response = $this->pull_local_page_content_use_case->invoke( $page_id, $user_id ); 24 if ( $response != null ) { 25 $page_contents[] = $response; 26 } 27 } 23 $page_contents = WPPageManager::get_page_contents_by_ids($ids, $user_id); 24 // Uncomment if for some reason fetching all pages at once should not work 25 // foreach ( $ids as $page_id ) { 26 // $response = $this->pull_local_page_content_use_case->invoke( $page_id, $user_id ); 27 // if ( $response != null ) { 28 // $page_contents[] = $response; 29 // } 30 // } 28 31 29 32 return $page_contents; -
appful-app/trunk/includes/wp/WPAttachmentManager.php
r2910521 r2978062 94 94 $args = [ 95 95 "post_type" => "attachment", 96 "include" => $ids, 96 97 "numberposts" => - 1 97 98 ]; -
appful-app/trunk/includes/wp/WPBlogManager.php
r2920184 r2978062 20 20 21 21 private static function get_hooks(): BlogHooks { 22 return BlogHooks::blog_hooks() 23 ->create_comment( self::get_site_url() . Endpoints::$HOOK . "/" . Endpoints::$CREATE_COMMENT ) 24 ->authenticate_user( self::get_site_url() . Endpoints::$HOOK . "/" . Endpoints::$AUTHENTICATE_USER ); 22 return BlogHooks::init() 23 ->create_comment( self::get_site_url() . Endpoints::$HOOK . "/" . Endpoints::$CREATE_COMMENT_HOOK ) 24 ->authenticate_user( self::get_site_url() . Endpoints::$HOOK . "/" . Endpoints::$AUTHENTICATE_USER_HOOK ) 25 ->get_page_content( self::get_site_url() . Endpoints::$HOOK . "/" . Endpoints::$GET_PAGE_CONTENT_HOOK ); 25 26 } 26 27 -
appful-app/trunk/includes/wp/WPPageManager.php
r2971184 r2978062 86 86 87 87 $wp_query = new \WP_Query( $args ); 88 89 do_action( 'template_redirect' ); 90 88 91 if ( have_posts() ) { 89 92 the_post(); … … 118 121 } 119 122 123 public static function get_page_contents_by_ids( array $ids, ?int $user_id = null ): array { 124 global $wp_query; 125 126 if ( $user_id ) { 127 wp_set_current_user( $user_id ); 128 } 129 130 $args = [ 131 "posts_per_page" => - 1, 132 "post_type" => "page", 133 "post__in" => $ids, 134 "post_status" => self::get_allowed_page_stati() 135 ]; 136 137 $wp_query = new \WP_Query( $args ); 138 139 do_action( 'template_redirect' ); 140 141 $pages = []; 142 143 if ( have_posts() ) { 144 ob_start(); 145 wp_head(); 146 $head = ob_get_clean(); 147 148 ob_start(); 149 body_class(); 150 $body_class = ob_get_clean(); 151 152 while ( have_posts() ) { 153 the_post(); 154 155 ob_start(); 156 the_content(); 157 $content = ob_get_clean(); 158 159 $pages[] = PageContent::pageContent() 160 ->id( get_the_ID() ) 161 ->content( $content ) 162 ->head( $head ) 163 ->footer( "" ) 164 ->body_class( $body_class ); 165 } 166 167 ob_start(); 168 wp_footer(); 169 $footer = ob_get_clean(); 170 171 $pages = array_map( function ( PageContent $content ) use ( $footer ) { 172 return $content->footer( $footer ); 173 }, $pages ); 174 } 175 176 wp_reset_postdata(); 177 178 return $pages; 179 } 180 120 181 /** 121 182 * @return string[] -
appful-app/trunk/includes/wp/WPPostManager.php
r2962811 r2978062 5 5 use AppfulPlugin\Domain\Post; 6 6 use AppfulPlugin\Domain\PostContent; 7 use AppfulPlugin\Domain\Role;8 use AppfulPlugin\Domain\UserRole;9 7 use AppfulPlugin\Helper\Constants; 10 8 use AppfulPlugin\Wp\Mapper\PostMapper; 11 9 use AppfulPlugin\Wp\Plugins\LanguageHelper; 12 use AppfulPlugin\Wp\Plugins\RoleHelper;13 10 use WP_Post; 14 11 … … 70 67 $args = [ 71 68 "numberposts" => - 1, 69 "include" => $ids, 72 70 "post_status" => self::get_allowed_post_stati() 73 71 ]; … … 92 90 global $wp_query; 93 91 94 do_action( 'template_redirect' );95 96 92 $args = [ 97 93 "posts_per_page" => 1, … … 102 98 103 99 $wp_query = new \WP_Query( $args ); 100 101 do_action( 'template_redirect' ); 102 104 103 if ( have_posts() ) { 105 104 the_post(); -
appful-app/trunk/lib/vendor/composer/autoload_classmap.php
r2971234 r2978062 48 48 'AppfulPlugin\\Api\\Handlers\\LogRequestHandler' => $baseDir . '/../includes/api/handlers/LogRequestHandler.php', 49 49 'AppfulPlugin\\Api\\Handlers\\PageSyncRequestHandler' => $baseDir . '/../includes/api/handlers/PageSyncRequestHandler.php', 50 'AppfulPlugin\\Api\\Handlers\\Page\\GetPageContentRequestHandler' => $baseDir . '/../includes/api/handlers/page/GetPageContentRequestHandler.php', 50 51 'AppfulPlugin\\Api\\Handlers\\PostSyncRequestHandler' => $baseDir . '/../includes/api/handlers/PostSyncRequestHandler.php', 51 52 'AppfulPlugin\\Api\\Handlers\\PullLocalPageContentRequestHandler' => $baseDir . '/../includes/api/handlers/PullLocalPageContentRequestHandler.php', -
appful-app/trunk/lib/vendor/composer/autoload_psr4.php
r2971246 r2978062 10 10 'Symfony\\Polyfill\\Mbstring\\' => array($vendorDir . '/symfony/polyfill-mbstring'), 11 11 'Symfony\\Polyfill\\Ctype\\' => array($vendorDir . '/symfony/polyfill-ctype'), 12 'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http- message/src', $vendorDir . '/psr/http-factory/src'),12 'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-factory/src', $vendorDir . '/psr/http-message/src'), 13 13 'Psr\\Http\\Client\\' => array($vendorDir . '/psr/http-client/src'), 14 14 'GuzzleHttp\\Psr7\\' => array($vendorDir . '/guzzlehttp/psr7/src'), … … 31 31 'AppfulPlugin\\Api\\Requests\\' => array($baseDir . '/../includes/api/requests'), 32 32 'AppfulPlugin\\Api\\Mapper\\' => array($baseDir . '/../includes/api/mapper'), 33 'AppfulPlugin\\Api\\Handlers\\Page\\' => array($baseDir . '/../includes/api/handlers/page'), 33 34 'AppfulPlugin\\Api\\Handlers\\' => array($baseDir . '/../includes/api/handlers'), 34 35 'AppfulPlugin\\Api\\Dtos\\' => array($baseDir . '/../includes/api/dtos'), -
appful-app/trunk/lib/vendor/composer/autoload_static.php
r2971246 r2978062 55 55 'AppfulPlugin\\Api\\Requests\\' => 26, 56 56 'AppfulPlugin\\Api\\Mapper\\' => 24, 57 'AppfulPlugin\\Api\\Handlers\\Page\\' => 31, 57 58 'AppfulPlugin\\Api\\Handlers\\' => 26, 58 59 'AppfulPlugin\\Api\\Dtos\\' => 22, … … 77 78 'Psr\\Http\\Message\\' => 78 79 array ( 79 0 => __DIR__ . '/..' . '/psr/http- message/src',80 1 => __DIR__ . '/..' . '/psr/http- factory/src',80 0 => __DIR__ . '/..' . '/psr/http-factory/src', 81 1 => __DIR__ . '/..' . '/psr/http-message/src', 81 82 ), 82 83 'Psr\\Http\\Client\\' => … … 159 160 array ( 160 161 0 => __DIR__ . '/../..' . '/../includes/api/mapper', 162 ), 163 'AppfulPlugin\\Api\\Handlers\\Page\\' => 164 array ( 165 0 => __DIR__ . '/../..' . '/../includes/api/handlers/page', 161 166 ), 162 167 'AppfulPlugin\\Api\\Handlers\\' => … … 220 225 'AppfulPlugin\\Api\\Handlers\\LogRequestHandler' => __DIR__ . '/../..' . '/../includes/api/handlers/LogRequestHandler.php', 221 226 'AppfulPlugin\\Api\\Handlers\\PageSyncRequestHandler' => __DIR__ . '/../..' . '/../includes/api/handlers/PageSyncRequestHandler.php', 227 'AppfulPlugin\\Api\\Handlers\\Page\\GetPageContentRequestHandler' => __DIR__ . '/../..' . '/../includes/api/handlers/page/GetPageContentRequestHandler.php', 222 228 'AppfulPlugin\\Api\\Handlers\\PostSyncRequestHandler' => __DIR__ . '/../..' . '/../includes/api/handlers/PostSyncRequestHandler.php', 223 229 'AppfulPlugin\\Api\\Handlers\\PullLocalPageContentRequestHandler' => __DIR__ . '/../..' . '/../includes/api/handlers/PullLocalPageContentRequestHandler.php', -
appful-app/trunk/lib/vendor/composer/installed.php
r2971246 r2978062 4 4 'pretty_version' => 'dev-main', 5 5 'version' => 'dev-main', 6 'reference' => ' a41c8eaf59317be2933b3fc5141c44c0cd0052d1',6 'reference' => '2ba6b06d04004a7d391027374cc785e0853d4186', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 14 14 'pretty_version' => 'dev-main', 15 15 'version' => 'dev-main', 16 'reference' => ' a41c8eaf59317be2933b3fc5141c44c0cd0052d1',16 'reference' => '2ba6b06d04004a7d391027374cc785e0853d4186', 17 17 'type' => 'library', 18 18 'install_path' => __DIR__ . '/../../', -
appful-app/trunk/readme.txt
r2971246 r2978062 6 6 Tested up to: 6.3 7 7 Requires PHP: 7.4 8 Stable tag: 3.1.1 38 Stable tag: 3.1.14 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.