GitLab Bot
43a25d93eb
Add latest changes from gitlab-org/gitlab@16-0-stable-ee
2023-05-17 16:05:49 +00:00
GitLab Bot
71786ddc8e
Add latest changes from gitlab-org/gitlab@15-9-stable-ee
2023-02-20 13:49:51 +00:00
GitLab Bot
05f0ebba3a
Add latest changes from gitlab-org/gitlab@15-8-stable-ee
2023-01-18 19:00:14 +00:00
GitLab Bot
0c872e02b2
Add latest changes from gitlab-org/gitlab@15-7-stable-ee
2022-12-20 14:22:11 +00:00
GitLab Bot
7021455bd1
Add latest changes from gitlab-org/gitlab@15-6-stable-ee
2022-11-17 11:33:21 +00:00
GitLab Bot
6ed4ec3e0b
Add latest changes from gitlab-org/gitlab@15-4-stable-ee
2022-09-19 23:18:09 +00:00
GitLab Bot
b595cb0c1d
Add latest changes from gitlab-org/gitlab@15-2-stable-ee
2022-07-20 15:40:28 +00:00
GitLab Bot
0ea3fcec39
Add latest changes from gitlab-org/gitlab@15-1-stable-ee
2022-06-20 11:10:13 +00:00
GitLab Bot
36a59d088e
Add latest changes from gitlab-org/gitlab@15-0-stable-ee
2022-05-19 07:33:21 +00:00
GitLab Bot
3cccd102ba
Add latest changes from gitlab-org/gitlab@14-10-stable-ee
2022-04-20 10:00:54 +00:00
GitLab Bot
41fe97390c
Add latest changes from gitlab-org/gitlab@14-9-stable-ee
2022-03-18 20:02:30 +00:00
GitLab Bot
a7b3560714
Add latest changes from gitlab-org/gitlab@14-8-stable-ee
2022-02-18 09:45:46 +00:00
GitLab Bot
aee0a117a8
Add latest changes from gitlab-org/gitlab@14-6-stable-ee
2021-12-20 13:37:47 +00:00
GitLab Bot
311b0269b4
Add latest changes from gitlab-org/gitlab@14-5-stable-ee
2021-11-18 13:16:36 +00:00
GitLab Bot
d9ab72d608
Add latest changes from gitlab-org/gitlab@14-4-stable-ee
2021-10-20 08:43:02 +00:00
GitLab Bot
0653e08efd
Add latest changes from gitlab-org/gitlab@14-3-stable-ee
2021-09-20 13:18:24 +00:00
GitLab Bot
b76ae63846
Add latest changes from gitlab-org/gitlab@14-2-stable-ee
2021-08-19 09:08:42 +00:00
GitLab Bot
e8d2c25793
Add latest changes from gitlab-org/gitlab@14-1-stable-ee
2021-07-20 09:55:51 +00:00
GitLab Bot
a5f4bba440
Add latest changes from gitlab-org/gitlab@14-0-stable-ee
2021-06-16 18:25:58 +00:00
GitLab Bot
4555e1b21c
Add latest changes from gitlab-org/gitlab@13-12-stable-ee
2021-05-19 15:44:42 +00:00
GitLab Bot
f64a639bcf
Add latest changes from gitlab-org/gitlab@13-10-stable-ee
2021-03-16 18:18:33 +00:00
GitLab Bot
48aff82709
Add latest changes from gitlab-org/gitlab@13-5-stable-ee
2020-10-21 07:08:36 +00:00
GitLab Bot
85dc423f70
Add latest changes from gitlab-org/gitlab@13-4-stable-ee
2020-09-19 01:45:44 +00:00
GitLab Bot
e7b5a68dae
Add latest changes from gitlab-org/gitlab@13-3-stable-ee
2020-08-28 13:14:44 +00:00
GitLab Bot
6e4e1050d9
Add latest changes from gitlab-org/gitlab@13-3-stable-ee
2020-08-20 18:42:06 +00:00
GitLab Bot
bcc7030153
Add latest changes from gitlab-org/gitlab@13-2-stable-ee
2020-07-23 18:27:09 +00:00
GitLab Bot
a09983ae35
Add latest changes from gitlab-org/gitlab@13-2-stable-ee
2020-07-20 12:26:25 +00:00
GitLab Bot
72721699f1
Add latest changes from gitlab-org/gitlab@master
2020-02-18 00:09:20 +00:00
GitLab Bot
6b9d3a4e83
Add latest changes from gitlab-org/gitlab@master
2020-01-29 18:08:47 +00:00
GitLab Bot
96b0c1245c
Add latest changes from gitlab-org/gitlab@master
2020-01-10 12:07:47 +00:00
GitLab Bot
cfc792b9ca
Add latest changes from gitlab-org/gitlab@master
2019-12-10 07:53:40 +00:00
GitLab Bot
b4e072cbaf
Add latest changes from gitlab-org/gitlab@master
2019-10-11 06:06:27 +00:00
GitLab Bot
80f61b4035
Add latest changes from gitlab-org/gitlab@master
2019-09-18 14:02:45 +00:00
GitLab Bot
b7dfe2ae40
Add latest changes from gitlab-org/gitlab@master
2019-09-13 13:26:31 +00:00
Robert Speicher
7698d40550
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq
2019-08-29 17:17:37 -05:00
Tiger
08fcb2379e
CE port: allow SRV records in DB service discovery
2019-08-23 14:19:51 +10:00
Alexandru Croitor
5af535d919
Limit the size of issuable description and comments
...
Limiting the size of issuable description and comments to 1_000_000,
which is close to ~1MB of ASCII characters, which represents 99.9% of
all descriptions and comments we have in DB at the moment. This should
help prevent DoS attacks when comments contain refference strings.
Also this change updates regexp matching the namespaces paths by
limiting the namespaces paths to Namespace::NUMBER_OF_ANCESTORS_ALLOWED,
as we allow 20 levels deep groups.
see https://gitlab.com/gitlab-org/gitlab-ce/issues/61974#note_191274234
2019-08-22 10:43:13 +03:00
Andreas Brandl
988dc80585
Further remove code branches by database type
...
We dropped MySQL support and a lot of mysql specific code has been
removed in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/29608 .
This comes in from the other direction and removes any `if postgresql?`
branches.
2019-07-29 12:47:06 +02:00
Nick Thomas
4aa76dddec
Remove dead MySQL code
...
None of this code can be reached any more, so it can all be removed
2019-07-23 16:53:03 +01:00
Andreas Brandl
e13f07f195
Merge branch 'js-specs-transactions' into 'master'
...
Use transactions in JS feature specs
Closes #60207
See merge request gitlab-org/gitlab-ce!27496
2019-07-12 13:30:42 +00:00
Heinrich Lee Yu
d4a919679a
Use transactions in JS feature specs
...
Uses Rails transactional tests instead of DatabaseCleaner
transaction strategy because that doesn't work with JS tests
2019-07-12 10:39:14 +08: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
Mayra Cabrera
0ab89d8e36
Add a rubocop for Rails.logger
...
Suggests to use a JSON structured log instead
Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/54102
2019-07-10 19:26:47 +00:00
DJ Mountney
af28465556
Fix extra newline left by conflict resolution
2019-06-28 16:28:45 +00:00
DJ Mountney
c1b1a1fb5e
Merge branch 'master' into 'check-min-schema-migrate'
...
# Conflicts:
# lib/gitlab/database.rb
2019-06-28 16:27:39 +00:00
Andrew Newdigate
56ae34e49b
Adds metrics to measure database transactions
...
Currently we don't have good insight into the affect of Rails
transaction blocks on the application. If these blocks are held open for
extended periods, they can have detrimental effects on the application.
This change will allow us to track these transactions, with the aim
of reducing their duration.
2019-06-28 12:46:51 +02:00
DJ Mountney
de93bf1fbb
Update comments and docs around min schema version
...
Fixed some spelling
Dropped rake task description for a prefix only task
Added note on skipping the check to the postgres debugging dev doc
2019-06-25 10:44:40 -07:00
DJ Mountney
f4e1553519
Move min schema version check to db:migrate
...
Rather than have it checked only as part of gitlab:db:configure, we will
instead have it as a pre-req for every db:migrate command
2019-06-25 10:44:40 -07:00
DJ Mountney
7a089438fa
Check supported version when migrating
...
Set the mininum supported migration version to be the schema version as
of 11.11.0, and errors you if that is not detected during
gitlab:db:configure
2019-06-25 10:44:40 -07:00
Andrew Newdigate
84cb1bdaed
Refactor inside_transaction? to Gitlab::Database
...
This is a small change to move AfterCommitQueue.inside_transaction?
to Gitlab::Database.inside_transaction? Since this change is required
by different changes which may not arrive in sequence, it's easier
to extract this change out on it's own.
2019-06-25 09:15:35 +00:00