Douglas Barbosa Alexandre
34ee75379c
Restrict access to confidential issues
2016-03-17 20:55:38 -03:00
Douglas Barbosa Alexandre
6b86d3fb80
Add an option to user make an issue confidential
2016-03-17 20:55:38 -03:00
Grzegorz Bizon
57eb395488
Do not pass unsanitized params to issue move service
2016-03-17 07:39:15 +01:00
Grzegorz Bizon
c8e7d1ed8e
Add issue move implementation to controller
2016-03-17 07:39:15 +01:00
Zeger-Jan van de Weg
228007dfbc
new-branch-button
2016-03-15 20:21:11 +01:00
Rémy Coutable
c98089b2b2
Move the #toggle_subscription controller method to a concern
2016-03-15 18:22:03 +01:00
Rémy Coutable
54ec7e9599
Improving the original label-subscribing implementation
...
1. Make the "subscribed" text in Issuable sidebar reflect the labels
subscription status
2. Current user mut be logged-in to toggle issue/MR/label subscription
2016-03-15 18:22:02 +01:00
Zeger-Jan van de Weg
df27b3a174
Issuable can be assigned to author
...
Closes #9014
The only difference with #9014 is that I thoughed the author should also be
able to assign the issue. If this is unwanted behavior Ill revert it.
2016-02-22 12:10:56 +01:00
Tap
2e81b1558b
Label description and Label row
...
- Add label description
- Show label row when filtering issues or merge requests by label
2016-02-17 21:52:12 +08:00
Yorick Peterse
f7240e03a6
Fix autocomplete for new issues/MRs/snippets
2016-01-15 11:29:53 +01:00
Rémy Coutable
9d7f88c122
Show referenced MRs & Issues only when the current viewer can access them
2016-01-13 11:59:10 +01:00
Dmitriy Zaporozhets
c6c244315a
Implement new sidebar for merge request page
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-12-11 20:11:23 +01:00
Greg Smethells
0272f27401
display referenced merge requests in issue description with CI status
2015-12-11 10:14:55 -06:00
Jose Corcuera
b9df1a6355
Strip attributes for Milestone and Issuable. #3428
2015-11-26 10:16:50 -05:00
Valery Sizov
fd2c0fe446
award emoji
2015-11-19 01:25:27 +02:00
Drew Blessing
752d528019
Fix trailing space issue with merge requests and issues. Fixes #2514
2015-11-10 15:41:49 -06:00
Stan Hu
9bfc531ec6
Redirect to a default path if HTTP_REFERER is not set
...
Safari 9.0 does not yet honor the HTML5 `origin-when-cross-origin` mode,
and it's possible load balancers/proxies strip the HTTP_REFERER from
the request header. In these cases, default to some default path.
Closes #3122
Closes https://github.com/gitlabhq/gitlabhq/issues/9731
2015-10-20 07:45:48 -07:00
Zeger-Jan van de Weg
94a788f66d
Only accept open issues and merge requests
2015-10-16 09:59:32 +02:00
Zeger-Jan van de Weg
9f9f0c35ec
Show merge requests which close current issue
2015-10-16 09:46:59 +02:00
Yorick Peterse
e5925d073e
Renamed Note.inc_associations to with_associations
2015-10-15 12:05:01 +02:00
Yorick Peterse
1554786c6a
Eager load various issue/note associations
...
This ensures we don't end up running N+1 queries for the objects in the
affected collections.
2015-10-15 12:05:01 +02:00
Douwe Maan
b0164771ec
Simplify code around (cross)-references
2015-10-12 11:54:46 +02:00
Stan Hu
f33fe50f0d
Disable internal issue tracker if external tracker in use
...
Closes #2006
2015-07-17 22:59:31 -07:00
Dmitriy Zaporozhets
d63371ad78
Update controller filters
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-06-26 16:44:21 +02:00
Dmitriy Zaporozhets
342d553709
Rename abilities to correspond contoller/model action names
...
write_ was renamed to create_
modify_ was renamed to update_
So now in update action we have next code
def create
can?(current_user, :create_issue, @issue)
end
def update
can?(current_user, :update_issue, @issue)
end
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-06-26 15:55:56 +02:00
Dmitriy Zaporozhets
a5f23435f7
Improve performance for issue#show page
...
* store @participants in variable
* store result of subscribed? call into variable
In total it reduce amount of SQL queries for issue with 10 comments/participants twice.
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-06-24 12:49:34 +02:00
Nikita Verkhovin
241f5971ba
Add search issues/MR by number
2015-05-18 13:09:13 +06:00
Jeroen van Baarsen
5a4ebfb47a
Fixed the Rails/ActionFilter cop
...
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
2015-04-20 15:39:37 +02: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
9698b36c1c
Subscription
2015-03-15 19:44:59 +02:00
Dmitriy Zaporozhets
f0cbbd70bb
Use same constant for amount of items per page
2015-03-12 15:37:00 -07:00
Douwe Maan
b673d87227
Send notifications and leave system comments when bulk updating issues.
2015-03-06 15:01:13 +01:00
Dmitriy Zaporozhets
128012dba8
More use of shortcut routes
2015-02-25 19:50:01 -08:00
Dmitriy Zaporozhets
9459e9db24
Fix updating issue 500 error
2015-02-22 22:26:09 -08:00
Vinnie Okada
76aad9b76e
Upgrade to Rails 4.1.9
...
Make the following changes to deal with new behavior in Rails 4.1.2:
* Use nested resources to avoid slashes in arguments to path helpers.
2015-02-14 11:09:23 -07:00
Dmitriy Zaporozhets
016981c009
Refactor issuable list pages
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-12-24 11:04:33 +02:00
Dmitriy Zaporozhets
47634e392f
Refactor issues and merge requests lists
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-12-23 18:49:39 +02:00
Dmitriy Zaporozhets
e0f30c605b
Add author filter for issues & merge requests pages
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-12-05 17:13:07 +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
Dmitriy Zaporozhets
810028f3f3
Dont show blocked users in assignee filter
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-09-25 19:05:27 +03:00
Dmitriy Zaporozhets
8b00d01c67
Search by issue/mr title and description
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-08-27 12:47:30 +03:00
Dmitriy Zaporozhets
d79c0ea271
Allow set labels from Issue/MR forms
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-07-29 21:23:54 +03:00
Marin Jankovski
751d267f29
Create required issue param for new action.
2014-07-01 14:03:49 +02:00
Dmitriy Zaporozhets
1dab15940d
Remove protected_atrributes gem and start moving to strong params
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-06-26 14:30:07 +03:00
Dmitriy Zaporozhets
d52df8e730
Merge branch 'issues-filter-by-description' into 'master'
...
Issues filter by description
In Issues section of any project there is a filter box, which by default says 'Filter by title or description' - so this behaviour is desired. But in fact only filter by title works and filter by description DOESN'T work. This fix adds description fitlering.
2014-06-24 07:04:01 +00:00
Dmitriy Zaporozhets
8d240fb0e7
Show/hide issue assignee avatar depends on drag-n-drop column in milestone view
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-06-16 12:17:34 +03:00
Dmitriy Zaporozhets
f1ec62f465
Add reopened tab to milestone issues. Add ids and data to milestone issues to enable dragging
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-06-04 18:52:35 +03:00
Earle Bunao & Neil Calabroso
6a85cdf162
Implements drag and drop upload in creating issues
2014-05-23 16:22:42 +08:00
Andrey Vasilyev
36a5bbcc8f
Fixes a problem with 'Issues' filter box, where description of the filter says 'Filter by title or description' but in fact filter only works for title and doesn't work for description
2014-05-16 09:42:58 +04:00
Dmitriy Zaporozhets
c4e81ed9de
Move update issue code to separate service
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-04-02 13:54:41 +03:00
Dmitriy Zaporozhets
cfd9fd30d6
Move code for issue creation to service.
...
The goal of suych refactoring is to get rid of observers.
Its much easier to test and code when object creation and all other
related actions done in one class instead of splited across observers,
callbacks etc.
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-04-02 13:38:35 +03:00
Dmitriy Zaporozhets
f08464c055
Remove author_id_of_changes from app
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-03-25 14:01:52 +02:00
Dmitriy Zaporozhets
645e8d4705
Move services for collecting items to Finders
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-02-25 19:15:08 +02:00
Dmitriy Zaporozhets
abb3121308
Show only people who have assigned merge requests in assignee dropdown
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-02-13 13:59:07 +02:00
Dmitriy Zaporozhets
13ecbb04bc
Show only people who have assigned issues in assignee dropdown
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-02-13 13:57:11 +02:00
Dmitriy Zaporozhets
58ac731c37
Fix Issues#bulk_update
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-02-10 15:36:58 +02:00
Dmitriy Zaporozhets
4645f464a3
Allow developers to mange issue tracker
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-01-24 21:29:22 +02:00
Dmitriy Zaporozhets
4d56c359d3
Merge pull request #6075 from skv-headless/remove_deprecated_finders
...
Remove deprecated finders
2014-01-22 11:04:56 -08:00
Dmitriy Zaporozhets
e583df5443
Dont override project_id params when use issues/mr filtering
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-01-20 14:16:12 +02:00
skv
a3f645ef51
Remove deprecated finders
2014-01-19 23:39:56 +04:00
Dmitriy Zaporozhets
1d2bdb4d58
Move all Context classes into Services
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-01-16 19:03:42 +02:00
Dmitriy Zaporozhets
234b86c97f
Use FilteringService for project issuus, mrs
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-01-15 16:32:44 +02:00
Dmitriy Zaporozhets
f554aa38d5
Update commentable controllers with new note vars
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-12-25 22:32:48 +02:00
Dmitriy Zaporozhets
f7e7dc7ebb
Make note anchors actually work
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-12-25 13:32:43 +02:00
Drew Blessing
63723ef6df
Fix dashboard event caching
2013-12-13 13:40:45 -06:00
Dmitriy Zaporozhets
da10cad1da
Drop rjs from Issues#index
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-11-29 15:05:32 +02:00
Jason Blanchard
b76948e6c9
Added sorting to project issues page
2013-11-23 15:04:50 -05:00
Dmitriy Zaporozhets
dc016fef39
Add redirect from Issue#id to Issue#iid
2013-08-26 14:15:21 +03:00
Dmitriy Zaporozhets
c1583c6d74
Find issues and Mr by iid in controller
2013-08-19 22:12:04 +03:00
Dmitriy Zaporozhets
3281021e8b
Rewrite issues/mr filtering logic
2013-08-10 20:25:53 +03:00
Dmitriy Zaporozhets
2ed7cbfba4
Move projects controllers/views in Projects module
2013-06-23 19:47:22 +03:00