Commit Graph
15511 Commits
Author SHA1 Message Date
Douwe Maan 629fa7fbe3 Add invite logic to Member. 2015-04-14 12:06:43 +02:00
Douwe Maan 2b2bd402dc Track who created a group or project member. 2015-04-14 12:06:42 +02:00
Douwe Maan 1e97864958 Add invite data to member. 2015-04-14 12:06:42 +02:00
Douwe Maan e6569defe6 Use through-relation instead of manually mapping. 2015-04-14 12:05:50 +02:00
Douwe Maan ff3caad4ca Rename manage_group ability to admin_group for consistency with project. 2015-04-14 12:05:49 +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
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
Dmitriy Zaporozhets 04f05ac1fb Check for table instead of class 2015-04-13 12:26:14 +03:00
Jacob Vosmaer f64db1fab9 Try to explain what we are doing 2015-04-13 11:22:31 +02:00
Dmitriy Zaporozhets 9e848bcd5a Merge pull request #9104 from jdsn/fix-issue9098-clean_path
Fix issue9098 clean path
2015-04-13 12:17:35 +03:00
Dmitriy Zaporozhets 9c14ed0689 Merge branch 'public-deploy-keys' into 'master'
Allow admin to create public deploy keys that are accessible to any project.

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

Project settings:

![Screen_Shot_2015-03-27_at_14.46.48](https://gitlab.com/gitlab-org/gitlab-ce/uploads/01799ff912671ba6db3f828ea1aca1a6/Screen_Shot_2015-03-27_at_14.46.48.png)

The "Public deploy keys" section is only shown when there are any. If there are public deploy keys but no project deploy keys, only public deploy keys are shown. If there are no public deploy keys and no project deploy keys, the current "Deploy keys from projects you have access to will be displayed here" placeholder is shown.

The list of projects below the public key has been changed to only show projects the user has access to.

"Public deploy key" seems to be repeated on the left, but the first is just the title. The label is always visible for public deploy keys.

Admin index:

![Screen_Shot_2015-03-27_at_14.47.06](https://gitlab.com/gitlab-org/gitlab-ce/uploads/ea889d274cfd3f0694d47d602f4f3e94/Screen_Shot_2015-03-27_at_14.47.06.png)

Admin detail page:

![Screen_Shot_2015-03-27_at_14.47.16](https://gitlab.com/gitlab-org/gitlab-ce/uploads/8c8475e05bf6b497da3b9f1bc102329f/Screen_Shot_2015-03-27_at_14.47.16.png)

Projects using the deploy key are listed on the left and can be disabled easily.

See merge request !469
2015-04-13 09:08:13 +00:00
Jacob Vosmaer 325b66365b Remove special cases for the 'ldap' provider 2015-04-13 11:04:31 +02:00
Dmitriy Zaporozhets 0c24192fb1 Merge branch 'fix-group-project-list-cache' into 'master'
Bust group page project list cache when namespace name or path changes.

Fixes gitlab-com/support-forum#144.

See merge request !509
2015-04-13 09:01:03 +00:00
Dmitriy Zaporozhets 896ea2482b Change migration to SQL
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-04-13 11:50:21 +03:00
Robert Speicher cd590bf1f4 Use start_with? instead of String slicing to check for external links
[ci skip]
2015-04-12 18:04:50 -04:00
Robert Speicher 975f1e6ec8 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.
2015-04-12 17:48:28 -04:00
Dmitriy Zaporozhets 3723a9dcd1 Merge pull request #9117 from bbodenmiller/patch-12
document support for inline HTML
2015-04-12 22:16:33 +03:00
Robert Schilling efd519d762 Merge pull request #9120 from bbodenmiller/patch-4
fix link to details on how to run the tests
2015-04-12 14:11:05 +02:00
Ben Bodenmiller f59a2e2dd6 fix link to details on how to run the tests
[ci skip]
2015-04-12 04:50:43 -07:00