Skip to content
Snippets Groups Projects
  1. Jan 02, 2018
  2. Dec 22, 2017
  3. Dec 21, 2017
  4. Dec 20, 2017
  5. Dec 19, 2017
  6. Dec 18, 2017
    • Benjamin Bertrand's avatar
      Define temporary ICS id that can be changed · fd3109c4
      Benjamin Bertrand authored
      It shouldn't be possible to change the ICS id of an item.
      But when registering a bunch of existing items via the API, we need to
      allocate an ics_id otherwise not much can be done in the interface.
      The id is required for the view and edit page.
      
      The solution is to define some "temporary" ids that don't correspond to
      any pre-printed labels.
      Items with a temporary id can be assigned a real ics_id when assigning a
      label.
      
      Reserved ids start with 'ZZ' (from ZZA000 to ZZZ999)
      
      ICS id can now be non nullable.
      fd3109c4
    • Benjamin Bertrand's avatar
      Clean some javascript · f503049c
      Benjamin Bertrand authored
      f503049c
    • Benjamin Bertrand's avatar
      Pass selected values to register network form · 8d4e8f94
      Benjamin Bertrand authored
      Allow to customize the default selected values:
      - the default network prefix can be defined in the configuration (default to 24)
      - the default first and last IP chosen can probably be improved
        it defaults to hosts[9] and hosts[-5] if the list has more than 15
        elements or the first and last otherwise
      
      Note that when using a small prefix (< 19), the number of possilbe IPs is quite
      large and updating the first and last IP select field takes some time...
      8d4e8f94
    • Benjamin Bertrand's avatar
      Auto-scroll to item comment form · bf099d8f
      Benjamin Bertrand authored
      Scroll up to ensure the from input is not hidden below the navbar.
      
      See https://github.com/twbs/bootstrap/issues/1768
      bf099d8f
Loading