Robert Speicher
3cb6a33846
More SystemNoteService cleanup
2015-05-26 16:30:07 -04: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
0359d41b06
Implement gfm_reference directly in Mentionable
...
Except for Note, which still overrides it.
2015-05-26 15:48:31 -04:00
Robert Speicher
b06dc74d61
Add Referable concern
2015-05-26 15:48:30 -04:00
Douwe Maan
0b7c4fe048
Don't include users without project access in participants.
2015-05-15 12:46:52 +02:00
Douwe Maan
77dc71d550
Fix mentioning of private groups.
2015-05-14 13:15:13 +02:00
Robert Speicher
48e6fb532a
Add a SystemNoteService class
...
There's a lot of code in the Note model that only deals with creating
system notes, so we're going to split that into its own class.
2015-05-11 00:01:01 -04:00
Robert Speicher
1108915f75
Change wording for task list summaries
2015-05-06 17:27:10 -04:00
Robert Speicher
e167f28549
Update Taskable to use TaskList
2015-05-06 12:58:28 -04:00
Douwe Maan
04020d5e20
Explain purpose and usage.
2015-04-24 12:31:16 +02:00
Douwe Maan
6f8ff08c65
Fix behavior for Enumerable-like ActiveRecord relations.
2015-04-24 12:31:16 +02:00
Douwe Maan
0db79443ee
Satisfy Rubocop.
2015-04-24 12:30:37 +02:00
Douwe Maan
e739eb036d
Move participants method to shared Participable concern.
2015-04-24 12:30:36 +02:00
Douwe Maan
0ff778c0f4
Link cross-project cross-reference notes to correct project.
2015-04-24 12:30:36 +02:00
Douwe Maan
51ad59e0d8
Fix bug causing @whatever inside code blocks to sometimes be picked up as a user mention.
2015-04-21 14:58:18 +02:00
Douwe Maan
630e879066
Clean up code somewhat.
2015-04-17 11:03:33 +02:00
Douwe Maan
a9b04c4536
Fix Snippet#participants.
2015-04-15 18:59:01 +02:00
Douwe Maan
959ebbcade
Clean up code around commit mentions.
2015-04-15 17:57:31 +02:00
Douwe Maan
c5d7660000
Fix errors.
2015-04-02 22:36:54 +02:00
Douwe Maan
65bb0c3406
Only allow users to cross-reference and close issues they have access to.
2015-04-02 10:57:01 +02:00
Douwe Maan
e62b5a2b07
Only allow user to see participants from groups they have access to.
2015-04-02 10:57:01 +02:00
Douwe Maan
403b727138
Slightly refactor getting note notification recipients.
2015-04-02 10:57:01 +02:00
Douwe Maan
d2bd606759
Refactor Mentionable mentioned users to use ReferenceExtractor.
2015-04-02 10:57:01 +02:00
Douwe Maan
b1ef1aa59f
Slightly refactor ReferenceExtractor.
2015-04-02 10:53:38 +02:00
Dmitriy Zaporozhets
dc3b4321ff
Merge branch 'group-information-leak' into 'master'
...
Don't leak private group existence by redirecting from namespace controller to group controller.
See merge request !440
2015-04-01 01:01:38 +00:00
Douwe Maan
61e8ca8ce0
Don't leak private group existence by redirecting from namespace controller to group controller.
2015-03-24 15:55:12 +01:00
Vinnie Okada
1dc90fc455
Fix nested task lists
...
When nesting task list items, the parent item is wrapped in a `<p>` tag.
Update the task list parser to handle these paragraph wrappers.
2015-03-21 08:45:28 -06:00
Valery Sizov
1b437ec349
tests
2015-03-16 21:38:41 +02:00
Valery Sizov
410d25c8ca
rename table subscribe; make it polymorfic
2015-03-16 15:22:50 +02:00
Valery Sizov
09ef69b7c8
code folding fix
2015-03-16 13:52:55 +02:00
Valery Sizov
9698b36c1c
Subscription
2015-03-15 19:44:59 +02:00
Stan Hu
7e204cf389
Added comment notification events to HipChat and Slack services.
...
Supports four different event types all bundled under the "note" event type:
- comments on a commit
- comments on an issue
- comments on a merge request
- comments on a code snippet
2015-03-06 06:54:00 -08:00
Marin Jankovski
29e606deec
Add ExternalIssue base model to make issue referencing more robust for external issue trackers.
2015-02-11 09:21:57 -08:00
Dmitriy Zaporozhets
4cce10583d
Fix tests for semaphore
2015-02-06 23:57:28 -08:00
Dmitriy Zaporozhets
89f8020fe1
Merge branch 'mention-groups'
...
Conflicts:
CHANGELOG
2015-02-06 16:45:37 -08:00
Dmitriy Zaporozhets
c5be267e40
Refactor issuable sorting a bit
2015-02-05 20:21:21 -08:00
Dmitriy Zaporozhets
bbca6a0abd
Refactor sorting in project
2015-02-05 19:15:05 -08:00
Dmitriy Zaporozhets
e0aa5c371e
Fix method overlap for issue sorting
2015-02-05 16:49:41 -08:00
Dmitriy Zaporozhets
62ed1c537e
Explicitly define ordering in models using default_scope
2015-02-05 14:20:55 -08:00
Douwe Maan
9910b7ff99
Allow groups to be mentioned.
...
Resolves #1673 .
2015-02-05 19:10:52 +01:00
Dmitriy Zaporozhets
a5b255fbdf
Code improvements according to styleguide
2015-01-22 09:37:47 -08:00
Dmitriy Zaporozhets
2b10520b30
Merge pull request #7999 from cirosantilli/append-inplace
...
Append in place for strings and arrays [failure unrelated]
2015-01-21 23:07:15 -08:00
Michael Clarke
505a492cd8
Only count the user's last vote
2015-01-19 21:18:36 +00:00
Ciro Santilli
33c9f05c6b
Append in place for strings and arrays
2015-01-01 21:12:00 +01:00
Valeriy Sizov
5c6b21f1c2
Merge pull request #7967 from Bugagazavr/issue-actor
...
Add issueable actor to hooks
2014-11-05 12:10:50 +02:00
Dmitriy Zaporozhets
fd17ba9ffc
Mentioned users are not limited by project scope any more
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-10-30 13:26:45 +02:00
Vinnie Okada
9f0083a96c
Add task lists to issues and merge requests
...
Make the Markdown parser recognize "[x]" or "[ ]" at the beginning of a
list item and turn it into a checkbox input. Users who can modify the
issue or MR can toggle the checkboxes directly or edit the Markdown to
manage the tasks. Task status is also displayed in the MR and issue
lists.
2014-10-05 22:15:27 -05:00
Kirill Zaitsev
11848febd1
Add issueable actor
2014-10-05 20:41:33 +04:00