647ff6240e 
								
							 
						 
						
							
							
								
								Rubocop: Style/ElseAlignment enabled  
							
							
							
						 
						
							2015-02-02 21:38:50 -08:00  
				
					
						
							
							
								 
						
							
								cd688a6011 
								
							 
						 
						
							
							
								
								Replace regex methods by string ones since faster  
							
							... 
							
							
							
							and more readable. 
							
						 
						
							2014-12-28 23:53:27 +01:00  
				
					
						
							
							
								 
						
							
								4eb3c47d4e 
								
							 
						 
						
							
							
								
								Fixed a lot of already defined notices  
							
							... 
							
							
							
							Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> 
							
						 
						
							2014-12-14 15:13:09 +01:00  
				
					
						
							
							
								 
						
							
								8c01448cf9 
								
							 
						 
						
							
							
								
								Dontr decoarate already decorated stuff  
							
							... 
							
							
							
							Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> 
							
						 
						
							2014-10-10 17:39:29 +03:00  
				
					
						
							
							
								 
						
							
								ea04ed7879 
								
							 
						 
						
							
							
								
								Use 8chars short sha for commit in views  
							
							... 
							
							
							
							Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> 
							
						 
						
							2014-10-10 16:30:14 +03:00  
				
					
						
							
							
								 
						
							
								200118357d 
								
							 
						 
						
							
							
								
								Use full commit sha width for reference in note body to prevent Ambiguous SHA1 prefix problem  
							
							... 
							
							
							
							Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> 
							
						 
						
							2014-10-10 15:44:27 +03:00  
				
					
						
							
							
								 
						
							
								0189be0831 
								
							 
						 
						
							
							
								
								Use short_id instead of [0..N] for short version of commit sha  
							
							... 
							
							
							
							Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> 
							
						 
						
							2014-10-10 15:39:48 +03:00  
				
					
						
							
							
								 
						
							
								03b44916ba 
								
							 
						 
						
							
							
								
								Merge pull request  #7754  from Bugagazavr/hooks  
							
							... 
							
							
							
							More information in merge request hook 
							
						 
						
							2014-10-03 13:37:19 +03:00  
				
					
						
							
							
								 
						
							
								2e9f5de868 
								
							 
						 
						
							
							
								
								Add parenthesis to function def with arguments.  
							
							
							
						 
						
							2014-10-03 09:18:46 +02:00  
				
					
						
							
							
								 
						
							
								1c9d2e39c1 
								
							 
						 
						
							
							
								
								Hook attributes  
							
							
							
						 
						
							2014-10-02 12:58:02 +04:00  
				
					
						
							
							
								 
						
							
								3695ae185b 
								
							 
						 
						
							
							
								
								Decorate commit parents  
							
							... 
							
							
							
							Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> 
							
						 
						
							2014-09-25 12:19:26 +03:00  
				
					
						
							
							
								 
						
							
								be5b6db883 
								
							 
						 
						
							
							
								
								Refactor diff suppress logic and diff views  
							
							... 
							
							
							
							Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> 
							
						 
						
							2014-07-15 18:28:21 +03:00  
				
					
						
							
							
								 
						
							
								3f1ece2690 
								
							 
						 
						
							
							
								
								Detect closing issues in Merge Request description  
							
							
							
						 
						
							2014-06-13 17:25:44 +02:00  
				
					
						
							
							
								 
						
							
								7795a4b90c 
								
							 
						 
						
							
							
								
								The hard limit should be a lot more liberal, 10x seems reasonable.  
							
							
							
						 
						
							2014-05-28 15:08:27 +02:00  
				
					
						
							
							
								 
						
							
								2c28dbd254 
								
							 
						 
						
							
							
								
								commit description in commit list  
							
							
							
						 
						
							2014-02-25 18:23:23 +04:00  
				
					
						
							
							
								 
						
							
								ca7e4a948b 
								
							 
						 
						
							
							
								
								Use new tags/branches from gitlab_git  
							
							... 
							
							
							
							Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> 
							
						 
						
							2014-02-03 18:13:24 +02:00  
				
					
						
							
							
								 
						
							
								01ff084a4d 
								
							 
						 
						
							
							
								
								Improved large commit handling.  
							
							... 
							
							
							
							Previously, only number of changed files mattered. Now, number of lines to render in the diff are also taken into account.
