Kyle Zhao
a6eca28ec6
CSP - extract all other inline JavaScripts ( #6528 )
...
* wizard page inline js
* print topic inline js
* drop JS for preventing double submission
this is the default behavior with Rails' UJS `disable_with` helper
* omniauth complete redirect JS
* account activate inline js
2018-10-25 09:52:01 -04:00
Neil Lalonde
ebe7835316
FIX: links in rss feeds are sometimes wrong on subfolder installs
2018-08-27 18:05:15 -04:00
Gerhard Schlager
cc851af750
FIX: HTML lang attribute expects hyphen instead of underscore
2018-08-20 13:55:58 +02:00
Arpit Jalan
dfcb2a0d42
FEATURE: include published_time in metadata
2018-07-30 17:09:56 +05:30
Gerhard Schlager
44ee388070
FEATURE: omit images from og and twitter description tags
2017-11-28 21:34:02 +01:00
Arpit Jalan
b354099252
FEATURE: add custom open graph tag for ignoring canonical url
2017-08-15 19:24:20 +05:30
Neil Lalonde
0b41046238
don't force SiteSetting.title into meta title tag
2017-06-12 13:50:50 -04:00
Arpit Jalan
b3761653b3
FIX: render emoji in title tag on topic page
2017-04-11 00:25:22 +05:30
Robin Ward
14410b71fb
Convert server side paths to use /u/
2017-03-30 10:23:24 -04:00
Neil Lalonde
7496f373cd
add headline itemprop to DiscussionForumPosting for crawlers
2017-03-02 12:35:50 -05:00
Arpit Jalan
068ce19ae2
FEATURE: linked topics should be rendered under posts for crawlers
2017-02-21 12:43:24 +05:30
Vinoth Kannan
1b43c209eb
'Article' to 'DiscussionForumPosting' schema type
...
topic => https://meta.discourse.org/t/invalid-article-schema/57037
Replacing '[Article](https://schema.org/Article )' schema type with '[DiscussionForumPosting](https://schema.org/DiscussionForumPosting )'
2017-02-11 18:44:40 +05:30
Neil Lalonde
a5dfcddc6c
FIX: crawler view of paginated content should have link elements in head for next and previous pages
2017-02-07 16:11:12 -05:00
Neil Lalonde
ece979efd1
add tags to webcrawler view of a topic in an ItemList
2017-02-06 18:12:48 -05:00
cpradio
d0a3dc10d8
FIX: RSS Language should use a dash/hypen instead of underscore
2017-01-14 14:24:21 -05:00
Rafael dos Santos Silva
24227af9e8
Adds some styling for crawler view
2016-11-14 18:32:59 -02:00
Rafael dos Santos Silva
41d2620d06
Add some styling to print redux version
2016-10-12 14:00:05 -03:00
Sam
6031e692f0
Merge pull request #4366 from xfalcox/print
...
Print Support
2016-10-11 11:47:20 +11:00
Rafael dos Santos Silva
03ec480c65
Removes UI for print, adds CTRL+P shortcut
2016-09-26 20:46:55 -03:00
Rafael dos Santos Silva
70c68f0a7c
Open print dialog automatically
2016-09-26 20:44:50 -03:00
Rafael dos Santos Silva
16f04d96d4
FIX: Tags on topic crawler view
...
- Remove tag object id
- Remove duplicate tag list
- Don't display tags when tagging is disabled
2016-08-17 01:28:31 -03:00
Neil Lalonde
e5918c7d00
FEATURE: Merge tagging plugin into core
2016-04-27 11:58:53 -04:00
Sam
ecbbbbc98c
FIX: not showing content on topics for mobile crawler
2016-03-17 15:09:08 +11:00
Arpit Jalan
c2caf90de6
FIX: RSS feed must have unique GUID
2016-02-22 18:28:09 +05:30
Arpit Jalan
6ef1537ee0
FEATURE: better unfurling of Discourse topics on Slack
2015-12-28 19:10:19 +05:30
Sam
9f56381b0b
PERF: Shrink mobile payload, don't render for noscript on mobile
2015-11-09 14:55:17 +11:00
Régis Hanol
37c5909a31
FIX: use the first image in the first post in the topic as opengraph image
...
FEATURE: new 'default_opengraph_image_url' setting
2015-10-15 11:00:47 +02:00
Sam
90b85e5b23
FIX: missing category from title in non-js view
2015-07-22 10:26:58 +10:00
dfabulich
195cdaec11
Convert author tag to dc:creator
...
RSS spec says the author tag should be an email address, forcing us to put in a junk no-reply@example.com email. Instead, we should use dc:creator, which allows us to use any name we want for the user.
2015-06-09 13:57:10 -07:00
Sam Saffron
64c0c968e4
Attempt micro data using old vocubulary
...
Seeing weird results on Google
2015-06-09 18:48:06 +10:00
Sam Saffron
89b475e538
FEATURE: clean up microdata breadcrumb
...
* do not include any breadcrumb for uncategorized
* do not include the work "Categories" as a breadcrumb
2015-06-03 18:17:45 +10:00
Robin Ward
92cddfa598
Basic support for server side plugin outlets
2015-06-02 14:28:12 -04:00
Arpit Jalan
7a20ed0617
FIX: rss feed should be valid
2015-05-11 10:50:24 +05:30
Neil Lalonde
1b250f1e01
FIX: crawler pages and RSS had broken links for sites deployed to a subfolder with relative_url_root
2015-04-30 12:46:26 -04:00
Erick Guan
c955907f60
FEATURE: add microdata prop and more links for crawler
...
- add microdata based on schema.org
- add breadcrumb on the top of topic
- add navigations link on the bottom of every pages
- add category description on the category list
2015-03-16 22:52:10 +08:00
Arpit Jalan
63556a904a
FIX: full user names were showing up in crawlers and rss feeds in spite enables_names setting being disabled
2015-01-22 22:34:35 +05:30
Jeff Atwood
6a6e254096
move viewport meta tag out of shared header
2015-01-15 00:24:39 -08:00
Jeff Atwood
655dd66884
change JS-off "emergency" viewport to 720px
2015-01-14 17:06:45 -08:00
Jeff Atwood
0a4582fbc7
add meta viewport tag to JS-off view just in case
2015-01-14 16:56:01 -08:00
Robin Ward
114cc1c851
FIX: We missed some references to /category/xyz
in the ruby code base.
2015-01-07 11:47:01 -05:00
Jeff Atwood
86c13ada44
fix a few places we were using /category vs /c
2015-01-06 15:56:07 -08:00
Dean Taylor
715b81ea88
UX: Improve username readability in search results
...
Avoid lower-case usernames in search results output to improve readability and accuracy - avoid users reading words that don't exist.
2014-10-25 16:52:04 +01:00
Dean Taylor
4ad84c4a2c
UX: Improve username readability in search results
...
Avoid lower-case usernames in search results output to improve readability and accuracy - avoid users reading words that don't exist.
2014-10-25 16:46:47 +01:00
Sam
7de33125f3
improve debuggability of code
2014-09-23 09:51:22 +10:00
Robin Ward
bf8528b6ec
FIX: Use the bumped_at
date for the RSS feed for a topic
2014-08-27 12:34:47 -04:00
Neil Lalonde
1530f33833
FIX: use iso8601 timestamp format in crawler view of a topic
2014-08-06 17:27:28 -04:00
Neil Lalonde
82693daa3d
Put the 'Powered by Discourse...' message shown to crawlers and no-js visitors in a footer element so that SEO something something.
2014-06-19 18:18:09 -04:00
Neil Lalonde
bd92291b26
When javascript disabled, add category links to topic list and topic page
2014-06-05 11:14:06 -04:00
Robin Ward
24cde6c604
Actually, it *should* be user_path
and not userpage_path
2014-06-04 16:51:48 -04:00
riking
7f0b66246b
Tweak the no-js layout
2014-05-20 16:34:18 -07:00
Neil Lalonde
9f4171e487
Fix my prev_page code, thanks to riking
2014-05-13 10:15:28 -04:00
Neil Lalonde
cf7a3e74ee
In web crawler mode, don't show a previous link on a page with 0 results. Google will index those pages and keep following the prev links.
2014-05-12 10:50:27 -04:00
Neil Lalonde
2e7b69f849
RSS feed for topics and posts now use a guid that will always be unique, unlike urls which can change when the topic slug changes
2014-05-01 14:09:15 -04:00
Neil Lalonde
f0e8423445
FIX: don't show hidden posts to crawlers, disabled javascript, and in rss feeds
2014-04-15 12:49:08 -04:00
Sam
b77fe49150
Stop leaking site_email in rss
2014-03-19 09:46:48 +11:00
Robin Ward
158487dfc2
FIX: Clean up next/prev rel links
2014-03-03 12:56:37 -05:00
Jeff Atwood
66ae439ded
rel="prev" and rel="next" for topic also
2014-03-01 02:16:40 -08:00
Sam
03619917f0
BUGFIX: rails is choking on userpage_url for System user, breaks rss
2014-02-12 14:08:09 +11:00
Sam
60a3641cc5
BUGFIX: rss feed link for topics has been broken ever since we upgraded rails
2014-01-08 17:20:46 +11:00
Alexander
8294dced6c
tweak RSS elements for W3C compatibility
...
installation needs to have contact_email set in the admin settings in
order for that installation to have truly valid feeds
2013-12-18 11:06:36 -05:00
Alexander
d93e4fc65d
add more info to rss feeds
2013-12-15 01:17:39 -08:00
Robin Ward
dd6530f45c
Merge pull request #1151 from abbat/patch-1
...
Fix title for plain view
2013-07-06 17:09:44 -07:00
Anton Batenev
3dc850e3d4
Add "Next page" link to plain topic view
...
"Next page" link also under noscript tag and not indexed by old crawlers.
2013-07-06 18:57:08 +04:00
Anton Batenev
8cac92dd11
Fix title for plain view
...
Fix title for plain view - remove <a href=> tag from title.
2013-07-06 16:58:44 +04:00
Anton Batenev
af36d32f7f
Workaround solution to help Yandex crawler index discource.
...
Yandex search engine doesn't index noscript tag content. See also
http://meta.discourse.org/t/noscript-tag-and-some-search-engines/8078
2013-07-04 22:08:23 +04:00
Neil Lalonde
5d444be72b
Support incomplete topic urls like /t/just-a-slug; fix error when using route /t/:topic_id/:post_number
2013-05-30 10:39:15 -04:00
Neil Lalonde
651cfba93f
Add ability to destroy a user with 0 posts
2013-04-12 16:53:00 -04:00
Régis Hanol
125ac9a204
provide a better title on topic pages for crawlers
2013-03-18 19:24:27 +01:00
Robin Ward
908bba8c13
First stab at oneboxing of meta.discourse.org
2013-03-08 15:59:12 -05:00
Robin Ward
d1d4530efd
User Profile enhancements:
...
- Added PreloadStore support to avoid duplicate requests
- preliminary SEO
- Support for opengraph/twitter cards
2013-03-08 15:04:37 -05:00
Robin Ward
d848a9fedc
Add opengraph and twitter card support to topics
2013-03-07 17:46:43 -05:00
Kuba Brecka
69d9856d43
fix wrongly escaped HTML in <noscript> tags
2013-03-06 22:25:44 +01:00
Alexander
fd240c1967
RSS for topics in a category
...
Creates a new route for category RSS
2013-03-01 09:52:59 -08:00
Kuba Brecka
9993e0e665
extracting some more hardcoded strings
2013-03-01 17:04:13 +01:00
Alexander
9b541b1c0a
Specify type in topic RSS autodiscovery tag
2013-02-27 14:55:04 -08:00
Alexander
8855a0bfbe
RSS of a topic via new route
...
Adds TopicView#recent_posts; Post#by_newest, #with_user, #author_readable; User#readable_name
Autodiscovery tag in topic show HTML.
2013-02-26 14:54:17 -08:00
Régis Hanol
55c7ced2f3
corrected right-arrow html entity encoding
...
when using a javascript-disabled browser
2013-02-20 17:00:28 +01:00
Robin Ward
5c4e6c9f2c
Merge pull request #153 from xdite/refactor_topic_show_again
...
use helper again
2013-02-15 07:19:01 -08:00
xdite
9eca9f9375
use helper again
2013-02-13 19:15:10 +08:00
xdite
cab4d95eaf
use canonical-url plugin to make view more clean
2013-02-13 19:04:43 +08:00
Jeff Atwood
4c572ecd8d
clean up some copy
2013-02-12 22:43:21 -08:00
Grant Ammons
f3dc93a0db
WIP, a very nice refactoring of TopicsController#show
2013-02-11 17:54:56 -05:00
xdite
00883842f4
render_topic_next_page_link
2013-02-11 19:18:17 +08:00
xdite
0f54dbb36e
use render_topic_title to replace plain link_to
2013-02-11 19:16:08 +08:00
xdite
b609060455
use link_to to replace a href
2013-02-11 19:13:04 +08:00
Robin Ward
21b5628528
Initial release of Discourse
2013-02-05 14:16:51 -05:00