Skip to content
GitLab
    • Explore Projects Groups Topics Snippets
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • fusiondirectory-plugins fusiondirectory-plugins
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 65
    • Issues 65
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • fusiondirectoryfusiondirectory
  • fusiondirectory-pluginsfusiondirectory-plugins
  • Issues
  • #5341
Something went wrong while setting issue due date.
Closed
Open
Issue created 8 years ago by Côme Chilliet@cchillietReporter
  • New related issue

  • New related issue

DHCP tab should be able to load values from template

Closed

DHCP tab should be able to load values from template

From class_dhcpSystem.inc:71 // TODO $this->loadAdditionalTemplatesValues();

(from redmine: issue id 5341, created on 2017-01-24, closed on 2017-06-22)

  • Relations:
    • duplicates #5584 (closed)
    • copied_to #5602
    • copied_to #5619
  • Changesets:
    • Revision 86e69bf6 by Côme Chilliet on 2017-06-13T12:48:32.000Z:
Fixes #5341 Added basic template support for DHCP tab of systems
  • Revision 8a7aeb7d by Côme Chilliet on 2017-06-13T13:13:59.000Z:
Fixes #5341 IP and Mac fields in DHCP tab are now text fields in template
  • Revision 1b90f291 by Côme Chilliet on 2017-06-13T14:21:05.000Z:
Fixes #5341 Changed template field separator in DHCP/DNS to support masks pattern
  • Revision 015c7c4f by Côme Chilliet on 2017-06-14T13:35:09.000Z:
Fixes #5341 Fixed bad behavior of DHCP tab on templates
  • Revision 76c08b07 by Côme Chilliet on 2017-06-15T09:25:59.000Z:
Fixes #5341 Reload DHCP attributes at template creation to be able to use DHCP tab right away
  • Revision a4e571f4 by Côme Chilliet on 2017-06-22T10:28:23.000Z:
Fixes #5341 Fixed bug showing DHCP config twice
  • Custom Fields:
    • Bug in version: 1.1
    • Support contract: None
    • Dolibarr project Name: PJ1610-0019
An error occurred while loading designs. Please try again.

Tasks

0
Cannot read properties of undefined (reading 'workItem')

Linked items
0

Link issues together to show that they're related. Learn more.

Activity


  • Côme Chilliet
    Côme Chilliet @cchilliet · 7 years ago
    Author Reporter

    I added a basic support for DHCP tab, we can only fill it with @%ipHostNumber%@ and @%macAddress%@ for now.

    I’m gonna replace the select with a text field next, but to be useful we’re gonna need new pattern modifiers. I was thinking:

    • M for preg_match
    • 4 for IPv4
    • 6 for IPv6

    For a future version we should also try to add a way to generate several values in a multivaluated attribute from a pattern.

    Set time spent

    (from redmine: written on 2017-06-13)

  • Côme Chilliet
    Côme Chilliet @cchilliet · 7 years ago
    Author Reporter

    Set time spent

    (from redmine: written on 2017-06-13)

  • Côme Chilliet
    Côme Chilliet @cchilliet · 7 years ago
    Author Reporter

    Note: I had to change the format of DNS tab templates for supporting modifiers so system templates involving the DNS tab will have to be redone when migrating to 1.2

    (from redmine: written on 2017-06-13)

  • Côme Chilliet
    Côme Chilliet @cchilliet · 7 years ago
    Author Reporter

    Applied in changeset commit:fusiondirectory-plugins|86e69bf6.

    (from redmine: written on 2017-06-13)

  • Côme Chilliet
    Côme Chilliet @cchilliet · 7 years ago
    Author Reporter

    Applied in changeset commit:fusiondirectory-plugins|8a7aeb7d.

    (from redmine: written on 2017-06-13)

  • Côme Chilliet
    Côme Chilliet @cchilliet · 7 years ago
    Author Reporter

    Applied in changeset commit:fusiondirectory-plugins|1b90f291.

    (from redmine: written on 2017-06-13)

  • Jonathan Swaelens
    Jonathan Swaelens @jswaelens · 7 years ago
    Developer

    Hello,

    The modifiers are working perfectly.

    I only need to edit the template after create it to add "dhcp" informations. It will be great to add these directly when we create the template.

    Cheers.

    (from redmine: written on 2017-06-14)

  • Côme Chilliet
    Côme Chilliet @cchilliet · 7 years ago
    Author Reporter

    Should be good now

    Set time spent

    (from redmine: written on 2017-06-14)

  • Côme Chilliet
    Côme Chilliet @cchilliet · 7 years ago
    Author Reporter

    Applied in changeset commit:fusiondirectory-plugins|015c7c4f.

    (from redmine: written on 2017-06-14)

  • Côme Chilliet
    Côme Chilliet @cchilliet · 7 years ago
    Author Reporter

    Set time spent

    (from redmine: written on 2017-06-15)

  • Jonathan Swaelens
    Jonathan Swaelens @jswaelens · 7 years ago
    Developer

    Close issue

    (from redmine: written on 2017-06-15)

  • Côme Chilliet
    Côme Chilliet @cchilliet · 7 years ago
    Author Reporter

    There was a mistake in the code resulting in showing DHCP configurations twice in systems DHCP tab

    Reopen issue

    (from redmine: written on 2017-06-22)

  • Côme Chilliet
    Côme Chilliet @cchilliet · 7 years ago
    Author Reporter

    Applied in changeset commit:fusiondirectory-plugins|a4e571f4.

    (from redmine: written on 2017-06-22)

  • Côme Chilliet
    Côme Chilliet @cchilliet · 7 years ago
    Author Reporter

    Close issue

    (from redmine: written on 2017-06-22)

  • Côme Chilliet added 1h of time spent 7 years ago

    added 1h of time spent

  • Côme Chilliet added 1h of time spent 7 years ago

    added 1h of time spent

  • Côme Chilliet added 30m of time spent 7 years ago

    added 30m of time spent

  • Côme Chilliet added 1h of time spent 7 years ago

    added 1h of time spent

  • Jonathan Swaelens closed 7 years ago

    closed

  • Côme Chilliet reopened 7 years ago

    reopened

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Assignee
Côme Chilliet's avatar
Côme Chilliet
Assign to
Labels
0
None
0
None
    Assign labels
  • Manage project labels

Milestone
No milestone
None
Due date
None
None
None
Time tracking
No estimate or time spent
Confidentiality
Not confidential
Not confidential

You are going to turn on confidentiality. Only project members with at least the Reporter role, the author, and assignees can view or be notified about this issue.

Lock issue
Unlocked
0
0 Participants
Reference:

Menu

Explore Projects Groups Topics Snippets