Coder Social home page Coder Social logo

ovh / manager Goto Github PK

View Code? Open in Web Editor NEW
207.0 35.0 97.0 236.4 MB

OVHcloud Control Panel

Home Page: https://ovh.github.io/manager/

License: BSD 3-Clause "New" or "Revised" License

JavaScript 52.79% HTML 39.01% CSS 0.10% Less 1.51% SCSS 0.34% Shell 0.01% TypeScript 6.05% Gherkin 0.07% Makefile 0.01% Handlebars 0.10%
yarn workspace lerna angularjs webpack rollup ovhcloud hacktoberfest

manager's Introduction

Manager

The official OVHcloud control panel also known as the Manager.

Contributors Last commit License

OVHcloud control panel UI

Intro

Manager is the control panel built on top of the OVHcloud API and based on our UI Framework. It helps you to manage your products.

Prerequisites

  • Git
  • Node.js ^18
  • Yarn >= 1.21.1
  • Supported OSes: GNU/Linux, macOS and Windows

To install these prerequisites, you can follow the How To section of the documentation.

Install

# Clone the repository
$ git clone https://github.com/ovh/manager.git

# Go to the project root
$ cd manager

# If you are using nvm
$ nvm use

# Install
$ yarn install

Documentation

For full documentation, visit ovh.github.io/manager.

Contributing

Always feel free to help out! Whether it's filing bugs and feature requests or working on some of the open issues, our contributing guide will help get you started.

Stay Tuned

License

BSD-3-Clause ยฉ OVH SAS

manager's People

Contributors

anooparveti avatar antleblanc avatar axelpeter avatar brofik avatar brunomarquesovh avatar cbourgois avatar darsene avatar dectotam avatar dependabot[bot] avatar frenautvh avatar ganeshkumar1989 avatar ghyenne avatar github-actions[bot] avatar jacqueslarique avatar jaybeede avatar jeremydec avatar jisay avatar jleveugle avatar jperchoc avatar lizardk avatar marie-j avatar mohammed-zahaf avatar ovh-ux-cds avatar qpavy avatar radireddy avatar sachinrameshn avatar steffy29 avatar stif59100 avatar varun257 avatar zakariasahmane avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

manager's Issues

ovh-angular-apiv7

Migrate ovh-angular-apiv7 component

The goals of the migrations is:

  • Drop the Bower support
  • Apply ESLint Airbnb rules
  • Provide clean and concise README file.

We might consider using the share rollup configuration (cf: component-rollup-config)

Requirements

๐Ÿ‘€ Does the component is still used?

  • yes!

๐Ÿ’… Does the component must be renamed?

  • yes! must be renamed to ngOvhApiv7.

๐Ÿšจ Does the component has a dependency to another pending migration?

  • no.

โš“๏ธ Related pull request

ovh-jquery-ui-draggable-ng

Migrate ovh-jquery-ui-draggable-ng component

The goals of the migrations is:

  • Drop the Bower support
  • Apply ESLint Airbnb rules
  • Provide clean and concise README file.

We might consider using the share rollup configuration (cf: component-rollup-config)

Requirements

๐Ÿ‘€ Does the component is still used?

  • yes!

๐Ÿ’… Does the component must be renamed?

  • yes! must be renamed to ng-ovh-jquery-ui-draggable.

๐Ÿšจ Does the component has a dependency to another pending migration?

  • no.

โš“๏ธ Related pull request

ovh-angular-manager-navbar

Migrate ovh-angular-manager-navbar component

The goals of the migrations is:

  • Drop the Bower support
  • Apply ESLint Airbnb rules
  • Provide clean and concise README file.

We might consider using the share rollup configuration (cf: component-rollup-config)

Requirements

๐Ÿ‘€ Does the component is still used?

  • no

๐Ÿ’… Does the component must be renamed?

  • no

๐Ÿšจ Does the component has a dependency to another pending migration?

  • no

โš“๏ธ Related pull request

  • none

Remove extra LICENSE files

Is your feature request related to a problem? Please describe.

We created a publish scripts that perform some yarn commands based on a:

lerna exec --scope pkg.name

Commands used to publish a package on the npm registry are:

$ yarn prepare
$ yarn publish --access=public --non-interactive

All these commands depends on the parent command:

$ lerna ls -pl --json --toposort

See: https://github.com/ovh/manager/blob/master/scripts/publish.js#L30

The problem is that we have duplicate the LICENSE file across multiple packages but a lerna command already provide this feature.

Describe the solution you'd like

Lerna provide a publish command that can be quite handy, and here is the interesting part: https://github.com/lerna/lerna/blob/e7ef2a75ac98af07aed33cbd6f65f8514a45f8f5/commands/publish/lib/create-temp-licenses.js

It provide a copy from the root LICENSE file. In that way, we can stop to duplicate it.

Describe alternatives you've considered
None.

Additional context
Based on the following commit: 49d2e4b (from develop branch)

