GitLab Bot
1caa60060b
Add latest changes from gitlab-org/gitlab@master
2019-12-19 00:08:01 +00:00
GitLab Bot
d10a462fed
Add latest changes from gitlab-org/gitlab@master
2019-12-16 12:07:43 +00:00
GitLab Bot
784fae4b9d
Add latest changes from gitlab-org/gitlab@master
2019-12-12 12:07:33 +00:00
GitLab Bot
2e3cbf7d89
Add latest changes from gitlab-org/gitlab@master
2019-12-12 00:07:43 +00:00
GitLab Bot
b86f474bf5
Add latest changes from gitlab-org/gitlab@master
2019-12-11 12:08:10 +00:00
GitLab Bot
556c79d6cc
Add latest changes from gitlab-org/gitlab@master
2019-12-02 15:06:36 +00:00
GitLab Bot
bd8a202da6
Add latest changes from gitlab-org/gitlab@master
2019-11-27 00:06:23 +00:00
GitLab Bot
23d237110e
Add latest changes from gitlab-org/gitlab@master
2019-11-26 09:08:36 +00:00
GitLab Bot
29c01c6c91
Add latest changes from gitlab-org/gitlab@master
2019-11-14 03:06:25 +00:00
GitLab Bot
213ce78058
Add latest changes from gitlab-org/gitlab@master
2019-11-13 06:06:38 +00:00
GitLab Bot
1ef4b65f55
Add latest changes from gitlab-org/gitlab@master
2019-11-08 06:06:24 +00:00
GitLab Bot
b3e4ec8e8a
Add latest changes from gitlab-org/gitlab@master
2019-10-23 09:06:03 +00:00
GitLab Bot
dffeff5520
Add latest changes from gitlab-org/gitlab@master
2019-10-23 00:06:29 +00:00
GitLab Bot
ee97c0d1a2
Add latest changes from gitlab-org/gitlab@master
2019-10-10 03:06:28 +00:00
GitLab Bot
308146dc39
Add latest changes from gitlab-org/gitlab@master
2019-10-10 00:06:44 +00:00
GitLab Bot
8c8b94e711
Add latest changes from gitlab-org/gitlab@master
2019-10-07 21:07:54 +00:00
GitLab Bot
587794b4b8
Add latest changes from gitlab-org/gitlab@master
2019-10-02 00:06:26 +00:00
GitLab Bot
5707f305f4
Add latest changes from gitlab-org/gitlab@master
2019-09-26 12:06:00 +00:00
GitLab Bot
274ea604fc
Add latest changes from gitlab-org/gitlab@master
2019-09-16 21:06:30 +00:00
Stan Hu
08c3e59aee
Optimize /admin/applications so that it does not timeout
...
On our dev instance, /admin/applications as not loading because:
1. There was an unindexed query by `application_id`.
2. There was an expensive query that attempted to load 1 million
unique entries via ActiveRecord just to find the unique count.
We fix the first issue by adding an index for that column.
We fix the second issue with a simple SELECT COUNT(DISTINCT
resource_owner_id) SQL query.
In addition, we add pagination to avoid loading more than 20
applications at once.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/67228
2019-09-09 21:51:57 -07:00
Enrique Alcántara
90e3a4919f
Create new feature flagged UI for cloud providers
...
- Create HAML UI select a cloud provider to create a cluster.
- Add query param to :new cluster view to display a specific cluster
provider form depending on the value of the provider query param.
- Update unit tests and e2e tests to reflect these changes
2019-09-09 20:27:51 +00:00
João Cunha
9aa31c8aef
Remove typo from factory name
...
- the typo in this factory name was precluding us from properly
creating dynamic code to remove duplciation.
2019-07-30 16:32:42 +01:00
Ash McKenzie
a9c7bda8f6
Merge branch 'ce-port-315-log-impersonation-actions-in-audit-log' into 'master'
...
CE Port: Log impersonation actions in audit log
See merge request gitlab-org/gitlab-ce!31039
2019-07-23 13:02:58 +00:00
Kamil Trzciński
3a4cb6d675
Bring backward compatibility for request profiles
...
It seems that we missed the backward compatibility support
for profiles in the existing folder.
This commit also fixes some specs to be idempotent
and work in a temporary directory which not always
seems to be the case.
This commit also brings the profile_spec.rb which seems
to be missing.
2019-07-23 09:30:00 +00:00
manojmj
3c9d75e045
CE Port: Log impersonation actions in audit log
...
This change adds audit logs for user impersonation
when an admin starts/stops impersonating
another user.
2019-07-23 11:44:09 +05:30
Fabio Papa
0b708e5d36
Style rules; Revert some examples
2019-07-19 13:00:05 -07:00
Fabio Papa
4b572f807c
Make subgroup_creation_level default to maintainer at SQL level
...
- Migration updates existing groups to "owner", then sets default to
"maintainer" so that new groups will default to that
- Update spec examples
2019-07-19 12:06:57 -07:00
Fabio Papa
a2cd8e0dab
Style rules; Revert some examples
2019-07-19 12:06:57 -07:00
Fabio Papa
832f668f29
Apply changes recomended by merge request coach
2019-07-19 12:06:56 -07:00
Fabio Papa
44bd74cd0e
Make subgroup_creation_level default to maintainer at SQL level
...
- Migration updates existing groups to "owner", then sets default to
"maintainer" so that new groups will default to that
- Update spec examples
2019-07-19 12:06:56 -07:00
Fabio Papa
97b1f48e97
Style rules; Revert some examples
2019-07-19 12:06:56 -07:00
Fabio Papa
d4c53e1799
Apply changes recomended by merge request coach
2019-07-19 11:55:49 -07:00
Fabio Papa
81662f7b9f
Make subgroup_creation_level default to maintainer at SQL level
...
- Migration updates existing groups to "owner", then sets default to
"maintainer" so that new groups will default to that
- Update spec examples
2019-07-19 11:55:48 -07:00
Fabio Papa
13d9c5dda2
Style rules; Revert some examples
2019-07-19 11:55:47 -07:00
Fabio Papa
7d061212b1
Add examples specing the setting to choose who can create subgroups
...
This setting is at the group level only. The default is specified to
be maintainers and owners.
**Specs only**, all failing.
2019-07-19 11:55:45 -07:00
Qingyu Zhao
10e51ac5f7
Add profile mode to extend request profiling
...
Extend the support for "X-Profile-Token: <token>" to have an additional
header that defines type of profile we are looking for, like:
X-Profile-Mode: execution
X-Profile-Mode: memory
2019-07-18 23:11:08 +10:00
Peter Leitzen
7b87ed1499
Cleanup usages of `JSON.parse` in specs
...
Prefer `json_response` where applicable.
2019-07-16 08:03:49 +00:00
Heinrich Lee Yu
aeb67dd489
Upgrade to Rails 5.2
...
Updates changed method names and fixes spec failures
2019-07-12 10:15:31 +08:00
Thong Kuah
8152efbe2f
Remove instance_clusters feature_flag
...
Now we have terminals for instance and group clusters we can remove the
FF now. Deploying to instance clusters has been working without
complaints too.
2019-06-28 01:24:05 +12:00
Bob Van Landuyt
23b35e0592
Use next_instance_of instead of any_instance_of
...
For prepended classes, we need to use `expect_next_instance_of`
instead of RSpecs `any_instance_of` variants.
2019-06-20 18:24:34 +02:00
Brett Walker
6b4f93c034
Update application settings using correct action
...
Updating multiple application settings panels through
a single action causes the incorrect action to be shown
when there are errors. Instead, make each panel action
handle both updating and display.
2019-06-19 12:29:10 -05:00
Tiger
5aa9b710be
Allow switching clusters between managed/unmanaged
...
Any resources created while the cluster was managed
will be untouched, allowing users to set/unset this
flag as they please.
2019-06-18 09:09:11 +10:00
James Fargher
c40a99a058
Change specs to match gitlab code standards
2019-05-07 08:37:04 +12:00
James Fargher
265dee5cc6
Stop using `go` function in clusters controller specs
2019-05-07 08:37:04 +12:00
James Fargher
beb66cfcba
Check instance cluster feature at policy level
...
Try to simplify feature flag checks by using policies
2019-05-07 08:37:04 +12:00
James Fargher
733da6d6a0
Instance level kubernetes clusters admin
...
Instance level clusters were already mostly supported, this change adds
admin area controllers for cluster CRUD
2019-05-07 08:37:03 +12:00
gfyoung
93a44e135b
Add some frozen string to spec/**/*.rb
...
Adds frozen string to the following:
* spec/bin/**/*.rb
* spec/config/**/*.rb
* spec/controllers/**/*.rb
xref https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
2019-04-15 10:17:05 +00:00
Imre Farkas
9bc5ed14fe
Move Contribution Analytics related spec in spec/features/groups/group_page_with_external_authorization_service_spec to EE
2019-04-09 15:38:58 +00:00
Gosia Ksionek
64858317ad
Add part of needed code
...
Add columns to store project creation settings
Add project creation level column in groups
and default project creation column in application settings
Remove obsolete line from schema
Update migration with project_creation_level column existence check
Rename migrations to avoid conflicts
Update migration methods
Update migration method
2019-04-05 18:49:46 +00:00
Andreas Brandl
46b1b9c1d6
Revert "Merge branch 'if-57131-external_auth_to_ce' into 'master'"
...
This reverts merge request !26823
2019-04-05 13:02:56 +00:00