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: default avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
      9943ab2c
  2. 27 Nov, 2018 3 commits
  3. 24 Nov, 2018 1 commit
    • Andrei Vagin's avatar
      permissions: add a fast path for non-authenticated users · 142e8fab
      Andrei Vagin authored
      patchwork returns a following back-trace without this patch:
      
      Internal Server Error: /patch/858/
      Traceback (most recent call last):
        File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 132, in get_response
          response = wrapped_callback(request, *callback_args, **callback_kwargs)
        File "/srv/patchwork/lib/apache2/../../patchwork/views/patch.py", line 34, in patch
          editable = Can(request.user).edit(patch)
        File "/srv/patchwork/lib/apache2/../../patchwork/permissions.py", line 38, in edit
          can.edit(patch.project)))
        File "/srv/patchwork/lib/apache2/../../patchwork/permissions.py", line 32, in edit
          project in self.user.profile.maintainer_projects.all())
        File "/usr/lib/python2.7/site-packages/django/utils/functional.py", line 226, in inner
          return func(self._wrapped, *args)
      AttributeError: 'AnonymousUser' object has no attribute 'profile'
      
      Fixes: e876b068 ("permissions: Introduce central point for defining permissions")
      142e8fab
  4. 18 Jun, 2018 1 commit
  5. 15 Jun, 2018 3 commits
  6. 01 Jun, 2018 1 commit
  7. 30 May, 2018 1 commit
  8. 29 May, 2018 4 commits
  9. 23 May, 2018 1 commit
    • Arkadiusz Hiler's avatar
      mbox: Use the 'From' header from the incoming email · 63b2762b
      Arkadiusz Hiler authored
      Currently all the patchwork-generated mboxes uses the name and email
      address extracted from the last patch that person sent. This is strange
      behaviour that leads to problem when a users puts additional information
      (e.g. sponsor) in the header or has changed their legal name.
      
      There's no silver bullet to address all the possible scenarios, and this
      behaviour causes a lot of confusion.
      
      Luckily we store the vanilla email headers the patch was sent out with
      in patch.headers. We can use that to stop the guess game and let the
      people to control how they are called for every patch.
      Signed-off-by: default avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
      63b2762b
  10. 14 May, 2018 1 commit
  11. 13 May, 2018 2 commits
  12. 30 Apr, 2018 3 commits
  13. 13 Apr, 2018 1 commit
  14. 15 Mar, 2018 1 commit
  15. 01 Mar, 2018 1 commit
  16. 28 Feb, 2018 1 commit
  17. 27 Feb, 2018 1 commit
  18. 26 Feb, 2018 2 commits
  19. 20 Feb, 2018 4 commits
  20. 23 Jan, 2018 6 commits
  21. 16 Jan, 2018 1 commit