1. 23 Jan, 2018 1 commit
  2. 16 Jan, 2018 4 commits
  3. 15 Jan, 2018 1 commit
    • Arkadiusz Hiler's avatar
      django-rest-framework: Update to 3.3 · f63f424e
      Arkadiusz Hiler authored
       * QUERY_PARAMS and DATA are now lower case
       * we set date format to ISO8601 in the ModelSerializer itself now, no
         need for subclassing
       * there is no WritableField anymore, just use Field
       * to_native and from_native got renamed to to_representation and
         to_internal_value respectively
       * dropped the field names from the field serializer instantiation if
         the data field is named the same as the python field
       * allow_none is now split into allow_blank and allow_null, so use both
       * serialized/validated data is now split into sub-dictionaries on dot,
         so use the new notation (e.g. f['a.b'] becomes f['a']['b'])
       * some error messages got changed, updated the tests to expect the new
       * is_valid_field() is now invoked on raw names, so we do not have to
         accommodate for the mapping introduced by the get_ordering()
       * dropped our own implementation of UpdateModelMixin in favor of the
         one provided by the framework, which additionally allowed us to get
         rid of a deprecated save hook
       * pagination configuration happens now by subclassing the page handling
      Signed-off-by: Arkadiusz Hiler's avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
  4. 29 Oct, 2017 1 commit
    • Arkadiusz Hiler's avatar
      patch: Implement log events for pull requests · 8d3953ef
      Arkadiusz Hiler authored
      Add new event type, pull-request-new, for logging incoming pull
      This will allow CI systems to track PRs just as easily as regular
      The change also loosens up constraints imposed on EventLog model - it
      used to assume always having an associated series, which is not true for
      the pull requests. PRs are standalone patches.
      Signed-off-by: Arkadiusz Hiler's avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
  5. 20 Aug, 2017 1 commit
  6. 10 Jul, 2017 1 commit
  7. 16 May, 2016 3 commits
  8. 05 May, 2016 1 commit
  9. 03 May, 2016 2 commits
  10. 28 Apr, 2016 2 commits
  11. 26 Apr, 2016 1 commit
  12. 05 Apr, 2016 2 commits
  13. 01 Apr, 2016 3 commits
  14. 18 Mar, 2016 1 commit
  15. 11 Mar, 2016 3 commits
  16. 03 Mar, 2016 2 commits
  17. 29 Feb, 2016 1 commit
  18. 26 Feb, 2016 1 commit
  19. 23 Feb, 2016 1 commit
    • Damien Lespiau's avatar
      mail: Send a notification emails to reviewers · a13f69fd
      Damien Lespiau authored
      We're going fancy.
      Because sending emails can take some time, especially if we set the
      reviewer of 100 series from the web page, the mailing is done in celery
      I chose redis as the message broker as it can be used for other things
      as well, like a memcache-like cache if we ever want to go that route. It
      can also be used for communication with a daemon that would support long
      lived connections (think web socket or server sent events)
      Also, to try and be a bit generic, emails are rendered from templates.
      Unit tests cover everything I could think about, including not notifying
      users that have set the reviewer to themselves.
      Fixes: https://github.com/dlespiau/patchwork/issues/28Signed-off-by: default avatarDamien Lespiau <damien.lespiau@intel.com>
  20. 18 Feb, 2016 1 commit
  21. 17 Feb, 2016 1 commit
  22. 16 Feb, 2016 1 commit
  23. 15 Feb, 2016 2 commits
  24. 04 Feb, 2016 1 commit
  25. 14 Jan, 2016 1 commit
  26. 11 Jan, 2016 1 commit
    • Damien Lespiau's avatar
      rest: Allow filtering series by submitter · f5611ee7
      Damien Lespiau authored
      Quite easy, just need to list the field. Turns out the fields argument
      isn't needed for custom filters. Removed updated_since and
      submitted_since from the fields array then.
      Well, on second thoughts, I need to have special "self" value that
      matches all people linked to the current user (there can be many).
      For that to work, I also need a specialization of the
      DjangoFilterBackend that passes the request along.
      Signed-off-by: default avatarDamien Lespiau <damien.lespiau@intel.com>