Robert Speicher
7424d2fa5b
Add ExternalLinkFilter to Markdown pipeline
...
Forces a `rel="nofollow"` attribute on all external links.
2015-05-27 15:39:08 -04:00
Douwe Maan
45e4727f97
Set milestone on new issue when creating issue from index with milestone filter active.
2015-05-27 14:22:11 +02:00
Dmitriy Zaporozhets
2cd1cee639
Merge branch 'commit-graphs-by-email' into 'master'
...
Group project contributions by both name and email.
See https://twitter.com/Argorain/status/598751646143897600 .
We now group by both name and email, so that "Douwe Maan - douwe@gitlab.com ", "Douwe Maan - me@douwe.me " and "Douwe M. - me@douwe.me " are all combined into one graph.
Fixes internal issue https://dev.gitlab.org/gitlab/gitlabhq/issues/2328 .
See merge request !700
2015-05-27 11:45:53 +00:00
Dmitriy Zaporozhets
701c2e9a3b
Merge branch 'rs-to_reference' into 'master'
...
Add to_reference method to referable models
Now there is a single source of information for which attribute a model uses to be referenced, and its special character.
See merge request !641
2015-05-27 10:03:14 +00:00
Dmitriy Zaporozhets
3ed05b2191
Merge branch 'rs-manual-2fa-entry' into 'master'
...
Add support for manually entering 2FA details
> 
Related to #1679 though I'm not sure if it entirely fixes it, since I don't have access to a Windows Phone.
See merge request !694
2015-05-27 09:53:40 +00:00
Douwe Maan
29290dbb34
Merge branch 'rs-title-change-note' into 'master'
...
Add a note when an Issue or Merge Request's title changes
> 
Closes #1434
See merge request !717
2015-05-27 08:28:56 +00:00
Robert Speicher
38637e7d08
Change one-character variable name
...
[ci skip]
2015-05-27 03:34:14 -04:00
Douwe Maan
62d0ce19ed
Merge branch 'fix-hipchat-default-api-version' into 'master'
...
Allow HipChat API version to be blank and default to v2
### What does this MR do?
This MR fixes a regression introduced in v7.11 that requires a HipChat API version to be specified when it is supposed to be optional.
### Why was this MR needed?
The "optional" HipChat API version in 57c724558 passed in a blank `api_version` when nothing was specified, and the code was not tested. This would cause a 500 Error.
### What are the relevant issue numbers?
Closes #772
See merge request !718
2015-05-27 07:27:03 +00:00
Stan Hu
0c9463174b
Allow HipChat API version to be blank and default to v2
...
Closes #772
2015-05-26 21:57:24 -07:00
Robert Speicher
1aa3921dd8
Add a note when an Issue or Merge Request's title changes
2015-05-26 21:49:04 -04:00
Robert Speicher
2c1bf71793
Fix ClosingIssueExtractor specs
2015-05-26 15:55:26 -04:00
Robert Speicher
5a9c5520d9
Make use of to_reference in more specs
2015-05-26 15:49:22 -04:00
Robert Speicher
68f74aa826
Add a note about the commented-out test in Markdown Feature
2015-05-26 15:49:22 -04:00
Robert Speicher
81a09bc74c
Support only double quotes for multi-word label references
2015-05-26 15:49:20 -04:00
Robert Speicher
94af050117
Use to_reference in reference filter specs
2015-05-26 15:48:32 -04:00
Robert Speicher
91eb346de6
Add invalidate_reference to ReferenceFilterSpecHelper
2015-05-26 15:48:31 -04:00
Robert Speicher
136ab73803
Update CommitRange#to_reference to use full SHAs
...
We only want them shortened by the filter, which calls to_s
2015-05-26 15:48:31 -04:00
Robert Speicher
ca268b85f6
Use to_reference in Markdown feature spec
2015-05-26 15:48:30 -04:00
Robert Speicher
3b80cf524c
Use to_reference in Mentionable shared examples
2015-05-26 15:48:30 -04:00
Robert Speicher
8773f339a3
Minor model spec cleanups
...
Snippet model was missing project association
2015-05-26 15:48:30 -04:00
Robert Speicher
c0faf91ff2
Add to_reference for models that support references
...
Now there is a single source of information for which attribute a model
uses to be referenced, and its special character.
2015-05-26 15:48:30 -04:00
Jonah Bishop
8b92946b54
Change percent_complete rescue value from 100 to 0
...
The percent_complete method returns a value of 100 when a
ZeroDivisionError occurs. That seems like a very strange default for an
error case, and results in a bug when a milestone has no corresponding
issues (new, empty milestones show 100% completion). This commit changes
the rescue value to 0, and subsequently fixes #1656 , which reported this
problem.
2015-05-26 14:57:53 -04:00
Dmitriy Zaporozhets
b5ea355078
Merge branch 'rs-link_to_label' into 'master'
...
Add link_to_label helper
The primary purpose of this change was to make the actual labels on `Labels#index` clickable.
See merge request !690
2015-05-26 15:09:04 +00:00
Dmitriy Zaporozhets
b23025b669
Merge branch 'rs-gems' into 'master'
...
Update ffaker gem
Adds a version requirement which it didn't have before, at 2.0.0. This version has breaking API changes in that the namespace is now `FFaker` instead of `Faker`.
Prior, if a new developer checked out the repo, ran `bundle install` and then tried `rake dev:setup`, seeding would fail due to having the latest version of ffaker without the API changes in this MR.
Also updates `spring` version and the binstubs, just for kicks.
See merge request !686
2015-05-26 14:42:15 +00:00
Dmitriy Zaporozhets
08102ad748
Merge branch 'rs-issue-1690' into 'master'
...
Better handle label references that aren't actually references
Fixes #1690
See merge request !705
2015-05-26 14:35:54 +00:00
Douwe Maan
9bb00cd77f
Merge branch 'get-monkey-off-my-rack-attack' into 'master'
...
Remove Rack Attack monkey patches and bump to version 4.3.0
I finally got these monkey patches into Rack Attack v4.3.0, so GitLab no longer needs them. Hooray!
See: https://github.com/kickstarter/rack-attack/pull/128
See merge request !693
2015-05-26 07:43:57 +00:00
Robert Speicher
b263a33c80
Better handle label references that aren't actually references
...
Fixes #1690
2015-05-25 16:06:34 -04:00
Douwe Maan
a9e2686139
Update specs.
2015-05-25 16:31:20 +02:00
Robert Speicher
7b879bb8bd
Bump secret key length to 32
2015-05-23 18:47:53 -04:00
Robert Speicher
e73ea12695
Add support for manually entering 2FA details
2015-05-23 15:04:40 -04:00
Stan Hu
3b22cfe600
Remove Rack Attack monkey patches and bump to version 4.3.0
2015-05-22 16:25:03 -04:00
Stan Hu
deeff56967
Add support for Webhook note events
...
Closes https://github.com/gitlabhq/gitlabhq/issues/6745
2015-05-21 23:48:16 -04:00
Robert Speicher
9bdd7f34a5
Add link_to_label helper
2015-05-21 23:40:25 -04:00
Job van der Voort
3a3f4b41e6
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce
2015-05-21 10:38:22 +02:00
Alex Connor and Jeroen van Baarsen
3c892f3554
Disabled expansion of top/bottom blobs for new file diffs
2015-05-21 09:25:07 +02:00
Robert Speicher
9789b56a31
Update ffaker gem
...
Adds a version requirement which it didn't have before, at 2.0.0. This
version has breaking API changes in that the namespace is now `FFaker`
instead of `Faker`.
2015-05-20 19:22:00 -04:00
Robert Speicher
8ee382087d
Subclass TaskList::Filter to fix a bug
...
Instead of using a fork, we subclass the filter and only apply the
`task-list` class to list items that actually are task lists.
Closes #1645
See https://github.com/github/task_list/pull/60
2015-05-20 12:08:33 -04:00
Marin Jankovski
509a32f466
Merge branch 'shell-secret-path' of https://github.com/jirutka/gitlabhq into jirutka-shell-secret-path
2015-05-19 14:37:35 +02:00
Jakub Jirutka
b0659c1b07
Simplify and unify helpers for rendering markup
2015-05-18 22:52:13 +02:00
Jakub Jirutka
daa0925016
Rename MarkdownHelper to MarkupHelper
2015-05-18 22:51:56 +02:00
Jakub Jirutka
8dbc4746fe
Handle AsciiDoc better, reuse HTML pipeline filters ( fixes #9263 )
2015-05-18 20:48:03 +02:00
Dmitriy Zaporozhets
f5f0ed55bd
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce
2015-05-18 17:58:22 +03:00
Vinnie Okada
56e06b03bf
Add tests for password reset token changes
2015-05-16 14:11:33 -06:00
Vinnie Okada
0bfab084a8
Explain reset token expiration in emails
...
Tell new users when their password reset token expires and provide a
link to get a new one.
2015-05-16 14:03:07 -06:00
Jakub Jirutka
ed3298fc01
Allow to configure gitlab_shell_secret location
2015-05-16 21:46:06 +02:00
Douwe Maan
5210778d6e
Fix specs.
2015-05-15 15:38:05 +02:00
Dmitriy Zaporozhets
9c6f4a2351
Merge branch 'dashboard-references' into 'master'
...
Fix reference links in dashboard activity and ATOM feeds.
References like `@user` were not linked on the dashboard activity feed and in Atom feeds, because the reference parser depends on `@project` which isn't set in those situations.
This MR passes the project in question to the reference parsers in an option.
cc @rspeicher
See merge request !653
2015-05-15 09:59:26 +00:00
Dmitriy Zaporozhets
740dc41250
Merge branch 'project_api_order' into 'master'
...
Add order option for projects API
https://dev.gitlab.org/gitlab/gitlab-ci/issues/222
See merge request !656
2015-05-14 20:25:39 +00:00
Valery Sizov
7c3ca86370
Add order option for projects API
2015-05-14 15:49:09 +03:00
Douwe Maan
cd52cef1c0
Fix reference links in dashboard activity and ATOM feeds.
2015-05-14 13:05:33 +02:00