All private packages are:
  • @ovh-ux/manager-carrier-sip-app
  • @ovh-ux/manager-cloud
  • @ovh-ux/manager-dedicated
  • @ovh-ux/manager-enterprise-cloud-database-app
  • @ovh-ux/manager-freefax-app
  • @ovh-ux/order-tracking-app
  • @ovh-ux/manager-overthebox-app
  • @ovh-ux/manager-pci-app
  • @ovh-ux/manager-public-cloud
  • @ovh-ux/sign-up-app
  • @ovh-ux/manager-sms-app
  • @ovh-ux/manager-support-app
  • @ovh-ux/manager-telecom-dashboard-app
  • @ovh-ux/manager-telecom-task-app
  • @ovh-ux/manager-telecom
  • @ovh-ux/manager-vrack-app
  • @ovh-ux/manager-web
  • @ovh-ux/manager-carrier-sip
  • @ovh-ux/manager-emailpro
  • @ovh-ux/manager-error-page
  • @ovh-ux/manager-exchange
  • @ovh-ux/manager-freefax
  • @ovh-ux/mfa-enrollment
  • @ovh-ux/manager-office
  • @ovh-ux/manager-overthebox
  • @ovh-ux/manager-pci
  • @ovh-ux/manager-sharepoint
  • @ovh-ux/sign-up
  • @ovh-ux/manager-sms
  • @ovh-ux/manager-support
  • @ovh-ux/manager-telecom-dashboard
  • @ovh-ux/manager-telecom-styles
  • @ovh-ux/manager-telecom-task
  • @ovh-ux/ng-ovh-telecom-universe-components
  • @ovh-ux/ng-ovh-web-universe-components
  • @ovh-ux/sao-ovh-manager-app
  • @ovh-ux/sao-ovh-manager-module

Uses: lerna ls --json --all | json -a -c 'this.private === true' name

All LICENSE files are:
  • packages/components/ng-ovh-payment-method/LICENSE
  • packages/components/ng-ui-router-breadcrumb/LICENSE
  • packages/components/ng-ui-router-layout/LICENSE
  • packages/components/ng-ui-router-line-progress/LICENSE
  • packages/components/ng-ui-router-title/LICENSE
  • packages/components/order-tracking/LICENSE
  • packages/manager/apps/carrier-sip/LICENSE
  • packages/manager/apps/freefax/LICENSE
  • packages/manager/apps/order-tracking/LICENSE
  • packages/manager/apps/overthebox/LICENSE
  • packages/manager/apps/pci/LICENSE
  • packages/manager/apps/sign-up/LICENSE
  • packages/manager/apps/sms/LICENSE
  • packages/manager/apps/support/LICENSE
  • packages/manager/apps/telecom-dashboard/LICENSE
  • packages/manager/apps/telecom-task/LICENSE
  • packages/manager/apps/telecom/LICENSE
  • packages/manager/apps/web/LICENSE
  • packages/manager/modules/banner/LICENSE
  • packages/manager/modules/carrier-sip/LICENSE
  • packages/manager/modules/cloud-styles/LICENSE
  • packages/manager/modules/cloud-universe-components/LICENSE
  • packages/manager/modules/core/LICENSE
  • packages/manager/modules/emailpro/LICENSE
  • packages/manager/modules/enterprise-cloud-database/LICENSE
  • packages/manager/modules/error-page/LICENSE
  • packages/manager/modules/exchange/LICENSE
  • packages/manager/modules/freefax/LICENSE
  • packages/manager/modules/mfa-enrollment/LICENSE
  • packages/manager/modules/navbar/LICENSE
  • packages/manager/modules/office/LICENSE
  • packages/manager/modules/overthebox/LICENSE
  • packages/manager/modules/pci/LICENSE
  • packages/manager/modules/request-tagger/LICENSE
  • packages/manager/modules/server-sidebar/LICENSE
  • packages/manager/modules/sharepoint/LICENSE
  • packages/manager/modules/sign-up/LICENSE
  • packages/manager/modules/sms/LICENSE
  • packages/manager/modules/support/LICENSE
  • packages/manager/modules/telecom-dashboard/LICENSE
  • packages/manager/modules/telecom-styles/LICENSE
  • packages/manager/modules/telecom-task/LICENSE
  • packages/manager/modules/telecom-universe-components/LICENSE
  • packages/manager/modules/vrack/LICENSE
  • packages/manager/modules/web-universe-components/LICENSE
  • packages/manager/modules/welcome/LICENSE
  • packages/manager/tools/component-rollup-config/LICENSE
  • packages/manager/tools/sao-ovh-manager-app/LICENSE
  • packages/manager/tools/sao-ovh-manager-module/LICENSE
  • packages/manager/tools/webpack-config/LICENSE
  • packages/manager/tools/webpack-dev-server/LICENSE

Every LICENSE files under a private package can be removed.
Their README.md file must be updated with an absolute URL which targets the root one.

