Rémy Coutable
9f218fc184
Improve and finish the fallback to the In-Reply-To and References header for 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-25 13:05:15 +01:00
David Padilla and Rémy Coutable
31e76baf61
Fix #2364 . Fall back to In-Reply-To header when reply key not available
2016-03-25 13:05:15 +01:00
Grzegorz Bizon
65ba4da925
Add support for keyword arguments in label reference method
2016-03-03 10:41:11 +01:00
Douwe Maan
bbdb9ba036
Don't load all of GitLab in mail_room
...
Fixes #12731
2016-02-26 18:48:13 -08:00
Stan Hu and Rémy Coutable
f86ddfd365
Render sanitized SVG images
...
Closes https://github.com/gitlabhq/gitlabhq/issues/9265
2016-02-01 18:25:32 +01:00
Douwe Maan
677b4db9e6
Mark inline difference between old and new paths when a file is renamed
2016-01-29 19:37:17 +01:00
Douwe Maan
26f7d023e6
Update tests
2016-01-20 17:14:26 +01:00
Douwe Maan
c23ca0b0b5
Merge branch 'master' into issue_3945
2016-01-20 14:53:41 +01:00
Douwe Maan
512bebe21d
Refactor Gitlab::Highlight and fix tests
2016-01-19 14:52:41 +01:00
Grzegorz Bizon
c7fe3c846a
Update build artifacts metadata fixture to 0.0.2
2016-01-18 19:58:16 +01:00
Rubén Dávila
c8db25c37c
Merge branch 'master' into issue_3945
2016-01-14 17:28:44 -05:00
Rubén Dávila
6b9c730e91
More refactoring from last code review. #3945
...
* Use commit objects instead of IDs when generating diffs
* Use proper references when generating MR's source and target
* Update broken specs
2016-01-14 16:47:55 -05:00
Douglas Barbosa Alexandre
a8c836c371
Add tests for the wiki pipeline
2016-01-14 12:09:31 -02:00
Grzegorz Bizon
2be76355ca
Support only valid UTF-8 paths in build artifacts browser
2016-01-14 12:48:16 +01:00
Grzegorz Bizon
387b27813d
Change format of artifacts metadata from text to binary 0.0.1
...
This changes the format of metadata to handle paths, that may contain
whitespace characters, new line characters and non-UTF-8 characters.
Now those paths along with metadata in JSON format are stored as
length-prefixed strings (uint32 prefix).
Metadata file has a custom format:
1. First string field is metadata version field (string)
2. Second string field is metadata errors field (JSON strong)
3. All subsequent fields is pair of path (string) and path metadata
in JSON format.
Path's metadata contains all fields that where possible to extract from
ZIP archive like date of modification, CRC, compressed size,
uncompressed size and comment.
2016-01-14 12:48:15 +01:00
Grzegorz Bizon
e3ef0ac8f4
Update artifacts metadata fixture
2016-01-14 12:48:14 +01:00
Grzegorz Bizon
662f4b9e1d
Add artifacts metadata uploader filed
...
Artifacts metadata field will be used to store a filename of gzipped
file containing metadata definition for given artifacts archive.
2016-01-14 12:48:14 +01:00
Grzegorz Bizon
87df1df3cd
Seed db with CI build artifacts using a zip archive
2016-01-14 12:48:13 +01:00
Grzegorz Bizon
2c6b11198a
Add CI build artifacts tarball as a spec fixture
2016-01-14 12:48:12 +01:00
Rubén Dávila
164c6374a7
Fix broken specs. #3945
2016-01-08 19:57:51 -05:00
Douwe Maan
539b41929b
Milestone reference is a Markdown link
2016-01-07 12:26:05 +01:00
Rubén Dávila
795ecb498c
Fix broken spec. #3945
2015-12-31 01:46:52 -05:00
Rubén Dávila
7de90f4b53
Fix broken spec and small refactor. #3945
2015-12-30 18:42:11 -05:00
Douwe Maan
989131c530
Render milestone links as references
2015-12-24 14:43:07 +01:00
Douwe Maan
f905fd239c
Use URL helpers in specs
2015-12-03 14:00:09 +01:00
Douwe Maan
c07f0fa735
Add new references to markdown feature spec.
2015-12-01 17:04:32 +01:00
Douwe Maan
15fc7bd613
No HTML-only email please
2015-08-21 16:09:55 -07:00
Douwe Maan
6110e175dc
Use heredocs.
2015-08-20 13:10:55 -07:00
Douwe Maan
e1eb09dd0e
Remove more unused fixtures.
2015-08-20 12:33:33 -07:00
Douwe Maan
2b5a2b8f39
Removed unused fixtures.
2015-08-20 12:29:03 -07:00
Douwe Maan
e44936f3ed
Test EmailReceiverWorker.
2015-08-20 11:47:09 -07:00
Douwe Maan
83081f1673
Start on tests.
2015-08-19 18:00:13 -07:00
Robert Speicher
0673ca3681
Add RelativeLinkFilter section to Markdown fixture
2015-07-28 18:56:27 -04:00
Robert Speicher
b07df8b1b0
Make links inside ignored elements unique
...
This is to prevent false matches since the Autolink section uses
about.gitlab.com as well.
2015-07-28 18:56:26 -04:00
Sven Strickroth
5eeab9f0a6
GoogleCode importer: Do not care about casing of image file extensions
...
Signed-off-by: Sven Strickroth <email@cs-ware.de >
2015-07-20 00:53:43 +02:00
Robert Speicher
7424d2fa5b
Add ExternalLinkFilter to Markdown pipeline
...
Forces a `rel="nofollow"` attribute on all external links.
2015-05-27 15:39:08 -04:00
Robert Speicher
ca268b85f6
Use to_reference in Markdown feature spec
2015-05-26 15:48:30 -04:00
Robert Speicher
70bbf093aa
Remove class and id attributes from SanitizationFilter whitelist
2015-05-08 12:31:34 -04:00
Dmitriy Zaporozhets
6c32abc5f7
Merge branch 'rs-task_list' into 'master'
...
Use task_list gem for task lists
Task Lists can now be used in comments, and they'll render in previews. 👏
Closes internal https://dev.gitlab.org/gitlab/gitlabhq/issues/2271
See merge request !599
2015-05-08 09:39:48 +00:00
Robert Speicher
fdff815a4c
Add Markdown feature specs for markup inside links
...
It was already working, just want to make sure we don't break it in the
future.
2015-05-06 17:21:19 -04:00
Robert Speicher
c915c7b001
Add TaskList to Markdown feature spec
2015-05-06 13:00:13 -04:00
Robert Speicher
242bebc134
Remove special handling for the ' problem
...
While `escape_once` will create this HTML entity, Nokogiri always
translates it back before it gets to IssueReferenceFilter, so there
should be no danger of erroneous issue links.
2015-04-30 16:35:27 -04:00
Robert Speicher
286c9e6886
Add a feature spec for our entire Markdown parsing stack
2015-04-30 16:35:25 -04:00
Douwe Maan
9d00bb0896
Import Google Code issue assignee when mapped.
2015-04-14 23:22:14 +02:00
Douwe Maan
06399b3261
Show Google Code image attachments inline.
2015-04-04 14:19:05 +02:00
Douwe Maan
7b5bc32cad
Allow projects to be imported from Google Code.
2015-04-03 15:29:27 +02:00
Ciro Santilli
a7e0ca9e83
Add trailing newline to all text files.
...
Present in the large majority of files of each respective type.
2014-06-21 11:20:22 +02:00
Earle Bunao & Neil Calabroso and erbunao
6a85cdf162
Implements drag and drop upload in creating issues
2014-05-23 16:22:42 +08:00
Jack Weeden
20b2a0b235
Ability to edit comments
2013-07-01 10:48:02 +01:00