This repository has been archived by the owner on Feb 8, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 83
fix(messenger): use the good FB template for Image #144
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
4e79d5d
use substring of the url as a fallback title
killix 0cc8f12
use the image type for the attachment
killix fcb9dc1
Merge branch 'devel' into fix/messenger_media
killix 30ef412
Merge branch 'devel' into fix/messenger_media
killix de9cf7c
Merge branch 'devel' into fix/messenger_media
killix 64cb59b
fix tests
killix 37e173c
fix(all): tests
killix File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"@context":"https://www.w3.org/ns/activitystreams","actor":{"id":"2932680926","name":"broid","type":"Person"},"generator":{"id":"test_service","name":"twitter","type":"Service"},"object":{"content":"hello world","id":"823034222432686081","type":"Note"},"published":1485061624,"target":{"id":"258891753","name":"Issam Hakimi","type":"Group"},"type":"Create"} | ||
{"@context":"https://www.w3.org/ns/activitystreams","actor":{"id":"2932680926","name":"broid","type":"Person"},"generator":{"id":"test_service","name":"twitter","type":"Service"},"object":{"content":"hello world","id":"823034222432686081","type":"Note"},"published":1485061624,"target":{"id":"2932680926","name":"broid","type":"Group"},"type":"Create"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"@context":"https://www.w3.org/ns/activitystreams","actor":{"id":"2932680926","name":"broid","type":"Person"},"generator":{"id":"test_service","name":"twitter","type":"Service"},"object":{"content":"hello on private message","id":"823033244023193604","type":"Note"},"published":1485061391,"target":{"id":"258891753","name":"Issam Hakimi","type":"Person"},"type":"Create"} | ||
{"@context":"https://www.w3.org/ns/activitystreams","actor":{"id":"2932680926","name":"broid","type":"Person"},"generator":{"id":"test_service","name":"twitter","type":"Service"},"object":{"content":"hello on private message","id":"823033244023193604","type":"Note"},"published":1485061391,"target":{"id":"2932680926","name":"broid","type":"Person"},"type":"Create"} |
2 changes: 1 addition & 1 deletion
2
broid-twitter/lib/test/fixtures/broid/messagePrivateWithMedia.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"@context":"https://www.w3.org/ns/activitystreams","actor":{"id":"2932680926","name":"broid","type":"Person"},"generator":{"id":"test_service","name":"twitter","type":"Service"},"object":{"content":"private gif https://t.co/HIq5M3zMAD","id":"823033704817786883","mediaType":"video/mp4","type":"Video","url":"https://video.twimg.com/dm_gif/823033665722535936/SH97vg8M-ASzeyqynK6ycsLboQ5o2HvkX0W0zAwlgSi6o9DS0B.mp4"},"published":1485061501,"target":{"id":"258891753","name":"Issam Hakimi","type":"Person"},"type":"Create"} | ||
{"@context":"https://www.w3.org/ns/activitystreams","actor":{"id":"2932680926","name":"broid","type":"Person"},"generator":{"id":"test_service","name":"twitter","type":"Service"},"object":{"content":"private gif https://t.co/HIq5M3zMAD","id":"823033704817786883","mediaType":"video/mp4","type":"Video","url":"https://video.twimg.com/dm_gif/823033665722535936/SH97vg8M-ASzeyqynK6ycsLboQ5o2HvkX0W0zAwlgSi6o9DS0B.mp4"},"published":1485061501,"target":{"id":"2932680926","name":"broid","type":"Person"},"type":"Create"} |
2 changes: 1 addition & 1 deletion
2
broid-twitter/lib/test/fixtures/broid/messagePrivateWithTag.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"@context":"https://www.w3.org/ns/activitystreams","actor":{"id":"2932680926","name":"ielo app","type":"Person"},"generator":{"id":"test_service","name":"twitter","type":"Service"},"published":1485064400,"target":{"id":"248881752","name":"Issam Hakimi","type":"Person"},"type":"Create","object":{"content":"hello world on private #tags","id":"823045866957271043","type":"Note","tag":[{"id":"tags","name":"tags","type":"Object"}]}} | ||
{"@context":"https://www.w3.org/ns/activitystreams","actor":{"id":"2932680926","name":"ielo app","type":"Person"},"generator":{"id":"test_service","name":"twitter","type":"Service"},"published":1485064400,"target":{"id":"2932680926","name":"ielo app","type":"Person"},"type":"Create","object":{"content":"hello world on private #tags","id":"823045866957271043","type":"Note","tag":[{"id":"tags","name":"tags","type":"Object"}]}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"@context":"https://www.w3.org/ns/activitystreams","actor":{"id":"2932680926","name":"broid","type":"Person"},"generator":{"id":"test_service","name":"twitter","type":"Service"},"object":{"content":"hello world with gif https://t.co/DrkMc7hUfY","id":"823034568898998272","mediaType":"image/jpeg","type":"Image","url":"https://pbs.twimg.com/tweet_video_thumb/C2wBjBQUoAABGpv.jpg"},"published":1485061707,"target":{"id":"258891753","name":"Issam Hakimi","type":"Group"},"type":"Create"} | ||
{"@context":"https://www.w3.org/ns/activitystreams","actor":{"id":"2932680926","name":"broid","type":"Person"},"generator":{"id":"test_service","name":"twitter","type":"Service"},"object":{"content":"hello world with gif https://t.co/DrkMc7hUfY","id":"823034568898998272","mediaType":"image/jpeg","type":"Image","url":"https://pbs.twimg.com/tweet_video_thumb/C2wBjBQUoAABGpv.jpg"},"published":1485061707,"target":{"id":"2932680926","name":"broid","type":"Group"},"type":"Create"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"@context":"https://www.w3.org/ns/activitystreams","actor":{"id":"2932680926","name":"ielo app","type":"Person"},"generator":{"id":"test_service","name":"twitter","type":"Service"},"published":1485064277,"target":{"id":"248881752","name":"Issam Hakimi","type":"Group"},"type":"Create","object":{"content":"hello world #tags","id":"823045350755827712","type":"Note","tag":[{"id":"tags","name":"tags","type":"Object"}]}} | ||
{"@context":"https://www.w3.org/ns/activitystreams","actor":{"id":"2932680926","name":"ielo app","type":"Person"},"generator":{"id":"test_service","name":"twitter","type":"Service"},"published":1485064277,"target":{"id":"2932680926","name":"ielo app","type":"Group"},"type":"Create","object":{"content":"hello world #tags","id":"823045350755827712","type":"Note","tag":[{"id":"tags","name":"tags","type":"Object"}]}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"@context":"https://www.w3.org/ns/activitystreams","actor":{"id":"2932680926","name":"broid","type":"Person"},"generator":{"id":"test_service","name":"twitter","type":"Service"},"object":{"content":"hello world","id":"823034222432686081","type":"Note"},"published":1485061624,"target":{"id":"258891753","name":"Issam Hakimi","type":"Group"},"type":"Create"} | ||
{"@context":"https://www.w3.org/ns/activitystreams","actor":{"id":"2932680926","name":"broid","type":"Person"},"generator":{"id":"test_service","name":"twitter","type":"Service"},"object":{"content":"hello world","id":"823034222432686081","type":"Note"},"published":1485061624,"target":{"id":"2932680926","name":"broid","type":"Group"},"type":"Create"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"@context":"https://www.w3.org/ns/activitystreams","actor":{"id":"2932680926","name":"broid","type":"Person"},"generator":{"id":"test_service","name":"twitter","type":"Service"},"object":{"content":"hello on private message","id":"823033244023193604","type":"Note"},"published":1485061391,"target":{"id":"258891753","name":"Issam Hakimi","type":"Person"},"type":"Create"} | ||
{"@context":"https://www.w3.org/ns/activitystreams","actor":{"id":"2932680926","name":"broid","type":"Person"},"generator":{"id":"test_service","name":"twitter","type":"Service"},"object":{"content":"hello on private message","id":"823033244023193604","type":"Note"},"published":1485061391,"target":{"id":"2932680926","name":"broid","type":"Person"},"type":"Create"} |
2 changes: 1 addition & 1 deletion
2
broid-twitter/src/test/fixtures/broid/messagePrivateWithMedia.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"@context":"https://www.w3.org/ns/activitystreams","actor":{"id":"2932680926","name":"broid","type":"Person"},"generator":{"id":"test_service","name":"twitter","type":"Service"},"object":{"content":"private gif https://t.co/HIq5M3zMAD","id":"823033704817786883","mediaType":"video/mp4","type":"Video","url":"https://video.twimg.com/dm_gif/823033665722535936/SH97vg8M-ASzeyqynK6ycsLboQ5o2HvkX0W0zAwlgSi6o9DS0B.mp4"},"published":1485061501,"target":{"id":"258891753","name":"Issam Hakimi","type":"Person"},"type":"Create"} | ||
{"@context":"https://www.w3.org/ns/activitystreams","actor":{"id":"2932680926","name":"broid","type":"Person"},"generator":{"id":"test_service","name":"twitter","type":"Service"},"object":{"content":"private gif https://t.co/HIq5M3zMAD","id":"823033704817786883","mediaType":"video/mp4","type":"Video","url":"https://video.twimg.com/dm_gif/823033665722535936/SH97vg8M-ASzeyqynK6ycsLboQ5o2HvkX0W0zAwlgSi6o9DS0B.mp4"},"published":1485061501,"target":{"id":"2932680926","name":"broid","type":"Person"},"type":"Create"} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't need the
else
.