A hard limit is set, above which diffs are not rendered and users are not allowed to override that. This prevents high server
resource usage with huge commits.
Related to #1745 , #2259 
In addition, handle large commits for MergeRequests and Compare controllers.
Also fixes a bug where diffs are loaded twice, if user goes directly to merge_requests/:id/diffs URL. 
							
						 
						
							2013-09-07 14:44:03 +03:00  
				
					
						
							
							
								 
						
							
								c8a115c0e3 
								
							 
						 
						
							
							
								
								Link issues from comments and automatically close them  
							
							... 
							
							
							
							Any mention of Issues, MergeRequests, or Commits via GitLab-flavored markdown
references in descriptions, titles, or attached Notes creates a back-reference
Note that links to the original referencer. Furthermore, pushing commits with
commit messages that match a (configurable) regexp to a project's default
branch will close any issues mentioned by GFM in the matched closing phrase.
If accepting a merge request would close any Issues in this way, a banner is
appended to the merge request's main panel to indicate this. 
							
						 
						
							2013-08-25 18:58:41 -04:00  
				
					
						
							
							
								 
						
							
								34c97a311c 
								
							 
						 
						
							
							
								
								Increase commit title limit at Commit#show so it does not truncate most of Merge messages  
							
							
							
						 
						
							2013-08-12 22:28:31 +03:00  
				
					
						
							
							
								 
						
							
								49b024f5f5 
								
							 
						 
						
							
							
								
								Use Gitlab::Git:: for git features across application  
							
							
							
						 
						
							2013-04-01 16:04:35 +03:00  
				
					
						
							
							
								 
						
							
								bbfbff3add 
								
							 
						 
						
							
							
								
								Extend models functionality with old decorator methods. Use Repository model  
							
							
							
						 
						
							2013-03-31 23:48:12 +03:00  
				
					
						
							
							
								 
						
							
								26323046fd 
								
							 
						 
						
							
							
								
								Decorate Gitlab::Git::Commit with Commit  
							
							
							
						 
						
							2013-03-31 19:00:45 +03:00  
				
					
						
							
							
								 
						
							
								154e54b46e 
								
							 
						 
						
							
							
								
								Remove grit logic from app/  
							
							
							
						 
						
							2013-03-31 18:49:58 +03:00  
				
					
						
							
							
								 
						
							
								5f9d654939 
								
							 
						 
						
							
							
								
								Dont show '0 additions and 0 deletions' message for commit  
							
							
							
						 
						
							2013-03-21 22:50:18 +02:00  
				
					
						
							
							
								 
						
							
								6347e9a60b 
								
							 
						 
						
							
							
								
								Dont load diff in compare over 100 commits  
							
							
							
						 
						
							2013-03-20 10:19:00 +02:00  
				
					
						
							
							
								 
						
							
								5a214ee6f1 
								
							 
						 
						
							
							
								
								Remove unused methods  
							
							
							
						 
						
							2013-01-05 13:11:15 +02:00  
				
					
						
							
							
								 
						
							
								e16cebac3e 
								
							 
						 
						
							
							
								
								Fixed styles, ProjectHook specs etc  
							
							
							
						 
						
							2013-01-05 00:35:38 +02:00  
				
					
						
							
							
								 
						
							
								14d0ef8f37 
								
							 
						 
						
							
							
								
								Show images preview in notes. Show line additions/deletions for commit  
							
							
							
						 
						
							2013-01-04 22:13:32 +02:00  
				
					
						
							
							
								 
						
							
								39ba934c0a 
								
							 
						 
						
							
							
								
								REpostiry, Team models  
							
							
							
						 
						
							2013-01-03 21:09:18 +02:00  
				
					
						
							
							
								 
						
							
								e6c0673ef1 
								
							 
						 
						
							
							
								
								Rspec models Milestone, Commit, UsersProject  
							
							
							
						 
						
							2013-01-03 19:11:14 +02:00  
				
					
						
							
							
								 
						
							
								5d1044c335 
								
							 
						 
						
							
							
								
								Fix Commit#to_diff  
							
							
							
						 
						
							2012-12-22 20:36:33 +01:00  
				
					
						
							
							
								 
						
							
								6d93eafa6a 
								
							 
						 
						
							
							
								
								disabled sorting of commits before compare  
							
							
							
						 
						
							2012-12-20 13:50:43 +01:00  
				
					
						
							
							
								 
						
							
								a09d938215 
								
							 
						 
						
							
							
								
								Flipping commit ids in commits_between,  fixes   #513  
							
							
							
						 
						
							2012-12-20 13:31:09 +01:00  
				
					
						
							
							
								 
						
							
								246faa3d7a 
								
							 
						 
						
							
							
								
								Add Commit#to_diff for raw diff  
							
							
							
						 
						
							2012-11-22 20:49:01 +01:00  
				
					
						
							
							
								 
						
							
								f1ac2a616b 
								
							 
						 
						
							
							
								
								remove encode lib, clean all encoded area.  
							
							
							
						 
						
							2012-11-09 01:41:07 +08:00  
				
					
						
							
							
								 
						
							
								6d0dcb6614 
								
							 
						 
						
							
							
								
								Reduce max commit diff size. Added Commit::DIFF_SAFE_SIZE  
							
							
							
						 
						
							2012-10-25 12:16:14 +03:00  
				
					
						
							
							
								 
						
							
								5e3be9cda0 
								
							 
						 
						
							
							
								
								Cache the value of safe_message  
							
							... 
							
							
							
							Also, just for extra paranoia, only call safe_message once in the
