Kyle Zhao
baf413d527
FIX: update TopicEmbed's title and user correctly
2018-08-21 18:31:01 +08:00
Régis Hanol
de92913bf4
FIX: store the topic links using the cooked upload url
2018-08-14 12:23:32 +02:00
Kyle Zhao
0cc4b42180
FIX: TopicEmbed.import should update title and author
2018-05-02 17:12:31 +10:00
Arpit Jalan
12706c4b29
FEATURE: support markdown rendering for embedded posts
2018-03-11 08:00:48 +05:30
Gerhard Schlager
5a56746610
FIX: Embedded topic was not found when URL contained query string
2018-02-14 00:28:30 +01:00
Arpit Jalan
9030d3ef63
FIX: do not create duplicate topics
...
https://meta.discourse.org/t/duplicate-http-https-topics-are-randomly-created/77190
2018-01-04 23:53:52 +05:30
Gerhard Schlager
e30851e45a
Move escape_uri method to a more suitable place
2017-12-12 20:17:46 +01:00
Guo Xiang Tan
367fb1c524
FIX: Onebox fails on encoded URL.
...
https://meta.discourse.org/t/onebox-breaks-if-theres-chinese-text-in-url/67364
2017-09-26 18:34:54 +08:00
Gerhard Schlager
6f6b47f096
FIX: do not escape already escaped chars in URL
2017-09-22 17:36:44 +02:00
Gerhard Schlager
1a435414d5
FIX: handle URL encoded email addresses
2017-09-22 14:26:06 +02:00
Guo Xiang Tan
b84e87dedd
FIX: Don't raise an error if URL timesout.
2017-08-10 12:58:56 +09:00
Guo Xiang Tan
5012d46cbd
Add rubocop to our build. ( #5004 )
2017-07-28 10:20:09 +09:00
Robin Ward
39e1948174
FIX: If the error is 401 unauthorized or such, just do nothing
2017-05-25 15:42:05 -04:00
Arpit Jalan
aeead60036
FIX: make TopicEmbed trashable
2017-04-25 18:40:39 +05:30
Robin Ward
dad57fa033
FIX: More errors with non-ascii URLs
2017-03-07 11:21:41 -05:00
Robin Ward
cd571b26ba
FIX: Allow Safe Redirections in Topic Embedding
2016-09-15 13:56:59 -04:00
Robin Ward
7da44e3bf0
FEATURE: Support author meta tags for embedding
2016-08-30 12:01:04 -04:00
Robin Ward
c3a3aff120
FEATURE: Support for a whitelist for embeddable host paths
2016-08-23 14:56:12 -04:00
Robin Ward
884bdf7240
FEATURE: Ability to scrub titles when importing embeddable content
2016-08-22 12:43:02 -04:00
Robin Ward
e2b5919579
FIX: Don't normalize URLs before fetching them, only for saving them
2015-11-06 16:25:11 -05:00
kerryliu
b7803fc68e
FIX: allow emoji class when crawling embedded content, add rspc-html-matchers
2015-11-05 18:51:26 -08:00
Sam
c1ecd6f4ce
update annotations
2015-09-18 10:41:10 +10:00
Robin Ward
d1c69189f3
FEATURE: Can edit category/host relationships for embedding
2015-08-20 15:56:04 -04:00
Robin Ward
fb8ba5e137
FIX: PG::UniqueViolation
when trying to use the same embed code
...
Previously providing an embed code already in use would result in
a logged server error. After this commit the error is gracefully
bubbled up from the `PostCreator`
2015-06-15 12:09:59 -04:00
Robin Ward
edae9d7ad9
FIX: Sometimes contents
is nil, don't break in that case.
2015-05-06 12:40:24 -04:00
Will Jordan
bbfa5c7df1
Fix NoMethodError
in TopicEmbed#find_remote
...
Stop TopicEmbed#find_remote from generating `NoMethodError: undefined method `empty?' for nil:NilClass` exceptions
2015-04-22 16:52:02 -07:00
Régis Hanol
e7f251c105
LOTS of changes to properly handle post/topic revisions
...
FIX: history revision can now properly be hidden
FIX: PostRevision serializer is now entirely dynamic to properly handle
hidden revisions
FIX: default history modal to "side by side" view on mobile
FIX: properly hiden which revision has been hidden
UX: inline category/user/wiki/post_type changes with the revision
details
FEATURE: new '/posts/:post_id/revisions/latest' endpoint to retrieve
latest revision
UX: do not show the hide/show revision button on mobile (no room for
them)
UX: remove CSS transitions on the buttons in the history modal
FIX: PostRevisor now handles all the changes that might create new
revisions
FIX: PostRevision.ensure_consistency! was wrong due to off by 1
mistake...
refactored topic's callbacks for better readability
extracted 'PostRevisionGuardian'
2014-10-27 22:06:43 +01:00
Sam
414c6d191f
FIX: remove nullable dates post upgrade to Rails 4
2014-08-27 15:19:25 +10:00
Akshay
3fd784b513
removed useless assignments at some places
2014-08-19 18:10:23 +05:30
Robin Ward
77d68ccf08
FIX: Robin is fired for the typo
2014-05-08 16:44:32 -04:00
Robin Ward
44ed0d5232
FIX: Even more safety, the topic must exist as well.
2014-05-08 16:41:25 -04:00
Robin Ward
5fb962a65f
FIX: Some extra safety - in the case that an imported post was deleted,
...
don't error out of the PollFeed job
2014-05-08 16:27:17 -04:00
Louis Rose
1574485443
Perform the where(...).first to find_by(...) refactoring.
...
This refactoring was automated using the command: bundle exec "ruby refactorings/where_dot_first_to_find_by/app.rb"
2014-05-06 14:41:59 +01:00
Sam
e5f41b8a21
FEATURE: whitelist and blacklist selectors for embeds
2014-04-15 14:07:30 +10:00
Robin Ward
ce40a27274
FIX: If there is an invalid URI in the import, don't throw an error
2014-04-09 11:04:45 -04:00
Régis Hanol
6373de550f
update annotations
2014-04-08 17:35:44 +02:00
Robin Ward
767048cc8d
FIX: Strips spaces from the end of URLs
2014-04-03 15:35:31 -04:00
Robin Ward
10d0320532
FIX: Allow expanding posts when anonymous, add specs
2014-04-03 11:30:43 -04:00
Robin Ward
079123f008
Allow the content_sha1
column of topic_embed
to be nullable
2014-04-02 16:18:51 -04:00
Robin Ward
d1e7fa1c47
Minor tweaks to importing first posts
2014-04-02 15:54:21 -04:00
Robin Ward
b250aa36a0
Remote fetching of blog contents
2014-04-02 10:26:46 -04:00
Aslak Knutsen
f011fbdca9
Normalize URL from Feed Entry after adding link to original in Topic
...
Since a URL might be case sensitive, adding a link to the original
Feed Entry with changed case to the Topic could end in 404.
2014-03-27 20:48:01 +01:00
Robin Ward
9d1855f92f
Always use lower case URLs, fix date formatting and add full date title
2014-03-23 15:22:02 -04:00
Robin Ward
faaada6e8a
Consider URLs the same even with a trailing slash
2014-03-19 16:33:21 -04:00
Robin Ward
d3f1eb395d
Updated import for TypePad
2014-03-19 15:02:49 -04:00
Sam
be560d4eb6
Update annotations
2014-02-07 11:07:52 +11:00
Eric Carlson
6766451ab4
Add site setting for category of topics created by embedding
2014-01-23 22:25:48 -07:00
Robin Ward
af9b7bfee2
Add support for lists to readability topic importing.
2014-01-09 15:49:38 -05:00
Robin Ward
4f8aed295a
FEATURE: Embeddable Discourse comments, now with simple-rss instead of feedzirra
2013-12-31 15:01:22 -05:00
Robin Ward
62db063e1e
Revert "Support for Embeddable Comments via IFRAME" - it depends on Curl
...
which not every server has. Have to rethink this.
This reverts commit e3e4c62887
.
2013-12-31 12:52:31 -05:00
Robin Ward
e3e4c62887
Support for Embeddable Comments via IFRAME
2013-12-31 12:26:24 -05:00