Commit Graph
2676 Commits
Author SHA1 Message Date
Drew Blessing f98f353436 [ci skip] Add SVN to Git migration documentation 2015-12-15 16:29:07 -06:00
Robert Speicher 28a8d0b5db Merge branch 'add_user_repo_integrity_rake_task' into 'master'
Add user repository integrity check rake task

Corrupt repositories and stuck lock files can cause weird issues in
GitLab. Often we know which user is having these problems and then we
have to go hunt down which repository is causing it. Several times
recently that involved me running queries in the rails console to get
an array of projects and then writing a quick Ruby script to loop
through and run `git fsck`. This last time I also had to check for the
existence of `config.lock` and ref lock files. 

This rake task will eliminate all of those steps and allow an admin to
simply specify a username.

I also added the lock file checks to the existing `gitlab:repo:check`
task which goes through all projects. 

See merge request !2080
2015-12-15 18:36:28 +00:00
Drew Blessing f8bf6c4b2c [ci skip] Add user repository integrity check rake task 2015-12-14 15:27:14 -06:00
Robert Speicher 381a9951e9 Update 8.2-to-8.3 guide
[ci skip]
2015-12-14 13:17:23 -05:00
Robert Speicher 63f58c4929 Merge branch 'add-upgrade-guide-for-8-3' into 'master'
Add upgrade guide for 8.2 to 8.3

Making sure we don't forget mentioning the need to upgrade Redis from
!1888. Added this in preparation for 8.3.

[ci skip]

See merge request !2085
2015-12-14 17:54:09 +00:00
Robert Speicher 739ce7883a Prepare Installation doc for 8.3.0-rc1
[ci skip]
2015-12-14 12:28:58 -05:00
Stan Hu b9b35012de Update gitlab-workhorse and remove mention of gitlab-git-http-server
[ci skip]
2015-12-14 09:23:53 -08:00
Stan Hu 5bca9ec750 Rename gitlab-git-http-server mention with gitlab-workhorse
[ci skip]
2015-12-14 09:21:18 -08:00
Stan Hu 58bb985fe0 Add upgrade guide for 8.2 to 8.3
[ci skip]
2015-12-14 09:21:18 -08:00
Kamil Trzciński c810234357 Merge branch 'ci-project-migrate' into 'master'
Ci Project migrate

- This doesn't migrate: allow_git_fetch, coverage_regex, timeout. Since this are project configuration settings I would propose to migrate them to `.gitlab-ci.yml`.
- This requires offline migrations.
- It simplifies database models making all CI objects to be attached to: Project.
- It removes Ci::Project, but makes /ci/projects working by adding method: Project.find_by_ci_id for backward compatibility (badges, triggers).
- We should add default `timeout` to Application Settings.
- It misses specs.
- It is based on ci-services-migrate for now.
- It removes CI events.
- It removes administrator CI projects overview.
- It removes CI application settings.

In 8.4 or 8.5 we can remove redundant tables and columns.


See merge request !1987
2015-12-14 10:35:40 +00:00
Stan Hu 41f5bb035b Rename mention of gitlab-git-http-server to gitlab-workhorse
[ci skip]

Closes https://github.com/gitlabhq/gitlabhq/issues/9904
2015-12-14 00:18:47 -08:00
Stan Hu 9c5d8079a3 Bump Redis requirement to 2.8 for Sidekiq 4 requirements
Closes #3649

[ci skip]
2015-12-12 07:51:50 -08:00
Ben Bodenmiller e6e27f03d7 add details on how to change saml button label 2015-12-11 23:16:37 +00:00
Drew Blessing baa97175ab Clarify cache behavior 2015-12-11 11:09:34 -06:00
Kamil Trzcinski e80e3f5372 Migrate CI::Project to Project 2015-12-11 18:02:09 +01:00
Stan Hu e2b6a4621b Merge pull request #9850 from davydovanton/doc-fix-typos
Fix typos in all docs
2015-12-10 14:30:24 -08:00
Drew Blessing 63a1a581e9 Document file upload random uuid security 2015-12-10 10:24:08 -06:00
Robert Speicher 4bcbb6178a Merge branch 'fix-typos' into 'master'
Fix typos in integration docs

