Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(dev): Automatically switch app_env=dev by ip #396

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

ragusa87
Copy link
Contributor

No description provided.

Copy link

Coverage report for commit: a59dc39
File: coverage.xml

Summary - Lines: 59.15% ⏹️ | Methods: 53.96% ⏹️
false
FilesLinesMethods
src/Ai/Communicator
   AbstractCommunicator.php50.00% ⏹️50.00% ⏹️
   CommunicatorDefiner.php47.06% ⏹️33.33% ⏹️
   OllamaCommunicator.php94.44% ⏹️80.00% ⏹️
src/Ai/Context
   AmazonContextBuilder.php33.33% ⏹️57.14% ⏹️
   EpubContextBuilder.php75.00% ⏹️66.67% ⏹️
   SummaryContextBuilder.php50.00% ⏹️50.00% ⏹️
   WikipediaContextBuilder.php47.62% ⏹️25.00% ⏹️
src/Ai/Prompt
   AbstractBookPrompt.php81.25% ⏹️66.67% ⏹️
   SearchHintPrompt.php- ⏹️- ⏹️
   TagPrompt.php75.00% ⏹️50.00% ⏹️
src/Command
   BackupDbCommand.php- ⏹️- ⏹️
   BooksAiCommand.php- ⏹️- ⏹️
   BooksCheckCommand.php- ⏹️- ⏹️
   BooksExtractCoverCommand.php- ⏹️- ⏹️
   BooksRelocateCommand.php- ⏹️- ⏹️
   BooksScanCommand.php- ⏹️- ⏹️
   CreateUserCommand.php90.91% ⏹️66.67% ⏹️
   TranslationRetrieveFromProfilerCommand.php- ⏹️- ⏹️
src/Config
   ConfigValue.php30.77% ⏹️33.33% ⏹️
src/Controller
   AbstractController.php64.86% ⏹️14.29% ⏹️
   AiModelController.php81.71% ⏹️60.00% ⏹️
   AuthorController.php94.74% ⏹️- ⏹️
   AutocompleteGroupController.php74.07% ⏹️- ⏹️
   BookController.php45.87% ⏹️22.22% ⏹️
   DefaultController.php74.04% ⏹️20.00% ⏹️
   GroupController.php83.33% ⏹️50.00% ⏹️
   InstanceConfigurationController.php95.00% ⏹️- ⏹️
   LoginController.php85.71% ⏹️50.00% ⏹️
   OpdsAccessController.php92.31% ⏹️50.00% ⏹️
   ShelfCrudController.php66.67% ⏹️33.33% ⏹️
   UserController.php34.72% ⏹️40.00% ⏹️
src/Controller/Kobo
   KoboDeviceController.php40.00% ⏹️16.67% ⏹️
src/Controller/Kobo/Api
   ApiEndpointController.php- ⏹️- ⏹️
   ImageController.php66.67% ⏹️50.00% ⏹️
src/Controller/Kobo/Api/V1
   ProductsController.php75.00% ⏹️50.00% ⏹️
   TagController.php75.61% ⏹️25.00% ⏹️
src/Controller/Kobo/Api/V1/Library
   MetadataController.php83.33% ⏹️50.00% ⏹️
   StateController.php86.67% ⏹️25.00% ⏹️
src/Controller/Kobo/Api/V3
   ContentController.php28.57% ⏹️66.67% ⏹️
src/Controller/OPDS
   OpdsController.php34.52% ⏹️11.11% ⏹️
src/Entity
   AiModel.php92.59% ⏹️94.74% ⏹️
   Book.php41.55% ⏹️53.73% ⏹️
   BookInteraction.php54.29% ⏹️54.17% ⏹️
   BookmarkUser.php64.29% ⏹️61.90% ⏹️
   InstanceConfiguration.php28.57% ⏹️40.00% ⏹️
   KoboDevice.php63.16% ⏹️64.00% ⏹️
   KoboSyncedBook.php64.29% ⏹️50.00% ⏹️
   OpdsAccess.php75.00% ⏹️83.33% ⏹️
   RandomGeneratorTrait.php- ⏹️- ⏹️
   Shelf.php77.55% ⏹️68.97% ⏹️
   User.php40.00% ⏹️48.15% ⏹️
   UuidGeneratorTrait.php66.67% ⏹️- ⏹️
src/Enum
   AgeCategory.php87.50% ⏹️50.00% ⏹️
   ReadStatus.php85.71% ⏹️66.67% ⏹️
   ReadingList.php85.71% ⏹️66.67% ⏹️
src/EventListener
   LanguageListener.php90.91% ⏹️50.00% ⏹️
   LoginListener.php85.71% ⏹️50.00% ⏹️