Absolute URL: https://github.com/ovh/manager/blob/master/LICENSE

Missing ng-strict-di in generated application

Describe the bug
Missing data-ng-strict-di in generated application

To Reproduce
Steps to reproduce the behavior:

  1. yarn run generate:app ./packages/manager/apps/foo
  2. The generated index.html doesn't contains the data-ng-strict-di

Expected behavior
The generated index.html should contains the data-ng-strict-di

Naming convention

Why ?

  • have a uniform codebase
  • avoid endless discussions
  • makes code easier to read

Proposal

Letter case

Javascript

TYPE CONVENTION EXAMPLE
Class UpperCamel MyClass {}
Function lowerCamel const myFunction = function(){};
Class attribute lowerCamel this.myAttribute = {};
Constant ALL_CAPS const MY_CONSTANT = "https://www.ovh.com";
Function argument lowerCamel function (myArgument) { return myArgument; }

AngularJS

TYPE CONVENTION EXAMPLE HAS SUFFIX
Module lowerCamel myModule
Controller lowerCamel myController Yes
Service lowerCamel myService Yes
Factory lowerCamel myFactory Yes
Directive lowerCamel myDirective
Component lowerCamel myComponent
Filter lowerCamel myFilter
Translation lowerCamel myTranslation

File naming

${name-of-the-feature}.${type}.js

i.e.:

  • user.controller.js
  • service-pack.service.js

Why ?
It's the way it is currently and I don't have a valid rebuttal

Module naming

ovhManager${HierarchycalLevel1}${HierarchycalLevel2}

i.e.:

  • ovhManagerPciPrivateNetworks

Why ?
It creates a unique name of each module

Directive and component names

${nameOfTheFeature}

Why ?
It's the way AngularJS wants us to do ๐ŸŽ‰

Controller names

โš ๏ธ avoid using Controller whenever you can, use a Component or a Directive instead
${nameOfTheFeature}Ctrl

i.e.:

  • userCtrl
  • servicePackCtrl

Why ?
Makes it easy to differenciate compared to linked Component or Directive

Service and factory names

Proposal 1

${NameOfTheFeature}
i.e.:

  • User
  • ServicePack

Why ?

  • Makes it easy to differentiate compared to linked Component or Directive
  • Services are singletons and singleton names starts with an upper case

Rebuttal
Makes it harder to differentiate of its Class name

import User from './user.service';

export default class {
  /* @ngInject */
  constructor(User) { // 'User' is already declared in the upper scope
    this.User = User;
  }
}

One easy solution would be to name the Class import differently

import UserClass from './user.service';

export default class {
  /* @ngInject */
  constructor(User) {
    this.User = User;
  }
}

Proposal 2

${nameOfTheFeature}Service
i.e.:

  • userService
  • servicePackService

Why ?

  • Makes it easy to differentiate compared to linked Component or Directive
  • Same convention as the Controller
  • services are meant to be instantiated and instances uses lowerCamel
this.userService.getUser(this.serviceName);

Proposal 3

${NameOfTheFeature}Service
i.e.:

  • UserService
  • ServicePackService

Why ?

  • best of Proposal 1 and Proposal 2

Translation names

Proposal 1

${unique_name_for_the_translation}
i.e.:

  • pcc_dashboard_options_basic_action_menu_activation

Proposal 2

${featureName1}_${featureName2}
i.e.:

  • pcc_dashboard_options_basic_actionMenu_activation

In PCC, in the dashboard, in the options, only for basic options, in the action menu, this is the text for the activation menu item

Resources

SMS - Order - Quantity needed field not display correctly

Describe the bug
The Quantity needed field doesn't display correctly. We cannot properly see the current value.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Telecom Control Panel
  2. Click on 'Order'
  3. Click on 'SMS'
  4. Select 'Number of credits:' > 'Other'
  5. See error

Expected behavior
Be able to see the quantity inside the field.

Screenshots

Before:

sms-order-quantity-before

After:

sms-order-quantity-after

Typo in generate:module

Describe the bug
Typo in CLI message

To Reproduce
Steps to reproduce the behavior:

  1. yarn run generate:module ./packages/manager/modules/foo
  2. The CLI ask How would you descripe the new module

Expected behavior
It should ask How would you describe the new module

Script clean

Describe the bug
Lerna: not found

To Reproduce
Steps to reproduce the behavior:

  1. run $ yarn install
  2. run $ yarn clean (first time)
  3. run $ yarn clean (second time)
  4. See error

Expected behavior
Lerna command must be found.

Additional context