[ci skip]

See merge request !1999
2015-12-09 18:37:45 +00:00
Robert Speicher cfe46f485d Merge branch 'master' into 'master'
Update init script only once

The init script is already being updated in section 6.

See merge request !2038

[ci skip]
2015-12-09 18:29:42 +00:00
Dmitriy Zaporozhets d910424cf4 Merge branch 'remove-default-branch-option-from-doc' into 'master'
Remove default_branch from project API creation documentation

The docs erroneously included `default_branch` as an option in project creation, but this field does not make sense because a new project has an empty repo with no branches. 

Closes #3937

See merge request !2034
2015-12-09 17:08:02 +00:00
Felix Eckhofer 64eaccf10a Update init script only once
The init script is already being updated in section 6.
2015-12-09 12:26:18 +01:00
Jacob Vosmaer 9bfd6c44e2 Merge branch 'fix-workhorse-upgrade-info' into 'master'
Remove the prepended v on GitLab Workhorse upgrade doc

Fix for https://gitlab.com/gitlab-org/gitlab-workhorse/issues/4



See merge request !2020
2015-12-09 11:19:29 +00:00
Douwe Maan 7e8dc22dd7 Merge branch 'merge-if-green' into 'master'
Merge when build succeeds

### What does this MR do?
Adds a button to a MR when the build/ci is running so it can be merged when/if the build is successfull.

### Are there points in the code the reviewer needs to double check?
English spelling and whether or not the grammer is correct.

### Why was this MR needed?
When you expect its all good, and don't want to revisit the current MR it can be accepted allready.

### What are the relevant issue numbers / Feature requests?
Fixes #2640 -- although `Merge if green` is replaced with `Merge when the build succeeds` the general idea is the same.

### Screenshots (if relevant)
![Screenshot_from_2015-12-07_10-34-39](/uploads/b90b558b6ad6c8266bc9c96120d86f96/Screenshot_from_2015-12-07_10-34-39.png)

![Screenshot_from_2015-11-02_17-26-56](/uploads/9f52f56e3c5e9ec63cb8f42978c92a52/Screenshot_from_2015-11-02_17-26-56.png)
![Screenshot_from_2015-11-02_17-27-03](/uploads/119fc18c9b15ff73dc38010ac5b6244a/Screenshot_from_2015-11-02_17-27-03.png)

![Screenshot_from_2015-12-03_10-08-14](/uploads/bad7b35c7d129981d43631877c958be0/Screenshot_from_2015-12-03_10-08-14.png)

![Screenshot_from_2015-11-02_17-27-16](/uploads/b616d750a16cc11ba72f2ca84213515e/Screenshot_from_2015-11-02_17-27-16.png)

### Further considerations
What if there are minor things needed solving, e.g. Rubocop, the current implementation will reset the approved status of the MR. It might be a consideration keep the approval for team member, or even guests. This would require an extra option in the Admin screen, though might add extra value.

#### TODO
- [x] Docs
- [x] Specs

/cc @DouweM @rspeicher

See merge request !1729
2015-12-09 09:37:38 +00:00
Achilleas Pipinellis 291678d613 Merge branch 'ci-services-docs' into 'master'
Introduce CI documentation for services and languages

This introduces guide for PHP, a bunch of services (databases) and cleans up some docker references.

With this there are bunch of example projects in https://gitlab.com/groups/gitlab-examples.

/cc @JobV @axil 

See merge request !1917
2015-12-09 09:11:26 +00:00
Douwe Maan eab086bde1 Merge branch 'master' into merge-if-green
# Conflicts:
#	app/controllers/projects/merge_requests_controller.rb
#	config/routes.rb
2015-12-09 09:00:25 +01:00
Stan Hu 7b0ac5b6b4 Remove default_branch from project API creation since an empty repository
has no branches to start.

Closes #3937
2015-12-08 21:31:22 -08:00
Robert Speicher 275e8e7309 Merge branch 'issue-closing-docs' into 'master'
Update documentation about automatic issue closing

