bugagazavr
acac788902
Added X-GitLab-Event header for web hooks
2015-05-08 16:49:03 +03:00
Valery Sizov
bc9ba5237c
Revert "Added X-GitLab-Event header for web hooks"
...
This reverts commit 548f182814 .
2015-04-27 16:29:31 +03:00
bugagazavr
548f182814
Added X-GitLab-Event header for web hooks
2015-04-25 21:31:52 +03:00
Douwe Maan
84a1590252
Let commit model know about its project.
2015-04-24 12:29:36 +02:00
Douwe Maan
63b21945d2
Merge branch 'google-code-import' into 'master'
...
Import projects from Google Code.
Resolves #1257 .
Issue import logic almost entirely taken from https://gitlab.com/o9000/google-code-to-gitlab ( ♥️ @o9000).
### To do
- [x] List projects from Google Takeout file
- [x] Import Git repository
- [x] Import issues
- [x] Link to correct attachment URL (https://code.google.com/p/support-tools/issues/detail?id=50 )
- [x] Handle deleted attachments
- [x] Handle blockedOn attribute
- [x] Add directions on how to get data from Google Takeout
### Import instructions

### Imported issue

See merge request !471
2015-04-15 06:53:42 +00:00
Dmitriy Zaporozhets
f244914402
Merge branch 'regex-start-of-string' into 'master'
...
Fix persistent XSS vulnerability around profile website URLs.
Fixes gitlab/gitlab-ee#268
See merge request !1761
2015-04-12 07:36:40 +00:00
Douwe Maan
0ece6bd828
Use \A and \z in regexes instead of ^ and $.
2015-04-10 18:31:07 +02:00
Valery Sizov
bafec400f1
CI forking: tests
2015-04-06 19:45:16 +03:00
Valery Sizov
9c2301808b
CI project forking
2015-04-06 15:20:58 +03:00
Douwe Maan
7b5bc32cad
Allow projects to be imported from Google Code.
2015-04-03 15:29:27 +02:00
Douwe Maan
91761b0685
Add tests.
2015-03-31 13:37:21 +02:00
Douwe Maan
ccc01b36ba
Small code cleanup.
2015-03-31 12:52:20 +02:00
Douwe Maan
2cfd0b59ae
Archive repositories in background worker.
2015-03-31 12:52:20 +02:00
Douwe Maan
329db2c5de
Fix EmailsOnPush.
2015-03-26 07:38:52 +01:00
Dmitriy Zaporozhets
2953e0d19b
Merge branch 'emailsonpush-create-delete' into 'master'
...
Send EmailsOnPush email when branch or tag is created or deleted.
Addresses #1951 , #1957 and #1925 .




See merge request !1709
2015-03-23 16:48:27 +00:00
Douwe Maan
b13bed62ea
Clean up code by using keyword arguments.
2015-03-23 15:08:19 +01:00
Douwe Maan
a5a5ec970e
Fewer constants, more helpers.
2015-03-19 10:34:04 +01:00
Douwe Maan
bf235053ad
Send EmailsOnPush email when branch or tag is created or deleted.
2015-03-18 14:07:28 +01:00
Douwe Maan
3b1d5a1dff
Prevent gitlab-shell character encoding issues by receiving its changes as raw data.
2015-03-15 16:52:22 +01:00
Douwe Maan
383c56efa1
Use Gitlab::Git helper methods and constants as much as possible.
2015-03-10 13:39:31 +01:00
Dmitriy Zaporozhets
8b551ee318
Merge branch 'emails-on-push'
...
Conflicts:
app/controllers/projects/services_controller.rb
app/models/project_services/emails_on_push_service.rb
2015-03-08 16:49:11 -07:00
Aorimn
f84b7eef3f
Add Irker service
...
Irker is a gateway which sends IRC messages on git updates. This new
service provides an interface to this gateway, integrated in Gitlab, for
each updates.
As per the guidelines, this commit adds the new feature in the
CHANGELOG, tests and documentation.
See http://www.catb.org/esr/irker/
2015-03-01 20:51:03 +01:00
Douwe Maan
5d86332153
Send EmailsOnPush when deleting commits using force push.
...
See #1924 .
2015-02-25 15:12:19 +01:00
Douwe Maan
85af3e82bf
Add option to disable code diffs to EmailOnPush.
...
See #1950
2015-02-25 14:29:49 +01:00
Douwe Maan
e0c186c357
Add option to send EmailsOnPush from committer email if domain matches.
...
See #1809 .
2015-02-25 14:20:35 +01:00
Douwe Maan
6979b3afd5
Delete deploy key from Bitbucket after importing.
2015-02-24 15:07:24 +01:00
Douwe Maan
ad6d623234
Add Bitbucket importer.
2015-02-24 15:07:24 +01:00
Valery Sizov
1ac20698a5
gitlab.com importer: refactorig
2015-02-05 17:03:43 -08:00
Valery Sizov
18231b0bb3
GitLab.com integration: refactoring
2015-02-05 12:50:34 -08:00
Valery Sizov
5194214e3a
GitLab integration. Importer
2015-02-05 12:50:34 -08:00
Dmitriy Zaporozhets
bb1f8b1d8b
Merge branch 'github_importer'
...
Conflicts:
app/helpers/projects_helper.rb
2015-01-13 10:35:16 -08:00
Valery Sizov and Valery Sizov
a9f7fd2c1a
Github Importer
2015-01-10 09:51:43 -08:00
Dmitriy Zaporozhets
9c03c1c545
Make automerge via satellite
2015-01-09 19:10:01 -08:00
Dmitriy Zaporozhets
ed4e682eb8
Fix async services execution broken in 7.6
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-12-29 17:48:43 +02:00
Dmitriy Zaporozhets
0d5265bbec
Execute project services asynchronously
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-12-07 12:29:37 +02:00
Jacob Vosmaer
c10f61802b
Run 'GC.start' after every EmailsOnPushWorker job
2014-11-14 12:22:22 +01:00
Ciro Santilli
2e9f5de868
Add parenthesis to function def with arguments.
2014-10-03 09:18:46 +02:00
Dmitriy Zaporozhets
730712f77e
Update post-receive worker for new format
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-09-02 10:58:54 +03:00
Dmitriy Zaporozhets
9f4613bb86
Fix projects ending with _git or -git being ignored by post-receive hook
2014-08-13 07:24:50 +00:00
Dmitriy Zaporozhets
2f780af246
Git::Compare does not have limit param any more
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-07-29 14:29:59 +03:00
CSchulz
ac0763ac7a
Added update repository size to repository import
2014-06-11 19:32:00 +00:00
Dmitriy Zaporozhets
0d7986a8c7
Merge branch 'import-timeout' of https://dev.gitlab.org/dzaporozhets/gitlabhq into dzaporozhets/gitlabhq-import-timeout
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
CHANGELOG
db/schema.rb
2014-03-14 12:00:21 +02:00
Dmitriy Zaporozhets
b47646ef13
Add retry feature to project import
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-03-12 19:26:09 +02:00
Dmitriy Zaporozhets
1436433c7b
Add project import state machine
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-03-12 17:15:03 +02:00
Jeroen van Baarsen
4a251849cf
Added newrev and oldrev to the hook data
2014-03-06 16:08:51 +01:00
Jeroen van Baarsen
f096bd61bd
Post-receive hook can also fire TagPushService
2014-03-05 22:10:35 +01:00
Dmitriy Zaporozhets
59769fdb94
Improve compare logic for EmailOnPush service
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-02-12 12:56:13 +02:00
Dmitriy Zaporozhets
6ac73f45f0
Move EmailOnPush logic to async worker
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2013-12-18 13:42:12 +02:00
Dmitriy Zaporozhets
02484930e1
Removed Project#discover_default_branch since it not needed any more
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2013-11-08 09:22:50 +02:00
Dmitriy Zaporozhets
7ecebdd02d
Repository import during project creation often return timeout for medium and large repos.
...
So lets do it async. First create project, then import repo and create
satellite with Sidekiq
2013-08-12 18:21:47 +03:00