http://jneen.net/
f656d4ebc6
expose Referable#non_referable_inspect
2017-08-16 12:02:38 -07:00
http://jneen.net/
15643ff91e
implement #inspect for all Referables
2017-08-01 13:20:22 -07: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
Stan Hu
7c9eba8919
Fix RangeError exceptions when referring to issues or merge requests outside of max database values
...
When using #XYZ in Markdown text, if XYZ exceeds the maximum value of a signed 32-bit integer, we
get an exception when the Markdown render attempts to run `where(iids: XYZ)`. Introduce a method
that will throw out out-of-bounds values.
Closes #18777
2016-06-18 13:07:38 -07: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
d6a5b45c8e
Recognize issue/MR/snippet/commit links as references.
2015-11-30 21:36:34 +01:00
Robert Speicher
5cc9b17b8a
Make cross_project_reference?
less magical
2015-05-26 15:49:21 -04:00
Robert Speicher
1a277c5025
Minor documentation updates
2015-05-26 15:48:32 -04:00
Robert Speicher
b88da58cb6
Add reference_pattern
to Referable models
2015-05-26 15:48:32 -04:00
Robert Speicher
b06dc74d61
Add Referable concern
2015-05-26 15:48:30 -04:00