Commit Graph
17544 Commits
Author SHA1 Message Date
Douwe Maan f00e1d3dda Add page titles. 2015-05-05 13:04:25 +02:00
Douwe Maan 2bb2ade50d Merge branch 'master' into license
# Conflicts:
#	db/schema.rb
2015-05-05 13:03:33 +02:00
Douwe Maan caa09e6951 Add License unit test. 2015-05-05 13:02:17 +02:00
Dmitriy Zaporozhets 68ee397208 Merge branch 'ce-to-ee' into 'master'
CE to EE

See merge request !385
2015-05-05 10:52:36 +00:00
Douwe Maan e715489882 Setup license in test env. 2015-05-05 12:44:06 +02:00
Douwe Maan 5a14f5a49e Tweak flash messages around license upload/removal. 2015-05-05 12:19:47 +02:00
Douwe Maan 60323c6143 Validate that new license hasn't expired already. 2015-05-05 12:19:33 +02:00
Douwe Maan 6d093d84b1 Show prettier error message when license file is invalid. 2015-05-05 11:49:28 +02:00
Douwe Maan 6ff860d1fe Show nice error when no license was selected. 2015-05-05 10:54:07 +02:00
Douwe Maan 10e6aa62b9 Validate number of active users at time of upload. 2015-05-05 10:53:51 +02:00
Douwe Maan bff1b8f8e7 More code cleanup. 2015-05-05 10:40:38 +02:00
Douwe Maan 68ac20604b Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into ce-to-ee
# Conflicts:
#	app/controllers/groups/application_controller.rb
#	app/services/test_hook_service.rb
#	app/views/admin/groups/show.html.haml
#	app/views/groups/_settings_nav.html.haml
#	app/views/groups/show.html.haml
#	app/views/layouts/_head.html.haml
#	app/views/projects/_settings_nav.html.haml
#	db/schema.rb
#	features/project/project.feature
#	features/steps/project/project.rb
2015-05-05 10:18:27 +02:00
Robert Schilling 1132084d3f Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce 2015-05-05 08:12:22 +02:00
Robert Schilling 4fd3be137b Merge branch 'master' into 'master'
Docker: update omnibus package

See merge request !605
2015-05-05 06:11:39 +00:00
Robert Schilling b1c331a441 Merge pull request #9238 from quodos/master
Update spelling in comments in authentication.rb
2015-05-04 21:30:03 +02:00
Marin Jankovski 595931580d Merge branch 'improve-external-issue-tracker-config-doc' into 'master'
Improve documentation of configuring external issue trackers

There was some confusion over the deprecated `:issues_tracker_id` field. Added documentation.

Closes #1514

See merge request !580
2015-05-04 16:02:05 +00:00
Dmitriy Zaporozhets 3ccdc02b89 Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce 2015-05-04 18:07:09 +03:00
Dmitriy Zaporozhets c874422bb0 Merge branch 'master' of github.com:gitlabhq/gitlabhq 2015-05-04 18:07:03 +03:00
Stan Hu 07dc517017 Improve documentation of configuring external issue trackers
Closes #1514
2015-05-04 07:33:25 -07:00
quodos b953796ac8 Update authentication.rb
correct spelling
2015-05-04 14:09:03 +02:00
Jakob Englisch b7decf1de7 Docker: update omnibus package 2015-05-04 10:50:52 +00:00
Job van der Voort 2587334a79 Merge branch 'Add_doc_block_new_users_by_default' into 'master'
Added " How to maintain tight control over the number of active users..."

Added " How to maintain tight control over the number of active users on your GitLab installation" to documentation.

Please check that documentation is OK before accepting Merge. I took if from https://gitlab.com/gitlab-org/gitlab-ce/blob/master/config/gitlab.yml.example#L149

cc/ @sytse

See merge request !1792
2015-05-04 09:13:53 +00:00
Job van der Voort 2530141ace update doc by removing unnecessary parts 2015-05-04 11:13:07 +02:00
Dmitriy Zaporozhets 16db51ec58 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-04 08:53:21 +00:00
Dmitriy Zaporozhets f4d05dcc90 Merge pull request #9097 from sselberg/add-current_sign_in_at-to-rest-api
Add current_sign_in_at to api User
2015-05-04 11:03:25 +03:00
Sven Selberg 361284fec2 Add current_sign_in_at to api User 2015-05-04 09:42:11 +02:00
Douwe Maan e9e79fdfdf 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-04 06:58:56 +00:00
Robert Speicher 3466ee7cef Merge branch 'annotate-models-update' into 'master'
Re-annotate models

Re-ran `annotate` to fix model annotations.

See merge request !603
2015-05-03 23:49:54 +00:00
Stan Hu a3157626f1 Re-annotate models 2015-05-03 13:38:27 -07:00
Robert Schilling e22936c60f Merge branch 'master' of github.com:gitlabhq/gitlabhq 2015-05-03 20:57:51 +02:00
Achilleas Pipinellis 05ca93866a Merge branch 'fix-config-yml-example' into 'master'
Fix config template from parse errors

