summaryrefslogtreecommitdiff
path: root/app/workers
Commit message (Collapse)AuthorAgeFilesLines
* Migrate from Sidetiq to Sidekiq-cronfeature/sidekiq-cronGabriel Mazetto2015-12-041-3/+0
| | | | Updated Sidekiq to 3.5.x
* fix specsrails_update_to_4_2Valery Sizov2015-11-301-1/+1
|
* Migrate mailers to ActiveJobValery Sizov2015-11-261-1/+1
|
* Rails update to 4.2.4Valery Sizov2015-11-251-1/+1
|
* Fix 500 when using CIci-fix-500Kamil Trzcinski2015-11-231-0/+3
| | | | | | - Fix for Ci::Build state machine, allowing to process builds without the project - Forcefully update builds that didn't want to update with state machine - Fix saving GitLabCiService as Admin Template
* Remove accidentally added line. #3598issue_3598Rubén Dávila2015-11-201-3/+0
| | | | It should exist in EE only.
* Remove unused variable in repository importDouwe Maan2015-11-181-1/+1
|
* Store and show reason why import failed.Douwe Maan2015-11-182-34/+47
|
* Cleanup stuck CI builds dailydrop-old-buildsKamil Trzcinski2015-11-031-0/+18
|
* Remove unused sidekiq workerJacob Vosmaer2015-10-201-43/+0
|
* Clear archive cache asynchronouslyJacob Vosmaer2015-10-201-0/+9
|
* Rename reply_by_email to incoming_email to prepare for the future.Douwe Maan2015-09-211-1/+1
|
* remove API calls from CE to CIci_closer_integrationValery Sizov2015-09-181-12/+0
|
* Merge remote-tracking branch 'origin/master' into ↵Kamil Trzcinski2015-09-151-0/+34
|\ | | | | | | | | | | | | ci-and-ce-sitting-in-a-tree-k-i-s-s-i-n-g # Conflicts: # Gemfile.lock
| * Import forked repositories asynchronously to prevent large repositories from ↵Stan Hu2015-09-111-0/+34
| | | | | | | | | | | | | | | | | | timing out Use import_status to track async import status and give feedback to the user Closes #2388 Closes #2400
* | Merge branch 'master' into ci-and-ce-sitting-in-a-tree-k-i-s-s-i-n-gDmitriy Zaporozhets2015-09-092-13/+26
|\ \ | |/
| * FogBugz project importJared Szechy2015-09-081-13/+22
| |
| * Expire cache when merge request source branch was removedfix-branches-cache-after-mergeDmitriy Zaporozhets2015-08-281-0/+4
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Merge branch 'master' into ci-and-ce-sitting-in-a-tree-k-i-s-s-i-n-gDouwe Maan2015-08-262-14/+21
|\ \ | |/
| * Merge branch 'handle-smtp-input-errors' into 'master'Dmitriy Zaporozhets2015-08-251-14/+19
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Gracefully handle SMTP user input errors (e.g. incorrect email addresses) to prevent Sidekiq retries ### What does this MR do? This MR gracefully handles SMTP input errors (e.g. incorrect or invalid e-mail addresses) to prevent these types of exceptions from causing Sidekiq to retry the task. If these specific exceptions occur, they will be logged, and the e-mail will be dropped from the queue. ### Why was this MR needed? If you include an author that has a misspelled e-mail address, Sidekiq will keep sending e-mail to all the recipients even if they have already received the e-mail. The only way to recover is to clear the Sidekiq queue. Note that other exceptions can still be thrown (e.g. `IOError`, `Net::SMTPAuthenticationError`, `Net::SMTPServerBusy`, `Net::SMTPUnknownError`, and `TimeoutError`). If the worker encounters these, Sidekiq should retry the task. ### What are the relevant issue numbers? Closes https://github.com/gitlabhq/gitlabhq/issues/9560 See merge request !1163
| | * Gracefully handle SMTP user input errors (e.g. incorrect email addresses) to ↵Stan Hu2015-08-191-14/+19
| | | | | | | | | | | | | | | | | | prevent Sidekiq retries Closes https://github.com/gitlabhq/gitlabhq/issues/9560
| * | Ignore empty incoming messages.Douwe Maan2015-08-241-0/+2
| | |
* | | Groundwork for merging CI into CEDouwe Maan2015-08-253-0/+38
|/ /
* | Remove user OAuth tokens stored in database for Bitbucket, GitHub, and GitLabStan Hu2015-08-231-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and request them each session. Pass these tokens to the project import data. This prevents the need to encrypt these tokens and clear them in case they expire or get revoked. For example, if you deleted and re-created OAuth2 keys for Bitbucket, you would get an Error 500 with no way to recover: ``` Started GET "/import/bitbucket/status" for x.x.x.x at 2015-08-07 05:24:10 +0000 Processing by Import::BitbucketController#status as HTML Completed 500 Internal Server Error in 607ms (ActiveRecord: 2.3ms) NameError (uninitialized constant Import::BitbucketController::Unauthorized): app/controllers/import/bitbucket_controller.rb:77:in `rescue in go_to_bitbucket_for_permissions' app/controllers/import/bitbucket_controller.rb:74:in `go_to_bitbucket_for_permissions' app/controllers/import/bitbucket_controller.rb:86:in `bitbucket_unauthorized' ``` Closes #1871
* | Block blocked users from replying to threads by email.reply-by-emailDouwe Maan2015-08-211-0/+2
| |
* | Merge branch 'master' into reply-by-emailDouwe Maan2015-08-203-14/+19
|\ \ | |/
| * Revert "Merge branch 'revert-satellites' into 'master' "Dmitriy Zaporozhets2015-08-113-14/+19
| | | | | | | | | | This reverts commit 5daf44b7c86e0e2641a902b1da8b01d91fa3dbfa, reversing changes made to 2f706fbd231cabe7a76a5d17ac44285aaaf8592c.
* | Make error class names more consistent.Douwe Maan2015-08-201-2/+2
| |
* | Extract ReplyParser and AttachmentUploader from Receiver.Douwe Maan2015-08-201-8/+8
| |
* | Send a rejection email when the incoming email couldn't be processed.Douwe Maan2015-08-191-6/+31
| |
* | Changes and stuff.Douwe Maan2015-08-181-1/+1
| |
* | Reply by email POCDouwe Maan2015-08-181-0/+22
|/
* Revert "Merge branch 'drop-satellites'"Dmitriy Zaporozhets2015-08-113-19/+14
| | | | | | | This reverts commit 957e849f41d96fa9778fcdd06792d2f0274b29ab, reversing changes made to 6b9dbe9f5a175a8162abf296367f561bab3eea1a. Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Trigger post-receive hoooks when commits are made by GitLabtrigger-hooksDmitriy Zaporozhets2015-08-101-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Merge branch 'master' into drop-satellitesDmitriy Zaporozhets2015-08-042-1/+16
|\ | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * Avoid cache building for super-weird case when repository root_ref is nilDmitriy Zaporozhets2015-07-171-1/+4
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * Store commit count in project tableadvanced-cacheDmitriy Zaporozhets2015-07-172-2/+5
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * Build missing cache items in background job after each pushDmitriy Zaporozhets2015-07-171-0/+9
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Huge refactoring for accepting merge requestsDmitriy Zaporozhets2015-07-162-13/+19
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Remove satellitesDmitriy Zaporozhets2015-07-151-1/+0
|/
* Add Irker service configuration optionsStan Hu2015-07-051-2/+2
| | | | | | Closes #1713 Closes #1714 Closes gitlab-com/support-forum#139
* Added X-GitLab-Event header for web hooksbugagazavr2015-05-082-4/+4
|
* Revert "Added X-GitLab-Event header for web hooks"Valery Sizov2015-04-272-4/+4
| | | | This reverts commit 548f182814acd0f7a110e6c165c186e345901b00.
* Added X-GitLab-Event header for web hooksbugagazavr2015-04-252-4/+4
|
* Let commit model know about its project.Douwe Maan2015-04-241-2/+1
|
* Merge branch 'google-code-import' into 'master'Douwe Maan2015-04-151-0/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Import projects from Google Code. Resolves #1257. Issue import logic almost entirely taken from https://gitlab.com/o9000/google-code-to-gitlab ( :hearts: @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 ![Screen_Shot_2015-04-03_at_16.02.21](https://gitlab.com/gitlab-org/gitlab-ce/uploads/4a87038035fbad9441cf613b8cdcc690/Screen_Shot_2015-04-03_at_16.02.21.png) ### Imported issue ![Screen_Shot_2015-04-03_at_16.25.49](https://gitlab.com/gitlab-org/gitlab-ce/uploads/b2c2eaf5ecfcf57b3c48511eb5d26db4/Screen_Shot_2015-04-03_at_16.25.49.png) See merge request !471
| * Allow projects to be imported from Google Code.Douwe Maan2015-04-031-0/+2
| |
* | Merge branch 'regex-start-of-string' into 'master'Dmitriy Zaporozhets2015-04-121-2/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | Fix persistent XSS vulnerability around profile website URLs. Fixes gitlab/gitlab-ee#268 See merge request !1761
| * | Use `\A` and `\z` in regexes instead of `^` and `$`.Douwe Maan2015-04-101-2/+2
| |/
* | CI forking: testsValery Sizov2015-04-061-2/+2
| |