summaryrefslogtreecommitdiff
path: root/app/views/projects/snippets
Commit message (Collapse)AuthorAgeFilesLines
* Spam check and reCAPTCHA improvements28093-snippet-and-issue-spam-check-on-editOswaldo Ferreira2017-02-211-0/+4
|
* Improve performance of User Agent DetailZ.J. van de Weg2017-02-201-2/+2
|
* Use a new class to keep old behaviorFilipa Lacerda2017-02-081-1/+1
|
* Don't render snippet actions for logged-out userssnippet-spam-fixSean McGivern2017-02-061-0/+2
|
* Check public snippets for spamSean McGivern2017-02-021-0/+5
| | | | | | 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.
* Keep snippet visibility on errorSean McGivern2017-02-022-2/+2
| | | | | | | When a snippet is submitted, but there's an error, we didn't keep the visibility level. As the default is private, this means that submitting a public snippet that failed would then fall back to being a private snippet.
* HAMLLint: Fix `ImplicitDiv` offencesKushal Pandya2016-12-311-1/+1
|
* Remove pages/snippets cssdelete-more-page-specific-cssAnnabel Dunstone Gray2016-12-141-2/+3
|
* implement snippets_scope_menu partial to reduce code duplicationMike Greiling2016-12-101-28/+2
|
* ensure all snippets count badge is accurate for non team membersMike Greiling2016-12-101-1/+4
|
* move project new snippet button into snippet scope navigation headerMike Greiling2016-12-101-27/+31
|
* add scope filters to project snippets pageMike Greiling2016-12-101-0/+27
|
* invert snippet action buttonsMike Greiling2016-12-101-2/+2
|
* remove unused class nameMike Greiling2016-12-101-2/+2
|
* update action button order for snippets pageMike Greiling2016-12-101-6/+6
|
* Replace bootstrap caret with fontawesome caretClement Ho2016-10-051-1/+1
|
* Merge branch 'full-width-new-snippet-button' into 'master' Fatih Acet2016-09-262-8/+7
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added full-width new snippet button on mobile and corrected capitalization ## What does this MR do? Adds full-width `New snippet` button to snippet mobile views and corrects `New Snippet` to `New snippet` throughout. ## Are there points in the code the reviewer needs to double check? ## Why was this MR needed? @connorshea Spotted that I missed this in !6210 :) ## Screenshots (if relevant) ![Screen_Shot_2016-09-16_at_10.40.21](/uploads/ddca2da3a5ef787298bfc87e129db820/Screen_Shot_2016-09-16_at_10.40.21.png) ## Does this MR meet the acceptance criteria? - [ ] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry 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 you do - 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? See merge request !6380
| * Added full-width new snippet button on mobile and corrected capitalizationfull-width-new-snippet-buttonLuke Bennett2016-09-182-8/+7
| | | | | | | | | | | | | | | | Altered specs that click capitalised New Snippet button Applied review feedback missed in Changes `.no-comment` `opactiy: 0.5` to `opacity: .5` Added `.btn-wide-on-xs` and applied to snippet buttons
* | Fix styling of award emoji block for snippets after upstream design changes.Fatih Acet2016-09-192-11/+12
| |
* | Start Frontend work, fix routing problemZ.J. van de Weg2016-09-191-0/+2
|/
* Reordered dropdown options18849-project-snippets-page-isn-t-really-responsiveLuke Bennett2016-09-072-18/+17
| | | | | | | | | | | | | | | | | | | | | | | | Rearranged datetime created line Added `avatar_class` option to `link_to_member` so it can be hidden Made snippet title font heavier Added file title bar Hidden unneeded info from xs screens Added visibility icon Reveal file-actions on xs screens Added comments icon to snippets list items Refactored no-comments declaration into framework stylesheet Final touch ups Fixed snippets_spec
* Update header block class on snippets page19692-gray-blockAnnabel Dunstone2016-07-111-1/+1
|
* Update New Snippet buttons.Connor Shea2016-07-082-23/+25
| | | | | | | | No longer shows New Snippet button to users who aren't able to create a new snippet in the given context. Also removes the plus icon from the New Snippet buttons, as they're no longer used in other creation buttons. Fixes #14595.
* Remove header title from project pagesDmitriy Zaporozhets2016-05-265-5/+0
| | | | | | | With new navigation design it makes no sense to duplicate title in the header Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Updated snippets UIPhil Hughes2016-05-182-16/+30
| | | | Closes #14328
* Start builds redesignAnnabel Dunstone2016-05-041-1/+1
|
* Add copy-to-clipboard button to Snippets#showrs-snippets-clipboardRobert Speicher2015-12-091-2/+2
| | | | Closes #3701
* Use consistent casing for page titlesDouwe Maan2015-12-022-2/+2
|
* Update style of snippets pagesDouwe Maan2015-10-181-12/+8
|
* Update style of snippet detail pageDouwe Maan2015-10-181-13/+16
|
* fix spinach features to use new button wordingsHan Loong Liauw2015-10-151-0/+1
| | | | Also fixed an accidental deletion of pratial
* change capitalisation in buttonsHan Loong Liauw2015-10-152-3/+5
|
* New snippet design for projectsHan Loong Liauw2015-10-142-27/+10
| | | | | | | | Split out header into shared partial Used action partials to have unique actions for shared and personal snippets changed back to created date in list view Switched to using existing color classes
* Move project header title definition to view in question.Douwe Maan2015-09-175-0/+9
|
* Restyle snippets renderingDmitriy Zaporozhets2015-08-272-17/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Rename abilities to correspond contoller/model action namesrename-abilitiesDmitriy Zaporozhets2015-06-262-2/+2
| | | | | | | | | | | | | | | | | write_ was renamed to create_ modify_ was renamed to update_ So now in update action we have next code def create can?(current_user, :create_issue, @issue) end def update can?(current_user, :update_issue, @issue) end Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Capitalize "X" in "New X".Douwe Maan2015-04-301-1/+1
|
* Add a page title to every page.Douwe Maan2015-04-304-0/+4
|
* Add new admin settingsVinnie Okada2015-04-262-2/+2
| | | | | Add new global application settings for default project and snippet visibility levels.
* Refactor buttonsDmitriy Zaporozhets2015-03-141-3/+3
|
* Improve css for file actionsDmitriy Zaporozhets2015-03-131-2/+2
|
* Upgrade to Rails 4.1.9Vinnie Okada2015-02-144-8/+8
| | | | | | Make the following changes to deal with new behavior in Rails 4.1.2: * Use nested resources to avoid slashes in arguments to path helpers.
* Upgrade to Font Awesome v4.2Sullivan SENECHAL2014-10-031-1/+1
|
* Refactor snippets viewsDmitriy Zaporozhets2014-06-145-61/+38
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Improve files/snippets action buttonsDmitriy Zaporozhets2014-06-131-6/+9
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Refactor scssDmitriy Zaporozhets2014-02-201-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Enable markdown formatting for snippets in projects.Takao Baba2014-02-041-6/+2
|
* Merge branch 'highlight-js' into 'master'Dmitriy Zaporozhets2014-01-281-2/+1
|\ | | | | | | | | | | | | | | Highlight.Js Replace pygments code highlight with client-side library - highlight.js http://highlightjs.org/
| * Add highlight.js support to markdown, snippets etcDmitriy Zaporozhets2014-01-271-2/+1
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Remove snippet expiration date from UIRobert Schilling2014-01-251-7/+0
|/