An error occurred fetching the project authors.
  1. 29 Jun, 2020 1 commit
  2. 28 May, 2020 1 commit
  3. 19 Mar, 2020 1 commit
    • Alex Kalderimis's avatar
      Add wiki_events feature flag · ba5e8da3
      Alex Kalderimis authored
      This ensures that the methods we use for retrieving events respect the
      :wiki_events feature flag.
      
      This flag must be applied in two places - both in the event_collection
      and in the events_finder, since there exist places in the code base
      where the event_collection is used without the finder (for example in
      the projects or the groups controllers) so it must be applied there, but
      in the events_finder there is a branch that by-passes the
      event_collection, so we also need it in the finder.
      
      To support this flag, we have a new scope `Event.not_wiki_page`, which
      only returns events that are not wiki page events.
      
      This flag is off by default.
      
      This includes improvements to the event collection spec by asserting
      identity rather than length of results.
      
      Includes suggested changes from reviewer (@.luke)
      
      Co-authored-by: @.luke
      ba5e8da3
  4. 20 Jan, 2020 1 commit
    • briankabiro's avatar
      Add current_user check in events api · d5b17111
      briankabiro authored
      The API returns a 500 error when scope is supplied and current_user
      is not present. This is because a user's projects are used in the
      query that returns all events.
      
      This change adds a check to confirm that current_user is provided
      before trying to run the query when scope is passed
      d5b17111
  5. 18 Dec, 2019 1 commit
    • briankabiro's avatar
      Add dashboard activity to events api · fea74c01
      briankabiro authored
      Currently, `/events`returns the activity of an authorized user.
      
      This changes the endpoint to return activity similar to a user's
      dashboard on the UI. It returns the activity across the
      authenticated user's accessible projects
      fea74c01
  6. 17 Dec, 2018 1 commit
    • Bob Van Landuyt's avatar
      Hide confidential events in ruby · 28acd2b0
      Bob Van Landuyt authored
      We're filtering the events using `Event#visible_to_user?`.
      
      At most we're loading 100 events at once.
      
      Pagination is also dealt with in the finder, but the resulting array
      is wrapped in a `Kaminari.paginate_array` so the API's pagination
      helpers keep working. We're passing the total count into that
      paginatable array, which would include confidential events. But we're
      not disclosing anything.
      28acd2b0
  7. 17 Nov, 2018 1 commit
  8. 21 Sep, 2018 1 commit
  9. 11 Sep, 2018 3 commits
  10. 22 Feb, 2018 2 commits
  11. 22 Jun, 2017 1 commit
  12. 21 Jun, 2017 2 commits
  13. 19 Jun, 2017 1 commit
  14. 06 Jun, 2017 1 commit
    • Mark Fletcher's avatar
      Introduce an Events API · ad3e180e
      Mark Fletcher authored
      * Meld the following disparate endpoints:
       * `/projects/:id/events`
       * `/events`
       * `/users/:id/events`
      + Add result filtering to the above endpoints:
       * action
       * target_type
       * before and after dates
      ad3e180e