Giter VIP home page Giter VIP logo

netam's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar renovate-bot avatar rigonkmalk avatar sebastiendeu avatar vfricou avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

fossabot

netam's Issues

bug: available ip address calculation

Describe the bug
In case of full range filling, incoherence between free ip count and matrix listing. Matrix indicate no free IP but counter indicate two remaining IP.

To Reproduce
Steps to reproduce the behavior:
Go to section with full filed range, and constate matrix and counter and chart

Expected behavior
No display free IP address when range is full filled

NetAM Version

  • Release: 1.4.0

feat: TOTP

  • Add TOTP confirmations before accept enabling.
  • Add TOTP serial displaying to add TOTP in software which can't scan QRCode

feat: translation

Finish all interface translation for requesteds langs :

  • French
  • German
  • Spanish
  • Italian

feat: uniformize csv export and import format

Is your feature request related to a problem? Please describe.
Actually, the csv files generated by section export aren't conform to import processus.

Describe the solution you'd like
Uniformize headers and states labels in export process

Error on backup jobs in docker images

Backup jobs fails when worker is stored in docker.

Missing postgresql-client package

[email protected]    | 2020-10-19T07:58:59.829Z pid=1 tid=t61 class=BackupDatabaseWorker jid=bcdc0e96046e77e7ad47bd3d INFO: start
[email protected]    | 2020-10-19T07:58:59.841Z pid=1 tid=t61 class=BackupDatabaseWorker jid=bcdc0e96046e77e7ad47bd3d elapsed=0.012 INFO: fail
[email protected]    | 2020-10-19T07:58:59.842Z pid=1 tid=t61 WARN: {"context":"Job raised exception","job":{"retry":true,"queue":"default","class":"BackupDatabaseWorker","args":[],"jid":"bcdc0e96046e77e7ad47bd3d","created_at":1603094339.8279374,"enqueued_at":1603094339.8282967},"jobstr":"{\"retry\":true,\"queue\":\"default\",\"class\":\"BackupDatabaseWorker\",\"args\":[],\"jid\":\"bcdc0e96046e77e7ad47bd3d\",\"created_at\":1603094339.8279374,\"enqueued_at\":1603094339.8282967}"}
[email protected]    | 2020-10-19T07:58:59.842Z pid=1 tid=t61 WARN: Errno::ENOENT: No such file or directory - pg_dump
[email protected]    | 2020-10-19T07:58:59.842Z pid=1 tid=t61 WARN: /app/lib/backup/database.rb:23:in `spawn'

Upgrade frontend navigation

idée

image

Tasks

  • Use kaminari as pagination instead of datatable
  • Replace Model.all with Model.accessible_by(current_ability) when cancancan is configured
  • Use svg icons sprite
  • Replace admin-lte with native css
  • Delete jQuery
  • Implement TypeSense for search

Guides

  • Don't use jQuery, prefer native JavaScript
  • Use Vue.js components when JavaScript is too complex
  • Use Vue.js or partial when code is repeated

Language

  1. Provide the new i18n languages in interface:
  • German
  • Spanish
  • Italian
  1. Provide dropdown to switch language

migration to v1.3.0 scan issue

Problem after update to v1.3.0.

All scans failed with error :

E, [2020-10-19T07:17:33.655918 #1] ERROR -- : [ActiveJob] [ScanNetworkWithPingJob] [8f37429b-3b27-4558-a272-2358ee8a2600] Error performing ScanNetworkWithPingJob (Job ID: 8f37429b-3b27-4558-a272-2358ee8a2600) from Sidekiq(default) in 3844.96ms: ArgumentError (All objects being inserted must have the same keys):

Problem caused by missing database manipulation at upgrade. All identifier fields in database are empty.

feat: tools to scan undeclared network range

Is your feature request related to a problem? Please describe.
Sometimes, we've sporadic need to scan network range, but this no require integration in section.

Describe the solution you'd like
A tool to perform these scan type without declare a new section.

feat: section schedule form field

Scan scheduling field is not realy usefull.

Refactor it to use :

  • Dropdown selector for hours / days / weeks / months / years
  • Text box to enter according number

bug: Get Unused IP button not work

Describe the bug
Get Unused IP button no return any IP address. Display an empty popup

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Section'
  2. Click on 'View'
  3. Click on 'Get Unused button'

NetAM Version

  • Release: 1.5.1

feat: add rackspace management

Rack definition :

  • Location
  • Name
  • Size (U numbers)

Device allocation :

  • Affection of device into one or more rack positions
  • Attachment positioning (front / interior / back)

Refactor getIP

Process:

  1. Use javascript to request IP from API
  2. Display modal with this IP

feat: docker improvements

  • Use github action to build images and push to docker hub
  • Setup rootless docker image
  • Reduce data copied in final image

Accès rapide selon statut

Sur la page d'aperçu de la section, il faudrait pouvoir cliquer sur un statut et avoir les ips concernées qui s'affichent

Release v2.0.0

Release

  • Change version to 2.0.0
  • Create Release note + tag

Verification

  • Check new images on Docker Hub

Dev branch step

  • Change version on dev branch to 2.1.0-pre

Notifications

Ability to send notifications (if activated)

Type

Tasks notifications

  • Scan run
  • Section scheduling

Query actions

  • Get unused IP (Migrated into 1.5.0 with function refactor)

Methods

  • Slack
  • MSTeams
  • E-Mail

bug: color scheme coherance

Problem on section color scheme coherance between graph and others.

Lock state color must be different from active state

bug: insertion of usage with bad identifier pattern

Describe the bug
If new usage created (manually), the field inserted in database is : _<ip address> instead of <sectionID>_<ip address>

This cause schedules fails and impossibility to update section.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Sections'
  2. Click on 'View'
  3. Create a new usage
  4. See in database new usage created

NetAM Version

  • Release: 1.5.1

Additional context
To test on above versions.

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.