GitLab Bot
|
7f73b108d4
|
Add latest changes from gitlab-org/gitlab@master
|
2023-09-14 12:09:48 +00:00 |
GitLab Bot
|
9979d2afd6
|
Add latest changes from gitlab-org/gitlab@master
|
2023-07-27 15:10:15 +00:00 |
GitLab Bot
|
34ee0b51d6
|
Add latest changes from gitlab-org/gitlab@master
|
2023-07-14 21:13:45 +00:00 |
GitLab Bot
|
defeeba1a8
|
Add latest changes from gitlab-org/gitlab@master
|
2023-03-07 00:07:42 +00:00 |
GitLab Bot
|
0d55697d64
|
Add latest changes from gitlab-org/gitlab@master
|
2022-12-13 15:07:56 +00:00 |
GitLab Bot
|
2bfa43cf3a
|
Add latest changes from gitlab-org/gitlab@master
|
2022-08-01 06:12:25 +00:00 |
GitLab Bot
|
7cc6872401
|
Add latest changes from gitlab-org/gitlab@master
|
2020-01-29 12:09:08 +00:00 |
Stan Hu
|
f93b2e02a5
|
Run rubocop -a on CE files
|
2019-05-05 03:24:28 -07:00 |
Andrew Newdigate
|
3288e1a874
|
Adds the Rubocop ReturnNil cop
This style change enforces `return if ...` instead of
`return nil if ...` to save maintainers a few minor review points
|
2019-03-06 17:51:56 +02:00 |
gfyoung
|
50abbd3e53
|
Enable frozen string in app/models/*.rb
Partially addresses #47424.
|
2018-07-26 16:55:41 -07:00 |
Jarka Kadlecova
|
e826c5d091
|
Fix link text from group context
|
2017-11-23 12:59:14 +01:00 |
James Lopez
|
112f470572
|
Fix cross-project references copy to include the project reference
Also added relevant specs and refactored to_references in a bunch of places to be more consistent.
|
2017-01-03 13:01:46 +01:00 |
Oswaldo Ferreira
|
f272ee6eba
|
Add shorthand support to gitlab markdown references
|
2016-12-02 19:18:17 -02:00 |
Robert Speicher
|
4a191c83d1
|
Enable Lint/StringConversionInInterpolation cop and autocorrect offenses
|
2016-10-03 16:09:57 +02:00 |
winniehell
|
0d8352973b
|
Use JavaScript tooltips for mentions (!5301)
|
2016-09-01 01:21:34 +02:00 |
Yatish Mehta
|
77d17719fd
|
Fix comment for project argument in commit_range.rb
|
2016-06-20 11:12:04 -07:00 |
Yorick Peterse
|
309ca405fa
|
Don't modify arguments in CommitRange#initialize
This method used to call strip! on input strings which will mess with
the strings if they're re-used or frozen.
|
2016-05-26 13:58:01 +02:00 |
Yorick Peterse
|
e7849b0b25
|
Memoize reference_pattern/link_reference_pattern
These methods are called quite often in loops so by memoizing their
output we can reduce timings a bit.
|
2016-04-01 11:13:30 +02:00 |
Robert Speicher
|
d97742570f
|
Increase the minimum length for commit SHA matching to 7
This is the git default and will help to prevent false positive matches.
Closes #12706
|
2016-01-29 19:52:29 -05:00 |
Douwe Maan
|
9aac53bcee
|
Satisfy Rubocop
|
2015-12-02 10:54:24 +01:00 |
Douwe Maan
|
f3ea06eb7f
|
Autolink first so we don't pick up numeric anchors as issue references.
|
2015-12-01 15:53:32 +01:00 |
Douwe Maan
|
62c14ba2ed
|
Render commit reference using short sha, but include full sha in comment.
|
2015-12-01 12:58:45 +01:00 |
Douwe Maan
|
bd4ab21c07
|
Fix code docs
|
2015-12-01 12:49:22 +01:00 |
Douwe Maan
|
bf5e7252ee
|
Recognize commit range with named refs in compare URLs.
|
2015-11-30 21:36:35 +01:00 |
Douwe Maan
|
d6a5b45c8e
|
Recognize issue/MR/snippet/commit links as references.
|
2015-11-30 21:36:34 +01:00 |
Douwe Maan
|
a7be01cd07
|
Render commit range reference with short shas, link to full shas.
|
2015-11-30 21:10:52 +01:00 |
Robert Speicher
|
b88da58cb6
|
Add `reference_pattern` to Referable models
|
2015-05-26 15:48:32 -04:00 |
Robert Speicher
|
136ab73803
|
Update CommitRange#to_reference to use full SHAs
We only want them shortened by the filter, which calls to_s
|
2015-05-26 15:48:31 -04:00 |
Robert Speicher
|
c0faf91ff2
|
Add `to_reference` for models that support references
Now there is a single source of information for which attribute a model
uses to be referenced, and its special character.
|
2015-05-26 15:48:30 -04:00 |
Robert Speicher
|
682ec038ac
|
Rename `CommitRange#sha_from_as_param` to `#suffixed_sha_from`
|
2015-04-25 14:59:47 -04:00 |
Robert Speicher
|
165cacce16
|
Rename `CommitRange#inclusive?` to `#exclude_start?`
|
2015-04-25 14:58:49 -04:00 |
Robert Speicher
|
92c681a53c
|
Remove CommitRange#to_a
|
2015-04-25 14:45:56 -04:00 |
Robert Speicher
|
2403a28b3f
|
Include caret in CommitRange#reference_title
|
2015-04-25 14:41:06 -04:00 |
Robert Speicher
|
c11d3c5789
|
Remove param from CommitRange#to_s
|
2015-04-25 14:41:06 -04:00 |
Robert Speicher
|
81a21e5796
|
CommitRange improvements
|
2015-04-25 14:41:06 -04:00 |
Robert Speicher
|
a8e6656481
|
Add CommitRange class
|
2015-04-25 14:40:40 -04:00 |