Grzegorz Bizon
7e9109c43b
Move common_mentionable_setup
to shared context in specs
2015-12-08 08:43:09 +01:00
Douwe Maan
4a0ebccf6b
Fix specs
2015-11-30 22:43:54 +01:00
Douwe Maan
95f0440a78
Merge branch 'master' into rs-redactor-filter
2015-10-15 11:26:58 +02:00
Douwe Maan
276b3a7bc2
Make Mentionable#cross_reference_exists? private.
2015-10-14 09:27:39 +02:00
Douwe Maan
6f35614852
Fix mentionable specs
2015-10-12 16:23:15 +02:00
Douwe Maan
b0164771ec
Simplify code around (cross)-references
2015-10-12 11:54:46 +02:00
Douwe Maan
72afcbcd37
Always allow references to the current project
2015-10-07 19:19:23 +02:00
Dmitriy Zaporozhets
3e259ea8bc
Revert "Merge branch 'revert-satellites' into 'master'
"
...
This reverts commit 5daf44b7c8
, reversing
changes made to 2f706fbd23
.
2015-08-11 14:33:31 +02:00
Dmitriy Zaporozhets
9f10943c1a
Revert "Merge branch 'drop-satellites'"
...
This reverts commit 957e849f41
, reversing
changes made to 6b9dbe9f5a
.
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-08-11 10:28:42 +02:00
Dmitriy Zaporozhets
abd2bc00f9
Fix some of tests
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-07-16 17:04:49 +02:00
Robert Speicher
f3d4767d0c
Rename notice_added_references
to create_new_cross_references!
2015-07-13 21:31:16 -04:00
Robert Speicher
2120e2dd95
Replace remaining references to Note.create_cross_reference_note
2015-06-22 12:13:46 +02:00
Douwe Maan
a916936f3f
Fix spec.
2015-06-02 15:00:51 +02:00
Robert Speicher
3b80cf524c
Use to_reference in Mentionable shared examples
2015-05-26 15:48:30 -04:00
Robert Speicher
89775da8e5
Add to_param to mentionable spec's mock
2015-04-25 14:40:40 -04:00
Douwe Maan
077a8ec270
Fix tests.
2015-04-24 12:31:57 +02:00
Douwe Maan
889832578a
Fix small issues.
2015-04-24 12:31:16 +02:00
Douwe Maan
0ff778c0f4
Link cross-project cross-reference notes to correct project.
2015-04-24 12:30:36 +02:00
Robert Speicher
e01480a3af
Minor mentionable shared example change
2015-04-16 16:34:01 -04:00
Robert Speicher
8c9a148720
Update mentionable shared examples to be (a bit) more understandable
2015-04-16 16:30:16 -04:00
Robert Speicher
dee52393b5
Correct usage of subject
in specs
2015-04-16 16:30:16 -04:00
Jeroen van Baarsen
0c4a70a306
Updated rspec to rspec 3.x syntax
...
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
2015-02-12 19:17:35 +01:00
Dmitriy Zaporozhets
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
Vinnie Okada
088987e2dd
Make Mentionables work for cross-project refs
...
Add a note to merge requests and issues when they're mentioned by a
merge request, issue, or commit in another project.
2014-10-03 12:30:20 -05:00
Dmitriy Zaporozhets
9231b91a40
Fix mentionable spec
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-06-27 00:37:04 +03:00
Dmitriy Zaporozhets
c227aa44f9
Make changes to tests
...
* project_with_code -> project
* project -> ermpty_project
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-01-22 21:03:52 +02:00
Dmitriy Zaporozhets
77febe8f1e
Fixed mistake and mock warning
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-12-10 12:11:28 +02:00
ash wilson
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