Changeset 3018629
- Timestamp:
- 01/08/2024 08:41:08 AM (2 years ago)
- Location:
- appful-app
- Files:
-
- 2 added
- 3 deleted
- 106 edited
- 249 copied
-
tags/3.1.16 (copied) (copied from appful-app/trunk)
-
tags/3.1.16/appful-app.php (copied) (copied from appful-app/trunk/appful-app.php) (1 diff)
-
tags/3.1.16/appful.log (copied) (copied from appful-app/trunk/appful.log)
-
tags/3.1.16/frontend/scripts/user.js (copied) (copied from appful-app/trunk/frontend/scripts/user.js)
-
tags/3.1.16/frontend/styles/style.css (copied) (copied from appful-app/trunk/frontend/styles/style.css)
-
tags/3.1.16/frontend/templates/appful_menu_page.html.twig (copied) (copied from appful-app/trunk/frontend/templates/appful_menu_page.html.twig)
-
tags/3.1.16/includes/api/Api.php (copied) (copied from appful-app/trunk/includes/api/Api.php) (1 diff)
-
tags/3.1.16/includes/api/Endpoints.php (copied) (copied from appful-app/trunk/includes/api/Endpoints.php)
-
tags/3.1.16/includes/api/ReqHandler.php (copied) (copied from appful-app/trunk/includes/api/ReqHandler.php) (1 diff)
-
tags/3.1.16/includes/api/Rewrites.php (copied) (copied from appful-app/trunk/includes/api/Rewrites.php) (4 diffs)
-
tags/3.1.16/includes/api/client/BackendClient.php (copied) (copied from appful-app/trunk/includes/api/client/BackendClient.php) (2 diffs)
-
tags/3.1.16/includes/api/client/SelfClient.php (copied) (copied from appful-app/trunk/includes/api/client/SelfClient.php) (1 diff)
-
tags/3.1.16/includes/api/dtos/BlogHooksDto.php (copied) (copied from appful-app/trunk/includes/api/dtos/BlogHooksDto.php)
-
tags/3.1.16/includes/api/dtos/BlogInfoDto.php (copied) (copied from appful-app/trunk/includes/api/dtos/BlogInfoDto.php)
-
tags/3.1.16/includes/api/dtos/PageContentDto.php (copied) (copied from appful-app/trunk/includes/api/dtos/PageContentDto.php)
-
tags/3.1.16/includes/api/dtos/PageDto.php (copied) (copied from appful-app/trunk/includes/api/dtos/PageDto.php)
-
tags/3.1.16/includes/api/dtos/PostDto.php (copied) (copied from appful-app/trunk/includes/api/dtos/PostDto.php)
-
tags/3.1.16/includes/api/dtos/RoleDto.php (copied) (copied from appful-app/trunk/includes/api/dtos/RoleDto.php)
-
tags/3.1.16/includes/api/dtos/SyncItemDto.php (modified) (1 diff)
-
tags/3.1.16/includes/api/dtos/UserDto.php (copied) (copied from appful-app/trunk/includes/api/dtos/UserDto.php)
-
tags/3.1.16/includes/api/dtos/UserRoleDto.php (copied) (copied from appful-app/trunk/includes/api/dtos/UserRoleDto.php)
-
tags/3.1.16/includes/api/handlers/AndroidAssetLinkRequestHandler.php (modified) (1 diff)
-
tags/3.1.16/includes/api/handlers/AppleAppSiteAssociationRequestHandler.php (modified) (1 diff)
-
tags/3.1.16/includes/api/handlers/AttachmentSyncRequestHandler.php (modified) (1 diff)
-
tags/3.1.16/includes/api/handlers/AuthenticateUserRequestHandler.php (copied) (copied from appful-app/trunk/includes/api/handlers/AuthenticateUserRequestHandler.php) (1 diff)
-
tags/3.1.16/includes/api/handlers/CategorySyncRequestHandler.php (modified) (1 diff)
-
tags/3.1.16/includes/api/handlers/ClearLogRequestHandler.php (copied) (copied from appful-app/trunk/includes/api/handlers/ClearLogRequestHandler.php) (1 diff)
-
tags/3.1.16/includes/api/handlers/CommentSyncRequestHandler.php (modified) (1 diff)
-
tags/3.1.16/includes/api/handlers/CreateCommentRequestHandler.php (copied) (copied from appful-app/trunk/includes/api/handlers/CreateCommentRequestHandler.php) (3 diffs)
-
tags/3.1.16/includes/api/handlers/GetAttachmentsRequestHandler.php (modified) (2 diffs)
-
tags/3.1.16/includes/api/handlers/GetCategoriesRequestHandler.php (modified) (2 diffs)
-
tags/3.1.16/includes/api/handlers/GetCommentsRequestHandler.php (modified) (2 diffs)
-
tags/3.1.16/includes/api/handlers/GetPageContentsRequestHandler.php (copied) (copied from appful-app/trunk/includes/api/handlers/GetPageContentsRequestHandler.php) (2 diffs)
-
tags/3.1.16/includes/api/handlers/GetPagesRequestHandler.php (copied) (copied from appful-app/trunk/includes/api/handlers/GetPagesRequestHandler.php) (2 diffs)
-
tags/3.1.16/includes/api/handlers/GetPostContentsRequestHandler.php (modified) (2 diffs)
-
tags/3.1.16/includes/api/handlers/GetPostsRequestHandler.php (modified) (2 diffs)
-
tags/3.1.16/includes/api/handlers/GetRolesRequestHandler.php (copied) (copied from appful-app/trunk/includes/api/handlers/GetRolesRequestHandler.php) (2 diffs)
-
tags/3.1.16/includes/api/handlers/GetTagsRequestHandler.php (modified) (2 diffs)
-
tags/3.1.16/includes/api/handlers/GetUsersRequestHandler.php (modified) (2 diffs)
-
tags/3.1.16/includes/api/handlers/InfoRequestHandler.php (copied) (copied from appful-app/trunk/includes/api/handlers/InfoRequestHandler.php) (1 diff)
-
tags/3.1.16/includes/api/handlers/LogRequestHandler.php (modified) (1 diff)
-
tags/3.1.16/includes/api/handlers/PageSyncRequestHandler.php (copied) (copied from appful-app/trunk/includes/api/handlers/PageSyncRequestHandler.php) (1 diff)
-
tags/3.1.16/includes/api/handlers/PostSyncRequestHandler.php (modified) (1 diff)
-
tags/3.1.16/includes/api/handlers/PullLocalPageContentRequestHandler.php (copied) (copied from appful-app/trunk/includes/api/handlers/PullLocalPageContentRequestHandler.php) (2 diffs)
-
tags/3.1.16/includes/api/handlers/PullLocalPostContentRequestHandler.php (copied) (copied from appful-app/trunk/includes/api/handlers/PullLocalPostContentRequestHandler.php) (2 diffs)
-
tags/3.1.16/includes/api/handlers/RoleSyncRequestHandler.php (copied) (copied from appful-app/trunk/includes/api/handlers/RoleSyncRequestHandler.php) (1 diff)
-
tags/3.1.16/includes/api/handlers/SyncRequestHandler.php (modified) (1 diff)
-
tags/3.1.16/includes/api/handlers/TagSyncRequestHandler.php (modified) (1 diff)
-
tags/3.1.16/includes/api/handlers/UserSyncRequestHandler.php (modified) (1 diff)
-
tags/3.1.16/includes/api/handlers/page (copied) (copied from appful-app/trunk/includes/api/handlers/page)
-
tags/3.1.16/includes/api/handlers/page/GetPageContentRequestHandler.php (modified) (2 diffs)
-
tags/3.1.16/includes/api/mapper/BlogHooksMapper.php (copied) (copied from appful-app/trunk/includes/api/mapper/BlogHooksMapper.php)
-
tags/3.1.16/includes/api/mapper/BlogInfoMapper.php (copied) (copied from appful-app/trunk/includes/api/mapper/BlogInfoMapper.php)
-
tags/3.1.16/includes/api/mapper/PageContentMapper.php (copied) (copied from appful-app/trunk/includes/api/mapper/PageContentMapper.php)
-
tags/3.1.16/includes/api/mapper/PageMapper.php (copied) (copied from appful-app/trunk/includes/api/mapper/PageMapper.php)
-
tags/3.1.16/includes/api/mapper/PostMapper.php (copied) (copied from appful-app/trunk/includes/api/mapper/PostMapper.php)
-
tags/3.1.16/includes/api/mapper/RoleMapper.php (copied) (copied from appful-app/trunk/includes/api/mapper/RoleMapper.php)
-
tags/3.1.16/includes/api/mapper/SyncItemMapper.php (modified) (1 diff)
-
tags/3.1.16/includes/api/mapper/UserMapper.php (copied) (copied from appful-app/trunk/includes/api/mapper/UserMapper.php)
-
tags/3.1.16/includes/api/mapper/UserRoleMapper.php (copied) (copied from appful-app/trunk/includes/api/mapper/UserRoleMapper.php)
-
tags/3.1.16/includes/api/reponses/BackendResponse.php (deleted)
-
tags/3.1.16/includes/api/reponses/HttpResponse.php (copied) (copied from appful-app/trunk/includes/api/reponses/HttpResponse.php)
-
tags/3.1.16/includes/api/requests/BackendRequest.php (deleted)
-
tags/3.1.16/includes/api/requests/HttpRequest.php (copied) (copied from appful-app/trunk/includes/api/requests/HttpRequest.php)
-
tags/3.1.16/includes/custom_taxonomies/AppfulTaxonomies.php (copied) (copied from appful-app/trunk/includes/custom_taxonomies/AppfulTaxonomies.php) (2 diffs)
-
tags/3.1.16/includes/domain/AuthenticateRequest.php (copied) (copied from appful-app/trunk/includes/domain/AuthenticateRequest.php)
-
tags/3.1.16/includes/domain/BlogHooks.php (copied) (copied from appful-app/trunk/includes/domain/BlogHooks.php)
-
tags/3.1.16/includes/domain/BlogInfo.php (copied) (copied from appful-app/trunk/includes/domain/BlogInfo.php)
-
tags/3.1.16/includes/domain/CreateCommentRequest.php (copied) (copied from appful-app/trunk/includes/domain/CreateCommentRequest.php)
-
tags/3.1.16/includes/domain/Page.php (copied) (copied from appful-app/trunk/includes/domain/Page.php)
-
tags/3.1.16/includes/domain/PageContent.php (copied) (copied from appful-app/trunk/includes/domain/PageContent.php)
-
tags/3.1.16/includes/domain/Post.php (copied) (copied from appful-app/trunk/includes/domain/Post.php)
-
tags/3.1.16/includes/domain/Role.php (copied) (copied from appful-app/trunk/includes/domain/Role.php)
-
tags/3.1.16/includes/domain/SyncItem.php (modified) (3 diffs)
-
tags/3.1.16/includes/domain/User.php (copied) (copied from appful-app/trunk/includes/domain/User.php)
-
tags/3.1.16/includes/domain/UserRole.php (copied) (copied from appful-app/trunk/includes/domain/UserRole.php)
-
tags/3.1.16/includes/helper/ClientTokenManager.php (copied) (copied from appful-app/trunk/includes/helper/ClientTokenManager.php)
-
tags/3.1.16/includes/helper/Constants.php (copied) (copied from appful-app/trunk/includes/helper/Constants.php)
-
tags/3.1.16/includes/helper/Logger.php (copied) (copied from appful-app/trunk/includes/helper/Logger.php) (1 diff)
-
tags/3.1.16/includes/helper/LoggerLevel.php (added)
-
tags/3.1.16/includes/hooks/ActivationHook.php (modified) (2 diffs)
-
tags/3.1.16/includes/hooks/AttachmentHook.php (copied) (copied from appful-app/trunk/includes/hooks/AttachmentHook.php) (2 diffs)
-
tags/3.1.16/includes/hooks/CommentHook.php (modified) (2 diffs)
-
tags/3.1.16/includes/hooks/Hooks.php (copied) (copied from appful-app/trunk/includes/hooks/Hooks.php)
-
tags/3.1.16/includes/hooks/PageHook.php (copied) (copied from appful-app/trunk/includes/hooks/PageHook.php) (2 diffs)
-
tags/3.1.16/includes/hooks/PostHook.php (copied) (copied from appful-app/trunk/includes/hooks/PostHook.php) (3 diffs)
-
tags/3.1.16/includes/hooks/SessionHook.php (copied) (copied from appful-app/trunk/includes/hooks/SessionHook.php) (3 diffs)
-
tags/3.1.16/includes/hooks/TaxonomyHook.php (modified) (4 diffs)
-
tags/3.1.16/includes/hooks/UserHook.php (copied) (copied from appful-app/trunk/includes/hooks/UserHook.php) (2 diffs)
-
tags/3.1.16/includes/main/AppfulPlugin.php (copied) (copied from appful-app/trunk/includes/main/AppfulPlugin.php)
-
tags/3.1.16/includes/menu/Menu.php (copied) (copied from appful-app/trunk/includes/menu/Menu.php)
-
tags/3.1.16/includes/use_cases/AttachmentDeleteUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/AttachmentDeleteUseCase.php) (1 diff)
-
tags/3.1.16/includes/use_cases/AttachmentSaveUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/AttachmentSaveUseCase.php) (1 diff)
-
tags/3.1.16/includes/use_cases/AuthenticateUserUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/AuthenticateUserUseCase.php)
-
tags/3.1.16/includes/use_cases/CategoryDeleteUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/CategoryDeleteUseCase.php) (1 diff)
-
tags/3.1.16/includes/use_cases/CategorySaveUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/CategorySaveUseCase.php) (1 diff)
-
tags/3.1.16/includes/use_cases/ClearLogsUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/ClearLogsUseCase.php)
-
tags/3.1.16/includes/use_cases/CommentDeleteUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/CommentDeleteUseCase.php) (1 diff)
-
tags/3.1.16/includes/use_cases/CommentSaveUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/CommentSaveUseCase.php) (1 diff)
-
tags/3.1.16/includes/use_cases/CreateCommentUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/CreateCommentUseCase.php)
-
tags/3.1.16/includes/use_cases/DeleteSessionUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/DeleteSessionUseCase.php) (1 diff)
-
tags/3.1.16/includes/use_cases/GetBlogInfoUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/GetBlogInfoUseCase.php)
-
tags/3.1.16/includes/use_cases/GetLocalPostContentByIdUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/GetLocalPostContentByIdUseCase.php)
-
tags/3.1.16/includes/use_cases/GetPageSyncDataUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/GetPageSyncDataUseCase.php)
-
tags/3.1.16/includes/use_cases/GetPagesByIdUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/GetPagesByIdUseCase.php)
-
tags/3.1.16/includes/use_cases/GetPostContentsByIdUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/GetPostContentsByIdUseCase.php)
-
tags/3.1.16/includes/use_cases/GetRoleSyncDataUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/GetRoleSyncDataUseCase.php)
-
tags/3.1.16/includes/use_cases/GetRolesByIdUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/GetRolesByIdUseCase.php)
-
tags/3.1.16/includes/use_cases/IsLoggedInUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/IsLoggedInUseCase.php)
-
tags/3.1.16/includes/use_cases/LogoutUserUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/LogoutUserUseCase.php) (1 diff)
-
tags/3.1.16/includes/use_cases/PageDeleteUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/PageDeleteUseCase.php) (1 diff)
-
tags/3.1.16/includes/use_cases/PageSaveUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/PageSaveUseCase.php) (1 diff)
-
tags/3.1.16/includes/use_cases/PostDeleteUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/PostDeleteUseCase.php) (1 diff)
-
tags/3.1.16/includes/use_cases/PostSaveUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/PostSaveUseCase.php) (2 diffs)
-
tags/3.1.16/includes/use_cases/PullLocalPostContentUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/PullLocalPostContentUseCase.php) (1 diff)
-
tags/3.1.16/includes/use_cases/RegisterBlogUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/RegisterBlogUseCase.php) (1 diff)
-
tags/3.1.16/includes/use_cases/SendAttachmentChunkSyncUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/SendAttachmentChunkSyncUseCase.php) (1 diff)
-
tags/3.1.16/includes/use_cases/SendCategoryChunkSyncUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/SendCategoryChunkSyncUseCase.php) (1 diff)
-
tags/3.1.16/includes/use_cases/SendCommentChunkSyncUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/SendCommentChunkSyncUseCase.php) (1 diff)
-
tags/3.1.16/includes/use_cases/SendPageChunkSyncUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/SendPageChunkSyncUseCase.php) (1 diff)
-
tags/3.1.16/includes/use_cases/SendPostChunkSyncUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/SendPostChunkSyncUseCase.php) (1 diff)
-
tags/3.1.16/includes/use_cases/SendRoleChunkSyncUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/SendRoleChunkSyncUseCase.php) (1 diff)
-
tags/3.1.16/includes/use_cases/SendTagChunkSyncUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/SendTagChunkSyncUseCase.php) (1 diff)
-
tags/3.1.16/includes/use_cases/SendUserChunkSyncUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/SendUserChunkSyncUseCase.php) (1 diff)
-
tags/3.1.16/includes/use_cases/SyncAllUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/SyncAllUseCase.php)
-
tags/3.1.16/includes/use_cases/SyncPagesUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/SyncPagesUseCase.php)
-
tags/3.1.16/includes/use_cases/SyncRolesUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/SyncRolesUseCase.php)
-
tags/3.1.16/includes/use_cases/TagDeleteUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/TagDeleteUseCase.php) (1 diff)
-
tags/3.1.16/includes/use_cases/TagSaveUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/TagSaveUseCase.php) (1 diff)
-
tags/3.1.16/includes/use_cases/UseCaseManager.php (copied) (copied from appful-app/trunk/includes/use_cases/UseCaseManager.php)
-
tags/3.1.16/includes/use_cases/UserDeleteUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/UserDeleteUseCase.php) (1 diff)
-
tags/3.1.16/includes/use_cases/UserSaveUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/UserSaveUseCase.php) (1 diff)
-
tags/3.1.16/includes/use_cases/page (copied) (copied from appful-app/trunk/includes/use_cases/page)
-
tags/3.1.16/includes/use_cases/page/GetPageContentsByIdUseCase.php (copied) (copied from appful-app/trunk/includes/use_cases/page/GetPageContentsByIdUseCase.php)
-
tags/3.1.16/includes/use_cases/page/PullLocalPageContentUseCase.php (modified) (1 diff)
-
tags/3.1.16/includes/wp/WPAttachmentManager.php (copied) (copied from appful-app/trunk/includes/wp/WPAttachmentManager.php)
-
tags/3.1.16/includes/wp/WPBlogManager.php (copied) (copied from appful-app/trunk/includes/wp/WPBlogManager.php)
-
tags/3.1.16/includes/wp/WPCommentManager.php (copied) (copied from appful-app/trunk/includes/wp/WPCommentManager.php) (1 diff)
-
tags/3.1.16/includes/wp/WPOptionsManager.php (copied) (copied from appful-app/trunk/includes/wp/WPOptionsManager.php)
-
tags/3.1.16/includes/wp/WPPageManager.php (copied) (copied from appful-app/trunk/includes/wp/WPPageManager.php)
-
tags/3.1.16/includes/wp/WPPostManager.php (copied) (copied from appful-app/trunk/includes/wp/WPPostManager.php)
-
tags/3.1.16/includes/wp/WPRoleManager.php (copied) (copied from appful-app/trunk/includes/wp/WPRoleManager.php)
-
tags/3.1.16/includes/wp/WPUserManager.php (copied) (copied from appful-app/trunk/includes/wp/WPUserManager.php)
-
tags/3.1.16/includes/wp/mapper/PageMapper.php (copied) (copied from appful-app/trunk/includes/wp/mapper/PageMapper.php)
-
tags/3.1.16/includes/wp/mapper/PostMapper.php (copied) (copied from appful-app/trunk/includes/wp/mapper/PostMapper.php) (2 diffs)
-
tags/3.1.16/includes/wp/mapper/UserMapper.php (copied) (copied from appful-app/trunk/includes/wp/mapper/UserMapper.php)
-
tags/3.1.16/includes/wp/plugins/LanguageHelper.php (copied) (copied from appful-app/trunk/includes/wp/plugins/LanguageHelper.php)
-
tags/3.1.16/includes/wp/plugins/RoleHelper.php (copied) (copied from appful-app/trunk/includes/wp/plugins/RoleHelper.php)
-
tags/3.1.16/lib/.gitignore (deleted)
-
tags/3.1.16/lib/vendor/autoload.php (copied) (copied from appful-app/trunk/lib/vendor/autoload.php)
-
tags/3.1.16/lib/vendor/bin (copied) (copied from appful-app/trunk/lib/vendor/bin)
-
tags/3.1.16/lib/vendor/composer/ClassLoader.php (copied) (copied from appful-app/trunk/lib/vendor/composer/ClassLoader.php)
-
tags/3.1.16/lib/vendor/composer/autoload_classmap.php (copied) (copied from appful-app/trunk/lib/vendor/composer/autoload_classmap.php) (1 diff)
-
tags/3.1.16/lib/vendor/composer/autoload_files.php (copied) (copied from appful-app/trunk/lib/vendor/composer/autoload_files.php)
-
tags/3.1.16/lib/vendor/composer/autoload_psr4.php (copied) (copied from appful-app/trunk/lib/vendor/composer/autoload_psr4.php)
-
tags/3.1.16/lib/vendor/composer/autoload_real.php (copied) (copied from appful-app/trunk/lib/vendor/composer/autoload_real.php)
-
tags/3.1.16/lib/vendor/composer/autoload_static.php (copied) (copied from appful-app/trunk/lib/vendor/composer/autoload_static.php) (1 diff)
-
tags/3.1.16/lib/vendor/composer/installed.json (copied) (copied from appful-app/trunk/lib/vendor/composer/installed.json)
-
tags/3.1.16/lib/vendor/composer/installed.php (copied) (copied from appful-app/trunk/lib/vendor/composer/installed.php) (2 diffs)
-
tags/3.1.16/lib/vendor/composer/platform_check.php (copied) (copied from appful-app/trunk/lib/vendor/composer/platform_check.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/guzzle/CHANGELOG.md (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/guzzle/CHANGELOG.md)
-
tags/3.1.16/lib/vendor/guzzlehttp/guzzle/README.md (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/guzzle/README.md)
-
tags/3.1.16/lib/vendor/guzzlehttp/guzzle/UPGRADING.md (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/guzzle/UPGRADING.md)
-
tags/3.1.16/lib/vendor/guzzlehttp/guzzle/composer.json (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/guzzle/composer.json)
-
tags/3.1.16/lib/vendor/guzzlehttp/guzzle/src/Client.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/guzzle/src/Client.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/guzzle/src/ClientInterface.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/guzzle/src/ClientInterface.php)
-
tags/3.1.16/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.16/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.16/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.16/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.16/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.16/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.16/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.16/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.16/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.16/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.16/lib/vendor/guzzlehttp/guzzle/src/HandlerStack.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/guzzle/src/HandlerStack.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/guzzle/src/MessageFormatter.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/guzzle/src/MessageFormatter.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/guzzle/src/MessageFormatterInterface.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/guzzle/src/MessageFormatterInterface.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/guzzle/src/Middleware.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/guzzle/src/Middleware.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/guzzle/src/RequestOptions.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/guzzle/src/RequestOptions.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/guzzle/src/RetryMiddleware.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/guzzle/src/RetryMiddleware.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/guzzle/src/TransferStats.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/guzzle/src/TransferStats.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/guzzle/src/Utils.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/guzzle/src/Utils.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/guzzle/src/functions.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/guzzle/src/functions.php)
-
tags/3.1.16/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.16/lib/vendor/guzzlehttp/promises/CHANGELOG.md (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/promises/CHANGELOG.md)
-
tags/3.1.16/lib/vendor/guzzlehttp/promises/README.md (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/promises/README.md)
-
tags/3.1.16/lib/vendor/guzzlehttp/promises/composer.json (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/promises/composer.json)
-
tags/3.1.16/lib/vendor/guzzlehttp/promises/src/AggregateException.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/promises/src/AggregateException.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/promises/src/CancellationException.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/promises/src/CancellationException.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/promises/src/Coroutine.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/promises/src/Coroutine.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/promises/src/Create.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/promises/src/Create.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/promises/src/Each.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/promises/src/Each.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/promises/src/EachPromise.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/promises/src/EachPromise.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/promises/src/FulfilledPromise.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/promises/src/FulfilledPromise.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/promises/src/Is.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/promises/src/Is.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/promises/src/Promise.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/promises/src/Promise.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/promises/src/PromiseInterface.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/promises/src/PromiseInterface.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/promises/src/PromisorInterface.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/promises/src/PromisorInterface.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/promises/src/RejectedPromise.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/promises/src/RejectedPromise.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/promises/src/RejectionException.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/promises/src/RejectionException.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/promises/src/TaskQueue.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/promises/src/TaskQueue.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/promises/src/TaskQueueInterface.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/promises/src/TaskQueueInterface.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/promises/src/Utils.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/promises/src/Utils.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/psr7/CHANGELOG.md (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/CHANGELOG.md)
-
tags/3.1.16/lib/vendor/guzzlehttp/psr7/README.md (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/README.md)
-
tags/3.1.16/lib/vendor/guzzlehttp/psr7/composer.json (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/composer.json)
-
tags/3.1.16/lib/vendor/guzzlehttp/psr7/src/AppendStream.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/AppendStream.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/psr7/src/BufferStream.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/BufferStream.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/psr7/src/FnStream.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/FnStream.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/psr7/src/Header.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/Header.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/psr7/src/HttpFactory.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/HttpFactory.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/psr7/src/InflateStream.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/InflateStream.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/psr7/src/LazyOpenStream.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/LazyOpenStream.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/psr7/src/Message.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/Message.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/psr7/src/MessageTrait.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/MessageTrait.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/psr7/src/MimeType.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/MimeType.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/psr7/src/MultipartStream.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/MultipartStream.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/psr7/src/PumpStream.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/PumpStream.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/psr7/src/Query.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/Query.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/psr7/src/Request.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/Request.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/psr7/src/Response.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/Response.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/psr7/src/Rfc7230.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/Rfc7230.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/psr7/src/ServerRequest.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/ServerRequest.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/psr7/src/Stream.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/Stream.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/psr7/src/StreamWrapper.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/StreamWrapper.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/psr7/src/Uri.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/Uri.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/psr7/src/UriNormalizer.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/UriNormalizer.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/psr7/src/UriResolver.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/UriResolver.php)
-
tags/3.1.16/lib/vendor/guzzlehttp/psr7/src/Utils.php (copied) (copied from appful-app/trunk/lib/vendor/guzzlehttp/psr7/src/Utils.php)
-
tags/3.1.16/lib/vendor/psr/http-client/CHANGELOG.md (copied) (copied from appful-app/trunk/lib/vendor/psr/http-client/CHANGELOG.md)
-
tags/3.1.16/lib/vendor/psr/http-client/README.md (copied) (copied from appful-app/trunk/lib/vendor/psr/http-client/README.md)
-
tags/3.1.16/lib/vendor/psr/http-client/composer.json (copied) (copied from appful-app/trunk/lib/vendor/psr/http-client/composer.json)
-
tags/3.1.16/lib/vendor/psr/http-factory/README.md (copied) (copied from appful-app/trunk/lib/vendor/psr/http-factory/README.md)
-
tags/3.1.16/lib/vendor/psr/http-factory/composer.json (copied) (copied from appful-app/trunk/lib/vendor/psr/http-factory/composer.json)
-
tags/3.1.16/lib/vendor/psr/http-message/README.md (copied) (copied from appful-app/trunk/lib/vendor/psr/http-message/README.md)
-
tags/3.1.16/lib/vendor/psr/http-message/composer.json (copied) (copied from appful-app/trunk/lib/vendor/psr/http-message/composer.json)
-
tags/3.1.16/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.16/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.16/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.16/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.16/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.16/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.16/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.16/lib/vendor/symfony/deprecation-contracts/composer.json (copied) (copied from appful-app/trunk/lib/vendor/symfony/deprecation-contracts/composer.json)
-
tags/3.1.16/lib/vendor/symfony/deprecation-contracts/function.php (copied) (copied from appful-app/trunk/lib/vendor/symfony/deprecation-contracts/function.php)
-
tags/3.1.16/lib/vendor/symfony/polyfill-ctype/LICENSE (copied) (copied from appful-app/trunk/lib/vendor/symfony/polyfill-ctype/LICENSE)
-
tags/3.1.16/lib/vendor/symfony/polyfill-ctype/composer.json (copied) (copied from appful-app/trunk/lib/vendor/symfony/polyfill-ctype/composer.json)
-
tags/3.1.16/lib/vendor/symfony/polyfill-mbstring/LICENSE (copied) (copied from appful-app/trunk/lib/vendor/symfony/polyfill-mbstring/LICENSE)
-
tags/3.1.16/lib/vendor/symfony/polyfill-mbstring/Mbstring.php (copied) (copied from appful-app/trunk/lib/vendor/symfony/polyfill-mbstring/Mbstring.php)
-
tags/3.1.16/lib/vendor/symfony/polyfill-mbstring/bootstrap.php (copied) (copied from appful-app/trunk/lib/vendor/symfony/polyfill-mbstring/bootstrap.php)
-
tags/3.1.16/lib/vendor/symfony/polyfill-mbstring/bootstrap80.php (copied) (copied from appful-app/trunk/lib/vendor/symfony/polyfill-mbstring/bootstrap80.php)
-
tags/3.1.16/lib/vendor/symfony/polyfill-mbstring/composer.json (copied) (copied from appful-app/trunk/lib/vendor/symfony/polyfill-mbstring/composer.json)
-
tags/3.1.16/lib/vendor/twig/twig/CHANGELOG (copied) (copied from appful-app/trunk/lib/vendor/twig/twig/CHANGELOG)
-
tags/3.1.16/lib/vendor/twig/twig/LICENSE (copied) (copied from appful-app/trunk/lib/vendor/twig/twig/LICENSE)
-
tags/3.1.16/lib/vendor/twig/twig/composer.json (copied) (copied from appful-app/trunk/lib/vendor/twig/twig/composer.json)
-
tags/3.1.16/lib/vendor/twig/twig/src/Compiler.php (copied) (copied from appful-app/trunk/lib/vendor/twig/twig/src/Compiler.php)
-
tags/3.1.16/lib/vendor/twig/twig/src/Environment.php (copied) (copied from appful-app/trunk/lib/vendor/twig/twig/src/Environment.php)
-
tags/3.1.16/lib/vendor/twig/twig/src/ExpressionParser.php (copied) (copied from appful-app/trunk/lib/vendor/twig/twig/src/ExpressionParser.php)
-
tags/3.1.16/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.16/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.16/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.16/lib/vendor/twig/twig/src/ExtensionSet.php (copied) (copied from appful-app/trunk/lib/vendor/twig/twig/src/ExtensionSet.php)
-
tags/3.1.16/lib/vendor/twig/twig/src/Lexer.php (copied) (copied from appful-app/trunk/lib/vendor/twig/twig/src/Lexer.php)
-
tags/3.1.16/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.16/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.16/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.16/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.16/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.16/lib/vendor/twig/twig/src/Token.php (copied) (copied from appful-app/trunk/lib/vendor/twig/twig/src/Token.php)
-
tags/3.1.16/lib/vendor/twig/twig/src/TwigFilter.php (copied) (copied from appful-app/trunk/lib/vendor/twig/twig/src/TwigFilter.php)
-
tags/3.1.16/lib/vendor/twig/twig/src/TwigFunction.php (copied) (copied from appful-app/trunk/lib/vendor/twig/twig/src/TwigFunction.php)
-
tags/3.1.16/lib/vendor/twig/twig/src/TwigTest.php (copied) (copied from appful-app/trunk/lib/vendor/twig/twig/src/TwigTest.php)
-
tags/3.1.16/readme.txt (copied) (copied from appful-app/trunk/readme.txt) (1 diff)
-
trunk/appful-app.php (modified) (1 diff)
-
trunk/includes/api/Api.php (modified) (1 diff)
-
trunk/includes/api/ReqHandler.php (modified) (1 diff)
-
trunk/includes/api/Rewrites.php (modified) (4 diffs)
-
trunk/includes/api/client/BackendClient.php (modified) (2 diffs)
-
trunk/includes/api/client/SelfClient.php (modified) (1 diff)
-
trunk/includes/api/dtos/SyncItemDto.php (modified) (1 diff)
-
trunk/includes/api/handlers/AndroidAssetLinkRequestHandler.php (modified) (1 diff)
-
trunk/includes/api/handlers/AppleAppSiteAssociationRequestHandler.php (modified) (1 diff)
-
trunk/includes/api/handlers/AttachmentSyncRequestHandler.php (modified) (1 diff)
-
trunk/includes/api/handlers/AuthenticateUserRequestHandler.php (modified) (1 diff)
-
trunk/includes/api/handlers/CategorySyncRequestHandler.php (modified) (1 diff)
-
trunk/includes/api/handlers/ClearLogRequestHandler.php (modified) (1 diff)
-
trunk/includes/api/handlers/CommentSyncRequestHandler.php (modified) (1 diff)
-
trunk/includes/api/handlers/CreateCommentRequestHandler.php (modified) (3 diffs)
-
trunk/includes/api/handlers/GetAttachmentsRequestHandler.php (modified) (2 diffs)
-
trunk/includes/api/handlers/GetCategoriesRequestHandler.php (modified) (2 diffs)
-
trunk/includes/api/handlers/GetCommentsRequestHandler.php (modified) (2 diffs)
-
trunk/includes/api/handlers/GetPageContentsRequestHandler.php (modified) (2 diffs)
-
trunk/includes/api/handlers/GetPagesRequestHandler.php (modified) (2 diffs)
-
trunk/includes/api/handlers/GetPostContentsRequestHandler.php (modified) (2 diffs)
-
trunk/includes/api/handlers/GetPostsRequestHandler.php (modified) (2 diffs)
-
trunk/includes/api/handlers/GetRolesRequestHandler.php (modified) (2 diffs)
-
trunk/includes/api/handlers/GetTagsRequestHandler.php (modified) (2 diffs)
-
trunk/includes/api/handlers/GetUsersRequestHandler.php (modified) (2 diffs)
-
trunk/includes/api/handlers/InfoRequestHandler.php (modified) (1 diff)
-
trunk/includes/api/handlers/LogRequestHandler.php (modified) (1 diff)
-
trunk/includes/api/handlers/PageSyncRequestHandler.php (modified) (1 diff)
-
trunk/includes/api/handlers/PostSyncRequestHandler.php (modified) (1 diff)
-
trunk/includes/api/handlers/PullLocalPageContentRequestHandler.php (modified) (2 diffs)
-
trunk/includes/api/handlers/PullLocalPostContentRequestHandler.php (modified) (2 diffs)
-
trunk/includes/api/handlers/RoleSyncRequestHandler.php (modified) (1 diff)
-
trunk/includes/api/handlers/SyncRequestHandler.php (modified) (1 diff)
-
trunk/includes/api/handlers/TagSyncRequestHandler.php (modified) (1 diff)
-
trunk/includes/api/handlers/UserSyncRequestHandler.php (modified) (1 diff)
-
trunk/includes/api/handlers/page/GetPageContentRequestHandler.php (modified) (2 diffs)
-
trunk/includes/api/mapper/SyncItemMapper.php (modified) (1 diff)
-
trunk/includes/custom_taxonomies/AppfulTaxonomies.php (modified) (2 diffs)
-
trunk/includes/domain/SyncItem.php (modified) (3 diffs)
-
trunk/includes/helper/Logger.php (modified) (1 diff)
-
trunk/includes/helper/LoggerLevel.php (added)
-
trunk/includes/hooks/ActivationHook.php (modified) (2 diffs)
-
trunk/includes/hooks/AttachmentHook.php (modified) (2 diffs)
-
trunk/includes/hooks/CommentHook.php (modified) (2 diffs)
-
trunk/includes/hooks/PageHook.php (modified) (2 diffs)
-
trunk/includes/hooks/PostHook.php (modified) (3 diffs)
-
trunk/includes/hooks/SessionHook.php (modified) (3 diffs)
-
trunk/includes/hooks/TaxonomyHook.php (modified) (4 diffs)
-
trunk/includes/hooks/UserHook.php (modified) (2 diffs)
-
trunk/includes/use_cases/AttachmentDeleteUseCase.php (modified) (1 diff)
-
trunk/includes/use_cases/AttachmentSaveUseCase.php (modified) (1 diff)
-
trunk/includes/use_cases/CategoryDeleteUseCase.php (modified) (1 diff)
-
trunk/includes/use_cases/CategorySaveUseCase.php (modified) (1 diff)
-
trunk/includes/use_cases/CommentDeleteUseCase.php (modified) (1 diff)
-
trunk/includes/use_cases/CommentSaveUseCase.php (modified) (1 diff)
-
trunk/includes/use_cases/DeleteSessionUseCase.php (modified) (1 diff)
-
trunk/includes/use_cases/LogoutUserUseCase.php (modified) (1 diff)
-
trunk/includes/use_cases/PageDeleteUseCase.php (modified) (1 diff)
-
trunk/includes/use_cases/PageSaveUseCase.php (modified) (1 diff)
-
trunk/includes/use_cases/PostDeleteUseCase.php (modified) (1 diff)
-
trunk/includes/use_cases/PostSaveUseCase.php (modified) (2 diffs)
-
trunk/includes/use_cases/PullLocalPostContentUseCase.php (modified) (1 diff)
-
trunk/includes/use_cases/RegisterBlogUseCase.php (modified) (1 diff)
-
trunk/includes/use_cases/SendAttachmentChunkSyncUseCase.php (modified) (1 diff)
-
trunk/includes/use_cases/SendCategoryChunkSyncUseCase.php (modified) (1 diff)
-
trunk/includes/use_cases/SendCommentChunkSyncUseCase.php (modified) (1 diff)
-
trunk/includes/use_cases/SendPageChunkSyncUseCase.php (modified) (1 diff)
-
trunk/includes/use_cases/SendPostChunkSyncUseCase.php (modified) (1 diff)
-
trunk/includes/use_cases/SendRoleChunkSyncUseCase.php (modified) (1 diff)
-
trunk/includes/use_cases/SendTagChunkSyncUseCase.php (modified) (1 diff)
-
trunk/includes/use_cases/SendUserChunkSyncUseCase.php (modified) (1 diff)
-
trunk/includes/use_cases/TagDeleteUseCase.php (modified) (1 diff)
-
trunk/includes/use_cases/TagSaveUseCase.php (modified) (1 diff)
-
trunk/includes/use_cases/UserDeleteUseCase.php (modified) (1 diff)
-
trunk/includes/use_cases/UserSaveUseCase.php (modified) (1 diff)
-
trunk/includes/use_cases/page/PullLocalPageContentUseCase.php (modified) (1 diff)
-
trunk/includes/wp/WPCommentManager.php (modified) (1 diff)
-
trunk/includes/wp/mapper/PostMapper.php (modified) (2 diffs)
-
trunk/lib/vendor/composer/autoload_classmap.php (modified) (1 diff)
-
trunk/lib/vendor/composer/autoload_static.php (modified) (1 diff)
-
trunk/lib/vendor/composer/installed.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
appful-app/tags/3.1.16/appful-app.php
r2982658 r3018629 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 514 * Version: 3.1.16 15 15 * Requires at least: 5.8 16 16 * Requires PHP: 7.4 -
appful-app/tags/3.1.16/includes/api/Api.php
r2954441 r3018629 28 28 if ( get_query_var( "appful", 0 ) != 0 ) { 29 29 $action = get_query_var( "appful_action" ); 30 Logger:: log( "Handling WP Plugin request from Appful, action: " . $action );30 Logger::debug( "Handling WP Plugin request from Appful, action: " . $action ); 31 31 32 32 $request = PluginRequest::plugin_request()->action( $action ); -
appful-app/tags/3.1.16/includes/api/ReqHandler.php
r2978062 r3018629 84 84 } 85 85 86 Logger:: log( "Did not find handler for action: " . $request->get_action() );86 Logger::error( "Did not find handler for action: " . $request->get_action() ); 87 87 88 88 return PluginResponse::plugin_response()->status( 404 ); -
appful-app/tags/3.1.16/includes/api/Rewrites.php
r2920603 r3018629 29 29 30 30 public function enable_rewrite() { 31 Logger:: log( "Add filter for enabling rewrite rules" );31 Logger::debug( "Add filter for enabling rewrite rules" ); 32 32 add_filter( 33 33 "rewrite_rules_array", … … 42 42 43 43 private function enabled_rewrite_rules( $rules ): array { 44 Logger:: log( "Enabling rewrite rules" );44 Logger::debug( "Enabling rewrite rules" ); 45 45 46 46 if ( $rules == null ) { … … 65 65 66 66 public function disable_rewrite() { 67 Logger:: log( "Remove filter for enabling rewrite rules" );67 Logger::info( "Remove filter for enabling rewrite rules" ); 68 68 add_filter( 69 69 "rewrite_rules_array", … … 78 78 79 79 private function disabled_rewrite_rules( $rules ): array { 80 Logger:: log( "Disabling rewrite rules" );80 Logger::info( "Disabling rewrite rules" ); 81 81 82 82 if ( $rules == null ) { -
appful-app/tags/3.1.16/includes/api/client/BackendClient.php
r2971184 r3018629 40 40 41 41 if ( $response->getStatusCode() != 200 ) { 42 Logger:: log( "Received non 200 status code (" . $response->getStatusCode() . ") for request path: " . $request_path . " with request body: " . $backend_request->get_body() );42 Logger::error( "Received non 200 status code (" . $response->getStatusCode() . ") for request path: " . $request_path . " with request body: " . $backend_request->get_body() ); 43 43 $response_body = [ "error" => $response->getBody() ]; 44 44 } else { … … 53 53 return HttpResponse::backend_response()->body( $response_body )->status( $response->getStatusCode() ); 54 54 } catch ( GuzzleException $e ) { 55 Logger:: log( "Error happened when trying to execute backend request: " . $e->getMessage() );55 Logger::error( "Error happened when trying to execute backend request: " . $e->getMessage() ); 56 56 57 57 return HttpResponse::backend_response()->status( 500 ); -
appful-app/tags/3.1.16/includes/api/client/SelfClient.php
r2971184 r3018629 36 36 37 37 if ( $response->getStatusCode() != 200 ) { 38 Logger:: log( "Received non 200 status code (" . $response->getStatusCode() . ") for local request path: " . $request_url . " with request body: " . json_decode( $backend_request->get_body() ) );38 Logger::error( "Received non 200 status code (" . $response->getStatusCode() . ") for local request path: " . $request_url . " with request body: " . json_decode( $backend_request->get_body() ) ); 39 39 } 40 40 41 41 return HttpResponse::backend_response()->body( json_decode( $response->getBody(), true ) )->status( $response->getStatusCode() ); 42 42 } catch ( GuzzleException $e ) { 43 Logger:: log( "Error happened when trying to execute backend request: " . $e->getMessage() );43 Logger::error( "Error happened when trying to execute backend request: " . $e->getMessage() ); 44 44 45 45 return HttpResponse::backend_response()->status( 500 ); -
appful-app/tags/3.1.16/includes/api/dtos/SyncItemDto.php
r2907312 r3018629 6 6 public int $id = - 1; 7 7 public string $modified = ""; 8 public bool $force_update = false; 8 9 9 public function __construct( int $id, string $modified ) { 10 $this->id = $id; 11 $this->modified = $modified; 10 public function __construct( int $id, string $modified, bool $force_update ) { 11 $this->id = $id; 12 $this->modified = $modified; 13 $this->force_update = $force_update; 12 14 } 13 15 } -
appful-app/tags/3.1.16/includes/api/handlers/AndroidAssetLinkRequestHandler.php
r2912562 r3018629 21 21 22 22 public function handle_request( PluginRequest $request ): PluginResponse { 23 Logger:: log( "Found handler for Appful request" );23 Logger::debug( "Found handler for Appful request" ); 24 24 $value = $this->get_android_asset_link_use_case->invoke(); 25 25 if ( $value == null ) { -
appful-app/tags/3.1.16/includes/api/handlers/AppleAppSiteAssociationRequestHandler.php
r2912562 r3018629 21 21 22 22 public function handle_request( PluginRequest $request ): PluginResponse { 23 Logger:: log( "Found handler for Appful request" );23 Logger::debug( "Found handler for Appful request" ); 24 24 $value = $this->get_apple_app_site_association_use_case->invoke(); 25 25 if ( $value == null ) { -
appful-app/tags/3.1.16/includes/api/handlers/AttachmentSyncRequestHandler.php
r2907312 r3018629 23 23 24 24 public function handle_request( PluginRequest $request ): PluginResponse { 25 Logger:: log( "Found handler for Appful request" );25 Logger::debug( "Found handler for Appful request" ); 26 26 27 27 // Because there could be a huge amount of posts, increase the timeout to 10min -
appful-app/tags/3.1.16/includes/api/handlers/AuthenticateUserRequestHandler.php
r2978062 r3018629 24 24 25 25 public function handle_request( PluginRequest $request ): PluginResponse { 26 Logger:: log( "Found handler for Appful request" );26 Logger::debug( "Found handler for Appful request" ); 27 27 28 28 $body_input = sanitize_text_field( file_get_contents( 'php://input' ) ); -
appful-app/tags/3.1.16/includes/api/handlers/CategorySyncRequestHandler.php
r2907312 r3018629 23 23 24 24 public function handle_request( PluginRequest $request ): PluginResponse { 25 Logger:: log( "Found handler for Appful request" );25 Logger::debug( "Found handler for Appful request" ); 26 26 27 27 // Because there could be a huge amount of posts, increase the timeout to 10min -
appful-app/tags/3.1.16/includes/api/handlers/ClearLogRequestHandler.php
r2920040 r3018629 21 21 22 22 public function handle_request( PluginRequest $request ): PluginResponse { 23 Logger:: log( "Found handler for Appful request" );23 Logger::debug( "Found handler for Appful request" ); 24 24 25 25 $this->clear_logs_use_case->invoke(); -
appful-app/tags/3.1.16/includes/api/handlers/CommentSyncRequestHandler.php
r2907312 r3018629 23 23 24 24 public function handle_request( PluginRequest $request ): PluginResponse { 25 Logger:: log( "Found handler for Appful request" );25 Logger::debug( "Found handler for Appful request" ); 26 26 27 27 // Because there could be a huge amount of posts, increase the timeout to 10min -
appful-app/tags/3.1.16/includes/api/handlers/CreateCommentRequestHandler.php
r2978062 r3018629 25 25 26 26 public function handle_request( PluginRequest $request ): PluginResponse { 27 Logger:: log( "Found handler for Appful request" );27 Logger::debug( "Found handler for Appful request" ); 28 28 29 29 $body_input = sanitize_text_field( file_get_contents( 'php://input' ) ); … … 32 32 // required fields 33 33 if (!isset($data["username"], $data["email"], $data["content"], $data["post_id"])) { 34 Logger:: log( "Some parametersare missing" );34 Logger::error( "Some parameters for create comment are missing" ); 35 35 return PluginResponse::plugin_response()->status( 400 ); // Bad Request 36 36 } … … 49 49 $comment = $this->create_comment_use_case->invoke( $request ); 50 50 if ( $comment == null ) { 51 Logger:: log( "Creating comment failed" );51 Logger::error( "Creating comment failed" ); 52 52 return PluginResponse::plugin_response()->status( 503 ); 53 53 } -
appful-app/tags/3.1.16/includes/api/handlers/GetAttachmentsRequestHandler.php
r2907312 r3018629 25 25 26 26 public function handle_request( PluginRequest $request ): PluginResponse { 27 Logger:: log( "Found handler for Appful request" );27 Logger::debug( "Found handler for Appful request" ); 28 28 29 29 // Because there could be a huge amount of posts, increase the timeout to 10min … … 42 42 ); 43 43 44 Logger:: log( "Sending attachments for ids " . json_encode( $ids ) );44 Logger::debug( "Sending attachments for ids " . json_encode( $ids ) ); 45 45 46 46 $attachments = $this->get_attachments_by_id_use_case->invoke( $ids ); -
appful-app/tags/3.1.16/includes/api/handlers/GetCategoriesRequestHandler.php
r2907312 r3018629 23 23 24 24 public function handle_request( PluginRequest $request ): PluginResponse { 25 Logger:: log( "Found handler for Appful request" );25 Logger::debug( "Found handler for Appful request" ); 26 26 27 27 // Because there could be a huge amount of posts, increase the timeout to 10min … … 40 40 ); 41 41 42 Logger:: log( "Sending categories for ids " . json_encode( $ids ) );42 Logger::debug( "Sending categories for ids " . json_encode( $ids ) ); 43 43 44 44 $categories = $this->get_categories_by_id_use_case->invoke( $ids ); -
appful-app/tags/3.1.16/includes/api/handlers/GetCommentsRequestHandler.php
r2907312 r3018629 25 25 26 26 public function handle_request( PluginRequest $request ): PluginResponse { 27 Logger:: log( "Found handler for Appful request" );27 Logger::debug( "Found handler for Appful request" ); 28 28 29 29 // Because there could be a huge amount of posts, increase the timeout to 10min … … 42 42 ); 43 43 44 Logger:: log( "Sending comments for ids " . json_encode( $ids ) );44 Logger::debug( "Sending comments for ids " . json_encode( $ids ) ); 45 45 46 46 $comments = $this->get_comments_by_id_use_case->invoke( $ids ); -
appful-app/tags/3.1.16/includes/api/handlers/GetPageContentsRequestHandler.php
r2971184 r3018629 25 25 26 26 public function handle_request( PluginRequest $request ): PluginResponse { 27 Logger:: log( "Found handler for Appful request" );27 Logger::debug( "Found handler for Appful request" ); 28 28 29 29 // Because there could be a huge amount of pages, increase the timeout to 10min … … 48 48 } 49 49 50 Logger:: log( "Sending page contents for ids " . json_encode( $ids ) . " for user " . $user_id );50 Logger::debug( "Sending page contents for ids " . json_encode( $ids ) . " for user " . $user_id ); 51 51 52 52 $page_contents = $this->get_page_contents_by_id_use_case->invoke( $ids, $cleaned_user_id ); -
appful-app/tags/3.1.16/includes/api/handlers/GetPagesRequestHandler.php
r2971184 r3018629 25 25 26 26 public function handle_request( PluginRequest $request ): PluginResponse { 27 Logger:: log( "Found handler for Appful request" );27 Logger::debug( "Found handler for Appful request" ); 28 28 29 29 // Because there could be a huge amount of pages, increase the timeout to 10min … … 42 42 ); 43 43 44 Logger:: log( "Sending pages for ids " . json_encode( $ids ) );44 Logger::debug( "Sending pages for ids " . json_encode( $ids ) ); 45 45 46 46 $pages = $this->get_pages_by_id_use_case->invoke( $ids ); -
appful-app/tags/3.1.16/includes/api/handlers/GetPostContentsRequestHandler.php
r2907312 r3018629 25 25 26 26 public function handle_request( PluginRequest $request ): PluginResponse { 27 Logger:: log( "Found handler for Appful request" );27 Logger::debug( "Found handler for Appful request" ); 28 28 29 29 // Because there could be a huge amount of posts, increase the timeout to 10min … … 42 42 ); 43 43 44 Logger:: log( "Sending post contents for ids " . json_encode( $ids ) );44 Logger::debug( "Sending post contents for ids " . json_encode( $ids ) ); 45 45 46 46 $postContents = $this->get_post_contents_by_id_use_case->invoke( $ids ); -
appful-app/tags/3.1.16/includes/api/handlers/GetPostsRequestHandler.php
r2907312 r3018629 25 25 26 26 public function handle_request( PluginRequest $request ): PluginResponse { 27 Logger:: log( "Found handler for Appful request" );27 Logger::debug( "Found handler for Appful request" ); 28 28 29 29 // Because there could be a huge amount of posts, increase the timeout to 10min … … 42 42 ); 43 43 44 Logger:: log( "Sending posts for ids " . json_encode( $ids ) );44 Logger::debug( "Sending posts for ids " . json_encode( $ids ) ); 45 45 46 46 $posts = $this->get_posts_by_id_use_case->invoke( $ids ); -
appful-app/tags/3.1.16/includes/api/handlers/GetRolesRequestHandler.php
r2962811 r3018629 25 25 26 26 public function handle_request( PluginRequest $request ): PluginResponse { 27 Logger:: log( "Found handler for Appful request" );27 Logger::debug( "Found handler for Appful request" ); 28 28 29 29 // Because there could be a huge amount of roles, increase the timeout to 10min … … 42 42 ); 43 43 44 Logger:: log( "Sending roles for ids " . json_encode( $ids ) );44 Logger::debug( "Sending roles for ids " . json_encode( $ids ) ); 45 45 46 46 $roles = $this->get_roles_by_id_use_case->invoke( $ids ); -
appful-app/tags/3.1.16/includes/api/handlers/GetTagsRequestHandler.php
r2907312 r3018629 25 25 26 26 public function handle_request( PluginRequest $request ): PluginResponse { 27 Logger:: log( "Found handler for Appful request" );27 Logger::debug( "Found handler for Appful request" ); 28 28 29 29 // Because there could be a huge amount of posts, increase the timeout to 10min … … 42 42 ); 43 43 44 Logger:: log( "Sending tags for ids " . json_encode( $ids ) );44 Logger::debug( "Sending tags for ids " . json_encode( $ids ) ); 45 45 46 46 $tags = $this->get_tags_by_id_use_case->invoke( $ids ); -
appful-app/tags/3.1.16/includes/api/handlers/GetUsersRequestHandler.php
r2907312 r3018629 25 25 26 26 public function handle_request( PluginRequest $request ): PluginResponse { 27 Logger:: log( "Found handler for Appful request" );27 Logger::debug( "Found handler for Appful request" ); 28 28 29 29 // Because there could be a huge amount of users, increase the timeout to 10min … … 42 42 ); 43 43 44 Logger:: log( "Sending users for ids " . json_encode( $ids ) );44 Logger::debug( "Sending users for ids " . json_encode( $ids ) ); 45 45 46 46 $users = $this->get_users_by_id_use_case->invoke( $ids ); -
appful-app/tags/3.1.16/includes/api/handlers/InfoRequestHandler.php
r2978062 r3018629 22 22 23 23 public function handle_request( PluginRequest $request ): PluginResponse { 24 Logger:: log( "Found handler for Appful request" );24 Logger::debug( "Found handler for Appful request" ); 25 25 26 26 $blog_info = $this->get_blog_info_use_case->invoke(); -
appful-app/tags/3.1.16/includes/api/handlers/LogRequestHandler.php
r2907312 r3018629 21 21 22 22 public function handle_request( PluginRequest $request ): PluginResponse { 23 Logger:: log( "Found handler for Appful request" );23 Logger::debug( "Found handler for Appful request" ); 24 24 25 25 $logs = $this->get_logs_use_case->invoke(); -
appful-app/tags/3.1.16/includes/api/handlers/PageSyncRequestHandler.php
r2971184 r3018629 23 23 24 24 public function handle_request( PluginRequest $request ): PluginResponse { 25 Logger:: log( "Found handler for Appful request" );25 Logger::debug( "Found handler for Appful request" ); 26 26 27 27 // Because there could be a huge amount of posts, increase the timeout to 10min -
appful-app/tags/3.1.16/includes/api/handlers/PostSyncRequestHandler.php
r2907312 r3018629 23 23 24 24 public function handle_request( PluginRequest $request ): PluginResponse { 25 Logger:: log( "Found handler for Appful request" );25 Logger::debug( "Found handler for Appful request" ); 26 26 27 27 // Because there could be a huge amount of posts, increase the timeout to 10min -
appful-app/tags/3.1.16/includes/api/handlers/PullLocalPageContentRequestHandler.php
r2971184 r3018629 24 24 25 25 public function handle_request( PluginRequest $request ): PluginResponse { 26 Logger:: log( "Found handler for Appful request" );26 Logger::debug( "Found handler for Appful request" ); 27 27 28 28 // Because there could be a huge amount of pages, increase the timeout to 10min … … 40 40 } 41 41 42 Logger:: log( "Sending local page content for id " . $cleaned_id . " for user " . $cleaned_user_id );42 Logger::debug( "Sending local page content for id " . $cleaned_id . " for user " . $cleaned_user_id ); 43 43 44 44 $page_content = $this->get_local_page_content_by_id_use_case->invoke( $cleaned_id, $cleaned_user_id ); -
appful-app/tags/3.1.16/includes/api/handlers/PullLocalPostContentRequestHandler.php
r2920184 r3018629 24 24 25 25 public function handle_request( PluginRequest $request ): PluginResponse { 26 Logger:: log( "Found handler for Appful request" );26 Logger::debug( "Found handler for Appful request" ); 27 27 28 28 // Because there could be a huge amount of posts, increase the timeout to 10min … … 35 35 $cleanedId = absint( sanitize_text_field( $_GET['id'] ) ); 36 36 37 Logger:: log( "Sending local post content for id " . $cleanedId );37 Logger::debug( "Sending local post content for id " . $cleanedId ); 38 38 39 39 $post_content = $this->get_local_post_content_by_id_use_case->invoke( $cleanedId ); -
appful-app/tags/3.1.16/includes/api/handlers/RoleSyncRequestHandler.php
r2962811 r3018629 23 23 24 24 public function handle_request( PluginRequest $request ): PluginResponse { 25 Logger:: log( "Found handler for Appful request" );25 Logger::debug( "Found handler for Appful request" ); 26 26 27 27 // Because there could be a huge amount of roles, increase the timeout to 10min -
appful-app/tags/3.1.16/includes/api/handlers/SyncRequestHandler.php
r2907312 r3018629 23 23 24 24 public function handle_request( PluginRequest $request ): PluginResponse { 25 Logger:: log( "Found handler for Appful request" );25 Logger::debug( "Found handler for Appful request" ); 26 26 27 27 $this->sync_all_use_case->invoke(); -
appful-app/tags/3.1.16/includes/api/handlers/TagSyncRequestHandler.php
r2907312 r3018629 23 23 24 24 public function handle_request( PluginRequest $request ): PluginResponse { 25 Logger:: log( "Found handler for Appful request" );25 Logger::debug( "Found handler for Appful request" ); 26 26 27 27 // Because there could be a huge amount of posts, increase the timeout to 10min -
appful-app/tags/3.1.16/includes/api/handlers/UserSyncRequestHandler.php
r2907312 r3018629 23 23 24 24 public function handle_request( PluginRequest $request ): PluginResponse { 25 Logger:: log( "Found handler for Appful request" );25 Logger::debug( "Found handler for Appful request" ); 26 26 27 27 // Because there could be a huge amount of users, increase the timeout to 10min -
appful-app/tags/3.1.16/includes/api/handlers/page/GetPageContentRequestHandler.php
r2978062 r3018629 25 25 26 26 public function handle_request( PluginRequest $request ): PluginResponse { 27 Logger:: log( "Found handler for Appful request" );27 Logger::debug( "Found handler for Appful request" ); 28 28 29 29 if ( ! isset( $_GET['id'] ) ) { … … 39 39 } 40 40 41 Logger:: log( "Sending page content for id " . json_encode( $cleaned_id ) . " for user " . $request_user_id );41 Logger::debug( "Sending page content for id " . json_encode( $cleaned_id ) . " for user " . $request_user_id ); 42 42 43 43 $page_contents = $this->get_page_contents_by_id_use_case->invoke( [ $cleaned_id ], $cleaned_user_id ); -
appful-app/tags/3.1.16/includes/api/mapper/SyncItemMapper.php
r2907312 r3018629 10 10 return new SyncItemDto( 11 11 $sync_item->get_id(), 12 $sync_item->get_modified() 12 $sync_item->get_modified(), 13 $sync_item->get_force_update(), 13 14 ); 14 15 } -
appful-app/tags/3.1.16/includes/custom_taxonomies/AppfulTaxonomies.php
r2982658 r3018629 63 63 64 64 if ( ! $push_term ) { 65 Logger:: log( "Adding initial appful push term" );65 Logger::debug( "Adding initial appful push term" ); 66 66 67 67 $args = [ … … 82 82 83 83 if ( $push_term ) { 84 Logger:: log( "Removing initial appful push term" );84 Logger::info( "Removing initial appful push term" ); 85 85 86 86 wp_delete_term( -
appful-app/tags/3.1.16/includes/domain/SyncItem.php
r2907312 r3018629 6 6 private int $id = - 1; 7 7 private string $modified = ""; 8 private bool $force_update = false; 8 9 9 10 public static function syncItem( 10 11 int $id = - 1, 11 string $modified = "" 12 string $modified = "", 13 bool $force_update = false, 12 14 ): SyncItem { 13 15 return ( new SyncItem() ) … … 28 30 } 29 31 32 public function force_update( bool $force_update ): SyncItem { 33 $this->force_update = $force_update; 34 35 return $this; 36 } 37 30 38 public function get_id(): int { 31 39 return $this->id; … … 35 43 return $this->modified; 36 44 } 45 46 public function get_force_update(): bool { 47 return $this->force_update; 48 } 37 49 } -
appful-app/tags/3.1.16/includes/helper/Logger.php
r2920030 r3018629 4 4 5 5 class Logger { 6 public static function log( $msg, $name = '' ) { 7 if ( Constants::$APPFUL_DEBUG || ( isset( $_REQUEST["debug"] ) && $_REQUEST["debug"] == "1" ) ) { 6 private static function log( string $msg, ?string $level = null, string $name = '' ) { 7 $log_level = $level ?? LoggerLevel::$DEBUG; 8 9 if ( $log_level !== LoggerLevel::$DEBUG || ( Constants::$APPFUL_DEBUG || ( isset( $_REQUEST["debug"] ) && $_REQUEST["debug"] == "1" ) ) ) { 8 10 $trace = debug_backtrace(); 9 11 $name = ( '' == $name ) ? ( ( isset( $trace[1]['class'] ) ) ? $trace[1]['class'] : "Unknown" ) . "(" . $trace[1]['function'] . "):" . $trace[1]['line'] : $name; 10 12 $name = str_pad( substr( $name, 0, 79 ), 80 ); 11 13 14 $log_level = str_pad( $log_level, 8 ); 15 12 16 $error_dir = self::getLogFile(); 13 17 $msg = print_r( $msg, true ); 14 18 $date = date( 'd-m-y h:i:s' ); 15 $log = $date. " - " . $name . " | " . $msg . "\n";19 $log = "[" . $log_level . "]" . "[" . $date . "]" . " - " . $name . " | " . $msg . "\n"; 16 20 error_log( $log, 3, $error_dir ); 17 21 } 22 } 23 24 public static function debug( string $msg, string $name = '' ) { 25 self::log( $msg, LoggerLevel::$DEBUG, $name ); 26 } 27 28 public static function info( string $msg, string $name = '' ) { 29 self::log( $msg, LoggerLevel::$INFO, $name ); 30 } 31 32 public static function error( string $msg, string $name = '' ) { 33 self::log( $msg, LoggerLevel::$ERROR, $name ); 18 34 } 19 35 -
appful-app/tags/3.1.16/includes/hooks/ActivationHook.php
r2907312 r3018629 40 40 41 41 private function on_activate() { 42 Logger:: log( "Plugin activated" );42 Logger::info( "Plugin activated" ); 43 43 44 44 $this->taxonomy_manager->load_direct(); … … 47 47 48 48 private function on_deactivate() { 49 Logger:: log( "Plugin deactivated" );49 Logger::info( "Plugin deactivated" ); 50 50 51 51 $this->taxonomy_manager->load_direct(); -
appful-app/tags/3.1.16/includes/hooks/AttachmentHook.php
r2920030 r3018629 44 44 45 45 private function on_save_attachment( int $attachment_id ) { 46 Logger:: log( "Attachment with id " . $attachment_id . " saved!" );46 Logger::debug( "Attachment with id " . $attachment_id . " saved!" ); 47 47 48 48 $attachment_post = get_post( $attachment_id ); … … 54 54 55 55 private function on_delete_attachment( int $attachment_id ) { 56 Logger:: log( "Attachment with id " . $attachment_id . " deleted!" );56 Logger::debug( "Attachment with id " . $attachment_id . " deleted!" ); 57 57 58 58 $this->use_case_manager->attachment_delete_use_case()->invoke( $attachment_id ); -
appful-app/tags/3.1.16/includes/hooks/CommentHook.php
r2907312 r3018629 54 54 55 55 private function on_comment_transition( string $new_status, ?string $old_status, WP_Comment $comment ) { 56 Logger:: log( "Comment transitioned from " . ( $old_status == null ? "null" : $old_status ) . " to " . $new_status . ": " . json_encode( $comment ) );56 Logger::debug( "Comment transitioned from " . ( $old_status == null ? "null" : $old_status ) . " to " . $new_status . ": " . json_encode( $comment ) ); 57 57 $domain_comment = CommentMapper::to_domain( $comment ); 58 58 $this->use_case_manager->comment_save_use_case()->invoke( $domain_comment ); … … 72 72 73 73 private function on_delete_comment( string $comment_id ) { 74 Logger:: log( "Comment with id " . $comment_id . " deleted!" );74 Logger::debug( "Comment with id " . $comment_id . " deleted!" ); 75 75 76 76 $this->use_case_manager->comment_delete_use_case()->invoke( $comment_id ); -
appful-app/tags/3.1.16/includes/hooks/PageHook.php
r2971184 r3018629 40 40 } 41 41 42 Logger:: log( "Page with id " . $page->ID . " deleted!" );42 Logger::debug( "Page with id " . $page->ID . " deleted!" ); 43 43 44 44 $this->use_case_manager->page_delete_use_case()->invoke( $page_id ); … … 58 58 } 59 59 60 Logger:: log( "Page with id " . $page->ID . " inserted with status " . $page->post_status . "!" );60 Logger::debug( "Page with id " . $page->ID . " inserted with status " . $page->post_status . "!" ); 61 61 62 62 $domain_page = PageMapper::to_domain( $page ); -
appful-app/tags/3.1.16/includes/hooks/PostHook.php
r2932187 r3018629 18 18 add_action( 19 19 "wp_after_insert_post", 20 function ( int $post_id, WP_Post $post ) {21 $this->after_save_post( $post );20 function ( int $post_id, WP_Post $post, bool $update, ?WP_Post $post_before ) { 21 $this->after_save_post( $post, $post_before ); 22 22 }, 23 23 99, 24 2,24 4, 25 25 ); 26 26 … … 40 40 } 41 41 42 Logger:: log( "Post with id " . $post->ID . " deleted!" );42 Logger::debug( "Post with id " . $post->ID . " deleted!" ); 43 43 44 44 $this->use_case_manager->post_delete_use_case()->invoke( $post_id ); 45 45 } 46 46 47 private function after_save_post( WP_Post $post ) {47 private function after_save_post( WP_Post $post, ?WP_Post $post_before ) { 48 48 if ( defined( "DOING_AUTOSAVE" ) && DOING_AUTOSAVE ) { 49 49 return; … … 58 58 } 59 59 60 Logger:: log( "Post with id " . $post->ID . " inserted with status " . $post->post_status . "!" );60 Logger::debug( "Post with id " . $post->ID . " inserted with status " . $post->post_status . "!" ); 61 61 62 $domain_post = PostMapper::to_ domain( $post);62 $domain_post = PostMapper::to_sync_item( $post, $post->post_status != $post_before->post_status ); 63 63 $this->use_case_manager->post_save_use_case()->invoke( $domain_post ); 64 64 } -
appful-app/tags/3.1.16/includes/hooks/SessionHook.php
r2936340 r3018629 35 35 36 36 private function on_appful_login() { 37 Logger:: log( "Logging in user!" );37 Logger::info( "Logging in user!" ); 38 38 39 39 WPOptionsManager::delete_last_sync_error(); … … 42 42 $this->use_case_manager->sync_all_use_case()->invoke(); 43 43 } else { 44 Logger:: log( "Error occurred when registering blog!" );44 Logger::error( "Error occurred when registering blog!" ); 45 45 $this->clean_on_error(); 46 46 } … … 56 56 57 57 private function on_appful_logout() { 58 Logger:: log( "Logging out user!" );58 Logger::info( "Logging out user!" ); 59 59 if ( $this->use_case_manager->is_logged_in_use_case()->invoke() ) { 60 60 $this->use_case_manager->delete_session_use_case()->invoke(); -
appful-app/tags/3.1.16/includes/hooks/TaxonomyHook.php
r2907312 r3018629 55 55 private function on_saved_category( int $term_id, int $taxonomy_id ) { 56 56 $category = get_term( $term_id ); 57 Logger:: log( "Category with id " . $term_id . " saved!" );57 Logger::debug( "Category with id " . $term_id . " saved!" ); 58 58 59 59 $domain_category = CategoryMapper::to_domain( $category ); … … 62 62 63 63 private function on_delete_category( int $term_id, int $taxonomy_id ) { 64 Logger:: log( "Category with id " . $term_id . " deleted!" );64 Logger::debug( "Category with id " . $term_id . " deleted!" ); 65 65 66 66 $this->use_case_manager->category_delete_use_case()->invoke( $term_id ); … … 69 69 private function on_saved_tag( int $term_id, int $taxonomy_id ) { 70 70 $tag = get_term( $term_id ); 71 Logger:: log( "Tag with id " . $term_id . " saved!" );71 Logger::debug( "Tag with id " . $term_id . " saved!" ); 72 72 73 73 $domain_tag = TagMapper::to_domain( $tag ); … … 76 76 77 77 private function on_delete_tag( int $term_id, int $taxonomy_id ) { 78 Logger:: log( "Tag with id " . $term_id . " deleted!" );78 Logger::debug( "Tag with id " . $term_id . " deleted!" ); 79 79 80 80 $this->use_case_manager->tag_delete_use_case()->invoke( $term_id ); -
appful-app/tags/3.1.16/includes/hooks/UserHook.php
r2982658 r3018629 53 53 54 54 private function on_save_user( int $user_id ) { 55 Logger:: log( "User with id " . $user_id . " saved!" );55 Logger::debug( "User with id " . $user_id . " saved!" ); 56 56 57 57 $wp_user = WPUserManager::get_user_by_id( $user_id ); … … 62 62 63 63 private function on_delete_user( int $user_id ) { 64 Logger:: log( "User with id " . $user_id . " deleted!" );64 Logger::debug( "User with id " . $user_id . " deleted!" ); 65 65 66 66 $this->use_case_manager->user_delete_use_case()->invoke( $user_id ); -
appful-app/tags/3.1.16/includes/use_cases/AttachmentDeleteUseCase.php
r2920184 r3018629 16 16 17 17 public function invoke( string $attachment_id ) { 18 Logger:: log( "Sending attachment delete request for: " . $attachment_id );18 Logger::debug( "Sending attachment delete request for: " . $attachment_id ); 19 19 $request = HttpRequest::backend_request()->method( "DELETE" )->path( Constants::$ATTACHMENT_PATH . "/" . $attachment_id ); 20 20 $this->backend_client->send_request( $request ); -
appful-app/tags/3.1.16/includes/use_cases/AttachmentSaveUseCase.php
r2920184 r3018629 19 19 public function invoke( Attachment $attachment ) { 20 20 $attachment_dto = AttachmentMapper::to_dto( $attachment ); 21 Logger:: log( "Sending attachment save request with data: " . json_encode( $attachment_dto ) );21 Logger::debug( "Sending attachment save request with data: " . json_encode( $attachment_dto ) ); 22 22 $request = HttpRequest::backend_request()->method( "POST" )->body( $attachment_dto )->path( Constants::$ATTACHMENT_PATH ); 23 23 $this->backend_client->send_request( $request ); -
appful-app/tags/3.1.16/includes/use_cases/CategoryDeleteUseCase.php
r2920184 r3018629 16 16 17 17 public function invoke( int $term_id ) { 18 Logger:: log( "Sending category delete request for: " . $term_id );18 Logger::debug( "Sending category delete request for: " . $term_id ); 19 19 $request = HttpRequest::backend_request()->method( "DELETE" )->path( Constants::$TAXONOMY_PATH . "/categories/" . $term_id ); 20 20 $this->backend_client->send_request( $request ); -
appful-app/tags/3.1.16/includes/use_cases/CategorySaveUseCase.php
r2920184 r3018629 19 19 public function invoke( Category $category ) { 20 20 $category_dto = CategoryMapper::to_dto( $category ); 21 Logger:: log( "Sending category save request with data: " . json_encode( $category_dto ) );21 Logger::debug( "Sending category save request with data: " . json_encode( $category_dto ) ); 22 22 $request = HttpRequest::backend_request()->method( "POST" )->body( $category_dto )->path( Constants::$TAXONOMY_PATH . "/categories" ); 23 23 $this->backend_client->send_request( $request ); -
appful-app/tags/3.1.16/includes/use_cases/CommentDeleteUseCase.php
r2920184 r3018629 16 16 17 17 public function invoke( string $comment_id ) { 18 Logger:: log( "Sending comment delete request for: " . $comment_id );18 Logger::debug( "Sending comment delete request for: " . $comment_id ); 19 19 $request = HttpRequest::backend_request()->method( "DELETE" )->path( Constants::$COMMENT_PATH . "/" . $comment_id ); 20 20 $this->backend_client->send_request( $request ); -
appful-app/tags/3.1.16/includes/use_cases/CommentSaveUseCase.php
r2920184 r3018629 19 19 public function invoke( Comment $comment ) { 20 20 $comment_dto = CommentMapper::to_dto( $comment ); 21 Logger:: log( "Sending comment save request with data: " . json_encode( $comment_dto ) );21 Logger::debug( "Sending comment save request with data: " . json_encode( $comment_dto ) ); 22 22 $request = HttpRequest::backend_request()->method( "POST" )->body( $comment_dto )->path( Constants::$COMMENT_PATH ); 23 23 $this->backend_client->send_request( $request ); -
appful-app/tags/3.1.16/includes/use_cases/DeleteSessionUseCase.php
r2936340 r3018629 16 16 17 17 public function invoke() { 18 Logger:: log( "Unregistering blog!" );18 Logger::info( "Unregistering blog!" ); 19 19 $request = HttpRequest::backend_request()->method( "DELETE" )->path( Constants::$BLOG_PATH ); 20 20 $this->backend_client->send_request( $request, false ); -
appful-app/tags/3.1.16/includes/use_cases/LogoutUserUseCase.php
r2936340 r3018629 16 16 17 17 public function invoke() { 18 Logger:: log( "Logout user!" );18 Logger::info( "Logout user!" ); 19 19 $request = HttpRequest::backend_request()->method( "DELETE" )->path( Constants::$APPFUL_USER_PATH . "/logout" ); 20 20 $this->backend_client->send_request( $request, false ); -
appful-app/tags/3.1.16/includes/use_cases/PageDeleteUseCase.php
r2971184 r3018629 16 16 17 17 public function invoke( int $page_id ) { 18 Logger:: log( "Sending page delete request for: " . $page_id );18 Logger::debug( "Sending page delete request for: " . $page_id ); 19 19 $request = HttpRequest::backend_request()->method( "DELETE" )->path( Constants::$PAGE_PATH . "/" . $page_id ); 20 20 $this->backend_client->send_request( $request ); -
appful-app/tags/3.1.16/includes/use_cases/PageSaveUseCase.php
r2971184 r3018629 19 19 public function invoke( Page $page ) { 20 20 $page_dto = PageMapper::to_dto( $page ); 21 Logger:: log( "Sending page save request with data: " . json_encode( $page_dto ) );21 Logger::debug( "Sending page save request with data: " . json_encode( $page_dto ) ); 22 22 $request = HttpRequest::backend_request()->method( "POST" )->body( $page_dto )->path( Constants::$PAGE_PATH ); 23 23 $this->backend_client->send_request( $request ); -
appful-app/tags/3.1.16/includes/use_cases/PostDeleteUseCase.php
r2920184 r3018629 16 16 17 17 public function invoke( int $post_id ) { 18 Logger:: log( "Sending post delete request for: " . $post_id );18 Logger::debug( "Sending post delete request for: " . $post_id ); 19 19 $request = HttpRequest::backend_request()->method( "DELETE" )->path( Constants::$POST_PATH . "/" . $post_id ); 20 20 $this->backend_client->send_request( $request ); -
appful-app/tags/3.1.16/includes/use_cases/PostSaveUseCase.php
r2920184 r3018629 4 4 5 5 use AppfulPlugin\Api\Client\BackendClient; 6 use AppfulPlugin\Api\Mapper\ PostMapper;6 use AppfulPlugin\Api\Mapper\SyncItemMapper; 7 7 use AppfulPlugin\Api\Requests\HttpRequest; 8 use AppfulPlugin\Domain\ Post;8 use AppfulPlugin\Domain\SyncItem; 9 9 use AppfulPlugin\Helper\Constants; 10 10 use AppfulPlugin\Helper\Logger; … … 17 17 } 18 18 19 public function invoke( Post$post ) {20 $post_dto = PostMapper::to_dto( $post );21 Logger:: log( "Sending post save request with data: " . json_encode( $post_dto ) );19 public function invoke( SyncItem $post ) { 20 $post_dto = SyncItemMapper::to_dto( $post ); 21 Logger::debug( "Sending post save request with data: " . json_encode( $post_dto ) ); 22 22 $request = HttpRequest::backend_request()->method( "POST" )->body( $post_dto )->path( Constants::$POST_PATH ); 23 23 $this->backend_client->send_request( $request ); -
appful-app/tags/3.1.16/includes/use_cases/PullLocalPostContentUseCase.php
r2971184 r3018629 17 17 18 18 public function invoke( int $id ): ?PostContent { 19 Logger:: log( "Pulling local post content for id: " . $id );19 Logger::debug( "Pulling local post content for id: " . $id ); 20 20 21 21 $request_params = []; -
appful-app/tags/3.1.16/includes/use_cases/RegisterBlogUseCase.php
r2936340 r3018629 22 22 $blog_info_dto = BlogInfoMapper::to_dto( $blog_info ); 23 23 24 Logger:: log( "Registering blog with data: " . json_encode( $blog_info_dto ) );24 Logger::info( "Registering blog with data: " . json_encode( $blog_info_dto ) ); 25 25 26 26 $request = HttpRequest::backend_request()->method( "POST" )->body( $blog_info_dto )->path( Constants::$BLOG_PATH ); -
appful-app/tags/3.1.16/includes/use_cases/SendAttachmentChunkSyncUseCase.php
r2920184 r3018629 20 20 $sync_item_dtos = SyncChunkMapper::to_dto( $sync_items ); 21 21 22 Logger:: log( "Sending attachment chunk to sync: " . json_encode( $sync_item_dtos ) );22 Logger::debug( "Sending attachment chunk to sync: " . json_encode( $sync_item_dtos ) ); 23 23 $request = HttpRequest::backend_request()->method( "PATCH" )->body( $sync_item_dtos )->path( Constants::$ATTACHMENT_PATH . "/sync" ); 24 24 $this->backend_client->send_request( $request ); -
appful-app/tags/3.1.16/includes/use_cases/SendCategoryChunkSyncUseCase.php
r2920184 r3018629 20 20 $sync_item_dtos = SyncChunkMapper::to_dto( $sync_items ); 21 21 22 Logger:: log( "Sending category chunk to sync: " . json_encode( $sync_item_dtos ) );22 Logger::debug( "Sending category chunk to sync: " . json_encode( $sync_item_dtos ) ); 23 23 $request = HttpRequest::backend_request()->method( "PATCH" )->body( $sync_item_dtos )->path( Constants::$TAXONOMY_PATH . "/categories/sync" ); 24 24 $this->backend_client->send_request( $request ); -
appful-app/tags/3.1.16/includes/use_cases/SendCommentChunkSyncUseCase.php
r2920184 r3018629 20 20 $sync_item_dtos = SyncChunkMapper::to_dto( $sync_items ); 21 21 22 Logger:: log( "Sending comment chunk to sync: " . json_encode( $sync_item_dtos ) );22 Logger::debug( "Sending comment chunk to sync: " . json_encode( $sync_item_dtos ) ); 23 23 $request = HttpRequest::backend_request()->method( "PATCH" )->body( $sync_item_dtos )->path( Constants::$COMMENT_PATH . "/sync" ); 24 24 $this->backend_client->send_request( $request ); -
appful-app/tags/3.1.16/includes/use_cases/SendPageChunkSyncUseCase.php
r2971184 r3018629 20 20 $sync_item_dtos = SyncChunkMapper::to_dto( $sync_items ); 21 21 22 Logger:: log( "Sending page chunk to sync: " . json_encode( $sync_item_dtos ) );22 Logger::debug( "Sending page chunk to sync: " . json_encode( $sync_item_dtos ) ); 23 23 $request = HttpRequest::backend_request()->method( "PATCH" )->body( $sync_item_dtos )->path( Constants::$PAGE_PATH . "/sync" ); 24 24 $this->backend_client->send_request( $request ); -
appful-app/tags/3.1.16/includes/use_cases/SendPostChunkSyncUseCase.php
r2920184 r3018629 22 22 $sync_item_dtos = SyncChunkMapper::to_dto($sync_items); 23 23 24 Logger:: log( "Sending post chunk to sync: " . json_encode( $sync_item_dtos ) );24 Logger::debug( "Sending post chunk to sync: " . json_encode( $sync_item_dtos ) ); 25 25 $request = HttpRequest::backend_request()->method( "PATCH" )->body( $sync_item_dtos )->path( Constants::$POST_PATH . "/sync" ); 26 26 $this->backend_client->send_request( $request ); -
appful-app/tags/3.1.16/includes/use_cases/SendRoleChunkSyncUseCase.php
r2962811 r3018629 20 20 $sync_item_dtos = SyncChunkMapper::to_dto( $sync_items ); 21 21 22 Logger:: log( "Sending role chunk to sync: " . json_encode( $sync_item_dtos ) );22 Logger::debug( "Sending role chunk to sync: " . json_encode( $sync_item_dtos ) ); 23 23 $request = HttpRequest::backend_request()->method( "PATCH" )->body( $sync_item_dtos )->path( Constants::$ROLE_PATH . "/sync" ); 24 24 $this->backend_client->send_request( $request ); -
appful-app/tags/3.1.16/includes/use_cases/SendTagChunkSyncUseCase.php
r2920184 r3018629 20 20 $sync_item_dtos = SyncChunkMapper::to_dto( $sync_items ); 21 21 22 Logger:: log( "Sending tag chunk to sync: " . json_encode( $sync_item_dtos ) );22 Logger::debug( "Sending tag chunk to sync: " . json_encode( $sync_item_dtos ) ); 23 23 $request = HttpRequest::backend_request()->method( "PATCH" )->body( $sync_item_dtos )->path( Constants::$TAXONOMY_PATH . "/tags/sync" ); 24 24 $this->backend_client->send_request( $request ); -
appful-app/tags/3.1.16/includes/use_cases/SendUserChunkSyncUseCase.php
r2920184 r3018629 20 20 $sync_item_dtos = SyncChunkMapper::to_dto( $sync_items ); 21 21 22 Logger:: log( "Sending user chunk to sync: " . json_encode( $sync_item_dtos ) );22 Logger::debug( "Sending user chunk to sync: " . json_encode( $sync_item_dtos ) ); 23 23 $request = HttpRequest::backend_request()->method( "PATCH" )->body( $sync_item_dtos )->path( Constants::$USER_PATH . "/sync" ); 24 24 $this->backend_client->send_request( $request ); -
appful-app/tags/3.1.16/includes/use_cases/TagDeleteUseCase.php
r2920184 r3018629 16 16 17 17 public function invoke( int $term_id ) { 18 Logger:: log( "Sending tag delete request for: " . $term_id );18 Logger::debug( "Sending tag delete request for: " . $term_id ); 19 19 $request = HttpRequest::backend_request()->method( "DELETE" )->path( Constants::$TAXONOMY_PATH . "/tags/" . $term_id ); 20 20 $this->backend_client->send_request( $request ); -
appful-app/tags/3.1.16/includes/use_cases/TagSaveUseCase.php
r2920184 r3018629 19 19 public function invoke( Tag $tag ) { 20 20 $tag_dto = TagMapper::to_dto( $tag ); 21 Logger:: log( "Sending tag save request with data: " . json_encode( $tag_dto ) );21 Logger::debug( "Sending tag save request with data: " . json_encode( $tag_dto ) ); 22 22 $request = HttpRequest::backend_request()->method( "POST" )->body( $tag_dto )->path( Constants::$TAXONOMY_PATH . "/tags" ); 23 23 $this->backend_client->send_request( $request ); -
appful-app/tags/3.1.16/includes/use_cases/UserDeleteUseCase.php
r2920184 r3018629 16 16 17 17 public function invoke( string $user_id ) { 18 Logger:: log( "Sending user delete request for: " . $user_id );18 Logger::debug( "Sending user delete request for: " . $user_id ); 19 19 $request = HttpRequest::backend_request()->method( "DELETE" )->path( Constants::$USER_PATH . "/" . $user_id ); 20 20 $this->backend_client->send_request( $request ); -
appful-app/tags/3.1.16/includes/use_cases/UserSaveUseCase.php
r2920184 r3018629 19 19 public function invoke( User $user ) { 20 20 $user_dto = UserMapper::to_dto( $user ); 21 Logger:: log( "Sending user save request with data: " . json_encode( $user_dto ) );21 Logger::debug( "Sending user save request with data: " . json_encode( $user_dto ) ); 22 22 $request = HttpRequest::backend_request()->method( "POST" )->body( $user_dto )->path( Constants::$USER_PATH ); 23 23 $this->backend_client->send_request( $request ); -
appful-app/tags/3.1.16/includes/use_cases/page/PullLocalPageContentUseCase.php
r2971184 r3018629 17 17 18 18 public function invoke( int $id, ?int $user_id = null ): ?PageContent { 19 Logger:: log( "Pulling local page content for id " . $id . " for user " . $user_id );19 Logger::debug( "Pulling local page content for id " . $id . " for user " . $user_id ); 20 20 21 21 $request_params = []; -
appful-app/tags/3.1.16/includes/wp/WPCommentManager.php
r2954441 r3018629 64 64 65 65 if ($commentId === false) { 66 Logger:: log( "Insert comment failed" );66 Logger::error( "Insert comment failed" ); 67 67 return null; 68 68 } 69 Logger::log( "Inserted comment!" );70 69 71 70 $comment = get_comment($commentId); 72 71 73 72 if (!$comment instanceof WP_Comment) { 74 Logger:: log( "Getting comment failed!" );73 Logger::error( "Getting comment failed!" ); 75 74 return null; 76 75 } -
appful-app/tags/3.1.16/includes/wp/mapper/PostMapper.php
r2962811 r3018629 4 4 5 5 use AppfulPlugin\Domain\Post; 6 use AppfulPlugin\Domain\SyncItem; 6 7 use AppfulPlugin\Helper\DateParser; 7 8 use AppfulPlugin\Wp\WPAttachmentManager; … … 35 36 ->roles( WPRoleManager::get_roles_for_post_id( $post->ID ) ); 36 37 } 38 39 public static function to_sync_item( WP_Post $post, bool $force_update ): SyncItem { 40 return SyncItem::syncItem() 41 ->id( $post->ID ) 42 ->modified( DateParser::fromGmtDate( $post->post_modified_gmt ) ) 43 ->force_update( $force_update ); 44 } 37 45 } -
appful-app/tags/3.1.16/lib/vendor/composer/autoload_classmap.php
r2978062 r3018629 101 101 'AppfulPlugin\\Helper\\DateParser' => $baseDir . '/../includes/helper/DateParser.php', 102 102 'AppfulPlugin\\Helper\\Logger' => $baseDir . '/../includes/helper/Logger.php', 103 'AppfulPlugin\\Helper\\LoggerLevel' => $baseDir . '/../includes/helper/LoggerLevel.php', 103 104 'AppfulPlugin\\Helper\\TemplateLoader' => $baseDir . '/../includes/helper/TemplateLoader.php', 104 105 'AppfulPlugin\\Hooks\\ActivationHook' => $baseDir . '/../includes/hooks/ActivationHook.php', -
appful-app/tags/3.1.16/lib/vendor/composer/autoload_static.php
r2978062 r3018629 278 278 'AppfulPlugin\\Helper\\DateParser' => __DIR__ . '/../..' . '/../includes/helper/DateParser.php', 279 279 'AppfulPlugin\\Helper\\Logger' => __DIR__ . '/../..' . '/../includes/helper/Logger.php', 280 'AppfulPlugin\\Helper\\LoggerLevel' => __DIR__ . '/../..' . '/../includes/helper/LoggerLevel.php', 280 281 'AppfulPlugin\\Helper\\TemplateLoader' => __DIR__ . '/../..' . '/../includes/helper/TemplateLoader.php', 281 282 'AppfulPlugin\\Hooks\\ActivationHook' => __DIR__ . '/../..' . '/../includes/hooks/ActivationHook.php', -
appful-app/tags/3.1.16/lib/vendor/composer/installed.php
r2978062 r3018629 4 4 'pretty_version' => 'dev-main', 5 5 'version' => 'dev-main', 6 'reference' => ' 2ba6b06d04004a7d391027374cc785e0853d4186',6 'reference' => 'd550503fb49e89e7e02f5f243b50014e609439b5', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 14 14 'pretty_version' => 'dev-main', 15 15 'version' => 'dev-main', 16 'reference' => ' 2ba6b06d04004a7d391027374cc785e0853d4186',16 'reference' => 'd550503fb49e89e7e02f5f243b50014e609439b5', 17 17 'type' => 'library', 18 18 'install_path' => __DIR__ . '/../../', -
appful-app/tags/3.1.16/readme.txt
r2982658 r3018629 4 4 Donate link: https://appful.io 5 5 Requires at least: 5.8 6 Tested up to: 6. 36 Tested up to: 6.4 7 7 Requires PHP: 7.4 8 Stable tag: 3.1.1 58 Stable tag: 3.1.16 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
r2982658 r3018629 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 514 * Version: 3.1.16 15 15 * Requires at least: 5.8 16 16 * Requires PHP: 7.4 -
appful-app/trunk/includes/api/Api.php
r2954441 r3018629 28 28 if ( get_query_var( "appful", 0 ) != 0 ) { 29 29 $action = get_query_var( "appful_action" ); 30 Logger:: log( "Handling WP Plugin request from Appful, action: " . $action );30 Logger::debug( "Handling WP Plugin request from Appful, action: " . $action ); 31 31 32 32 $request = PluginRequest::plugin_request()->action( $action ); -
appful-app/trunk/includes/api/ReqHandler.php
r2978062 r3018629 84 84 } 85 85 86 Logger:: log( "Did not find handler for action: " . $request->get_action() );86 Logger::error( "Did not find handler for action: " . $request->get_action() ); 87 87 88 88 return PluginResponse::plugin_response()->status( 404 ); -
appful-app/trunk/includes/api/Rewrites.php
r2920603 r3018629 29 29 30 30 public function enable_rewrite() { 31 Logger:: log( "Add filter for enabling rewrite rules" );31 Logger::debug( "Add filter for enabling rewrite rules" ); 32 32 add_filter( 33 33 "rewrite_rules_array", … … 42 42 43 43 private function enabled_rewrite_rules( $rules ): array { 44 Logger:: log( "Enabling rewrite rules" );44 Logger::debug( "Enabling rewrite rules" ); 45 45 46 46 if ( $rules == null ) { … … 65 65 66 66 public function disable_rewrite() { 67 Logger:: log( "Remove filter for enabling rewrite rules" );67 Logger::info( "Remove filter for enabling rewrite rules" ); 68 68 add_filter( 69 69 "rewrite_rules_array", … … 78 78 79 79 private function disabled_rewrite_rules( $rules ): array { 80 Logger:: log( "Disabling rewrite rules" );80 Logger::info( "Disabling rewrite rules" ); 81 81 82 82 if ( $rules == null ) { -
appful-app/trunk/includes/api/client/BackendClient.php
r2971184 r3018629 40 40 41 41 if ( $response->getStatusCode() != 200 ) { 42 Logger:: log( "Received non 200 status code (" . $response->getStatusCode() . ") for request path: " . $request_path . " with request body: " . $backend_request->get_body() );42 Logger::error( "Received non 200 status code (" . $response->getStatusCode() . ") for request path: " . $request_path . " with request body: " . $backend_request->get_body() ); 43 43 $response_body = [ "error" => $response->getBody() ]; 44 44 } else { … … 53 53 return HttpResponse::backend_response()->body( $response_body )->status( $response->getStatusCode() ); 54 54 } catch ( GuzzleException $e ) { 55 Logger:: log( "Error happened when trying to execute backend request: " . $e->getMessage() );55 Logger::error( "Error happened when trying to execute backend request: " . $e->getMessage() ); 56 56 57 57 return HttpResponse::backend_response()->status( 500 ); -
appful-app/trunk/includes/api/client/SelfClient.php
r2971184 r3018629 36 36 37 37 if ( $response->getStatusCode() != 200 ) { 38 Logger:: log( "Received non 200 status code (" . $response->getStatusCode() . ") for local request path: " . $request_url . " with request body: " . json_decode( $backend_request->get_body() ) );38 Logger::error( "Received non 200 status code (" . $response->getStatusCode() . ") for local request path: " . $request_url . " with request body: " . json_decode( $backend_request->get_body() ) ); 39 39 } 40 40 41 41 return HttpResponse::backend_response()->body( json_decode( $response->getBody(), true ) )->status( $response->getStatusCode() ); 42 42 } catch ( GuzzleException $e ) { 43 Logger:: log( "Error happened when trying to execute backend request: " . $e->getMessage() );43 Logger::error( "Error happened when trying to execute backend request: " . $e->getMessage() ); 44 44 45 45 return HttpResponse::backend_response()->status( 500 ); -
appful-app/trunk/includes/api/dtos/SyncItemDto.php
r2907312 r3018629 6 6 public int $id = - 1; 7 7 public string $modified = ""; 8 public bool $force_update = false; 8 9 9 public function __construct( int $id, string $modified ) { 10 $this->id = $id; 11 $this->modified = $modified; 10 public function __construct( int $id, string $modified, bool $force_update ) { 11 $this->id = $id; 12 $this->modified = $modified; 13 $this->force_update = $force_update; 12 14 } 13 15 } -
appful-app/trunk/includes/api/handlers/AndroidAssetLinkRequestHandler.php
r2912562 r3018629 21 21 22 22 public function handle_request( PluginRequest $request ): PluginResponse { 23 Logger:: log( "Found handler for Appful request" );23 Logger::debug( "Found handler for Appful request" ); 24 24 $value = $this->get_android_asset_link_use_case->invoke(); 25 25 if ( $value == null ) { -
appful-app/trunk/includes/api/handlers/AppleAppSiteAssociationRequestHandler.php
r2912562 r3018629 21 21 22 22 public function handle_request( PluginRequest $request ): PluginResponse { 23 Logger:: log( "Found handler for Appful request" );23 Logger::debug( "Found handler for Appful request" ); 24 24 $value = $this->get_apple_app_site_association_use_case->invoke(); 25 25 if ( $value == null ) { -
appful-app/trunk/includes/api/handlers/AttachmentSyncRequestHandler.php
r2907312 r3018629 23 23 24 24 public function handle_request( PluginRequest $request ): PluginResponse { 25 Logger:: log( "Found handler for Appful request" );25 Logger::debug( "Found handler for Appful request" ); 26 26 27 27 // Because there could be a huge amount of posts, increase the timeout to 10min -
appful-app/trunk/includes/api/handlers/AuthenticateUserRequestHandler.php
r2978062 r3018629 24 24 25 25 public function handle_request( PluginRequest $request ): PluginResponse { 26 Logger:: log( "Found handler for Appful request" );26 Logger::debug( "Found handler for Appful request" ); 27 27 28 28 $body_input = sanitize_text_field( file_get_contents( 'php://input' ) ); -
appful-app/trunk/includes/api/handlers/CategorySyncRequestHandler.php
r2907312 r3018629 23 23 24 24 public function handle_request( PluginRequest $request ): PluginResponse { 25 Logger:: log( "Found handler for Appful request" );25 Logger::debug( "Found handler for Appful request" ); 26 26 27 27 // Because there could be a huge amount of posts, increase the timeout to 10min -
appful-app/trunk/includes/api/handlers/ClearLogRequestHandler.php
r2920040 r3018629 21 21 22 22 public function handle_request( PluginRequest $request ): PluginResponse { 23 Logger:: log( "Found handler for Appful request" );23 Logger::debug( "Found handler for Appful request" ); 24 24 25 25 $this->clear_logs_use_case->invoke(); -
appful-app/trunk/includes/api/handlers/CommentSyncRequestHandler.php
r2907312 r3018629 23 23 24 24 public function handle_request( PluginRequest $request ): PluginResponse { 25 Logger:: log( "Found handler for Appful request" );25 Logger::debug( "Found handler for Appful request" ); 26 26 27 27 // Because there could be a huge amount of posts, increase the timeout to 10min -
appful-app/trunk/includes/api/handlers/CreateCommentRequestHandler.php
r2978062 r3018629 25 25 26 26 public function handle_request( PluginRequest $request ): PluginResponse { 27 Logger:: log( "Found handler for Appful request" );27 Logger::debug( "Found handler for Appful request" ); 28 28 29 29 $body_input = sanitize_text_field( file_get_contents( 'php://input' ) ); … … 32 32 // required fields 33 33 if (!isset($data["username"], $data["email"], $data["content"], $data["post_id"])) { 34 Logger:: log( "Some parametersare missing" );34 Logger::error( "Some parameters for create comment are missing" ); 35 35 return PluginResponse::plugin_response()->status( 400 ); // Bad Request 36 36 } … … 49 49 $comment = $this->create_comment_use_case->invoke( $request ); 50 50 if ( $comment == null ) { 51 Logger:: log( "Creating comment failed" );51 Logger::error( "Creating comment failed" ); 52 52 return PluginResponse::plugin_response()->status( 503 ); 53 53 } -
appful-app/trunk/includes/api/handlers/GetAttachmentsRequestHandler.php
r2907312 r3018629 25 25 26 26 public function handle_request( PluginRequest $request ): PluginResponse { 27 Logger:: log( "Found handler for Appful request" );27 Logger::debug( "Found handler for Appful request" ); 28 28 29 29 // Because there could be a huge amount of posts, increase the timeout to 10min … … 42 42 ); 43 43 44 Logger:: log( "Sending attachments for ids " . json_encode( $ids ) );44 Logger::debug( "Sending attachments for ids " . json_encode( $ids ) ); 45 45 46 46 $attachments = $this->get_attachments_by_id_use_case->invoke( $ids ); -
appful-app/trunk/includes/api/handlers/GetCategoriesRequestHandler.php
r2907312 r3018629 23 23 24 24 public function handle_request( PluginRequest $request ): PluginResponse { 25 Logger:: log( "Found handler for Appful request" );25 Logger::debug( "Found handler for Appful request" ); 26 26 27 27 // Because there could be a huge amount of posts, increase the timeout to 10min … … 40 40 ); 41 41 42 Logger:: log( "Sending categories for ids " . json_encode( $ids ) );42 Logger::debug( "Sending categories for ids " . json_encode( $ids ) ); 43 43 44 44 $categories = $this->get_categories_by_id_use_case->invoke( $ids ); -
appful-app/trunk/includes/api/handlers/GetCommentsRequestHandler.php
r2907312 r3018629 25 25 26 26 public function handle_request( PluginRequest $request ): PluginResponse { 27 Logger:: log( "Found handler for Appful request" );27 Logger::debug( "Found handler for Appful request" ); 28 28 29 29 // Because there could be a huge amount of posts, increase the timeout to 10min … … 42 42 ); 43 43 44 Logger:: log( "Sending comments for ids " . json_encode( $ids ) );44 Logger::debug( "Sending comments for ids " . json_encode( $ids ) ); 45 45 46 46 $comments = $this->get_comments_by_id_use_case->invoke( $ids ); -
appful-app/trunk/includes/api/handlers/GetPageContentsRequestHandler.php
r2971184 r3018629 25 25 26 26 public function handle_request( PluginRequest $request ): PluginResponse { 27 Logger:: log( "Found handler for Appful request" );27 Logger::debug( "Found handler for Appful request" ); 28 28 29 29 // Because there could be a huge amount of pages, increase the timeout to 10min … … 48 48 } 49 49 50 Logger:: log( "Sending page contents for ids " . json_encode( $ids ) . " for user " . $user_id );50 Logger::debug( "Sending page contents for ids " . json_encode( $ids ) . " for user " . $user_id ); 51 51 52 52 $page_contents = $this->get_page_contents_by_id_use_case->invoke( $ids, $cleaned_user_id ); -
appful-app/trunk/includes/api/handlers/GetPagesRequestHandler.php
r2971184 r3018629 25 25 26 26 public function handle_request( PluginRequest $request ): PluginResponse { 27 Logger:: log( "Found handler for Appful request" );27 Logger::debug( "Found handler for Appful request" ); 28 28 29 29 // Because there could be a huge amount of pages, increase the timeout to 10min … … 42 42 ); 43 43 44 Logger:: log( "Sending pages for ids " . json_encode( $ids ) );44 Logger::debug( "Sending pages for ids " . json_encode( $ids ) ); 45 45 46 46 $pages = $this->get_pages_by_id_use_case->invoke( $ids ); -
appful-app/trunk/includes/api/handlers/GetPostContentsRequestHandler.php
r2907312 r3018629 25 25 26 26 public function handle_request( PluginRequest $request ): PluginResponse { 27 Logger:: log( "Found handler for Appful request" );27 Logger::debug( "Found handler for Appful request" ); 28 28 29 29 // Because there could be a huge amount of posts, increase the timeout to 10min … … 42 42 ); 43 43 44 Logger:: log( "Sending post contents for ids " . json_encode( $ids ) );44 Logger::debug( "Sending post contents for ids " . json_encode( $ids ) ); 45 45 46 46 $postContents = $this->get_post_contents_by_id_use_case->invoke( $ids ); -
appful-app/trunk/includes/api/handlers/GetPostsRequestHandler.php
r2907312 r3018629 25 25 26 26 public function handle_request( PluginRequest $request ): PluginResponse { 27 Logger:: log( "Found handler for Appful request" );27 Logger::debug( "Found handler for Appful request" ); 28 28 29 29 // Because there could be a huge amount of posts, increase the timeout to 10min … … 42 42 ); 43 43 44 Logger:: log( "Sending posts for ids " . json_encode( $ids ) );44 Logger::debug( "Sending posts for ids " . json_encode( $ids ) ); 45 45 46 46 $posts = $this->get_posts_by_id_use_case->invoke( $ids ); -
appful-app/trunk/includes/api/handlers/GetRolesRequestHandler.php
r2962811 r3018629 25 25 26 26 public function handle_request( PluginRequest $request ): PluginResponse { 27 Logger:: log( "Found handler for Appful request" );27 Logger::debug( "Found handler for Appful request" ); 28 28 29 29 // Because there could be a huge amount of roles, increase the timeout to 10min … … 42 42 ); 43 43 44 Logger:: log( "Sending roles for ids " . json_encode( $ids ) );44 Logger::debug( "Sending roles for ids " . json_encode( $ids ) ); 45 45 46 46 $roles = $this->get_roles_by_id_use_case->invoke( $ids ); -
appful-app/trunk/includes/api/handlers/GetTagsRequestHandler.php
r2907312 r3018629 25 25 26 26 public function handle_request( PluginRequest $request ): PluginResponse { 27 Logger:: log( "Found handler for Appful request" );27 Logger::debug( "Found handler for Appful request" ); 28 28 29 29 // Because there could be a huge amount of posts, increase the timeout to 10min … … 42 42 ); 43 43 44 Logger:: log( "Sending tags for ids " . json_encode( $ids ) );44 Logger::debug( "Sending tags for ids " . json_encode( $ids ) ); 45 45 46 46 $tags = $this->get_tags_by_id_use_case->invoke( $ids ); -
appful-app/trunk/includes/api/handlers/GetUsersRequestHandler.php
r2907312 r3018629 25 25 26 26 public function handle_request( PluginRequest $request ): PluginResponse { 27 Logger:: log( "Found handler for Appful request" );27 Logger::debug( "Found handler for Appful request" ); 28 28 29 29 // Because there could be a huge amount of users, increase the timeout to 10min … … 42 42 ); 43 43 44 Logger:: log( "Sending users for ids " . json_encode( $ids ) );44 Logger::debug( "Sending users for ids " . json_encode( $ids ) ); 45 45 46 46 $users = $this->get_users_by_id_use_case->invoke( $ids ); -
appful-app/trunk/includes/api/handlers/InfoRequestHandler.php
r2978062 r3018629 22 22 23 23 public function handle_request( PluginRequest $request ): PluginResponse { 24 Logger:: log( "Found handler for Appful request" );24 Logger::debug( "Found handler for Appful request" ); 25 25 26 26 $blog_info = $this->get_blog_info_use_case->invoke(); -
appful-app/trunk/includes/api/handlers/LogRequestHandler.php
r2907312 r3018629 21 21 22 22 public function handle_request( PluginRequest $request ): PluginResponse { 23 Logger:: log( "Found handler for Appful request" );23 Logger::debug( "Found handler for Appful request" ); 24 24 25 25 $logs = $this->get_logs_use_case->invoke(); -
appful-app/trunk/includes/api/handlers/PageSyncRequestHandler.php
r2971184 r3018629 23 23 24 24 public function handle_request( PluginRequest $request ): PluginResponse { 25 Logger:: log( "Found handler for Appful request" );25 Logger::debug( "Found handler for Appful request" ); 26 26 27 27 // Because there could be a huge amount of posts, increase the timeout to 10min -
appful-app/trunk/includes/api/handlers/PostSyncRequestHandler.php
r2907312 r3018629 23 23 24 24 public function handle_request( PluginRequest $request ): PluginResponse { 25 Logger:: log( "Found handler for Appful request" );25 Logger::debug( "Found handler for Appful request" ); 26 26 27 27 // Because there could be a huge amount of posts, increase the timeout to 10min -
appful-app/trunk/includes/api/handlers/PullLocalPageContentRequestHandler.php
r2971184 r3018629 24 24 25 25 public function handle_request( PluginRequest $request ): PluginResponse { 26 Logger:: log( "Found handler for Appful request" );26 Logger::debug( "Found handler for Appful request" ); 27 27 28 28 // Because there could be a huge amount of pages, increase the timeout to 10min … … 40 40 } 41 41 42 Logger:: log( "Sending local page content for id " . $cleaned_id . " for user " . $cleaned_user_id );42 Logger::debug( "Sending local page content for id " . $cleaned_id . " for user " . $cleaned_user_id ); 43 43 44 44 $page_content = $this->get_local_page_content_by_id_use_case->invoke( $cleaned_id, $cleaned_user_id ); -
appful-app/trunk/includes/api/handlers/PullLocalPostContentRequestHandler.php
r2920184 r3018629 24 24 25 25 public function handle_request( PluginRequest $request ): PluginResponse { 26 Logger:: log( "Found handler for Appful request" );26 Logger::debug( "Found handler for Appful request" ); 27 27 28 28 // Because there could be a huge amount of posts, increase the timeout to 10min … … 35 35 $cleanedId = absint( sanitize_text_field( $_GET['id'] ) ); 36 36 37 Logger:: log( "Sending local post content for id " . $cleanedId );37 Logger::debug( "Sending local post content for id " . $cleanedId ); 38 38 39 39 $post_content = $this->get_local_post_content_by_id_use_case->invoke( $cleanedId ); -
appful-app/trunk/includes/api/handlers/RoleSyncRequestHandler.php
r2962811 r3018629 23 23 24 24 public function handle_request( PluginRequest $request ): PluginResponse { 25 Logger:: log( "Found handler for Appful request" );25 Logger::debug( "Found handler for Appful request" ); 26 26 27 27 // Because there could be a huge amount of roles, increase the timeout to 10min -
appful-app/trunk/includes/api/handlers/SyncRequestHandler.php
r2907312 r3018629 23 23 24 24 public function handle_request( PluginRequest $request ): PluginResponse { 25 Logger:: log( "Found handler for Appful request" );25 Logger::debug( "Found handler for Appful request" ); 26 26 27 27 $this->sync_all_use_case->invoke(); -
appful-app/trunk/includes/api/handlers/TagSyncRequestHandler.php
r2907312 r3018629 23 23 24 24 public function handle_request( PluginRequest $request ): PluginResponse { 25 Logger:: log( "Found handler for Appful request" );25 Logger::debug( "Found handler for Appful request" ); 26 26 27 27 // Because there could be a huge amount of posts, increase the timeout to 10min -
appful-app/trunk/includes/api/handlers/UserSyncRequestHandler.php
r2907312 r3018629 23 23 24 24 public function handle_request( PluginRequest $request ): PluginResponse { 25 Logger:: log( "Found handler for Appful request" );25 Logger::debug( "Found handler for Appful request" ); 26 26 27 27 // Because there could be a huge amount of users, increase the timeout to 10min -
appful-app/trunk/includes/api/handlers/page/GetPageContentRequestHandler.php
r2978062 r3018629 25 25 26 26 public function handle_request( PluginRequest $request ): PluginResponse { 27 Logger:: log( "Found handler for Appful request" );27 Logger::debug( "Found handler for Appful request" ); 28 28 29 29 if ( ! isset( $_GET['id'] ) ) { … … 39 39 } 40 40 41 Logger:: log( "Sending page content for id " . json_encode( $cleaned_id ) . " for user " . $request_user_id );41 Logger::debug( "Sending page content for id " . json_encode( $cleaned_id ) . " for user " . $request_user_id ); 42 42 43 43 $page_contents = $this->get_page_contents_by_id_use_case->invoke( [ $cleaned_id ], $cleaned_user_id ); -
appful-app/trunk/includes/api/mapper/SyncItemMapper.php
r2907312 r3018629 10 10 return new SyncItemDto( 11 11 $sync_item->get_id(), 12 $sync_item->get_modified() 12 $sync_item->get_modified(), 13 $sync_item->get_force_update(), 13 14 ); 14 15 } -
appful-app/trunk/includes/custom_taxonomies/AppfulTaxonomies.php
r2982658 r3018629 63 63 64 64 if ( ! $push_term ) { 65 Logger:: log( "Adding initial appful push term" );65 Logger::debug( "Adding initial appful push term" ); 66 66 67 67 $args = [ … … 82 82 83 83 if ( $push_term ) { 84 Logger:: log( "Removing initial appful push term" );84 Logger::info( "Removing initial appful push term" ); 85 85 86 86 wp_delete_term( -
appful-app/trunk/includes/domain/SyncItem.php
r2907312 r3018629 6 6 private int $id = - 1; 7 7 private string $modified = ""; 8 private bool $force_update = false; 8 9 9 10 public static function syncItem( 10 11 int $id = - 1, 11 string $modified = "" 12 string $modified = "", 13 bool $force_update = false, 12 14 ): SyncItem { 13 15 return ( new SyncItem() ) … … 28 30 } 29 31 32 public function force_update( bool $force_update ): SyncItem { 33 $this->force_update = $force_update; 34 35 return $this; 36 } 37 30 38 public function get_id(): int { 31 39 return $this->id; … … 35 43 return $this->modified; 36 44 } 45 46 public function get_force_update(): bool { 47 return $this->force_update; 48 } 37 49 } -
appful-app/trunk/includes/helper/Logger.php
r2920030 r3018629 4 4 5 5 class Logger { 6 public static function log( $msg, $name = '' ) { 7 if ( Constants::$APPFUL_DEBUG || ( isset( $_REQUEST["debug"] ) && $_REQUEST["debug"] == "1" ) ) { 6 private static function log( string $msg, ?string $level = null, string $name = '' ) { 7 $log_level = $level ?? LoggerLevel::$DEBUG; 8 9 if ( $log_level !== LoggerLevel::$DEBUG || ( Constants::$APPFUL_DEBUG || ( isset( $_REQUEST["debug"] ) && $_REQUEST["debug"] == "1" ) ) ) { 8 10 $trace = debug_backtrace(); 9 11 $name = ( '' == $name ) ? ( ( isset( $trace[1]['class'] ) ) ? $trace[1]['class'] : "Unknown" ) . "(" . $trace[1]['function'] . "):" . $trace[1]['line'] : $name; 10 12 $name = str_pad( substr( $name, 0, 79 ), 80 ); 11 13 14 $log_level = str_pad( $log_level, 8 ); 15 12 16 $error_dir = self::getLogFile(); 13 17 $msg = print_r( $msg, true ); 14 18 $date = date( 'd-m-y h:i:s' ); 15 $log = $date. " - " . $name . " | " . $msg . "\n";19 $log = "[" . $log_level . "]" . "[" . $date . "]" . " - " . $name . " | " . $msg . "\n"; 16 20 error_log( $log, 3, $error_dir ); 17 21 } 22 } 23 24 public static function debug( string $msg, string $name = '' ) { 25 self::log( $msg, LoggerLevel::$DEBUG, $name ); 26 } 27 28 public static function info( string $msg, string $name = '' ) { 29 self::log( $msg, LoggerLevel::$INFO, $name ); 30 } 31 32 public static function error( string $msg, string $name = '' ) { 33 self::log( $msg, LoggerLevel::$ERROR, $name ); 18 34 } 19 35 -
appful-app/trunk/includes/hooks/ActivationHook.php
r2907312 r3018629 40 40 41 41 private function on_activate() { 42 Logger:: log( "Plugin activated" );42 Logger::info( "Plugin activated" ); 43 43 44 44 $this->taxonomy_manager->load_direct(); … … 47 47 48 48 private function on_deactivate() { 49 Logger:: log( "Plugin deactivated" );49 Logger::info( "Plugin deactivated" ); 50 50 51 51 $this->taxonomy_manager->load_direct(); -
appful-app/trunk/includes/hooks/AttachmentHook.php
r2920030 r3018629 44 44 45 45 private function on_save_attachment( int $attachment_id ) { 46 Logger:: log( "Attachment with id " . $attachment_id . " saved!" );46 Logger::debug( "Attachment with id " . $attachment_id . " saved!" ); 47 47 48 48 $attachment_post = get_post( $attachment_id ); … … 54 54 55 55 private function on_delete_attachment( int $attachment_id ) { 56 Logger:: log( "Attachment with id " . $attachment_id . " deleted!" );56 Logger::debug( "Attachment with id " . $attachment_id . " deleted!" ); 57 57 58 58 $this->use_case_manager->attachment_delete_use_case()->invoke( $attachment_id ); -
appful-app/trunk/includes/hooks/CommentHook.php
r2907312 r3018629 54 54 55 55 private function on_comment_transition( string $new_status, ?string $old_status, WP_Comment $comment ) { 56 Logger:: log( "Comment transitioned from " . ( $old_status == null ? "null" : $old_status ) . " to " . $new_status . ": " . json_encode( $comment ) );56 Logger::debug( "Comment transitioned from " . ( $old_status == null ? "null" : $old_status ) . " to " . $new_status . ": " . json_encode( $comment ) ); 57 57 $domain_comment = CommentMapper::to_domain( $comment ); 58 58 $this->use_case_manager->comment_save_use_case()->invoke( $domain_comment ); … … 72 72 73 73 private function on_delete_comment( string $comment_id ) { 74 Logger:: log( "Comment with id " . $comment_id . " deleted!" );74 Logger::debug( "Comment with id " . $comment_id . " deleted!" ); 75 75 76 76 $this->use_case_manager->comment_delete_use_case()->invoke( $comment_id ); -
appful-app/trunk/includes/hooks/PageHook.php
r2971184 r3018629 40 40 } 41 41 42 Logger:: log( "Page with id " . $page->ID . " deleted!" );42 Logger::debug( "Page with id " . $page->ID . " deleted!" ); 43 43 44 44 $this->use_case_manager->page_delete_use_case()->invoke( $page_id ); … … 58 58 } 59 59 60 Logger:: log( "Page with id " . $page->ID . " inserted with status " . $page->post_status . "!" );60 Logger::debug( "Page with id " . $page->ID . " inserted with status " . $page->post_status . "!" ); 61 61 62 62 $domain_page = PageMapper::to_domain( $page ); -
appful-app/trunk/includes/hooks/PostHook.php
r2932187 r3018629 18 18 add_action( 19 19 "wp_after_insert_post", 20 function ( int $post_id, WP_Post $post ) {21 $this->after_save_post( $post );20 function ( int $post_id, WP_Post $post, bool $update, ?WP_Post $post_before ) { 21 $this->after_save_post( $post, $post_before ); 22 22 }, 23 23 99, 24 2,24 4, 25 25 ); 26 26 … … 40 40 } 41 41 42 Logger:: log( "Post with id " . $post->ID . " deleted!" );42 Logger::debug( "Post with id " . $post->ID . " deleted!" ); 43 43 44 44 $this->use_case_manager->post_delete_use_case()->invoke( $post_id ); 45 45 } 46 46 47 private function after_save_post( WP_Post $post ) {47 private function after_save_post( WP_Post $post, ?WP_Post $post_before ) { 48 48 if ( defined( "DOING_AUTOSAVE" ) && DOING_AUTOSAVE ) { 49 49 return; … … 58 58 } 59 59 60 Logger:: log( "Post with id " . $post->ID . " inserted with status " . $post->post_status . "!" );60 Logger::debug( "Post with id " . $post->ID . " inserted with status " . $post->post_status . "!" ); 61 61 62 $domain_post = PostMapper::to_ domain( $post);62 $domain_post = PostMapper::to_sync_item( $post, $post->post_status != $post_before->post_status ); 63 63 $this->use_case_manager->post_save_use_case()->invoke( $domain_post ); 64 64 } -
appful-app/trunk/includes/hooks/SessionHook.php
r2936340 r3018629 35 35 36 36 private function on_appful_login() { 37 Logger:: log( "Logging in user!" );37 Logger::info( "Logging in user!" ); 38 38 39 39 WPOptionsManager::delete_last_sync_error(); … … 42 42 $this->use_case_manager->sync_all_use_case()->invoke(); 43 43 } else { 44 Logger:: log( "Error occurred when registering blog!" );44 Logger::error( "Error occurred when registering blog!" ); 45 45 $this->clean_on_error(); 46 46 } … … 56 56 57 57 private function on_appful_logout() { 58 Logger:: log( "Logging out user!" );58 Logger::info( "Logging out user!" ); 59 59 if ( $this->use_case_manager->is_logged_in_use_case()->invoke() ) { 60 60 $this->use_case_manager->delete_session_use_case()->invoke(); -
appful-app/trunk/includes/hooks/TaxonomyHook.php
r2907312 r3018629 55 55 private function on_saved_category( int $term_id, int $taxonomy_id ) { 56 56 $category = get_term( $term_id ); 57 Logger:: log( "Category with id " . $term_id . " saved!" );57 Logger::debug( "Category with id " . $term_id . " saved!" ); 58 58 59 59 $domain_category = CategoryMapper::to_domain( $category ); … … 62 62 63 63 private function on_delete_category( int $term_id, int $taxonomy_id ) { 64 Logger:: log( "Category with id " . $term_id . " deleted!" );64 Logger::debug( "Category with id " . $term_id . " deleted!" ); 65 65 66 66 $this->use_case_manager->category_delete_use_case()->invoke( $term_id ); … … 69 69 private function on_saved_tag( int $term_id, int $taxonomy_id ) { 70 70 $tag = get_term( $term_id ); 71 Logger:: log( "Tag with id " . $term_id . " saved!" );71 Logger::debug( "Tag with id " . $term_id . " saved!" ); 72 72 73 73 $domain_tag = TagMapper::to_domain( $tag ); … … 76 76 77 77 private function on_delete_tag( int $term_id, int $taxonomy_id ) { 78 Logger:: log( "Tag with id " . $term_id . " deleted!" );78 Logger::debug( "Tag with id " . $term_id . " deleted!" ); 79 79 80 80 $this->use_case_manager->tag_delete_use_case()->invoke( $term_id ); -
appful-app/trunk/includes/hooks/UserHook.php
r2982658 r3018629 53 53 54 54 private function on_save_user( int $user_id ) { 55 Logger:: log( "User with id " . $user_id . " saved!" );55 Logger::debug( "User with id " . $user_id . " saved!" ); 56 56 57 57 $wp_user = WPUserManager::get_user_by_id( $user_id ); … … 62 62 63 63 private function on_delete_user( int $user_id ) { 64 Logger:: log( "User with id " . $user_id . " deleted!" );64 Logger::debug( "User with id " . $user_id . " deleted!" ); 65 65 66 66 $this->use_case_manager->user_delete_use_case()->invoke( $user_id ); -
appful-app/trunk/includes/use_cases/AttachmentDeleteUseCase.php
r2920184 r3018629 16 16 17 17 public function invoke( string $attachment_id ) { 18 Logger:: log( "Sending attachment delete request for: " . $attachment_id );18 Logger::debug( "Sending attachment delete request for: " . $attachment_id ); 19 19 $request = HttpRequest::backend_request()->method( "DELETE" )->path( Constants::$ATTACHMENT_PATH . "/" . $attachment_id ); 20 20 $this->backend_client->send_request( $request ); -
appful-app/trunk/includes/use_cases/AttachmentSaveUseCase.php
r2920184 r3018629 19 19 public function invoke( Attachment $attachment ) { 20 20 $attachment_dto = AttachmentMapper::to_dto( $attachment ); 21 Logger:: log( "Sending attachment save request with data: " . json_encode( $attachment_dto ) );21 Logger::debug( "Sending attachment save request with data: " . json_encode( $attachment_dto ) ); 22 22 $request = HttpRequest::backend_request()->method( "POST" )->body( $attachment_dto )->path( Constants::$ATTACHMENT_PATH ); 23 23 $this->backend_client->send_request( $request ); -
appful-app/trunk/includes/use_cases/CategoryDeleteUseCase.php
r2920184 r3018629 16 16 17 17 public function invoke( int $term_id ) { 18 Logger:: log( "Sending category delete request for: " . $term_id );18 Logger::debug( "Sending category delete request for: " . $term_id ); 19 19 $request = HttpRequest::backend_request()->method( "DELETE" )->path( Constants::$TAXONOMY_PATH . "/categories/" . $term_id ); 20 20 $this->backend_client->send_request( $request ); -
appful-app/trunk/includes/use_cases/CategorySaveUseCase.php
r2920184 r3018629 19 19 public function invoke( Category $category ) { 20 20 $category_dto = CategoryMapper::to_dto( $category ); 21 Logger:: log( "Sending category save request with data: " . json_encode( $category_dto ) );21 Logger::debug( "Sending category save request with data: " . json_encode( $category_dto ) ); 22 22 $request = HttpRequest::backend_request()->method( "POST" )->body( $category_dto )->path( Constants::$TAXONOMY_PATH . "/categories" ); 23 23 $this->backend_client->send_request( $request ); -
appful-app/trunk/includes/use_cases/CommentDeleteUseCase.php
r2920184 r3018629 16 16 17 17 public function invoke( string $comment_id ) { 18 Logger:: log( "Sending comment delete request for: " . $comment_id );18 Logger::debug( "Sending comment delete request for: " . $comment_id ); 19 19 $request = HttpRequest::backend_request()->method( "DELETE" )->path( Constants::$COMMENT_PATH . "/" . $comment_id ); 20 20 $this->backend_client->send_request( $request ); -
appful-app/trunk/includes/use_cases/CommentSaveUseCase.php
r2920184 r3018629 19 19 public function invoke( Comment $comment ) { 20 20 $comment_dto = CommentMapper::to_dto( $comment ); 21 Logger:: log( "Sending comment save request with data: " . json_encode( $comment_dto ) );21 Logger::debug( "Sending comment save request with data: " . json_encode( $comment_dto ) ); 22 22 $request = HttpRequest::backend_request()->method( "POST" )->body( $comment_dto )->path( Constants::$COMMENT_PATH ); 23 23 $this->backend_client->send_request( $request ); -
appful-app/trunk/includes/use_cases/DeleteSessionUseCase.php
r2936340 r3018629 16 16 17 17 public function invoke() { 18 Logger:: log( "Unregistering blog!" );18 Logger::info( "Unregistering blog!" ); 19 19 $request = HttpRequest::backend_request()->method( "DELETE" )->path( Constants::$BLOG_PATH ); 20 20 $this->backend_client->send_request( $request, false ); -
appful-app/trunk/includes/use_cases/LogoutUserUseCase.php
r2936340 r3018629 16 16 17 17 public function invoke() { 18 Logger:: log( "Logout user!" );18 Logger::info( "Logout user!" ); 19 19 $request = HttpRequest::backend_request()->method( "DELETE" )->path( Constants::$APPFUL_USER_PATH . "/logout" ); 20 20 $this->backend_client->send_request( $request, false ); -
appful-app/trunk/includes/use_cases/PageDeleteUseCase.php
r2971184 r3018629 16 16 17 17 public function invoke( int $page_id ) { 18 Logger:: log( "Sending page delete request for: " . $page_id );18 Logger::debug( "Sending page delete request for: " . $page_id ); 19 19 $request = HttpRequest::backend_request()->method( "DELETE" )->path( Constants::$PAGE_PATH . "/" . $page_id ); 20 20 $this->backend_client->send_request( $request ); -
appful-app/trunk/includes/use_cases/PageSaveUseCase.php
r2971184 r3018629 19 19 public function invoke( Page $page ) { 20 20 $page_dto = PageMapper::to_dto( $page ); 21 Logger:: log( "Sending page save request with data: " . json_encode( $page_dto ) );21 Logger::debug( "Sending page save request with data: " . json_encode( $page_dto ) ); 22 22 $request = HttpRequest::backend_request()->method( "POST" )->body( $page_dto )->path( Constants::$PAGE_PATH ); 23 23 $this->backend_client->send_request( $request ); -
appful-app/trunk/includes/use_cases/PostDeleteUseCase.php
r2920184 r3018629 16 16 17 17 public function invoke( int $post_id ) { 18 Logger:: log( "Sending post delete request for: " . $post_id );18 Logger::debug( "Sending post delete request for: " . $post_id ); 19 19 $request = HttpRequest::backend_request()->method( "DELETE" )->path( Constants::$POST_PATH . "/" . $post_id ); 20 20 $this->backend_client->send_request( $request ); -
appful-app/trunk/includes/use_cases/PostSaveUseCase.php
r2920184 r3018629 4 4 5 5 use AppfulPlugin\Api\Client\BackendClient; 6 use AppfulPlugin\Api\Mapper\ PostMapper;6 use AppfulPlugin\Api\Mapper\SyncItemMapper; 7 7 use AppfulPlugin\Api\Requests\HttpRequest; 8 use AppfulPlugin\Domain\ Post;8 use AppfulPlugin\Domain\SyncItem; 9 9 use AppfulPlugin\Helper\Constants; 10 10 use AppfulPlugin\Helper\Logger; … … 17 17 } 18 18 19 public function invoke( Post$post ) {20 $post_dto = PostMapper::to_dto( $post );21 Logger:: log( "Sending post save request with data: " . json_encode( $post_dto ) );19 public function invoke( SyncItem $post ) { 20 $post_dto = SyncItemMapper::to_dto( $post ); 21 Logger::debug( "Sending post save request with data: " . json_encode( $post_dto ) ); 22 22 $request = HttpRequest::backend_request()->method( "POST" )->body( $post_dto )->path( Constants::$POST_PATH ); 23 23 $this->backend_client->send_request( $request ); -
appful-app/trunk/includes/use_cases/PullLocalPostContentUseCase.php
r2971184 r3018629 17 17 18 18 public function invoke( int $id ): ?PostContent { 19 Logger:: log( "Pulling local post content for id: " . $id );19 Logger::debug( "Pulling local post content for id: " . $id ); 20 20 21 21 $request_params = []; -
appful-app/trunk/includes/use_cases/RegisterBlogUseCase.php
r2936340 r3018629 22 22 $blog_info_dto = BlogInfoMapper::to_dto( $blog_info ); 23 23 24 Logger:: log( "Registering blog with data: " . json_encode( $blog_info_dto ) );24 Logger::info( "Registering blog with data: " . json_encode( $blog_info_dto ) ); 25 25 26 26 $request = HttpRequest::backend_request()->method( "POST" )->body( $blog_info_dto )->path( Constants::$BLOG_PATH ); -
appful-app/trunk/includes/use_cases/SendAttachmentChunkSyncUseCase.php
r2920184 r3018629 20 20 $sync_item_dtos = SyncChunkMapper::to_dto( $sync_items ); 21 21 22 Logger:: log( "Sending attachment chunk to sync: " . json_encode( $sync_item_dtos ) );22 Logger::debug( "Sending attachment chunk to sync: " . json_encode( $sync_item_dtos ) ); 23 23 $request = HttpRequest::backend_request()->method( "PATCH" )->body( $sync_item_dtos )->path( Constants::$ATTACHMENT_PATH . "/sync" ); 24 24 $this->backend_client->send_request( $request ); -
appful-app/trunk/includes/use_cases/SendCategoryChunkSyncUseCase.php
r2920184 r3018629 20 20 $sync_item_dtos = SyncChunkMapper::to_dto( $sync_items ); 21 21 22 Logger:: log( "Sending category chunk to sync: " . json_encode( $sync_item_dtos ) );22 Logger::debug( "Sending category chunk to sync: " . json_encode( $sync_item_dtos ) ); 23 23 $request = HttpRequest::backend_request()->method( "PATCH" )->body( $sync_item_dtos )->path( Constants::$TAXONOMY_PATH . "/categories/sync" ); 24 24 $this->backend_client->send_request( $request ); -
appful-app/trunk/includes/use_cases/SendCommentChunkSyncUseCase.php
r2920184 r3018629 20 20 $sync_item_dtos = SyncChunkMapper::to_dto( $sync_items ); 21 21 22 Logger:: log( "Sending comment chunk to sync: " . json_encode( $sync_item_dtos ) );22 Logger::debug( "Sending comment chunk to sync: " . json_encode( $sync_item_dtos ) ); 23 23 $request = HttpRequest::backend_request()->method( "PATCH" )->body( $sync_item_dtos )->path( Constants::$COMMENT_PATH . "/sync" ); 24 24 $this->backend_client->send_request( $request ); -
appful-app/trunk/includes/use_cases/SendPageChunkSyncUseCase.php
r2971184 r3018629 20 20 $sync_item_dtos = SyncChunkMapper::to_dto( $sync_items ); 21 21 22 Logger:: log( "Sending page chunk to sync: " . json_encode( $sync_item_dtos ) );22 Logger::debug( "Sending page chunk to sync: " . json_encode( $sync_item_dtos ) ); 23 23 $request = HttpRequest::backend_request()->method( "PATCH" )->body( $sync_item_dtos )->path( Constants::$PAGE_PATH . "/sync" ); 24 24 $this->backend_client->send_request( $request ); -
appful-app/trunk/includes/use_cases/SendPostChunkSyncUseCase.php
r2920184 r3018629 22 22 $sync_item_dtos = SyncChunkMapper::to_dto($sync_items); 23 23 24 Logger:: log( "Sending post chunk to sync: " . json_encode( $sync_item_dtos ) );24 Logger::debug( "Sending post chunk to sync: " . json_encode( $sync_item_dtos ) ); 25 25 $request = HttpRequest::backend_request()->method( "PATCH" )->body( $sync_item_dtos )->path( Constants::$POST_PATH . "/sync" ); 26 26 $this->backend_client->send_request( $request ); -
appful-app/trunk/includes/use_cases/SendRoleChunkSyncUseCase.php
r2962811 r3018629 20 20 $sync_item_dtos = SyncChunkMapper::to_dto( $sync_items ); 21 21 22 Logger:: log( "Sending role chunk to sync: " . json_encode( $sync_item_dtos ) );22 Logger::debug( "Sending role chunk to sync: " . json_encode( $sync_item_dtos ) ); 23 23 $request = HttpRequest::backend_request()->method( "PATCH" )->body( $sync_item_dtos )->path( Constants::$ROLE_PATH . "/sync" ); 24 24 $this->backend_client->send_request( $request ); -
appful-app/trunk/includes/use_cases/SendTagChunkSyncUseCase.php
r2920184 r3018629 20 20 $sync_item_dtos = SyncChunkMapper::to_dto( $sync_items ); 21 21 22 Logger:: log( "Sending tag chunk to sync: " . json_encode( $sync_item_dtos ) );22 Logger::debug( "Sending tag chunk to sync: " . json_encode( $sync_item_dtos ) ); 23 23 $request = HttpRequest::backend_request()->method( "PATCH" )->body( $sync_item_dtos )->path( Constants::$TAXONOMY_PATH . "/tags/sync" ); 24 24 $this->backend_client->send_request( $request ); -
appful-app/trunk/includes/use_cases/SendUserChunkSyncUseCase.php
r2920184 r3018629 20 20 $sync_item_dtos = SyncChunkMapper::to_dto( $sync_items ); 21 21 22 Logger:: log( "Sending user chunk to sync: " . json_encode( $sync_item_dtos ) );22 Logger::debug( "Sending user chunk to sync: " . json_encode( $sync_item_dtos ) ); 23 23 $request = HttpRequest::backend_request()->method( "PATCH" )->body( $sync_item_dtos )->path( Constants::$USER_PATH . "/sync" ); 24 24 $this->backend_client->send_request( $request ); -
appful-app/trunk/includes/use_cases/TagDeleteUseCase.php
r2920184 r3018629 16 16 17 17 public function invoke( int $term_id ) { 18 Logger:: log( "Sending tag delete request for: " . $term_id );18 Logger::debug( "Sending tag delete request for: " . $term_id ); 19 19 $request = HttpRequest::backend_request()->method( "DELETE" )->path( Constants::$TAXONOMY_PATH . "/tags/" . $term_id ); 20 20 $this->backend_client->send_request( $request ); -
appful-app/trunk/includes/use_cases/TagSaveUseCase.php
r2920184 r3018629 19 19 public function invoke( Tag $tag ) { 20 20 $tag_dto = TagMapper::to_dto( $tag ); 21 Logger:: log( "Sending tag save request with data: " . json_encode( $tag_dto ) );21 Logger::debug( "Sending tag save request with data: " . json_encode( $tag_dto ) ); 22 22 $request = HttpRequest::backend_request()->method( "POST" )->body( $tag_dto )->path( Constants::$TAXONOMY_PATH . "/tags" ); 23 23 $this->backend_client->send_request( $request ); -
appful-app/trunk/includes/use_cases/UserDeleteUseCase.php
r2920184 r3018629 16 16 17 17 public function invoke( string $user_id ) { 18 Logger:: log( "Sending user delete request for: " . $user_id );18 Logger::debug( "Sending user delete request for: " . $user_id ); 19 19 $request = HttpRequest::backend_request()->method( "DELETE" )->path( Constants::$USER_PATH . "/" . $user_id ); 20 20 $this->backend_client->send_request( $request ); -
appful-app/trunk/includes/use_cases/UserSaveUseCase.php
r2920184 r3018629 19 19 public function invoke( User $user ) { 20 20 $user_dto = UserMapper::to_dto( $user ); 21 Logger:: log( "Sending user save request with data: " . json_encode( $user_dto ) );21 Logger::debug( "Sending user save request with data: " . json_encode( $user_dto ) ); 22 22 $request = HttpRequest::backend_request()->method( "POST" )->body( $user_dto )->path( Constants::$USER_PATH ); 23 23 $this->backend_client->send_request( $request ); -
appful-app/trunk/includes/use_cases/page/PullLocalPageContentUseCase.php
r2971184 r3018629 17 17 18 18 public function invoke( int $id, ?int $user_id = null ): ?PageContent { 19 Logger:: log( "Pulling local page content for id " . $id . " for user " . $user_id );19 Logger::debug( "Pulling local page content for id " . $id . " for user " . $user_id ); 20 20 21 21 $request_params = []; -
appful-app/trunk/includes/wp/WPCommentManager.php
r2954441 r3018629 64 64 65 65 if ($commentId === false) { 66 Logger:: log( "Insert comment failed" );66 Logger::error( "Insert comment failed" ); 67 67 return null; 68 68 } 69 Logger::log( "Inserted comment!" );70 69 71 70 $comment = get_comment($commentId); 72 71 73 72 if (!$comment instanceof WP_Comment) { 74 Logger:: log( "Getting comment failed!" );73 Logger::error( "Getting comment failed!" ); 75 74 return null; 76 75 } -
appful-app/trunk/includes/wp/mapper/PostMapper.php
r2962811 r3018629 4 4 5 5 use AppfulPlugin\Domain\Post; 6 use AppfulPlugin\Domain\SyncItem; 6 7 use AppfulPlugin\Helper\DateParser; 7 8 use AppfulPlugin\Wp\WPAttachmentManager; … … 35 36 ->roles( WPRoleManager::get_roles_for_post_id( $post->ID ) ); 36 37 } 38 39 public static function to_sync_item( WP_Post $post, bool $force_update ): SyncItem { 40 return SyncItem::syncItem() 41 ->id( $post->ID ) 42 ->modified( DateParser::fromGmtDate( $post->post_modified_gmt ) ) 43 ->force_update( $force_update ); 44 } 37 45 } -
appful-app/trunk/lib/vendor/composer/autoload_classmap.php
r2978062 r3018629 101 101 'AppfulPlugin\\Helper\\DateParser' => $baseDir . '/../includes/helper/DateParser.php', 102 102 'AppfulPlugin\\Helper\\Logger' => $baseDir . '/../includes/helper/Logger.php', 103 'AppfulPlugin\\Helper\\LoggerLevel' => $baseDir . '/../includes/helper/LoggerLevel.php', 103 104 'AppfulPlugin\\Helper\\TemplateLoader' => $baseDir . '/../includes/helper/TemplateLoader.php', 104 105 'AppfulPlugin\\Hooks\\ActivationHook' => $baseDir . '/../includes/hooks/ActivationHook.php', -
appful-app/trunk/lib/vendor/composer/autoload_static.php
r2978062 r3018629 278 278 'AppfulPlugin\\Helper\\DateParser' => __DIR__ . '/../..' . '/../includes/helper/DateParser.php', 279 279 'AppfulPlugin\\Helper\\Logger' => __DIR__ . '/../..' . '/../includes/helper/Logger.php', 280 'AppfulPlugin\\Helper\\LoggerLevel' => __DIR__ . '/../..' . '/../includes/helper/LoggerLevel.php', 280 281 'AppfulPlugin\\Helper\\TemplateLoader' => __DIR__ . '/../..' . '/../includes/helper/TemplateLoader.php', 281 282 'AppfulPlugin\\Hooks\\ActivationHook' => __DIR__ . '/../..' . '/../includes/hooks/ActivationHook.php', -
appful-app/trunk/lib/vendor/composer/installed.php
r2978062 r3018629 4 4 'pretty_version' => 'dev-main', 5 5 'version' => 'dev-main', 6 'reference' => ' 2ba6b06d04004a7d391027374cc785e0853d4186',6 'reference' => 'd550503fb49e89e7e02f5f243b50014e609439b5', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 14 14 'pretty_version' => 'dev-main', 15 15 'version' => 'dev-main', 16 'reference' => ' 2ba6b06d04004a7d391027374cc785e0853d4186',16 'reference' => 'd550503fb49e89e7e02f5f243b50014e609439b5', 17 17 'type' => 'library', 18 18 'install_path' => __DIR__ . '/../../', -
appful-app/trunk/readme.txt
r2982658 r3018629 4 4 Donate link: https://appful.io 5 5 Requires at least: 5.8 6 Tested up to: 6. 36 Tested up to: 6.4 7 7 Requires PHP: 7.4 8 Stable tag: 3.1.1 58 Stable tag: 3.1.16 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.