Commit Graph

4 Commits

Author SHA1 Message Date
gfyoung be42c05054 Enable more frozen string in app/controllers/
Enables frozen string for the following:

* app/controllers/dashboard/**/*.rb
* app/controllers/explore/**/*.rb
* app/controllers/google_api/**/*.rb
* app/controllers/groups/**/*.rb
* app/controllers/import/**/*.rb
* app/controllers/instance_statistics/**/*.rb
* app/controllers/ldap/**/*.rb
* app/controllers/oauth/**/*.rb
* app/controllers/profiles/**/*.rb

Partially addresses #47424.
2018-09-23 12:48:02 -07:00
Bob Van Landuyt 2f50b206f2 Hide archived projects from `shared_projects`
Since we don't show the archived projects, we shouldnot  load them and
pass them to the fronted to be filtered out again.
2018-06-04 17:43:13 +02:00
Toon Claes 1298fbe18d Fix small typos 2018-05-29 11:45:17 +02:00
Bob Van Landuyt 6072259230 Add `shared_projects` endpoint
This endpoint lists projects shared with a group visible to the
current user.

The `filter` and `sort` params are supported like on the `children` endpoint.
2018-05-29 11:45:17 +02:00