1. 14 Jun, 2021 2 commits
  2. 07 Jun, 2021 2 commits
    • Gautier de Saint Martin Lacaze's avatar
      Merge pull request #713 from gitlab4j/issue-658 · 69c15a39
      Gautier de Saint Martin Lacaze authored
      Fix #658 : Pager not working properly
      69c15a39
    • Gautier de Saint Martin Lacaze's avatar
      Fix #658 : Pager not working properly · 4e9f7a6c
      Gautier de Saint Martin Lacaze authored
      Since the removal of "X-Total-Pages" and "X-Total" headers, all paginations use the kaminari counter.
      In this mode, kaminari counter is reset to -1 during the call of the last page. This part is correct.
      Then when we call the `current()` method of the pager to get the current page. This method call the same `page` method than the `next` method. In this method the pager check if there is element before checking if we call for the current page. It throws NoSuchElementException erroneously.
      
      To fix, I change the check sequence. First I check ifthe user call the current page. If so, we return the corresponding items. If not we check if there is such elements and call the API.
      4e9f7a6c
  3. 14 Apr, 2021 1 commit
  4. 13 Apr, 2021 1 commit
  5. 11 Apr, 2021 11 commits
  6. 26 Mar, 2021 1 commit
  7. 25 Mar, 2021 1 commit
  8. 24 Mar, 2021 2 commits
  9. 23 Mar, 2021 1 commit
  10. 22 Mar, 2021 3 commits
  11. 17 Mar, 2021 4 commits
  12. 05 Mar, 2021 1 commit
  13. 03 Mar, 2021 1 commit
  14. 01 Mar, 2021 3 commits
  15. 23 Feb, 2021 1 commit
  16. 22 Feb, 2021 1 commit
  17. 18 Feb, 2021 1 commit
    • Clay Weidinger's avatar
      Update AccessLevel.java · 94cc338b
      Clay Weidinger authored
      On gitlab.com I got 
      ```
      org.gitlab4j.api.models.AccessLevel forValue
      WARNING: [5] is not a valid GitLab access level.
      ```
      so I've added that enum here
      94cc338b
  18. 28 Jan, 2021 1 commit
  19. 21 Jan, 2021 2 commits