Dmitriy Zaporozhets
ab4ea3720c
Merge branch 'rs-archive-cache-worker-cron' into 'master'
...
Move RepositoryArchiveCacheWorker to sidekiq-cron
Closes #15105
See merge request !3663
2016-04-13 12:53:01 +00:00
DJ Mountney
38cff18af0
Adjust the default trusted_proxies to only include localhost, and allow other trusted proxies to be configured.
2016-04-12 10:42:59 -07:00
Robert Speicher
cba2c437e5
Move RepositoryArchiveCacheWorker to sidekiq-cron
...
Closes #15105
2016-04-12 11:12:05 -04:00
Rémy Coutable
0b8852d3c4
Merge branch 'instrument-service-classes' into 'master'
...
Instrument all service classes
This will help us see where (mostly) Sidekiq code is spending time.
See merge request !3675
2016-04-12 14:39:54 +00:00
Yorick Peterse
b3d8b995c3
Un-instrument Banzai::ReferenceExtractor
...
Instrumenting this class together with Gitlab::ReferenceExtractor causes
a StackError for some reason. Since Gitlab::ReferenceExtractor has most
of the interesting code we'll only instrument that class.
2016-04-12 14:10:35 +02:00
Yorick Peterse
8299129382
Instrument all service classes
...
Fixes gitlab-org/gitlab-ce#15162
2016-04-12 12:24:16 +02:00
Yorick Peterse
935f913165
Instrument Banzai code
2016-04-11 17:43:12 +02:00
Robert Speicher
93571c4335
Merge branch 'redis-connection-pool' into 'master'
...
Redis connection pool
Split from https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3232
Having an easily accessible Redis connection pool allows us to do more
cool stuff with Redis in GitLab (instead of having to go through e.g.
the Rails cache).
See merge request !3521
2016-04-08 22:26:53 +00:00
Yorick Peterse
c56f702ec3
Instrument Rails cache code
...
This allows us to track how much time of a transaction is spent in
dealing with cached data.
2016-04-08 17:54:52 +02:00
Jacob Schatz
0bbeebc8f9
Remove dumb debug statement and add many tests.
2016-04-07 08:47:29 -04:00
Jacob Schatz
8172d2c1f2
Add optional colon.
2016-04-07 08:17:05 -04:00
Robert Speicher
ee1de011d1
Premailer shouldn't remove script tags from our emails
...
Closes #14943 .
2016-04-05 17:03:34 -04:00
Jacob Vosmaer
0163e27631
Add Gitlab::Redis connection pool
2016-04-04 17:00:09 +02:00
connorshea
85cc172959
Remove "Congratulations!" tweet button on newly-created project.
...
I’ve removed everything related to the feature based on this commit:
ce08f919f34fd8849834365
Resolves #10857 .
2016-03-31 17:09:36 -06:00
Douwe Maan
a8aa59e96e
Inline mailer CSS using premailer.
...
# Conflicts:
# Gemfile.lock
2016-03-19 20:04:10 +01:00
Hiroyuki Sato
8acad49fe0
Support Wiki with UTF-8 page name
2016-03-16 02:17:07 +09:00
Stan Hu
74d7de8196
Revert "Revert "Merge branch 'support-go-subpackages' into 'master'
""
...
This reverts commit 5a586f364c
2016-03-12 21:05:23 +00:00
Douwe Maan
5a586f364c
Revert "Merge branch 'support-go-subpackages' into 'master'
"
...
This reverts merge request !3191
2016-03-12 17:42:51 +00:00
Douwe Maan
826bc72c12
Merge branch 'support-go-subpackages' into 'master'
...
Support Golang subpackage fetching
Closes #13805
See merge request !3191
2016-03-12 17:38:08 +00:00
Stan Hu
cc065fbeaa
Support Golang subpackage fetching
...
Closes #13805
2016-03-12 01:09:37 -08:00
Douwe Maan
cb81c8a5ef
Merge branch 'rs-issue-12944' into 'master'
...
Use a custom Devise failure app to handle unauthenticated .zip requests
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/12944
See merge request !2828
2016-03-11 22:34:33 +00:00
Yorick Peterse and Robert Speicher
12082db41e
Disable Rubocop for PostgreSQL patches
...
This code is mostly a copy-paste from existing pull requests so there's
no point in running Rubocop on it.
2016-03-11 15:25:23 -05:00
Yorick Peterse and Robert Speicher
d38dcf1e3b
Patch MySQL to ignore PostgreSQL schema options
...
This ensures that options such as `using: :gin` and PostgreSQL operator
classes are ignored when loading a schema into a MySQL database.
2016-03-11 15:25:22 -05:00
Yorick Peterse and Robert Speicher
49e122df85
Backport Rails support for PostgreSQL opclasses
...
This is needed to support creating/dumping/loading indexes that use the
gin_trgm_ops operator class on PostgreSQL. These changes are taken from
Rails pull request https://github.com/rails/rails/pull/19090 .
2016-03-11 15:25:22 -05:00
Jacob Vosmaer
c46e6eff10
Parse config/resque.yml in one place only
2016-03-09 15:16:46 +01:00
Robert Speicher
5844a21a0a
Use a custom Devise failure app to handle unauthenticated .zip requests
...
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/12944
2016-03-08 23:49:30 -05:00
Douwe Maan
8ec49e47ec
Merge branch 'mail-room-config-without-rails' into 'master'
...
Don't load all of GitLab in mail_room
Fixes #12731
cc @jacobvosmaer
See merge request !3005
2016-03-02 10:43:57 +00:00
Artem Sidorenko
28ba8ed5f5
Use dedicated relative_url.rb initializer
...
in order to have it the same way like in omnibus
2016-02-29 21:17:48 +01:00
Douwe Maan
bbdb9ba036
Don't load all of GitLab in mail_room
...
Fixes #12731
2016-02-26 18:48:13 -08:00
Patricio Cano
99edb2a0aa
Properly set auto_link_saml_user default value in the Settings loader.
2016-02-22 11:59:15 -05:00
Robert Speicher
6c9ae675b5
Add release tracking for Sentry
2016-02-17 14:05:58 -05:00
Artem V. Navrotskiy
e080fdad6e
Change default smpt port to 465 (default smtps port)
2016-02-09 07:30:06 +03:00
Yorick Peterse
33fb55a572
Instrument various Rugged constants
2016-02-01 15:03:58 +01:00
Yorick Peterse
1256dabb44
Instrument all Gitlab::Git instance methods
2016-02-01 13:54:39 +01:00
Robert Speicher
79123ec998
Revert "Revert "Remove the :coffee and :coffeescript Haml filters""
...
This reverts commit b0145d765b .
2016-01-28 14:29:09 -05:00
Blake Hitchcock
4be65c3231
Update ExternalIssue regex for JIRA integration
...
The pattern in the `::reference_pattern` class method in the
ExternalIssue model does not match all valid forms of JIRA project
names. I have updated the regex to match JIRA project names with numbers
and underscores. More information on valid JIRA project names can be
found here:
https://confluence.atlassian.com/jira/changing-the-project-key-format-192534.html
* The first character must be a letter,
* All letters used in the project key must be from the Modern Roman Alphabet and upper case, and
* Only letters, numbers or the underscore character can be used.
2016-01-26 15:55:40 -05:00
Valery Sizov
446fed4d83
monkey patch for mysql 5.7
2016-01-25 16:52:00 +02:00
Yorick Peterse
7d1b51fac1
Instrument Gitlab::Git::Repository
...
This adds instrumentation for the instance methods of
Gitlab::Git::Repository.
2016-01-21 11:27:31 +01:00
Jeroen Nijhof
7a609858f0
Use sentry in env production only
2016-01-20 09:48:38 +01:00
Jeroen Nijhof
7658a64469
Merge branch 'master' of https://gitlab.com/gitlab-org/gitlab-ce into sentry-integration
...
Conflicts:
db/schema.rb
2016-01-20 09:07:10 +01:00
Jeroen Nijhof
85e0fce9ee
Add sentry integration
2016-01-18 17:15:10 +01:00
Rémy Coutable
2723dea667
Ensure Gravatar host looks like an actual host
2016-01-18 14:58:16 +01:00
Yorick Peterse
8c4210e676
Added metrics instrumentation for all finders
2016-01-18 11:54:22 +01:00
Douwe Maan
c7d9e7806a
Merge branch 'fix/reference_filter_uri_decode_error_for_master' into 'master'
...
Fix #9963 reference_filter "Encoding::CompatibilityError" bug with some complex URL;
https://github.com/gitlabhq/gitlabhq/pull/9964
@DouweM
See merge request !2383
2016-01-13 14:21:32 +00:00
Robert Speicher
b0145d765b
Revert "Remove the :coffee and :coffeescript Haml filters"
...
This reverts commit ae7de2f851 .
2016-01-12 16:30:38 -05:00
Jason Lee
932a247f5f
Use CGI.escape instead of URI.escape, because URI is obsoleted.
...
ref: https://github.com/ruby/ruby/commit/238b979f1789f95262a267d8df6239806f2859cc
2016-01-12 18:20:03 +08:00
Robert Speicher
ae7de2f851
Remove the :coffee and :coffeescript Haml filters
...
See https://git.io/vztMu and http://stackoverflow.com/a/17571242/223897
2016-01-11 21:48:20 -05:00
Drew Blessing
67aa0b8c4c
Optimize LDAP and add a search timeout
2016-01-11 08:17:32 -06:00
Robert Speicher
fa36749bce
Add two custom Date/Time conversion formats
2016-01-07 20:01:08 -05:00
Yorick Peterse
66a997a914
Track total query/view timings in transactions
2016-01-04 12:14:36 +01:00