src/EventSubscriber
   KoboLogRequestSubscriber.php84.00% ⏹️75.00% ⏹️
src/Exception
   BookExtractionException.php- ⏹️- ⏹️
   BookFileNotFound.php- ⏹️- ⏹️
src/Form
   LabelTranslationFormExtension.php90.91% ⏹️60.00% ⏹️
   ShelfType.php72.73% ⏹️50.00% ⏹️
src/Kobo
   DownloadHelper.php89.55% ⏹️70.00% ⏹️
   SyncTokenParser.php88.24% ⏹️50.00% ⏹️
   UpstreamSyncMerger.php57.14% ⏹️50.00% ⏹️
src/Kobo/ImageProcessor
   CoverTransformer.php62.07% ⏹️- ⏹️
src/Kobo/Kepubify
   KebpubifyCachedData.php25.00% ⏹️50.00% ⏹️
   KepubifyMessageHandler.php54.84% ⏹️25.00% ⏹️
src/Kobo/ParamConverter
   KoboParamConverter.php95.00% ⏹️83.33% ⏹️
src/Kobo/Proxy
   KoboHeaderFilterTrait.php74.36% ⏹️50.00% ⏹️
   KoboProxyListener.php27.27% ⏹️50.00% ⏹️
   KoboProxyLogger.php- ⏹️- ⏹️
   KoboProxyLoggerFactory.php14.29% ⏹️33.33% ⏹️
   KoboStoreProxy.php77.33% ⏹️76.47% ⏹️
src/Kobo/Request
   TagDeleteRequest.php80.00% ⏹️- ⏹️
src/Kobo/Response
   ReadingStateResponse.php89.74% ⏹️40.00% ⏹️
   SyncResponse.php91.11% ⏹️86.67% ⏹️
   SyncResponseHelper.php81.25% ⏹️60.00% ⏹️
src/OPDS
   Opds.php47.50% ⏹️57.14% ⏹️
src/Repository
   BookInteractionRepository.php93.94% ⏹️33.33% ⏹️
   BookRepository.php85.85% ⏹️57.14% ⏹️
   BookmarkUserRepository.php- ⏹️- ⏹️
   InstanceConfigurationRepository.php25.00% ⏹️50.00% ⏹️
   KoboDeviceRepository.php57.14% ⏹️75.00% ⏹️
   ShelfRepository.php66.10% ⏹️75.00% ⏹️
   UserRepository.php63.64% ⏹️75.00% ⏹️
src/Security
   KoboAccessTokenAuthenticator.php65.22% ⏹️50.00% ⏹️
   KoboTokenExtractor.php76.92% ⏹️40.00% ⏹️
   KoboTokenHandler.php71.43% ⏹️50.00% ⏹️
   OpdsTokenExtractor.php41.67% ⏹️25.00% ⏹️
   OpdsTokenHandler.php80.00% ⏹️50.00% ⏹️
src/Security/Voter
   AiFeaturesVoter.php75.00% ⏹️66.67% ⏹️
   BookInteractionVoter.php14.29% ⏹️50.00% ⏹️
   BookVoter.php83.33% ⏹️50.00% ⏹️
   KoboDeviceVoter.php70.00% ⏹️50.00% ⏹️
   RelocationVoter.php50.00% ⏹️66.67% ⏹️
src/Service
   BookFileSystemManager.php15.09% ⏹️28.21% ⏹️
   BookInteractionService.php64.71% ⏹️- ⏹️
   BookManager.php- ⏹️- ⏹️
   BookProgressionService.php79.55% ⏹️20.00% ⏹️
   ConnectionKeepAliveSubscriber.php80.00% ⏹️- ⏹️
   KoboSyncTokenExtractor.php70.00% ⏹️80.00% ⏹️
   ThemeSelector.php83.33% ⏹️66.67% ⏹️
src/Service/Search
   SearchHelper.php57.14% ⏹️37.50% ⏹️
src/Twig/Components
   AddNewShelf.php- ⏹️- ⏹️
   AiSuggestion.php- ⏹️- ⏹️
   FieldGuesser.php- ⏹️- ⏹️
   InlineEditBook.php7.32% ⏹️50.00% ⏹️
   InlineEditGroup.php- ⏹️- ⏹️
   InlineEditInteraction.php23.38% ⏹️41.67% ⏹️
   InlineEditMultiple.php- ⏹️- ⏹️
   Search.php69.81% ⏹️50.00% ⏹️
   UploadBookPicture.php- ⏹️- ⏹️
src/Twig/Runtime
   ThemeExtensionRuntime.php80.00% ⏹️50.00% ⏹️

🤖 comment via lucassabreu/comment-coverage-clover

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant