James Lopez
92f4bde427
use git bundle in import and add wiki repo to import
2016-05-05 12:39:18 +02:00
James Lopez
43488d277e
Merge branches 'feature/project-export' and 'feature/project-import' of gitlab.com:gitlab-org/gitlab-ce into feature/project-import
2016-05-05 12:02:36 +02:00
James Lopez
6612ca096a
update repo and wiki repo bundler to use git bundle instead of compressing via tar
2016-05-05 12:01:18 +02:00
James Lopez
a4d242b887
refactored some namespace stuff and fixed project tree restorer spec. also removing controller so that it belongs to the UI MR
2016-05-04 17:42:02 +02:00
James Lopez
84c7b5185d
Merge branches 'feature/project-export' and 'feature/project-import' of gitlab.com:gitlab-org/gitlab-ce into feature/project-import
2016-05-04 15:14:43 +02:00
James Lopez
773c39cca3
fixed import export reader spec
2016-05-04 15:13:44 +02:00
James Lopez
9d306eb132
picking stuff from ui related to import
2016-05-03 12:41:23 +02:00
James Lopez
548c91e3c5
Merge branch 'feature/project-export' of gitlab.com:gitlab-org/gitlab-ce into feature/project-import
...
# Conflicts:
# lib/gitlab/import_export/command_line_util.rb
2016-05-03 11:34:13 +02:00
James Lopez
2a78e03ad5
Merge branches 'feature/project-export' and 'master' of gitlab.com:gitlab-org/gitlab-ce into feature/project-export
2016-05-03 11:15:38 +02:00
James Lopez
58b0b1a661
picking export stuff from the UI branch
2016-05-03 11:13:10 +02:00
Zeger-Jan van de Weg
ad99404d25
Properly handle bigger files
2016-04-28 21:28:39 +02:00
Rémy Coutable
5addff7e6c
Merge branch 'use-remote-ip-for-akismet' into 'master'
...
Use ActionDispatch Remote IP for Akismet checking
Previously all remote IPs appeared at 127.0.0.1, which made Akismet
not very useful. Using the ActionDispatch Remote IP (http://api.rubyonrails.org/classes/ActionDispatch/RemoteIp.html )
should provide more reliable results.
Closes #16629
See merge request !3961
2016-04-28 13:09:44 +00:00
Stan Hu
e99cf05875
Use ActionDispatch Remote IP for Akismet checking
...
Previously all remote IPs appeared at 127.0.0.1, which made Akismet
not very useful. Using the ActionDispatch Remote IP (http://api.rubyonrails.org/classes/ActionDispatch/RemoteIp.html )
should provide more reliable results.
Closes #16629
2016-04-27 22:12:55 -07:00
Stan Hu
eede032345
Backport GitHub Enterprise import support from EE
...
These changes were pulled from GitLab EE to support configuring
an alternative API URL than the default https://api.github.com .
In addition, the `verify_ssl` flag allows users to disable SSL cert
checking.
One modification: add a default `args` option if it does not exist
to avoid breaking existing configurations.
2016-04-26 21:00:55 -07:00
James Lopez
10f1609535
changes to be picked by the UI branch
2016-04-25 18:00:15 +02:00
James Lopez
fedfba5519
more refactoring - easier guessing path changes
2016-04-22 12:49:37 +02:00
James Lopez
8f973b8f68
more refactoring - easier guessing path changes
2016-04-22 12:45:20 +02:00
James Lopez
45032bf403
Merge branch 'feature/project-export' into feature/project-import
2016-04-22 12:18:47 +02:00
James Lopez
4256743686
refactored path stuff
2016-04-22 12:18:11 +02:00
Alfredo Sumaran
3b39214f29
Merge remote-tracking branch 'origin/master' into issue_14904
2016-04-21 12:47:32 -05:00
James Lopez
2d503f6410
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into feature/project-export
2016-04-21 17:37:33 +02:00
James Lopez
7614d230a2
fix conflicts
2016-04-21 17:28:56 +02:00
Jacob Vosmaer
103c405339
Use SIGTERM during Sidekiq memory shutdown
...
This makes the memory killer behave more like 'sidekiqctl stop'.
2016-04-21 14:49:15 +02:00
Jacob Schatz
b3f4e8b218
Revert "Merge branch 'sentry-js' into 'master'
"
...
This reverts commit 0f309794e7 , reversing
changes made to 1e596fef1c .
2016-04-21 07:27:27 -04:00
Alfredo Sumaran
5c10b29700
Merge remote-tracking branch 'origin/master' into issue_14904
...
# Conflicts:
# app/views/shared/issuable/_sidebar.html.haml
2016-04-20 17:26:47 -05:00
Robert Speicher
7e6d59067e
Merge branch 'fix-grape-internal-allowed-action' into 'master'
...
Fix setting of "action" for Grape transactions
After wondering why we're not getting all the data in Grafana that I
wanted I realized I wasn't setting the "action" field properly here.
See merge request !3842
2016-04-20 21:27:43 +00:00
Yorick Peterse
a257d117a0
Fix setting of "action" for Grape transactions
...
Merely setting the "action" tag will only result in the transaction
itself containing a value for this tag. To ensure other metrics also
contain this tag we must set the action using Transaction#action=
instead.
2016-04-20 22:42:52 +02:00
Robert Speicher
0f309794e7
Merge branch 'sentry-js' into 'master'
...
Add Sentry logging for JavaScript errors
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/12675
See merge request !3795
2016-04-20 19:52:27 +00:00
Alfredo Sumaran
a45924348f
Merge remote-tracking branch 'origin/master' into issue_14904
2016-04-20 12:24:42 -05:00
Sebastian Klier
a88f0a1fd8
add wiki_page helper to url_builder
2016-04-20 08:25:41 +08:00
Arinde Eniola
3e7a8b0789
place the sentry config into a new file, and some changes
2016-04-19 22:04:52 +01:00
Yorick Peterse
229f3ce9ce
Configuring of points per UDP packet
...
This allows users to configure the number of points stored in a single
UDP packet. This in turn can be used to reduce the number of UDP packets
being sent at the cost of these packets being somewhat larger.
The default setting is 1 point per packet so nothing changes for
existing users.
2016-04-19 14:35:25 +02:00
Gabriel Mazetto and Dmitriy Zaporozhets
5330af3fa6
Using single builder for push and tag events
2016-04-19 11:00:30 +02:00
Gabriel Mazetto and Dmitriy Zaporozhets
ee1090e2b2
Added System Hooks for push and tag_push
...
Code is based on Project Webhooks, removing deprecations and without
commits listing.
2016-04-19 11:00:30 +02:00
Douglas Barbosa Alexandre
f2fe4af19d
Set GitHub milestones to Issue/Merge Request that were imported
2016-04-18 20:07:05 -03:00
Douglas Barbosa Alexandre
06ec511164
Import milestones from GitHub
2016-04-18 20:07:04 -03:00
Douglas Barbosa Alexandre
7462a8f90a
Apply GitHub labels to Issue/Merge Request that were imported
2016-04-18 17:14:59 -03:00
Douglas Barbosa Alexandre
05a4f444c3
Import labels from GitHub
2016-04-18 17:14:59 -03:00
Alfredo Sumaran
b41ddf9c69
Add shortcut_path to GonHelper module
2016-04-18 15:04:57 -05:00
Jacob Schatz
5f98fdcdc9
Add sentry logger to GitLab
2016-04-18 12:26:32 -04:00
Douglas Barbosa Alexandre
d13bba44f0
Use GitHub Issue/PR number as iid to keep references
...
With these changes we don’t lost the issue/pr references when importing
them to GitLab.
2016-04-18 12:15:50 -03:00
Yorick Peterse
7e6f0ac0e0
Count the number of SQL queries per transaction
...
Fixes gitlab-org/gitlab-ce#15335
2016-04-18 14:53:13 +02:00
Yorick Peterse
7b6785b3b1
Use Module#prepend for method instrumentation
...
By using Module#prepend we can define a Module containing all proxy
methods. This removes the need for setting up crazy method alias chains
and in turn prevents us from having to deal with all that madness (e.g.
methods calling each other recursively).
Fixes gitlab-org/gitlab-ce#15281
2016-04-18 11:16:31 +02:00
Robert Speicher
2e4d9c1de6
Merge branch 'fix/project-import_url' into 'master'
...
Fix for import_url fields on projects containing third-party credentials
Fixes https://dev.gitlab.org/gitlab/gitlabhq/issues/2658
Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/13955
See merge request !3066
2016-04-15 21:52:00 +00:00
Robert Speicher
34b0561560
Merge branch 'pmq20/gitlab-ce-psvr/change-head' into 'master'
...
Use rugged to change HEAD
_Originally opened at !2850 by @pmq20._
Needless to invoke gitlab_shell here, which is slow.
See merge request !3705
2016-04-15 16:44:21 +00:00
James Lopez
ae777ea061
WIP - importing file and repo
2016-04-15 18:14:28 +02:00
Rémy Coutable
8b7bf2a0e0
Merge branch 'rugged-delete-tag' into 'master'
...
Delete tags via rugged
Improve the performance by directly using rugged instead of shelling out to a git operation.
See merge request !3748
2016-04-15 14:42:05 +00:00
Robert Schilling
3c704c33e0
Delete tags via rugged
2016-04-15 16:05:04 +02:00
Robert Schilling
106c443e76
Remove unused backend methods
2016-04-15 13:30:33 +02:00
Rémy Coutable
f8e8a61c9c
Remove Gitlab::Shell#update_repository_head since it's not used anymore
...
Signed-off-by: Rémy Coutable <remy@rymai.me >
2016-04-15 11:38:59 +02:00