From 9e362f6671d3cae8e0398a5de34f21a7f4849059 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sedat=20=C3=96ZT=C3=9CRK?=
<76204082+iamsedatozturk@users.noreply.github.com>
Date: Fri, 21 Aug 2026 22:27:59 +0300
Subject: [PATCH] =?UTF-8?q?=C3=96l=C3=BC=20kodlar=20kald=C4=B1r=C4=B1ld?=
=?UTF-8?q?=C4=B1.=20Api=20taraf=C4=B1=20i=C3=A7in?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.github/instructions/ai.instructions.md | 4 +-
.github/instructions/dotnet.instructions.md | 135 ++++
api/Directory.Build.props | 8 +-
.../LanguagesApplicationContractsModule.cs | 2 +-
.../LanguagesRemoteServiceConsts.cs | 9 -
.../LanguagesPermissionDefinitionProvider.cs | 2 +-
.../LanguageAppService.cs | 6 +-
.../LanguageKeyAppService.cs | 6 +-
.../LanguageTextAppService.cs | 14 +-
.../LanguagesApplicationMappers.cs | 2 +-
.../LanguagesErrorCodes.cs | 7 -
.../Localization/Languages.cs | 62 +-
...uageTextCacheItemInvalidatorDistributed.cs | 8 +-
.../Localization/DatabaseResourceLocalizer.cs | 6 +-
.../IDatabaseResourceLocalizer.cs | 4 +-
.../EntityFrameworkCore/LanguagesDbContext.cs | 4 +-
...nguagesDbContextModelCreatingExtensions.cs | 4 +-
.../Application/MailQueueMappers.cs | 2 +-
.../Generators/AttachmentGenerator.cs | 94 +--
.../Generators/MailBodyGenerator.cs | 4 +-
.../Generators/TableGenerator.cs | 2 +-
.../Domain/MailQueueWorker.cs | 8 +-
.../MailTracking/MailTrackingManager.cs | 4 +-
.../EntityFrameworkCore/MailQueueDbContext.cs | 4 +-
...ilQueueDbContextModelCreatingExtensions.cs | 4 +-
.../EntityFrameworkCore/QueryRepository.cs | 2 +-
.../FileGeneration/XLSFileGenerator.cs | 10 +-
.../SozsoftMailQueueModule.cs | 8 +-
.../NotificationFilterRequestDto.cs | 2 +-
.../NotificationRemoteServiceConsts.cs | 9 -
...otificationPermissionDefinitionProvider.cs | 2 +-
.../NotificationAppService.cs | 4 +-
.../NotificationApplicationMappers.cs | 8 +-
.../NotificationApplicationModule.cs | 4 +-
.../NotificationRuleAppService.cs | 12 +-
.../Enums/NotificationChannels.cs | 2 +-
.../NotificationErrorCodes.cs | 7 -
.../Entities/Notification.cs | 1 -
.../Entities/NotificationRule.cs | 4 +-
.../NotificationManager.cs | 6 +-
.../NotificationDbContext.cs | 4 +-
.../NotificationEntityFrameworkCoreModule.cs | 4 +-
.../Localization/SozsoftMailingResource.cs | 9 +-
.../Mail/SozsoftBackgroundEmailSendingJob.cs | 2 +-
.../SozsoftBackgroundEmailSendingJobArgs.cs | 2 +-
.../Sozsoft.Sender/Rocket/RocketHttpClient.cs | 4 -
.../PostaGuverciniHttpClient.cs | 6 +-
.../Sozsoft.Sender/SozsoftSenderModule.cs | 4 +-
.../WhatsApp/WhatsAppHttpClient.cs | 4 -
.../SettingsPermissionDefinitionProvider.cs | 2 +-
.../SettingsRemoteServiceConsts.cs | 9 -
.../SettingUiAppService.cs | 4 -
.../SettingsMappers.cs | 4 +-
.../SettingsErrorCodes.cs | 7 -
.../SettingDefinitionManager.cs | 2 +-
.../SettingsDomainModule.cs | 2 +-
.../EntityFrameworkCore/SettingsDbContext.cs | 4 +-
...ettingsDbContextModelCreatingExtensions.cs | 4 +-
.../DatabaseObjectDto.cs | 2 +-
.../SqlExecutionDto.cs | 2 +-
.../SqlObjectExplorerDto.cs | 2 +-
...lQueryManagerApplicationContractsModule.cs | 2 +-
.../SqlTemplateDto.cs | 11 +-
.../SqlObjectManagerAppService.cs | 10 +-
.../SqlQueryManagerMappers.cs | 2 +-
.../SozsoftSqlQueryManagerResource.cs | 2 +-
.../SqlObjectType.cs | 2 +-
.../SqlQueryManagerDomainSharedModule.cs | 2 +-
.../SqlQueryManagerErrorCodes.cs | 11 -
.../SqlQueryManagerPermissions.cs | 2 +-
.../Services/ISqlTemplateProvider.cs | 2 +-
.../Services/SqlExecutorService.cs | 26 +-
.../Services/SqlTemplateProvider.cs | 5 +-
.../SqlQueryManagerDomainModule.cs | 3 +-
.../SqlQueryManagerDbContext.cs | 2 +-
...qlQueryManagerEntityFrameworkCoreModule.cs | 2 +-
.../AuditLogs/AuditLogListRequestDto.cs | 2 +-
.../ChangeLogs/ChangeLogDto.cs | 2 +-
.../DeveloperKit/CrudEndpointDto.cs | 2 +-
.../FileManagement/FileManagementDtos.cs | 16 +-
.../Identity/Dto/AssignedBranchViewModel.cs | 4 +-
.../Identity/Dto/AssignedClaimViewModel.cs | 6 +-
.../Dto/AssignedDepartmentViewModel.cs | 6 +-
.../Dto/AssignedJobPoisitionViewModel.cs | 6 +-
.../Identity/Dto/AssignedWorkHourViewModel.cs | 6 +-
.../Identity/Dto/PermissionGrantedUsersDto.cs | 2 +-
.../Identity/Dto/UserAvatarUpdateInput.cs | 2 +-
.../Identity/Dto/UserClaimModel.cs | 6 +-
.../Intranet/AnnouncementDto.cs | 2 +-
.../Intranet/CreateSocialPostInput.cs | 2 +-
.../Intranet/EventCommentDto.cs | 2 +-
.../ListForms/Chart/ChartJsonItemRowDto.cs | 14 -
.../Chart/EditChartAnnotationsDto.cs | 11 -
.../ListForms/Chart/EditChartPanesDto.cs | 11 -
.../ListForms/Chart/EditChartSeriesDto.cs | 11 -
.../ListForms/Chart/EditChartValueAxisDto.cs | 11 -
.../ListForms/Dto/ColumnFormatEditDto.cs | 2 +-
.../Dto/DeleteColumnValidationRuleItemDto.cs | 9 -
.../Dto/DeleteListFormFilterRequestDto.cs | 8 -
.../Dto/ListFormFieldPivotSettingsDto.cs | 2 +-
.../ListForms/Dto/ListFormsDto.cs | 4 +-
.../DynamicApi/CreateTenantFromOrderInput.cs | 2 +-
.../DynamicApi/CreateUpdateUserInput.cs | 3 +-
.../DynamicApi/DynamicApiBaseInput.cs | 4 +-
.../IListFormDynamicApiAppService.cs | 2 +-
.../ListForms/DynamicApi/SeedTenantDbInput.cs | 11 -
.../GridOptionsDto/EditingFormDto.cs | 4 +-
.../GridOptionsDto/GridStateRequestDto.cs | 8 -
.../GridOptionsDto/ImageUploadOptionsDto.cs | 2 +-
.../GridOptionsDto/StateStoringDto.cs | 2 +-
.../ListForms/GridOptionsDto/TodoOptionDto.cs | 2 +-
.../ImportManager/GenerateTemplateInput.cs | 22 -
.../ImportManager/ImportPreviewDataDto.cs | 17 -
.../ImportManager/ImportValidationErrorDto.cs | 2 +-
.../ImportManager/PreviewInputDto.cs | 11 -
.../DeleteColumnStyleConditionItemDto.cs | 9 -
.../DeleteColumnValidationRuleItemDto.cs | 9 -
.../Select/DeleteCommandColumnRequestDto.cs | 11 -
...DeleteCrudFieldsDefaultValueJsonItemDto.cs | 10 -
.../Select/DeleteEditingFormItemRequestDto.cs | 9 -
.../Select/DeleteListFormFieldRequestDto.cs | 8 -
.../Select/EditColumnStylingItemDto.cs | 11 -
.../Select/EditColumnValidationRuleItemDto.cs | 11 -
.../ListForms/Select/WidgetDto.cs | 4 +-
.../Wizard/IListFormWizardAppService.cs | 2 +-
.../ListForms/Wizard/ListFormWizardDto.cs | 6 +-
.../Wizard/WizardColumnGroupInputDto.cs | 2 +-
.../Wizard/WizardColumnItemInputDto.cs | 4 +-
.../ListForms/Wizard/WizardImportDtos.cs | 2 +-
.../ListForms/Workflow/CompareOutcomeDto.cs | 2 +-
...CreateUpdateListFormWorkflowCriteriaDto.cs | 3 +-
.../ListForms/Workflow/DecisionWorkflowDto.cs | 2 +-
.../Workflow/IListFormWorkflowAppService.cs | 3 +-
.../Workflow/ListFormWorkflowCriteriaDto.cs | 3 +-
.../Workflow/ListFormWorkflowStateDto.cs | 2 +-
.../ListForms/Workflow/StartWorkflowDto.cs | 2 +-
.../Workflow/WorkflowConditionDto.cs | 2 +-
.../ListForms/Workflow/WorkflowHistoryDto.cs | 11 -
.../Workflow/WorkflowRunResultDto.cs | 2 +-
.../Messenger/MessengerDtos.cs | 2 +-
.../Note/NoteDto.cs | 4 +-
.../Note/NoteListRequestDto.cs | 10 +-
.../OrgChart/OrgChartDto.cs | 2 +-
.../PlatformPermissionDefinitionProvider.cs | 2 +-
.../Permissions/PlatformPermissions.cs | 2 +-
.../PlatformDtoExtensions.cs | 22 +-
.../Public/BlogPostDto.cs | 1 -
.../Public/BlogPostListDto.cs | 2 +-
.../Public/ContactTagDto.cs | 10 -
.../Public/ContactTitleDto.cs | 10 -
.../Public/HomeDto.cs | 2 +-
.../Public/IBlogAppService.cs | 30 -
.../Public/SavePublicPageContentInput.cs | 5 +-
.../Sector/SectorDto.cs | 9 -
.../Skill/SkillTypeDto.cs | 13 -
.../Uom/UomCategoryDto.cs | 9 -
.../Uom/UomDto.cs | 16 -
.../Videoroom/VideoroomDto.cs | 6 -
.../Videoroom/VideoroomFilterInputDto.cs | 4 +-
.../AiBots/AiBotAppService.cs | 8 +-
.../AiBots/AiBotMappers.cs | 2 +-
.../AuditLogs/AuditLogMappers.cs | 10 +-
.../BackgroundWorkerAppService.cs | 2 +-
.../BackgroundWorkerInitializer.cs | 4 +-
.../Blog/BlogAppService.cs | 11 +-
.../Branch/BranchMappers.cs | 7 +-
.../ChangeLog/ChangeLogAppService.cs | 2 +-
.../Dashboard/DashboardAppService.cs | 2 +-
.../DataSource/DataSourceAppService.cs | 2 +-
.../DataSource/DataSourceMappers.cs | 4 +-
.../DeveloperKit/CrudEndpointAppService.cs | 10 +-
.../CrudEndpointGenerateAppService.cs | 10 +-
.../DeveloperKit/CustomComponentAppService.cs | 4 +-
.../DeveloperKit/CustomEndpointAppService.cs | 10 +-
.../DeveloperKit/DeveloperKitMappers.cs | 12 +-
.../DeveloperKit/DynamicServiceAppService.cs | 4 +-
.../DeveloperKit/DynamicServiceCompiler.cs | 6 +-
.../FileManagementAppService.cs | 23 +-
.../Forum/ForumAppService.cs | 2 +-
.../Forum/ForumMappers.cs | 8 +-
.../GlobalSearch/GlobalSearchAppService.cs | 2 +-
.../GlobalSearch/GlobalSearchMappers.cs | 2 +-
.../Hr/HrMappers.cs | 6 +-
.../Identity/AvatarProvider.cs | 2 +-
.../Identity/IdentityMappers.cs | 6 +-
.../Identity/PlatformAccountAppService.cs | 6 +-
.../Identity/PlatformIdentityAppService.cs | 8 +-
.../Identity/PlatformProfileAppService.cs | 2 +-
.../UserInfoViewModelMappingExtensions.cs | 2 +-
.../Intranet/IntranetAppService.cs | 16 +-
.../Intranet/IntranetMappers.cs | 2 +-
.../ListFormCustomizationAppService.cs | 2 +-
.../ListFormFieldsAppService.cs | 6 +-
.../ListFormJsonRowAppService.cs | 11 +-
.../ListFormQueryPreviewAppService.cs | 14 +-
.../Administration/ListFormsAppService.cs | 2 +-
.../ListFormCustomizationAppService.cs | 6 +-
.../ListForms/ListFormDataAppService.cs | 8 +-
.../ListForms/ListFormDynamicApiAppService.cs | 19 +-
.../ListForms/ListFormImportAppService.cs | 8 +-
.../ListForms/ListFormMappers.cs | 2 +-
.../ListForms/ListFormSelectAppService.cs | 8 +-
.../ListForms/ListFormWizardAppService.cs | 17 +-
.../ListForms/ListFormWorkflowAppService.cs | 2 +-
.../Menu/MenuAppService.cs | 14 +-
.../Menu/MenuMappers.cs | 4 +-
.../Messenger/MessengerAppService.cs | 6 +-
.../Messenger/MessengerHub.cs | 3 +-
.../Messenger/MessengerPresenceStore.cs | 2 +-
.../Note/NoteAppService.cs | 36 +-
.../Note/NoteMappers.cs | 6 +-
.../OrgChart/OrgChartAppService.cs | 6 +-
.../OrganizationUnits/PlatformOuAppService.cs | 2 +-
.../Permissions/PermissionAppService.cs | 10 +-
.../PlatformAppService.cs | 30 +-
.../PlatformApplicationModule.cs | 5 +-
.../Properties/AssemblyInfo.cs | 2 +-
.../Public/PublicAppService.cs | 34 +-
.../Public/PublicMappers.cs | 28 +-
.../Routes/RouteMappers.cs | 4 +-
.../Tenants/PlatformTenantAppService.cs | 4 +-
.../Videoroom/VideoroomMappers.cs | 10 +-
.../DbMigratorHostedService.cs | 14 +-
.../Migrations/CrudDataSeeder.cs | 2 +-
.../Migrations/HangfireDbSchemaMigrator.cs | 2 +-
.../Migrations/HostDataSeeder.cs | 12 +-
.../Migrations/LanguageDataSeeder.cs | 6 +-
.../Migrations/LanguagesData.json | 6 +
.../ListFormSeeder_Administration.cs | 11 +-
.../Migrations/ListFormSeeder_DefaultJsons.cs | 8 +-
.../Migrations/ListFormSeeder_Saas.cs | 9 +-
.../Migrations/ListFormSeeder_Utils.cs | 8 +-
.../Migrations/MenuDataSeeder.cs | 6 +-
.../Migrations/PermissionDataSeeder.cs | 6 +-
.../Migrations/PlatformIdentityDataSeeder.cs | 10 +-
.../PlatformDbMigratorModule.cs | 4 +-
.../Sozsoft.Platform.DbMigrator/Program.cs | 3 +-
.../Charts/ChartConsts.cs | 428 -----------
.../Enums/ListFormFieldSelectTypeEnum.cs | 9 -
.../Enums/ListFormTabTypeEnum.cs | 2 +-
.../Enums/SequenceResetPeriodEnum.cs | 4 +-
.../Enums/UiColumnFilterType.cs | 10 -
.../Enums/UiColumnType.cs | 11 -
.../Enums/WizardComponentKindEnum.cs | 2 +-
.../Enums/WizardImportEntryStatusEnum.cs | 2 +-
.../PlatformConsts.cs | 42 +-
.../PlatformGlobalFeatureConfigurator.cs | 14 +-
.../PlatformModuleExtensionConfigurator.cs | 5 +-
.../WizardConsts.cs | 45 +-
.../ISessionCleanupWorker.cs | 2 +-
.../BackgroundWorkers/NotificationWorker.cs | 12 +-
.../PlatformBackgroundWorker.cs | 12 +-
.../PlatformTemplateDynamicStore.cs | 3 +-
.../Branch/BranchSeedManager.cs | 7 +-
.../Branch/BranchSeederDto.cs | 2 +-
.../Data/CrudEndpointSeedFile.cs | 2 +-
.../Data/CustomComponentDataSourceResolver.cs | 2 +-
.../Data/IAfterAllMigrationsSqlExecutor.cs | 2 +-
.../Data/SeedConsts.cs | 8 -
.../Data/SeedPathResolver.cs | 1 -
.../DynamicData/DynamicDataManager.cs | 4 +-
.../Entities/Host/ChangeLog.cs | 2 +-
.../Entities/Host/DbTableColumn.cs | 18 +-
.../Entities/Host/Definitions/CountryGroup.cs | 3 +-
.../Entities/Host/Definitions/SkillLevel.cs | 2 +-
.../Entities/Host/Definitions/SkillType.cs | 3 +-
.../Entities/Host/Definitions/Uom.cs | 3 +-
.../Entities/Tenant/Administration/Agenda.cs | 6 +-
.../Entities/Tenant/Administration/Menu.cs | 2 +-
.../Tenant/Administration/MenuGroup.cs | 2 +-
.../Administration/Report/ReportCategory.cs | 31 +-
.../Administration/Report/ReportTemplate.cs | 57 +-
.../Tenant/Administration/Website/Home.cs | 2 +-
.../Entities/Tenant/Definitions/Sector.cs | 2 +-
.../Entities/Tenant/Definitions/WorkHour.cs | 2 +-
.../Entities/Tenant/Intranet/Announcement.cs | 2 +-
.../Tenant/Intranet/AnnouncementComment.cs | 2 +-
.../Tenant/Intranet/AnnouncementLike.cs | 2 +-
.../Entities/Tenant/Intranet/EventCategory.cs | 2 +-
.../Entities/Tenant/Intranet/EventLike.cs | 2 +-
.../Entities/Tenant/Intranet/EventType.cs | 2 +-
.../Entities/Tenant/Intranet/SocialPost.cs | 2 +-
.../Entities/Tenant/Intranet/Survey.cs | 6 +-
.../Entities/Tenant/ListForm/ListForm.cs | 6 +-
.../Tenant/ListForm/ListFormCustomization.cs | 4 +-
.../Tenant/ListForm/ListFormWorkflow.cs | 3 +-
.../Tenant/Messenger/MessengerConversation.cs | 2 +-
.../Messenger/MessengerConversationMessage.cs | 2 +-
.../Entities/Tenant/Saas/DevRequest.cs | 12 +-
.../Entities/Tenant/Saas/Note.cs | 2 +-
.../Entities/Tenant/Saas/Sequence.cs | 6 +-
.../Extensions/AbpTenantExtensions.cs | 3 +-
.../Extensions/StringExtensions.cs | 41 +-
.../Identity/TurnstileCaptchaManager.cs | 4 +-
.../ListForms/ListFormAuthorizationManager.cs | 4 +-
.../ListForms/ListFormCustomizationManager.cs | 2 +-
.../ListForms/ListFormFieldManager.cs | 4 +-
.../ListForms/ListFormManager.cs | 16 +-
.../ListForms/ServerFilterData.cs | 20 -
.../OpenIddictDataSeedContributor.cs | 26 +-
.../PlatformDomainModule.cs | 10 +-
.../PlatformDomainService.cs | 4 +-
.../Properties/AssemblyInfo.cs | 4 +-
.../Queries/ChartValueAxis.cs | 1 -
.../Queries/CommandColumn.cs | 2 +-
.../Queries/DefaultValueManager.cs | 5 +-
.../Queries/FieldsDefaultValue.cs | 4 +-
.../Queries/QueryManager.cs | 7 +-
.../Queries/SelectQueryManager.cs | 2 +-
.../Repositories/IReportTemplateRepository.cs | 27 +-
.../Sequences/SequenceManager.cs | 4 +-
.../DatabaseMigrationEventHandlerBase.cs | 2 +-
.../PlatformDynamicEntityManager.cs | 12 +-
.../DynamicData/MsDynamicDataRepository.cs | 3 +-
.../DynamicData/PgDynamicDataRepository.cs | 3 +-
.../DynamicData/SpRepository.cs | 12 +-
.../EntityFrameworkCore/PlatformDbContext.cs | 25 +-
.../PlatformEfCoreEntityExtensionMappings.cs | 4 +-
.../PlatformEntityFrameworkCoreModule.cs | 6 +-
....cs => 20260821153543_Initial.Designer.cs} | 2 +-
...4_Initial.cs => 20260821153543_Initial.cs} | 0
.../OrganizationUnits/PlatformOuRepository.cs | 79 +-
.../Properties/AssemblyInfo.cs | 2 +-
.../Seeds/TenantDataSeeder.cs | 32 +-
.../Seeds/TenantIdentityDataSeeder.cs | 12 +-
.../PlatformHttpApiClientModule.cs | 2 +-
...BackgroundWorkerRecurringJobInitializer.cs | 2 +-
.../BackgroundWorkerStartupService.cs | 2 +-
.../CustomReportDesignerController.cs | 12 +-
.../CustomWebDocumentViewerController.cs | 2 +-
.../Controllers/SetupController.cs | 2 +-
.../DbStartup/DatabaseReadiness.cs | 2 +-
.../DbStartup/DatabaseReadinessChecker.cs | 2 +-
.../DbStartup/SetupAppRunner.cs | 2 +-
.../DbStartup/SetupEventStream.cs | 2 +-
.../DbStartup/SetupPasswordValidator.cs | 3 +-
.../DbStartup/SetupStatusDto.cs | 2 +-
.../DynamicAssemblyRegistrationService.cs | 681 +++++++++---------
.../DynamicControllerActivator.cs | 4 +-
.../Extensions/CaptchaMiddleware.cs | 4 +-
.../Extensions/ChangeLogStartupService.cs | 2 +-
.../Extensions/HttpContextExtensions.cs | 131 ++--
...formApplicationConfigurationContributor.cs | 2 +-
.../Identity/PlatformAccountController.cs | 2 +-
.../Identity/PlatformLoginResult.cs | 5 +-
.../Identity/PlatformSessionClaimContext.cs | 2 +-
.../Identity/PlatformSessionCleanupWorker.cs | 6 +-
.../PlatformSessionRevocationHandler.cs | 7 +-
.../PlatformSessionValidationMiddleware.cs | 5 +-
.../Identity/PlatformSignInManager.cs | 4 +-
.../Identity/PlatformTokenController.cs | 8 +-
.../PlatformUserClaimsPrincipalFactory.cs | 2 +-
.../PlatformBrandingProvider.cs | 10 +-
.../PlatformHttpApiHostModule.cs | 80 +-
.../PredefinedReports/DynamicFormReport.cs | 2 +-
.../PredefinedReports/DynamicGridReport.cs | 3 +-
.../PredefinedReports/DynamicReport.cs | 11 +-
.../PredefinedReports/DynamicReportColumn.cs | 4 +-
.../DynamicReportFontHelper.cs | 2 +-
.../DynamicReportGridStateHelper.cs | 2 +-
.../DynamicReportImageHelper.cs | 2 +-
.../DynamicReportLayoutHelper.cs | 2 +-
.../DynamicReportSqlBuilder.cs | 2 +-
.../PredefinedReports/DynamicTreeReport.cs | 4 +-
.../Sozsoft.Platform.HttpApi.Host/Program.cs | 8 +-
.../CustomReportStorageWebExtension.cs | 24 +-
.../DevExpressFontConfiguration.cs | 16 +-
.../TenantLocalizationInitializer.cs | 81 +--
.../TenantLocalizationMiddleware.cs | 2 +-
.../PlatformHttpApiModule.cs | 4 +-
.../DynamicDataRepository_Tests.cs | 4 +-
.../PlatformEntityFrameworkCoreTestBase.cs | 4 +-
.../PlatformTestBase.cs | 2 +-
.../docker-compose-app.production.yml | 1 +
configs/deployment/docker-compose-app.yml | 2 +
.../developerKit/VisualComponentDesigner.tsx | 302 ++++----
376 files changed, 1659 insertions(+), 2822 deletions(-)
create mode 100644 .github/instructions/dotnet.instructions.md
delete mode 100644 api/modules/Sozsoft.Languages/Sozsoft.Languages.Application.Contracts/LanguagesRemoteServiceConsts.cs
delete mode 100644 api/modules/Sozsoft.Languages/Sozsoft.Languages.Domain.Shared/LanguagesErrorCodes.cs
delete mode 100644 api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Application.Contracts/NotificationRemoteServiceConsts.cs
delete mode 100644 api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Domain.Shared/NotificationErrorCodes.cs
delete mode 100644 api/modules/Sozsoft.Settings/Sozsoft.Settings.Application.Contracts/SettingsRemoteServiceConsts.cs
delete mode 100644 api/modules/Sozsoft.Settings/Sozsoft.Settings.Domain.Shared/SettingsErrorCodes.cs
delete mode 100644 api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Domain.Shared/SqlQueryManagerErrorCodes.cs
delete mode 100644 api/src/Sozsoft.Platform.Application.Contracts/ListForms/Chart/ChartJsonItemRowDto.cs
delete mode 100644 api/src/Sozsoft.Platform.Application.Contracts/ListForms/Chart/EditChartAnnotationsDto.cs
delete mode 100644 api/src/Sozsoft.Platform.Application.Contracts/ListForms/Chart/EditChartPanesDto.cs
delete mode 100644 api/src/Sozsoft.Platform.Application.Contracts/ListForms/Chart/EditChartSeriesDto.cs
delete mode 100644 api/src/Sozsoft.Platform.Application.Contracts/ListForms/Chart/EditChartValueAxisDto.cs
delete mode 100644 api/src/Sozsoft.Platform.Application.Contracts/ListForms/Dto/DeleteColumnValidationRuleItemDto.cs
delete mode 100644 api/src/Sozsoft.Platform.Application.Contracts/ListForms/Dto/DeleteListFormFilterRequestDto.cs
delete mode 100644 api/src/Sozsoft.Platform.Application.Contracts/ListForms/DynamicApi/SeedTenantDbInput.cs
delete mode 100644 api/src/Sozsoft.Platform.Application.Contracts/ListForms/GridOptionsDto/GridStateRequestDto.cs
delete mode 100644 api/src/Sozsoft.Platform.Application.Contracts/ListForms/ImportManager/GenerateTemplateInput.cs
delete mode 100644 api/src/Sozsoft.Platform.Application.Contracts/ListForms/ImportManager/ImportPreviewDataDto.cs
delete mode 100644 api/src/Sozsoft.Platform.Application.Contracts/ListForms/ImportManager/PreviewInputDto.cs
delete mode 100644 api/src/Sozsoft.Platform.Application.Contracts/ListForms/Select/DeleteColumnStyleConditionItemDto.cs
delete mode 100644 api/src/Sozsoft.Platform.Application.Contracts/ListForms/Select/DeleteColumnValidationRuleItemDto.cs
delete mode 100644 api/src/Sozsoft.Platform.Application.Contracts/ListForms/Select/DeleteCommandColumnRequestDto.cs
delete mode 100644 api/src/Sozsoft.Platform.Application.Contracts/ListForms/Select/DeleteCrudFieldsDefaultValueJsonItemDto.cs
delete mode 100644 api/src/Sozsoft.Platform.Application.Contracts/ListForms/Select/DeleteEditingFormItemRequestDto.cs
delete mode 100644 api/src/Sozsoft.Platform.Application.Contracts/ListForms/Select/DeleteListFormFieldRequestDto.cs
delete mode 100644 api/src/Sozsoft.Platform.Application.Contracts/ListForms/Select/EditColumnStylingItemDto.cs
delete mode 100644 api/src/Sozsoft.Platform.Application.Contracts/ListForms/Select/EditColumnValidationRuleItemDto.cs
delete mode 100644 api/src/Sozsoft.Platform.Application.Contracts/ListForms/Workflow/WorkflowHistoryDto.cs
delete mode 100644 api/src/Sozsoft.Platform.Application.Contracts/Public/ContactTagDto.cs
delete mode 100644 api/src/Sozsoft.Platform.Application.Contracts/Public/ContactTitleDto.cs
delete mode 100644 api/src/Sozsoft.Platform.Application.Contracts/Sector/SectorDto.cs
delete mode 100644 api/src/Sozsoft.Platform.Application.Contracts/Skill/SkillTypeDto.cs
delete mode 100644 api/src/Sozsoft.Platform.Application.Contracts/Uom/UomCategoryDto.cs
delete mode 100644 api/src/Sozsoft.Platform.Application.Contracts/Uom/UomDto.cs
delete mode 100644 api/src/Sozsoft.Platform.Domain.Shared/Charts/ChartConsts.cs
delete mode 100644 api/src/Sozsoft.Platform.Domain.Shared/Enums/ListFormFieldSelectTypeEnum.cs
delete mode 100644 api/src/Sozsoft.Platform.Domain.Shared/Enums/UiColumnFilterType.cs
delete mode 100644 api/src/Sozsoft.Platform.Domain.Shared/Enums/UiColumnType.cs
delete mode 100644 api/src/Sozsoft.Platform.Domain/ListForms/ServerFilterData.cs
rename api/src/Sozsoft.Platform.EntityFrameworkCore/Migrations/{20260818091734_Initial.Designer.cs => 20260821153543_Initial.Designer.cs} (99%)
rename api/src/Sozsoft.Platform.EntityFrameworkCore/Migrations/{20260818091734_Initial.cs => 20260821153543_Initial.cs} (100%)
diff --git a/.github/instructions/ai.instructions.md b/.github/instructions/ai.instructions.md
index 72d98e37..a1597157 100644
--- a/.github/instructions/ai.instructions.md
+++ b/.github/instructions/ai.instructions.md
@@ -20,8 +20,8 @@ Primary principle:
Core stack:
-- Backend: C# .NET 9 + ABP 9.x
-- Frontend: React 18 + DevExtreme
+- Backend: C# .NET 10 (C# 14) + ABP 10.x — kod standardı: `dotnet.instructions.md`
+- Frontend: React 19 + DevExtreme
- Database: SQL Server (dynamic datasource support)
- Cache: Redis
- Background jobs: Hangfire + ABP Background Workers
diff --git a/.github/instructions/dotnet.instructions.md b/.github/instructions/dotnet.instructions.md
new file mode 100644
index 00000000..ce9f8c21
--- /dev/null
+++ b/.github/instructions/dotnet.instructions.md
@@ -0,0 +1,135 @@
+# .NET / ABP Kod Standardı
+
+Bu doküman `api/` altındaki tüm projeler için bağlayıcıdır. Platform davranışına dair
+kurallar için `ai.instructions.md` esastır; çelişki olursa o dosya kazanır.
+
+Standart derlemede zorlanır: `api/Directory.Build.props` analizörleri açar,
+`api/.editorconfig` kural şiddetlerini tanımlar. Bu iki dosya standardın tek
+kaynağıdır; proje dosyalarında tekrar edilmez.
+
+## 1. Hedef sürümler
+
+| Katman | Sürüm | Nerede tanımlı |
+| --- | --- | --- |
+| SDK | .NET 10 (`10.0.300`) | `api/global.json` |
+| TargetFramework | `net10.0` | proje dosyaları |
+| Dil | C# 14 (`LangVersion=latest`) | `api/common.props` |
+| ABP | 10.0.0 | `Volo.Abp.*` paket referansları |
+
+Sürüm yükseltmesi tek noktadan yapılır: `global.json` + `common.props` + paket sürümleri.
+Proje dosyalarına TFM/LangVersion tekrar yazılmaz.
+
+## 2. Nullable
+
+`Directory.Build.props` içinde **çözüm geneli `Nullable` ayarı yapılmaz.** Sebebi
+EF Core: kolonun zorunlu olup olmadığını, entity assembly'sinin nullable annotation
+bağlamından türetir. Global bir `enable`/`annotations` anahtarı, bir sonraki
+`dotnet ef migrations add` çağrısında tüm `string` özelliklerini sessizce NOT NULL
+kolona çevirir — seeder'ın doldurmadığı her alan da o anda kırılır.
+
+Kural:
+
+- Nullable, proje bazında ve bilinçli olarak açılır (`enable`).
+ Şu an açık olanlar: `Sozsoft.Platform.Application`, `Sozsoft.Notifications.*`,
+ test projeleri.
+- **Entity taşıyan projelerde** (`*.Domain`) nullable açılacaksa, aynı PR'da
+ `dotnet ef migrations add` çıktısı gözden geçirilir; şema değişikliği isteniyorsa
+ kabul edilir, istenmiyorsa kolon zorunluluğu `PlatformDbContext` içinde
+ `.IsRequired(false)` ile açıkça sabitlenir.
+- Kolon zorunluluğu tercihen NRT'ye değil, `PlatformDbContext` yapılandırmasına
+ yazılır; böylece derleyici anahtarından bağımsız olur.
+
+## 3. Ölü kod politikası
+
+Aşağıdaki kurallar ihlal edilmiş kod merge edilmez:
+
+| Kural | Anlamı |
+| --- | --- |
+| IDE0005 | Kullanılmayan `using` |
+| IDE0051 | Çağrılmayan private üye |
+| IDE0052 | Yazılıp hiç okunmayan private alan (kullanılmayan enjekte bağımlılık) |
+| IDE0059 | Gereksiz değer ataması |
+| IDE0161 | `namespace X;` (file-scoped) |
+
+Tarama ve otomatik düzeltme (kalıcı yapılandırma gerektirmez):
+
+```bash
+# Rapor
+dotnet build api/Sozsoft.Platform.sln --no-incremental \
+ -p:EnforceCodeStyleInBuild=true -p:GenerateDocumentationFile=true
+
+# Düzeltme
+dotnet format api/Sozsoft.Platform.sln --diagnostics IDE0005,IDE0161 --severity warn
+```
+
+> Kurallar `.editorconfig`'te `warning` seviyesindedir ve `EnforceCodeStyleInBuild`
+> açık olduğu için normal `dotnet build` de bunları raporlar.
+
+IDE0052 düzeltilirken alan ile birlikte **constructor parametresi de** silinir; yoksa
+DI hâlâ gereksiz servisi çözer.
+
+`CS0162` (erişilemez kod) `Directory.Build.props` içinde gerekçesiyle susturulmuştur:
+veritabanı sağlayıcısı derleme zamanı sabiti olduğu için diğer sağlayıcının dalları
+erişilemez görünür. Bu durum dışında erişilemez kod bırakılmaz.
+
+Ek kurallar:
+
+- Bir tip/dosya silinmeden önce **repo genelinde** (api + ui + configs) referans
+ taraması yapılır. DI ile çözülen tipler (AppService, Manager, Provider, Repository,
+ Seeder, Localizer, Notification sağlayıcıları) düz metin aramasında "referanssız"
+ görünür — bunlar yalnızca modül/DI kaydı incelendikten sonra silinir.
+- Yorum satırına alınmış kod bloğu bırakılmaz; ihtiyaç varsa git geçmişinden alınır.
+- "İleride lazım olur" gerekçesiyle kullanılmayan DTO/Input/Consts tutulmaz.
+- `Migrations/` ve `*.g.cs` üretilmiş koddur, bu kuralların dışındadır.
+
+## 4. Modern C# kullanımı (yeni kod)
+
+- File-scoped namespace: `namespace Sozsoft.Platform.ListForms;`
+- Primary constructor: `public class XAppService(IRepository repo) : PlatformAppService`
+ — parametre doğrudan kullanılır, `private readonly ... = param;` şeklinde
+ tekrar tanımlanmaz.
+- Koleksiyon ifadeleri (`[]`, `[.. items]`), `is not null`, `switch` ifadesi,
+ desen eşleme, `Index/Range`, hedefi belli `new()`.
+- `out var`, tuple deconstruction; kullanılmayan çıktı için `_`.
+- `async` metotlar `Async` ile biter ve `Task`/`Task` döner; `async void` yasak.
+ ABP'de `ConfigureAwait` kullanılmaz.
+- Biçim: `api/.editorconfig` geçerlidir (4 boşluk girinti, `using` blokları namespace
+ dışında ve System önce, dosya sonunda satır sonu, UTF-8 BOM).
+
+## 5. ABP kuralları
+
+- **Katman sınırı**: Domain.Shared → Domain → Application.Contracts → Application →
+ HttpApi → HttpApi.Host. Ters yönde referans verilmez; `EntityFrameworkCore` yalnızca
+ Domain'e bakar.
+- **AppService**: `PlatformAppService`'ten türer, arayüzü Application.Contracts'ta
+ tanımlanır. Controller yazılmaz — ABP otomatik API üretir. Controller sadece ABP
+ konvansiyonunun karşılamadığı durumda (dosya indirme, harici webhook) eklenir.
+- **Yetki**: her AppService/metot `[Authorize(PlatformConsts.AppCodes....)]` ile
+ korunur; izin adları `PermissionDefinitionProvider` içinde tanımlanır. Yetki
+ kontrolü koda gömülmez, izin adı sabitten okunur.
+- **Tenant izolasyonu**: sorgular `ICurrentTenant` bağlamında çalışır; `IMultiTenant`
+ entity'lerde manuel `TenantId` filtresi yazılmaz, veri filtreleri devre dışı
+ bırakılacaksa (`ICurrentTenant.Change`, `IDataFilter`) gerekçe yorumla yazılır.
+- **Repository**: özel sorgu gerekiyorsa Domain'de arayüz + EntityFrameworkCore'da
+ implementasyon. AppService içinde `DbContext` doğrudan kullanılmaz.
+- **Dinamik SQL**: parametreli çalıştırılır; string birleştirme ile sorgu kurulmaz.
+- **Mapping**: Mapperly (`[Mapper]` partial class) kullanılır; AutoMapper eklenmez.
+ RMG012 uyarısı "hedefte karşılığı olmayan alan" demektir; yeni mapper eklerken bu
+ uyarı bırakılmaz.
+- **Localization**: kullanıcıya görünen metin koda gömülmez, `PlatformResource`
+ anahtarı üzerinden verilir.
+- **Sabitler**: bağlantı dizesi, tenant id, anahtar/secret koda yazılmaz; konfigürasyon
+ veya `SettingDefinition` üzerinden okunur.
+
+## 6. Değişiklik öncesi kontrol listesi
+
+```bash
+dotnet build api/Sozsoft.Platform.sln --no-incremental \
+ -p:EnforceCodeStyleInBuild=true -p:GenerateDocumentationFile=true # 0 hata, yeni IDE00xx yok
+dotnet format api/Sozsoft.Platform.sln --verify-no-changes --diagnostics IDE0005,IDE0161 --severity warn
+dotnet test api/test/Sozsoft.Platform.EntityFrameworkCore.Tests
+```
+
+> Not: EntityFrameworkCore testleri şu an SQLite şema oluşturmada
+> (`nvarchar(max)` → `SQLite Error 1`) kırık; bu kırıklık bu standarttan önce de vardı
+> ve ayrı bir iş olarak ele alınmalıdır.
diff --git a/api/Directory.Build.props b/api/Directory.Build.props
index 120c9d0e..5b3ae63a 100644
--- a/api/Directory.Build.props
+++ b/api/Directory.Build.props
@@ -1,5 +1,9 @@
-
+
- $(NoWarn);CS0162;CS8321;CS8618;CS8632
+ $(NoWarn);CS0162;CS8321;CS8618;CS8632;CS1591;CS1573;CS1572;CS1570;CS1574
+ latest
+ latest
+ true
+ true
diff --git a/api/modules/Sozsoft.Languages/Sozsoft.Languages.Application.Contracts/LanguagesApplicationContractsModule.cs b/api/modules/Sozsoft.Languages/Sozsoft.Languages.Application.Contracts/LanguagesApplicationContractsModule.cs
index 9afc8dde..92d3a7ee 100644
--- a/api/modules/Sozsoft.Languages/Sozsoft.Languages.Application.Contracts/LanguagesApplicationContractsModule.cs
+++ b/api/modules/Sozsoft.Languages/Sozsoft.Languages.Application.Contracts/LanguagesApplicationContractsModule.cs
@@ -1,6 +1,6 @@
using Volo.Abp.Application;
-using Volo.Abp.Modularity;
using Volo.Abp.Authorization;
+using Volo.Abp.Modularity;
namespace Sozsoft.Languages;
diff --git a/api/modules/Sozsoft.Languages/Sozsoft.Languages.Application.Contracts/LanguagesRemoteServiceConsts.cs b/api/modules/Sozsoft.Languages/Sozsoft.Languages.Application.Contracts/LanguagesRemoteServiceConsts.cs
deleted file mode 100644
index 99a2992f..00000000
--- a/api/modules/Sozsoft.Languages/Sozsoft.Languages.Application.Contracts/LanguagesRemoteServiceConsts.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-namespace Sozsoft.Languages;
-
-public class LanguagesRemoteServiceConsts
-{
- public const string RemoteServiceName = "Languages";
-
- public const string ModuleName = "languages";
-}
-
diff --git a/api/modules/Sozsoft.Languages/Sozsoft.Languages.Application.Contracts/Permissions/LanguagesPermissionDefinitionProvider.cs b/api/modules/Sozsoft.Languages/Sozsoft.Languages.Application.Contracts/Permissions/LanguagesPermissionDefinitionProvider.cs
index 0fda4bdf..a2d9ab8a 100644
--- a/api/modules/Sozsoft.Languages/Sozsoft.Languages.Application.Contracts/Permissions/LanguagesPermissionDefinitionProvider.cs
+++ b/api/modules/Sozsoft.Languages/Sozsoft.Languages.Application.Contracts/Permissions/LanguagesPermissionDefinitionProvider.cs
@@ -1,4 +1,4 @@
-using Volo.Abp.Authorization.Permissions;
+using Volo.Abp.Authorization.Permissions;
namespace Sozsoft.Languages.Permissions;
diff --git a/api/modules/Sozsoft.Languages/Sozsoft.Languages.Application/LanguageAppService.cs b/api/modules/Sozsoft.Languages/Sozsoft.Languages.Application/LanguageAppService.cs
index 94532771..557246cd 100644
--- a/api/modules/Sozsoft.Languages/Sozsoft.Languages.Application/LanguageAppService.cs
+++ b/api/modules/Sozsoft.Languages/Sozsoft.Languages.Application/LanguageAppService.cs
@@ -1,9 +1,9 @@
-using Sozsoft.Languages.Entities;
-using Sozsoft.Languages.Localization;
-using System;
+using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Threading.Tasks;
+using Sozsoft.Languages.Entities;
+using Sozsoft.Languages.Localization;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;
using Volo.Abp.Domain.Entities;
diff --git a/api/modules/Sozsoft.Languages/Sozsoft.Languages.Application/LanguageKeyAppService.cs b/api/modules/Sozsoft.Languages/Sozsoft.Languages.Application/LanguageKeyAppService.cs
index a040119d..4400b9de 100644
--- a/api/modules/Sozsoft.Languages/Sozsoft.Languages.Application/LanguageKeyAppService.cs
+++ b/api/modules/Sozsoft.Languages/Sozsoft.Languages.Application/LanguageKeyAppService.cs
@@ -1,9 +1,9 @@
-using Sozsoft.Languages.Entities;
-using Sozsoft.Languages.Localization;
-using System;
+using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Threading.Tasks;
+using Sozsoft.Languages.Entities;
+using Sozsoft.Languages.Localization;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;
using Volo.Abp.Domain.Repositories;
diff --git a/api/modules/Sozsoft.Languages/Sozsoft.Languages.Application/LanguageTextAppService.cs b/api/modules/Sozsoft.Languages/Sozsoft.Languages.Application/LanguageTextAppService.cs
index e5c2735b..2f72b2bc 100644
--- a/api/modules/Sozsoft.Languages/Sozsoft.Languages.Application/LanguageTextAppService.cs
+++ b/api/modules/Sozsoft.Languages/Sozsoft.Languages.Application/LanguageTextAppService.cs
@@ -1,14 +1,14 @@
-using Sozsoft.Languages.Entities;
-using Sozsoft.Languages.Localization;
-using Microsoft.EntityFrameworkCore;
-using Microsoft.Extensions.Configuration;
-using StackExchange.Redis;
-using System;
+using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Linq.Dynamic.Core;
using System.Threading.Tasks;
+using Microsoft.EntityFrameworkCore;
+using Microsoft.Extensions.Configuration;
+using Sozsoft.Languages.Entities;
+using Sozsoft.Languages.Localization;
+using StackExchange.Redis;
using Volo.Abp;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;
@@ -136,7 +136,7 @@ public class LanguageTextAppService : CrudAppService<
var db = redis.GetDatabase();
await db.ExecuteAsync("FLUSHALL");
}
-
+
protected virtual IQueryable ApplySorting(IQueryable query, LanguageTextTranslatedRequestDto input)
{
//Try to sort query if available
diff --git a/api/modules/Sozsoft.Languages/Sozsoft.Languages.Application/LanguagesApplicationMappers.cs b/api/modules/Sozsoft.Languages/Sozsoft.Languages.Application/LanguagesApplicationMappers.cs
index acb2ebc9..191b52d4 100644
--- a/api/modules/Sozsoft.Languages/Sozsoft.Languages.Application/LanguagesApplicationMappers.cs
+++ b/api/modules/Sozsoft.Languages/Sozsoft.Languages.Application/LanguagesApplicationMappers.cs
@@ -1,6 +1,6 @@
+using Riok.Mapperly.Abstractions;
using Sozsoft.Languages.Entities;
using Volo.Abp.Localization;
-using Riok.Mapperly.Abstractions;
using Volo.Abp.Mapperly;
namespace Sozsoft.Languages;
diff --git a/api/modules/Sozsoft.Languages/Sozsoft.Languages.Domain.Shared/LanguagesErrorCodes.cs b/api/modules/Sozsoft.Languages/Sozsoft.Languages.Domain.Shared/LanguagesErrorCodes.cs
deleted file mode 100644
index a8631261..00000000
--- a/api/modules/Sozsoft.Languages/Sozsoft.Languages.Domain.Shared/LanguagesErrorCodes.cs
+++ /dev/null
@@ -1,7 +0,0 @@
-namespace Sozsoft.Languages;
-
-public static class LanguagesErrorCodes
-{
- //Add your business exception error codes here...
-}
-
diff --git a/api/modules/Sozsoft.Languages/Sozsoft.Languages.Domain.Shared/Localization/Languages.cs b/api/modules/Sozsoft.Languages/Sozsoft.Languages.Domain.Shared/Localization/Languages.cs
index 6323d3bb..413bbd09 100644
--- a/api/modules/Sozsoft.Languages/Sozsoft.Languages.Domain.Shared/Localization/Languages.cs
+++ b/api/modules/Sozsoft.Languages/Sozsoft.Languages.Domain.Shared/Localization/Languages.cs
@@ -1,45 +1,23 @@
-namespace Sozsoft.Languages.Languages
-{
- public static class LanguageCodes
- {
- public const string Ar = "ar";
- public const string Cs = "cs";
- public const string De = "de-DE";
- public const string En = "en";
- public const string Es = "es";
- public const string Fi = "fi";
- public const string Fr = "fr";
- public const string Hi = "hi";
- public const string Hr = "hr";
- public const string Hu = "hu";
- public const string It = "it";
- public const string Pt = "pt-BR";
- public const string Ru = "ru";
- public const string Sk = "sk";
- public const string Sl = "sl";
- public const string Tr = "tr";
- public const string Zh = "zh-Hans";
- }
+namespace Sozsoft.Languages.Languages;
- public static class LanguageNames
- {
- public const string Ar = "العربية";
- public const string Cs = "Čeština";
- public const string De = "Deutsch";
- public const string En = "English";
- public const string Es = "Español";
- public const string Fi = "Finnish";
- public const string Fr = "Français";
- public const string Hi = "Hindi";
- public const string Hr = "Croatian";
- public const string Hu = "Magyar";
- public const string It = "Italiano";
- public const string Pt = "Português";
- public const string Ru = "Русский";
- public const string Sk = "Slovak";
- public const string Sl = "Slovenščina";
- public const string Tr = "Türkçe";
- public const string Zh = "繁體中文";
- }
+public static class LanguageCodes
+{
+ public const string Ar = "ar";
+ public const string Cs = "cs";
+ public const string De = "de-DE";
+ public const string En = "en";
+ public const string Es = "es";
+ public const string Fi = "fi";
+ public const string Fr = "fr";
+ public const string Hi = "hi";
+ public const string Hr = "hr";
+ public const string Hu = "hu";
+ public const string It = "it";
+ public const string Pt = "pt-BR";
+ public const string Ru = "ru";
+ public const string Sk = "sk";
+ public const string Sl = "sl";
+ public const string Tr = "tr";
+ public const string Zh = "zh-Hans";
}
diff --git a/api/modules/Sozsoft.Languages/Sozsoft.Languages.Domain/Languages/LanguageTextCacheItemInvalidatorDistributed.cs b/api/modules/Sozsoft.Languages/Sozsoft.Languages.Domain/Languages/LanguageTextCacheItemInvalidatorDistributed.cs
index 0284b66a..bd96d945 100644
--- a/api/modules/Sozsoft.Languages/Sozsoft.Languages.Domain/Languages/LanguageTextCacheItemInvalidatorDistributed.cs
+++ b/api/modules/Sozsoft.Languages/Sozsoft.Languages.Domain/Languages/LanguageTextCacheItemInvalidatorDistributed.cs
@@ -1,10 +1,7 @@
-using Sozsoft.Languages.Entities;
-using System;
-using System.Threading.Tasks;
+using System.Threading.Tasks;
using Volo.Abp.Caching;
using Volo.Abp.DependencyInjection;
using Volo.Abp.Domain.Entities.Events.Distributed;
-using Volo.Abp.Domain.Repositories;
using Volo.Abp.EventBus.Distributed;
namespace Sozsoft.Languages;
@@ -15,14 +12,11 @@ public class LanguageTextCacheItemInvalidatorDistributed :
IDistributedEventHandler>,
ITransientDependency
{
- private readonly IRepository languageTextRepository;
private readonly IDistributedCache cache;
public LanguageTextCacheItemInvalidatorDistributed(
- IRepository languageTextRepository,
IDistributedCache cache)
{
- this.languageTextRepository = languageTextRepository;
this.cache = cache;
}
diff --git a/api/modules/Sozsoft.Languages/Sozsoft.Languages.Domain/Localization/DatabaseResourceLocalizer.cs b/api/modules/Sozsoft.Languages/Sozsoft.Languages.Domain/Localization/DatabaseResourceLocalizer.cs
index 472b5731..888b913e 100644
--- a/api/modules/Sozsoft.Languages/Sozsoft.Languages.Domain/Localization/DatabaseResourceLocalizer.cs
+++ b/api/modules/Sozsoft.Languages/Sozsoft.Languages.Domain/Localization/DatabaseResourceLocalizer.cs
@@ -1,9 +1,9 @@
-using Sozsoft.Languages.Entities;
-using Microsoft.Extensions.Localization;
-using System;
+using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
+using Microsoft.Extensions.Localization;
+using Sozsoft.Languages.Entities;
using Volo.Abp.Caching;
using Volo.Abp.DependencyInjection;
using Volo.Abp.Domain.Repositories;
diff --git a/api/modules/Sozsoft.Languages/Sozsoft.Languages.Domain/Localization/IDatabaseResourceLocalizer.cs b/api/modules/Sozsoft.Languages/Sozsoft.Languages.Domain/Localization/IDatabaseResourceLocalizer.cs
index e092a85e..47afbd8d 100644
--- a/api/modules/Sozsoft.Languages/Sozsoft.Languages.Domain/Localization/IDatabaseResourceLocalizer.cs
+++ b/api/modules/Sozsoft.Languages/Sozsoft.Languages.Domain/Localization/IDatabaseResourceLocalizer.cs
@@ -1,6 +1,6 @@
-using Microsoft.Extensions.Localization;
-using System.Collections.Generic;
+using System.Collections.Generic;
using System.Threading.Tasks;
+using Microsoft.Extensions.Localization;
using Volo.Abp.Localization;
namespace Sozsoft.Languages.Localization;
diff --git a/api/modules/Sozsoft.Languages/Sozsoft.Languages.EntityFrameworkCore/EntityFrameworkCore/LanguagesDbContext.cs b/api/modules/Sozsoft.Languages/Sozsoft.Languages.EntityFrameworkCore/EntityFrameworkCore/LanguagesDbContext.cs
index 3ebca7c6..b5fbec3f 100644
--- a/api/modules/Sozsoft.Languages/Sozsoft.Languages.EntityFrameworkCore/EntityFrameworkCore/LanguagesDbContext.cs
+++ b/api/modules/Sozsoft.Languages/Sozsoft.Languages.EntityFrameworkCore/EntityFrameworkCore/LanguagesDbContext.cs
@@ -1,5 +1,5 @@
-using Sozsoft.Languages.Entities;
-using Microsoft.EntityFrameworkCore;
+using Microsoft.EntityFrameworkCore;
+using Sozsoft.Languages.Entities;
using Volo.Abp.Data;
using Volo.Abp.EntityFrameworkCore;
diff --git a/api/modules/Sozsoft.Languages/Sozsoft.Languages.EntityFrameworkCore/EntityFrameworkCore/LanguagesDbContextModelCreatingExtensions.cs b/api/modules/Sozsoft.Languages/Sozsoft.Languages.EntityFrameworkCore/EntityFrameworkCore/LanguagesDbContextModelCreatingExtensions.cs
index 292a07a4..dd9175e9 100644
--- a/api/modules/Sozsoft.Languages/Sozsoft.Languages.EntityFrameworkCore/EntityFrameworkCore/LanguagesDbContextModelCreatingExtensions.cs
+++ b/api/modules/Sozsoft.Languages/Sozsoft.Languages.EntityFrameworkCore/EntityFrameworkCore/LanguagesDbContextModelCreatingExtensions.cs
@@ -1,5 +1,5 @@
-using Sozsoft.Languages.Entities;
-using Microsoft.EntityFrameworkCore;
+using Microsoft.EntityFrameworkCore;
+using Sozsoft.Languages.Entities;
using Volo.Abp;
using Volo.Abp.EntityFrameworkCore.Modeling;
diff --git a/api/modules/Sozsoft.MailQueue/Application/MailQueueMappers.cs b/api/modules/Sozsoft.MailQueue/Application/MailQueueMappers.cs
index a2adf994..e1e7dc4c 100644
--- a/api/modules/Sozsoft.MailQueue/Application/MailQueueMappers.cs
+++ b/api/modules/Sozsoft.MailQueue/Application/MailQueueMappers.cs
@@ -1 +1 @@
-namespace Sozsoft.MailQueue.Application;
+namespace Sozsoft.MailQueue.Application;
diff --git a/api/modules/Sozsoft.MailQueue/Domain/MailGeneration/Generators/AttachmentGenerator.cs b/api/modules/Sozsoft.MailQueue/Domain/MailGeneration/Generators/AttachmentGenerator.cs
index f8652acc..fa9d56f2 100644
--- a/api/modules/Sozsoft.MailQueue/Domain/MailGeneration/Generators/AttachmentGenerator.cs
+++ b/api/modules/Sozsoft.MailQueue/Domain/MailGeneration/Generators/AttachmentGenerator.cs
@@ -1,6 +1,6 @@
-using Sozsoft.MailQueue.FileGeneration;
+using Microsoft.Extensions.Configuration;
+using Sozsoft.MailQueue.FileGeneration;
using Sozsoft.MailQueue.MailGeneration.Models;
-using Microsoft.Extensions.Configuration;
using Volo.Abp.DependencyInjection;
using Volo.Abp.Guids;
using Volo.Abp.TextTemplating;
@@ -141,53 +141,53 @@ public class AttachmentGenerator : IAttachmentGenerator, ITransientDependency
return null;
-// if (model.Filtreler.ContainsKey("QUERY") && model.Filtreler.ContainsKey("QUERYSQL"))
-// {
-// /*
-//Parametrelerden asagidaki sekilde gelen queryleri en alttaki formata donusturuyoruz
-//params
-//0 =>
-// QUERY -> qryDepo_Cikis_CekiListesi_Detayli
-// QUERYSQL -> Ksp_Depo_Cikis_CekiListesi_Detayli 252993
-// QUERY2 -> qryDepo_Cikis_CekiListesi_Sub
-// QUERY2SQL -> KSp_Depo_Cikis_CekiListesi_Sub 252993
-
-//SQL olan keyvalue'lari cikar ve sadece querylerde foreach yap
-// QUERY -> qryDepo_Cikis_CekiListesi_Detayli
-// dict.add(item.Value, params[item.Key + "SQL"].Value)
-// QUERY2 -> qryDepo_Cikis_CekiListesi_Sub
-// dict.add(item.Value, params[item.Key + "SQL"].Value)
+ // if (model.Filtreler.ContainsKey("QUERY") && model.Filtreler.ContainsKey("QUERYSQL"))
+ // {
+ // /*
+ //Parametrelerden asagidaki sekilde gelen queryleri en alttaki formata donusturuyoruz
+ //params
+ //0 =>
+ // QUERY -> qryDepo_Cikis_CekiListesi_Detayli
+ // QUERYSQL -> Ksp_Depo_Cikis_CekiListesi_Detayli 252993
+ // QUERY2 -> qryDepo_Cikis_CekiListesi_Sub
+ // QUERY2SQL -> KSp_Depo_Cikis_CekiListesi_Sub 252993
-//Bunlari yeni dict'e ekle
-//dict
-//qryDepo_Cikis_CekiListesi_Detayli -> Ksp_Depo_Cikis_CekiListesi_Detayli 252993
-//qryDepo_Cikis_CekiListesi_Sub -> KSp_Depo_Cikis_CekiListesi_Sub 252993
-// */
-// //dict -> key (name), value (sql)
-// var queries = model.Filtreler
-// .Where(a => a.Key.StartsWith("QUERY"))
-// .Where(a => !a.Key.EndsWith("SQL"))
-// .Where(a => !a.Value.IsNullOrWhiteSpace())
-// .ToDictionary(x => x.Value, x => model.Filtreler.GetValueOrDefault(x.Key + "SQL"));
+ //SQL olan keyvalue'lari cikar ve sadece querylerde foreach yap
+ // QUERY -> qryDepo_Cikis_CekiListesi_Detayli
+ // dict.add(item.Value, params[item.Key + "SQL"].Value)
+ // QUERY2 -> qryDepo_Cikis_CekiListesi_Sub
+ // dict.add(item.Value, params[item.Key + "SQL"].Value)
-// return MsAccessReportManager.GenerateAccessReport(
-// model.DbAdi,
-// model.Index,
-// model.RaporAdi,
-// model.ExportDosyaTipi,
-// queries,
-// attachmentFolder);
-// }
-// else
-// {
-// return MsAccessReportManager.GenerateAccessReport(
-// model.DbAdi,
-// model.Index,
-// model.RaporAdi,
-// string.Join(" AND ", model.Filtreler.Select(a => $"{a.Key}={a.Value}")),
-// model.ExportDosyaTipi,
-// attachmentFolder);
-// }
+ //Bunlari yeni dict'e ekle
+ //dict
+ //qryDepo_Cikis_CekiListesi_Detayli -> Ksp_Depo_Cikis_CekiListesi_Detayli 252993
+ //qryDepo_Cikis_CekiListesi_Sub -> KSp_Depo_Cikis_CekiListesi_Sub 252993
+ // */
+ // //dict -> key (name), value (sql)
+ // var queries = model.Filtreler
+ // .Where(a => a.Key.StartsWith("QUERY"))
+ // .Where(a => !a.Key.EndsWith("SQL"))
+ // .Where(a => !a.Value.IsNullOrWhiteSpace())
+ // .ToDictionary(x => x.Value, x => model.Filtreler.GetValueOrDefault(x.Key + "SQL"));
+
+ // return MsAccessReportManager.GenerateAccessReport(
+ // model.DbAdi,
+ // model.Index,
+ // model.RaporAdi,
+ // model.ExportDosyaTipi,
+ // queries,
+ // attachmentFolder);
+ // }
+ // else
+ // {
+ // return MsAccessReportManager.GenerateAccessReport(
+ // model.DbAdi,
+ // model.Index,
+ // model.RaporAdi,
+ // string.Join(" AND ", model.Filtreler.Select(a => $"{a.Key}={a.Value}")),
+ // model.ExportDosyaTipi,
+ // attachmentFolder);
+ // }
}
private async Task ConvertFileToBase64Async(string filePath)
diff --git a/api/modules/Sozsoft.MailQueue/Domain/MailGeneration/Generators/MailBodyGenerator.cs b/api/modules/Sozsoft.MailQueue/Domain/MailGeneration/Generators/MailBodyGenerator.cs
index b33dbae1..3c65f165 100644
--- a/api/modules/Sozsoft.MailQueue/Domain/MailGeneration/Generators/MailBodyGenerator.cs
+++ b/api/modules/Sozsoft.MailQueue/Domain/MailGeneration/Generators/MailBodyGenerator.cs
@@ -1,5 +1,5 @@
-using Sozsoft.MailQueue.MailGeneration.Models;
-using Microsoft.Extensions.Configuration;
+using Microsoft.Extensions.Configuration;
+using Sozsoft.MailQueue.MailGeneration.Models;
using Volo.Abp.DependencyInjection;
using Volo.Abp.TextTemplating;
diff --git a/api/modules/Sozsoft.MailQueue/Domain/MailGeneration/Generators/TableGenerator.cs b/api/modules/Sozsoft.MailQueue/Domain/MailGeneration/Generators/TableGenerator.cs
index 55eecc11..4529bcc2 100644
--- a/api/modules/Sozsoft.MailQueue/Domain/MailGeneration/Generators/TableGenerator.cs
+++ b/api/modules/Sozsoft.MailQueue/Domain/MailGeneration/Generators/TableGenerator.cs
@@ -1,8 +1,8 @@
using System.Data;
+using Microsoft.EntityFrameworkCore;
using Sozsoft.MailQueue.Domain.Entities;
using Sozsoft.MailQueue.EntityFrameworkCore;
using Sozsoft.MailQueue.MailGeneration.Models;
-using Microsoft.EntityFrameworkCore;
using Volo.Abp.DependencyInjection;
using Volo.Abp.Domain.Repositories;
using Volo.Abp.TextTemplating;
diff --git a/api/modules/Sozsoft.MailQueue/Domain/MailQueueWorker.cs b/api/modules/Sozsoft.MailQueue/Domain/MailQueueWorker.cs
index e5dc6900..0533e3a2 100644
--- a/api/modules/Sozsoft.MailQueue/Domain/MailQueueWorker.cs
+++ b/api/modules/Sozsoft.MailQueue/Domain/MailQueueWorker.cs
@@ -1,8 +1,8 @@
-using Sozsoft.Sender.Mail;
+using Microsoft.Extensions.Configuration;
+using Microsoft.Extensions.DependencyInjection;
using Sozsoft.MailQueue.Domain.MailGeneration;
using Sozsoft.MailQueue.Domain.Shared;
-using Microsoft.Extensions.Configuration;
-using Microsoft.Extensions.DependencyInjection;
+using Sozsoft.Sender.Mail;
using Volo.Abp.BackgroundWorkers;
using Volo.Abp.Domain.Repositories;
using Volo.Abp.Guids;
@@ -182,7 +182,7 @@ public class MailQueueWorker : BackgroundWorkerBase
}
queue.SendStatus = result.Success;
queue.SendTime = Clock.Now;
- await Repository.UpdateAsync(queue);
+ await Repository.UpdateAsync(queue, cancellationToken: cancellationToken);
// Attachmentlari silebiliriz
try
diff --git a/api/modules/Sozsoft.MailQueue/Domain/MailTracking/MailTrackingManager.cs b/api/modules/Sozsoft.MailQueue/Domain/MailTracking/MailTrackingManager.cs
index 0163892e..a7f747b9 100644
--- a/api/modules/Sozsoft.MailQueue/Domain/MailTracking/MailTrackingManager.cs
+++ b/api/modules/Sozsoft.MailQueue/Domain/MailTracking/MailTrackingManager.cs
@@ -2,9 +2,9 @@
using Amazon;
using Amazon.SQS;
using Amazon.SQS.Model;
-using Sozsoft.Sender.Mail.AmazonSes;
-using Sozsoft.MailQueue.Domain.Entities;
using Microsoft.Extensions.Configuration;
+using Sozsoft.MailQueue.Domain.Entities;
+using Sozsoft.Sender.Mail.AmazonSes;
using Volo.Abp.Domain.Repositories;
using Volo.Abp.Domain.Services;
diff --git a/api/modules/Sozsoft.MailQueue/EntityFrameworkCore/MailQueueDbContext.cs b/api/modules/Sozsoft.MailQueue/EntityFrameworkCore/MailQueueDbContext.cs
index e1b2c476..27994506 100644
--- a/api/modules/Sozsoft.MailQueue/EntityFrameworkCore/MailQueueDbContext.cs
+++ b/api/modules/Sozsoft.MailQueue/EntityFrameworkCore/MailQueueDbContext.cs
@@ -1,5 +1,5 @@
-using Sozsoft.MailQueue.Domain;
-using Microsoft.EntityFrameworkCore;
+using Microsoft.EntityFrameworkCore;
+using Sozsoft.MailQueue.Domain;
using Volo.Abp.Data;
using Volo.Abp.EntityFrameworkCore;
diff --git a/api/modules/Sozsoft.MailQueue/EntityFrameworkCore/MailQueueDbContextModelCreatingExtensions.cs b/api/modules/Sozsoft.MailQueue/EntityFrameworkCore/MailQueueDbContextModelCreatingExtensions.cs
index 78f855b6..c6547734 100644
--- a/api/modules/Sozsoft.MailQueue/EntityFrameworkCore/MailQueueDbContextModelCreatingExtensions.cs
+++ b/api/modules/Sozsoft.MailQueue/EntityFrameworkCore/MailQueueDbContextModelCreatingExtensions.cs
@@ -1,6 +1,6 @@
-using Sozsoft.MailQueue.Domain;
+using Microsoft.EntityFrameworkCore;
+using Sozsoft.MailQueue.Domain;
using Sozsoft.MailQueue.Domain.Entities;
-using Microsoft.EntityFrameworkCore;
using Volo.Abp;
using Volo.Abp.EntityFrameworkCore.Modeling;
diff --git a/api/modules/Sozsoft.MailQueue/EntityFrameworkCore/QueryRepository.cs b/api/modules/Sozsoft.MailQueue/EntityFrameworkCore/QueryRepository.cs
index e03e5eb5..91db2efc 100644
--- a/api/modules/Sozsoft.MailQueue/EntityFrameworkCore/QueryRepository.cs
+++ b/api/modules/Sozsoft.MailQueue/EntityFrameworkCore/QueryRepository.cs
@@ -1,6 +1,6 @@
using System.Data;
-using Sozsoft.MailQueue.Domain.Entities;
using Microsoft.EntityFrameworkCore;
+using Sozsoft.MailQueue.Domain.Entities;
using Volo.Abp.DependencyInjection;
using Volo.Abp.Domain.Repositories;
diff --git a/api/modules/Sozsoft.MailQueue/FileGeneration/XLSFileGenerator.cs b/api/modules/Sozsoft.MailQueue/FileGeneration/XLSFileGenerator.cs
index 51b46c4d..310d5084 100644
--- a/api/modules/Sozsoft.MailQueue/FileGeneration/XLSFileGenerator.cs
+++ b/api/modules/Sozsoft.MailQueue/FileGeneration/XLSFileGenerator.cs
@@ -1,5 +1,4 @@
using ClosedXML.Excel;
-using DocumentFormat.OpenXml.Spreadsheet;
using Sozsoft.MailQueue.MailGeneration.Models;
using Volo.Abp.DependencyInjection;
@@ -26,7 +25,7 @@ public class XLSFileGenerator : IFileGenerator, ITransientDependency
using var stream = new MemoryStream();
workbook.SaveAs(stream);
stream.Close();
-
+
return await Task.FromResult(stream.ToArray());
}
@@ -80,8 +79,11 @@ public class XLSFileGenerator : IFileGenerator, ITransientDependency
var col = table.TabloSutunlari[j];
var cell = sheet.Cell(i + 2, j + 1);
var value = row.GetValueOrDefault(col.SutunAdi);
- var dataType = XLDataType.Text;
- Enum.TryParse(col.VeriTipi, out dataType);
+ if (!Enum.TryParse(col.VeriTipi, out XLDataType dataType))
+ {
+ dataType = XLDataType.Text;
+ }
+
switch (dataType)
{
case XLDataType.Number:
diff --git a/api/modules/Sozsoft.MailQueue/SozsoftMailQueueModule.cs b/api/modules/Sozsoft.MailQueue/SozsoftMailQueueModule.cs
index d2affe6d..14adf6e1 100644
--- a/api/modules/Sozsoft.MailQueue/SozsoftMailQueueModule.cs
+++ b/api/modules/Sozsoft.MailQueue/SozsoftMailQueueModule.cs
@@ -1,16 +1,16 @@
using System.Reflection;
-using Sozsoft.Sender;
-using Sozsoft.MailQueue.Domain.Shared;
-using Sozsoft.MailQueue.EntityFrameworkCore;
using Microsoft.CodeAnalysis;
using Microsoft.Extensions.DependencyInjection;
+using Sozsoft.MailQueue.Domain.Shared;
+using Sozsoft.MailQueue.EntityFrameworkCore;
+using Sozsoft.Sender;
using Volo.Abp.Application;
using Volo.Abp.Authorization;
-using Volo.Abp.Mapperly;
using Volo.Abp.Domain;
using Volo.Abp.EntityFrameworkCore;
using Volo.Abp.Localization;
using Volo.Abp.Localization.ExceptionHandling;
+using Volo.Abp.Mapperly;
using Volo.Abp.Modularity;
using Volo.Abp.TextTemplating.Razor;
using Volo.Abp.VirtualFileSystem;
diff --git a/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Application.Contracts/Notification/NotificationFilterRequestDto.cs b/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Application.Contracts/Notification/NotificationFilterRequestDto.cs
index ded06d39..edab319e 100644
--- a/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Application.Contracts/Notification/NotificationFilterRequestDto.cs
+++ b/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Application.Contracts/Notification/NotificationFilterRequestDto.cs
@@ -10,6 +10,6 @@ public class NotificationFilterRequestDto : PagedAndSortedResultRequestDto
///
/// İstek; aktivite sayfasındaki liste ekranından mı geliyor yoksa bildirimleri kontrol etmek için mi
///
- public bool IsListRequest { get; set; } = false;
+ public bool IsListRequest { get; set; } = false;
}
diff --git a/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Application.Contracts/NotificationRemoteServiceConsts.cs b/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Application.Contracts/NotificationRemoteServiceConsts.cs
deleted file mode 100644
index bc733186..00000000
--- a/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Application.Contracts/NotificationRemoteServiceConsts.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-namespace Sozsoft.Notifications.Application;
-
-public class NotificationRemoteServiceConsts
-{
- public const string RemoteServiceName = "Notifications";
-
- public const string ModuleName = "notifications";
-}
-
diff --git a/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Application.Contracts/Permissions/NotificationPermissionDefinitionProvider.cs b/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Application.Contracts/Permissions/NotificationPermissionDefinitionProvider.cs
index cb22dcdf..27c630b9 100644
--- a/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Application.Contracts/Permissions/NotificationPermissionDefinitionProvider.cs
+++ b/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Application.Contracts/Permissions/NotificationPermissionDefinitionProvider.cs
@@ -1,4 +1,4 @@
-using Volo.Abp.Authorization.Permissions;
+using Volo.Abp.Authorization.Permissions;
namespace Sozsoft.Notifications.Permissions;
diff --git a/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Application/NotificationAppService.cs b/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Application/NotificationAppService.cs
index 2a5c5f2c..5f2a628f 100644
--- a/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Application/NotificationAppService.cs
+++ b/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Application/NotificationAppService.cs
@@ -2,11 +2,11 @@
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
+using Microsoft.AspNetCore.Authorization;
+using Microsoft.EntityFrameworkCore;
using Sozsoft.Notifications.Domain;
using Sozsoft.Notifications.Entities;
using Sozsoft.Notifications.Enums;
-using Microsoft.AspNetCore.Authorization;
-using Microsoft.EntityFrameworkCore;
using Volo.Abp;
using Volo.Abp.Application.Services;
using Volo.Abp.Domain.Entities;
diff --git a/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Application/NotificationApplicationMappers.cs b/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Application/NotificationApplicationMappers.cs
index f487a4ea..21aed796 100644
--- a/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Application/NotificationApplicationMappers.cs
+++ b/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Application/NotificationApplicationMappers.cs
@@ -1,7 +1,7 @@
-using Sozsoft.Notifications.Entities;
+using Riok.Mapperly.Abstractions;
using Sozsoft.Notifications.Domain;
+using Sozsoft.Notifications.Entities;
using Sozsoft.Notifications.NotificationRules;
-using Riok.Mapperly.Abstractions;
using Volo.Abp.Mapperly;
namespace Sozsoft.Notifications.Application;
@@ -9,7 +9,7 @@ namespace Sozsoft.Notifications.Application;
[Mapper(RequiredMappingStrategy = RequiredMappingStrategy.Target)]
public partial class NotificationTypeToNotificationTypeDtoMapper : MapperBase
{
-public override partial NotificationTypeDto Map(NotificationType source);
+ public override partial NotificationTypeDto Map(NotificationType source);
public override partial void Map(NotificationType source, NotificationTypeDto destination);
@@ -25,7 +25,7 @@ public override partial NotificationTypeDto Map(NotificationType source);
[Mapper(RequiredMappingStrategy = RequiredMappingStrategy.Target)]
public partial class NotificationRuleToNotificationRuleDtoMapper : MapperBase
{
-public override partial NotificationRuleDto Map(NotificationRule source);
+ public override partial NotificationRuleDto Map(NotificationRule source);
public override partial void Map(NotificationRule source, NotificationRuleDto destination);
diff --git a/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Application/NotificationApplicationModule.cs b/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Application/NotificationApplicationModule.cs
index 2aea3d35..df266657 100644
--- a/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Application/NotificationApplicationModule.cs
+++ b/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Application/NotificationApplicationModule.cs
@@ -1,5 +1,5 @@
-using Sozsoft.Notifications.Domain;
-using Microsoft.Extensions.DependencyInjection;
+using Microsoft.Extensions.DependencyInjection;
+using Sozsoft.Notifications.Domain;
using Volo.Abp.Application;
using Volo.Abp.Mapperly;
using Volo.Abp.Modularity;
diff --git a/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Application/NotificationRuleAppService.cs b/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Application/NotificationRuleAppService.cs
index 3392a2cd..807fee5e 100644
--- a/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Application/NotificationRuleAppService.cs
+++ b/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Application/NotificationRuleAppService.cs
@@ -2,10 +2,10 @@
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
-using Sozsoft.Notifications.Domain;
-using Sozsoft.Notifications.Entities;
using Microsoft.AspNetCore.Authorization;
using Microsoft.EntityFrameworkCore;
+using Sozsoft.Notifications.Domain;
+using Sozsoft.Notifications.Entities;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;
using Volo.Abp.Domain.Repositories;
@@ -23,22 +23,16 @@ public class NotificationRuleAppService : CrudAppService<
INotificationRuleAppService
{
private readonly IRepository repositoryType;
- private readonly IOrganizationUnitRepository repositoryOrganizationUnit;
- private readonly IdentityUserManager userManager;
private readonly IIdentityUserRepository repositoryUser;
public NotificationRuleAppService(
IRepository repositoryType,
IRepository repository,
- IdentityUserManager userManager,
- IIdentityUserRepository repositoryUser,
- IOrganizationUnitRepository repositoryOrganizationUnit
+ IIdentityUserRepository repositoryUser
) : base(repository)
{
this.repositoryType = repositoryType;
- this.userManager = userManager;
this.repositoryUser = repositoryUser;
- this.repositoryOrganizationUnit = repositoryOrganizationUnit;
}
public async Task GetNotificationTypes()
diff --git a/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Domain.Shared/Enums/NotificationChannels.cs b/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Domain.Shared/Enums/NotificationChannels.cs
index 78dcaf51..9af2dfa7 100644
--- a/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Domain.Shared/Enums/NotificationChannels.cs
+++ b/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Domain.Shared/Enums/NotificationChannels.cs
@@ -5,7 +5,7 @@ public static class NotificationChannels
public const string Sms = "Sms"; //SMS (ABP Sms + Posta Guvercini)
public const string Mail = "Mail"; //Email (ABP Emailing + Amazon SES)
public const string Rocket = "Rocket"; //Rocket.Chat (HTTP API)
- public const string Desktop = "Desktop";
+ public const string Desktop = "Desktop";
public const string UiActivity = "UiActivity"; //UI Activity (ABP UI Activity)
public const string UiToast = "UiToast"; //UI Toast (ABP UI Toast) Ayarlar/Sistem/Bildirimler/Chrome açık olması gerekiyor.
public const string WhatsApp = "WhatsApp"; //WhatsApp (HTTP API, template-based)
diff --git a/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Domain.Shared/NotificationErrorCodes.cs b/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Domain.Shared/NotificationErrorCodes.cs
deleted file mode 100644
index 2363b82f..00000000
--- a/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Domain.Shared/NotificationErrorCodes.cs
+++ /dev/null
@@ -1,7 +0,0 @@
-namespace Sozsoft.Notifications.Domain;
-
-public static class NotificationErrorCodes
-{
- //Add your business exception error codes here...
-}
-
diff --git a/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Domain/Entities/Notification.cs b/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Domain/Entities/Notification.cs
index fb3525da..ea64ffda 100644
--- a/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Domain/Entities/Notification.cs
+++ b/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Domain/Entities/Notification.cs
@@ -1,5 +1,4 @@
using System;
-using System.Collections.Generic;
using Volo.Abp.Domain.Entities.Auditing;
namespace Sozsoft.Notifications.Entities;
diff --git a/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Domain/Entities/NotificationRule.cs b/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Domain/Entities/NotificationRule.cs
index 9e46c5dd..6b484f58 100644
--- a/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Domain/Entities/NotificationRule.cs
+++ b/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Domain/Entities/NotificationRule.cs
@@ -7,8 +7,8 @@ namespace Sozsoft.Notifications.Entities;
public class NotificationRule : FullAuditedEntity
{
public required Guid NotificationTypeId { get; set; }
- public NotificationType NotificationType { get; set; }
-
+ public NotificationType NotificationType { get; set; }
+
///
/// Alıcı Tipi: User, Role, Organization, All, Custom
/// User ise RecipientId UserId olacak
diff --git a/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Domain/NotificationManager.cs b/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Domain/NotificationManager.cs
index 2c02b8dc..3e0f4e98 100644
--- a/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Domain/NotificationManager.cs
+++ b/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.Domain/NotificationManager.cs
@@ -2,8 +2,8 @@
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
-using Sozsoft.Notifications.Entities;
using Microsoft.EntityFrameworkCore;
+using Sozsoft.Notifications.Entities;
using Volo.Abp.DependencyInjection;
using Volo.Abp.Domain.Repositories;
using Volo.Abp.Identity;
@@ -192,9 +192,9 @@ public class NotificationManager : INotificationManager
}
}
- var notificationType = await repositoryType.FirstOrDefaultAsync(a => a.Name == NotificationType)
+ var notificationType = await repositoryType.FirstOrDefaultAsync(a => a.Name == NotificationType)
?? throw new Exception($"NotificationType '{NotificationType}' not found.");
-
+
await repositoryNotification.InsertAsync(new Notification
{
NotificationTypeId = notificationType.Id,
diff --git a/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.EntityFrameworkCore/EntityFrameworkCore/NotificationDbContext.cs b/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.EntityFrameworkCore/EntityFrameworkCore/NotificationDbContext.cs
index e9b47dc4..db17f984 100644
--- a/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.EntityFrameworkCore/EntityFrameworkCore/NotificationDbContext.cs
+++ b/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.EntityFrameworkCore/EntityFrameworkCore/NotificationDbContext.cs
@@ -1,6 +1,6 @@
-using Sozsoft.Notifications.Domain;
+using Microsoft.EntityFrameworkCore;
+using Sozsoft.Notifications.Domain;
using Sozsoft.Notifications.Entities;
-using Microsoft.EntityFrameworkCore;
using Volo.Abp.Data;
using Volo.Abp.EntityFrameworkCore;
diff --git a/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.EntityFrameworkCore/EntityFrameworkCore/NotificationEntityFrameworkCoreModule.cs b/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.EntityFrameworkCore/EntityFrameworkCore/NotificationEntityFrameworkCoreModule.cs
index f597fc4a..f117a954 100644
--- a/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.EntityFrameworkCore/EntityFrameworkCore/NotificationEntityFrameworkCoreModule.cs
+++ b/api/modules/Sozsoft.Notifications/Sozsoft.Notifications.EntityFrameworkCore/EntityFrameworkCore/NotificationEntityFrameworkCoreModule.cs
@@ -1,5 +1,5 @@
-using Sozsoft.Notifications.Domain;
-using Microsoft.Extensions.DependencyInjection;
+using Microsoft.Extensions.DependencyInjection;
+using Sozsoft.Notifications.Domain;
using Volo.Abp.EntityFrameworkCore;
using Volo.Abp.Modularity;
diff --git a/api/modules/Sozsoft.Sender/Localization/SozsoftMailingResource.cs b/api/modules/Sozsoft.Sender/Localization/SozsoftMailingResource.cs
index 40e4fb27..3c08ead5 100644
--- a/api/modules/Sozsoft.Sender/Localization/SozsoftMailingResource.cs
+++ b/api/modules/Sozsoft.Sender/Localization/SozsoftMailingResource.cs
@@ -1,10 +1,9 @@
using Volo.Abp.Localization;
-namespace Sozsoft.Sender.Localization
+namespace Sozsoft.Sender.Localization;
+
+[LocalizationResourceName("SozsoftSender")]
+public class ErpSenderResource
{
- [LocalizationResourceName("SozsoftSender")]
- public class ErpSenderResource
- {
- }
}
diff --git a/api/modules/Sozsoft.Sender/Mail/SozsoftBackgroundEmailSendingJob.cs b/api/modules/Sozsoft.Sender/Mail/SozsoftBackgroundEmailSendingJob.cs
index 9bd313c3..1aa66f0b 100644
--- a/api/modules/Sozsoft.Sender/Mail/SozsoftBackgroundEmailSendingJob.cs
+++ b/api/modules/Sozsoft.Sender/Mail/SozsoftBackgroundEmailSendingJob.cs
@@ -1,4 +1,4 @@
-using Volo.Abp.BackgroundJobs;
+using Volo.Abp.BackgroundJobs;
using Volo.Abp.DependencyInjection;
using Volo.Abp.MultiTenancy;
diff --git a/api/modules/Sozsoft.Sender/Mail/SozsoftBackgroundEmailSendingJobArgs.cs b/api/modules/Sozsoft.Sender/Mail/SozsoftBackgroundEmailSendingJobArgs.cs
index c4a128eb..084b7264 100644
--- a/api/modules/Sozsoft.Sender/Mail/SozsoftBackgroundEmailSendingJobArgs.cs
+++ b/api/modules/Sozsoft.Sender/Mail/SozsoftBackgroundEmailSendingJobArgs.cs
@@ -1,4 +1,4 @@
-using Volo.Abp.MultiTenancy;
+using Volo.Abp.MultiTenancy;
namespace Sozsoft.Sender.Mail;
diff --git a/api/modules/Sozsoft.Sender/Rocket/RocketHttpClient.cs b/api/modules/Sozsoft.Sender/Rocket/RocketHttpClient.cs
index ed4d7e3b..5c73f6bd 100644
--- a/api/modules/Sozsoft.Sender/Rocket/RocketHttpClient.cs
+++ b/api/modules/Sozsoft.Sender/Rocket/RocketHttpClient.cs
@@ -1,5 +1,4 @@
using System.Net.Http.Json;
-using Microsoft.Extensions.Logging;
using Volo.Abp.Settings;
namespace Sozsoft.Sender.Rocket;
@@ -12,16 +11,13 @@ public interface IRocketHttpClient
public sealed class RocketHttpClient : IRocketHttpClient, IDisposable
{
private readonly HttpClient httpClient;
- private readonly ILogger logger;
private readonly ISettingProvider settingProvider;
public RocketHttpClient(
HttpClient httpClient,
- ILogger logger,
ISettingProvider settingProvider)
{
this.httpClient = httpClient;
- this.logger = logger;
this.settingProvider = settingProvider;
}
diff --git a/api/modules/Sozsoft.Sender/Sms/PostaGuvercini/PostaGuverciniHttpClient.cs b/api/modules/Sozsoft.Sender/Sms/PostaGuvercini/PostaGuverciniHttpClient.cs
index 8667e6c0..1c74eb7a 100644
--- a/api/modules/Sozsoft.Sender/Sms/PostaGuvercini/PostaGuverciniHttpClient.cs
+++ b/api/modules/Sozsoft.Sender/Sms/PostaGuvercini/PostaGuverciniHttpClient.cs
@@ -1,5 +1,4 @@
-using Microsoft.Extensions.Logging;
-using Volo.Abp.Settings;
+using Volo.Abp.Settings;
namespace Sozsoft.Sender.Sms.PostaGuvercini;
@@ -11,16 +10,13 @@ public interface IPostaGuverciniHttpClient
public sealed class PostaGuverciniHttpClient : IPostaGuverciniHttpClient, IDisposable
{
private readonly HttpClient httpClient;
- private readonly ILogger logger;
private readonly ISettingProvider settingProvider;
public PostaGuverciniHttpClient(
HttpClient httpClient,
- ILogger logger,
ISettingProvider settingProvider)
{
this.httpClient = httpClient;
- this.logger = logger;
this.settingProvider = settingProvider;
}
diff --git a/api/modules/Sozsoft.Sender/SozsoftSenderModule.cs b/api/modules/Sozsoft.Sender/SozsoftSenderModule.cs
index c08eef7c..902c92d1 100644
--- a/api/modules/Sozsoft.Sender/SozsoftSenderModule.cs
+++ b/api/modules/Sozsoft.Sender/SozsoftSenderModule.cs
@@ -1,11 +1,11 @@
-using Sozsoft.Sender.Localization;
+using Microsoft.Extensions.DependencyInjection;
+using Sozsoft.Sender.Localization;
using Sozsoft.Sender.Mail;
using Sozsoft.Sender.Mail.AmazonSes;
using Sozsoft.Sender.Rocket;
using Sozsoft.Sender.Sms;
using Sozsoft.Sender.Sms.PostaGuvercini;
using Sozsoft.Sender.WhatsApp;
-using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.BackgroundJobs;
using Volo.Abp.Emailing;
using Volo.Abp.Localization;
diff --git a/api/modules/Sozsoft.Sender/WhatsApp/WhatsAppHttpClient.cs b/api/modules/Sozsoft.Sender/WhatsApp/WhatsAppHttpClient.cs
index 2a99f52e..f784823f 100644
--- a/api/modules/Sozsoft.Sender/WhatsApp/WhatsAppHttpClient.cs
+++ b/api/modules/Sozsoft.Sender/WhatsApp/WhatsAppHttpClient.cs
@@ -1,6 +1,5 @@
using System.Net.Http.Headers;
using System.Net.Http.Json;
-using Microsoft.Extensions.Logging;
using Volo.Abp.Settings;
namespace Sozsoft.Sender.WhatsApp;
@@ -13,16 +12,13 @@ public interface IWhatsAppHttpClient
public sealed class WhatsAppHttpClient : IWhatsAppHttpClient, IDisposable
{
private readonly HttpClient httpClient;
- private readonly ILogger logger;
private readonly ISettingProvider settingProvider;
public WhatsAppHttpClient(
HttpClient httpClient,
- ILogger logger,
ISettingProvider settingProvider)
{
this.httpClient = httpClient;
- this.logger = logger;
this.settingProvider = settingProvider;
}
diff --git a/api/modules/Sozsoft.Settings/Sozsoft.Settings.Application.Contracts/Permissions/SettingsPermissionDefinitionProvider.cs b/api/modules/Sozsoft.Settings/Sozsoft.Settings.Application.Contracts/Permissions/SettingsPermissionDefinitionProvider.cs
index 32c73a47..283a8729 100644
--- a/api/modules/Sozsoft.Settings/Sozsoft.Settings.Application.Contracts/Permissions/SettingsPermissionDefinitionProvider.cs
+++ b/api/modules/Sozsoft.Settings/Sozsoft.Settings.Application.Contracts/Permissions/SettingsPermissionDefinitionProvider.cs
@@ -1,4 +1,4 @@
-using Volo.Abp.Authorization.Permissions;
+using Volo.Abp.Authorization.Permissions;
namespace Sozsoft.Settings.Permissions;
diff --git a/api/modules/Sozsoft.Settings/Sozsoft.Settings.Application.Contracts/SettingsRemoteServiceConsts.cs b/api/modules/Sozsoft.Settings/Sozsoft.Settings.Application.Contracts/SettingsRemoteServiceConsts.cs
deleted file mode 100644
index 624e780e..00000000
--- a/api/modules/Sozsoft.Settings/Sozsoft.Settings.Application.Contracts/SettingsRemoteServiceConsts.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-namespace Sozsoft.Settings;
-
-public class SettingsRemoteServiceConsts
-{
- public const string RemoteServiceName = "Settings";
-
- public const string ModuleName = "settings";
-}
-
diff --git a/api/modules/Sozsoft.Settings/Sozsoft.Settings.Application/SettingUiAppService.cs b/api/modules/Sozsoft.Settings/Sozsoft.Settings.Application/SettingUiAppService.cs
index 0a9c75fa..114c568d 100644
--- a/api/modules/Sozsoft.Settings/Sozsoft.Settings.Application/SettingUiAppService.cs
+++ b/api/modules/Sozsoft.Settings/Sozsoft.Settings.Application/SettingUiAppService.cs
@@ -2,7 +2,6 @@
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
-using Sozsoft.Languages;
using Microsoft.AspNetCore.Authorization;
using Volo.Abp.Application.Services;
using Volo.Abp.MultiTenancy;
@@ -15,20 +14,17 @@ namespace Sozsoft.Settings;
public class SettingUiAppService : ApplicationService, ISettingUiAppService
{
//private readonly IRepository repositorySettingDefinition;
- private readonly ILanguageKeyIntegrationService languageKeyIntegrationService;
private readonly ISettingDefinitionManager settingDefinitionManager;
private readonly ISettingManager settingManager;
private readonly ErpSettingDefinitionManager ErpSettingDefinitionManager;
private readonly ICurrentTenant currentTenant;
public SettingUiAppService(
- ILanguageKeyIntegrationService languageKeyIntegrationService,
ISettingDefinitionManager settingDefinitionManager,
ISettingManager settingManager,
ErpSettingDefinitionManager ErpSettingDefinitionManager,
ICurrentTenant currentTenant)
{
- this.languageKeyIntegrationService = languageKeyIntegrationService;
this.settingDefinitionManager = settingDefinitionManager;
this.settingManager = settingManager;
this.ErpSettingDefinitionManager = ErpSettingDefinitionManager;
diff --git a/api/modules/Sozsoft.Settings/Sozsoft.Settings.Application/SettingsMappers.cs b/api/modules/Sozsoft.Settings/Sozsoft.Settings.Application/SettingsMappers.cs
index 10e806ab..b6baa4fd 100644
--- a/api/modules/Sozsoft.Settings/Sozsoft.Settings.Application/SettingsMappers.cs
+++ b/api/modules/Sozsoft.Settings/Sozsoft.Settings.Application/SettingsMappers.cs
@@ -1,5 +1,5 @@
+using Riok.Mapperly.Abstractions;
using Sozsoft.Settings.Entities;
-using Riok.Mapperly.Abstractions;
using Volo.Abp.Mapperly;
namespace Sozsoft.Settings;
@@ -7,7 +7,7 @@ namespace Sozsoft.Settings;
[Mapper(RequiredMappingStrategy = RequiredMappingStrategy.Target)]
public partial class SettingDefinitionToSettingDefinitionDtoMapper : TwoWayMapperBase
{
-public override partial SettingDefinitionDto Map(SettingDefinition source);
+ public override partial SettingDefinitionDto Map(SettingDefinition source);
public override partial void Map(SettingDefinition source, SettingDefinitionDto destination);
diff --git a/api/modules/Sozsoft.Settings/Sozsoft.Settings.Domain.Shared/SettingsErrorCodes.cs b/api/modules/Sozsoft.Settings/Sozsoft.Settings.Domain.Shared/SettingsErrorCodes.cs
deleted file mode 100644
index 3c7498b5..00000000
--- a/api/modules/Sozsoft.Settings/Sozsoft.Settings.Domain.Shared/SettingsErrorCodes.cs
+++ /dev/null
@@ -1,7 +0,0 @@
-namespace Sozsoft.Settings;
-
-public static class SettingsErrorCodes
-{
- //Add your business exception error codes here...
-}
-
diff --git a/api/modules/Sozsoft.Settings/Sozsoft.Settings.Domain/SettingDefinitionManager.cs b/api/modules/Sozsoft.Settings/Sozsoft.Settings.Domain/SettingDefinitionManager.cs
index 75dfce04..af2fdd3b 100644
--- a/api/modules/Sozsoft.Settings/Sozsoft.Settings.Domain/SettingDefinitionManager.cs
+++ b/api/modules/Sozsoft.Settings/Sozsoft.Settings.Domain/SettingDefinitionManager.cs
@@ -2,9 +2,9 @@
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
-using Sozsoft.Settings.Localization;
using Microsoft.AspNetCore.Authorization;
using Microsoft.Extensions.Localization;
+using Sozsoft.Settings.Localization;
using Volo.Abp.Domain.Repositories;
using Volo.Abp.Domain.Services;
using Volo.Abp.Settings;
diff --git a/api/modules/Sozsoft.Settings/Sozsoft.Settings.Domain/SettingsDomainModule.cs b/api/modules/Sozsoft.Settings/Sozsoft.Settings.Domain/SettingsDomainModule.cs
index ef26da5b..8c7ddd39 100644
--- a/api/modules/Sozsoft.Settings/Sozsoft.Settings.Domain/SettingsDomainModule.cs
+++ b/api/modules/Sozsoft.Settings/Sozsoft.Settings.Domain/SettingsDomainModule.cs
@@ -1,4 +1,4 @@
-using Volo.Abp.Modularity;
+using Volo.Abp.Modularity;
using Volo.Abp.SettingManagement;
using Volo.Abp.Settings;
diff --git a/api/modules/Sozsoft.Settings/Sozsoft.Settings.EntityFrameworkCore/EntityFrameworkCore/SettingsDbContext.cs b/api/modules/Sozsoft.Settings/Sozsoft.Settings.EntityFrameworkCore/EntityFrameworkCore/SettingsDbContext.cs
index ec59baa0..39aec248 100644
--- a/api/modules/Sozsoft.Settings/Sozsoft.Settings.EntityFrameworkCore/EntityFrameworkCore/SettingsDbContext.cs
+++ b/api/modules/Sozsoft.Settings/Sozsoft.Settings.EntityFrameworkCore/EntityFrameworkCore/SettingsDbContext.cs
@@ -1,5 +1,5 @@
-using Sozsoft.Settings.Entities;
-using Microsoft.EntityFrameworkCore;
+using Microsoft.EntityFrameworkCore;
+using Sozsoft.Settings.Entities;
using Volo.Abp.Data;
using Volo.Abp.EntityFrameworkCore;
using Volo.Abp.SettingManagement.EntityFrameworkCore;
diff --git a/api/modules/Sozsoft.Settings/Sozsoft.Settings.EntityFrameworkCore/EntityFrameworkCore/SettingsDbContextModelCreatingExtensions.cs b/api/modules/Sozsoft.Settings/Sozsoft.Settings.EntityFrameworkCore/EntityFrameworkCore/SettingsDbContextModelCreatingExtensions.cs
index 97edde2d..c5698d48 100644
--- a/api/modules/Sozsoft.Settings/Sozsoft.Settings.EntityFrameworkCore/EntityFrameworkCore/SettingsDbContextModelCreatingExtensions.cs
+++ b/api/modules/Sozsoft.Settings/Sozsoft.Settings.EntityFrameworkCore/EntityFrameworkCore/SettingsDbContextModelCreatingExtensions.cs
@@ -1,9 +1,9 @@
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
-using Sozsoft.Settings.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.ChangeTracking;
+using Sozsoft.Settings.Entities;
using Volo.Abp;
using Volo.Abp.EntityFrameworkCore.Modeling;
using Volo.Abp.SettingManagement.EntityFrameworkCore;
@@ -15,7 +15,7 @@ public static class SettingsDbContextModelCreatingExtensions
public static void ConfigureSettings(this ModelBuilder builder)
{
Check.NotNull(builder, nameof(builder));
-
+
builder.ConfigureSettingManagement();
builder.Entity(b =>
diff --git a/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Application.Contracts/DatabaseObjectDto.cs b/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Application.Contracts/DatabaseObjectDto.cs
index f2aa0925..330602e9 100644
--- a/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Application.Contracts/DatabaseObjectDto.cs
+++ b/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Application.Contracts/DatabaseObjectDto.cs
@@ -1,4 +1,4 @@
-namespace Sozsoft.SqlQueryManager.Application.Contracts;
+namespace Sozsoft.SqlQueryManager.Application.Contracts;
public class DatabaseTableDto
{
diff --git a/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Application.Contracts/SqlExecutionDto.cs b/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Application.Contracts/SqlExecutionDto.cs
index 6b8dd9af..58b4198d 100644
--- a/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Application.Contracts/SqlExecutionDto.cs
+++ b/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Application.Contracts/SqlExecutionDto.cs
@@ -1,4 +1,4 @@
-using System.Collections.Generic;
+using System.Collections.Generic;
namespace Sozsoft.SqlQueryManager.Application.Contracts;
diff --git a/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Application.Contracts/SqlObjectExplorerDto.cs b/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Application.Contracts/SqlObjectExplorerDto.cs
index b3a26832..a5e4246b 100644
--- a/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Application.Contracts/SqlObjectExplorerDto.cs
+++ b/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Application.Contracts/SqlObjectExplorerDto.cs
@@ -1,4 +1,4 @@
-using System.Collections.Generic;
+using System.Collections.Generic;
namespace Sozsoft.SqlQueryManager.Application.Contracts;
diff --git a/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Application.Contracts/SqlQueryManagerApplicationContractsModule.cs b/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Application.Contracts/SqlQueryManagerApplicationContractsModule.cs
index cfdaa4f6..7c6cd0e0 100644
--- a/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Application.Contracts/SqlQueryManagerApplicationContractsModule.cs
+++ b/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Application.Contracts/SqlQueryManagerApplicationContractsModule.cs
@@ -1,4 +1,4 @@
-using Volo.Abp.Application;
+using Volo.Abp.Application;
using Volo.Abp.Authorization;
using Volo.Abp.Modularity;
diff --git a/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Application.Contracts/SqlTemplateDto.cs b/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Application.Contracts/SqlTemplateDto.cs
index abb21711..b53e0cbd 100644
--- a/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Application.Contracts/SqlTemplateDto.cs
+++ b/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Application.Contracts/SqlTemplateDto.cs
@@ -1,6 +1,4 @@
-using System.Collections.Generic;
-
-namespace Sozsoft.SqlQueryManager.Application.Contracts;
+namespace Sozsoft.SqlQueryManager.Application.Contracts;
public class SqlTemplateDto
{
@@ -9,10 +7,3 @@ public class SqlTemplateDto
public string Description { get; set; }
public string Template { get; set; }
}
-
-public class GetTemplateInput
-{
- public string TemplateType { get; set; }
- public string ObjectName { get; set; }
- public string SchemaName { get; set; }
-}
diff --git a/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Application/SqlObjectManagerAppService.cs b/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Application/SqlObjectManagerAppService.cs
index 2008d682..636167e9 100644
--- a/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Application/SqlObjectManagerAppService.cs
+++ b/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Application/SqlObjectManagerAppService.cs
@@ -2,21 +2,21 @@
using System.Collections.Generic;
using System.IO;
using System.Linq;
+using System.Text.RegularExpressions;
using System.Threading.Tasks;
-using Sozsoft.SqlQueryManager.Application.Contracts;
-using Sozsoft.SqlQueryManager.Domain.Services;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
-using Volo.Abp.Application.Services;
-using Volo.Abp.MultiTenancy;
-using System.Text.RegularExpressions;
using Sozsoft.Platform.Data.Seeds;
using Sozsoft.Platform.Enums;
using Sozsoft.Platform.Queries;
using Sozsoft.Settings;
+using Sozsoft.SqlQueryManager.Application.Contracts;
+using Sozsoft.SqlQueryManager.Domain.Services;
+using Volo.Abp.Application.Services;
+using Volo.Abp.MultiTenancy;
namespace Sozsoft.SqlQueryManager.Application;
diff --git a/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Application/SqlQueryManagerMappers.cs b/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Application/SqlQueryManagerMappers.cs
index 44c98654..a0051ff7 100644
--- a/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Application/SqlQueryManagerMappers.cs
+++ b/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Application/SqlQueryManagerMappers.cs
@@ -1 +1 @@
-namespace Sozsoft.SqlQueryManager.Application;
+namespace Sozsoft.SqlQueryManager.Application;
diff --git a/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Domain.Shared/SozsoftSqlQueryManagerResource.cs b/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Domain.Shared/SozsoftSqlQueryManagerResource.cs
index 91887362..8b031b94 100644
--- a/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Domain.Shared/SozsoftSqlQueryManagerResource.cs
+++ b/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Domain.Shared/SozsoftSqlQueryManagerResource.cs
@@ -1,4 +1,4 @@
-using Volo.Abp.Localization;
+using Volo.Abp.Localization;
namespace Sozsoft.SqlQueryManager.Domain.Shared;
diff --git a/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Domain.Shared/SqlObjectType.cs b/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Domain.Shared/SqlObjectType.cs
index fe90524d..83b43a79 100644
--- a/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Domain.Shared/SqlObjectType.cs
+++ b/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Domain.Shared/SqlObjectType.cs
@@ -1,4 +1,4 @@
-namespace Sozsoft.SqlQueryManager.Domain.Shared;
+namespace Sozsoft.SqlQueryManager.Domain.Shared;
// SqlObjectType, SqlFunctionType and SqlQueryStatus enums removed:
// The module no longer persists SQL objects and therefore does not need these enums.
diff --git a/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Domain.Shared/SqlQueryManagerDomainSharedModule.cs b/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Domain.Shared/SqlQueryManagerDomainSharedModule.cs
index 85dbe185..d4e3417f 100644
--- a/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Domain.Shared/SqlQueryManagerDomainSharedModule.cs
+++ b/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Domain.Shared/SqlQueryManagerDomainSharedModule.cs
@@ -1,4 +1,4 @@
-using Sozsoft.SqlQueryManager.Domain.Shared;
+using Sozsoft.SqlQueryManager.Domain.Shared;
using Volo.Abp.Domain;
using Volo.Abp.Localization;
using Volo.Abp.Localization.ExceptionHandling;
diff --git a/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Domain.Shared/SqlQueryManagerErrorCodes.cs b/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Domain.Shared/SqlQueryManagerErrorCodes.cs
deleted file mode 100644
index ec3867c8..00000000
--- a/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Domain.Shared/SqlQueryManagerErrorCodes.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-namespace Sozsoft.SqlQueryManager.Domain.Shared;
-
-public static class SqlQueryManagerErrorCodes
-{
- public const string InvalidSqlQuery = "SqlQueryManager:InvalidSqlQuery";
- public const string DataSourceNotFound = "SqlQueryManager:DataSourceNotFound";
- public const string ExecutionFailed = "SqlQueryManager:ExecutionFailed";
- public const string PermissionDenied = "SqlQueryManager:PermissionDenied";
- public const string InvalidObjectName = "SqlQueryManager:InvalidObjectName";
- public const string ObjectAlreadyExists = "SqlQueryManager:ObjectAlreadyExists";
-}
diff --git a/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Domain.Shared/SqlQueryManagerPermissions.cs b/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Domain.Shared/SqlQueryManagerPermissions.cs
index a69141a9..fb2a1a91 100644
--- a/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Domain.Shared/SqlQueryManagerPermissions.cs
+++ b/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Domain.Shared/SqlQueryManagerPermissions.cs
@@ -1,4 +1,4 @@
-using Volo.Abp.Reflection;
+using Volo.Abp.Reflection;
namespace Sozsoft.SqlQueryManager.Domain.Shared;
diff --git a/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Domain/Services/ISqlTemplateProvider.cs b/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Domain/Services/ISqlTemplateProvider.cs
index 72febdaf..d8f56b2c 100644
--- a/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Domain/Services/ISqlTemplateProvider.cs
+++ b/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Domain/Services/ISqlTemplateProvider.cs
@@ -1,4 +1,4 @@
-using System.Collections.Generic;
+using System.Collections.Generic;
namespace Sozsoft.SqlQueryManager.Domain.Services;
diff --git a/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Domain/Services/SqlExecutorService.cs b/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Domain/Services/SqlExecutorService.cs
index fdd0be0d..62e569ba 100644
--- a/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Domain/Services/SqlExecutorService.cs
+++ b/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Domain/Services/SqlExecutorService.cs
@@ -1,13 +1,13 @@
-using System;
+using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
+using Microsoft.Extensions.DependencyInjection;
using Sozsoft.Platform.DynamicData;
using Sozsoft.Platform.Enums;
using Sozsoft.Platform.Queries;
-using Microsoft.Extensions.DependencyInjection;
using Volo.Abp;
using Volo.Abp.Domain.Services;
@@ -30,7 +30,7 @@ public class SqlExecutorService : DomainService, ISqlExecutorService
{
// Get DataSource to determine database type
var dataSource = await _dataSourceManager.GetDataSourceAsync(
- CurrentTenant.IsAvailable,
+ CurrentTenant.IsAvailable,
dataSourceCode);
if (dataSource == null)
@@ -53,7 +53,7 @@ public class SqlExecutorService : DomainService, ISqlExecutorService
}
var repository = _serviceProvider.GetKeyedService(repositoryKey);
-
+
if (repository == null)
{
throw new BusinessException("SqlQueryManager:RepositoryNotFound")
@@ -64,8 +64,8 @@ public class SqlExecutorService : DomainService, ISqlExecutorService
}
public async Task ExecuteQueryAsync(
- string sql,
- string dataSourceCode,
+ string sql,
+ string dataSourceCode,
Dictionary parameters = null)
{
var stopwatch = Stopwatch.StartNew();
@@ -74,7 +74,7 @@ public class SqlExecutorService : DomainService, ISqlExecutorService
try
{
var connectionString = await _dataSourceManager.GetConnectionStringAsync(
- CurrentTenant.IsAvailable,
+ CurrentTenant.IsAvailable,
dataSourceCode);
if (string.IsNullOrWhiteSpace(connectionString))
@@ -107,8 +107,8 @@ public class SqlExecutorService : DomainService, ISqlExecutorService
}
public async Task ExecuteNonQueryAsync(
- string sql,
- string dataSourceCode,
+ string sql,
+ string dataSourceCode,
Dictionary parameters = null)
{
var stopwatch = Stopwatch.StartNew();
@@ -117,7 +117,7 @@ public class SqlExecutorService : DomainService, ISqlExecutorService
try
{
var connectionString = await _dataSourceManager.GetConnectionStringAsync(
- CurrentTenant.IsAvailable,
+ CurrentTenant.IsAvailable,
dataSourceCode);
if (string.IsNullOrWhiteSpace(connectionString))
@@ -149,8 +149,8 @@ public class SqlExecutorService : DomainService, ISqlExecutorService
}
public async Task ExecuteScalarAsync(
- string sql,
- string dataSourceCode,
+ string sql,
+ string dataSourceCode,
Dictionary parameters = null)
{
var stopwatch = Stopwatch.StartNew();
@@ -159,7 +159,7 @@ public class SqlExecutorService : DomainService, ISqlExecutorService
try
{
var connectionString = await _dataSourceManager.GetConnectionStringAsync(
- CurrentTenant.IsAvailable,
+ CurrentTenant.IsAvailable,
dataSourceCode);
if (string.IsNullOrWhiteSpace(connectionString))
diff --git a/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Domain/Services/SqlTemplateProvider.cs b/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Domain/Services/SqlTemplateProvider.cs
index 2255ce0d..3e1f39d7 100644
--- a/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Domain/Services/SqlTemplateProvider.cs
+++ b/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Domain/Services/SqlTemplateProvider.cs
@@ -1,5 +1,4 @@
-using System.Collections.Generic;
-using System.Text;
+using System.Collections.Generic;
using Volo.Abp.DependencyInjection;
namespace Sozsoft.SqlQueryManager.Domain.Services;
@@ -48,7 +47,7 @@ GO";
public string GetViewTemplate(string viewName, string schemaName = "dbo", bool withSchemaBinding = false)
{
var schemaBindingClause = withSchemaBinding ? " WITH SCHEMABINDING" : "";
-
+
return $@"-- =============================================
-- Author:
-- Create date:
diff --git a/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Domain/SqlQueryManagerDomainModule.cs b/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Domain/SqlQueryManagerDomainModule.cs
index b92a8575..d4b15f7c 100644
--- a/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Domain/SqlQueryManagerDomainModule.cs
+++ b/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Domain/SqlQueryManagerDomainModule.cs
@@ -1,5 +1,4 @@
-using Microsoft.Extensions.DependencyInjection;
-using Volo.Abp.Domain;
+using Volo.Abp.Domain;
using Volo.Abp.Modularity;
namespace Sozsoft.SqlQueryManager;
diff --git a/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.EntityFrameworkCore/SqlQueryManagerDbContext.cs b/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.EntityFrameworkCore/SqlQueryManagerDbContext.cs
index b874ed11..cffdd8fb 100644
--- a/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.EntityFrameworkCore/SqlQueryManagerDbContext.cs
+++ b/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.EntityFrameworkCore/SqlQueryManagerDbContext.cs
@@ -1,4 +1,4 @@
-using Microsoft.EntityFrameworkCore;
+using Microsoft.EntityFrameworkCore;
using Volo.Abp.Data;
using Volo.Abp.EntityFrameworkCore;
diff --git a/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.EntityFrameworkCore/SqlQueryManagerEntityFrameworkCoreModule.cs b/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.EntityFrameworkCore/SqlQueryManagerEntityFrameworkCoreModule.cs
index 8a3f4bb3..dad8ad9b 100644
--- a/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.EntityFrameworkCore/SqlQueryManagerEntityFrameworkCoreModule.cs
+++ b/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.EntityFrameworkCore/SqlQueryManagerEntityFrameworkCoreModule.cs
@@ -1,4 +1,4 @@
-using Microsoft.Extensions.DependencyInjection;
+using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.EntityFrameworkCore;
using Volo.Abp.Modularity;
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/AuditLogs/AuditLogListRequestDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/AuditLogs/AuditLogListRequestDto.cs
index e0cc568b..7f4f937c 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/AuditLogs/AuditLogListRequestDto.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/AuditLogs/AuditLogListRequestDto.cs
@@ -1,4 +1,4 @@
-using Volo.Abp.Application.Dtos;
+using Volo.Abp.Application.Dtos;
namespace Sozsoft.Platform.AuditLogs;
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ChangeLogs/ChangeLogDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/ChangeLogs/ChangeLogDto.cs
index 76a6e66c..c9252afd 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/ChangeLogs/ChangeLogDto.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/ChangeLogs/ChangeLogDto.cs
@@ -1,4 +1,4 @@
-using System;
+using System;
using Volo.Abp.Application.Dtos;
namespace Sozsoft.Platform.ChangeLogs;
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/DeveloperKit/CrudEndpointDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/DeveloperKit/CrudEndpointDto.cs
index d59ae8a3..38f0f23c 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/DeveloperKit/CrudEndpointDto.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/DeveloperKit/CrudEndpointDto.cs
@@ -11,7 +11,7 @@ public class CrudEndpointDto : FullAuditedEntityDto
public string OperationType { get; set; } = string.Empty;
public string CsharpCode { get; set; } = string.Empty;
public bool IsActive { get; set; } = true;
-
+
// Navigation property for display purposes
public string? EntityDisplayName { get; set; }
}
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/FileManagement/FileManagementDtos.cs b/api/src/Sozsoft.Platform.Application.Contracts/FileManagement/FileManagementDtos.cs
index 7bd5b14e..f56f3f4b 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/FileManagement/FileManagementDtos.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/FileManagement/FileManagementDtos.cs
@@ -1,7 +1,7 @@
#nullable enable
-using System.ComponentModel.DataAnnotations;
using System.Collections.Generic;
+using System.ComponentModel.DataAnnotations;
using Volo.Abp.Content;
namespace Sozsoft.Platform.FileManagement;
@@ -11,7 +11,7 @@ public class CreateFolderDto
[Required]
[StringLength(255)]
public string Name { get; set; } = string.Empty;
-
+
public string? ParentId { get; set; }
public string? TenantId { get; set; }
@@ -37,11 +37,11 @@ public class UploadFileDto
{
[Required]
public string FileName { get; set; } = string.Empty;
-
+
public string? ParentId { get; set; }
public string? TenantId { get; set; }
-
+
// NoteModal pattern - Files array
public IRemoteStreamContent[]? Files { get; set; }
}
@@ -50,7 +50,7 @@ public class SearchFilesDto
{
[Required]
public string Query { get; set; } = string.Empty;
-
+
public string? ParentId { get; set; }
public string? TenantId { get; set; }
@@ -64,11 +64,11 @@ public class BulkDeleteDto
public string? TenantId { get; set; }
}
-public class CopyItemsDto
+public class CopyItemsDto
{
[Required]
public List ItemIds { get; set; } = new();
-
+
public string? TargetFolderId { get; set; }
public string? TenantId { get; set; }
@@ -78,7 +78,7 @@ public class MoveItemsDto
{
[Required]
public List ItemIds { get; set; } = new();
-
+
public string? TargetFolderId { get; set; }
public string? TenantId { get; set; }
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/Identity/Dto/AssignedBranchViewModel.cs b/api/src/Sozsoft.Platform.Application.Contracts/Identity/Dto/AssignedBranchViewModel.cs
index 5ced8db6..26df205f 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/Identity/Dto/AssignedBranchViewModel.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/Identity/Dto/AssignedBranchViewModel.cs
@@ -4,8 +4,8 @@ namespace Sozsoft.Platform.Identity.Dto;
public class AssignedBranchViewModel
{
- public Guid Id { get; set; }
-
+ public Guid Id { get; set; }
+
public string Name { get; set; }
public bool IsAssigned { get; set; }
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/Identity/Dto/AssignedClaimViewModel.cs b/api/src/Sozsoft.Platform.Application.Contracts/Identity/Dto/AssignedClaimViewModel.cs
index 4c96a9a8..9e55475f 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/Identity/Dto/AssignedClaimViewModel.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/Identity/Dto/AssignedClaimViewModel.cs
@@ -4,12 +4,12 @@ namespace Sozsoft.Platform.Identity.Dto;
public class AssignedClaimViewModel
{
- public Guid Id { get; set; }
-
+ public Guid Id { get; set; }
+
public string ClaimType { get; set; }
public string ClaimValue { get; set; }
-
+
public bool IsAssigned { get; set; }
}
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/Identity/Dto/AssignedDepartmentViewModel.cs b/api/src/Sozsoft.Platform.Application.Contracts/Identity/Dto/AssignedDepartmentViewModel.cs
index 032922db..e03c1eca 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/Identity/Dto/AssignedDepartmentViewModel.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/Identity/Dto/AssignedDepartmentViewModel.cs
@@ -4,10 +4,10 @@ namespace Sozsoft.Platform.Identity.Dto;
public class AssignedDepartmentViewModel
{
- public Guid Id { get; set; }
-
+ public Guid Id { get; set; }
+
public string Name { get; set; }
-
+
public bool IsAssigned { get; set; }
}
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/Identity/Dto/AssignedJobPoisitionViewModel.cs b/api/src/Sozsoft.Platform.Application.Contracts/Identity/Dto/AssignedJobPoisitionViewModel.cs
index f8dc5411..4eaaf9bc 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/Identity/Dto/AssignedJobPoisitionViewModel.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/Identity/Dto/AssignedJobPoisitionViewModel.cs
@@ -4,12 +4,12 @@ namespace Sozsoft.Platform.Identity.Dto;
public class AssignedJobPoisitionViewModel
{
- public Guid Id { get; set; }
-
+ public Guid Id { get; set; }
+
public string Name { get; set; }
public Guid DepartmentId { get; set; }
-
+
public bool IsAssigned { get; set; }
}
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/Identity/Dto/AssignedWorkHourViewModel.cs b/api/src/Sozsoft.Platform.Application.Contracts/Identity/Dto/AssignedWorkHourViewModel.cs
index cc20ca11..c4dad128 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/Identity/Dto/AssignedWorkHourViewModel.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/Identity/Dto/AssignedWorkHourViewModel.cs
@@ -4,10 +4,10 @@ namespace Sozsoft.Platform.Identity.Dto;
public class AssignedWorkHourViewModel
{
- public Guid Id { get; set; }
-
+ public Guid Id { get; set; }
+
public string Name { get; set; }
-
+
public bool IsAssigned { get; set; }
}
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/Identity/Dto/PermissionGrantedUsersDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/Identity/Dto/PermissionGrantedUsersDto.cs
index 1a912b05..8dd08924 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/Identity/Dto/PermissionGrantedUsersDto.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/Identity/Dto/PermissionGrantedUsersDto.cs
@@ -1,4 +1,4 @@
-using System;
+using System;
using System.Collections.Generic;
namespace Sozsoft.Platform.Identity.Dto;
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/Identity/Dto/UserAvatarUpdateInput.cs b/api/src/Sozsoft.Platform.Application.Contracts/Identity/Dto/UserAvatarUpdateInput.cs
index 78798277..2044b7f6 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/Identity/Dto/UserAvatarUpdateInput.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/Identity/Dto/UserAvatarUpdateInput.cs
@@ -1,4 +1,4 @@
-using System;
+using System;
using Volo.Abp.Content;
namespace Sozsoft.Platform.Identity.Dto;
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/Identity/Dto/UserClaimModel.cs b/api/src/Sozsoft.Platform.Application.Contracts/Identity/Dto/UserClaimModel.cs
index c43c123e..76be2891 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/Identity/Dto/UserClaimModel.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/Identity/Dto/UserClaimModel.cs
@@ -6,8 +6,8 @@ namespace Sozsoft.Platform.Identity.Dto;
public class UserClaimModel : ExtensibleObject
{
public Guid Id { get; set; }
- public Guid UserId { get; set; }
- public string ClaimType { get; set; }
- public string ClaimValue { get; set; }
+ public Guid UserId { get; set; }
+ public string ClaimType { get; set; }
+ public string ClaimValue { get; set; }
}
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/Intranet/AnnouncementDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/Intranet/AnnouncementDto.cs
index 85082c9e..dc66d359 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/Intranet/AnnouncementDto.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/Intranet/AnnouncementDto.cs
@@ -14,7 +14,7 @@ public class AnnouncementDto : FullAuditedEntityDto
public string ImageUrl { get; set; } = string.Empty;
public string Category { get; set; } = string.Empty;
public Guid? UserId { get; set; }
- public UserInfoViewModel? User { get; set; }
+ public UserInfoViewModel? User { get; set; }
public DateTime PublishDate { get; set; }
public DateTime? ExpiryDate { get; set; }
public bool IsPinned { get; set; }
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/Intranet/CreateSocialPostInput.cs b/api/src/Sozsoft.Platform.Application.Contracts/Intranet/CreateSocialPostInput.cs
index 431dd3c9..02606d53 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/Intranet/CreateSocialPostInput.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/Intranet/CreateSocialPostInput.cs
@@ -1,4 +1,4 @@
-using System.Collections.Generic;
+using System.Collections.Generic;
namespace Sozsoft.Platform.Intranet;
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/Intranet/EventCommentDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/Intranet/EventCommentDto.cs
index db90c67f..92ca4a5a 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/Intranet/EventCommentDto.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/Intranet/EventCommentDto.cs
@@ -1,4 +1,4 @@
-using System;
+using System;
using Sozsoft.Platform.Identity.Dto;
namespace Sozsoft.Platform.Intranet;
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Chart/ChartJsonItemRowDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Chart/ChartJsonItemRowDto.cs
deleted file mode 100644
index 30497e77..00000000
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Chart/ChartJsonItemRowDto.cs
+++ /dev/null
@@ -1,14 +0,0 @@
-namespace Sozsoft.Platform.ListForms;
-
-public class ChartJsonItemRowDto
-{
- public string Id { get; set; }
- public string ListFormCode { get; set; }
- public int Index { get; set; }
- public string FieldName { get; set; }
- public ChartAnnotationDto ItemAnnotation { get; set; }
- public ChartPanesDto ItemPane { get; set; }
- public ChartSeriesDto ItemSerie { get; set; }
- public ChartValueAxisDto ItemAxis { get; set; }
-}
-
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Chart/EditChartAnnotationsDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Chart/EditChartAnnotationsDto.cs
deleted file mode 100644
index 1d3b2cbd..00000000
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Chart/EditChartAnnotationsDto.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-namespace Sozsoft.Platform.ListForms;
-
-public class EditChartAnnotationsDto
-{
- public string ListFormCode { get; set; }
- public string Id { get; set; }
- public int Index { get; set; }
- public string FieldName { get; set; }
- public ChartAnnotationDto Item { get; set; }
-}
-
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Chart/EditChartPanesDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Chart/EditChartPanesDto.cs
deleted file mode 100644
index b9cdf4bb..00000000
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Chart/EditChartPanesDto.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-namespace Sozsoft.Platform.ListForms;
-
-public class EditChartPanesDto
-{
- public string ListFormCode { get; set; }
- public string Id { get; set; }
- public int Index { get; set; }
- public string FieldName { get; set; }
- public ChartPanesDto Item { get; set; }
-}
-
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Chart/EditChartSeriesDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Chart/EditChartSeriesDto.cs
deleted file mode 100644
index 0cbf5fff..00000000
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Chart/EditChartSeriesDto.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-namespace Sozsoft.Platform.ListForms;
-
-public class EditChartSeriesDto
-{
- public string ListFormCode { get; set; }
- public string Id { get; set; }
- public int Index { get; set; }
- public string FieldName { get; set; }
- public ChartSeriesDto Item { get; set; }
-}
-
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Chart/EditChartValueAxisDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Chart/EditChartValueAxisDto.cs
deleted file mode 100644
index 58e32879..00000000
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Chart/EditChartValueAxisDto.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-namespace Sozsoft.Platform.ListForms;
-
-public class EditChartValueAxisDto
-{
- public string ListFormCode { get; set; }
- public string Id { get; set; }
- public int Index { get; set; }
- public string FieldName { get; set; }
- public ChartValueAxisDto Item { get; set; }
-}
-
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Dto/ColumnFormatEditDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Dto/ColumnFormatEditDto.cs
index cf88274e..571442bd 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Dto/ColumnFormatEditDto.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Dto/ColumnFormatEditDto.cs
@@ -13,7 +13,7 @@ public class ColumnFormatEditDto : ColumnFormatDto
[JsonIgnore]
public string JoinTableJson { get; set; }
- public JoinTableDto ColumnJoinTableDto
+ public JoinTableDto ColumnJoinTableDto
{
get
{
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Dto/DeleteColumnValidationRuleItemDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Dto/DeleteColumnValidationRuleItemDto.cs
deleted file mode 100644
index 8d37fdf3..00000000
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Dto/DeleteColumnValidationRuleItemDto.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-namespace Sozsoft.Platform.ListForms;
-
-public class DeleteCustomizationDataItemDto
-{
- public string ListFormCode { get; set; }
- public string Id { get; set; }
- public int Index { get; set; }
-}
-
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Dto/DeleteListFormFilterRequestDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Dto/DeleteListFormFilterRequestDto.cs
deleted file mode 100644
index 116b05a5..00000000
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Dto/DeleteListFormFilterRequestDto.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-namespace Sozsoft.Platform.ListForms;
-
-public class DeleteListFormFilterRequestDto
-{
- public string ListFormCode { get; set; }
- public string Id { get; set; }
-}
-
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Dto/ListFormFieldPivotSettingsDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Dto/ListFormFieldPivotSettingsDto.cs
index 9368a2cd..80f4b967 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Dto/ListFormFieldPivotSettingsDto.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Dto/ListFormFieldPivotSettingsDto.cs
@@ -5,7 +5,7 @@ namespace Sozsoft.Platform.ListForms;
// Field'in pivot ayarlarını tutan sınıf
// PivotGridDataSourceField
-public class ListFormFieldPivotSettingsDto
+public class ListFormFieldPivotSettingsDto
{
public bool IsPivot { get; set; } = true;
public bool Expanded { get; set; } = false;
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Dto/ListFormsDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Dto/ListFormsDto.cs
index a43c99b1..cb8e1044 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Dto/ListFormsDto.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Dto/ListFormsDto.cs
@@ -1,5 +1,5 @@
-using Sozsoft.Platform.Enums;
-using System;
+using System;
+using Sozsoft.Platform.Enums;
using Volo.Abp.Application.Dtos;
namespace Sozsoft.Platform.ListForms;
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/DynamicApi/CreateTenantFromOrderInput.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/DynamicApi/CreateTenantFromOrderInput.cs
index ff05b79c..0321f20c 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/DynamicApi/CreateTenantFromOrderInput.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/DynamicApi/CreateTenantFromOrderInput.cs
@@ -1,4 +1,4 @@
-using System;
+using System;
namespace Sozsoft.Platform.ListForms.DynamicApi;
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/DynamicApi/CreateUpdateUserInput.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/DynamicApi/CreateUpdateUserInput.cs
index 2f812459..fe4259e5 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/DynamicApi/CreateUpdateUserInput.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/DynamicApi/CreateUpdateUserInput.cs
@@ -1,5 +1,4 @@
-using System;
-using static Sozsoft.Platform.PlatformConsts;
+using static Sozsoft.Platform.PlatformConsts;
namespace Sozsoft.Platform.ListForms.DynamicApi;
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/DynamicApi/DynamicApiBaseInput.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/DynamicApi/DynamicApiBaseInput.cs
index 2f637ee8..12c574e5 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/DynamicApi/DynamicApiBaseInput.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/DynamicApi/DynamicApiBaseInput.cs
@@ -1,6 +1,4 @@
-using System;
-
-namespace Sozsoft.Platform.ListForms.DynamicApi;
+namespace Sozsoft.Platform.ListForms.DynamicApi;
public class DynamicApiBaseInput
{
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/DynamicApi/IListFormDynamicApiAppService.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/DynamicApi/IListFormDynamicApiAppService.cs
index 8c4860ab..f13ada23 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/DynamicApi/IListFormDynamicApiAppService.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/DynamicApi/IListFormDynamicApiAppService.cs
@@ -1,4 +1,4 @@
-using System;
+using System;
using System.Threading.Tasks;
namespace Sozsoft.Platform.ListForms.DynamicApi;
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/DynamicApi/SeedTenantDbInput.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/DynamicApi/SeedTenantDbInput.cs
deleted file mode 100644
index 1834e789..00000000
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/DynamicApi/SeedTenantDbInput.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using System;
-
-namespace Sozsoft.Platform.ListForms.DynamicApi;
-
-public class SeedTenantDbInput
-{
- public Guid TenantId { get; set; }
- public string AdminEmail { get; set; }
- public string AdminPassword { get; set; }
-}
-
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/GridOptionsDto/EditingFormDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/GridOptionsDto/EditingFormDto.cs
index 1788a407..34f76a29 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/GridOptionsDto/EditingFormDto.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/GridOptionsDto/EditingFormDto.cs
@@ -1,6 +1,4 @@
-using System.Text.Json.Serialization;
-
-namespace Sozsoft.Platform.ListForms;
+namespace Sozsoft.Platform.ListForms;
/// popup yada form olarak acilan ekrandaki tasarimi belirtir
/// https://js.devexpress.com/Demos/WidgetsGallery/Demo/Form/GroupedFields/jQuery/Light/
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/GridOptionsDto/GridStateRequestDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/GridOptionsDto/GridStateRequestDto.cs
deleted file mode 100644
index 7d79dcd2..00000000
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/GridOptionsDto/GridStateRequestDto.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-namespace Sozsoft.Platform.ListForms;
-
-public class GridStateRequestDto
-{
- public string ListFormCode { get; set; }
- public string GridState { get; set; }
-}
-
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/GridOptionsDto/ImageUploadOptionsDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/GridOptionsDto/ImageUploadOptionsDto.cs
index 715a0d3c..17878adf 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/GridOptionsDto/ImageUploadOptionsDto.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/GridOptionsDto/ImageUploadOptionsDto.cs
@@ -1,4 +1,4 @@
-namespace Sozsoft.Platform.ListForms;
+namespace Sozsoft.Platform.ListForms;
public class ImageUploadOptionsDto
{
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/GridOptionsDto/StateStoringDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/GridOptionsDto/StateStoringDto.cs
index 56705f3b..9001e10f 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/GridOptionsDto/StateStoringDto.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/GridOptionsDto/StateStoringDto.cs
@@ -10,7 +10,7 @@ public class StateStoringDto
/// Accepted Values: 'custom' | 'localStorage' | 'sessionStorage'
///
public string Type { get; set; } = "custom";
-
+
public string StorageKey { get; set; }
/// Bir kullanıcının bir değişiklik yapması ile bu değişikliğin kaydedilmesi arasındaki gecikmeyi milisaniye cinsinden belirtir.
///
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/GridOptionsDto/TodoOptionDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/GridOptionsDto/TodoOptionDto.cs
index ac400e03..7d783291 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/GridOptionsDto/TodoOptionDto.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/GridOptionsDto/TodoOptionDto.cs
@@ -1,4 +1,4 @@
-namespace Sozsoft.Platform.ListForms;
+namespace Sozsoft.Platform.ListForms;
///
/// Dinamik bir listeyi Todo/Kanban panosu olarak gostermek icin alan eslemeleri.
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/ImportManager/GenerateTemplateInput.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/ImportManager/GenerateTemplateInput.cs
deleted file mode 100644
index d1d66436..00000000
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/ImportManager/GenerateTemplateInput.cs
+++ /dev/null
@@ -1,22 +0,0 @@
-using System;
-using System.Collections.Generic;
-using Sozsoft.Platform.ListForms;
-
-namespace Sozsoft.Platform.ListForms.ImportManager;
-
-public class GenerateTemplateInput
-{
- public string GridName { get; set; }
- public string Title { get; set; }
- public List ColumnFormats { get; set; }
- public string Format { get; set; } // 'excel' or 'csv'
-}
-
-public class ExportDataInput
-{
- public string GridName { get; set; }
- public List ColumnFormats { get; set; }
- public string Format { get; set; }
- public Dictionary Filters { get; set; }
-}
-
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/ImportManager/ImportPreviewDataDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/ImportManager/ImportPreviewDataDto.cs
deleted file mode 100644
index 5f1b40eb..00000000
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/ImportManager/ImportPreviewDataDto.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-using System;
-using System.Collections.Generic;
-
-namespace Sozsoft.Platform.ListForms.ImportManager;
-
-public class ImportPreviewDataDto
-{
- public Guid SessionId { get; set; }
- public List Headers { get; set; } = new();
- public List> Rows { get; set; } = new(); // raw string olarak dönen veri hücreleri
- public int TotalRows { get; set; }
- public int SampleSize { get; set; }
-
- public List ColumnMappings { get; set; } = new();
- public List ValidationResults { get; set; } = new();
-}
-
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/ImportManager/ImportValidationErrorDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/ImportManager/ImportValidationErrorDto.cs
index 8ed2d0c7..3353e893 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/ImportManager/ImportValidationErrorDto.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/ImportManager/ImportValidationErrorDto.cs
@@ -1,4 +1,4 @@
-public class ImportValidationErrorDto
+public class ImportValidationErrorDto
{
public int Row { get; set; }
public string Column { get; set; }
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/ImportManager/PreviewInputDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/ImportManager/PreviewInputDto.cs
deleted file mode 100644
index c2867d9c..00000000
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/ImportManager/PreviewInputDto.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using System;
-using Sozsoft.Platform.ListForms.Select;
-
-namespace Sozsoft.Platform.ListForms.ImportManager;
-
-public class PreviewInputDto
-{
- public Guid SessionId { get; set; }
- public GridDto GridDto { get; set; }
-}
-
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Select/DeleteColumnStyleConditionItemDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Select/DeleteColumnStyleConditionItemDto.cs
deleted file mode 100644
index 4c178656..00000000
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Select/DeleteColumnStyleConditionItemDto.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-namespace Sozsoft.Platform.ListForms.Select;
-
-public class DeleteColumnStyleConditionItemDto
-{
- public string ListFormCode { get; set; }
- public string Id { get; set; }
- public int Index { get; set; }
-}
-
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Select/DeleteColumnValidationRuleItemDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Select/DeleteColumnValidationRuleItemDto.cs
deleted file mode 100644
index 0b149ea6..00000000
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Select/DeleteColumnValidationRuleItemDto.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-namespace Sozsoft.Platform.ListForms.Select;
-
-public class DeleteColumnValidationRuleItemDto
-{
- public string ListFormCode { get; set; }
- public string Id { get; set; }
- public int Index { get; set; }
-}
-
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Select/DeleteCommandColumnRequestDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Select/DeleteCommandColumnRequestDto.cs
deleted file mode 100644
index 746a8538..00000000
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Select/DeleteCommandColumnRequestDto.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-namespace Sozsoft.Platform.ListForms.Select;
-
-public class DeleteCommandColumnRequestDto
-{
- /// Yetki kontrolü için gerekli
- ///
- public string ListFormCode { get; set; }
- public string Id { get; set; }
- public int Index { get; set; }
-}
-
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Select/DeleteCrudFieldsDefaultValueJsonItemDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Select/DeleteCrudFieldsDefaultValueJsonItemDto.cs
deleted file mode 100644
index a644ee10..00000000
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Select/DeleteCrudFieldsDefaultValueJsonItemDto.cs
+++ /dev/null
@@ -1,10 +0,0 @@
-namespace Sozsoft.Platform.ListForms.Select;
-
-public class DeleteCrudFieldsDefaultValueJsonItemDto
-{
- public string ListFormCode { get; set; }
- public string Id { get; set; }
- public string FieldName { get; set; }
- public int Index { get; set; }
-}
-
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Select/DeleteEditingFormItemRequestDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Select/DeleteEditingFormItemRequestDto.cs
deleted file mode 100644
index 54a506ee..00000000
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Select/DeleteEditingFormItemRequestDto.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-namespace Sozsoft.Platform.ListForms.Select;
-
-public class DeleteEditingFormItemRequestDto
-{
- public string ListFormCode { get; set; }
- public string Id { get; set; }
- public int Index { get; set; }
-}
-
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Select/DeleteListFormFieldRequestDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Select/DeleteListFormFieldRequestDto.cs
deleted file mode 100644
index 138087aa..00000000
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Select/DeleteListFormFieldRequestDto.cs
+++ /dev/null
@@ -1,8 +0,0 @@
-namespace Sozsoft.Platform.ListForms.Select;
-
-public class DeleteListFormFieldRequestDto
-{
- public string ListFormCode { get; set; }
- public string Id { get; set; }
-}
-
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Select/EditColumnStylingItemDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Select/EditColumnStylingItemDto.cs
deleted file mode 100644
index b27070cb..00000000
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Select/EditColumnStylingItemDto.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-namespace Sozsoft.Platform.ListForms.Select;
-
-public class EditColumnStylingItemDto
-{
- public string ListFormCode { get; set; }
- public string Id { get; set; }
- public int Index { get; set; }
- public string FieldName { get; set; }
- public ColumnStylingDto Item { get; set; }
-}
-
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Select/EditColumnValidationRuleItemDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Select/EditColumnValidationRuleItemDto.cs
deleted file mode 100644
index c549875f..00000000
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Select/EditColumnValidationRuleItemDto.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-namespace Sozsoft.Platform.ListForms.Select;
-
-public class EditColumnValidationRuleItemDto
-{
- public string ListFormCode { get; set; }
- public string Id { get; set; }
- public int Index { get; set; }
- public string FieldName { get; set; }
- public ValidationRuleDto Item { get; set; }
-}
-
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Select/WidgetDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Select/WidgetDto.cs
index 980d3491..e6112444 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Select/WidgetDto.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Select/WidgetDto.cs
@@ -1,4 +1,4 @@
-using System.Collections.Generic;
+using System.Collections.Generic;
public class WidgetDto
{
@@ -18,4 +18,4 @@ public class WidgetItemDto
public string Icon { get; set; }
public string SubTitle { get; set; }
public string OnClick { get; set; }
-}
\ No newline at end of file
+}
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Wizard/IListFormWizardAppService.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Wizard/IListFormWizardAppService.cs
index 1452eec0..368133f1 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Wizard/IListFormWizardAppService.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Wizard/IListFormWizardAppService.cs
@@ -1,4 +1,4 @@
-using System.Collections.Generic;
+using System.Collections.Generic;
using System.Threading.Tasks;
using Volo.Abp.Content;
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Wizard/ListFormWizardDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Wizard/ListFormWizardDto.cs
index 6c515f41..980bd305 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Wizard/ListFormWizardDto.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Wizard/ListFormWizardDto.cs
@@ -1,7 +1,7 @@
-using Sozsoft.Platform.Enums;
-using System.Collections.Generic;
+using System.Collections.Generic;
using System.Data;
using System.Text.Json.Serialization;
+using Sozsoft.Platform.Enums;
namespace Sozsoft.Platform.ListForms;
@@ -73,7 +73,7 @@ public class ListFormWizardDto
public string MenuIcon { get; set; }
public string DataSourceCode { get; set; }
public string DataSourceConnectionString { get; set; }
-
+
public SelectCommandTypeEnum SelectCommandType { get; set; }
public string SelectCommand { get; set; }
public string KeyFieldName { get; set; }
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Wizard/WizardColumnGroupInputDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Wizard/WizardColumnGroupInputDto.cs
index 769cadf8..b50cea74 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Wizard/WizardColumnGroupInputDto.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Wizard/WizardColumnGroupInputDto.cs
@@ -1,4 +1,4 @@
-using System.Collections.Generic;
+using System.Collections.Generic;
namespace Sozsoft.Platform.ListForms;
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Wizard/WizardColumnItemInputDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Wizard/WizardColumnItemInputDto.cs
index 1f3a0a34..a50db3d5 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Wizard/WizardColumnItemInputDto.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Wizard/WizardColumnItemInputDto.cs
@@ -1,4 +1,4 @@
-using System.Data;
+using System.Data;
using Sozsoft.Platform.Enums;
namespace Sozsoft.Platform.ListForms;
@@ -14,7 +14,7 @@ public class WizardColumnItemInputDto
public bool IsRequired { get; set; }
public bool IncludeInEditingForm { get; set; } = true;
public DbType DbSourceType { get; set; } = DbType.String;
- public string TurkishCaption { get; set; }
+ public string TurkishCaption { get; set; }
public string EnglishCaption { get; set; }
public UiLookupDataSourceTypeEnum LookupDataSourceType { get; set; }
public string ValueExpr { get; set; }
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Wizard/WizardImportDtos.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Wizard/WizardImportDtos.cs
index b43c3553..8411459c 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Wizard/WizardImportDtos.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Wizard/WizardImportDtos.cs
@@ -1,4 +1,4 @@
-using System.Collections.Generic;
+using System.Collections.Generic;
using Sozsoft.Platform.Enums;
namespace Sozsoft.Platform.ListForms;
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Workflow/CompareOutcomeDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Workflow/CompareOutcomeDto.cs
index f0f4a3af..a69ef301 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Workflow/CompareOutcomeDto.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Workflow/CompareOutcomeDto.cs
@@ -1,4 +1,4 @@
-using System.Collections.Generic;
+using System.Collections.Generic;
namespace Sozsoft.Platform.ListForms;
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Workflow/CreateUpdateListFormWorkflowCriteriaDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Workflow/CreateUpdateListFormWorkflowCriteriaDto.cs
index 05f18ff9..b34701c7 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Workflow/CreateUpdateListFormWorkflowCriteriaDto.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Workflow/CreateUpdateListFormWorkflowCriteriaDto.cs
@@ -1,5 +1,4 @@
-using System;
-using System.Collections.Generic;
+using System.Collections.Generic;
namespace Sozsoft.Platform.ListForms;
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Workflow/DecisionWorkflowDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Workflow/DecisionWorkflowDto.cs
index 8eb27255..f0b7bb47 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Workflow/DecisionWorkflowDto.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Workflow/DecisionWorkflowDto.cs
@@ -1,4 +1,4 @@
-namespace Sozsoft.Platform.ListForms;
+namespace Sozsoft.Platform.ListForms;
public class DecisionWorkflowDto
{
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Workflow/IListFormWorkflowAppService.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Workflow/IListFormWorkflowAppService.cs
index 019e4986..5d168c53 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Workflow/IListFormWorkflowAppService.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Workflow/IListFormWorkflowAppService.cs
@@ -1,5 +1,4 @@
-using System;
-using System.Threading.Tasks;
+using System.Threading.Tasks;
using Volo.Abp.Application.Services;
namespace Sozsoft.Platform.ListForms;
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Workflow/ListFormWorkflowCriteriaDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Workflow/ListFormWorkflowCriteriaDto.cs
index 8330f5f4..ff7a1550 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Workflow/ListFormWorkflowCriteriaDto.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Workflow/ListFormWorkflowCriteriaDto.cs
@@ -1,5 +1,4 @@
-using System;
-using System.Collections.Generic;
+using System.Collections.Generic;
using Volo.Abp.Application.Dtos;
namespace Sozsoft.Platform.ListForms;
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Workflow/ListFormWorkflowStateDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Workflow/ListFormWorkflowStateDto.cs
index eee7579d..684b49dc 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Workflow/ListFormWorkflowStateDto.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Workflow/ListFormWorkflowStateDto.cs
@@ -1,4 +1,4 @@
-using System.Collections.Generic;
+using System.Collections.Generic;
namespace Sozsoft.Platform.ListForms;
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Workflow/StartWorkflowDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Workflow/StartWorkflowDto.cs
index ec606930..726a7bae 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Workflow/StartWorkflowDto.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Workflow/StartWorkflowDto.cs
@@ -1,4 +1,4 @@
-namespace Sozsoft.Platform.ListForms;
+namespace Sozsoft.Platform.ListForms;
public class StartWorkflowDto
{
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Workflow/WorkflowConditionDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Workflow/WorkflowConditionDto.cs
index d87f04b6..aefc7d92 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Workflow/WorkflowConditionDto.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Workflow/WorkflowConditionDto.cs
@@ -1,4 +1,4 @@
-namespace Sozsoft.Platform.ListForms;
+namespace Sozsoft.Platform.ListForms;
public class WorkflowConditionDto
{
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Workflow/WorkflowHistoryDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Workflow/WorkflowHistoryDto.cs
deleted file mode 100644
index 1ef240e0..00000000
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Workflow/WorkflowHistoryDto.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using System;
-
-namespace Sozsoft.Platform.ListForms;
-
-public class WorkflowHistoryDto
-{
- public DateTime Time { get; set; }
- public string Action { get; set; }
- public string Note { get; set; }
-}
-
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Workflow/WorkflowRunResultDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Workflow/WorkflowRunResultDto.cs
index d52efdf6..148b2bb6 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Workflow/WorkflowRunResultDto.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/ListForms/Workflow/WorkflowRunResultDto.cs
@@ -1,4 +1,4 @@
-using System.Collections.Generic;
+using System.Collections.Generic;
namespace Sozsoft.Platform.ListForms;
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/Messenger/MessengerDtos.cs b/api/src/Sozsoft.Platform.Application.Contracts/Messenger/MessengerDtos.cs
index 89f75201..b64e664d 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/Messenger/MessengerDtos.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/Messenger/MessengerDtos.cs
@@ -1,4 +1,4 @@
-#nullable enable
+#nullable enable
using System;
using System.Collections.Generic;
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/Note/NoteDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/Note/NoteDto.cs
index 425f30bf..f8fb28ad 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/Note/NoteDto.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/Note/NoteDto.cs
@@ -12,9 +12,9 @@ public class NoteDto : FullAuditedEntityDto
public string Type { get; set; }
public string Subject { get; set; }
public string Content { get; set; }
- public string FilesJson { get; set; }
+ public string FilesJson { get; set; }
public string CreateUserName { get; set; }
-
+
public IRemoteStreamContent[] Files { get; set; }
}
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/Note/NoteListRequestDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/Note/NoteListRequestDto.cs
index 216d3193..8c738d86 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/Note/NoteListRequestDto.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/Note/NoteListRequestDto.cs
@@ -1,7 +1,7 @@
-using Volo.Abp.Application.Dtos;
+using Volo.Abp.Application.Dtos;
public class NoteListRequestDto : PagedAndSortedResultRequestDto
- {
- public string EntityName { get; set; }
- public string EntityId { get; set; }
- }
\ No newline at end of file
+{
+ public string EntityName { get; set; }
+ public string EntityId { get; set; }
+}
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/OrgChart/OrgChartDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/OrgChart/OrgChartDto.cs
index a11f385b..22b11664 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/OrgChart/OrgChartDto.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/OrgChart/OrgChartDto.cs
@@ -1,4 +1,4 @@
-using System;
+using System;
using System.Collections.Generic;
namespace Sozsoft.Platform.OrgChart;
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/Permissions/PlatformPermissionDefinitionProvider.cs b/api/src/Sozsoft.Platform.Application.Contracts/Permissions/PlatformPermissionDefinitionProvider.cs
index b1bed991..c2b7d57d 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/Permissions/PlatformPermissionDefinitionProvider.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/Permissions/PlatformPermissionDefinitionProvider.cs
@@ -1,4 +1,4 @@
-using Volo.Abp.Authorization.Permissions;
+using Volo.Abp.Authorization.Permissions;
namespace Sozsoft.Platform.Permissions;
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/Permissions/PlatformPermissions.cs b/api/src/Sozsoft.Platform.Application.Contracts/Permissions/PlatformPermissions.cs
index 5e81d4f1..1a5e38ef 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/Permissions/PlatformPermissions.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/Permissions/PlatformPermissions.cs
@@ -1,4 +1,4 @@
-namespace Sozsoft.Platform.Permissions;
+namespace Sozsoft.Platform.Permissions;
public static class PlatformPermissions
{
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/PlatformDtoExtensions.cs b/api/src/Sozsoft.Platform.Application.Contracts/PlatformDtoExtensions.cs
index b4fbb631..74d7ac65 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/PlatformDtoExtensions.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/PlatformDtoExtensions.cs
@@ -10,17 +10,17 @@ public static class PlatformDtoExtensions
{
OneTimeRunner.Run(() =>
{
- /* You can add extension properties to DTOs
- * defined in the depended modules.
- *
- * Example:
- *
- * ObjectExtensionManager.Instance
- * .AddOrUpdateProperty("Title");
- *
- * See the documentation for more:
- * https://docs.abp.io/en/abp/latest/Object-Extensions
- */
+ /* You can add extension properties to DTOs
+ * defined in the depended modules.
+ *
+ * Example:
+ *
+ * ObjectExtensionManager.Instance
+ * .AddOrUpdateProperty("Title");
+ *
+ * See the documentation for more:
+ * https://docs.abp.io/en/abp/latest/Object-Extensions
+ */
});
}
}
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/Public/BlogPostDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/Public/BlogPostDto.cs
index 1775421c..856c599f 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/Public/BlogPostDto.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/Public/BlogPostDto.cs
@@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
-using Sozsoft.Platform.Identity.Dto;
using Volo.Abp.Application.Dtos;
namespace Sozsoft.Platform.Public;
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/Public/BlogPostListDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/Public/BlogPostListDto.cs
index 32ce5808..79a2aa0d 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/Public/BlogPostListDto.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/Public/BlogPostListDto.cs
@@ -17,7 +17,7 @@ public class BlogPostListDto : EntityDto
public Guid CategoryId { get; set; }
public BlogCategoryDto Category { get; set; }
-
+
public string Author { get; set; }
public int ViewCount { get; set; }
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/Public/ContactTagDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/Public/ContactTagDto.cs
deleted file mode 100644
index 0eb6fe88..00000000
--- a/api/src/Sozsoft.Platform.Application.Contracts/Public/ContactTagDto.cs
+++ /dev/null
@@ -1,10 +0,0 @@
-using System;
-using Volo.Abp.Application.Dtos;
-
-namespace Sozsoft.Platform.Public;
-
-public class ContactTagDto : AuditedEntityDto
-{
- public string Name { get; set; }
- public string Category { get; set; }
-}
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/Public/ContactTitleDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/Public/ContactTitleDto.cs
deleted file mode 100644
index 16effdc1..00000000
--- a/api/src/Sozsoft.Platform.Application.Contracts/Public/ContactTitleDto.cs
+++ /dev/null
@@ -1,10 +0,0 @@
-using System;
-using Volo.Abp.Application.Dtos;
-
-namespace Sozsoft.Platform.Public;
-
-public class ContactTitleDto : AuditedEntityDto
-{
- public string Title { get; set; }
- public string Abbreviation { get; set; }
-}
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/Public/HomeDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/Public/HomeDto.cs
index 863c3134..a2e23cd5 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/Public/HomeDto.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/Public/HomeDto.cs
@@ -1,4 +1,4 @@
-using System;
+using System;
using System.Collections.Generic;
using System.Text.Json;
using System.Text.Json.Serialization;
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/Public/IBlogAppService.cs b/api/src/Sozsoft.Platform.Application.Contracts/Public/IBlogAppService.cs
index 4209a66c..ef92074b 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/Public/IBlogAppService.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/Public/IBlogAppService.cs
@@ -1,5 +1,4 @@
using System;
-using System.Collections.Generic;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;
@@ -27,32 +26,3 @@ public class GetBlogPostsInput : PagedAndSortedResultRequestDto
public string Search { get; set; }
public Guid? CategoryId { get; set; }
}
-
-public class SearchBlogPostsInput : PagedAndSortedResultRequestDto
-{
- public string Query { get; set; }
- public Guid? CategoryId { get; set; }
- public string Tag { get; set; }
- public Guid? UserId { get; set; }
- public bool? IsPublished { get; set; }
-}
-
-public class BlogStatsDto
-{
- public int TotalPosts { get; set; }
- public int PublishedPosts { get; set; }
- public int DraftPosts { get; set; }
- public int TotalCategories { get; set; }
- public int TotalViews { get; set; }
- public int TotalLikes { get; set; }
- public int TotalComments { get; set; }
- public List PopularTags { get; set; }
- public BlogPostListDto LatestPost { get; set; }
- public BlogPostListDto MostViewedPost { get; set; }
-
- public BlogStatsDto()
- {
- PopularTags = new List();
- }
-}
-
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/Public/SavePublicPageContentInput.cs b/api/src/Sozsoft.Platform.Application.Contracts/Public/SavePublicPageContentInput.cs
index 30ee4753..c45d19a2 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/Public/SavePublicPageContentInput.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/Public/SavePublicPageContentInput.cs
@@ -1,5 +1,4 @@
-using System;
-using System.Collections.Generic;
+using System.Collections.Generic;
namespace Sozsoft.Platform.Public;
@@ -215,4 +214,4 @@ public class SaveContactPageInput
public string MapContainerStyleClass { get; set; }
public string MapFrameStyleClass { get; set; }
public List StyleTexts { get; set; } = [];
-}
\ No newline at end of file
+}
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/Sector/SectorDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/Sector/SectorDto.cs
deleted file mode 100644
index 6d5556b5..00000000
--- a/api/src/Sozsoft.Platform.Application.Contracts/Sector/SectorDto.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-using System;
-using Volo.Abp.Application.Dtos;
-
-namespace Sozsoft.Platform.Sectors;
-
-public class SectorDto : AuditedEntityDto
-{
- public string Name { get; set; }
-}
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/Skill/SkillTypeDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/Skill/SkillTypeDto.cs
deleted file mode 100644
index c8cb2305..00000000
--- a/api/src/Sozsoft.Platform.Application.Contracts/Skill/SkillTypeDto.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-using System;
-using System.Collections.Generic;
-using Volo.Abp.Application.Dtos;
-
-namespace Sozsoft.Platform.Skills;
-
-public class SkillTypeDto : AuditedEntityDto
-{
- public string Name { get; set; }
-
- public List Skills { get; set; }
- public List Levels { get; set; }
-}
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/Uom/UomCategoryDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/Uom/UomCategoryDto.cs
deleted file mode 100644
index 89ab5cab..00000000
--- a/api/src/Sozsoft.Platform.Application.Contracts/Uom/UomCategoryDto.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-using System;
-using Volo.Abp.Application.Dtos;
-
-namespace Sozsoft.Platform.Uoms;
-
-public class UomCategoryDto : AuditedEntityDto
-{
- public string Name { get; set; }
-}
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/Uom/UomDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/Uom/UomDto.cs
deleted file mode 100644
index 1904e9de..00000000
--- a/api/src/Sozsoft.Platform.Application.Contracts/Uom/UomDto.cs
+++ /dev/null
@@ -1,16 +0,0 @@
-using System;
-using Sozsoft.Platform.Enums;
-using Volo.Abp.Application.Dtos;
-
-namespace Sozsoft.Platform.Uoms;
-
-public class UomDto : AuditedEntityDto
-{
- public string Name { get; set; }
- public UomType Type { get; set; }
- public decimal Ratio { get; set; }
- public bool IsActive { get; set; }
- public decimal Rounding { get; set; }
- public string UomCategoryId { get; set; }
- public string UomCategoryName { get; set; } // Listelemede gösterim için opsiyonel
-}
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/Videoroom/VideoroomDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/Videoroom/VideoroomDto.cs
index 6f290310..30792397 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/Videoroom/VideoroomDto.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/Videoroom/VideoroomDto.cs
@@ -47,12 +47,6 @@ public class VideoroomSettingsDto
public bool AutoMuteNewParticipants { get; set; }
}
-public class VideoroomListDto : PagedAndSortedResultRequestDto
-{
- public bool? IsActive { get; set; }
- public Guid? TeacherId { get; set; }
-}
-
public class VideoroomAttendanceDto : EntityDto
{
public Guid SessionId { get; set; }
diff --git a/api/src/Sozsoft.Platform.Application.Contracts/Videoroom/VideoroomFilterInputDto.cs b/api/src/Sozsoft.Platform.Application.Contracts/Videoroom/VideoroomFilterInputDto.cs
index de96191b..9cab5bc6 100644
--- a/api/src/Sozsoft.Platform.Application.Contracts/Videoroom/VideoroomFilterInputDto.cs
+++ b/api/src/Sozsoft.Platform.Application.Contracts/Videoroom/VideoroomFilterInputDto.cs
@@ -1,4 +1,4 @@
-using Volo.Abp.Application.Dtos;
+using Volo.Abp.Application.Dtos;
namespace Sozsoft.Platform.VideoRooms;
@@ -6,4 +6,4 @@ public class VideoroomFilterInputDto : PagedAndSortedResultRequestDto
{
public string Search { get; set; }
public string Status { get; set; }
-}
\ No newline at end of file
+}
diff --git a/api/src/Sozsoft.Platform.Application/AiBots/AiBotAppService.cs b/api/src/Sozsoft.Platform.Application/AiBots/AiBotAppService.cs
index 9b2b92e9..b781cf2a 100644
--- a/api/src/Sozsoft.Platform.Application/AiBots/AiBotAppService.cs
+++ b/api/src/Sozsoft.Platform.Application/AiBots/AiBotAppService.cs
@@ -1,12 +1,12 @@
using System;
-using Sozsoft.Platform.Entities;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
+using Sozsoft.Platform.Entities;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;
using Volo.Abp.Domain.Repositories;
-using System.Threading.Tasks;
-using System.Linq;
-using System.Collections.Generic;
namespace Sozsoft.Platform.AiBots;
diff --git a/api/src/Sozsoft.Platform.Application/AiBots/AiBotMappers.cs b/api/src/Sozsoft.Platform.Application/AiBots/AiBotMappers.cs
index b6ba5843..419b8ae0 100644
--- a/api/src/Sozsoft.Platform.Application/AiBots/AiBotMappers.cs
+++ b/api/src/Sozsoft.Platform.Application/AiBots/AiBotMappers.cs
@@ -1,5 +1,5 @@
+using Riok.Mapperly.Abstractions;
using Sozsoft.Platform.Entities;
-using Riok.Mapperly.Abstractions;
using Volo.Abp.Mapperly;
namespace Sozsoft.Platform.AiBots;
diff --git a/api/src/Sozsoft.Platform.Application/AuditLogs/AuditLogMappers.cs b/api/src/Sozsoft.Platform.Application/AuditLogs/AuditLogMappers.cs
index 1214ad3a..00aaf7c4 100644
--- a/api/src/Sozsoft.Platform.Application/AuditLogs/AuditLogMappers.cs
+++ b/api/src/Sozsoft.Platform.Application/AuditLogs/AuditLogMappers.cs
@@ -1,5 +1,5 @@
+using Riok.Mapperly.Abstractions;
using Volo.Abp.AuditLogging;
-using Riok.Mapperly.Abstractions;
using Volo.Abp.Mapperly;
namespace Sozsoft.Platform.AuditLogs;
@@ -7,7 +7,7 @@ namespace Sozsoft.Platform.AuditLogs;
[Mapper(RequiredMappingStrategy = RequiredMappingStrategy.Target)]
public partial class AuditLogToAuditLogDtoMapper : MapperBase
{
-public override partial AuditLogDto Map(AuditLog source);
+ public override partial AuditLogDto Map(AuditLog source);
public override partial void Map(AuditLog source, AuditLogDto destination);
@@ -23,7 +23,7 @@ public override partial AuditLogDto Map(AuditLog source);
[Mapper(RequiredMappingStrategy = RequiredMappingStrategy.Target)]
public partial class AuditLogActionToAuditLogActionDtoMapper : MapperBase
{
-public override partial AuditLogActionDto Map(AuditLogAction source);
+ public override partial AuditLogActionDto Map(AuditLogAction source);
public override partial void Map(AuditLogAction source, AuditLogActionDto destination);
@@ -39,7 +39,7 @@ public override partial AuditLogActionDto Map(AuditLogAction source);
[Mapper(RequiredMappingStrategy = RequiredMappingStrategy.Target)]
public partial class EntityChangeToEntityChangeDtoMapper : MapperBase
{
-public override partial EntityChangeDto Map(EntityChange source);
+ public override partial EntityChangeDto Map(EntityChange source);
public override partial void Map(EntityChange source, EntityChangeDto destination);
@@ -55,7 +55,7 @@ public override partial EntityChangeDto Map(EntityChange source);
[Mapper(RequiredMappingStrategy = RequiredMappingStrategy.Target)]
public partial class EntityPropertyChangeToEntityPropertyChangeDtoMapper : MapperBase
{
-public override partial EntityPropertyChangeDto Map(EntityPropertyChange source);
+ public override partial EntityPropertyChangeDto Map(EntityPropertyChange source);
public override partial void Map(EntityPropertyChange source, EntityPropertyChangeDto destination);
diff --git a/api/src/Sozsoft.Platform.Application/BackgroundWorker/BackgroundWorkerAppService.cs b/api/src/Sozsoft.Platform.Application/BackgroundWorker/BackgroundWorkerAppService.cs
index 14f290ba..cd5d1576 100644
--- a/api/src/Sozsoft.Platform.Application/BackgroundWorker/BackgroundWorkerAppService.cs
+++ b/api/src/Sozsoft.Platform.Application/BackgroundWorker/BackgroundWorkerAppService.cs
@@ -26,7 +26,7 @@ public class BackgroundWorkerAppService : PlatformAppService
public async Task GetAllBackgroundWorkers()
{
var defs = await platformTemplateDefinitionManager.GetAllAsync();
- return defs.Select(a=>new { a.Name, a.Properties }).ToList();
+ return defs.Select(a => new { a.Name, a.Properties }).ToList();
}
public async Task GenerateBackgroundWorkers()
diff --git a/api/src/Sozsoft.Platform.Application/BackgroundWorker/BackgroundWorkerInitializer.cs b/api/src/Sozsoft.Platform.Application/BackgroundWorker/BackgroundWorkerInitializer.cs
index fdd092e3..d4dbad68 100644
--- a/api/src/Sozsoft.Platform.Application/BackgroundWorker/BackgroundWorkerInitializer.cs
+++ b/api/src/Sozsoft.Platform.Application/BackgroundWorker/BackgroundWorkerInitializer.cs
@@ -1,14 +1,14 @@
-using System;
+using System;
using System.Runtime.InteropServices;
using System.Text.Json;
using System.Threading.Tasks;
using Hangfire;
using Hangfire.Storage;
+using Microsoft.Extensions.Logging;
using Sozsoft.MailQueue.Domain.Shared;
using Sozsoft.Platform.BackgroundWorkers;
using Sozsoft.Platform.Entities;
using Sozsoft.Platform.Enums;
-using Microsoft.Extensions.Logging;
using Volo.Abp.DependencyInjection;
using Volo.Abp.Domain.Repositories;
using Volo.Abp.Uow;
diff --git a/api/src/Sozsoft.Platform.Application/Blog/BlogAppService.cs b/api/src/Sozsoft.Platform.Application/Blog/BlogAppService.cs
index 1d955b5d..e233c645 100644
--- a/api/src/Sozsoft.Platform.Application/Blog/BlogAppService.cs
+++ b/api/src/Sozsoft.Platform.Application/Blog/BlogAppService.cs
@@ -1,13 +1,11 @@
using System;
using System.Linq;
using System.Threading.Tasks;
-using Sozsoft.Platform.Entities;
-using Sozsoft.Platform.Localization;
using Microsoft.AspNetCore.Authorization;
-using Microsoft.Extensions.Localization;
+using Sozsoft.Platform.Entities;
using Volo.Abp.Domain.Repositories;
-using Volo.Abp.Users;
using Volo.Abp.Uow;
+using Volo.Abp.Users;
using static Sozsoft.Platform.Data.Seeds.SeedConsts;
namespace Sozsoft.Platform.Public;
@@ -18,18 +16,15 @@ public class BlogAppService : PlatformAppService, IBlogAppService
private readonly IRepository _postRepository;
private readonly IRepository _categoryRepository;
private readonly ICurrentUser _currentUser;
- private readonly IStringLocalizer _localizer;
public BlogAppService(
IRepository postRepository,
IRepository categoryRepository,
- ICurrentUser currentUser,
- IStringLocalizer localizer)
+ ICurrentUser currentUser)
{
_postRepository = postRepository;
_categoryRepository = categoryRepository;
_currentUser = currentUser;
- _localizer = localizer;
}
public async Task CreatePostAsync(CreateUpdateBlogPostDto input)
diff --git a/api/src/Sozsoft.Platform.Application/Branch/BranchMappers.cs b/api/src/Sozsoft.Platform.Application/Branch/BranchMappers.cs
index 521ac117..e52ed232 100644
--- a/api/src/Sozsoft.Platform.Application/Branch/BranchMappers.cs
+++ b/api/src/Sozsoft.Platform.Application/Branch/BranchMappers.cs
@@ -1,5 +1,4 @@
-using Sozsoft.Platform.Branchs;
-using Riok.Mapperly.Abstractions;
+using Riok.Mapperly.Abstractions;
using Volo.Abp.Mapperly;
namespace Sozsoft.Platform.Branchs;
@@ -7,7 +6,7 @@ namespace Sozsoft.Platform.Branchs;
[Mapper(RequiredMappingStrategy = RequiredMappingStrategy.Target)]
public partial class BranchSeedResultToBranchSeedResultDtoMapper : MapperBase
{
-public override partial BranchSeedResultDto Map(BranchSeedResult source);
+ public override partial BranchSeedResultDto Map(BranchSeedResult source);
public override partial void Map(BranchSeedResult source, BranchSeedResultDto destination);
@@ -23,7 +22,7 @@ public override partial BranchSeedResultDto Map(BranchSeedResult source);
[Mapper(RequiredMappingStrategy = RequiredMappingStrategy.Target)]
public partial class BranchSeedDetailToSeedDetailDtoMapper : MapperBase
{
-public override partial SeedDetailDto Map(BranchSeedDetail source);
+ public override partial SeedDetailDto Map(BranchSeedDetail source);
public override partial void Map(BranchSeedDetail source, SeedDetailDto destination);
diff --git a/api/src/Sozsoft.Platform.Application/ChangeLog/ChangeLogAppService.cs b/api/src/Sozsoft.Platform.Application/ChangeLog/ChangeLogAppService.cs
index f573d9ce..bfb6b59a 100644
--- a/api/src/Sozsoft.Platform.Application/ChangeLog/ChangeLogAppService.cs
+++ b/api/src/Sozsoft.Platform.Application/ChangeLog/ChangeLogAppService.cs
@@ -1,4 +1,4 @@
-using System;
+using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
diff --git a/api/src/Sozsoft.Platform.Application/Dashboard/DashboardAppService.cs b/api/src/Sozsoft.Platform.Application/Dashboard/DashboardAppService.cs
index dc80050a..a4fa93c3 100644
--- a/api/src/Sozsoft.Platform.Application/Dashboard/DashboardAppService.cs
+++ b/api/src/Sozsoft.Platform.Application/Dashboard/DashboardAppService.cs
@@ -1,9 +1,9 @@
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
+using Microsoft.AspNetCore.Authorization;
using Sozsoft.Platform.DynamicData;
using Sozsoft.Platform.OrganizationUnits;
-using Microsoft.AspNetCore.Authorization;
namespace Sozsoft.Platform.Dashboard;
diff --git a/api/src/Sozsoft.Platform.Application/DataSource/DataSourceAppService.cs b/api/src/Sozsoft.Platform.Application/DataSource/DataSourceAppService.cs
index 4af10cd1..e9fd3295 100644
--- a/api/src/Sozsoft.Platform.Application/DataSource/DataSourceAppService.cs
+++ b/api/src/Sozsoft.Platform.Application/DataSource/DataSourceAppService.cs
@@ -1,6 +1,6 @@
using System;
-using Sozsoft.Platform.Entities;
using Microsoft.AspNetCore.Authorization;
+using Sozsoft.Platform.Entities;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;
using Volo.Abp.Domain.Repositories;
diff --git a/api/src/Sozsoft.Platform.Application/DataSource/DataSourceMappers.cs b/api/src/Sozsoft.Platform.Application/DataSource/DataSourceMappers.cs
index 835915ac..c209b531 100644
--- a/api/src/Sozsoft.Platform.Application/DataSource/DataSourceMappers.cs
+++ b/api/src/Sozsoft.Platform.Application/DataSource/DataSourceMappers.cs
@@ -1,5 +1,5 @@
+using Riok.Mapperly.Abstractions;
using Sozsoft.Platform.Entities;
-using Riok.Mapperly.Abstractions;
using Volo.Abp.Mapperly;
namespace Sozsoft.Platform.DataSources;
@@ -7,7 +7,7 @@ namespace Sozsoft.Platform.DataSources;
[Mapper(RequiredMappingStrategy = RequiredMappingStrategy.Target)]
public partial class DataSourceToDataSourceDtoMapper : TwoWayMapperBase
{
-public override partial DataSourceDto Map(DataSource source);
+ public override partial DataSourceDto Map(DataSource source);
public override partial void Map(DataSource source, DataSourceDto destination);
diff --git a/api/src/Sozsoft.Platform.Application/DeveloperKit/CrudEndpointAppService.cs b/api/src/Sozsoft.Platform.Application/DeveloperKit/CrudEndpointAppService.cs
index f405b114..1c83d58b 100644
--- a/api/src/Sozsoft.Platform.Application/DeveloperKit/CrudEndpointAppService.cs
+++ b/api/src/Sozsoft.Platform.Application/DeveloperKit/CrudEndpointAppService.cs
@@ -1,11 +1,11 @@
-using Sozsoft.Platform.Domain.DeveloperKit;
-using Sozsoft.Platform.Entities;
-using Microsoft.AspNetCore.Http;
-using Microsoft.AspNetCore.Mvc;
-using System;
+using System;
using System.Collections.Generic;
using System.Text.Json;
using System.Threading.Tasks;
+using Microsoft.AspNetCore.Http;
+using Microsoft.AspNetCore.Mvc;
+using Sozsoft.Platform.Domain.DeveloperKit;
+using Sozsoft.Platform.Entities;
using Volo.Abp;
using Volo.Abp.Application.Services;
using Volo.Abp.Domain.Repositories;
diff --git a/api/src/Sozsoft.Platform.Application/DeveloperKit/CrudEndpointGenerateAppService.cs b/api/src/Sozsoft.Platform.Application/DeveloperKit/CrudEndpointGenerateAppService.cs
index 1dc74886..a077f294 100644
--- a/api/src/Sozsoft.Platform.Application/DeveloperKit/CrudEndpointGenerateAppService.cs
+++ b/api/src/Sozsoft.Platform.Application/DeveloperKit/CrudEndpointGenerateAppService.cs
@@ -4,17 +4,17 @@ using System.IO;
using System.Linq;
using System.Text.Json;
using System.Threading.Tasks;
+using Microsoft.AspNetCore.Authorization;
+using Microsoft.AspNetCore.Mvc;
+using Microsoft.Extensions.Configuration;
+using Microsoft.Extensions.Logging;
+using Sozsoft.Platform;
using Sozsoft.Platform.Data.Seeds;
using Sozsoft.Platform.DeveloperKit;
using Sozsoft.Platform.Entities;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;
using Volo.Abp.Domain.Repositories;
-using Microsoft.AspNetCore.Authorization;
-using Microsoft.AspNetCore.Mvc;
-using Microsoft.Extensions.Configuration;
-using Microsoft.Extensions.Logging;
-using Sozsoft.Platform;
namespace Platform.Api.Application;
diff --git a/api/src/Sozsoft.Platform.Application/DeveloperKit/CustomComponentAppService.cs b/api/src/Sozsoft.Platform.Application/DeveloperKit/CustomComponentAppService.cs
index 865f7fe1..d8d28949 100644
--- a/api/src/Sozsoft.Platform.Application/DeveloperKit/CustomComponentAppService.cs
+++ b/api/src/Sozsoft.Platform.Application/DeveloperKit/CustomComponentAppService.cs
@@ -1,7 +1,7 @@
using System;
using System.Collections.Generic;
-using System.Linq;
using System.IO;
+using System.Linq;
using System.Text.Encodings.Web;
using System.Text.Json;
using System.Threading.Tasks;
@@ -11,10 +11,10 @@ using Microsoft.Extensions.Logging;
using Sozsoft.Platform.Data.Seeds;
using Sozsoft.Platform.DeveloperKit;
using Sozsoft.Platform.Entities;
-using static Sozsoft.Platform.PlatformConsts;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;
using Volo.Abp.Domain.Repositories;
+using static Sozsoft.Platform.PlatformConsts;
namespace Platform.Api.Application;
diff --git a/api/src/Sozsoft.Platform.Application/DeveloperKit/CustomEndpointAppService.cs b/api/src/Sozsoft.Platform.Application/DeveloperKit/CustomEndpointAppService.cs
index d6fb262e..dcf441e1 100644
--- a/api/src/Sozsoft.Platform.Application/DeveloperKit/CustomEndpointAppService.cs
+++ b/api/src/Sozsoft.Platform.Application/DeveloperKit/CustomEndpointAppService.cs
@@ -4,15 +4,14 @@ using System.IO;
using System.Linq;
using System.Text.Json;
using System.Threading.Tasks;
-using Sozsoft.Platform.DynamicData;
-using Sozsoft.Platform.Entities;
-using Sozsoft.Platform.Extensions;
-using Sozsoft.Platform.Queries;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
+using Sozsoft.Platform.DynamicData;
+using Sozsoft.Platform.Entities;
+using Sozsoft.Platform.Extensions;
using Volo.Abp.Domain.Repositories;
using Volo.Abp.Tracing;
using Volo.Abp.Uow;
@@ -25,20 +24,17 @@ public class CustomEndpointAppService : PlatformAppService
{
private readonly IRepository repo;
private readonly IHttpContextAccessor httpContextAccessor;
- private readonly IDataSourceManager dataSourceManager;
private readonly IDynamicDataManager dynamicDataManager;
private readonly DefaultValueHelper defaultValueHelper;
public CustomEndpointAppService(
IRepository repo,
IHttpContextAccessor httpContextAccessor,
- IDataSourceManager dataSourceManager,
IDynamicDataManager dynamicDataManager,
DefaultValueHelper defaultValueHelper)
{
this.repo = repo;
this.httpContextAccessor = httpContextAccessor;
- this.dataSourceManager = dataSourceManager;
this.dynamicDataManager = dynamicDataManager;
this.defaultValueHelper = defaultValueHelper;
}
diff --git a/api/src/Sozsoft.Platform.Application/DeveloperKit/DeveloperKitMappers.cs b/api/src/Sozsoft.Platform.Application/DeveloperKit/DeveloperKitMappers.cs
index f2d4fc49..46e6115d 100644
--- a/api/src/Sozsoft.Platform.Application/DeveloperKit/DeveloperKitMappers.cs
+++ b/api/src/Sozsoft.Platform.Application/DeveloperKit/DeveloperKitMappers.cs
@@ -1,5 +1,5 @@
+using Riok.Mapperly.Abstractions;
using Sozsoft.Platform.Entities;
-using Riok.Mapperly.Abstractions;
using Volo.Abp.Mapperly;
namespace Sozsoft.Platform.DeveloperKit;
@@ -7,7 +7,7 @@ namespace Sozsoft.Platform.DeveloperKit;
[Mapper(RequiredMappingStrategy = RequiredMappingStrategy.Target)]
public partial class CustomComponentToCustomComponentDtoMapper : MapperBase
{
-public override partial CustomComponentDto Map(CustomComponent source);
+ public override partial CustomComponentDto Map(CustomComponent source);
public override partial void Map(CustomComponent source, CustomComponentDto destination);
@@ -23,7 +23,7 @@ public override partial CustomComponentDto Map(CustomComponent source);
[Mapper(RequiredMappingStrategy = RequiredMappingStrategy.Target)]
public partial class CreateUpdateCustomComponentDtoToCustomComponentMapper : MapperBase
{
-public override partial CustomComponent Map(CreateUpdateCustomComponentDto source);
+ public override partial CustomComponent Map(CreateUpdateCustomComponentDto source);
public override partial void Map(CreateUpdateCustomComponentDto source, CustomComponent destination);
@@ -39,7 +39,7 @@ public override partial CustomComponent Map(CreateUpdateCustomComponentDto sourc
[Mapper(RequiredMappingStrategy = RequiredMappingStrategy.Target)]
public partial class CrudEndpointToCrudEndpointDtoMapper : MapperBase
{
-public override partial CrudEndpointDto Map(CrudEndpoint source);
+ public override partial CrudEndpointDto Map(CrudEndpoint source);
public override partial void Map(CrudEndpoint source, CrudEndpointDto destination);
@@ -55,7 +55,7 @@ public override partial CrudEndpointDto Map(CrudEndpoint source);
[Mapper(RequiredMappingStrategy = RequiredMappingStrategy.Target)]
public partial class CreateUpdateCrudEndpointDtoToCrudEndpointMapper : MapperBase
{
-public override partial CrudEndpoint Map(CreateUpdateCrudEndpointDto source);
+ public override partial CrudEndpoint Map(CreateUpdateCrudEndpointDto source);
public override partial void Map(CreateUpdateCrudEndpointDto source, CrudEndpoint destination);
@@ -71,7 +71,7 @@ public override partial CrudEndpoint Map(CreateUpdateCrudEndpointDto source);
[Mapper(RequiredMappingStrategy = RequiredMappingStrategy.Target)]
public partial class DynamicServiceToDynamicServiceDtoMapper : MapperBase
{
-public override partial DynamicServiceDto Map(DynamicService source);
+ public override partial DynamicServiceDto Map(DynamicService source);
public override partial void Map(DynamicService source, DynamicServiceDto destination);
diff --git a/api/src/Sozsoft.Platform.Application/DeveloperKit/DynamicServiceAppService.cs b/api/src/Sozsoft.Platform.Application/DeveloperKit/DynamicServiceAppService.cs
index 3c8a42f4..11c66cf2 100644
--- a/api/src/Sozsoft.Platform.Application/DeveloperKit/DynamicServiceAppService.cs
+++ b/api/src/Sozsoft.Platform.Application/DeveloperKit/DynamicServiceAppService.cs
@@ -2,10 +2,10 @@
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
-using Sozsoft.Platform.DynamicServices;
-using Sozsoft.Platform.Entities;
using Microsoft.AspNetCore.Authorization;
using Microsoft.Extensions.Logging;
+using Sozsoft.Platform.DynamicServices;
+using Sozsoft.Platform.Entities;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Domain.Repositories;
using static Sozsoft.Platform.PlatformConsts;
diff --git a/api/src/Sozsoft.Platform.Application/DeveloperKit/DynamicServiceCompiler.cs b/api/src/Sozsoft.Platform.Application/DeveloperKit/DynamicServiceCompiler.cs
index a224b0ff..a01cf277 100644
--- a/api/src/Sozsoft.Platform.Application/DeveloperKit/DynamicServiceCompiler.cs
+++ b/api/src/Sozsoft.Platform.Application/DeveloperKit/DynamicServiceCompiler.cs
@@ -1,5 +1,7 @@
using System;
+using System.Collections.Concurrent;
using System.Collections.Generic;
+using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
@@ -8,10 +10,8 @@ using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.Extensions.Logging;
-using Volo.Abp.DependencyInjection;
-using System.Diagnostics;
-using System.Collections.Concurrent;
using Sozsoft.Platform.DeveloperKit;
+using Volo.Abp.DependencyInjection;
namespace Sozsoft.Platform.DynamicServices;
diff --git a/api/src/Sozsoft.Platform.Application/FileManagement/FileManagementAppService.cs b/api/src/Sozsoft.Platform.Application/FileManagement/FileManagementAppService.cs
index 97d347ed..31771fc1 100644
--- a/api/src/Sozsoft.Platform.Application/FileManagement/FileManagementAppService.cs
+++ b/api/src/Sozsoft.Platform.Application/FileManagement/FileManagementAppService.cs
@@ -7,17 +7,16 @@ using System.Linq;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
+using Microsoft.AspNetCore.Authorization;
+using Microsoft.AspNetCore.Mvc;
+using Microsoft.Extensions.Configuration;
+using Microsoft.Extensions.Logging;
using Sozsoft.Platform.BlobStoring;
using Sozsoft.Platform.Data.Seeds;
using Sozsoft.Platform.Permissions;
-using Microsoft.AspNetCore.Mvc;
-using Microsoft.Extensions.Configuration;
-using Microsoft.Extensions.Hosting;
-using Microsoft.Extensions.Logging;
using Volo.Abp;
using Volo.Abp.Application.Services;
using Volo.Abp.MultiTenancy;
-using Microsoft.AspNetCore.Authorization;
namespace Sozsoft.Platform.FileManagement;
@@ -27,7 +26,6 @@ public class FileManagementAppService : ApplicationService, IFileManagementAppSe
private readonly ICurrentTenant _currentTenant;
private readonly BlobManager _blobContainer;
private readonly IConfiguration _configuration;
- private readonly IHostEnvironment _hostEnvironment;
private const string FolderMarkerSuffix = ".folder";
private const string IndexFileName = "index.json";
@@ -53,14 +51,12 @@ public class FileManagementAppService : ApplicationService, IFileManagementAppSe
public FileManagementAppService(
ICurrentTenant currentTenant,
BlobManager blobContainer,
- IConfiguration configuration,
- IHostEnvironment hostEnvironment
+ IConfiguration configuration
)
{
_currentTenant = currentTenant;
_blobContainer = blobContainer;
_configuration = configuration;
- _hostEnvironment = hostEnvironment;
}
private const string HostFolderName = "host";
@@ -1078,12 +1074,6 @@ public class FileManagementAppService : ApplicationService, IFileManagementAppSe
return allItems.FirstOrDefault(x => x.Id == id);
}
- private async Task FindItemByPathAsync(string path, string tenantId)
- {
- var allItems = await GetAllItemsRecursivelyAsync(tenantId);
- return allItems.FirstOrDefault(x => x.Path.Equals(path, StringComparison.OrdinalIgnoreCase));
- }
-
private async Task> GetAllItemsRecursivelyAsync(string tenantId, string? parentId = null, List? result = null)
{
result ??= [];
@@ -1185,13 +1175,12 @@ public class FileManagementAppService : ApplicationService, IFileManagementAppSe
// Split path into parts and build breadcrumb
var pathParts = decodedPath.Split('/', StringSplitOptions.RemoveEmptyEntries);
- var currentEncodedPath = "";
for (int i = 0; i < pathParts.Length; i++)
{
// Build the path up to current level
var pathUpToCurrent = string.Join("/", pathParts.Take(i + 1));
- currentEncodedPath = EncodePathAsId(pathUpToCurrent);
+ var currentEncodedPath = EncodePathAsId(pathUpToCurrent);
pathItems.Add(new PathItemDto
{
diff --git a/api/src/Sozsoft.Platform.Application/Forum/ForumAppService.cs b/api/src/Sozsoft.Platform.Application/Forum/ForumAppService.cs
index c897e75f..c1ca5a0c 100644
--- a/api/src/Sozsoft.Platform.Application/Forum/ForumAppService.cs
+++ b/api/src/Sozsoft.Platform.Application/Forum/ForumAppService.cs
@@ -590,7 +590,7 @@ public class ForumAppService : PlatformAppService, IForumAppService
await _postRepository.UpdateAsync(post, autoSave: false);
var topic = await _topicRepository.GetAsync(post.TopicId);
-
+
// Topic'teki tüm postların toplam like'larını hesapla (optimizasyon)
var queryable = await _postRepository.GetQueryableAsync();
var totalLikes = await AsyncExecuter.SumAsync(
diff --git a/api/src/Sozsoft.Platform.Application/Forum/ForumMappers.cs b/api/src/Sozsoft.Platform.Application/Forum/ForumMappers.cs
index 56b205ad..4f2ecc98 100644
--- a/api/src/Sozsoft.Platform.Application/Forum/ForumMappers.cs
+++ b/api/src/Sozsoft.Platform.Application/Forum/ForumMappers.cs
@@ -1,5 +1,5 @@
+using Riok.Mapperly.Abstractions;
using Sozsoft.Platform.Forum;
-using Riok.Mapperly.Abstractions;
using Volo.Abp.Mapperly;
namespace Sozsoft.Platform;
@@ -7,7 +7,7 @@ namespace Sozsoft.Platform;
[Mapper(RequiredMappingStrategy = RequiredMappingStrategy.Target)]
public partial class ForumCategoryToForumCategoryDtoMapper : TwoWayMapperBase
{
-public override partial ForumCategoryDto Map(ForumCategory source);
+ public override partial ForumCategoryDto Map(ForumCategory source);
public override partial void Map(ForumCategory source, ForumCategoryDto destination);
@@ -35,7 +35,7 @@ public override partial ForumCategoryDto Map(ForumCategory source);
[Mapper(RequiredMappingStrategy = RequiredMappingStrategy.Target)]
public partial class ForumPostToForumPostDtoMapper : TwoWayMapperBase
{
-public override partial ForumPostDto Map(ForumPost source);
+ public override partial ForumPostDto Map(ForumPost source);
public override partial void Map(ForumPost source, ForumPostDto destination);
@@ -63,7 +63,7 @@ public override partial ForumPostDto Map(ForumPost source);
[Mapper(RequiredMappingStrategy = RequiredMappingStrategy.Target)]
public partial class ForumTopicToForumTopicDtoMapper : TwoWayMapperBase
{
-public override partial ForumTopicDto Map(ForumTopic source);
+ public override partial ForumTopicDto Map(ForumTopic source);
public override partial void Map(ForumTopic source, ForumTopicDto destination);
diff --git a/api/src/Sozsoft.Platform.Application/GlobalSearch/GlobalSearchAppService.cs b/api/src/Sozsoft.Platform.Application/GlobalSearch/GlobalSearchAppService.cs
index ab8eae5c..378eb1a6 100644
--- a/api/src/Sozsoft.Platform.Application/GlobalSearch/GlobalSearchAppService.cs
+++ b/api/src/Sozsoft.Platform.Application/GlobalSearch/GlobalSearchAppService.cs
@@ -2,9 +2,9 @@
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
-using Sozsoft.Platform.Entities;
using Microsoft.AspNetCore.Authorization;
using Microsoft.EntityFrameworkCore;
+using Sozsoft.Platform.Entities;
using Volo.Abp;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Domain.Repositories;
diff --git a/api/src/Sozsoft.Platform.Application/GlobalSearch/GlobalSearchMappers.cs b/api/src/Sozsoft.Platform.Application/GlobalSearch/GlobalSearchMappers.cs
index 49ed5aca..ab046c9d 100644
--- a/api/src/Sozsoft.Platform.Application/GlobalSearch/GlobalSearchMappers.cs
+++ b/api/src/Sozsoft.Platform.Application/GlobalSearch/GlobalSearchMappers.cs
@@ -1,4 +1,4 @@
-using Riok.Mapperly.Abstractions;
+using Riok.Mapperly.Abstractions;
using Sozsoft.Platform.Entities;
using Volo.Abp.Mapperly;
diff --git a/api/src/Sozsoft.Platform.Application/Hr/HrMappers.cs b/api/src/Sozsoft.Platform.Application/Hr/HrMappers.cs
index 892fc094..dc6deb8c 100644
--- a/api/src/Sozsoft.Platform.Application/Hr/HrMappers.cs
+++ b/api/src/Sozsoft.Platform.Application/Hr/HrMappers.cs
@@ -1,6 +1,6 @@
+using Riok.Mapperly.Abstractions;
using Sozsoft.Platform.Entities;
using Sozsoft.Platform.Hr;
-using Riok.Mapperly.Abstractions;
using Volo.Abp.Mapperly;
namespace Sozsoft.Platform.Intranet;
@@ -8,7 +8,7 @@ namespace Sozsoft.Platform.Intranet;
[Mapper(RequiredMappingStrategy = RequiredMappingStrategy.Target)]
public partial class DepartmentToDepartmentDtoMapper : MapperBase
{
-public override partial DepartmentDto Map(Department source);
+ public override partial DepartmentDto Map(Department source);
public override partial void Map(Department source, DepartmentDto destination);
@@ -24,7 +24,7 @@ public override partial DepartmentDto Map(Department source);
[Mapper(RequiredMappingStrategy = RequiredMappingStrategy.Target)]
public partial class JobPositionToJobPositionDtoMapper : MapperBase
{
-public override partial JobPositionDto Map(JobPosition source);
+ public override partial JobPositionDto Map(JobPosition source);
public override partial void Map(JobPosition source, JobPositionDto destination);
diff --git a/api/src/Sozsoft.Platform.Application/Identity/AvatarProvider.cs b/api/src/Sozsoft.Platform.Application/Identity/AvatarProvider.cs
index cb92f006..96b5e73b 100644
--- a/api/src/Sozsoft.Platform.Application/Identity/AvatarProvider.cs
+++ b/api/src/Sozsoft.Platform.Application/Identity/AvatarProvider.cs
@@ -1,4 +1,4 @@
-using Microsoft.Extensions.Configuration;
+using Microsoft.Extensions.Configuration;
namespace Sozsoft.Platform.Identity;
diff --git a/api/src/Sozsoft.Platform.Application/Identity/IdentityMappers.cs b/api/src/Sozsoft.Platform.Application/Identity/IdentityMappers.cs
index ba89a3e7..c195435f 100644
--- a/api/src/Sozsoft.Platform.Application/Identity/IdentityMappers.cs
+++ b/api/src/Sozsoft.Platform.Application/Identity/IdentityMappers.cs
@@ -1,11 +1,11 @@
-using Sozsoft.Platform.Identity.Dto;
+using Riok.Mapperly.Abstractions;
using Sozsoft.Platform.Extensions;
+using Sozsoft.Platform.Identity.Dto;
using Sozsoft.Platform.OrganizationUnits;
using Sozsoft.Platform.Tenants;
using Volo.Abp.Identity;
-using Volo.Abp.TenantManagement;
-using Riok.Mapperly.Abstractions;
using Volo.Abp.Mapperly;
+using Volo.Abp.TenantManagement;
namespace Sozsoft.Platform.Identity;
diff --git a/api/src/Sozsoft.Platform.Application/Identity/PlatformAccountAppService.cs b/api/src/Sozsoft.Platform.Application/Identity/PlatformAccountAppService.cs
index 122d5680..88183b7e 100644
--- a/api/src/Sozsoft.Platform.Application/Identity/PlatformAccountAppService.cs
+++ b/api/src/Sozsoft.Platform.Application/Identity/PlatformAccountAppService.cs
@@ -2,12 +2,12 @@
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
-using Sozsoft.Sender.Mail;
-using Sozsoft.Platform.Data.Seeds;
-using Sozsoft.Platform.Extensions;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Options;
using Microsoft.IdentityModel.Tokens;
+using Sozsoft.Platform.Data.Seeds;
+using Sozsoft.Platform.Extensions;
+using Sozsoft.Sender.Mail;
using Volo.Abp.Account;
using Volo.Abp.Account.Emailing;
using Volo.Abp.DependencyInjection;
diff --git a/api/src/Sozsoft.Platform.Application/Identity/PlatformIdentityAppService.cs b/api/src/Sozsoft.Platform.Application/Identity/PlatformIdentityAppService.cs
index c78c1cfe..b865ed15 100644
--- a/api/src/Sozsoft.Platform.Application/Identity/PlatformIdentityAppService.cs
+++ b/api/src/Sozsoft.Platform.Application/Identity/PlatformIdentityAppService.cs
@@ -3,15 +3,15 @@ using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
-using Sozsoft.Platform.BlobStoring;
-using Sozsoft.Platform.Entities;
-using Sozsoft.Platform.Extensions;
-using Sozsoft.Platform.Identity.Dto;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using OpenIddict.Abstractions;
+using Sozsoft.Platform.BlobStoring;
+using Sozsoft.Platform.Entities;
+using Sozsoft.Platform.Extensions;
+using Sozsoft.Platform.Identity.Dto;
using Volo.Abp.Application.Services;
using Volo.Abp.Domain.Repositories;
using Volo.Abp.Guids;
diff --git a/api/src/Sozsoft.Platform.Application/Identity/PlatformProfileAppService.cs b/api/src/Sozsoft.Platform.Application/Identity/PlatformProfileAppService.cs
index 4844c149..5d5ccda5 100644
--- a/api/src/Sozsoft.Platform.Application/Identity/PlatformProfileAppService.cs
+++ b/api/src/Sozsoft.Platform.Application/Identity/PlatformProfileAppService.cs
@@ -1,11 +1,11 @@
using System;
using System.Threading.Tasks;
-using Sozsoft.Platform.BlobStoring;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Options;
+using Sozsoft.Platform.BlobStoring;
using Sozsoft.Platform.Extensions;
using Volo.Abp;
using Volo.Abp.Account;
diff --git a/api/src/Sozsoft.Platform.Application/Identity/UserInfoViewModelMappingExtensions.cs b/api/src/Sozsoft.Platform.Application/Identity/UserInfoViewModelMappingExtensions.cs
index c71e8943..683e6421 100644
--- a/api/src/Sozsoft.Platform.Application/Identity/UserInfoViewModelMappingExtensions.cs
+++ b/api/src/Sozsoft.Platform.Application/Identity/UserInfoViewModelMappingExtensions.cs
@@ -1,4 +1,4 @@
-using System;
+using System;
using System.Collections.Generic;
using Sozsoft.Platform.Entities;
using Sozsoft.Platform.Extensions;
diff --git a/api/src/Sozsoft.Platform.Application/Intranet/IntranetAppService.cs b/api/src/Sozsoft.Platform.Application/Intranet/IntranetAppService.cs
index 1f699298..03322396 100644
--- a/api/src/Sozsoft.Platform.Application/Intranet/IntranetAppService.cs
+++ b/api/src/Sozsoft.Platform.Application/Intranet/IntranetAppService.cs
@@ -4,21 +4,21 @@ using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
+using Microsoft.AspNetCore.Identity;
+using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Sozsoft.Platform.BlobStoring;
using Sozsoft.Platform.Entities;
+using Sozsoft.Platform.Extensions;
using Sozsoft.Platform.FileManagement;
using Sozsoft.Platform.Identity;
using Sozsoft.Platform.Identity.Dto;
-using Sozsoft.Platform.Extensions;
using Volo.Abp.Domain.Repositories;
using Volo.Abp.Identity;
using Volo.Abp.MultiTenancy;
using Volo.Abp.Uow;
-using Microsoft.AspNetCore.Mvc;
-using Microsoft.AspNetCore.Identity;
namespace Sozsoft.Platform.Intranet;
@@ -28,11 +28,9 @@ public class IntranetAppService : PlatformAppService, IIntranetAppService
private const int DashboardItemLimit = 50;
private Task<(Dictionary DepartmentDict, Dictionary JobPositionDict)>? _userLookupDictionariesTask;
private readonly ICurrentTenant _currentTenant;
- private readonly BlobManager _blobContainer;
private readonly IConfiguration _configuration;
private readonly ILookupNormalizer _lookupNormalizer;
private readonly IRepository _eventRepository;
- private readonly IIdentityUserAppService _identityUserAppService;
private readonly IIdentityUserRepository _identityUserRepository;
private readonly IRepository _identityUserEntityRepository;
private readonly IRepository _departmentRepository;
@@ -53,12 +51,10 @@ public class IntranetAppService : PlatformAppService, IIntranetAppService
public IntranetAppService(
ICurrentTenant currentTenant,
- BlobManager blobContainer,
IConfiguration configuration,
ILookupNormalizer lookupNormalizer,
-
+
IRepository eventRepository,
- IIdentityUserAppService identityUserAppService,
IIdentityUserRepository identityUserRepository,
IRepository identityUserEntityRepository,
IRepository departmentRepository,
@@ -79,11 +75,9 @@ public class IntranetAppService : PlatformAppService, IIntranetAppService
)
{
_currentTenant = currentTenant;
- _blobContainer = blobContainer;
_configuration = configuration;
_lookupNormalizer = lookupNormalizer;
_eventRepository = eventRepository;
- _identityUserAppService = identityUserAppService;
_identityUserRepository = identityUserRepository;
_identityUserEntityRepository = identityUserEntityRepository;
_departmentRepository = departmentRepository;
@@ -172,7 +166,7 @@ public class IntranetAppService : PlatformAppService, IIntranetAppService
{
var queryable = await _eventRepository
.WithDetailsAsync(e => e.Category, e => e.Type);
-
+
var events = await AsyncExecuter.ToListAsync(
queryable
.Where(e => e.isPublished)
diff --git a/api/src/Sozsoft.Platform.Application/Intranet/IntranetMappers.cs b/api/src/Sozsoft.Platform.Application/Intranet/IntranetMappers.cs
index 45538aa3..a9aece09 100644
--- a/api/src/Sozsoft.Platform.Application/Intranet/IntranetMappers.cs
+++ b/api/src/Sozsoft.Platform.Application/Intranet/IntranetMappers.cs
@@ -1,5 +1,5 @@
+using Riok.Mapperly.Abstractions;
using Sozsoft.Platform.Entities;
-using Riok.Mapperly.Abstractions;
using Volo.Abp.Mapperly;
namespace Sozsoft.Platform.Intranet;
diff --git a/api/src/Sozsoft.Platform.Application/ListForms/Administration/ListFormCustomizationAppService.cs b/api/src/Sozsoft.Platform.Application/ListForms/Administration/ListFormCustomizationAppService.cs
index 19fb169a..f9506338 100644
--- a/api/src/Sozsoft.Platform.Application/ListForms/Administration/ListFormCustomizationAppService.cs
+++ b/api/src/Sozsoft.Platform.Application/ListForms/Administration/ListFormCustomizationAppService.cs
@@ -2,10 +2,10 @@
using System.Linq;
using System.Linq.Dynamic.Core;
using System.Threading.Tasks;
+using Microsoft.AspNetCore.Authorization;
using Sozsoft.Platform.Entities;
using Sozsoft.Platform.Enums;
using Sozsoft.Platform.ListForms.Customization;
-using Microsoft.AspNetCore.Authorization;
using Volo.Abp.Application.Services;
using Volo.Abp.Domain.Repositories;
using static Sozsoft.Platform.PlatformConsts;
diff --git a/api/src/Sozsoft.Platform.Application/ListForms/Administration/ListFormFieldsAppService.cs b/api/src/Sozsoft.Platform.Application/ListForms/Administration/ListFormFieldsAppService.cs
index 895cbcb7..b84c7767 100644
--- a/api/src/Sozsoft.Platform.Application/ListForms/Administration/ListFormFieldsAppService.cs
+++ b/api/src/Sozsoft.Platform.Application/ListForms/Administration/ListFormFieldsAppService.cs
@@ -3,9 +3,9 @@ using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using System.Threading.Tasks;
-using Sozsoft.Platform.Entities;
using Microsoft.AspNetCore.Authorization;
using Microsoft.EntityFrameworkCore;
+using Sozsoft.Platform.Entities;
using Volo.Abp.Application.Services;
using Volo.Abp.Domain.Repositories;
using static Sozsoft.Platform.PlatformConsts;
@@ -98,13 +98,13 @@ public class ListFormFieldsAppService : CrudAppService<
RoleId = input.RoleId,
SourceDbType = input.SourceDbType,
});
-
+
var listOrderNo = await query.MaxAsync(a => a.ListOrderNo) ?? 0;
input.IsActive = true;
input.Visible = true;
input.ListOrderNo = listOrderNo + 1;
- var listForm = await RepoListForm.FirstOrDefaultAsync(a=> a.ListFormCode == input.ListFormCode);
+ var listForm = await RepoListForm.FirstOrDefaultAsync(a => a.ListFormCode == input.ListFormCode);
if (listForm != null)
{
var listFormPermissions = JsonSerializer.Deserialize(listForm.PermissionJson);
diff --git a/api/src/Sozsoft.Platform.Application/ListForms/Administration/ListFormJsonRowAppService.cs b/api/src/Sozsoft.Platform.Application/ListForms/Administration/ListFormJsonRowAppService.cs
index 3cbf0f26..0d2e0313 100644
--- a/api/src/Sozsoft.Platform.Application/ListForms/Administration/ListFormJsonRowAppService.cs
+++ b/api/src/Sozsoft.Platform.Application/ListForms/Administration/ListFormJsonRowAppService.cs
@@ -3,13 +3,12 @@ using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using System.Threading.Tasks;
+using Microsoft.AspNetCore.Authorization;
using Sozsoft.Platform.Entities;
using Sozsoft.Platform.ListForms.Select;
using Sozsoft.Platform.Queries;
-using Microsoft.AspNetCore.Authorization;
using Volo.Abp;
using Volo.Abp.Domain.Repositories;
-using Volo.Abp.Users;
using static Sozsoft.Platform.PlatformConsts;
namespace Sozsoft.Platform.ListForms.Administration;
@@ -21,18 +20,12 @@ namespace Sozsoft.Platform.ListForms.Administration;
public class ListFormJsonRowAppService : PlatformAppService
{
private readonly IRepository repository;
- private readonly ICurrentUser currentUser;
- private readonly string userId;
public ListFormJsonRowAppService(
- IRepository _repository,
- ICurrentUser _currentUser
+ IRepository _repository
) : base()
{
repository = _repository;
- currentUser = _currentUser;
- userId = currentUser.Name;
-
}
public async Task GetAllAsync(Guid id, string field)
diff --git a/api/src/Sozsoft.Platform.Application/ListForms/Administration/ListFormQueryPreviewAppService.cs b/api/src/Sozsoft.Platform.Application/ListForms/Administration/ListFormQueryPreviewAppService.cs
index bc748fb9..1d90ea83 100644
--- a/api/src/Sozsoft.Platform.Application/ListForms/Administration/ListFormQueryPreviewAppService.cs
+++ b/api/src/Sozsoft.Platform.Application/ListForms/Administration/ListFormQueryPreviewAppService.cs
@@ -1,11 +1,10 @@
using System.Data;
using System.Linq;
using System.Threading.Tasks;
+using Microsoft.AspNetCore.Authorization;
using Sozsoft.Platform.DynamicData;
using Sozsoft.Platform.Enums;
-using Sozsoft.Platform.OrganizationUnits;
using Sozsoft.Platform.Queries;
-using Microsoft.AspNetCore.Authorization;
using Volo.Abp;
using Volo.Abp.Uow;
using static Sozsoft.Platform.PlatformConsts;
@@ -20,9 +19,6 @@ public class ListFormQueryPreviewAppService : PlatformAppService
private readonly IListFormManager listFormManager;
private readonly IListFormFieldManager listFormFieldManager;
private readonly IListFormCustomizationManager listFormCustomizationManager;
- private readonly IDefaultValueManager defaultValueManager;
- private readonly IDataSourceManager dataSourceManager;
- private readonly IPlatformOuRepository ouRepository;
private readonly IQueryManager qManager;
private readonly IDynamicDataManager dynamicDataManager;
@@ -32,9 +28,6 @@ public class ListFormQueryPreviewAppService : PlatformAppService
IListFormManager listFormManager,
IListFormFieldManager listFormFieldManager,
IListFormCustomizationManager listFormCustomizationManager,
- IDefaultValueManager defaultValueManager,
- IDataSourceManager dataSourceManager,
- IPlatformOuRepository ouRepository,
IQueryManager qManager,
IDynamicDataManager dynamicDataManager
)
@@ -44,9 +37,6 @@ public class ListFormQueryPreviewAppService : PlatformAppService
this.listFormManager = listFormManager;
this.listFormFieldManager = listFormFieldManager;
this.listFormCustomizationManager = listFormCustomizationManager;
- this.defaultValueManager = defaultValueManager;
- this.dataSourceManager = dataSourceManager;
- this.ouRepository = ouRepository;
this.qManager = qManager;
this.dynamicDataManager = dynamicDataManager;
}
@@ -64,7 +54,7 @@ public class ListFormQueryPreviewAppService : PlatformAppService
//kullaniciya ait ListFormField verilerini al
var fields = await listFormFieldManager.GetUserListFormFields(listFormCode);
-
+
// Performans: Filtrelemeyi Where ile yap, tek seferde ToList() çağır
var readableFields = fields.Where(a => a.CanRead).ToList();
diff --git a/api/src/Sozsoft.Platform.Application/ListForms/Administration/ListFormsAppService.cs b/api/src/Sozsoft.Platform.Application/ListForms/Administration/ListFormsAppService.cs
index be59a99a..d1a606a3 100644
--- a/api/src/Sozsoft.Platform.Application/ListForms/Administration/ListFormsAppService.cs
+++ b/api/src/Sozsoft.Platform.Application/ListForms/Administration/ListFormsAppService.cs
@@ -1,9 +1,9 @@
using System;
using System.Text.Json;
using System.Threading.Tasks;
+using Microsoft.AspNetCore.Authorization;
using Sozsoft.Platform.Entities;
using Sozsoft.Platform.Enums;
-using Microsoft.AspNetCore.Authorization;
using Volo.Abp;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;
diff --git a/api/src/Sozsoft.Platform.Application/ListForms/ListFormCustomizationAppService.cs b/api/src/Sozsoft.Platform.Application/ListForms/ListFormCustomizationAppService.cs
index 1bebead3..6fd9dfbd 100644
--- a/api/src/Sozsoft.Platform.Application/ListForms/ListFormCustomizationAppService.cs
+++ b/api/src/Sozsoft.Platform.Application/ListForms/ListFormCustomizationAppService.cs
@@ -2,11 +2,11 @@
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
+using Microsoft.AspNetCore.Authorization;
+using Microsoft.AspNetCore.Http;
using Sozsoft.Platform.Entities;
using Sozsoft.Platform.Enums;
using Sozsoft.Platform.ListForms.Customization;
-using Microsoft.AspNetCore.Authorization;
-using Microsoft.AspNetCore.Http;
using Volo.Abp;
using Volo.Abp.Domain.Entities;
using Volo.Abp.Domain.Repositories;
@@ -128,7 +128,7 @@ public class ListFormCustomizationAppService : PlatformAppService
a.UserId == CurrentUser.UserName &&
a.RoleId == null)
);
-
+
if (item == null)
{
throw new EntityNotFoundException("Item not found");
diff --git a/api/src/Sozsoft.Platform.Application/ListForms/ListFormDataAppService.cs b/api/src/Sozsoft.Platform.Application/ListForms/ListFormDataAppService.cs
index 106a5ffc..f4b585de 100644
--- a/api/src/Sozsoft.Platform.Application/ListForms/ListFormDataAppService.cs
+++ b/api/src/Sozsoft.Platform.Application/ListForms/ListFormDataAppService.cs
@@ -1,13 +1,13 @@
using System;
+using System.Collections.Generic;
using System.Linq;
+using System.Text.Json;
using System.Threading.Tasks;
+using Microsoft.AspNetCore.Http;
using Sozsoft.Platform.Enums;
using Sozsoft.Platform.Localization;
using Sozsoft.Platform.Queries;
-using Microsoft.AspNetCore.Http;
using static Sozsoft.Platform.PlatformConsts;
-using System.Collections.Generic;
-using System.Text.Json;
namespace Sozsoft.Platform.ListForms.Select;
@@ -43,7 +43,7 @@ public class ListFormDataAppService : PlatformAppService
var queryParameters = httpContext.Request.Query.ToDictionary(x => x.Key, x => x.Value);
return await qManager.GenerateAndRunQueryAsync(input.ListFormCode, OperationEnum.Insert, input.Data, queryParameters: queryParameters);
}
-
+
public async Task PostDuplicateAsync(DataRequestDto input)
{
// Izin logic process
diff --git a/api/src/Sozsoft.Platform.Application/ListForms/ListFormDynamicApiAppService.cs b/api/src/Sozsoft.Platform.Application/ListForms/ListFormDynamicApiAppService.cs
index 1d17da81..79b6056e 100644
--- a/api/src/Sozsoft.Platform.Application/ListForms/ListFormDynamicApiAppService.cs
+++ b/api/src/Sozsoft.Platform.Application/ListForms/ListFormDynamicApiAppService.cs
@@ -3,21 +3,20 @@ using System.Collections.Generic;
using System.IO;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
-using Sozsoft.Platform.Extensions;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
+using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Options;
+using Sozsoft.Platform.BlobStoring;
+using Sozsoft.Platform.Entities;
+using Sozsoft.Platform.Extensions;
+using Sozsoft.Platform.Identity;
using Volo.Abp;
using Volo.Abp.Domain.Entities;
+using Volo.Abp.Domain.Repositories;
using Volo.Abp.Identity;
using Volo.Abp.TenantManagement;
using IdentityUser = Volo.Abp.Identity.IdentityUser;
-using Sozsoft.Platform.BlobStoring;
-using Sozsoft.Platform.Identity;
-using Microsoft.Extensions.Configuration;
-using Microsoft.Extensions.Hosting;
-using Sozsoft.Platform.Entities;
-using Volo.Abp.Domain.Repositories;
namespace Sozsoft.Platform.ListForms.DynamicApi;
@@ -30,35 +29,29 @@ public class ListFormDynamicApiAppService : PlatformAppService, IListFormDynamic
private readonly ITenantRepository tenantRepository;
private readonly ITenantManager tenantManager;
- private readonly IIdentityUserAppService identityUserAppService;
private readonly IIdentityRoleAppService identityRoleAppService;
private readonly IdentityUserManager userManager;
private readonly BlobManager blobCdnManager;
private readonly IConfiguration configuration;
- private readonly IHostEnvironment hostEnvironment;
private readonly IOptions identityOptions;
private readonly IRepository orderRepository;
public ListFormDynamicApiAppService(
ITenantRepository tenantRepository,
ITenantManager tenantManager,
- IIdentityUserAppService identityUserAppService,
IIdentityRoleAppService identityRoleAppService,
IdentityUserManager userManager,
BlobManager blobCdnManager,
IConfiguration configuration,
- IHostEnvironment hostEnvironment,
IOptions identityOptions,
IRepository orderRepository)
{
this.tenantRepository = tenantRepository;
this.tenantManager = tenantManager;
- this.identityUserAppService = identityUserAppService;
this.identityRoleAppService = identityRoleAppService;
this.userManager = userManager;
this.blobCdnManager = blobCdnManager;
this.configuration = configuration;
- this.hostEnvironment = hostEnvironment;
this.identityOptions = identityOptions;
this.orderRepository = orderRepository;
}
diff --git a/api/src/Sozsoft.Platform.Application/ListForms/ListFormImportAppService.cs b/api/src/Sozsoft.Platform.Application/ListForms/ListFormImportAppService.cs
index c393dbe4..a93aa86f 100644
--- a/api/src/Sozsoft.Platform.Application/ListForms/ListFormImportAppService.cs
+++ b/api/src/Sozsoft.Platform.Application/ListForms/ListFormImportAppService.cs
@@ -4,13 +4,13 @@ using System.IO;
using System.Linq;
using System.Text.Json;
using System.Threading.Tasks;
+using Microsoft.AspNetCore.Authorization;
+using Microsoft.AspNetCore.Mvc;
+using Microsoft.Extensions.Logging;
using Sozsoft.Platform.BlobStoring;
using Sozsoft.Platform.Entities;
using Sozsoft.Platform.Enums;
using Sozsoft.Platform.Queries;
-using Microsoft.AspNetCore.Authorization;
-using Microsoft.AspNetCore.Mvc;
-using Microsoft.Extensions.Logging;
using Volo.Abp;
using Volo.Abp.Content;
using Volo.Abp.Domain.Entities;
@@ -203,7 +203,7 @@ public class ListFormImportAppService : PlatformAppService, IImportAppService
execute.ExecRows = i + 1;
execute.ValidRows = validCount;
execute.ErrorRows = errorCount;
-
+
await _importSessionExecuteRepository.UpdateAsync(execute, autoSave: false);
lastUpdateIndex = i + 1;
}
diff --git a/api/src/Sozsoft.Platform.Application/ListForms/ListFormMappers.cs b/api/src/Sozsoft.Platform.Application/ListForms/ListFormMappers.cs
index bdd7fbe5..0a93c1aa 100644
--- a/api/src/Sozsoft.Platform.Application/ListForms/ListFormMappers.cs
+++ b/api/src/Sozsoft.Platform.Application/ListForms/ListFormMappers.cs
@@ -1,8 +1,8 @@
+using Riok.Mapperly.Abstractions;
using Sozsoft.Platform.Entities;
using Sozsoft.Platform.ListForms.Customization;
using Sozsoft.Platform.ListForms.Select;
using Sozsoft.Platform.Queries;
-using Riok.Mapperly.Abstractions;
using Volo.Abp.Mapperly;
namespace Sozsoft.Platform.ListForms;
diff --git a/api/src/Sozsoft.Platform.Application/ListForms/ListFormSelectAppService.cs b/api/src/Sozsoft.Platform.Application/ListForms/ListFormSelectAppService.cs
index f02b9240..3f0eac2a 100644
--- a/api/src/Sozsoft.Platform.Application/ListForms/ListFormSelectAppService.cs
+++ b/api/src/Sozsoft.Platform.Application/ListForms/ListFormSelectAppService.cs
@@ -6,11 +6,11 @@ using System.Linq;
using System.Linq.Dynamic.Core;
using System.Text.Json;
using System.Threading.Tasks;
+using Microsoft.AspNetCore.Authorization;
+using Microsoft.AspNetCore.Http;
using Sozsoft.Platform.DynamicData;
using Sozsoft.Platform.Entities;
using Sozsoft.Platform.Queries;
-using Microsoft.AspNetCore.Authorization;
-using Microsoft.AspNetCore.Http;
using Volo.Abp.Domain.Repositories;
using Volo.Abp.Users;
@@ -167,7 +167,7 @@ public class ListFormSelectAppService : PlatformAppService, IListFormSelectAppSe
{
var data = await dynamicDataRepository.QueryAsync(selectQueryManager.GroupQuery, connectionString, param);
var dataQueryable = data.AsQueryable();
-
+
var groups = new List<(string, int, List)>(selectQueryManager.GroupTuples.Count);
for (int i = 0; i < selectQueryManager.GroupTuples.Count; i++)
@@ -327,7 +327,7 @@ public class ListFormSelectAppService : PlatformAppService, IListFormSelectAppSe
{
var extraFilterList = JsonSerializer.Deserialize(listForm.ExtraFilterJson) ?? [];
var activeFilters = extraFilterList.Where(f => !string.IsNullOrWhiteSpace(f.SqlQuery)).ToList();
-
+
if (activeFilters.Count > 0)
{
// DataSource connection'ı bir kez al (performans)
diff --git a/api/src/Sozsoft.Platform.Application/ListForms/ListFormWizardAppService.cs b/api/src/Sozsoft.Platform.Application/ListForms/ListFormWizardAppService.cs
index 0a28c09e..9c0b8179 100644
--- a/api/src/Sozsoft.Platform.Application/ListForms/ListFormWizardAppService.cs
+++ b/api/src/Sozsoft.Platform.Application/ListForms/ListFormWizardAppService.cs
@@ -7,8 +7,15 @@ using System.Text;
using System.Text.Json;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
+using Microsoft.AspNetCore.Authorization;
+using Microsoft.AspNetCore.Mvc;
+using Microsoft.Extensions.Configuration;
+using Microsoft.Extensions.Logging;
+using Sozsoft.Languages;
using Sozsoft.Languages.Entities;
using Sozsoft.Languages.Languages;
+using Sozsoft.Platform.Data.Seeds;
+using Sozsoft.Platform.DynamicData;
using Sozsoft.Platform.Entities;
using Sozsoft.Platform.Enums;
using Volo.Abp;
@@ -17,14 +24,6 @@ using Volo.Abp.Domain.Repositories;
using Volo.Abp.MultiTenancy;
using Volo.Abp.PermissionManagement;
using Volo.Abp.Uow;
-using Microsoft.Extensions.Configuration;
-using Microsoft.Extensions.Hosting;
-using Sozsoft.Languages;
-using Sozsoft.Platform.Data.Seeds;
-using Sozsoft.Platform.DynamicData;
-using Microsoft.AspNetCore.Authorization;
-using Microsoft.AspNetCore.Mvc;
-using Microsoft.Extensions.Logging;
using static Sozsoft.Platform.PlatformConsts;
namespace Sozsoft.Platform.ListForms;
@@ -49,7 +48,6 @@ public class ListFormWizardAppService(
IRepository repoPermGroup,
IRepository