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
Fatih Acet
01b767bd98
Merge branch '19990-update-snippets-page-design' into 'master'
...
Resolve "Updated UI for Snippets pages"
## What does this MR do?
## Are there points in the code the reviewer needs to double check?
## Why was this MR needed?
## Screenshots (if relevant)
## Does this MR meet the acceptance criteria?
- [ ] [Changelog entry](https://docs.gitlab.com/ce/development/changelog.html ) added
- [ ] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md )
- [ ] API support added
- Tests
- [ ] Added for this feature/bug
- [ ] All builds are passing
- [ ] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html )
- [ ] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides )
- [ ] Branch has no merge conflicts with `master` (if it does - rebase it please)
- [ ] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits )
## What are the relevant issue numbers?
Closes #19990
See merge request !7861
2016-12-12 18:06:20 +00:00
Mike Greiling
a68735d498
use Snippet.none in favor of nil to allow chaining
2016-12-10 00:57:23 -06:00
Mike Greiling
adbc37804e
refactor duplicate code into a by_scope method
2016-12-10 00:57:23 -06:00
Mike Greiling
54a1193d79
add scope filters to project snippets page
2016-12-10 00:57:23 -06:00
Guyzmo
fde754e267
API: Endpoint to expose personal snippets as /snippets
...
Adding the necessary API for the new /snippets Restful resource
added with this commit. Added a new Grape class `Snippets`, as
well as a `PersonalSnippet` entity.
Issue: #20042
Merge-Request: !6373
Signed-off-by: Guyzmo <guyzmo+gitlab+pub@m0g.net>
2016-12-01 19:07:49 +01:00
Douglas Barbosa Alexandre
b56c456750
Project members with guest role can't access confidential issues
2016-06-13 19:32:00 -03:00
Stan Hu
d5267dfd0d
Prevent private snippets in public/internal projects from being leaked via API
...
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/15580
2016-04-25 12:02:06 -07:00
Robert Speicher
836d593033
Remove Snippet#expires_at
...
This was removed from the interface in
https://github.com/gitlabhq/gitlabhq/pull/6027 but its implementation
lingered around for two years.
2016-03-05 18:12:17 -05:00
Dmitriy Zaporozhets
61cc6a9244
Rubocop: indentation fixes Yay!!!
2015-02-02 21:59:28 -08:00
Valery Sizov
7f97a1277d
internal snippets: fix exposing of title
2014-10-24 19:39:14 +03:00
Valery Sizov
4e0da2325b
Admin: user sorting
2014-10-13 16:07:57 +03:00
Valery Sizov
47f539f5a6
Snippets: public/internal/private
2014-10-09 17:09:53 +03:00