1. 28 Nov, 2018 1 commit
    • Arkadiusz Hiler's avatar
      Present series state to the user · 9943ab2c
      Arkadiusz Hiler authored
      Include information that series is not complete (i.e. we have received
      less patches than expected, basing on the [xx/yy] tag) and that series
      looks "strange" (i.e. ordering may is off or we have got too many
      patches).
      
      Changes in logic:
      If we get more patches than expected, *do not* reset status to
      incomplete series, we've got the event for queued already anyway.
      Just consider it "strange".
      
      Also, let's include information which revision we are rerunning on the
      rerun button.
      Signed-off-by: Arkadiusz Hiler's avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
      9943ab2c
  2. 27 Nov, 2018 1 commit
  3. 01 Jun, 2018 1 commit
  4. 15 Jan, 2018 1 commit
    • Arkadiusz Hiler's avatar
      urls: Use named URLs · 492485df
      Arkadiusz Hiler authored
      Using the quoted doted path to the view callable object
      (e.g. 'patchwork.views.projects') is going to be deprecated soon.
      Using either the actual callable or a named URL is recommended.
      
      Let future-proof urls.py by using the actual callables there and
      name all the URLs, so we can use the names everywhere else.
      Signed-off-by: Arkadiusz Hiler's avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
      492485df
  5. 10 Nov, 2017 1 commit
    • Arkadiusz Hiler's avatar
      series: Disable "test [...] again" button when appropriate · 4a03e386
      Arkadiusz Hiler authored
      Move the button to a div container, so it can be disabled with an
      overlay with a tooltip.
      
      The button is now disabled if the user is not logged in or is not a
      maintainer of the project, with an appropriate tooltip explaining this.
      
      Also juggle fade_{enable,disable} functions so they are exported as a
      part of the pw object, so we can reuse them for disabling the
      before mentioned button.
      Signed-off-by: Arkadiusz Hiler's avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
      4a03e386
  6. 01 Nov, 2017 1 commit
    • Arkadiusz Hiler's avatar
      series: Add test latest revision again button · 337d9b47
      Arkadiusz Hiler authored
      Before, to rerun tests on a series, we had to go to series lists, search
      for it, select a checkbox and press the button.
      
      This is quality of life improvement that adds the button to the series
      page, so there's less hassle required.
      
      The button is blue, and when clicked it is disabled and turns yellow for
      the duration of request to the server, then turns either green, if the
      rerun was queued successfully, or red when the request has failed.
      
      Button's text also changes to reflect the current state.
      
      To re-enable the button (e.g. in unusual scenario of queueing two
      reruns) page needs to be refreshed.
      Signed-off-by: Arkadiusz Hiler's avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
      337d9b47
  7. 09 Feb, 2016 1 commit
  8. 25 Jan, 2016 1 commit
    • Damien Lespiau's avatar
      series: Store the last revision in the series object · d97ca94a
      Damien Lespiau authored
      I've been postponing this for some time, but it's better to have a
      foreign key to the latest series than caching some of its data on the
      Series object.
      
      We still want that link on Series, because retrieving the data held on
      the revision is a simple JOIN, so we can still have our O(1) number of
      SQL queries when retrieving data for the series list page.
      
      While at it and to limit the number of migration steps, we move the
      n_patches to SeriesRevision, where it should have been in the first
      place. Also the version field can simply be the one on last_revision
      now.
      Signed-off-by: default avatarDamien Lespiau <damien.lespiau@intel.com>
      d97ca94a
  9. 20 Dec, 2015 2 commits
  10. 18 Dec, 2015 2 commits
  11. 20 Nov, 2015 2 commits
  12. 19 Nov, 2015 1 commit
  13. 03 Nov, 2015 1 commit