Commit Graph
14039 Commits
Author SHA1 Message Date
Dmitriy Zaporozhets 7ff1c0e3f9 Merge branch 'fix-internal-api' into 'master'
Fix internal api

Fixes #1787

See merge request !1280
2014-12-01 15:31:23 +00:00
Dmitriy Zaporozhets 27077ab21e Merge branch 'remove_password_argument' into 'master'
Remove unused password argument

We no longer put a (random) password in the 'new user' email, so no need to pass it around in the code.

See merge request !1279
2014-12-01 14:58:55 +00:00
Dmitriy Zaporozhets 612b8806dd Fix internal API for missing project or key
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-12-01 16:55:33 +02:00
Dmitriy Zaporozhets 06b7907c2a Fix deploy keys permission check in internal api
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-12-01 16:25:10 +02:00
Jacob Vosmaer 25a566da0a Remove unused password argument from notification
We were still passing a 'password' argument around, but it is not used
anywhere because we send a password reset link in the welcome email
nowadays.
2014-12-01 15:11:26 +01:00
Sytse Sijbrandij ba955fe174 Change gitlab to gitlab_image on data run and add tail, thanks Vincent Robert. 2014-12-01 11:41:30 +01:00
Sytse Sijbrandij 30e28a7e0c Merge branch 'security-release' into 'master'
Improve security release documentation

I think the MailChimp step is not needed anymore because we automated it.

See merge request !1271
2014-12-01 09:52:10 +00:00
Dmitriy Zaporozhets 3dc986cff1 Merge branch 'backup_restore' into 'master'
Properly fix wiki restore

My previous patch didn't fix the restore issue (!247).

ProjectWiki.new() creates a new wiki git repository, so any tries to bare clone a bundle fail. With this patch we remove the newly created wiki.git before restoring from the backup bundle.

\cc @jacobvosmaer @dzaporozhets are you ok with this solution/hack?

Relevant issues: #845

See merge request !248
2014-11-30 18:03:31 +00:00
Achilleas Pipinellis 191aa9712e Properly fix wiki restore.
ProjectWiki.new() creates a new wiki git repository, so any tries
to bare clone a bundle fail. With this patch we remove the newly
created wiki.git before restoring from the backup bundle.
2014-11-30 18:24:05 +02:00
Dmitriy Zaporozhets 05f40bbfc8 Merge branch 'definition-of-done'
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>

Conflicts:
	CONTRIBUTING.md
2014-11-30 16:06:40 +02:00
Dmitriy Zaporozhets 31f7560332 Update CHANGELOG
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-11-30 15:25:17 +02:00
Dmitriy Zaporozhets f4b9a65c05 Merge branch 'reactivate-hljs-autodetection' into 'master'
Reactivate highlight.js language autodetection

### What does this MR do?

This commit partly reverts commit 0d13abb1 to reactivate highlight.js language autodetection.

It does NOT revert the part that adds the `nohighlight` CSS-class for a predefined set of filenames (which was indeed the intended purpose of commit 0d13abb1).

### Are there points in the code the reviewer needs to double check?

