gitlab-org--gitlab-foss/lib
Hannes Rosenögger 965b92a725 Merge branch 'feature_expose_project_labels' into 'master'
Exposing Project Labels in the REST API

The intent here is to expose the tag_list property of the Project entity over the REST API so that any project searches include the information. The specific reason I've implemented this change is for an environment in which multiple gitlab servers exist, where a central portal to the projects that are spread around the network will be useful. Having access to filtering on this fairly large project list based on their labels, will be of great use.

This satisfies the feature request http://feedback.gitlab.com/forums/176466-general/suggestions/6325819-project-labels-via-api

The change was made in the `lib/api/entities.rb` file.

The output of a `GET` to something like `/projects` or `/projects/7` is now:
```javascript
{
  "id": 7,
  "description": "Veritatis est eaque voluptas magni expedita.",
  "default_branch": "master",
  **"tag_list": [
    "typeahead",
    "twitter"
  ],**
  "public": false,
  "archived": false,
  "visibility_level": 0,
  ...
}
```

See merge request !329
2015-04-03 13:18:55 +00:00
..
api Modified lib/api/entities.rb to expose Project class tag_list property to the API 2015-04-03 04:35:12 -04:00
assets
backup ability to skip some items in backup 2015-04-02 15:37:50 +03:00
gitlab Merge branch 'configurable-attachment-size' into 'master' 2015-04-03 08:47:55 +00:00
redcarpet/render Merge branch 'atom-xhtml-squashed' into 'master' 2015-03-17 08:38:38 +00:00
support Fix typo 2015-03-14 10:22:06 +01:00
tasks ability to skip some items in backup 2015-04-02 15:37:50 +03:00
disable_email_interceptor.rb Add email interceptor to prevent mail sending if email sending is disabled. 2014-10-27 13:05:50 +01:00
email_validator.rb More rubocop rules enable 2015-02-02 21:31:03 -08:00
event_filter.rb Add parenthesis to function def with arguments. 2014-10-03 09:18:46 +02:00
extracts_path.rb Upgrade to Rails 4.1.9 2015-02-14 11:09:23 -07:00
file_size_validator.rb Support configurable attachment size via Application Settings 2015-04-02 00:04:08 -07:00
gt_one_coercion.rb diff unfold 2014-08-14 15:48:14 +04:00
repository_cache.rb Fix RepositoryCache backend attr_reader 2015-01-30 10:17:55 -05:00
static_model.rb Fixed styles, ProjectHook specs etc 2013-01-05 00:35:38 +02:00
unfold_form.rb diff unfold 2014-08-14 15:48:14 +04:00