Commit Graph
16132 Commits
Author SHA1 Message Date
Dmitriy Zaporozhets cecfbd55de Restlye project sidebar a bit to make it more clear
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-05-05 19:38:53 +03:00
Dmitriy Zaporozhets 3b0cf49f33 Fix project description and avatar alignment
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-05-05 19:25:18 +03:00
Dmitriy Zaporozhets 2a1be883c8 Add changelog item
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-05-05 18:34:49 +03:00
Dmitriy Zaporozhets ac7b12c0e8 Fix right margin for project description
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-05-05 18:34:05 +03:00
Dmitriy Zaporozhets ebcc810b9d Remove project dropdown and fix db sche,a
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-05-05 18:29:23 +03:00
Dmitriy Zaporozhets 30c6dbe36d Show CI link on project home page only if CI enabled
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-05-05 17:30:50 +03:00
Dmitriy Zaporozhets 040ee6f897 Reorganize elements in project sidebar
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-05-05 16:45:53 +03:00
Dmitriy Zaporozhets 7da7a790fa Move clone panel to sidebar
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-05-05 13:09:50 +03:00
Dmitriy Zaporozhets 4adac0b4be Remove unnecessary info from project home page
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-05-05 11:49:49 +03:00
Dmitriy Zaporozhets 478a4b19da Turn sidebar in sections with contribute and repository
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-05-05 11:47:01 +03:00
Dmitriy Zaporozhets 3ce0557ab0 Move tabs with activity/readme to section
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-05-05 11:29:52 +03:00
Dmitriy Zaporozhets 31e5cd214e Move project section to own partial
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-05-05 11:26:27 +03:00
Dmitriy Zaporozhets 04e365ebb7 Move project sidebar to separate partial
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-05-05 11:23:25 +03: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
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
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
Onur Küçük 0ae574007d add common method to force utf8 and force oauth properties to be utf8 2015-05-03 00:43:46 +03:00
Robert Speicher b3890749c0 Merge branch 'rs-test-env-fixes' into 'master'
Don't delete gitlab-test-fork folder after every test run

72a7febead added a forked repository cloned to `tmp/tests/gitlab-test-fork` but because it wasn't added to the list of folders not to delete every run, it was being cloned every run and adding extraneous console output.

See merge request !600
2015-05-02 20:32:46 +00:00
Robert Speicher 1c49809bf8 Don't delete gitlab-test-fork folder after every test run 2015-05-02 16:01:33 -04:00
Robert Speicher 703856c75e Merge branch 'make-reply-to-work-everywhere' into 'master'
Make Reply-To config apply to change e-mail confirmation and other notifications sent through Devise

Notifications sent through Devise were using the default From: address, and due to a broken test line nothing was actually being run.

The only way to customize the Devise Reply-To field is to use a custom mailer. Moved the e-mail configuration out of the initializers to accommodate this.

Closes #1556

See merge request !596
2015-05-02 17:48:30 +00:00
Stan Hu eb4f1eb5f5 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 easy to get wrong.

Only restrict e-mail addresses upon creation
2015-05-02 09:36:52 -07:00
win32 fc79f7382c Update config.yml.example 2015-05-02 11:04:07 +00:00
jubianchi 2c544d43c8 Query issues, merge requests and milestones with their IID through API 2015-05-02 10:44:52 +02:00