Jacopo
2f40dac352
Refactor have_http_status
into have_gitlab_http_status
in the specs
2017-10-20 10:13:18 +02:00
Maxim Rydkin
fa030cbc85
replace is_spam?
with spam?
2017-08-29 11:14:42 +03:00
Bob Van Landuyt
180de2d201
Make sure uploads for personal snippets are correctly rendered
2017-08-11 18:15:02 +02:00
Robert Speicher
72a7b30c9f
Change all :empty_project
to :project
2017-08-02 17:47:31 -04:00
Robert Speicher
9513bd18c4
Ensure all project factories use :repository
trait or :empty_project
2017-08-01 14:51:52 -04:00
Sean McGivern
88df076fae
Merge branch '33359-pers-snippet-files-location' into 'security-9-3'
...
Use uploads/system directory for personal snippets
See merge request !2123
2017-07-19 22:28:27 -05:00
Douwe Maan
fe13f11041
Create and use project path helpers that only need a project, no namespace
2017-07-05 11:11:59 -05:00
Grzegorz Bizon
0430b76441
Enable Style/DotPosition Rubocop 👮
2017-06-21 13:48:12 +00:00
Robert Speicher
a6ec5121f0
Correct RSpec/SingleLineHook cop offenses
2017-06-14 13:18:56 -05:00
Jarka Kadlecova
4464c22d6d
Support descriptions for snippets
2017-05-31 07:17:03 +02:00
Douwe Maan
ad309f5d11
Merge branch 'snippets-finder-visibility' into 'security'
...
Refactor snippets finder & dont return internal snippets for external users
See merge request !2094
2017-05-10 16:48:18 +02:00
Sean McGivern
d9ec830a83
Merge branch 'snippets_visibility' into 'security'
...
Fix snippets visibility for show action - external users can not see internal snippets
See merge request !2087
2017-05-10 16:44:20 +02:00
Douwe Maan
2b3fc5e624
Add download button to project snippets
2017-04-30 17:52:49 -05:00
Jarka Kadlecova
87327c5845
Support preview_markdown action for personal_snippets
2017-04-26 12:51:06 +02:00
Oswaldo Ferreira
2ace39f242
Spam check and reCAPTCHA improvements
2017-02-21 13:32:49 -03:00
Jarka Kadlecova
c9d687d6fe
Download snippets with LF line-endings by default
2017-02-20 07:24:03 +01:00
Sean McGivern
c63194ce6f
Check public snippets for spam
...
Apply the same spam checks to public snippets (either personal snippets
that are public, or public snippets on public projects) as to issues on
public projects.
2017-02-02 10:23:51 +00:00
Rémy Coutable
beedd40ef7
Ensure user is authenticated to create a new snippet
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-11-28 16:57:49 +01:00
Semyon Pupkov
3ca064eeef
Add missing tests for download snippet
...
ref: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6720
2016-10-13 18:08:15 +05:00
Z.J. van de Weg
e8dd0d54cb
Fix tests for Snippets toggling awards
...
Also incorporate feedback
2016-09-19 19:53:09 +03:00
Z.J. van de Weg
25004cbc32
Snippets get award emoji! 👍
2016-09-19 19:47:43 +03:00
Z.J. van de Weg
abca19da8b
Use HTTP matchers if possible
2016-06-27 20:10:42 +02:00
Douglas Barbosa Alexandre
8dcef120cd
Fix raw private snippets access workflow
2015-11-25 18:16:27 -02:00
Douglas Barbosa Alexandre
c8fe421512
Improve personal snippet access workflow. Fixes #3258
2015-10-29 18:42:29 -02:00