Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-11-17fix rubocop failureshttp://jneen.net/
2016-11-17add parsing support for incoming html emailhttp://jneen.net/
2016-11-07implements reset incoming email token on issues modal and account page,tiagonbotelho
reactivates all tests and writes more tests for it
2016-11-07Use separate email-friendly token for incoming email and let incomingDouwe Maan
email token be reset
2016-10-20Preserve note_type and position for notes from emailsLin Jen-Shin
Closes #23208
2016-08-20Disable “issue by email” feature until it uses a different tokenDouwe Maan
2016-08-13Simplify the slash commands DSL to store action blocks instead of creating ↵Rémy Coutable
methods Other improvements: - Ensure slash commands autocomplete doesn't break when noteable_type is not given - Slash commands: improve autocomplete behavior and /due command - We don't display slash commands for note edit forms. - Add tests for reply by email with slash commands - Be sure to execute slash commands after the note creation in Notes::CreateService Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-08-13Add the /title slash commandRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-08-13Support slash commands in noteable description and notesRémy Coutable
Some important things to note: - commands are removed from noteable.description / note.note - commands are translated to params so that they are treated as normal params in noteable Creation services - the logic is not in the models but in the Creation services, which is the right place for advanced logic that has nothing to do with what models should be responsible of! - UI/JS needs to be updated to handle notes which consist of commands only - the `/merge` command is not handled yet Other improvements: - Don't process commands in commit notes and display a flash is note is only commands - Add autocomplete for slash commands - Add description and params to slash command DSL methods - Ensure replying by email with a commands-only note works - Use :subscription_event instead of calling noteable.subscribe - Support :todo_event in IssuableBaseService Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-08-03Introduce Compare model in the codebase.Paco Guzman
This object will manage Gitlab::Git::Compare instances
2016-08-03Move to Gitlab::Diff::FileCollectionPaco Guzman
Instead calling diff_collection.count use diff_collection.size which is cache on the diff_collection
2016-07-26Merge remote-tracking branch 'upstream/master' into new-issue-by-emailLin Jen-Shin
* upstream/master: (620 commits) Added '*.js.es6 gitlab-language=javascript' to .gitattributes Fix CI status icon link underline Update CHANGELOG after 8.10.1 Add CHANGELOG Add es6 gem Instrument Nokogiri parsing methods Fix backup restore Use project ID in repository cache to prevent stale data from persisting across projects Add iid to MR API response `WikiPage` should have a slug even when not persisted. ES6ify all the things! Make fork counter always clickable (!5463) Revert "Merge branch '17073-tagscontroller-index-is-terrible-response-time-goes-up-to-5-…" Fix CHANGELOG Add spec for dashes in paths Fix Error 500 when creating Wiki pages with hyphens or spaces Add links to the real markdown.md file for all GFM examples Remove magic comments from Ruby files (!5456) Ignore invalid trusted proxies in X-Forwarded-For header remove search_id for label dropdown filter ...
2016-07-19Get rid of `is_image` in FileUploaderRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-06-20raise UnknownIncomingEmail when there's no mail_key:Lin Jen-Shin
So that we don't have to pretend that CreateNoteHandler could handle a nil mail_key. Also, since NilClass#=~ would just return nil for any regular expression, we could just match it without checking nilness. Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3363#note_12566407
2016-06-15Add missing require in testsLin Jen-Shin
2016-06-15Merge branch 'master' into new-issue-by-emailLin Jen-Shin
* master: (1246 commits) Update CHANGELOG Update tests to make it work with Turbolinks approach Use Turbolink instead of ajax Reinitialize checkboxes to toggle event bindings Turn off handlers before binding events Removed console.log Uses outerWidth instead of width Revert "Added API endpoint for Sidekiq Metrics" Added API endpoint for Sidekiq Metrics Added CHANGELOG entry for allocations Gem/name fix Filter out classes without names in the sampler Update the allocations Gem to 1.0.5 Put all sidebar icons in fixed width container Instrument private/protected methods Fix Ci::Build#artifacts_expire_in= when assigning invalid duration Fix grammar and syntax Update CI API docs UI and copywriting improvements Factorize members mails into a new Emails::Members module Factorize access request routes into a new :access_requestable route concern Factorize #request_access and #approve_access_request into a new AccessRequestActions controller concern ...
2016-05-24Split tests into their own classesLin Jen-Shin
2016-05-23Merge the places where exceptions could be raisedLin Jen-Shin
2016-05-21Use the authentication_token for finding the userLin Jen-Shin
2016-05-20Rename reply_key to mail_keyLin Jen-Shin
2016-05-20Actually there's no such caseLin Jen-Shin
2016-05-19Give ProjectNotFound when the project is not readableLin Jen-Shin
2016-05-19so we use separate classes to handle different tasksLin Jen-Shin
2016-05-17Syntax-highlight diffs in push emailsSean McGivern
Based on: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/151
2016-05-17Report better errors. TODO: Enable skipped testLin Jen-Shin
2016-05-17Create a new issue via: incoming+group/project+AUTH_TOKEN@...Lin Jen-Shin
2016-05-17Alloy empty reply for new issues, but not responseLin Jen-Shin
2016-05-17Implement #3243 New Issue by emailLin Jen-Shin
So we extend Gitlab::Email::Receiver for this new behaviour, however we might want to split it into another class for better testing it. Another issue is that, currently it's using this to parse project identifier: Gitlab::IncomingEmail.key_from_address Which is using: Gitlab.config.incoming_email.address for the receiver name. This is probably `reply` because it's used for replying to a specific issue. We might want to introduce another config for this, or just use `reply` instead of `incoming`. I'll prefer to introduce a new config for this, or just change `reply` to `incoming` because it would make sense for replying to there, too. The email template used in tests were copied and modified from: `emails/valid_reply.eml` which I hope is ok.
2016-05-17Fix a typoLin Jen-Shin
2016-05-11Only generate repository push email onceSean McGivern
The repository push email can be very expensive to generate, especially with syntax-highlighted diffs. Instead of generating the email for each recipient, generate one email object and reset the Message-Id and To headers for each recipient. (Cloning would also be expensive in the case of large emails, although probably not as bad as generating from scratch.)
2016-03-25Improve and finish the fallback to the In-Reply-To and References header for ↵Rémy Coutable
the reply-by-email feature A few things to note: - The IncomingEmail feature is now enabled even without a correctly-formatted sub-address - Message-ID for new thread mail are kept the same so that subsequent notifications to this thread are grouped in the thread by the email service that receives the notification (i.e. In-Reply-To of the answer == Message-ID of the first thread message) - To maximize our chance to be able to retrieve the reply key, we look for it in the In-Reply-To header and the References header - The pattern for the fallback reply message id is "reply-[key]@[gitlab_host]" - Improve docs thanks to Axil
2016-03-25Fix #2364. Fall back to In-Reply-To header when reply key not availableDavid Padilla
2016-03-03Use Gitlab::Git::DiffCollectionsJacob Vosmaer
2016-01-07Update specDouwe Maan
2015-12-11Merge branch 'complexity/rubocop-metrics' into 'master' Douwe Maan
Enable rubocop metrics This enables rubocop metrics like CyclomaticComplexity and ABCSize. Initial threshold values are high, should be probably decreased. See merge request !1802
2015-12-09Tag lib specsDouwe Maan
2015-12-08Add `RepositoryPush` specsGrzegorz Bizon
2015-10-14Fix: Images cannot show when projects' path was changedValery Sizov
2015-09-21Rename reply_by_email to incoming_email to prepare for the future.Douwe Maan
2015-08-22No HTML-only email pleaseDouwe Maan
2015-08-21Block blocked users from replying to threads by email.Douwe Maan
2015-08-20Add stub_reply_by_email_setting helper.Douwe Maan
2015-08-20Use heredocs.Douwe Maan
2015-08-20Add fixture_file helper.Douwe Maan
2015-08-20Removed unused fixtures.Douwe Maan
2015-08-20Test Gitlab::Email::Receiver.Douwe Maan
2015-08-20Test Email::AttachmentUploader.Douwe Maan
2015-08-20Extract ReplyParser and AttachmentUploader from Receiver.Douwe Maan