antoine@desktop: ~/Code/manager on develop
$ ll
total 588
-rw-rw-r--    1 antoine antoine      0 Nov 14 20:10 CHANGELOG.md
-rw-rw-r--    1 antoine antoine    283 Nov 15 21:13 lerna.json
-rw-rw-r--    1 antoine antoine   1512 Nov 14 20:10 LICENSE
drwxrwxr-x    2 antoine antoine   4096 Nov 14 20:10 loaders
drwxrwxr-x 1300 antoine antoine  36864 Nov 15 21:14 node_modules
-rw-rw-r--    1 antoine antoine   1594 Nov 15 21:13 package.json
drwxrwxr-x    5 antoine antoine   4096 Nov 15 21:13 packages
-rw-rw-r--    1 antoine antoine    429 Nov 15 21:13 README.md
drwxrwxr-x    4 antoine antoine   4096 Nov 15 21:13 scripts
-rw-rw-r--    1 antoine antoine 534328 Nov 15 21:13 yarn.lock
antoine@desktop: ~/Code/manager on develop
$ yarn clean
yarn run v1.12.3
$ lerna clean -y && npx rimraf dist node_modules
lerna notice cli v3.4.3
lerna info versioning independent
lerna info clean removing /home/antoine/Code/manager/packages/manager-core/node_modules
lerna info clean removing /home/antoine/Code/manager/packages/manager-layout-ovh/node_modules
lerna info clean removing /home/antoine/Code/manager/packages/manager-welcome/node_modules
lerna success clean finished
Done in 3.62s.
antoine@desktop: ~/Code/manager on develop
$ yarn clean
yarn run v1.12.3
$ lerna clean -y && npx rimraf dist node_modules
/bin/sh: 1: lerna: not found
error Command failed with exit code 127.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

ovh-angular-jsplumb

Migrate ovh-angular-jsplumb component

The goals of the migrations is:

  • Drop the Bower support
  • Apply ESLint Airbnb rules
  • Provide clean and concise README file.

We might consider using the share rollup configuration (cf: component-rollup-config)

Requirements

๐Ÿ‘€ Does the component is still used?

  • yes/no

๐Ÿ’… Does the component must be renamed?

  • yes/no (provide the new name)

