Commit Graph
15526 Commits
Author SHA1 Message Date
Stan Hu 48efd65ff6 Remove timing dependency on test
See: http://www.elabs.se/blog/53-why-wait_until-was-removed-from-capybara
2015-04-14 10:34:48 -07:00
Dmitriy Zaporozhets ac5af61499 Merge branch 'fix-ldap-migration' into 'master'
Fix ldap migration

We need different queries for MySQL and Postgres.

See merge request !1771
2015-04-14 16:01:26 +00:00
Dmitriy Zaporozhets afb43a8fcd Use smae background for git clone text and project visibility
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-04-14 18:29:20 +03:00
Dmitriy Zaporozhets 09eea7ea84 Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce 2015-04-14 18:13:38 +03:00
Dmitriy Zaporozhets 3cfcb635ea Merge branch 'ui-improvements' into 'master'
Ui improvements

See merge request !1772
2015-04-14 15:13:11 +00:00
Douwe Maan 6157dad9ff Merge branch 'master' into 'master'
Fix error message

This merge request fixes issue when somebody try to import repository (to which that user can't add deploy keys) and has no feedback.

See merge request !518
2015-04-14 15:08:58 +00:00
Dmitriy Zaporozhets 5262ba3c9a Default buttons should look the same on project page
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-04-14 17:45:43 +03:00
Dmitriy Zaporozhets dab1824679 Align project download button with others in sidebar on project home page
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-04-14 17:08:01 +03:00
Jacob Vosmaer 0b2670f82f Remove unnecessary semicolons
I could not help myself
2015-04-14 15:45:15 +02:00
Jacob Vosmaer 41a1cb88f4 Use different queries for MySQL and Postgres
I could not find a query that worked on both; these two queries look
very similar and seem to do the same thing.
2015-04-14 15:44:19 +02:00
Dmitriy Zaporozhets 0c6217e2dc Add border radius and shadow to project avatar on project home page
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-04-14 16:40:59 +03:00
Dmitriy Zaporozhets 29970204ea Fix button overflow for branches/tags pages
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-04-14 16:26:47 +03:00
Dmitriy Zaporozhets bf7932bd06 Merge branch 'dir-traversal' into 'master'
Fix directory traversal vulnerabilities

Fixes gitlab/gitlab-ee#272.

As @joern mentions:

> This is not exploitable via the front-end nginx. But nevertheless this issue should be addressed.

See merge request !1760
2015-04-14 13:07:27 +00:00
Dmitriy Zaporozhets 582bff2ce4 Merge pull request #9126 from Senorsen/master
Allow user to choose which email to be public
2015-04-14 15:18:55 +03:00
Senorsen 7b28218f96 Allow user to choose which email to be public
This commit allows user to show one of their emails in profile page,
or don't show email in this page.
2015-04-14 19:42:48 +08:00
Douwe Maan 5e2f25c32e Add explanation to HelpController#clean_path_info. 2015-04-14 13:07:15 +02:00
Douwe Maan ae6d0aaae0 Revert "Merge branch 'fix-stuck-mr' into 'master'"
This reverts commit 79b4d0b0c0, reversing
changes made to a1e147ce22.
2015-04-14 11:03:23 +02:00
Dmitriy Zaporozhets 6b479b6cb0 Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce 2015-04-14 11:55:10 +03:00
Douwe Maan 36537c65e3 Merge branch 'revert_fix_email_images' into 'master'
Revert "Merge branch 'fix_email_images' into 'master'"

This reverts commit d66148ef39, reversing
changes made to cdb64a81a8.

This change needed to be reverted,
because not enough email clients support inline images.

/cc @DouweM As discussed before. I'll try to create a MR to allow access to all images this week. I'm a bit busy at the moment so no guarantees. ;)

See merge request !513
2015-04-14 08:44:24 +00:00
Zbigniew Motyka bf2db3ec03 Fix error message 2015-04-14 10:20:07 +02:00
Douwe Maan 41cdc5eb8a Merge branch 'fix_changelog' into 'master'
Fix wrong merged changelog entries

See merge request !514
2015-04-14 08:19:33 +00:00
Douwe Maan 79b4d0b0c0 Merge branch 'fix-stuck-mr' into 'master'
fix stuck MR

