summaryrefslogtreecommitdiff
path: root/app/models/commit.rb
Commit message (Collapse)AuthorAgeFilesLines
* Correctly find last known blob for file deleted in MR.merge-request-deleted-fileDouwe Maan2015-10-201-4/+8
|
* Merge branch 'master' into rs-redactor-filterDouwe Maan2015-10-151-0/+8
|\
| * Implement Commit Status APIKamil Trzcinski2015-10-121-0/+8
| |
* | Participable doesn't need to know about MentionableDouwe Maan2015-10-141-2/+2
|/
* Only look up Commit authors/committers by emailrs-issue-1850Robert Speicher2015-06-231-2/+2
| | | | | - Removes looking up authors/committers by name - Renames `User.find_for_commit` to `User.find_by_any_email`
* Add `respond_to_missing?` for Commit and RepositoryRobert Speicher2015-06-101-4/+2
| | | | | | | As of Ruby 1.9, this is the correct way to handle `respond_to?` for methods implemented by `method_missing`. See https://robots.thoughtbot.com/always-define-respond-to-missing-when-overriding
* Surround Project.reference_pattern in parenthesis inside other patternsRobert Speicher2015-05-261-1/+4
|
* Add `reference_pattern` to Referable modelsRobert Speicher2015-05-261-0/+13
|
* Implement gfm_reference directly in MentionableRobert Speicher2015-05-261-5/+0
| | | | Except for Note, which still overrides it.
* Add `to_reference` for models that support referencesRobert Speicher2015-05-261-3/+13
| | | | | Now there is a single source of information for which attribute a model uses to be referenced, and its special character.
* Add Commit#==Robert Speicher2015-05-261-0/+4
| | | | | | | | Prior, comparison would use the Ruby object's ID, which got out of sync after a Spring fork and would result in erroneous test failures. Now we just check that the compared object is a Commit and then compare their underlying raw commit objects.
* Move participants method to shared Participable concern.Douwe Maan2015-04-241-15/+2
|
* No longer needed to pass project argument to commit methods.Douwe Maan2015-04-241-7/+7
|
* Let commit model know about its project.Douwe Maan2015-04-241-4/+7
|
* Clean up code somewhat.better-commit-mentionsDouwe Maan2015-04-171-4/+3
|
* Fix Snippet#participants.Douwe Maan2015-04-151-0/+1
|
* Clean up code around commit mentions.Douwe Maan2015-04-151-0/+19
|
* Don't use HTML ellipsis in EmailsOnPush subject truncated commit message.emailsonpush-hellipDouwe Maan2015-04-141-2/+2
|
* Refactor ClosingIssueExtractor.Douwe Maan2015-04-031-1/+1
|
* Only allow users to cross-reference and close issues they have access to.Douwe Maan2015-04-021-2/+2
|
* Add Commit#author and #committer.Douwe Maan2015-04-021-0/+8
|
* Rubocop: Style/ElseAlignment enabledDmitriy Zaporozhets2015-02-021-5/+6
|
* Replace regex methods by string ones since fasterCiro Santilli2014-12-281-4/+4
| | | | and more readable.
* Fixed a lot of already defined noticesJeroen van Baarsen2014-12-141-4/+4
| | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* Dontr decoarate already decorated stuffDmitriy Zaporozhets2014-10-101-1/+7
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Use 8chars short sha for commit in viewsDmitriy Zaporozhets2014-10-101-1/+7
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Use full commit sha width for reference in note body to prevent Ambiguous ↵Dmitriy Zaporozhets2014-10-101-1/+1
| | | | | | SHA1 prefix problem Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Use short_id instead of [0..N] for short version of commit shaDmitriy Zaporozhets2014-10-101-1/+5
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Merge pull request #7754 from Bugagazavr/hooksDmitriy Zaporozhets2014-10-031-0/+15
|\ | | | | More information in merge request hook
| * Hook attributesKirill Zaitsev2014-10-021-0/+15
| |
* | Add parenthesis to function def with arguments.Ciro Santilli2014-10-031-1/+1
|/
* Decorate commit parentsDmitriy Zaporozhets2014-09-251-0/+4
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Refactor diff suppress logic and diff viewsDmitriy Zaporozhets2014-07-151-25/+2
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Detect closing issues in Merge Request descriptionJacob Vosmaer2014-06-131-13/+1
|
* The hard limit should be a lot more liberal, 10x seems reasonable.dosire2014-05-281-2/+2
|
* commit description in commit listskv-headless2014-02-251-7/+9
|
* Use new tags/branches from gitlab_gitDmitriy Zaporozhets2014-02-031-18/+20
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Improved large commit handling.Boyan Tabakov2013-09-071-2/+41
| | | | | | | | | | | | | 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.
* Link issues from comments and automatically close themash wilson2013-08-251-0/+26
| | | | | | | | | | 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.
* Increase commit title limit at Commit#show so it does not truncate most of ↵Dmitriy Zaporozhets2013-08-121-6/+6
| | | | Merge messages
* Use Gitlab::Git:: for git features across applicationDmitriy Zaporozhets2013-04-011-0/+4
|
* Extend models functionality with old decorator methods. Use Repository modelDmitriy Zaporozhets2013-03-311-4/+47
|
* Decorate Gitlab::Git::Commit with CommitDmitriy Zaporozhets2013-03-311-0/+8
|
* Remove grit logic from app/Dmitriy Zaporozhets2013-03-311-164/+5
|
* Dont show '0 additions and 0 deletions' message for commitDmitriy Zaporozhets2013-03-211-0/+6
|
* Dont load diff in compare over 100 commitsDmitriy Zaporozhets2013-03-201-1/+8
|
* Remove unused methodsDmitriy Zaporozhets2013-01-051-4/+0
|
* Fixed styles, ProjectHook specs etcDmitriy Zaporozhets2013-01-051-1/+7
|
* Show images preview in notes. Show line additions/deletions for commitDmitriy Zaporozhets2013-01-041-1/+1
|
* REpostiry, Team modelsDmitriy Zaporozhets2013-01-031-2/+2
|