15653 Commits
Author SHA1 Message Date
Job van der Voort ecd8dc87b7 Version 7.10.2 v7.10.2 2015-05-06 18:25:10 +02:00
Dmitriy Zaporozhets 754f672980 Merge branch '7-10-stable' of github.com:gitlabhq/gitlabhq into 7-10-stable 2015-05-06 15:53:06 +03:00
Dmitriy Zaporozhets bba314b6a7 Merge branch '7-10-2' into '7-10-stable'
Fixes for 7.10.2

See merge request !1804
2015-05-06 12:19:38 +00:00
Douwe MaanandDmitriy Zaporozhets c99f4e9314 Merge branch 'fix-commit-data-url-generation' into 'master'
Fix bug where commit data would not appear in some subdirectories

Fix issue where commit data would not show up in some subdirectories due to escaped slashes. For example:

https://gitlab.common-lisp.net/ecl/ecl/tree/develop/src/gc (now patched with fix)

The upgrade from Rails v4.1.2 to v4.1.9 (76aad9b76e) caused slashes in a tree to be escaped automatically. Using a wildcard glob in the route prevents this behavior.

* Closes #1478, #1459
* Closes https://github.com/gitlabhq/gitlabhq/issues/9037

See merge request !581
2015-05-06 14:44:02 +03:00
Douwe MaanandDmitriy Zaporozhets fe38be8be4 Merge branch 'fix-escaped-branches-in-compare' into 'master'
Unescape branch names in compare commit

The upgrade in GitLab v7.9 to Rails v4.1.9 caused all branch names in the compare commit mode to be escaped (e.g. `/` to `%2F`). The compare mode would not always work when comparing against branch names with a forward slash.

Opted to unescape the branch name rather than use a wildcard segment to prevent escaping slashes because it seems like a more sensible URL. The slashes in this case aren't really represented by a tree structure (e.g. /compare/one/two/branch..another/branch/here).

* Closes #1399
* Closes https://github.com/gitlabhq/gitlabhq/issues/9105

See merge request !582
2015-05-06 14:43:36 +03:00
Douwe MaanandDmitriy Zaporozhets 81634bc1f7 Merge branch 'fix-project-tags' into 'master'
Fix DB error when trying to tag a repository

Steps to reproduce: Go to a project settings, add tags, click on save changes

Observed behavior: Error 500

```
    PG::Error: ERROR:  column "taggings_count" does not exist
        LINE 1: UPDATE "tags" SET "taggings_count" = COALESCE("taggings_coun...
```

Ran `rake acts_as_taggable_on_engine:install:migrations`, removed the first
migration that created the `tags` and `taggings` table, and added the rest.

* Closes #1512
* Closes #1550
* Closes https://github.com/gitlabhq/gitlabhq/issues/6867
* Closes https://github.com/gitlabhq/gitlabhq/issues/9194

See merge request !577
2015-05-06 14:43:04 +03:00
Dmitriy Zaporozhets 3976630c32 Merge branch 'fix-wiki-search' into 'master'
Fix Error 500 when searching Wiki pages

If a Wiki page turns up a hit in the search results, an error will occur:

```
Completed 500 Internal Server Error in 836ms

NoMethodError - undefined method `slug' for "test.markdown":String:
  app/helpers/wiki_helper.rb:10:in `namespace_project_wiki_path'
  app/views/search/results/_wiki_blob.html.haml:4:in `_app_views_search_results__wiki_blob_html_haml___2752621660395393333_70299911622700'
  actionview (4.1.9) lib/action_view/template.rb:145:in `block in render'
  activesupport (4.1.9) lib/active_support/notifications.rb:161:in `instrument'
  actionview (4.1.9) lib/action_view/template.rb:339:in `instrument'
  actionview (4.1.9) lib/action_view/template.rb:143:in `render'