๐Ÿšจ Does the component has a dependency to another pending migration?

  • yes/no (provide the modules' list)

โš“๏ธ Related pull request

Installation failed: connect ECONNREFUSED

Describe the bug
Not able to install the project.

To Reproduce
Steps to reproduce the behavior:

  1. Clone the project (latest master commit 92d58b5)
  2. Run yarn install
  3. See error

Expected behavior
Project should be installed successfully.

Additional context

yarn install is not able to install (resolved) @ovh-ux/manager-navbar due to a wrong resolved value inside yarn.lock file.

cf: yarn.lock#L1660 (master branch)

Related: #690, #775

Standalone applications cannot be started

Describe the bug
I'm trying to launch some standalone applications like:

  • @ovh-ux/manager-freefax
  • @ovh-ux/manager-overthebox
  • @ovh-ux/manager

But the console reported me this following:

Uncaught TypeError: _ovh_ux_manager_config__WEBPACK_IMPORTED_MODULE_0__.Environment.getVersion is not a function
    at eval (index.js:5694)
    at Object.invoke (angular.js:5141)
    at eval (angular.js:4940)
    at forEach (angular.js:387)
    at createInjector (angular.js:4940)
    at doBootstrap (angular.js:1960)
    at bootstrap (angular.js:1981)
    at angularInit (angular.js:1866)
    at HTMLDocument.eval (angular.js:36430)
    at fire (eval at module.exports (addScript.js:NaN), <anonymous>:3187:31)

To Reproduce
Steps to reproduce the behavior:

  1. Go to a standalone application location (e.g.: packages/manager/apps/freefax)
  2. Run yarn run start:dev
  3. See error

Expected behavior
Standalone application must work.

Additional context
Seems related to #1525

ovh-angular-form-flat

Migrate ovh-angular-form-flat component

The goals of the migrations is:

  • Drop the Bower support
  • Apply ESLint Airbnb rules
  • Provide clean and concise README file.

We might consider using the share rollup configuration (cf: component-rollup-config)

Requirements

๐Ÿ‘€ Does the component is still used?

  • yes! on ovh-manager-cloud only.

๐Ÿ’… Does the component must be renamed?

    • yes! must be renamed to ng-ovh-form-flat.

๐Ÿšจ Does the component has a dependency to another pending migration?

  • no.

โš“๏ธ Related pull request

ovh-api-services

Migrate ovh-api-services component

The goals of the migrations is:

  • Drop the Bower support
  • Apply ESLint Airbnb rules
  • Provide clean and concise README file.

We might consider using the share rollup configuration (cf: component-rollup-config)

Requirements

๐Ÿ‘€ Does the component is still used?

  • yes

๐Ÿ’… Does the component must be renamed?

  • no (not yet)

๐Ÿšจ Does the component has a dependency to another pending migration?

  • no

โš“๏ธ Related pull request

Integrate favicons only once via manager-webpack-config

Is your feature request related to a problem? Please describe.
Favicons were updated and fixed via #1686 but the downside about this Pull request is that all favicons are now duplicate across all existings applications.

Describe the solution you'd like
Since all applications (web, server (dedicated + cloud), public cloud and telecom) are using the same shared configuration @ovh-ux/manager-webpack-config, we can take benefit to inject them at the build phase.

Describe alternatives you've considered
None.

Additional context
None.

ng-at-internet

Migrate ng-at-internet component

The goals of the migrations is:

  • Drop the Bower support
  • Apply ESLint Airbnb rules
  • Provide clean and concise README file.

We might consider using the share rollup configuration (cf: component-rollup-config)

Requirements

๐Ÿ‘€ Does the component is still used?

  • yes!

๐Ÿ’… Does the component must be renamed?

  • yes! must be renamed to ngAtInternet.

๐Ÿšจ Does the component has a dependency to another pending migration?

  • no!

โš“๏ธ Related pull request

ovh-angular-toaster

Migrate ovh-angular-toaster component

The goals of the migrations is:

  • Drop the Bower support
  • Apply ESLint Airbnb rules
  • Provide clean and concise README file.

We might consider using the share rollup configuration (cf: component-rollup-config)

Requirements

๐Ÿ‘€ Does the component is still used?

  • yes! on ovh-manager-cloud only.

๐Ÿ’… Does the component must be renamed?

  • yes! must be renamed to ngOvhToaster

๐Ÿšจ Does the component has a dependency to another pending migration?

  • no.

โš“๏ธ Related pull request

ovh-ngstrap

Migrate ovh-ngstrap component

The goals of the migrations is:

  • Drop the Bower support
  • Apply ESLint Airbnb rules
  • Provide clean and concise README file.

We might consider using the share rollup configuration (cf: component-rollup-config)

Requirements

๐Ÿ‘€ Does the component is still used?

  • yes! only on the ovh-manager-telecom.

๐Ÿ’… Does the component must be renamed?

  • yes! must be renamed to ng-ovh-strap.

๐Ÿšจ Does the component has a dependency to another pending migration?

  • no.

โš“๏ธ Related pull request

Please list here the related pull request.

ovh-angular-jquery-ui-droppable

Migrate ovh-angular-jquery-ui-droppable component

The goals of the migrations is:

  • Drop the Bower support
  • Apply ESLint Airbnb rules
  • Provide clean and concise README file.

We might consider using the share rollup configuration (cf: component-rollup-config)

Requirements

๐Ÿ‘€ Does the component is still used?

  • yes!

๐Ÿ’… Does the component must be renamed?

  • yes! must be named ng-ovh-jquery-ui-droppable

๐Ÿšจ Does the component has a dependency to another pending migration?

  • no!

โš“๏ธ Related pull request

ovh-angular-contact

Migrate ovh-angular-contact component

The goals of the migrations is:

  • Drop the Bower support
  • Apply ESLint Airbnb rules
  • Provide clean and concise README file.

We might consider using the share rollup configuration (cf: component-rollup-config)

Requirements

๐Ÿ‘€ Does the component is still used?

  • yes/no

๐Ÿ’… Does the component must be renamed?

  • yes/no (provide the new name)

๐Ÿšจ Does the component has a dependency to another pending migration?

  • yes/no (provide the modules' list)

โš“๏ธ Related pull request

Please list here the related pull request.

Component Rollup Configuration - Inject translation imports

Is your feature request related to a problem? Please describe.
By the past we used to manage translation with the default XML format.

We are now using the JSON format to be compatible with angular-translate.

Describe the solution you'd like
Introduce a BREAKING CHANGE to set the default format as json here:
https://github.com/ovh/manager/blob/master/packages/manager/tools/component-rollup-config/src/plugins/translation-utils.ts#L93

Describe alternatives you've considered
None.

Additional context
None.

ovh-angular-module-status

Migrate ovh-angular-module-status component

The goals of the migrations is:

  • Drop the Bower support
  • Apply ESLint Airbnb rules
  • Provide clean and concise README file.

We might consider using the share rollup configuration (cf: component-rollup-config)

Requirements

๐Ÿ‘€ Does the component is still used?

  • no.

๐Ÿ’… Does the component must be renamed?

  • no.

๐Ÿšจ Does the component has a dependency to another pending migration?

  • no.

โš“๏ธ Related pull request

  • none.

at-internet-ui-router-plugin

Migrate at-internet-ui-router-plugin component

The goals of the migrations is:

  • Drop the Bower support
  • Apply ESLint Airbnb rules
  • Provide clean and concise README file.

We might consider using the share rollup configuration (cf: component-rollup-config)

Requirements

๐Ÿ‘€ Does the component is still used?

  • yes!

๐Ÿ’… Does the component must be renamed?

  • yes! must be renamed to ngAtInternetUiRouterPlugin

๐Ÿšจ Does the component has a dependency to another pending migration?

  • yes! [ng-at-internet]

โš“๏ธ Related pull request

ovh-angular-slider

Migrate ovh-angular-slider component

The goals of the migrations is:

  • Drop the Bower support
  • Apply ESLint Airbnb rules
  • Provide clean and concise README file.

We might consider using the share rollup configuration (cf: component-rollup-config)

Requirements

๐Ÿ‘€ Does the component is still used?

  • yes! only on the ovh-manager-cloud.

๐Ÿ’… Does the component must be renamed?

  • yes! must be renamed to ng-ovh-slider.

๐Ÿšจ Does the component has a dependency to another pending migration?

  • no.

โš“๏ธ Related pull request

ovh-angular-responsive-page-switcher

Migrate ovh-angular-responsive-page-switcher component

The goals of the migrations is:

  • Drop the Bower support
  • Apply ESLint Airbnb rules
  • Provide clean and concise README file.

We might consider using the share rollup configuration (cf: component-rollup-config)

Requirements

๐Ÿ‘€ Does the component is still used?

  • yes/no

๐Ÿ’… Does the component must be renamed?

  • yes/no (provide the new name)

๐Ÿšจ Does the component has a dependency to another pending migration?

  • yes/no (provide the modules' list)

โš“๏ธ Related pull request

ovh-angular-browser-alert

Migrate ovh-angular-browser-alert component

The goals of the migrations is:

  • Drop the Bower support
  • Apply ESLint Airbnb rules
  • Provide clean and concise README file.

We might consider using the share rollup configuration (cf: component-rollup-config)

Requirements

๐Ÿ‘€ Does the component is still used?

  • yes/no

๐Ÿ’… Does the component must be renamed?

  • yes/no (provide the new name)

๐Ÿšจ Does the component has a dependency to another pending migration?

  • yes/no (provide the modules' list)

โš“๏ธ Related pull request

Please list here the related pull request.

ovh-manager-webfont

Migrate ovh-manager-webfont component

The goals of the migrations is:

  • Drop the Bower support
  • Apply ESLint Airbnb rules
  • Provide clean and concise README file.

We might consider using the share rollup configuration (cf: component-rollup-config)

Requirements

๐Ÿ‘€ Does the component is still used?

  • yes.

๐Ÿ’… Does the component must be renamed?

  • it depends if we move all icons directly to the Oui Icons or not.

๐Ÿšจ Does the component has a dependency to another pending migration?

  • no.

โš“๏ธ Related pull request

Please list here the related pull request.

ovh-angular-doubleauth-backupcode

Migrate ovh-angular-doubleauth-backupcode component

The goals of the migrations is:

  • Drop the Bower support
  • Apply ESLint Airbnb rules
  • Provide clean and concise README file.

We might consider using the share rollup configuration (cf: component-rollup-config)

Requirements

๐Ÿ‘€ Does the component is still used?

  • no

๐Ÿ’… Does the component must be renamed?

  • no

๐Ÿšจ Does the component has a dependency to another pending migration?

  • no

โš“๏ธ Related pull request

  • none

ovh-angular-swimming-poll

Migrate ovh-angular-swimming-poll component

The goals of the migrations is:

  • Drop the Bower support
  • Apply ESLint Airbnb rules
  • Provide clean and concise README file.

We might consider using the share rollup configuration (cf: component-rollup-config)

Requirements

๐Ÿ‘€ Does the component is still used?

  • yes!

๐Ÿ’… Does the component must be renamed?

  • yes! must be renamed to ng-ovh-swimming-poll.

๐Ÿšจ Does the component has a dependency to another pending migration?

  • no.

โš“๏ธ Related pull request

ovh-common-style

Migrate ovh-common-style component

The goals of the migrations is:

  • Drop the Bower support
  • Apply ESLint Airbnb rules
  • Provide clean and concise README file.

We might consider using the share rollup configuration (cf: component-rollup-config)

Requirements

๐Ÿ‘€ Does the component is still used?

  • yes

๐Ÿ’… Does the component must be renamed?

  • no (must be deprecated)

๐Ÿšจ Does the component has a dependency to another pending migration?

  • no

โš“๏ธ Related pull request

no.

ovh-angular-timeline

Migrate ovh-angular-timeline component

The goals of the migrations is:

  • Drop the Bower support
  • Apply ESLint Airbnb rules
  • Provide clean and concise README file.

We might consider using the share rollup configuration (cf: component-rollup-config)

Requirements

๐Ÿ‘€ Does the component is still used?

  • yes! on ovh-manager-telecom ony.

๐Ÿ’… Does the component must be renamed?

  • yes! must be renamed to ng-ovh-timeline

๐Ÿšจ Does the component has a dependency to another pending migration?

  • no.

โš“๏ธ Related pull request

Please list here the related pull request.

Wrong module name case in generated app

Describe the bug
When we generate an application, the

To Reproduce
Steps to reproduce the behavior:

  1. yarn run generate:app ./packages/manager/apps/foo-bar
  2. The module name is foo-barApp in generated files

Expected behavior
The module name should be fooBarApp

Build with node 12: update node-sass to 4.12+

Description

Cannot build with node 12, because of node-sass being < 4.12

Steps to Reproduce

  1. install node 12
  2. yarn install

Expected behavior:

yarn should install and compile everything

Actual behavior:

compilation of node-sass fails, errors seems related to dependency package "nan"

Reproduces how often:

everytime

ovh-angular-doc-url

Migrate ovh-angular-doc-url component

The goals of the migrations is:

  • Drop the Bower support
  • Apply ESLint Airbnb rules
  • Provide clean and concise README file.

We might consider using the share rollup configuration (cf: component-rollup-config)

Requirements

๐Ÿ‘€ Does the component is still used?

  • yes! on ovh-manager-cloud only.

๐Ÿ’… Does the component must be renamed?

  • yes! must be renamed to ng-ovh-doc-url.

๐Ÿšจ Does the component has a dependency to another pending migration?

  • no

โš“๏ธ Related pull request

Installation failed: connect ECONNREFUSED

Describe the bug
Not able to install the project.

To Reproduce
Steps to reproduce the behavior:

  1. Clone the project (latest master commit 31f00871)
  2. Run yarn install
  3. See error

Expected behavior
Project should be installed successfully.

Additional context

yarn install is not able to install (resolved) @ovh-ux/manager-navbar due to a wrong resolved value inside yarn.lock file.

cf: yarn.lock#L1660 (master branch)

Related: #690

Application Public Cloud - $locationProvider - remove default value for the prefix

Is your feature request related to a problem? Please describe.
If we pay attention to the URL prefix we still have /!#/url.

Describe the solution you'd like

  • Remove existing prefix '!'.
  .config(/* @ngInject */ $locationProvider => $locationProvider.hashPrefix(''))

Describe alternatives you've considered

  • None.

Additional context

  • All control panel (also known as Manager) doesn't have any prefix.

ref: https://docs.angularjs.org/api/ng/provider/$locationProvider

Installation failed: connect ECONNREFUSED

Describe the bug
Not able to install the project.

To Reproduce
Steps to reproduce the behavior:

  1. Clone the project (latest master commit 9c52985)
  2. Run yarn install
  3. See error

Expected behavior
Project should be installed successfully.

Additional context

yarn install is not able to install (resolved) @ovh-ux/manager-navbar due to a wrong resolved value inside yarn.lock file.

cf: yarn.lock#L1660 (master branch)

ovh-angular-line-diagnostic

Migrate ovh-angular-line-diagnostic component

The goals of the migrations is:

  • Drop the Bower support
  • Apply ESLint Airbnb rules
  • Provide clean and concise README file.

We might consider using the share rollup configuration (cf: component-rollup-config)

Requirements

๐Ÿ‘€ Does the component is still used?

  • yes/no

๐Ÿ’… Does the component must be renamed?

  • yes/no (provide the new name)

๐Ÿšจ Does the component has a dependency to another pending migration?

  • yes/no (provide the modules' list)

โš“๏ธ Related pull request

Please list here the related pull request.

Set `yarn` engine to `>=1.17.3`

Is your feature request related to a problem? Please describe.
Yarn recently published an article on their blog that refer to a vulnerability (see: Additional context).

Describe the solution you'd like
Update the yarn entry from the engines part of the package.json file.

diff --git a/package.json b/package.json
index a5df24c28786..7b655c1a7b0b 100644
--- a/package.json
+++ b/package.json
@@ -67,6 +67,6 @@
   },
   "engines": {
     "node": ">=8.11",
-    "yarn": ">=1.12.3"
+    "yarn": ">=1.17.3"
   }
 }

Describe alternatives you've considered
Update also the Docker image used in our CI/CD system.

Additional context
Blog post: https://yarnpkg.com/blog/2019/07/12/recommended-security-update/

ovh-angular-toggleClass

Migrate ovh-angular-toggleClass component

The goals of the migrations is:

  • Drop the Bower support
  • Apply ESLint Airbnb rules
  • Provide clean and concise README file.

We might consider using the share rollup configuration (cf: component-rollup-config)

Requirements

๐Ÿ‘€ Does the component is still used?

  • no.

๐Ÿ’… Does the component must be renamed?

  • no.

๐Ÿšจ Does the component has a dependency to another pending migration?

  • no.

โš“๏ธ Related pull request

  • none.

ovh-angular-checkbox-table

Migrate ovh-angular-checkbox-table component

The goals of the migrations is:

  • Drop the Bower support
  • Apply ESLint Airbnb rules
  • Provide clean and concise README file.

We might consider using the share rollup configuration (cf: component-rollup-config)

Requirements

๐Ÿ‘€ Does the component is still used?

  • yes!

๐Ÿ’… Does the component must be renamed?

  • yes! must be renamed to ng-ovh-checkbox-table.

๐Ÿšจ Does the component has a dependency to another pending migration?

  • no.

โš“๏ธ Related pull request

ovh-angular-stop-event

Migrate ovh-angular-stop-event component

The goals of the migrations is:

  • Drop the Bower support
  • Apply ESLint Airbnb rules
  • Provide clean and concise README file.

We might consider using the share rollup configuration (cf: component-rollup-config)

Requirements

๐Ÿ‘€ Does the component is still used?

  • yes! only on ovh-manager-cloud.

๐Ÿ’… Does the component must be renamed?

  • yes! must be renamed to ng-ovh-stop-event.

๐Ÿšจ Does the component has a dependency to another pending migration?

  • no.

โš“๏ธ Related pull request

Please list here the related pull request.

ovh-angular-ui-confirm-modal

Migrate ovh-angular-ui-confirm-modal component

The goals of the migrations is:

  • Drop the Bower support
  • Apply ESLint Airbnb rules
  • Provide clean and concise README file.

We might consider using the share rollup configuration (cf: component-rollup-config)

Requirements

๐Ÿ‘€ Does the component is still used?

  • yes! on ovh-manager-telecom only.

๐Ÿ’… Does the component must be renamed?

  • yes! must be renamed to ng-ovh-ui-confirm-modal

๐Ÿšจ Does the component has a dependency to another pending migration?

  • no.

โš“๏ธ Related pull request

Please list here the related pull request.

ovh-angular-a-disabled

Migrate ovh-angular-a-disabled component

The goals of the migrations is:

  • Drop the Bower support
  • Apply ESLint Airbnb rules
  • Provide clean and concise README file.

We might consider using the share rollup configuration (cf: component-rollup-config)

Requirements

๐Ÿ‘€ Does the component is still used?

  • yes! only on the ovh-manager-cloud.

๐Ÿ’… Does the component must be renamed?

  • no! must be archived.

๐Ÿšจ Does the component has a dependency to another pending migration?

  • no.

โš“๏ธ Related pull request

ovh-angular-export-csv

Migrate ovh-angular-export-csv component

The goals of the migrations is:

  • Drop the Bower support
  • Apply ESLint Airbnb rules
  • Provide clean and concise README file.

We might consider using the share rollup configuration (cf: component-rollup-config)

Requirements

๐Ÿ‘€ Does the component is still used?

  • yes

๐Ÿ’… Does the component must be renamed?

  • yes

๐Ÿšจ Does the component has a dependency to another pending migration?

  • no

โš“๏ธ Related pull request

Multiple version of @ovh-ux/ng-ovh-otrs

Describe the bug

When starting the @ovh-ux/manager-public-cloud application, webpack reports
this following warning:

@ovh-ux/manager-public-cloud: @ovh-ux/ng-ovh-otrs
@ovh-ux/manager-public-cloud:   Multiple versions of @ovh-ux/ng-ovh-otrs found:
@ovh-ux/manager-public-cloud:     7.1.11 /home/foo/bar/github/ovh-ux/manager/~/@ovh-ux/ng-ovh-otrs
@ovh-ux/manager-public-cloud:     7.1.4 ./~/@ovh-ux/ng-ovh-otrs
@ovh-ux/manager-public-cloud: Check how you can resolve duplicate packages: 
@ovh-ux/manager-public-cloud: https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin#resolving-duplicate-packages-in-your-bundle

To Reproduce
Steps to reproduce the behavior:

  1. Go to packages/manager/apps/public-cloud
  2. Run yarn run start:dev
  3. See error

Expected behavior
No warning should be displayed in the console.

ovh-angular-input-number-spinner

Migrate ovh-angular-input-number-spinner component

The goals of the migrations is:

  • Drop the Bower support
  • Apply ESLint Airbnb rules
  • Provide clean and concise README file.

We might consider using the share rollup configuration (cf: component-rollup-config)

Requirements

๐Ÿ‘€ Does the component is still used?

  • yes

๐Ÿ’… Does the component must be renamed?

  • no (must be deprecated)

๐Ÿšจ Does the component has a dependency to another pending migration?

  • no

โš“๏ธ Related pull request

no

Only French guides linked

Description

When trying to open a guide trough the OVH Web Control Panel all referenced guides are written in French, even though the interface language is set to English (or other). The title/link text is in English but the links URL still leads to the French version of the guide.

Steps to Reproduce

  1. Log into OVH Web Control Panel
  2. Set language to English
    3.A) Open Web > Domains > [a_domain] > Guides > General information
    3.B) Open Web > Emails > [a_domain] > Guides > General information
  3. Open Guide

Expected behavior:

A new tab with the selected guide written in the English language should open.

Actual behavior:

A new tab with the selected guide written in the French language opens. Example:
OVH_Web_Bug

Reproduces how often:
100%

Additional Information

French links seem to be hardcoded in (credit to @ResuBaka):
ovh-manager-web/client/app/configuration/configuration.controller.js

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.