gitlab-org--gitlab-foss/lib
Rémy Coutable 774548be1f Merge branch 'fix-events-api' into 'master'
Fix events order in users/:id/events endpoint

## What does this MR do?

Order of events in contributions API is currently being lost, though docs are saying:

> Get the contribution events for the specified user, sorted **from newest to oldest**.

Order becomes different after `.merge(ProjectsFinder.new.execute(current_user))` call, so I moved ordering below this line.

This MR also removes extra `.page(params[:page])` call in the method chain, since [`paginate(events)` already does it](https://gitlab.com/airat/gitlab-ce/blob/master/lib/api/helpers.rb#L112).

See merge request !7039
2016-10-25 16:28:10 +00:00
..
api Get rid of extra .page call 2016-10-24 22:56:27 +03:00
assets
backup
banzai Escape ref and path for relative links (!6050) 2016-10-24 22:18:34 +02:00
ci Add logical validation to gitlab-ci.yml 2016-10-18 12:22:51 +02:00
constraints Add relative url support to routing contrainers 2016-10-24 13:51:17 +03:00
container_registry
gitlab Don't schedule ProjectCacheWorker unless needed 2016-10-25 16:02:36 +02:00
json_web_token
omni_auth
rouge/formatters
support
tasks Merge branch '23372-fix-ce-to-ee-merge-check-task' into 'master' 2016-10-25 11:23:16 +00:00
banzai.rb Add markdown cache columns to the database, but don't use them yet 2016-10-07 02:54:25 +01:00
disable_email_interceptor.rb
event_filter.rb Differentiate the expire from leave event 2016-10-20 00:26:45 +00:00
expand_variables.rb Update support for dynamic environments 2016-09-19 10:07:13 +02:00
extracts_path.rb Improve ExtractsPath logic related to atom format 2016-10-15 01:36:05 +03:00
file_size_validator.rb
file_streamer.rb
gitlab.rb
gt_one_coercion.rb
repository_cache.rb
static_model.rb
unfold_form.rb
uploaded_file.rb
version_check.rb