```

An unhandled String containing the name of the Wiki page would be provided to the URL path generator. This MR handles that case.

Closes #1547

See merge request !592
2015-05-06 14:42:48 +03:00
Dmitriy Zaporozhets 7ef05ad0e8 Merge branch 'fix_ci_services' into 'master'
Fix CI links on MR page

Fixes gitlab-org/gitlab-ci#145

See merge request !609
2015-05-06 14:42:31 +03:00
Dmitriy ZaporozhetsandDmitriy Zaporozhets 8ef84b3e5c Merge branch 'admin-add-group-members' into 'master'
Fix adding new group members from admin area

Fix for #2222

Tests for this case already exists but it was green.
It related to current way dealing with ajax selectbox.
Improving tests might be a reason for another merge requests - everyone is welcome to participate.

See merge request !1796
2015-05-06 14:41:41 +03:00
Dmitriy Zaporozhets d4516cf5cd Merge branch 'fix-gitorious-importer' into 'master'
Get Gitorious importer to work again.

Fixes #1504.

See merge request !576
2015-05-06 14:41:25 +03:00
Jakob EnglischandRobert Schilling cdca72a4ba Docker: update omnibus package 2015-05-05 08:15:04 +02:00
Job van der Voort d5c71c834e Version 7.10.1 v7.10.1 2015-04-29 16:40:28 +02:00
Valery SizovandDmitriy Zaporozhets 5dd1deb2b0 Remove abandoned GroupMembers
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>

Conflicts:
	db/schema.rb
2015-04-29 14:30:45 +03:00
Job van der Voort a651951723 Version 7.10.0 v7.10.0 2015-04-22 16:15:44 +02:00
Dmitriy ZaporozhetsandDmitriy Zaporozhets 2c8c782b7e Merge branch 'rs-issue-2257' into 'master'
Recover from URI::Error

`URI::Error` is the base class for all URI errors.

Fixes #2257 and #2260

See merge request !1789
2015-04-22 16:06:07 +03:00
Dmitriy Zaporozhets 20a66988d8 Merge branch 'rs-toggle-tab' into 'master'
Fix tab behavior on MergeRequests#new

Missed this one in 269aee790c

Prior to this fix, clicking the Commits or Changes tab when creating a new MR would reload the page instead of display the tab contents.

See merge request !556
2015-04-22 15:11:09 +03:00
Dmitriy Zaporozhets 36c5277791 Merge branch 'update_grack' into 'master'
Update gitlab-grack to 2.0.2.

Updating to grack version 2.0.2 to fix an issue with smart http clients.

See merge request !559
2015-04-22 15:10:42 +03:00
Job van der Voort 3e913e4cd5 Version 7.10.0.rc8 v7.10.0.rc8 2015-04-21 17:39:33 +02:00
Dmitriy Zaporozhets 0625b15a48 Merge branch '7-10-rc5' into '7-10-stable'
7.10.0.rc5

cc @job

See merge request !1787
2015-04-21 13:41:11 +00:00
Dmitriy Zaporozhets abdc4cbef2 Merge branch 'upgrade-guide-gitlab-shell' into 'master'
7.10 requires gitlab-shell 2.6.2.

Fixes #1467.

See merge request !552
2015-04-21 15:53:35 +03:00
Dmitriy Zaporozhets adcc204948 Merge branch 'gitlab-grack-2.0.1' into 'master'
Update gitlab-grack to 2.0.1 to get unicorn to stop creating zombies.

Addresses #1461 and private issue https://dev.gitlab.org/gitlab/gitlabhq/issues/2253.

This regression was introduced between 7.9 and the 7.10 rcs, so no changelog item for 7.10 proper.

cc @JobV @jacobvosmaer

See merge request !546
2015-04-21 15:49:23 +03:00
Dmitriy Zaporozhets 7915e74d3c Merge branch 'google-code-fixes' into 'master'
Fix some issues with Google Code importer

Thanks, @mrtux, for reporting all of these.

See merge request !551
2015-04-21 15:47:45 +03:00
Dmitriy ZaporozhetsandDmitriy Zaporozhets 34192f2cf9 Merge branch 'rs-issue-2212' into 'master'
Revert and re-fix image rendering in help pages

Closes #2212

See merge request !1765
2015-04-21 15:47:23 +03:00
Job van der Voort 81112b5405 Version 7.10.0.rc4 v7.10.0.rc4 2015-04-20 16:25:16 +02:00
Dmitriy Zaporozhets f6f0a13a8b Merge branch '7-10-rc4' into '7-10-stable'
Changes for 7.10.0.rc4

cc @job @douwe

See merge request !1785
2015-04-20 13:17:56 +00:00
Dmitriy Zaporozhets 8e4b8e20ef Merge branch 'revert-username-period' into 'master'
Revert disallowing usernames to end in period.

cc @JobV @jacobvosmaer

See merge request !545
2015-04-20 15:30:54 +03:00
Dmitriy Zaporozhets 407489d606 Merge branch 'haynes/gitlab-ce-remove_access_control_for_images' into 'master'
Remove access control for uploaded images to fix broken images in emails

Replaces !530.

> This MR removes the access control for uploaded images. This is needed to display the images in emails again.
>
> The previous solution to base64 encode the images had to be reverted, because not all email clients supported it.
>
> If possible this should go into the 7.10 release.

See merge request !533
2015-04-20 12:48:25 +03:00
Dmitriy ZaporozhetsandDmitriy Zaporozhets 59e3832b6e Merge branch 'fix-label-color' into 'master'
Parse GFM references after sanitizing

Parse GFM references - labels, issues, MRs, etc. - after calling the HTML Pipeline `SanitizationFilter` so that we can use non-whitelisted attributes like `style`.  See #2188.

See merge request !1745
2015-04-20 12:39:39 +03:00
Douwe MaanandDmitriy Zaporozhets 5bbd2b8c46 Ignore submodules that are defined in .gitmodules but are checked in as directories. 2015-04-20 12:37:35 +03:00
Roshan GautamandDmitriy Zaporozhets d011527a36 Fix Resource Owner Password Authentication Flow 2015-04-20 12:33:52 +03:00
Dmitriy Zaporozhets dfc5680b1c Merge branch 'fix-label-color-input' into 'master'
Fix label color input.

Because `value` was set, every label color would render as purple in the form.

Introduced by 83b5a9ae2b between 7.9 and 7.10, so no changelog item.

See merge request !538
2015-04-20 12:32:48 +03:00
Job van der Voort 4df7c7912f Version 7.10.0.rc3 v7.10.0.rc3 2015-04-20 10:58:31 +02:00
Dmitriy Zaporozhets 39b8d9e715 Merge branch '7-10-rc3' into '7-10-stable'
Fixes for 7.10.0.rc3

content

- [ ] Update gitlab_git to ignore invalid lines in .gitmodules.
- [ ] Add a task that checks repository integrity with `git fsck`.
- [ ] Decrease memory use and increase performance of Google Code importer.
- [ ] Fix username period migration to preserve uniqueness of names and paths.

See merge request !1783
2015-04-17 15:20:10 +00:00
Dmitriy Zaporozhets 8b4b687d44 Merge branch 'google-code-import-performance' into 'master'
Decrease memory use and increase performance of Google Code importer.

Addresses private issue https://dev.gitlab.org/gitlab/gitlabhq/issues/2241.

See merge request !536
2015-04-17 17:34:48 +03:00
Douwe MaanandDmitriy Zaporozhets 047dacc700 Update gitlab_git to ignore invalid lines in .gitmodules. 2015-04-17 14:38:52 +03:00
Vinnie OkadaandDmitriy Zaporozhets a7be1ad143 Add new rake task
Add a task that checks repository integrity with `git fsck`.
2015-04-17 14:35:42 +03:00
Douwe MaanandDmitriy Zaporozhets b6d01abc02 Fix username period migration to preserve uniqueness of names and paths. 2015-04-17 14:33:34 +03:00
Job van der Voort 743f3ed60c Version 7.10.0.rc2 v7.10.0.rc2 2015-04-16 15:12:32 +02:00
Dmitriy Zaporozhets e24ed47f8f Merge branch 'master' of github.com:gitlabhq/gitlabhq 2015-04-16 15:29:43 +03:00
Dmitriy Zaporozhets 9042d8d2b2 Merge pull request #9131 from chulkilee/ruby-2.1.6
ruby 2.1.6
2015-04-16 15:27:29 +03:00
Jeroen van Baarsen b18b9a55be Merge pull request #9094 from bbodenmiller/patch-1
update text to reference new location of setting
2015-04-16 14:23:38 +02:00
Job van der Voort a7760993c6 Merge branch 'update-install-guides-710' into 'master'
update guides for 7.10

See merge request !1779
2015-04-16 12:19:21 +00:00
Job van der Voort 42237e363b update guides for 7.10 2015-04-16 14:16:46 +02:00
Marin Jankovski ed94cde2b2 Merge pull request #9089 from dsander/fix-merge-request-comments
Fix merge request comments on files with multiple commits
2015-04-15 19:34:38 +02:00
Dmitriy Zaporozhets fb7ce7bd13 Merge branch 'fix-mention-notification' into 'master'
Fix Mention notification level.

Fixes internal issue https://dev.gitlab.org/gitlab/gitlabhq/issues/2236.

See merge request !527
2015-04-15 16:31:34 +00:00
Dominik Sander d4fec49abc Fix merge request comments on files with multiple commits
Having a merge request with a comments on a line which is then changed
in a later commit prevented new comments from properly showing up in the
merge request show page.

 * `Note#set_diff` do not use stored the diff when creating a new note
   in merge requests (we can not be sure the diff did not changed since
   the last comment on that line)
 * Do not rely just on `outdated?` of the first note when displaying
   comments of a MR in the discussion tab, but partition the
   active/outdated notes and display them all
 * In the inline changes tab just select the active notes, so an
   outdated note does not prevent an active one from being rendered
 * Just show active comments in the side-by-side changes tab
2015-04-15 18:23:57 +02:00
Douwe Maan b73ffbd3cb Fix for snippets. 2015-04-15 17:57:26 +02:00
Douwe Maan efe9629346 Fix Mention notification level. 2015-04-15 17:57:26 +02:00
Marin Jankovski 5f78601c8a Merge branch 'fix-gitorious-test' into 'master'
Make sure user has access to namespace in import tests.

See merge request !529
2015-04-15 15:56:23 +00:00
Douwe Maan 80097606f5 Make sure user has access to namespace in import tests. 2015-04-15 16:58:43 +02:00