Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

New release - release/hosting-collaboration-w47 #14107

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ module.exports = {
'https://www.ovh.de/g1474.allgemeine-informationen-ovh-webhosting-mails',
autoRenew: 'https://www.ovh.de/g1271.renew',
emailsCreation: 'https://www.ovh.de/g1343.qssq',
hostingModule:
'https://help.ovhcloud.com/csm/de-web-hosting-1-click-module-setting-up?id=kb_article_view&sysparm_article=KB0052393',
hostingPhpConfiguration:
'https://www.ovh.de/g1999.webhosting_so_andern_sie_die_php-version_von_ihrem_kundencenter_aus',
hostingPrivateDatabase:
Expand Down Expand Up @@ -157,6 +159,8 @@ module.exports = {
emailsConfiguration:
'https://www.ovh.es/g1474.correo-alojamiento-compartido-ovh',
emailsCreation: 'https://www.ovh.es/g1343.qssq',
hostingModule:
'https://help.ovhcloud.com/csm/es-es-web-hosting-1-click-module-setting-up?id=kb_article_view&sysparm_article=KB0052400',
hostingPhpConfiguration:
'https://www.ovh.es/g1999.alojamiento_compartido_configurar_la_versiΓ³n_de_PHP_desde_el_Γ‘rea_de_cliente',
hostingPrivateDatabase:
Expand Down Expand Up @@ -253,7 +257,8 @@ module.exports = {
'https://www.ovh.com/fr/g1990.mutualise_taches_automatisees_cron',
hostingFtp:
'https://docs.ovh.com/fr/hosting/connexion-espace-stockage-ftp-hebergement-web/',
hostingModule: 'https://docs.ovh.com/fr/hosting/modules-en-1-clic/',
hostingModule:
'https://help.ovhcloud.com/csm/fr-web-hosting-cms-update-admin-password?id=kb_article_view&sysparm_article=KB0064938',
hostingScriptEmail:
'https://www.ovh.com/fr/g1974.mutualise_suivi_des_emails_automatises',
hostingStatsLogs:
Expand Down Expand Up @@ -363,6 +368,8 @@ module.exports = {
'https://www.ovh.co.uk/g1474.ovh-mails-general-use',
autoRenew: 'https://www.ovh.co.uk/g1271.renew',
emailsCreation: 'https://www.ovh.co.uk/g1343.qssq',
hostingModule:
'https://help.ovhcloud.com/csm/en-gb-web-hosting-1-click-module-setting-up?id=kb_article_view&sysparm_article=KB0052396',
hostingPhpConfiguration:
'https://www.ovh.co.uk/g1999.hosting_how_to_configure_php_from_your_customer_account',
hostingPrivateDatabase:
Expand Down Expand Up @@ -403,6 +410,8 @@ module.exports = {
bulkChangeOwner:
'https://www.ovh.ie/order/domain/#/legacy/domain/trade/list',
guides: {
hostingModule:
'https://help.ovhcloud.com/csm/en-ie-web-hosting-1-click-module-setting-up?id=kb_article_view&sysparm_article=KB0052397',
hostingPhpConfiguration:
'https://www.ovh.ie/g1999.hosting_how_to_configure_php_from_your_customer_account',
works: {
Expand Down Expand Up @@ -442,6 +451,8 @@ module.exports = {
'https://www.ovh.it/g1271.imposta_il_rinnovo_automatico_dei_tuoi_servizi_ovh',
emailsCreateMailingListGuide:
'https://www.ovh.it/g1596.mail_mutualise_guide_dutilisation_mailing-list',
hostingModule:
'https://help.ovhcloud.com/csm/it-web-hosting-1-click-module-setting-up?id=kb_article_view&sysparm_article=KB0052395',
hostingPhpConfiguration:
'https://www.ovh.it/g1999.configura_la_tua_versione_di_php_dal_tuo_Spazio_Cliente_OVH',
hostingPrivateDatabase:
Expand Down Expand Up @@ -535,6 +546,8 @@ module.exports = {
emailsConfiguration:
'https://www.ovh.nl/g1474.algemene-informatie-ovh-webhosting-emails',
emailsCreation: 'https://www.ovh.nl/g1343.qssq',
hostingModule:
'https://help.ovhcloud.com/csm/en-nl-documentation-web-cloud?id=kb_browse_cat&kb_id=e17b4f25551974502d4c6e78b7421955',
hostingPrivateDatabaseDBaaS: {
beginner:
'https://docs.ovh.com/nl/clouddb/aan-de-slag-met-clouddb/',
Expand Down Expand Up @@ -597,6 +610,8 @@ module.exports = {
emailsCreation: 'https://www.ovh.pl/g1343.qssq',
emailsCreateMailingListGuide:
'https://www.ovh.pl/g1596.mail_mutualise_guide_dutilisation_mailing-list',
hostingModule:
'https://help.ovhcloud.com/csm/pl-documentation-web-cloud?id=kb_browse_cat&kb_id=e17b4f25551974502d4c6e78b7421955',
hostingPhpConfiguration:
'https://www.ovh.pl/g1999.skonfiguruj_wersje_php_w_panelu_klienta',
hostingPrivateDatabase: 'https://www.ovh.pl/g2023.prywatny_sql',
Expand Down Expand Up @@ -649,6 +664,8 @@ module.exports = {
emailsCreation: 'https://www.ovh.pt/g1343.qssq',
emailsCreateMailingListGuide:
'https://www.ovh.pt/g1596.mail_mutualise_guide_dutilisation_mailing-list',
hostingModule:
'https://help.ovhcloud.com/csm/pt-web-hosting-1-click-module-setting-up?id=kb_article_view&sysparm_article=KB0052410',
hostingPhpConfiguration:
'https://www.ovh.pt/g1999.partilhado_configurar_a_versao_de_php_a_partir_do_seu_espaco_cliente',
hostingPrivateDatabase:
Expand Down Expand Up @@ -847,6 +864,8 @@ module.exports = {
all: 'https://docs.ovh.com/asia/en/',
dnsForExternalDomain:
'https://docs.ovh.com/asia/en/domains/create_a_dns_zone_for_a_domain_which_is_not_registered_at_ovh/',
hostingModule:
'https://help.ovhcloud.com/csm/asia-web-hosting-1-click-module-setting-up?id=kb_article_view&sysparm_article=KB0052394',
hostingPrivateDatabase:
'https://docs.ovh.com/asia/en/hosting/getting-started-with-private-sql/',
hostingPrivateDatabaseDBaaS: {
Expand Down Expand Up @@ -882,6 +901,8 @@ module.exports = {
all: 'https://docs.ovh.com/asia/en/',
dnsForExternalDomain:
'https://docs.ovh.com/asia/en/domains/create_a_dns_zone_for_a_domain_which_is_not_registered_at_ovh/',
hostingModule:
'https://help.ovhcloud.com/csm/asia-web-hosting-1-click-module-setting-up?id=kb_article_view&sysparm_article=KB0052394',
hostingPrivateDatabase:
'https://docs.ovh.com/asia/en/hosting/getting-started-with-private-sql/',
hostingPrivateDatabaseDBaaS: {
Expand Down Expand Up @@ -917,6 +938,8 @@ module.exports = {
all: 'https://docs.ovh.com/au/en/',
dnsForExternalDomain:
'https://docs.ovh.com/au/en/domains/create_a_dns_zone_for_a_domain_which_is_not_registered_at_ovh/',
hostingModule:
'https://help.ovhcloud.com/csm/en-au-web-hosting-1-click-module-setting-up?id=kb_article_view&sysparm_article=KB0040389',
hostingPrivateDatabase:
'https://docs.ovh.com/au/en/hosting/getting-started-with-private-sql/',
hostingPrivateDatabaseDBaaS: {
Expand Down Expand Up @@ -953,6 +976,8 @@ module.exports = {
all: 'https://docs.ovh.com/ca/en/',
dnsForExternalDomain:
'https://docs.ovh.com/ca/en/domains/create_a_dns_zone_for_a_domain_which_is_not_registered_at_ovh/',
hostingModule:
'https://help.ovhcloud.com/csm/en-ca-web-hosting-1-click-module-setting-up?id=kb_article_view&sysparm_article=KB0052391',
hostingPrivateDatabase:
'https://docs.ovh.com/ca/en/hosting/getting-started-with-private-sql/',
hostingPrivateDatabaseDBaaS: {
Expand Down Expand Up @@ -989,6 +1014,8 @@ module.exports = {
all: 'https://docs.ovh.com/ca/fr/',
dnsForExternalDomain:
'https://docs.ovh.com/ca/fr/domains/creer-une-zone-dns-pour-un-domaine-externe/',
hostingModule:
'https://help.ovhcloud.com/csm/en-ca-web-hosting-1-click-module-setting-up?id=kb_article_view&sysparm_article=KB0052391',
hostingPrivateDatabase:
'https://docs.ovh.com/ca/fr/hosting/premiers-pas-avec-sql-prive/',
hostingPrivateDatabaseDBaaS: {
Expand Down Expand Up @@ -1024,6 +1051,8 @@ module.exports = {
all: 'https://docs.ovh.com/sg/en/',
dnsForExternalDomain:
'https://docs.ovh.com/sg/en/domains/create_a_dns_zone_for_a_domain_which_is_not_registered_at_ovh/',
hostingModule:
'https://help.ovhcloud.com/csm/en-sg-web-hosting-1-click-module-setting-up?id=kb_article_view&sysparm_article=KB0052404',
hostingPrivateDatabase:
'https://docs.ovh.com/asia/en/hosting/getting-started-with-private-sql/',
hostingPrivateDatabaseDBaaS: {
Expand Down Expand Up @@ -1059,6 +1088,8 @@ module.exports = {
all: 'https://docs.ovh.com/ca/en/',
dnsForExternalDomain:
'https://docs.ovh.com/ca/en/domains/create_a_dns_zone_for_a_domain_which_is_not_registered_at_ovh/',
hostingModule:
'https://help.ovhcloud.com/csm/en-ie-web-hosting-1-click-module-setting-up?id=kb_article_view&sysparm_article=KB0052397',
hostingPrivateDatabase:
'https://docs.ovh.com/ca/en/hosting/getting-started-with-private-sql/',
hostingPrivateDatabaseDBaaS: {
Expand Down Expand Up @@ -1095,6 +1126,8 @@ module.exports = {
all: 'https://docs.ovh.com/us/es/',
dnsForExternalDomain:
'https://docs.ovh.com/us/es/domains/create_a_dns_zone_for_a_domain_which_is_not_registered_at_ovh/',
hostingModule:
'https://help.ovhcloud.com/csm/en-web-hosting-1-click-module-setting-up?id=kb_article_view&sysparm_article=KB0052401',
hostingPrivateDatabase:
'https://docs.ovh.com/us/es/hosting/getting-started-with-private-sql/',
hostingPrivateDatabaseDBaaS: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,11 @@
</oui-datagrid-column>
<oui-datagrid-column
data-title="::'domain_operations_table_header_status' | translate"
data-sortable
data-filterable
data-type="options"
data-property="status"
data-type-options="$ctrl.operationStatusColumnOptions"
>
<span
class="oui-badge"
Expand Down Expand Up @@ -197,7 +201,11 @@
</oui-datagrid-column>
<oui-datagrid-column
data-title="::'domain_operations_table_header_status' | translate"
data-type="options"
data-type-options="$ctrl.operationStatusColumnOptions"
data-property="status"
data-sortable
data-filterable
>
<span
class="oui-badge"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import { ListLayoutHelper } from '@ovh-ux/manager-ng-layout-helpers';
import { getDomainOrderUrl } from './domains.order';
import {
DOMAIN_PREFIX_PAGE_BUTTON_GO_TO_ORDER,
DOMAIN_PREFIX_LISTING_MANAGE_DOMAINS,
} from '../domains/domains.constant';

export default /* @ngInject */ ($stateProvider) => {
$stateProvider.state('app.domain.index', {
Expand Down Expand Up @@ -65,7 +69,7 @@ export default /* @ngInject */ ($stateProvider) => {
value: $translate.instant('domains_order'),
onClick: () => {
atInternet.trackClick({
name: 'web::domain::index::order',
name: `${DOMAIN_PREFIX_PAGE_BUTTON_GO_TO_ORDER}`,
type: 'action',
});
$window.open(
Expand All @@ -79,5 +83,8 @@ export default /* @ngInject */ ($stateProvider) => {
$state.go('app.domain.index.restore-renew', { domains }),
hideBreadcrumb: () => true,
},
atInternet: {
rename: DOMAIN_PREFIX_LISTING_MANAGE_DOMAINS,
},
});
};
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
<div data-wizard-step>
<p data-translate="domains_dashboard_tooltip_export_csv_expl"></p>
<p data-translate="domains_dashboard_tooltip_export_csv_expl2"></p>

<form name="csvExportAllDomains">
<oui-checkbox
id="opt-{{::$index}}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ import {
PRODUCT_TYPE,
} from './list-domain-layout.constants';

import {
DOMAIN_PREFIX_PAGE_BUTTON_RENEW_RESTORE_DOMAIN,
DOMAIN_PREFIX_PAGE_BUTTON_EXPORT_CSV_DOMAIN,
DOMAIN_PREFIX_PAGE_BUTTON_DATAGRID_LINK,
DOMAIN_PREFIX_PAGE_BUTTON_DATAGRID,
DOMAIN,
} from '../../domains/domains.constant';

export default class ListDomainLayoutCtrl extends ListLayoutHelper.ListLayoutCtrl {
/* @ngInject */
constructor(
Expand All @@ -35,6 +43,7 @@ export default class ListDomainLayoutCtrl extends ListLayoutHelper.ListLayoutCtr
$scope,
$timeout,
$window,
atInternet,
) {
super($q, ouiDatagridService);
this.$translate = $translate;
Expand All @@ -53,12 +62,15 @@ export default class ListDomainLayoutCtrl extends ListLayoutHelper.ListLayoutCtr
this.DOMAINS_BADGES_RENEWAL_MODE = DOMAINS_BADGES_RENEWAL_MODE;
this.IDN_PREFIX = IDN_PREFIX;
this.DOMAIN_OBJECT_KEYS = DOMAIN_OBJECT_KEYS;
this.DOMAIN_PREFIX_PAGE_BUTTON_RENEW_RESTORE_DOMAIN = DOMAIN_PREFIX_PAGE_BUTTON_RENEW_RESTORE_DOMAIN;
this.DOMAIN_PREFIX_PAGE_BUTTON_EXPORT_CSV_DOMAIN = DOMAIN_PREFIX_PAGE_BUTTON_EXPORT_CSV_DOMAIN;
this.coreURLBuilder = coreURLBuilder;
this.user = coreConfig.getUser();
this.Domain = Domain;
this.$scope = $scope;
this.$timeout = $timeout;
this.$window = $window;
this.atInternet = atInternet;
}

$onInit() {
Expand Down Expand Up @@ -270,6 +282,20 @@ export default class ListDomainLayoutCtrl extends ListLayoutHelper.ListLayoutCtr
);
}

trackDomainLinkClick(track) {
this.atInternet.trackClick({
name: `${DOMAIN_PREFIX_PAGE_BUTTON_DATAGRID_LINK}${track}::${DOMAIN}`,
type: 'action',
});
}

trackDomainButtonClick(track) {
this.atInternet.trackClick({
name: `${DOMAIN_PREFIX_PAGE_BUTTON_DATAGRID}::${track}::${DOMAIN}`,
type: 'action',
});
}

static isDomainRenewableOrRestorable(domain) {
return (
![
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,29 @@
export default class webDomainRestoreRenewCtrl {
import {
DOMAIN_PREFIX_POPUP_BUTTON_RENEW_GO_TO_ORDER,
DOMAIN_PREFIX_POPUP_BUTTON_RENEW_CANCEL,
} from '../../../domains/domains.constant';

export default class WebDomainRestoreRenewCtrl {
/* @ngInject */
constructor($window, constants) {
constructor($window, constants, atInternet) {
this.$window = $window;
this.constants = constants;
this.atInternet = atInternet;
}

closeModal() {
this.atInternet.trackClick({
name: DOMAIN_PREFIX_POPUP_BUTTON_RENEW_CANCEL,
type: 'action',
});
return this.goBack();
}

redirectToRenew() {
this.atInternet.trackClick({
name: DOMAIN_PREFIX_POPUP_BUTTON_RENEW_GO_TO_ORDER,
type: 'action',
});
this.$window.open(
URI.expand(this.constants.renew, {
serviceName: this.domains.map((domain) => domain.domain).join(' '),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { DOMAIN_PREFIX_POPUP_RENEW_RESTORE } from '../../../domains/domains.constant';

export default /* @ngInject */ ($stateProvider) => {
$stateProvider.state('app.domain.index.restore-renew', {
url: '/restore-renew',
Expand All @@ -21,6 +23,9 @@ export default /* @ngInject */ ($stateProvider) => {
component: 'webdomainRestoreRenewModale',
},
},
atInternet: {
rename: DOMAIN_PREFIX_POPUP_RENEW_RESTORE,
},
layout: 'modal',
});
};
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@
data-primary-action="$ctrl.redirectToRenew()"
data-primary-label="{{:: 'domains_restore_renew_modal_confirm' | translate }}"
data-primary-disabled="!$ctrl.domains.length"
data-secondary-action="$ctrl.goBack()"
data-secondary-action="$ctrl.closeModal()"
data-secondary-label="{{:: 'domains_restore_renew_modal_cancel' | translate }}"
data-on-dismiss="$ctrl.goBack()"
data-on-dismiss="$ctrl.closeModal()"
>
<div data-ng-if="$ctrl.domains.length">
<p
data-ng-bind-html="'domains_restore_renew_modal_question' | translate"
></p>
<p>test</p>
<p class="mb-5">
<strong
data-translate="domains_restore_renew_modal_confirmation"
Expand Down
Loading
Loading