Commit Graph

5568 Commits

Author SHA1 Message Date
Sam
a2d5a7dbd8 auto close is messed up in category edit, remove for now 2013-12-02 16:13:32 +11:00
Sam
ed76c1f72a message bus and vestal versions update 2013-12-02 08:19:34 +11:00
Sam
8d859a9f68 break cache of fonts 2013-12-02 08:19:34 +11:00
Sam
051fb5bb5b cors for fonts, so firefox stays happy 2013-12-01 15:18:59 +11:00
Benjamin Brent
761da7d380 Fix email_preview AJAX call to use Discourse.ajax 2013-12-01 13:30:41 +11:00
Sam
f5d905c215 Merge pull request #1707 from chancancode/as_json_fix
The Rails JSON encoder API requires `as_json` to take an optional arg
2013-11-30 03:40:21 -08:00
Sam
7ece395e5a Merge pull request #1708 from chancancode/dont_abuse_as_json
Don't abuse as_json, it's not meant for consumption
2013-11-30 03:39:27 -08:00
Sam
4698ad8876 Merge pull request #1706 from awesomerobot/master
added KBD style back
2013-11-30 03:34:37 -08:00
Godfrey Chan
1a2114d87d Don't abuse as_json, it's not meant for consumption
The `as_json` API is a hook for JSON encoders to call, not meant for
consumption like this, and the result is not guarenteed to be stable
across Rails versions.

There might be other cases like this that we should revisit later, but
this one in particular is causing a test to fail on Rails master.
2013-11-29 21:58:09 -08:00
Godfrey Chan
6bbea9de0b The Rails JSON encoder API requires as_json to take an optional arg 2013-11-29 21:43:44 -08:00
Kris Aubuchon
a9060fac70 added KBD style back 2013-11-29 22:44:00 -05:00
Alban Diguer
70bd5832a9 Performance: reduce max length post model for testing purpose 2013-11-30 15:13:41 +13:00
Robin Ward
7a60eacca9 FIX: Broken unsubscribe link in HTML email 2013-11-29 17:13:16 -05:00
Wojciech Zawistowski
66de19790e cleans up site map integration tests 2013-11-29 21:01:46 +01:00
Robin Ward
769223014c FIX: Allow link redirects inside oneboxed posts 2013-11-29 14:29:49 -05:00
Régis Hanol
298b54c0e7 add download link in lightbox 2013-11-29 20:03:39 +01:00
Robin Ward
008151e90d FIX: Too much white space between posts on mobile 2013-11-29 13:06:52 -05:00
Robin Ward
781a8876d3 Show post count in digest emails. Sort by score 2013-11-29 13:00:25 -05:00
Régis Hanol
78b2c5acff use CDN_URL environement variable in production 2013-11-29 18:35:29 +01:00
Robin Ward
3da2285ef1 FIX: Missing styles in HTML digest emails 2013-11-29 12:21:36 -05:00
Régis Hanol
9b6538832d whitelist google.com/maps iframes 2013-11-29 18:08:53 +01:00
Robin Ward
8c8645f158 FIX: Code and Emoticon formatting in HTML emails. 2013-11-28 17:21:14 -05:00
Neil Lalonde
4ec0543362 FIX: emails with embedded posts should always use absolute URLs 2013-11-28 15:57:21 -05:00
Neil Lalonde
a13c7c26f9 Put that autoclose regexp back. Firefox, take it easy. 2013-11-28 14:49:11 -05:00
Neil Lalonde
09e3767998 Add base_url to link in pending_users_reminder email 2013-11-28 14:49:11 -05:00
Robin Ward
f8acffb73c Merge pull request #1692 from kasperpeulen/dollarfix
Allow dollar sign for inline dialects
2013-11-28 11:24:04 -08:00
Robin Ward
a86d2b8f03 Merge pull request #1700 from jamiew/en-typo
Fix "remotes images" typo
2013-11-28 11:23:28 -08:00
Robin Ward
5fd87ae45f Merge pull request #1701 from velesin/sitemap_refactoring
refactors site map
2013-11-28 11:21:36 -08:00
Robin Ward
f1bce7cc42 Uncomment the loading logic :) 2013-11-28 14:18:32 -05:00
Robin Ward
924a88b5c0 Different Slack ratio on Touch devices, show loading indicator 2013-11-28 14:18:13 -05:00
Régis Hanol
47e1f1d1fe add classic google maps onebox 2013-11-28 19:23:11 +01:00
Robin Ward
488e9ca9dd On mobile, keep topic map collapsed by default. Also, when collapsed don't show as many
data turds.
2013-11-28 11:45:16 -05:00
Neil Lalonde
1cc72d564f Add specs for topic create with auto_close_time. Just ignore auto_close_time from users who are not authorized to use it instead of raising an error. 2013-11-28 11:06:04 -05:00
Neil Lalonde
617a605ca2 NO_QUNIT=1 disables qunit in autospec 2013-11-28 11:04:53 -05:00
Sam
e1db744d6a URGENT: blank string in auto close time was causing stuff to blow up - non mods could not create topics 2013-11-28 12:41:04 +11:00
Sam
0e9c34ff12 memory profiling script 2013-11-28 12:40:10 +11:00
Sam
79087f4e6f fix exception in logs 2013-11-28 12:39:59 +11:00
Kasper Peulen
af2d854be5 Also added the caret symbol, for completeness. In this way all ascii symbols are allowed. 2013-11-28 00:00:02 +01:00
Régis Hanol
52160179f8 add a tombstone for extra safety 2013-11-27 22:05:11 +01:00
Régis Hanol
8a62381268 migration script 2013-11-27 22:05:06 +01:00
Wojciech Zawistowski
8eef779d38 refactors site map 2013-11-27 21:58:36 +01:00
Robin Ward
09155a9969 FIX: Upward scrolling jumps 2013-11-27 15:58:13 -05:00
Robin Ward
a2b70f64ca FIX: Hidden posts would screw up the docking of the post progress 2013-11-27 14:59:14 -05:00
Neil Lalonde
13b31e9833 FIX: broke all the things on Firefox 2013-11-27 14:52:29 -05:00
Neil Lalonde
c91d1624cf Oops, add browser-update to config.assets.precompile 2013-11-27 14:41:35 -05:00
Neil Lalonde
1793b6840a Oops, remove console.log 2013-11-27 14:16:28 -05:00
Neil Lalonde
746e115f99 Fix path of browser-update 2013-11-27 13:56:22 -05:00
Robin Ward
40f86829f7 Post Cloaking:
* We now use a new custom view, {{cloaked-collection}} to display posts in a topic.

* Posts are removed and inserted (cloaked/uncloaked) into the DOM dynamically based on whether they
  are visible in the current browser viewport.

* There's been a lot of refactoring to ensure the relationship between the post views and the topic
  controller is sane.

* Lots of fixes involving jumping to a post, including a new LockOn component to that tries to stay
  focused on an element even if stuff is loading before it in the DOM that would normally push it
  down.
2013-11-27 12:53:32 -05:00
Neil Lalonde
8a9bef944f Fix browser-update.js so it doesn't depend on jQuery 2013-11-27 12:26:27 -05:00
Neil Lalonde
3442d3adb2 Add left margin to ol and ul 2013-11-27 10:55:54 -05:00