summaryrefslogtreecommitdiff
path: root/app/models/commit.rb
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Rspec models Milestone, Commit, UsersProjectDmitriy Zaporozhets2013-01-031-1/+1
|
* Fix Commit#to_diffRiyad Preukschas2012-12-221-0/+2
|
* disabled sorting of commits before compareKoen Punt2012-12-201-8/+4
|
* Flipping commit ids in commits_between, fixes #513Koen Punt2012-12-201-1/+1
|
* Add Commit#to_diff for raw diffRiyad Preukschas2012-11-221-0/+15
|
* remove encode lib, clean all encoded area.Saito2012-11-091-4/+3
|
* Reduce max commit diff size. Added Commit::DIFF_SAFE_SIZEDmitriy Zaporozhets2012-10-251-0/+5
|
* Cache the value of safe_messageRobert Speicher2012-10-021-1/+1
| | | | | | | Also, just for extra paranoia, only call safe_message once in the decorator methods Adds specs to make sure it still works
* cosmetical cleanup of modelsNihad Abbasov2012-09-271-18/+6
|
* Improve commits compare. Added tags to autocomplete. Dont look for commits ↵Dmitriy Zaporozhets2012-09-211-4/+8
| | | | if from & to are empty
* Add StaticModel role, and add it to Commit modelRobert Speicher2012-09-021-8/+4
| | | | | | | | | | | | 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, ...)
* Fully embrace Ruby 1.9 hash syntaxRobert Speicher2012-08-101-6/+6
| | | | Didn't bother with files in db/, config/, or features/
* commit.short_id as model method. Styled inline comment formrandx2012-07-271-0/+8
|
* BaseContextDmitriy Zaporozhets2012-07-201-0/+23
| | | | | Controllers refactoring with contexts Move commit compare logic to model
* New Feature: Diff patch file export for commitrandx2012-06-281-0/+1
|
* lib/ refactoring. Module Gitlabhq renamed to Gitlabrandx2012-05-261-1/+1
|
* Gem updates & githost loggerDmitriy Zaporozhets2012-05-211-1/+1
| | | | | | | * Grit gem updated * gitolite-client updated * logger added * few fixes