If `locked_at` is `nil` return that the merge has been locked long enough and those are old merges stuck in locked state.

Fixes #348. Related to 6487419364.

See merge request !517
2015-04-14 07:48:29 +00:00
Dmitriy Zaporozhets c420255401 Merge branch 'rs-remove-invalid-key-factories' into 'master'
Remove the invalid key factories

They're only used once each, and they're easy to build in-place.

See merge request !1766
2015-04-14 07:33:55 +00:00
Dmitriy Zaporozhets 4632983c8c Merge branch 'rs-link-to-performance' into 'master'
Speed up the overridden `link_to` helper

Only bothers to check the provided link's external status if it's a String that doesn't begin with a path or anchor character.

See merge request !1767
2015-04-14 07:33:09 +00:00
Ben Bodenmiller fb1cd0a842 fix stuck MR
fixes #348. related to 6487419364.
2015-04-14 00:15:34 -07:00
Hannes Rosenögger a1e147ce22 Merge branch 'fix_tests_help_link_2' into 'master'
fix failing test

This should fix:

```
Coverage report generated for RSpec to /home/gitlab-runner/tmp/builds/project-1/coverage. 4331 / 8315 LOC (52.09%) covered.
/home/gitlab-runner/lib/ruby/gems/2.1.0/gems/racc-1.4.10/lib/racc/parser.rb:532:in `on_error':  (Racc::ParseError)
parse error on value "Background" (BACKGROUND)
	from /home/gitlab-runner/lib/ruby/gems/2.1.0/gems/racc-1.4.10/lib/racc/parser.rb:264:in `_racc_do_parse_c'
	from /home/gitlab-runner/lib/ruby/gems/2.1.0/gems/racc-1.4.10/lib/racc/parser.rb:264:in `do_parse'
	from /home/gitlab-runner/lib/ruby/gems/2.1.0/gems/gherkin-ruby-0.3.1/lib/gherkin_ruby/parser/lexer.rb:31:in `scan_str'
	from gherkin.y:107:in `parse'
	from /home/gitlab-runner/lib/ruby/gems/2.1.0/gems/gherkin-ruby-0.3.1/lib/gherkin_ruby.rb:8:in `parse'
	from /home/gitlab-runner/lib/ruby/gems/2.1.0/gems/spinach-0.8.7/lib/spinach/parser.rb:39:in `parse'
	from /home/gitlab-runner/lib/ruby/gems/2.1.0/gems/spinach-0.8.7/lib/spinach/runner.rb:75:in `block in run'
	from /home/gitlab-runner/lib/ruby/gems/2.1.0/gems/spinach-0.8.7/lib/spinach/runner.rb:74:in `each'
	from /home/gitlab-runner/lib/ruby/gems/2.1.0/gems/spinach-0.8.7/lib/spinach/runner.rb:74:in `run'
	from /home/gitlab-runner/lib/ruby/gems/2.1.0/gems/spinach-0.8.7/lib/spinach/cli.rb:27:in `run'
	from /home/gitlab-runner/lib/ruby/gems/2.1.0/gems/spinach-0.8.7/bin/spinach:15:in `<top (required)>'
	from /home/gitlab-runner/bin/spinach:23:in `load'
	from /home/gitlab-runner/bin/spinach:23:in `<main>'
rake aborted!
```

Seems that I deleted a bit to much with my last attempt to remove the failing test.
I've run the entire spinach suite again locally and it seems to pass.

See merge request !516
2015-04-13 21:50:55 +00:00
Hannes Rosenögger a62dbd11cb fix failing test 2015-04-13 23:43:11 +02:00
Douwe Maan f124aceb61 Merge branch 'fix_tests_help_link' into 'master'
Remove failing test

Earlier today I accepted a MR that removed the redundant help link on the dashboard sidebar.
This MR removes the now failing test.

See merge request !515
2015-04-13 20:49:51 +00:00
Hannes Rosenögger a9306613f6 The help link has been removed. The commit removes the test for it. 2015-04-13 22:46:18 +02:00
Hannes Rosenögger 63f0f6f315 Merge branch 'empty-avatar-alt-text' into 'master'
Explicitly set image alt to prevent graphical glitches

