Skip to content
Snippets Groups Projects

Personal snipepts support added

Merged gitlab-qa-bot requested to merge github/fork/Andrew8xx8/gist into master

Created by: Andrew8xx8

My first step to implement a good feature:

  • Added new page for snippets managment
  • Added new type of snippets. Personal snippets
  • Added Public/Private snippets support (All projects snippets will be private)
  • Spinach tests for snippets (Whohooo!)

Looks like this:

Screenshot 2013-03-25 02 14 54  2013-03-25 2 16 18  2013-03-25 2 20 06

Plans:

  • Search
  • Add versions support

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
32
33 if @snippet.save
34 redirect_to project_snippet_path(@project, @snippet)
35 else
36 respond_with(@snippet)
37 end
38 end
39
40 def edit
41 end
42
43 def update
44 if @snippet.update_attributes(params[:project_snippet])
45 redirect_to project_snippet_path(@project, @snippet)
46 else
47 respond_with(@snippet)
  • Created by: NARKOZ

    if @snippet.update_attributes(params[:project_snippet])

    By Administrator on 2013-03-25T16:32:32 (imported from GitLab project)

    By Administrator on 2013-03-25T16:32:32 (imported from GitLab)

  • gitlab-qa-bot
  • Unable to load the diff
    • Created by: NARKOZ

      Replace match with get

      By Administrator on 2013-03-25T16:32:32 (imported from GitLab project)

      By Administrator on 2013-03-25T16:32:32 (imported from GitLab)

  • Created by: coveralls

    Coverage increased (+0.22%) when pulling 3e695acf on Andrew8xx8:gist into 5f159d4b on gitlabhq:master.

    View Details

    By Administrator on 2013-03-25T13:09:03 (imported from GitLab project)

    By Administrator on 2013-03-25T13:09:03 (imported from GitLab)

  • Created by: coveralls

    Coverage decreased (-11.68%) when pulling 03de5a5c on Andrew8xx8:gist into 5f159d4b on gitlabhq:master.

    View Details

    By Administrator on 2013-03-25T13:26:11 (imported from GitLab project)

    By Administrator on 2013-03-25T13:26:11 (imported from GitLab)

  • Created by: coveralls

    Coverage increased (+0.07%) when pulling e0af7cef on Andrew8xx8:gist into 5f159d4b on gitlabhq:master.

    View Details

    By Administrator on 2013-03-25T17:28:39 (imported from GitLab project)

    By Administrator on 2013-03-25T17:28:39 (imported from GitLab)

  • Created by: Razer6

    +1

    By Administrator on 2013-04-30T12:26:50 (imported from GitLab project)

    By Administrator on 2013-04-30T12:26:50 (imported from GitLab)

  • Created by: dzaporozhets

    @Andrew8xx8 yay! Finally got this merged. Thank you for good quality code

    By Administrator on 2013-06-04T17:36:46 (imported from GitLab project)

    By Administrator on 2013-06-04T17:36:46 (imported from GitLab)

  • Please register or sign in to reply
    Loading