Commit graph

9 commits

Author SHA1 Message Date
George Andrinopoulos
1cf35c3d1d Add case insensitive branches search 2017-10-23 06:37:25 +03:00
Robert Speicher
0fa1c545b8 Use :empty_project where possible in finder specs 2017-01-25 22:31:24 -05:00
Alejandro Rodríguez
fa3bbd449e Fix lightweight tags not processed correctly by GitTagPushService
When we updated gitlab_git to 10.4.1, `tag.target` changed from pointing
to the sha of the tag to the sha of the commit the tag points to. The
problem is that only annotated tags have `object_sha`s, lightweight tags
don't (it's nil), so (only) in their case we still need to use
`tag.target`.
2016-10-28 13:53:18 -03:00
winniehell
ae9f0ca818 Add failing test for #20462 2016-08-02 03:32:28 +02:00
Rémy Coutable
fe25d1d5cf Fix specs
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-08-01 13:24:06 +02:00
Herminio Torres
94e6d51ec0
Fix the title of the toggle dropdown button
Before when you choose the way of `sort` instead it display the title correctly it was just apply the humanize helper in sort value.

E.g.

When you choose `Last updated` it should display the title `Last updated` instead of `Recently updated`. This fix makes this correctly displays the title.

Change the implementation of the `link_to` `filter_branches_path`

- Change the value of the `params[:sort]` in `link_to`. E.g. instead of using `'recently_updated'` is now using `sort_value_recently_updated`.

- Change the values of the case in the `branches_sorted_by` method for the values it receives in the `params[:sort]` that are: `nil`, `'name'`, `'updated_desc'`, `'updated_asc'`.
2016-07-28 12:20:57 -03:00
Rémy Coutable
939436480c Ensure relative paths for video are rewritten as we do for images
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-07-26 10:22:17 +02:00
tiagonbotelho
1c39395964 refactors the search to enable users to filter and sort branches at the
same time and writes tests accordingly

changes schema.db

removes duplicate field inside CHANGELOG

fix db/schema
2016-07-19 19:30:10 +01:00
tiagonbotelho
766f9cf220 implements the basic filter functionality 2016-07-19 19:30:10 +01:00