Commit graph

26 commits

Author SHA1 Message Date
tiagonbotelho
519275c110 fixes part1 of files to start using active tense 2016-08-09 15:06:23 +01:00
Robert Speicher
901d4d2ca5 Remove url_for_new_issue helper
Now we link to the standard `IssuesController#new` action, and let it
redirect if we're using an external tracker.
2016-08-01 18:23:12 -07:00
Robert Speicher
a70431f874 Redirect to external issue tracker from /issues
Prior, in order to display the correct link to "Issues" in the project
navigation, we were performing a check against the project to see if it
used an external issue tracker, and if so, we used that URL. This was
inefficient.

Now, we simply _always_ link to `namespace_project_issues_path`, and
then in the controller we redirect to the external tracker if it's
present.

This also removes the need for the url_for_issue helper. Bonus! 🎉
2016-08-01 16:59:44 -07:00
Douglas Barbosa Alexandre
0568b90c97 Remove deprecated issues_tracker and issues_tracker_id from project 2016-06-13 18:13:55 -03:00
Zeger-Jan van de Weg
7e6dcf9cd0 Merge branch 'master' into awardables 2016-05-11 08:47:04 +02:00
Zeger-Jan van de Weg
3bdc57f0a7 Create table for award emoji 2016-05-06 10:47:11 +02:00
Rémy Coutable
ef340f6e77 Ensure URL in all Service subclasses are valid
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-04-25 15:28:24 -04:00
Felipe Artur
8d5ad4e3c9 improve specs code syntax 2016-04-07 17:49:33 -03:00
Felipe Artur
9e6c61372f Fix milestone removal problem when editing issues 2016-04-06 11:02:22 -03:00
Valery Sizov
c79ffa01b4 satisfy rubocop 2015-12-25 15:46:01 +02:00
Valery Sizov
195dc3a746 add sorting of awards 2015-12-25 14:11:19 +02:00
Valery Sizov
0ae0881250 fix specs 2015-12-22 23:12:23 +02:00
Valery Sizov
a48dd40a92 base implementation of emoji picker [ci skip] 2015-12-22 23:12:23 +02:00
Valery Sizov
671a49cfd5 added specs 2015-11-19 14:41:05 +02:00
Zeger-Jan van de Weg
94a788f66d Only accept open issues and merge requests 2015-10-16 09:59:32 +02:00
Robert Speicher
84a7675ea6 Remove title_for_issue helper 2015-04-30 17:27:33 -04: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
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
Jeroen van Baarsen
de1c450abd Started on the rspec upgrade
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
2015-02-12 16:48:53 +01:00
Marin Jankovski
4641514cbf Update rspec tests to the new external issue logic. 2015-01-26 15:59:40 -08:00
Marin Jankovski
ff046c7200 Fallback to internal issue tracker if config is invalid. 2013-10-17 10:42:39 +02:00
Dmitriy Zaporozhets
a73e068c06 Fixing tests after adding iid for issues/mr 2013-08-20 16:56:05 +03:00
Andrew8xx8
242f6aa218 New issue button was not follows to external tracker if it is selected. fixed #3386 2013-03-26 12:28:26 +04:00
Andrew8xx8
8caccae454 Issue helper tests improved 2013-02-28 16:11:14 +04:00
Andrew8xx8
c643b50dbd Default value for issues_tracker setting added 2013-02-28 16:11:13 +04:00
Andrew8xx8
16c720fd96 Issues helper improved 2013-02-28 16:11:13 +04:00