Commit graph

14 commits

Author SHA1 Message Date
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