Rails image_tag sets the alt-attribute to the filename which causes graphical glitches if the file could not be loaded.

Fixes https://github.com/gitlabhq/gitlabhq/issues/6036.

Signed-off-by: Sven Strickroth <email@cs-ware.de>

See merge request !503
2015-04-13 19:13:09 +00:00
Sven Strickroth 57c2a9f03d Explicitly set image alt to prevent graphical glitches
Rails image_tag sets the alt-attribute to the filename which causes graphical glitches if the file could not be loaded.

Fixes https://github.com/gitlabhq/gitlabhq/issues/6036.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
2015-04-13 21:07:42 +02:00
Hannes Rosenögger de825b54d4 Merge branch 'remove-sidebar-help-link' into 'master'
Removed help link from sidebar

Closes #1349

I don't see the point in having two links on the page that will do the same thing.

See merge request !483
2015-04-13 19:04:22 +00:00
Robert Schilling 5fa7be3ab4 Remove superseeded changelog entry for commit calendar 2015-04-13 20:35:50 +02:00
Robert Schilling 1265dccb6b Fix wrong merged changelog entries 2015-04-13 20:01:43 +02:00
Hannes Rosenögger 2d16255ecf Merge branch 'master' into 'master'
gitlab 7.9.2

Fresh gitlab in Dockerfile

See merge request !501
2015-04-13 17:18:36 +00:00
Dmitriy Zaporozhets 4ab717ea6a Merge branch 'ldap_migration'
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>

Conflicts:
	db/schema.rb
2015-04-13 17:18:02 +03:00
Dmitriy Zaporozhets ecb58dacd6 Merge branch 'reference-access-control' into 'master'
Only allow users to reference groups, projects, issues, MRs, commits they have access to.

Addresses https://dev.gitlab.org/gitlab/gitlabhq/issues/2183.

See merge request !1742
2015-04-13 14:10:25 +00:00
Dmitriy Zaporozhets 8cf1a6f0a3 Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce 2015-04-13 17:00:24 +03:00
Dmitriy Zaporozhets f57dac2712 Bump gitlab-shell version
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-04-13 16:59:56 +03:00
Jacob Vosmaer f39b150a02 Call your existing LDAP server 'main'
By imposing this rule we avoid having to demand that 'ldapmain' exists
in the settings initializer.
2015-04-13 15:45:19 +02:00
Dmitriy Zaporozhets 6e88d9335b Merge branch 'skip-email-reconfirmation' into 'master'
Skip email confirmation when set by admin or via LDAP.

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

See merge request !494
2015-04-13 13:44:56 +00:00
Dmitriy Zaporozhets 7f04a4174e Merge branch 'shell-version-warning' into 'master'
Warn when gitlab-shell version doesn't match requirement.

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

See merge request !495
2015-04-13 13:05:47 +00:00
Dmitriy Zaporozhets 3092e7f86a Merge branch 'master' of github.com:gitlabhq/gitlabhq 2015-04-13 15:52:07 +03:00
Dmitriy Zaporozhets c543cd1ed3 Fix performance issue when browse big diffs
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-04-13 15:51:28 +03:00
Jacob Vosmaer 65a3928b0b Remove test for 'ldap' provider special case 2015-04-13 12:58:10 +02:00
Hannes Rosenögger 8e9fbd847d Revert "Merge branch 'fix_email_images' into 'master'"
This reverts commit d66148ef39, reversing
changes made to cdb64a81a8.

This change needed to be reverted,
because not enough email clients support inline images.
2015-04-13 12:34:47 +02:00
Jacob Vosmaer afa47eddcc Also ldap_group_links where provider='ldap' 2015-04-13 11:56:35 +02:00
Jacob Vosmaer 8476d171cc Merge branch 'ldap_migration' of dev.gitlab.org:gitlab/gitlabhq into ldap_migration 2015-04-13 11:52:05 +02:00
Jacob Vosmaer ec7a68a1a5 Simplify legacy LDAP config interpretation 2015-04-13 11:50:44 +02:00
Jacob Vosmaer 8b4705fea6 Make migration work if LDAP is disabled 2015-04-13 11:50:00 +02:00