Thong Kuah
85b29c1c2f
Add frozen_string_literal to spec/services
...
Probably useful as we often move these files to "new" files.
2019-04-12 10:14:54 +12:00
Thong Kuah
4ec16912b8
Autocorrect with RSpec/ExampleWording cop
...
- rewords examples starting with 'should'
- rewords examples starting with 'it'
Note: I had to manually fixup "onlies" to "only"
2019-04-05 08:43:27 +00: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
Robert Speicher
6d165c740c
Make all uses of fixture_file_upload
use relative paths
2018-06-07 09:54:41 -05:00
Robert Speicher
72a7b30c9f
Change all :empty_project
to :project
2017-08-02 17:47:31 -04:00
Rémy Coutable
ddccd24c13
Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-27 14:31:53 +02:00
Bob Van Landuyt
458f3cf9b0
Update specs for new upload path
2017-07-18 15:38:54 +02:00
DJ Mountney
1d1363e2bb
Bring in security changes from the 9.2.5 release
...
Ran:
- git format-patch v9.2.2..v9.2.5 --stdout > patchfile.patch
- git checkout -b 9-2-5-security-patch origin/v9.2.2
- git apply patchfile.patch
- git commit
- [Got the sha ref for the commit]
- git checkout -b upstream-9-2-security master
- git cherry-pick <SHA of the patchfile commit>
- [Resolved conflicts]
- git cherry-pick --continue
2017-06-07 21:16:20 -07:00
blackst0ne
29a3203b3f
Use relative paths for group/project/user avatars
2017-05-10 15:26:17 +11:00
hogewest
c1d235418f
Fix broken url on group avatar
2017-01-06 05:18:29 +09:00