1. 09 Nov, 2018 1 commit
  2. 09 Oct, 2018 1 commit
  3. 28 Sep, 2018 1 commit
  4. 29 Aug, 2018 1 commit
  5. 24 Aug, 2018 6 commits
  6. 20 Jul, 2018 7 commits
    • Neil Williams's avatar
      Allow LAVA_DB_USER to contain hyphens · df14c92c
      Neil Williams authored
      Change-Id: If77b28ea3b9ecb622fe59504b5526a55b8af943e
    • Neil Williams's avatar
      Simplify and rationalise log permissions · d54b7391
      Neil Williams authored
      Move similar calls into one place, change the directory to have
      setgid as setuid is ignored.
      Use python handlers instead of shells.
      Allow users in the 'adm' group to read all log files and
      start lava-server manage commands.
      Drop recursive mode and permission operations, use glob
      to act on all log files.
      Change-Id: I563b08a2cacfb6cf6fa4a213deaddb48b30e7c4d
    • Neil Williams's avatar
      Create but not edit objects in admin interface · 839a14d0
      Neil Williams authored
      Device, DeviceType and Worker need to be created in the Django
      Admin Interface but not allow editing after creation.
      Change the editable field back but change admin.py to support
      changing the read_only status based on the call being create
      or edit.
      Move latest migration to replace non-editable key changes
      which are no longer required.
      Change-Id: Ie5f565d300408e4697738322ec1e42ec42b50ec9
    • Rémi Duraffort's avatar
      worker: add a link to the admin page · 34cac858
      Rémi Duraffort authored
      Change-Id: I2655501e4352d7064e9ae940cdcfdb77eab6838a
    • Rémi Duraffort's avatar
      Cosmetics · f4c85dd2
      Rémi Duraffort authored
      Change-Id: If24c0e9fdc7c1fd01c1c7bb0590b00bee7b8fdc4
    • Rémi Duraffort's avatar
      Revert "Make primary key non-editable" · 6978ad89
      Rémi Duraffort authored
      With this patch, it's impossible to create the corresponding objects from the
      admin UI.
      This reverts commit 6383230a.
      Change-Id: If6581e9085fbf0e5b84b538fe815188df116f3f7
    • Neil Williams's avatar
      Output a validation error for missing commands: · a6c34e83
      Neil Williams authored
      If a misconfigured device lacks any commands: then
      connection.serial needs to report a validate() error
      instead of the current traceback.
      Change-Id: I6e3769189bc3388e6efd693356ec3b3cdcf2b6e2
  7. 19 Jul, 2018 1 commit
  8. 18 Jul, 2018 8 commits
  9. 17 Jul, 2018 6 commits
    • Matt Hart's avatar
      Add rk3328-rock64 device type · 0736d9d1
      Matt Hart authored
      Change-Id: I645df213647fa35a125389d883bb4732f01d14ad
    • Rémi Duraffort's avatar
      Remove lxc_cmd_prefix from Action class · faa65008
      Rémi Duraffort authored
      Make this an helper function, called when needed as this is only used by
      Android jobs.
      Change-Id: I10584f5f37d4edee5b6a8354bbcd5f393d3b4410
    • Neil Williams's avatar
      Add docs on adding devices in offline state · f770b045
      Neil Williams authored
      Fix a typo related to the meta-lava addition.
      Change-Id: I7fa39348910d63367c279c038a5ffd2c9b4ddc5e
    • Rémi Duraffort's avatar
      Fix notification token after 1a13b85e · 664977da
      Rémi Duraffort authored
      Bug found by meta-lava.
      Change-Id: Idf9a079d2bea30914cc502023d9795abec397573
    • Rémi Duraffort's avatar
      Make primary key non-editable · 6383230a
      Rémi Duraffort authored
      This is confusing most admins because this is not doing what they expect.
      When modifying the primary_key of an object, Django will make a copy of the
      object and change the primary_key of the copy, keeping the original.
      For instance, when a TestJob is running on a Device, changing the Device
      hostname will create a copy of the Running Device without any TestJob attached
      to it.
      Change-Id: Ic7329156c5f45ccdeb42c1a128981d3e36a9d64d
    • Rémi Duraffort's avatar
      Prevent admins for creating some objects · 2b7e5768
      Rémi Duraffort authored
      TestJob, Query, TestCase, ... should never be created in the admin UI because
      this might break assumption about some links with other objects.
      Change-Id: Ia37374f21ad2a1ab94861c09e06642a4662e3ad2
  10. 16 Jul, 2018 8 commits