Commit Graph

96 Commits

Author SHA1 Message Date
Sam 383f0290a4 FEATURE: higher slack ratio out of the box
I upped the slack ratio for a few reasons

1. We render ucloaked anyway on first render,
   so cloaking really is not saving much
2. On mobile you don't get JS events so you need
   a lot more slack to minimize white screens
3. Vast majority of memory is used by object model,
   if we want to tame it we need to remove posts from stream

ember cloaking now supports high slack ratios without going into a tail spin
2014-06-10 15:07:37 +10:00
Régis Hanol 8262279380 update ember-cloaking to support bottom fixed element 2014-06-06 18:59:07 +02:00
Sam f8c095873c BUGFIX: cloaking code 2014-06-02 10:58:46 +10:00
Sam a487b49a2d PERF: optimise check 2014-06-02 10:55:54 +10:00
Sam 97eba92a2e BUGFIX: user screen.width cause it will be more correct
BUGFIX: fix deprecation and regression in cloaking
PERF: cache progressWidth super aggresively to avoid reflows
2014-06-02 10:30:16 +10:00
Sam 13f4afe00f BUGFIX: leaving stray views in Ember during navigation 2014-06-02 09:56:06 +10:00
Sam ab20d0aa10 HACK: work around https://github.com/mishoo/UglifyJS2/issues/328 2014-05-29 11:54:23 +10:00
Robin Ward 2164a25258 Merge pull request #2333 from rhacker/select2
feature: use select2 instead of chosen
2014-05-28 11:42:40 -04: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
nXqd 0b6ebdac8a feature: use select2 instead of chosen 2014-05-14 08:01:08 +00:00
Robin Ward 773cf60224 FIX: Missing close paren 2014-05-08 16:04:48 -04:00
Robin Ward a4e30e8f93 Proof of concept: Load controller via ES6 module in Discourse 2014-05-08 11:35:33 -04:00
Robin Ward fd153623bb Revert "Proof of concept: Load controller via ES6 module in Discourse"
This reverts commit 0327f469c1.
2014-05-05 13:58:57 -04:00
Robin Ward 0327f469c1 Proof of concept: Load controller via ES6 module in Discourse 2014-05-05 13:23:45 -04:00
Robin Ward 91679c61d5 FIX: Markdown formatting error 2014-04-23 16:46:42 -04:00
Robin Ward 73cc722ed5 Update Ember.js, Handlebars and jQuery to latest 2014-04-17 10:45:06 -04:00
Robin Ward 4da76aab96 FIX: Markdown javascript error with certain formatting. 2014-04-09 10:46:24 -04:00
Wojciech Zawistowski c0a11adbc5 Moves Markdown Editor from vendor to discourse. 2014-03-31 21:56:19 +02:00
Wojciech Zawistowski 297c25ca1f Synced editor scrolling PoC. 2014-03-31 20:57:45 +02:00
Robin Ward 7baa8ea0af FIX: Upwards scrolling. Updates ember-cloaking 2014-03-31 14:32:51 -04:00
Robin Ward 2842952a76 FIX: Update ember-cloaking. Should fix some vanishing posts 2014-03-21 14:30:03 -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 38f2c778fb Update ember-cloaking for latest fixes/tweaks 2014-03-17 12:01:17 -04:00
Robin Ward 1b1c213c61 Remove ember-renderspeed JS file 2014-03-11 16:15:41 -04:00
Sam d60c7966eb PERF: remove jQuery.UI monkey patch 2014-03-10 09:50:23 +11:00
Régis Hanol f25bcc5067 couple of bugfixes identified while importing from VB 2014-03-07 10:44:04 +01:00
Régis Hanol 386b1589f2 Bump the JS test suite timeout to 2 minutes
So that it can run properly on my 3-year old MBA
2014-03-05 10:45:57 +01:00
Robin Ward 47357136dc BUGFIX: Fix issues if the DOM element is destroyed while the interval
is ongoing (in particular this was weird for Firefox)
2014-02-28 15:35:45 -05:00
Robin Ward 61ff04d68b Upgrade ember-cloaking to not trigger scroll events when the back button
is hit.
2014-02-28 15:35:45 -05:00
Régis Hanol 68a935c36b FEATURE: upload backups 2014-02-22 01:41:01 +01:00
Robin Ward 7716d940a0 BUGFIX: Allow links to images with absolute URLs as well as parens 2014-02-20 15:24:03 -05:00
Robin Ward a555dc9f5e FIX: Incorrect post number following a link. Updated ember-cloaking. 2014-02-13 14:08:12 -05:00
Robert Jackson 7acef17a35 Update Ember for CVE-2014-0046. 2014-02-09 11:10:14 -05:00
Neil Lalonde a72e7324ba Append browser-update div last in the dom to prevent googlebots from seeing it first 2014-02-06 10:48:15 -05:00
Neil Lalonde f1b4c26e8e Add Mediapartners and AdsBot to list of user agents for Googlebot in browser-update.js.erb 2014-02-04 16:04:51 -05:00
Régis Hanol 632cd44c2f Fixed some JSHint warnings 2014-02-03 11:33:14 +01:00
Régis Hanol 659589e563 BUGFIX: make_list should only look for lists 2014-02-03 11:31:02 +01:00
Chris Hunt 4e9cf2f26e Bump favcount.js to v1.5.0
We've already made the CORS changes in our copy of favcount, but we
should bump the version to match upstream.
2014-01-23 09:29:28 -08:00
Robin Ward 7b20079d85 FIX: Allow Favcount to be used with CORS. I've submitted this upstream
too:

https://github.com/chrishunt/favcount/pull/8
2014-01-23 11:07:10 -05:00
Régis Hanol 7a82b65386 BUGFIX: restore Mousetrap's bindGlobal plugin
cleared deprecated warnings in admin_customize_view
2014-01-22 16:52:09 +01:00
Régis Hanol 9313f27a89 update mousetrap to latest 2014-01-22 10:17:37 +01:00
Robin Ward d867fb62e4 FIX: Upstream markdown-js fix for quotes inside lists. 2014-01-21 14:34:53 -05:00
Robin Ward 0a8432645d FIX: Updated Markdown-js to include my latest FIX from upstream:
https://github.com/evilstreak/markdown-js/pull/164
2014-01-21 11:05:17 -05:00
Robin Ward 4981525047 REFACTOR: Fixes poor class hierarchy for listing topics
- Upgrades Ember to latest
- Fixes a bunch of bugs with page titles and missing "active" states
2014-01-18 19:26:24 +01:00
Robin Ward 55397361be Update ember-cloaking to remove dependency on I18n 2014-01-17 16:56:24 -05:00
Robin Ward d16b4487d5 Applied markdown-js fixes from upstream 2014-01-10 13:04:15 -05:00
Chris Hunt e5c02a8320 Update favcount.js to v1.4.0 2014-01-08 15:14:07 -08:00
Robin Ward ef2f202c06 Minor update to ember-renderspeed 2014-01-02 16:41:08 -05:00
Robin Ward 8a1593bfd2 Upgrade JSHint to master + my fix for `tokens.hasOwnProperty` 2013-12-30 14:19:00 -05:00
Robin Ward 7e984e369a Upgrade JSHint. Fixes linting issues. 2013-12-30 12:42:05 -05:00