RE !1933

See merge request !2000
2015-12-08 22:03:07 +00:00
Achilleas Pipinellis 1e7156ed70 Use the name of the linked containers instead of localhost
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/1917#note_2833978
2015-12-08 23:49:05 +02:00
Douwe Maan 1464a69c76 Tweak text of documentation 2015-12-08 22:37:07 +01:00
Douwe Maan 8fb49a4b70 Merge branch 'master' into merge-if-green
# Conflicts:
#	app/views/projects/merge_requests/widget/_heading.html.haml
#	app/views/projects/merge_requests/widget/open/_accept.html.haml
2015-12-08 22:34:03 +01:00
Achilleas Pipinellis b312edaf44 More clean up to the CI example on how to use docker images [ci skip] 2015-12-08 23:29:49 +02:00
Achilleas Pipinellis d55dcd11d5 Use the latest docker image in mysql CI example [ci skip] 2015-12-08 22:28:07 +02:00
Achilleas Pipinellis bbe652cdaf More postgres CI service example cleanup 2015-12-08 22:26:41 +02:00
Achilleas Pipinellis 0c22635aa2 More redis CI example clean up 2015-12-08 21:41:56 +02:00
Achilleas Pipinellis 4ea0f06470 Fix wrong naming of services keyword [ci skip] 2015-12-08 21:35:25 +02:00
Achilleas Pipinellis cf44dc5107 Add note about the various phpenv tools 2015-12-08 21:35:08 +02:00
Achilleas Pipinellis 9dc91f46df Add link to runners doc [ci skip] 2015-12-08 21:11:27 +02:00
Achilleas Pipinellis 47e81da8c2 Clean up mysql CI example 2015-12-08 21:11:11 +02:00
Drew Blessing bf5683f889 Block LDAP user when they are no longer found in the LDAP server 2015-12-08 11:15:30 -06:00
Dmitriy Zaporozhets 038c9a65fb Merge branch 'ui/dashboard-new-issue' into 'master'
UI: Add "New X" buttons to dashboard and group issue, MR and milestone indexes

# To do

- [x] Use searchable dropdown since dashboard/group can have a lot of projects. Use select2?

## Before

![Screen_Shot_2015-12-07_at_17.26.52](/uploads/22c6d6df10414f9e3e35d6cea3870486/Screen_Shot_2015-12-07_at_17.26.52.png)

## After

![Screen_Shot_2015-12-07_at_17.26.33](/uploads/02d082490ed6c83c66f052a5b601b5be/Screen_Shot_2015-12-07_at_17.26.33.png)

As you can see, for milestones, groups are listed as well as we can now easily create group milestones.

Fixes #3544 and https://dev.gitlab.org/gitlab/gitlabhq/issues/2581

See merge request !1968
2015-12-08 16:43:20 +00:00
Achilleas Pipinellis 06b86de996 Clean up postgres CI example [ci skip] 2015-12-08 18:26:54 +02:00
Achilleas Pipinellis 149c934a1d More cleanup on Redis example 2015-12-08 18:26:54 +02:00
Achilleas Pipinellis 4236861df0 Clean up Redis CI service example [ci skip] 2015-12-08 18:26:54 +02:00
Achilleas Pipinellis 4fc9e6944e Add an intro to CI services documentation [ci skip] 2015-12-08 18:26:54 +02:00
Achilleas Pipinellis 545a6a720e Move markdown link to the bottom [ci skip] 2015-12-08 18:26:54 +02:00
Achilleas Pipinellis d13d43aca9 Clean up CI ssh keys docs [ci skip] 2015-12-08 18:26:54 +02:00
Achilleas Pipinellis 9b8babb601 Use link instead of connect to be more Docker friendly 2015-12-08 18:26:54 +02:00
Achilleas Pipinellis a08cc70232 Clean up PHP CI example [ci skip] 2015-12-08 18:26:54 +02:00
Achilleas Pipinellis bb75dfe38b Add intro about languages 2015-12-08 18:26:54 +02:00
Achilleas Pipinellis 71519d650d Fix wrong example 2015-12-08 18:26:54 +02:00