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  
				
					
						
							
							
								 
						
							
								9b470aebb9 
								
							 
						 
						
							
							
								
								url_builder: handle project snippets  
							
							
							
						 
						
							2016-08-24 10:32:12 -04:00  
				
					
						
							
							
								 
						
							
								e5c9710147 
								
							 
						 
						
							
							
								
								Use the relative url prefix for links in Wiki  
							
							
							
						 
						
							2016-05-13 22:42:07 +02:00  
				
					
						
							
							
								 
						
							
								f52a15e022 
								
							 
						 
						
							
							
								
								Revert "Merge branch 'wiki-fix' into 'master'
"  
							
							... 
							
							
							
							This reverts commit 4cc85a58e890ae445ba9 
							
						 
						
							2016-05-10 10:57:48 +02:00  
				
					
						
							
							
								 
						
							
								14b36f91d9 
								
							 
						 
						
							
							
								
								Use the proper GitLab URL for links in Wiki  
							
							
							
						 
						
							2016-05-09 11:50:23 +02:00  
				
					
						
							
							
								 
						
							
								a88f0a1fd8 
								
							 
						 
						
							
							
								
								add wiki_page helper to url_builder  
							
							
							
						 
						
							2016-04-20 08:25:41 +08:00  
				
					
						
							
							
								 
						
							
								02cfbf0db5 
								
							 
						 
						
							
							
								
								Refactor and expose only Gitlab::UrlBuilder.build(record)  
							
							... 
							
							
							
							Signed-off-by: Rémy Coutable <remy@rymai.me> 
							
						 
						
							2016-04-13 16:07:04 +02:00  
				
					
						
							
							
								 
						
							
								5627542fd4 
								
							 
						 
						
							
							
								
								Merge branch 'routing' into 'master'  
							
							... 
							
							
							
							Added & use Gitlab::Routing for URL helpers
Extracted from !3389 
See merge request !3486  
							
						 
						
							2016-04-01 16:51:20 +00:00  
				
					
						
							
							
								 
						
							
								84b0ab7766 
								
							 
						 
						
							
							
								
								Added & use Gitlab::Routing for URL helpers  
							
							... 
							
							
							
							Rails' "url_helpers" method creates an anonymous Module (which a bunch
of methods) on every call. By caching the output of this method in a
dedicated method we can shave off about 10 seconds of loading time for
an issue with around 200 comments. 
							
						 
						
							2016-04-01 11:13:48 +02:00  
				
					
						
							
							
								 
						
							
								e60f034126 
								
							 
						 
						
							
							
								
								Fix view of notes in search results when noteable is a snippet  
							
							... 
							
							
							
							Also, streamline the view.
Signed-off-by: Rémy Coutable <remy@rymai.me> 
							
						 
						
							2016-03-31 09:40:57 +02:00  
				
					
						
							
							
								 
						
							
								091b8a6ede 
								
							 
						 
						
							
							
								
								Rename Note#for_project_snippet? to #for_snippet?  
							
							... 
							
							
							
							Signed-off-by: Rémy Coutable <remy@rymai.me> 
							
						 
						
							2016-03-31 09:20:27 +02:00  
				
					
						
							
							
								 
						
							
								0b5d627cd4 
								
							 
						 
						
							
							
								
								Merge branch 'master' into ci-and-ce-sitting-in-a-tree-k-i-s-s-i-n-g  
							
							
							
						 
						
							2015-09-09 14:56:02 +02:00  
				
					
						
							
							
								 
						
							
								90c338a495 
								
							 
						 
						
							
							
								
								Move helpers back to original directory  
							
							
							
						 
						
							2015-09-09 14:37:34 +02:00  
				
					
						
							
							
								 
						
							
								a5314e79f2 
								
							 
						 
						
							
							
								
								Fix URL construction for merge requests, issues, notes, and commits for relative URL config  
							
							... 
							
							
							
							Closes https://github.com/gitlabhq/gitlabhq/issues/9605  
							
						 
						
							2015-09-04 16:24:01 -07:00  
				
					
						
							
							
								 
						
							
								046b283127 
								
							 
						 
						
							
							
								
								Groundwork for merging CI into CE  
							
							
							
						 
						
							2015-08-25 18:42:46 -07:00  
				
					
						
							
							
								 
						
							
								928fc94c3d 
								
							 
						 
						
							
							
								
								Enforce restricted visibilities for snippets  
							
							... 
							
							
							
							Add new service classes to create and update project and personal
snippets.  These classes are responsible for enforcing restricted
visibility settings for non-admin users. 
							
						 
						
							2015-03-08 17:57:08 -06:00  
				
					
						
							
							
								 
						
							
								7e204cf389 
								
							 
						 
						
							
							
								
								Added comment notification events to HipChat and Slack services.  
							
							... 
							
							
							
							Supports four different event types all bundled under the "note" event type:
- comments on a commit
- comments on an issue
- comments on a merge request
- comments on a code snippet 
							
						 
						
							2015-03-06 06:54:00 -08:00  
				
					
						
							
							
								 
						
							
								2088cee935 
								
							 
						 
						
							
							
								
								Fix URL builder to use GitlabRoutingHelper  
							
							
							
						 
						
							2015-03-03 15:57:28 -08:00  
				
					
						
							
							
								 
						
							
								e363f2e675 
								
							 
						 
						
							
							
								
								Fix merge request URL passed to Webhooks.  
							
							... 
							
							
							
							Previously the symbol "url" in the object_attributes hash would always be nil. 
							
						 
						
							2015-02-24 06:51:24 +00:00  
				
					
						
							
							
								 
						
							
								76aad9b76e 
								
							 
						 
						
							
							
								
								Upgrade to Rails 4.1.9  
							
							... 
							
							
							
							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. 
							
						 
						
							2015-02-14 11:09:23 -07:00  
				
					
						
							
							
								 
						
							
								39c66c822e 
								
							 
						 
						
							
							
								
								Use Gitlab.config instead of Settings everywhere  
							
							
							
						 
						
							2014-10-15 23:01:31 +02:00  
				
					
						
							
							
								 
						
							
								87760a290e 
								
							 
						 
						
							
							
								
								Added an UrlBuilder for building rails named routes  
							
							... 
							
							
							
							Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> 
							
						 
						
							2014-06-13 12:34:15 +02:00