Commit graph

6 commits

Author SHA1 Message Date
Heinrich Lee Yu
eb88ca7646 Rename methods that conflict in Rails 5.2
Adds suffix to enum methods and changes `in_groups` to
`of_groups`
2019-05-12 23:42:06 -05:00
Sean McGivern
c5f9b2be82 Remove N+1 queries from users autocomplete
Both of these were related to groups:

1. We need to preload routes (using the `with_route` scope) if we're
   going to get the group's path.
2. We were counting each group's members separately.

They're in the same commit because the spec for N+1 detection wouldn't
pass with only one of these fixes.
2019-03-25 12:12:44 +00:00
Luke Bennett
aa464800b8
Add type property to project autocomplete members 2019-02-18 16:58:28 +00:00
gfyoung
265478ad74 Enable frozen string in apps/services/**/*.rb
For directories application_settings --> labels.

Partially addresses #47424.
2018-07-16 12:36:41 -07:00
Mario de la Ossa
5c2078838b
Backport of 4084-epics-username-autocomplete 2018-05-04 11:33:09 -06:00
Stan Hu
e94a2fde0d Fire system hooks when a user is created via LDAP or OAuth
Closes #37073
2017-08-25 22:00:07 -07:00