decorator methods
Adds specs to make sure it still works 
							
						 
						
							2012-10-02 19:00:41 -04:00  
				
					
						
							
							
								 
						
							
								841e4fbd08 
								
							 
						 
						
							
							
								
								cosmetical cleanup of models  
							
							
							
						 
						
							2012-09-27 02:05:53 -07:00  
				
					
						
							
							
								 
						
							
								4cc169d3ca 
								
							 
						 
						
							
							
								
								Improve commits compare. Added tags to autocomplete. Dont look for commits if from & to are empty  
							
							
							
						 
						
							2012-09-21 11:22:53 +03:00  
				
					
						
							
							
								 
						
							
								8db2a59d0b 
								
							 
						 
						
							
							
								
								Add StaticModel role, and add it to Commit model  
							
							... 
							
							
							
							Instead of doing this:
    link_to(commit.id, project_commit_path(project, id: commit.id))
    Note.create(noteable_id: commit.id, noteable_type: "Commit", ...)
It lets us do this:
    link_to(commit.id, project_commit_path(project, commit))
    Note.create(noteable: commit, ...) 
							
						 
						
							2012-09-02 13:40:07 -04:00  
				
					
						
							
							
								 
						
							
								7754189187 
								
							 
						 
						
							
							
								
								Fully embrace Ruby 1.9 hash syntax  
							
							... 
							
							
							
							Didn't bother with files in db/, config/, or features/ 
							
						 
						
							2012-08-10 18:25:15 -04:00  
				
					
						
							
							
								 
						
							
								0590aa9d60 
								
							 
						 
						
							
							
								
								commit.short_id as model method. Styled inline comment form  
							
							
							
						 
						
							2012-07-27 11:22:05 +03:00  
				
					
						
							
							
								 
						
							
								3063af5adc 
								
							 
						 
						
							
							
								
								BaseContext  
							
							... 
							
							
							
							Controllers refactoring with contexts
Move commit compare logic to model 
							
						 
						
							2012-07-20 08:39:34 +03:00  
				
					
						
							
							
								 
						
							
								335f9d6410 
								
							 
						 
						
							
							
								
								New Feature: Diff patch file export for commit  
							
							
							
						 
						
							2012-06-28 12:51:50 +03:00  
				
					
						
							
							
								 
						
							
								3272620f72 
								
							 
						 
						
							
							
								
								lib/ refactoring. Module Gitlabhq renamed to Gitlab  
							
							
							
						 
						
							2012-05-26 13:37:49 +03:00  
				
					
						
							
							
								 
						
							
								1b2068eaa9 
								
							 
						 
						
							
							
								
								Gem updates & githost logger  
							
							... 
							
							
							
							* Grit gem updated
* gitolite-client updated
* logger added
* few fixes 
							
						 
						
							2012-05-21 23:17:41 +03:00  
				
					
						
							
							
								 
						
							
								e5bbefc980 
								
							 
						 
						
							
							
								
								change find_or_first to work with default branch  
							
							
							
						 
						
							2012-05-16 14:47:59 +01:00  
				
					
						
							
							
								 
						
							
								1845429268 
								
							 
						 
						
							
							
								
								Use try for commit prev_commit_id detection  
							
							
							
						 
						
							2012-04-19 23:35:35 +03:00  
				
					
						
							
							
								 
						
							
								c0df0cd70c 
								
							 
						 
						
							
							
								
								Commit header improved. finalize PR 667  
							
							
							
						 
						
							2012-04-16 01:10:09 +03:00  
				
					
						
							
							
								 
						
							
								c530543c1a 
								
							 
						 
						
							
							
								
								Nicer commit headers.  
							
							
							
						 
						
							2012-04-14 12:38:12 +02:00