From 7db239a5d45aaef6abc53add36630e67245cf0a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sedat=20=C3=96zt=C3=BCrk?= Date: Sat, 9 May 2026 01:30:40 +0300 Subject: [PATCH] =?UTF-8?q?ClaimType=20listesi=20d=C3=BCzeltildi.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Seeds/LanguagesData.json | 2 +- .../Seeds/MenusData.json | 8 +-- .../Seeds/PermissionsData.json | 24 +++---- ui/public/version.json | 22 +++++- ui/src/views/version/swRegistration.ts | 70 +------------------ 5 files changed, 39 insertions(+), 87 deletions(-) diff --git a/api/src/Sozsoft.Platform.DbMigrator/Seeds/LanguagesData.json b/api/src/Sozsoft.Platform.DbMigrator/Seeds/LanguagesData.json index 58ebe45..780af4a 100644 --- a/api/src/Sozsoft.Platform.DbMigrator/Seeds/LanguagesData.json +++ b/api/src/Sozsoft.Platform.DbMigrator/Seeds/LanguagesData.json @@ -1076,7 +1076,7 @@ }, { "resourceName": "Platform", - "key": "App.ClaimType", + "key": "App.IdentityManagement.ClaimType", "en": "Claim Types", "tr": "Talep Tipleri" }, diff --git a/api/src/Sozsoft.Platform.DbMigrator/Seeds/MenusData.json b/api/src/Sozsoft.Platform.DbMigrator/Seeds/MenusData.json index 0899400..223ef72 100644 --- a/api/src/Sozsoft.Platform.DbMigrator/Seeds/MenusData.json +++ b/api/src/Sozsoft.Platform.DbMigrator/Seeds/MenusData.json @@ -1185,12 +1185,12 @@ }, { "ParentCode": "Abp.Identity", - "Code": "App.ClaimType", - "DisplayName": "App.ClaimType", + "Code": "App.IdentityManagement.ClaimType", + "DisplayName": "App.IdentityManagement.ClaimType", "Order": 3, - "Url": "/admin/list/App.ClaimType", + "Url": "/admin/list/App.IdentityManagement.ClaimType", "Icon": "FcOrganization", - "RequiredPermissionName": "App.ClaimType", + "RequiredPermissionName": "App.IdentityManagement.ClaimType", "IsDisabled": false }, { diff --git a/api/src/Sozsoft.Platform.DbMigrator/Seeds/PermissionsData.json b/api/src/Sozsoft.Platform.DbMigrator/Seeds/PermissionsData.json index 6e9b26b..7e2cd5f 100644 --- a/api/src/Sozsoft.Platform.DbMigrator/Seeds/PermissionsData.json +++ b/api/src/Sozsoft.Platform.DbMigrator/Seeds/PermissionsData.json @@ -2802,17 +2802,17 @@ }, { "GroupName": "App.Administration", - "Name": "App.ClaimType", + "Name": "App.IdentityManagement.ClaimType", "ParentName": null, - "DisplayName": "App.ClaimType", + "DisplayName": "App.IdentityManagement.ClaimType", "IsEnabled": true, "MultiTenancySide": 3, "MenuGroup": "Erp|Kurs" }, { "GroupName": "App.Administration", - "Name": "App.ClaimType.Create", - "ParentName": "App.ClaimType", + "Name": "App.IdentityManagement.ClaimType.Create", + "ParentName": "App.IdentityManagement.ClaimType", "DisplayName": "Create", "IsEnabled": true, "MultiTenancySide": 3, @@ -2820,8 +2820,8 @@ }, { "GroupName": "App.Administration", - "Name": "App.ClaimType.Delete", - "ParentName": "App.ClaimType", + "Name": "App.IdentityManagement.ClaimType.Delete", + "ParentName": "App.IdentityManagement.ClaimType", "DisplayName": "Delete", "IsEnabled": true, "MultiTenancySide": 3, @@ -2829,8 +2829,8 @@ }, { "GroupName": "App.Administration", - "Name": "App.ClaimType.Export", - "ParentName": "App.ClaimType", + "Name": "App.IdentityManagement.ClaimType.Export", + "ParentName": "App.IdentityManagement.ClaimType", "DisplayName": "Export", "IsEnabled": true, "MultiTenancySide": 3, @@ -2838,8 +2838,8 @@ }, { "GroupName": "App.Administration", - "Name": "App.ClaimType.Import", - "ParentName": "App.ClaimType", + "Name": "App.IdentityManagement.ClaimType.Import", + "ParentName": "App.IdentityManagement.ClaimType", "DisplayName": "Import", "IsEnabled": true, "MultiTenancySide": 3, @@ -2847,8 +2847,8 @@ }, { "GroupName": "App.Administration", - "Name": "App.ClaimType.Update", - "ParentName": "App.ClaimType", + "Name": "App.IdentityManagement.ClaimType.Update", + "ParentName": "App.IdentityManagement.ClaimType", "DisplayName": "Update", "IsEnabled": true, "MultiTenancySide": 3, diff --git a/ui/public/version.json b/ui/public/version.json index 864fa9e..519b447 100644 --- a/ui/public/version.json +++ b/ui/public/version.json @@ -1,6 +1,26 @@ { - "commit": "ab656ba", + "commit": "e9d8f5e", "releases": [ + { + "version": "1.0.9", + "buildDate": "2026-05-09", + "commit": "e9d8f5ebac35fc7b21f08139dfe175ed548c14b4", + "changeLog": [ + "- Video Rooms düzenlemesi", + "- Genel Liste düzenlemeleri" + ] + }, + { + "version": "1.0.8", + "buildDate": "2026-05-07", + "commit": "6fa266f23ed4f67384b7bef0e4030420cb788af5", + "changeLog": [ + "- Intranet ve Sosyal Duvar", + "- Listelerde ImageUploadandViewer", + "- Survey Widget", + "- Event, Category ve Type" + ] + }, { "version": "1.0.7", "buildDate": "2026-05-04", diff --git a/ui/src/views/version/swRegistration.ts b/ui/src/views/version/swRegistration.ts index fc0e644..77ac567 100644 --- a/ui/src/views/version/swRegistration.ts +++ b/ui/src/views/version/swRegistration.ts @@ -1,78 +1,10 @@ import { registerSW } from 'virtual:pwa-register' -function showUpdateOverlay() { - if (document.getElementById('sw-update-overlay')) return - - const style = document.createElement('style') - style.id = 'sw-update-overlay-style' - style.textContent = ` - #sw-update-overlay { - position: fixed; - inset: 0; - z-index: 99999; - display: flex; - align-items: center; - justify-content: center; - background: rgba(0, 0, 0, 0.65); - backdrop-filter: blur(4px); - -webkit-backdrop-filter: blur(4px); - } - #sw-update-overlay .sw-update-card { - display: flex; - flex-direction: column; - align-items: center; - gap: 20px; - background: #fff; - border-radius: 16px; - padding: 40px 56px; - box-shadow: 0 8px 40px rgba(0,0,0,0.25); - text-align: center; - max-width: 360px; - width: 90%; - } - #sw-update-overlay .sw-update-spinner { - width: 56px; - height: 56px; - border: 5px solid #e5e7eb; - border-top-color: #6366f1; - border-radius: 50%; - animation: sw-spin 0.8s linear infinite; - } - @keyframes sw-spin { - to { transform: rotate(360deg); } - } - #sw-update-overlay .sw-update-title { - font-size: 18px; - font-weight: 700; - color: #1f2937; - margin: 0; - } - #sw-update-overlay .sw-update-desc { - font-size: 14px; - color: #6b7280; - margin: 0; - } - ` - document.head.appendChild(style) - - const overlay = document.createElement('div') - overlay.id = 'sw-update-overlay' - overlay.innerHTML = ` -
-
-

System Updating

-

Loading new version, please wait…
The page will refresh automatically.

-
- ` - document.body.appendChild(overlay) -} - export const registerServiceWorker = () => { registerSW({ immediate: true, onNeedRefresh() { - console.log('🔔 New version available, refreshing…') - showUpdateOverlay() + console.log('🔔 New version available, please refresh.') window.location.reload() }, onOfflineReady() {