62aa05dd0c added comments that were not commented out. CI test builds do a `cp gitlab.yml.example gitlab.yml` and thus were failing.

See merge request !602
2015-05-03 16:22:37 +00:00
Stan Hu dc2b380da6 Fix config template from parse errors 2015-05-03 08:58:52 -07:00
Achilleas Pipinellis be05a9b938 Merge branch 'fix/log-path' into 'master'
Fix file paths for installations from the source

See merge request !583
2015-05-03 14:07:03 +00:00
Achilleas Pipinellis 3f4bbbaf98 Merge branch 'fix_snippet_api_doc' into 'master'
Add snippet visibilty as parameter to API doc, closes #1562

## Description

Snippet visibility level was added to API but was not to its documentation.

Related to following commit: 928fc94c3d

@axil Can you review?

See merge request !601
2015-05-03 14:03:19 +00:00
Robert Schilling 45529c87ef Merge pull request #9237 from bbodenmiller/patch-1
add missing word to changelog
2015-05-03 15:44:46 +02:00
Douwe Maan 257f8057a2 Minor tweaks. 2015-05-03 15:41:40 +02:00
Robert Schilling 187b496425 Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce 2015-05-03 15:01:09 +02:00
Robert Schilling 78da7b1c48 Merge branch 'master' of github.com:gitlabhq/gitlabhq 2015-05-03 15:00:58 +02:00
Robert Schilling 5f3eef6e56 Add period at snippet visibilty description 2015-05-03 15:00:46 +02:00
Robert Schilling 78aadc9336 Add snippet visibilty as parameter to API doc, closes #1562 2015-05-03 14:56:00 +02:00
Achilleas Pipinellis d12a57f07b Merge branch 'changelog-remove-dup' into 'master'
Remove duplicate CHANGELOG line for v7.10.0

The other one is 3 lines below the removed.

[ci skip]

See merge request !563
2015-05-03 12:20:18 +00:00
Achilleas Pipinellis 62aa05dd0c Merge branch 'master' into 'master'
Update config.yml.example

See merge request !597
2015-05-03 12:05:19 +00:00
Dmitriy Zaporozhets 747232eeda Merge branch 'api-iid' of https://github.com/jubianchi/gitlabhq into jubianchi-api-iid 2015-05-03 14:34:23 +03:00
Dmitriy Zaporozhets a7ddff8748 Merge pull request #9066 from jirutka/fix-6417
Fix #6417: users with group permission should be able to create groups via API
2015-05-03 14:31:00 +03:00
Dmitriy Zaporozhets e097812f57 Merge pull request #9234 from dsander/group-milestones-by-title
Group milestones by title in the dashboard and all other issue views
2015-05-03 14:29:31 +03:00
Dmitriy Zaporozhets 644b4c97e9 Merge pull request #8756 from zaburt/force_utf8_on_oauth_properties
add common method to force utf8 and force oauth properties to be utf8
2015-05-03 14:25:36 +03:00
Dmitriy Zaporozhets 4291e28af7 Merge branch 'change-primary-email' into 'master'
Allow primary email to be set to an email that you've already added.

Fixes gitlab-com/support-forum#106.

When the user sets their primary email to an email that they've already added to their account, this patch makes sure that secondary email record is destroyed, and a new email record is created for the old primary email. This is based on the assumption that in this case no email was meant to be deleted, but the user simply wanted to change which of their emails is primary.

See merge request !591
2015-05-03 11:00:51 +00:00
Ben Bodenmiller 297efc4ed7 add missing word to changelog 2015-05-03 03:18:29 -07:00
Dmitriy Zaporozhets 0df317f729 Merge branch 'restrict-signups-to-domains' into 'master'
Add application setting to restrict user signups to e-mail domains

This feature was requested long ago:

http://feedback.gitlab.com/forums/176466-general/suggestions/4118466-ability-to-register-only-from-ceratain-domains

This MR is based off !253 but changed to use application settings and use wildcard strings
to give more flexibility in pattern matching. Regexps seemed overkill and prone to mistakes.

Also note that validation is ONLY done on creation to prevent breaking existing users who do not have a whitelisted domain. However, this allows a user to sign-up and change his/her email to a non-whitelisted domain.

Screenshots:

![image](https://gitlab.com/gitlab-org/gitlab-ce/uploads/b312046aae03971f37f4247382971fc6/image.png)

![image](https://gitlab.com/gitlab-org/gitlab-ce/uploads/94bdf3ffaf37c2e8324eff83308f81f0/image.png)

See merge request !598
2015-05-03 10:02:45 +00:00
Robert Schilling 0d0c539c04 Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce 2015-05-03 10:28:52 +02:00