Commit 535e7bbf authored by GitLab Bot's avatar GitLab Bot

Automatic merge of gitlab-org/gitlab-ce master

parents ecfdf628 2dcdc148
...@@ -344,6 +344,8 @@ module.exports = { ...@@ -344,6 +344,8 @@ module.exports = {
devtool: NO_SOURCEMAPS ? false : devtool, devtool: NO_SOURCEMAPS ? false : devtool,
// sqljs requires fs node: {
node: { fs: 'empty' }, fs: 'empty', // sqljs requires fs
setImmediate: false,
},
}; };
# Uploads administration # Uploads administration
>**Notes:**
Uploads represent all user data that may be sent to GitLab as a single file. As an example, avatars and notes' attachments are uploads. Uploads are integral to GitLab functionality, and therefore cannot be disabled. Uploads represent all user data that may be sent to GitLab as a single file. As an example, avatars and notes' attachments are uploads. Uploads are integral to GitLab functionality, and therefore cannot be disabled.
## Using local storage ## Using local storage
>**Notes:** NOTE: **Note:**
This is the default configuration This is the default configuration
To change the location where the uploads are stored locally, follow the steps To change the location where the uploads are stored locally, follow the steps
...@@ -15,7 +14,7 @@ below. ...@@ -15,7 +14,7 @@ below.
**In Omnibus installations:** **In Omnibus installations:**
>**Notes:** NOTE: **Note:**
For historical reasons, uploads are stored into a base directory, which by default is `uploads/-/system`. It is strongly discouraged to change this configuration option on an existing GitLab installation. For historical reasons, uploads are stored into a base directory, which by default is `uploads/-/system`. It is strongly discouraged to change this configuration option on an existing GitLab installation.
_The uploads are stored by default in `/var/opt/gitlab/gitlab-rails/uploads`._ _The uploads are stored by default in `/var/opt/gitlab/gitlab-rails/uploads`._
...@@ -108,8 +107,8 @@ _The uploads are stored by default in ...@@ -108,8 +107,8 @@ _The uploads are stored by default in
} }
``` ```
>**Note:** NOTE: **Note:**
>If you are using AWS IAM profiles, be sure to omit the AWS access key and secret access key/value pairs. If you are using AWS IAM profiles, be sure to omit the AWS access key and secret access key/value pairs.
```ruby ```ruby
gitlab_rails['uploads_object_store_connection'] = { gitlab_rails['uploads_object_store_connection'] = {
......
...@@ -244,7 +244,6 @@ Here are the steps to gate a new feature in Gitaly behind a feature flag. ...@@ -244,7 +244,6 @@ Here are the steps to gate a new feature in Gitaly behind a feature flag.
}, },
[]string{"implementation"}, []string{"implementation"},
) )
)
func init() { func init() {
prometheus.Register(findAllTagsRequests) prometheus.Register(findAllTagsRequests)
......
...@@ -57,8 +57,8 @@ Example `CODEOWNERS` file: ...@@ -57,8 +57,8 @@ Example `CODEOWNERS` file:
# Files with a `#` can still be accesssed by escaping the pound sign # Files with a `#` can still be accesssed by escaping the pound sign
\#file_with_pound.rb @owner-file-with-pound \#file_with_pound.rb @owner-file-with-pound
# Multiple codeowners can be specified, separated by whitespace # Multiple codeowners can be specified, separated by spaces or tabs
CODEOWNERS @multiple @owners @tab-separated CODEOWNERS @multiple @code @owners
# Both usernames or email addresses can be used to match # Both usernames or email addresses can be used to match
# users. Everything else will be ignored. For example this will # users. Everything else will be ignored. For example this will
......
...@@ -89,9 +89,7 @@ export default ( ...@@ -89,9 +89,7 @@ export default (
payload, payload,
); );
return new Promise(resolve => { return new Promise(setImmediate)
setImmediate(resolve);
})
.then(() => result) .then(() => result)
.catch(error => { .catch(error => {
validateResults(); validateResults();
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
*/ */
import $ from 'jquery'; import $ from 'jquery';
import 'core-js/features/set-immediate';
import 'vendor/jasmine-jquery'; import 'vendor/jasmine-jquery';
import '~/commons'; import '~/commons';
import Vue from 'vue'; import Vue from 'vue';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment