From 668dc5fd538631a1b683d76b15a3d9ff3d638ec2 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Mon, 3 Jun 2024 15:09:21 +0200 Subject: [PATCH 1/5] fix: List without limit --- src/pages/Account/Alias/Card/AliasUsers.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/Account/Alias/Card/AliasUsers.vue b/src/pages/Account/Alias/Card/AliasUsers.vue index 39f881a4e..4a9c449e4 100644 --- a/src/pages/Account/Alias/Card/AliasUsers.vue +++ b/src/pages/Account/Alias/Card/AliasUsers.vue @@ -75,6 +75,7 @@ const fetchAliases = () => paginateRef.value.fetch(); data-key="AliasUsers" :filter="filter" :url="urlPath" + :limit="0" auto-load > diff --git a/src/pages/Account/locale/en.yml b/src/pages/Account/locale/en.yml index f9bd7dc18..d90b3a383 100644 --- a/src/pages/Account/locale/en.yml +++ b/src/pages/Account/locale/en.yml @@ -51,6 +51,7 @@ mailAlias: id: Id newAlias: New alias name: Name + isPublic: Public ldap: enableSync: Enable synchronization server: Server diff --git a/src/pages/Account/locale/es.yml b/src/pages/Account/locale/es.yml index 763143940..e0a6cf29f 100644 --- a/src/pages/Account/locale/es.yml +++ b/src/pages/Account/locale/es.yml @@ -62,6 +62,7 @@ mailAlias: id: Id newAlias: Nuevo alias name: Nombre + isPublic: Público ldap: enableSync: Habilitar sincronización server: Servidor From 6053d42442b9e903af264433563acdc56b96864c Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Fri, 7 Jun 2024 11:09:46 +0200 Subject: [PATCH 3/5] fix: descriptor and i18n --- src/pages/Account/Alias/Card/AliasDescriptor.vue | 2 +- src/pages/Account/locale/en.yml | 9 +++++++++ src/pages/Account/locale/es.yml | 9 +++++++++ src/router/modules/index.js | 2 ++ 4 files changed, 21 insertions(+), 1 deletion(-) diff --git a/src/pages/Account/Alias/Card/AliasDescriptor.vue b/src/pages/Account/Alias/Card/AliasDescriptor.vue index bc174aa0e..f821aaf2f 100644 --- a/src/pages/Account/Alias/Card/AliasDescriptor.vue +++ b/src/pages/Account/Alias/Card/AliasDescriptor.vue @@ -64,7 +64,7 @@ const removeAlias = () => { ref="descriptor" url="MailAliases" :filter="filter" - module="Account" + module="Alias" @on-fetch="setData" data-key="aliasData" :title="data.title" diff --git a/src/pages/Account/locale/en.yml b/src/pages/Account/locale/en.yml index d6360d316..babedae70 100644 --- a/src/pages/Account/locale/en.yml +++ b/src/pages/Account/locale/en.yml @@ -47,7 +47,16 @@ role: name: Name description: Description id: Id +mailAlias: + pageTitles: + aliasUsers: Users + search: Search mail alias + searchInfo: Search alias by id or name + alias: Alias + description: Description + id: Id newAlias: New alias + name: Name isPublic: Public ldap: enableSync: Enable synchronization diff --git a/src/pages/Account/locale/es.yml b/src/pages/Account/locale/es.yml index 0aa39752f..36125f361 100644 --- a/src/pages/Account/locale/es.yml +++ b/src/pages/Account/locale/es.yml @@ -58,7 +58,16 @@ role: name: Nombre description: Descripción id: Id +mailAlias: + pageTitles: + aliasUsers: Usuarios + search: Buscar alias de correo + searchInfo: Buscar alias por id o nombre + alias: Alias + description: Descripción + id: Id newAlias: Nuevo alias + name: Nombre isPublic: Público ldap: enableSync: Habilitar sincronización diff --git a/src/router/modules/index.js b/src/router/modules/index.js index 78d4d94cc..fb1bdc466 100644 --- a/src/router/modules/index.js +++ b/src/router/modules/index.js @@ -20,6 +20,7 @@ import ItemType from './itemType'; import Zone from './zone'; import Account from './account'; import Monitor from './monitor'; +import MailAlias from './mailAlias'; export default [ Item, @@ -43,5 +44,6 @@ export default [ ItemType, Zone, Account, + MailAlias, Monitor, ]; From 5551077c92c952972c625214abe8e220e142d5ea Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Fri, 7 Jun 2024 11:16:15 +0200 Subject: [PATCH 4/5] fix: roles --- .../Account/Role/Card/RoleDescriptor.vue | 92 +++++++++++++++++++ src/router/modules/index.js | 2 + src/router/routes.js | 2 + 3 files changed, 96 insertions(+) create mode 100644 src/pages/Account/Role/Card/RoleDescriptor.vue diff --git a/src/pages/Account/Role/Card/RoleDescriptor.vue b/src/pages/Account/Role/Card/RoleDescriptor.vue new file mode 100644 index 000000000..89712b0b9 --- /dev/null +++ b/src/pages/Account/Role/Card/RoleDescriptor.vue @@ -0,0 +1,92 @@ + + + + + + en: + accountRate: Claming rate + es: + accountRate: Ratio de reclamación + diff --git a/src/router/modules/index.js b/src/router/modules/index.js index fb1bdc466..bf7e46b00 100644 --- a/src/router/modules/index.js +++ b/src/router/modules/index.js @@ -21,6 +21,7 @@ import Zone from './zone'; import Account from './account'; import Monitor from './monitor'; import MailAlias from './mailAlias'; +import Role from './role'; export default [ Item, @@ -46,4 +47,5 @@ export default [ Account, MailAlias, Monitor, + Role, ]; diff --git a/src/router/routes.js b/src/router/routes.js index 3ca2175f8..359ce5317 100644 --- a/src/router/routes.js +++ b/src/router/routes.js @@ -21,6 +21,7 @@ import zone from 'src/router/modules/zone'; import account from './modules/account'; import monitor from 'src/router/modules/monitor'; import mailAlias from './modules/mailAlias'; +import role from './modules/role'; const routes = [ { @@ -82,6 +83,7 @@ const routes = [ ItemType, zone, account, + role, mailAlias, { path: '/:catchAll(.*)*', From dce95824be88ab550ff7bd7b714af8f22f82675c Mon Sep 17 00:00:00 2001 From: alexm Date: Fri, 7 Jun 2024 12:51:38 +0200 Subject: [PATCH 5/5] fix(AccountAlias): fix and optimization --- src/pages/Account/AccountAliasList.vue | 1 - .../Account/Alias/Card/AliasBasicData.vue | 26 +++++-------------- src/pages/Account/Alias/Card/AliasCard.vue | 1 + .../Account/Alias/Card/AliasDescriptor.vue | 7 +---- 4 files changed, 8 insertions(+), 27 deletions(-) diff --git a/src/pages/Account/AccountAliasList.vue b/src/pages/Account/AccountAliasList.vue index 896804484..29e8d4d78 100644 --- a/src/pages/Account/AccountAliasList.vue +++ b/src/pages/Account/AccountAliasList.vue @@ -58,7 +58,6 @@ const openCreateModal = () => aliasCreateDialogRef.value.show(); ref="paginateRef" data-key="AccountAliasList" url="MailAliases" - auto-load :expr-builder="exprBuilder" >