Commit 61b89bbc authored by Lin Jen-Shin's avatar Lin Jen-Shin

Resolve conflicts

parent 7d7d4bcb
...@@ -11,11 +11,7 @@ ...@@ -11,11 +11,7 @@
# #
# It's strongly recommended that you check this file into your version control system. # It's strongly recommended that you check this file into your version control system.
<<<<<<< HEAD
ActiveRecord::Schema.define(version: 20180718100455) do
=======
ActiveRecord::Schema.define(version: 20180722103201) do ActiveRecord::Schema.define(version: 20180722103201) do
>>>>>>> upstream/master
# These are extensions that must be enabled in order to support this database # These are extensions that must be enabled in order to support this database
enable_extension "plpgsql" enable_extension "plpgsql"
......
...@@ -253,12 +253,8 @@ Parameters: ...@@ -253,12 +253,8 @@ Parameters:
"can_create_project": true, "can_create_project": true,
"two_factor_enabled": true, "two_factor_enabled": true,
"external": false, "external": false,
<<<<<<< HEAD
"private_profile": false, "private_profile": false,
"shared_runners_minutes_limit": 133 "shared_runners_minutes_limit": 133
=======
"private_profile": false
>>>>>>> upstream/master
} }
``` ```
...@@ -298,12 +294,8 @@ Parameters: ...@@ -298,12 +294,8 @@ Parameters:
- `skip_confirmation` (optional) - Skip confirmation - true or false (default) - `skip_confirmation` (optional) - Skip confirmation - true or false (default)
- `external` (optional) - Flags the user as external - true or false(default) - `external` (optional) - Flags the user as external - true or false(default)
- `avatar` (optional) - Image file for user's avatar - `avatar` (optional) - Image file for user's avatar
<<<<<<< HEAD
- `private_profile` (optional) - User's profile is private - true or false - `private_profile` (optional) - User's profile is private - true or false
- `shared_runners_minutes_limit` (optional) - Pipeline minutes quota for this user - `shared_runners_minutes_limit` (optional) - Pipeline minutes quota for this user
=======
- `private_profile (optional) - User's profile is private - true or false
>>>>>>> upstream/master
## User modification ## User modification
...@@ -335,11 +327,7 @@ Parameters: ...@@ -335,11 +327,7 @@ Parameters:
- `external` (optional) - Flags the user as external - true or false(default) - `external` (optional) - Flags the user as external - true or false(default)
- `shared_runners_minutes_limit` (optional) - Pipeline minutes quota for this user - `shared_runners_minutes_limit` (optional) - Pipeline minutes quota for this user
- `avatar` (optional) - Image file for user's avatar - `avatar` (optional) - Image file for user's avatar
<<<<<<< HEAD - `private_profile` (optional) - User's profile is private - true or false
- `private_profile` (optional) - User's profile is private - true or false
=======
- `private_profile (optional) - User's profile is private - true or false
>>>>>>> upstream/master
On password update, user will be forced to change it upon next login. On password update, user will be forced to change it upon next login.
Note, at the moment this method does only return a `404` error, Note, at the moment this method does only return a `404` error,
......
...@@ -638,7 +638,6 @@ describe API::Users do ...@@ -638,7 +638,6 @@ describe API::Users do
expect(user.reload.private_profile).to eq(true) expect(user.reload.private_profile).to eq(true)
end end
<<<<<<< HEAD
# EE # EE
it "updates shared_runners_minutes_limit" do it "updates shared_runners_minutes_limit" do
expect do expect do
...@@ -650,8 +649,6 @@ describe API::Users do ...@@ -650,8 +649,6 @@ describe API::Users do
expect(json_response['shared_runners_minutes_limit']).to eq(133) expect(json_response['shared_runners_minutes_limit']).to eq(133)
end end
=======
>>>>>>> upstream/master
it "does not update admin status" do it "does not update admin status" do
put api("/users/#{admin_user.id}", admin), { can_create_group: false } put api("/users/#{admin_user.id}", admin), { can_create_group: false }
......
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