Jeff Atwood
ef8976d68a
better no-js and crawler image sizing
2015-01-15 02:20:38 -08:00
Jeff Atwood
71bfde3b4d
meant device-width there, oops
2015-01-15 01:37:02 -08:00
Jeff Atwood
6b30f8444e
normalize crawler and no-js views
2015-01-15 01:31:30 -08:00
Jeff Atwood
5c92c39003
remove csrf, font-face, css from js-off + crawler
2015-01-15 00:41:30 -08:00
Jeff Atwood
6a6e254096
move viewport meta tag out of shared header
2015-01-15 00:24:39 -08:00
Régis Hanol
6734a51b6a
move SiteText.{head,top,bottom} to SiteCustomization
2015-01-14 12:15:53 +01:00
Robin Ward
f3b72f5d96
Revert "move SiteText.{head,bottom} to SiteCustomization and remove redundant SiteText.top"
...
This reverts commit 6ee2849df6
.
2015-01-12 20:21:22 -05:00
Régis Hanol
6ee2849df6
move SiteText.{head,bottom} to SiteCustomization and remove redundant SiteText.top
2015-01-12 19:59:43 +01:00
Régis Hanol
853e2ee535
FIX: rss link in category pages
2015-01-02 13:06:57 +01:00
Robin Ward
e035b07e92
Put Ember 1.8.1 + fixes back.
2014-12-04 08:51:35 -05:00
Sam
8977d5917b
revert
2014-12-04 09:35:11 +11:00
Robin Ward
39fde5b9fb
Upgrade to 1.8.1: So long, metamorphs!
2014-12-03 10:49:18 -05:00
Régis Hanol
fe541891fc
remove unnecessary <footer> tags
2014-11-12 14:35:20 +01:00
Régis Hanol
ec76be964e
UX: better footer handling
2014-11-10 21:51:55 +01:00
Sam
aa9b3bb35a
FEATURE: allow long polling to go to a different url
...
Added the site setting long_polling_base_url , this allows you
to farm long polling to a different server.
This setting is very important if a CDN is serving dynamic content.
2014-10-24 13:38:38 +11:00
Robin Ward
bc53d48bd7
Renaming site contents to site text
2014-09-24 16:08:14 -04:00
Konrad Borowski
14486a2e19
Allow translating "Log In" button in HTML code.
2014-08-12 11:23:45 +02:00
Jeff Atwood
a51bf08346
change "Sign In" back to "Log In" for now
2014-08-11 16:08:55 -07:00
Robin Ward
4f416bf6ce
Check honeypot/challenge value on activation too
2014-07-15 14:07:35 -04:00
Sam
5032c96486
FIX: disable x accl redirect for CDN assets
...
We need to keep headers in tact
2014-07-10 16:32:46 +10:00
Kris Aubuchon
291459bb91
first steps to making discourse more responsive
2014-07-09 19:56:35 -04:00
Sam
decff6dc85
revert viewport change on mobile
...
(truncates stuff on iphone)
2014-07-03 20:34:13 +10:00
Kris Aubuchon
aee73d901a
fixing a handful of issues
2014-07-02 23:21:45 -04:00
Régis Hanol
7feab2fc99
Revert "background on topic-list, more width on extra-info-wrapper, meta viewport fix"
2014-07-02 16:55:43 +02:00
Kris Aubuchon
e0194e69a5
adding background to topic-list, making max-width larger on extra-info-wrapper, and changing viewport config
2014-07-02 09:54:40 -04:00
Jeff Atwood
dfd011e986
put the actual GitHub URL in the meta="generator"
2014-07-01 00:03:07 -07:00
Jeff Atwood
fa415cd120
de-duplicate <footer> ids
2014-06-24 00:12:07 -07:00
Neil Lalonde
753610f8db
Add meta generator tag with the Discourse version. Use a partial for common head elements.
2014-06-19 18:18:09 -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
riking
cd186aee56
Allow a sepearate mobile logo URL
2014-06-18 12:44:00 -07:00
Neil Lalonde
4f90869618
Add content :bottom to the bottom of every page, as it says it should
2014-06-06 16:48:17 -04:00
Jeff Atwood
e34321af7a
add sign in user glyph to 404 page
2014-05-23 01:01:09 -07:00
Sam
fad868c78f
Bump hashes on various files
...
Upgrade jquery
I made this commit cause my JS debugging CDN support added a header and
wanted we bump cache everywhere
2014-05-15 15:52:09 +10:00
Sam
f34862d195
FEATURE: get window.onerror working for CDNs
2014-05-15 12:59:26 +10:00
Neil Lalonde
63a1f87806
Use topic excerpts and category desriptions in meta description tags for crawlers
2014-05-07 11:21:37 -04:00
Jeff Atwood
f13e9e58e8
change "Log In" to "Sign In"
...
because
http://www.designcult.org/2011/08/why-do-we-call-in-logging-in.html
2014-04-30 01:10:32 -07:00
Robin Ward
f2e17af130
Add staff and new user colours to embedded discourse. Also link
...
usernames to profiles.
2014-03-20 16:04:50 -04:00
Robin Ward
e8ee490778
Extract breaking up a string into a separate file, include it in
...
embedded view.
2014-03-20 14:34:51 -04:00
Robin Ward
375719edfb
FIX: Links in the iframe should all be target=_blank
2014-03-20 10:57:36 -04:00
Vikhyat Korrapati
5c1fe30cd6
Include opengraph/oembed tags in the crawler layout.
2014-03-16 19:30:26 +05:30
Robin Ward
d95887c57d
CHANGE: We now include the `_escaped_fragment_` support by default, but
...
only if the crawler check fails. It is a fallback for non-google search
engines that support the Ajax crawling API.
2014-02-20 17:02:26 -05:00
Robin Ward
c4b5455c21
REFACTOR: Rename `GooglebotDetection` to `CrawlerDetection` because we
...
will likely whitelist more crawlers in the future.
2014-02-20 16:07:02 -05:00
Neil Lalonde
7f6b2e5563
Show login button on 404 page. Add routes to show login and signup modals when page/route loads. If logged in and showing 404 page, load ember app.
2014-02-18 17:18:53 -05:00
Neil Lalonde
d298e2e065
Detect Googlebot from user agent and use a different layout that doesn't load javascript
2014-02-15 17:54:34 -05:00
Neil Lalonde
9c4dc9a966
Block browser-update.js in robots.txt. Move noscript block above everything else in application layout.
2014-02-14 15:33:00 -05:00
Eric Carlson
bc033283c6
Google Universal Analytics
2014-01-25 17:42:25 -07:00
Neil Lalonde
7cbcd72ea4
Add site_description to meta description tag for real
2014-01-09 16:42:22 -05:00
Robin Ward
c762e3c4b1
Support for scrolling to another post in the iframe; more complicated than you'd think!
2014-01-03 14:45:59 -05:00
Régis Hanol
abf910d210
FEATURE: allow for custom HTML inside the <head> tags
2014-01-02 16:22:04 +01: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
Sam
b67a3a85dd
split js with vendor/application
...
avoid one huge js bundle and instead break it down
to application and vendor (3rd party) our app changes
a lot, vendor changes a lot less
2013-12-23 10:32:07 +11:00
Neil Lalonde
1f0a59584b
Revert "Re-apply with fixes: Stop using user agent to detect mobile devices. Use a media query and yepnope to load the appropriate css and customizations."
2013-12-18 14:47:22 -05:00
Neil Lalonde
58e5d532c5
Revert "Got rid of buggy yepnope spaghetti, however mobile detection really should be driven from the server."
2013-12-18 14:47:12 -05:00
Régis Hanol
4c6b535cc0
move arbitrary html content out of noscript and into the preloadstore
2013-12-17 18:25:27 +01:00
Sam
8ccab6d140
Got rid of buggy yepnope spaghetti, however mobile detection really should be driven from the server.
2013-12-13 15:17:05 +11:00
Neil Lalonde
5171a23a9c
Re-apply with fixes: Stop using user agent to detect mobile devices. Use a media query and yepnope to load the appropriate css and customizations.
2013-12-11 11:19:22 -05:00
Neil Lalonde
2596f7dec2
Revert "Stop using user agent to detect mobile devices. Use a media query and yepnope to load the appropriate css and customizations."
2013-12-09 16:28:11 -05:00
Neil Lalonde
ca5d4d5e54
Stop using user agent to detect mobile devices. Use a media query and yepnope to load the appropriate css and customizations.
2013-12-09 13:28:42 -05:00
Régis Hanol
dabdcf59c4
allow for arbitrary HTML at the top/bottom of every pages
2013-11-18 17:13:24 +01:00
Régis Hanol
07cbf8f4e3
do not customize the admin section
2013-11-14 16:41:16 +01:00
Régis Hanol
e9f9d22482
add query parameter to temporarily disable customization
2013-11-12 18:14:22 +01:00
Régis Hanol
934ede7d91
shorter message for untranslated strings
2013-11-04 11:52:12 +01:00
Neil Lalonde
13f17b2a5c
Add ability to customize css and header for mobile
2013-09-16 12:28:02 -04:00
Neil Lalonde
5071d71294
Don't show custom header on mobile view
2013-09-12 18:46:35 -04:00
Neil Lalonde
b73f4e9864
Put category description in meta description tag
2013-09-09 11:38:09 -04:00
Neil Lalonde
45d7765936
Merge branch 'master' into mobile
2013-09-05 15:54:22 -04:00
Sam
c9321cae7f
Our JS includes belong at the top of the file, that way we can start
...
downloading and parsing them earlier and not wait for the rest of the page
Our noscript stuff belongs at the bottom, we should not hold off any js work
while noscript is downloading
2013-09-05 10:41:11 +10:00
Neil Lalonde
9efa29e688
Detect whether to use mobile view. Session var mobile_view can override automatic detection.
2013-08-27 14:57:42 -04:00
Neil Lalonde
89265c3a8b
FIX: BAD CSRF on login. Don't check csrf in the fake login form since it doesn't actually do anything.
2013-08-27 11:31:14 -04:00
Sam
ac905d4a08
defer persona init till after people launch the login dialog
2013-08-26 17:51:41 +10:00
Neil Lalonde
594cb50f18
Use the correct locale in html lang attribute
2013-07-04 14:32:16 -04:00
Robin Ward
ce0a7739cf
FIX: Invalid Unicode in preload store JSON
2013-07-02 20:43:52 -04:00
Chris Hunt
268a5debbf
Add 'apple touch icon url' site setting
2013-06-06 14:43:05 -07:00
Jeff Atwood
2982c23265
add quotes around favicon URL
2013-05-31 12:18:41 -07:00
Sam
42494b5bb1
we can't trust CSRF for anon the way it is designed.
...
The page they have loaded may be cached we need a different way of delivering the CSRF potentially
2013-05-03 16:43:11 +10:00
Sam
e5c5c0bbb3
no_js to use site customisations
2013-05-01 11:04:47 +10:00
Sam
d0a8cfa6c0
more persona supression
2013-04-19 11:07:15 +10:00
Sam
850b042cab
introduce rack:cache as a default, so users don't need to configure apache or nginx
...
under rack cache we are able to serve 620reqs a second per thin (on my machine) before it 12 (on my machine)
reorganised so mini profilers can be cleanly disabled from config file
added caching for categories index
move production.rb to production.sample.rb
2013-04-11 16:24:21 +10:00
Sam
f99d40b419
push login form to the bottom so its not hovering on the top in lynx or google summary
2013-04-03 07:44:35 +11:00
Sam
9c9087b99c
less bloated browser update
...
no need for respond.js (ie8 compat stuff)
preload store should not be naming stuff get, its reserved
bad js generates for preload store
use browse happy, cause its better
2013-04-02 17:44:48 +11:00
Sam
133ea0b8a0
no idea where this loading message came from but we don't seem to need it
2013-04-02 15:20:59 +11:00
Kuba Brecka
db56d2bc97
let <title> contain site name instead of just "Discourse"
2013-03-30 23:16:59 +01:00
Wojciech Kocjan
14689a4f13
Logging in with username and password does not work in prefixed discourse
2013-03-19 17:15:14 +01:00
Régis Hanol
125ac9a204
provide a better title on topic pages for crawlers
2013-03-18 19:24:27 +01:00
Régis Hanol
89815878d9
fixes the random login on dev
2013-03-16 00:26:32 +01:00
Neil Lalonde
58004d44cd
Support for browser password managers, but doesn't quite work in IE
2013-03-13 13:55:33 -04:00
Robin Ward
d848a9fedc
Add opengraph and twitter card support to topics
2013-03-07 17:46:43 -05:00
Robin Ward
f7c9efb101
Merge branch 'persona-integration' of git://github.com/callahad/discourse
2013-03-04 11:51:26 -05:00
tms
f46c819956
Don't double-up on #main-outlet when static content is rendered through Ember
2013-03-03 10:47:40 -05:00
Dan Callahan
7c87359e02
Make Persona configurable
2013-03-01 14:00:56 -06:00
Dan Callahan
ef8cf2f734
Add basic Persona functionality
...
1. No session integration yet, so automatic login/logout events are suppressed.
2. Popup blockers must be disabled: submits form to target="_blank"
2013-03-01 14:00:56 -06: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
Neil Lalonde
b9ccf4d09c
Show discourse version in an html comment
2013-02-26 13:47:07 -05:00
Gosha Arinich
cafc75b238
remove trailing whitespaces ❤️
2013-02-26 07:31:35 +03:00
Sam Saffron
0e48e1c346
clean up git version stuff a tad
2013-02-18 18:01:36 +11:00
Sam Saffron
d9a84ddd01
chuck git version at the bottom of the page
2013-02-18 17:39:54 +11:00
Robin Ward
036e795e10
Merge pull request #152 from xdite/canonical-url
...
use canonical-url plugin to make view more clean
2013-02-15 07:18:41 -08:00
Robin Ward
8efc4daa5a
Fix zooming on mobile.
2013-02-13 16:17:29 -05:00
xdite
cab4d95eaf
use canonical-url plugin to make view more clean
2013-02-13 19:04:43 +08:00
Jamie Hoyle
07f30d445a
Some mobile optimisations - mainly for the header./merged all mobile changes into mobile.css.scss
2013-02-11 22:59:13 +00:00
xdite
4175341b26
move stylesheet
2013-02-11 19:41:23 +08:00
xdite
c3fd34985d
move discourse javascript setting
2013-02-11 19:37:23 +08:00
xdite
c95629a781
move google analytics to partial
2013-02-11 19:34:14 +08:00
Sam Saffron
85973ce6b0
added delete all posts button
...
wired up the ability to enable all themes
2013-02-07 18:11:56 +11:00
Robin Ward
21b5628528
Initial release of Discourse
2013-02-05 14:16:51 -05:00