Not particularly, the only effect of this blob_helper is to add a CSS class to the `<pre>` container of the blob, to control the way highlight.js performs its syntax highlighting. (see where this helper is called at https://gitlab.com/gitlab-org/gitlab-ce/blob/master/app/views/shared/_file_hljs.html.haml#L12).

However this merge request DOES change the way the syntax highlighting is done (by bringing it back to the situation before commit 0d13abb1 where highlight.js autodetected the language itself). So we can expect some new kind of syntax highlighting problems. However in this case, the issues should be forwarded to the upstream project (https://github.com/isagalaev/highlight.js).

### Why was this MR needed?

The main motivation behind this partial revert is that there is no point (IMHO) in using an "intelligent" syntax highlighter which is specifically designed to autodetect languages if it is to dictate (via the CSS class) the language to use solely based on the filename extension.

### What are the relevant issue numbers / Feature requests?

Issue #665 "HLJS language autodetection / syntax highlighting fails "

### Screenshots (If appropriate)

See screenshots in issue #665

See merge request !232
2014-11-30 13:22:48 +00:00
Dmitriy Zaporozhets c8a2d041e7 Merge branch 'master' into 'master'
Fixed an alignment issue, fixes #778

This merge request fixes issue #778. I have figured out the problem already here: https://gitlab.com/gitlab-org/gitlab-ce/issues/778#note_366548

See merge request !242
2014-11-30 12:15:49 +00:00
Dmitriy Zaporozhets 28a95f1292 Merge branch 'restore_wikis' into 'master'
Fix wiki restore

Seems 4a5044e302 only fixed git repos restore. This MR provides the same functionality that was introduced in the aforementioned commit, but for wikis.

See merge request !247
2014-11-30 12:11:11 +00:00
Dmitriy Zaporozhets b08a80fd26 Merge branch 'upgrader' into 'master'
Make clear that the upgrader script does not update gitlab-shell

There are many cases where people end up with a broken update because they don't update gitlab-shell.

For example: https://twitter.com/hgomez/status/537902038907363330

\cc @sytses

See merge request !246
2014-11-30 12:08:42 +00:00
Dmitriy Zaporozhets f6562be044 Merge branch 'sync-project-create' into 'master'
Create project & repository at the same time

* block project creation if repository cant be created
* show proper error message about failed to create repository
* dont use ajax for project creation any more - its fast enough
* if project repository does not exist - propose to create one or import
* move import functionality to separate resource

Fixes #1768

See merge request !1278
2014-11-30 09:38:34 +00:00
Dmitriy Zaporozhets 5c1496a4d8 Improve project factories
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-11-30 10:50:15 +02:00
Dmitriy Zaporozhets f7d8467af9 Update CHANGELOG
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-11-30 00:52:04 +02:00
Dmitriy Zaporozhets 9d93729313 Move projects import to separate resource. Add bare repo creation to repository controller
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-11-30 00:50:25 +02:00
Dmitriy Zaporozhets a8df4ee9e2 Separate web page for projects without repository
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-11-30 00:49:51 +02:00
Achilleas Pipinellis 880478b21e Proper wiki restore. Fixes #845 2014-11-29 22:01:52 +02:00
Dmitriy Zaporozhets 674cbe939c Dont allow project creation without repository
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-11-29 21:34:18 +02:00
Achilleas Pipinellis 824ad40699 Make clear that the upgrader script does not update gitlab-shell. 2014-11-29 12:01:32 +02:00
Ciro Santilli f7274dd6a1 Sort .gitignore. 2014-11-29 10:48:19 +01:00
Valery Sizov 27cd35de69 Merge branch 'sidekiq_memory_killer' into 'master'
Sidekiq memory killer

This change adds an optional Sidekiq memory killer middleware that
will perform a graceful shutdown when the Sidekiq process is using
too much memory. When combined with a process supervision daemon
(such as Runit in omnibus-gitlab) this should provide Good Enough
handling of the Sidekiq memory leaks we are seeing.

The memory killer is off by default.

See merge request !1276
2014-11-28 16:07:08 +00:00
Jacob Vosmaer d336127a20 Add comments to the MemoryKiller middleware 2014-11-28 15:19:03 +01:00
Jacob Vosmaer 64ab6c9ed5 Add 'MemoryKiller' Sidekiq middleware
When enabled, this middleware allows Sidekiq to detect that its RSS has
exceeded a maximum value, triggering a graceful shutdown. This
middleware should be combined with external process supervision that
will restart Sidekiq after the graceful shutdown, such as Runit.
2014-11-28 15:01:41 +01:00
Sytse Sijbrandij e08255ceea Make the docker commands so that people can build their own images. 2014-11-28 11:13:49 +01:00
Sytse Sijbrandij 385105382b Make docker image file user agnostic, to prevent confusion over official images. 2014-11-28 07:55:59 +01:00
Jacob Vosmaer 3a723ad24c Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce 2014-11-27 16:58:12 +01:00
Jacob Vosmaer 4bfa5e549d Merge branch 'master' of github.com:gitlabhq/gitlabhq 2014-11-27 16:57:49 +01:00
Sytse Sijbrandij 426a030394 Merge branch 'master' into 'master'
Add Dockerfile to build an Omnibus GitLab image

See merge request !244
2014-11-27 14:59:33 +00:00
Vincent Robert 0dcc1e88a4 Add Dockerfile to build an Omnibus GitLab image 2014-11-27 15:48:19 +01:00
Marin Jankovski 394364e41b Merge branch 'master' of github.com:gitlabhq/gitlabhq 2014-11-27 10:46:34 +01:00
Sytse Sijbrandij 1d0d949e69 Merge branch 'office_analogy' into 'master'
Office analogy

introduced office analogy to architecture.md

See merge request !1275
2014-11-27 09:40:11 +00:00
Marc Radulescu c85d4af889 remove unnecessarry image 2014-11-27 10:24:19 +01:00
Sytse Sijbrandij b9cfe90b59 Merge pull request #8406 from bbodenmiller/patch-4
add details on protected branches
2014-11-26 21:50:04 +01:00
Ben Bodenmiller 226819c8d1 add details on protected branches
Add some details from https://about.gitlab.com/2014/11/26/keeping-your-code-protected/:

Who can:
* Force push to non-protected branches
* Force push to protected branches 
* Remove protected branches
2014-11-26 12:19:19 -08:00
Marc Radulescu 8ccaee1979 replaced hotlink 2014-11-26 20:54:42 +01:00
Marc Radulescu b82a205b74 added office analogy to help understanding of gitlab architecture 2014-11-26 18:51:12 +01:00
Jacob Vosmaer c431ae419d Merge branch 'select-a-tag' into 'master'
Select a tag

Related to #1603.

Prevent users looking to install GitLab from source from installing a release candidate by mistake.

See merge request !1274
2014-11-26 16:04:53 +00:00
Sytse Sijbrandij 3e60dd7cb5 Change it earlier as well. 2014-11-26 15:49:25 +01:00
Sytse Sijbrandij 6818c96db0 Selecting a branch is dangerous now that we have rc in a branch. 2014-11-26 14:30:14 +01:00
sbeh 434c4a2b5d Socket [::]:123 on Linux listens on IPv4 and IPv6
This will ensure nginx starts up without the following errors messages:
nginx: [emerg] bind() to [::]:443 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:443 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:443 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:443 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:443 failed (98: Address already in use)
nginx: [emerg] still could not bind()

Googling for them leads you to this site:
https://chrisjean.com/2014/02/10/fix-nginx-emerg-bind-to-80-failed-98-address-already-in-use/
2014-11-26 00:31:50 +01:00
Robert Schilling 5fad132579 Merge pull request #8394 from robertd/update-time-zone-in-gitlab-yml
Update time zone rake task for production. Resolves #8387
2014-11-26 00:10:52 +01:00
Robert Djurasaj bc16f81321 Update time zone rake task for production. Resolves #8387 2014-11-25 11:18:56 -07:00
Sytse Sijbrandij 8f4353a164 Fix spelling mistake, thanks Ewoud. 2014-11-24 20:56:30 +01:00
Jacob Vosmaer b70cee9c2f Merge branch 'git_hook_messages_ce' of dev.gitlab.org:gitlab/gitlabhq
Conflicts:
	GITLAB_SHELL_VERSION
2014-11-24 18:41:06 +01:00
Marin Jankovski 8a0abbb757 Merge branch 'security-release-ownership' into 'master'
Security release ownership

We saw the following problems around the 7.4.4 release:

- the fix got merged into master while it should have been held back
- there was a security fix but no release manager to release it

With this change we want to improve our process and documentation
to prevent situations like this in the future.

See merge request !1273
2014-11-24 15:59:09 +00:00
Marin Jankovski e7a3e35572 Merge branch 'master' of github.com:gitlabhq/gitlabhq 2014-11-24 16:57:48 +01:00