Commit Graph

11835 Commits

Author SHA1 Message Date
Sam d77f218122 Don't try to publish messages on broken posts 2014-11-10 21:24:54 +11:00
Sam 2920cfc319 fix excerpt code 2014-11-10 21:08:01 +11:00
Godfrey Chan 5cc9f5bff5 Add RAILS_MASTER to the travis build matrix 2014-11-10 01:05:47 -08:00
Godfrey Chan b4679075de Upgrade to the latest AMS 0.8.x (unreleased)
The current released version (0.8.2) does not work with Rails master at all. In
fact, it was quite surprising to me that this is the only test that broke...

See https://github.com/rails-api/active_model_serializers/pull/655
2014-11-10 01:05:47 -08:00
Godfrey Chan 4d188ca5b0 Added back the `last_use` timestamp to the `AbstractAdapter`
This was removed in 9e457a8654
2014-11-10 01:05:47 -08:00
Godfrey Chan bddaf8193a HAX: check the `message` object, not the `MessageDelivery` object
See 669bf73 for background. It's probably better to rewrite these test without
using the internal `NullMail` class anyway.
2014-11-10 01:05:47 -08:00
Godfrey Chan 5d7aca3cc6 Use *_url instead of *_path to avoid a deprecation warning 2014-11-10 01:05:47 -08:00
Godfrey Chan f749961d97 `Sprockets::Context` takes a `Pathname` for its third argument
As far as I can tell, sprockets has always expected the third argument to be a
`Pathname` object. Not sure what actually changed and why it was working before,
but it now throws a `NoMethodError` for `dirname` on `String` in
`Context#resolve`

    # , not sure why this was working before
2014-11-10 01:05:47 -08:00
Godfrey Chan 568ed3beaa HAX: force the lazy `MessageDelivery` object to create the mailer
Starting from Rails 4.2, calling MyMailer.some_method no longer result in an
immediate call to MyMailer#some_method. Instead, a "lazy proxy" is returned
(this is changed to support #deliver_later). As a quick hack to fix the test,
calling #message (or anything, really) would force the Mailer object to be
created and the method invoked.
2014-11-10 01:05:46 -08:00
Godfrey Chan b1a0cd417d Avoid a deprecation warning by poly-filling #deliver_now and #deliver_now 2014-11-10 01:05:46 -08:00
Godfrey Chan 7351917ee4 Boolean -> String quoting has changed on Rails master
CustomField.create(name: 'zomg', value: true).reload.value # => 't' on Rails 4.1, '1' on 4.2

rails/rails@42be84ba
2014-11-10 01:05:46 -08:00
Godfrey Chan f955ec6018 Use Rails 4.2+ API for typecasting on master
Note: this is still considered a private (internal) API on Rails side and is
subject to change in the future.
2014-11-10 01:05:46 -08:00
Godfrey Chan 84d4307b1c actionpack-action_caching was released a long time ago 2014-11-10 01:05:46 -08:00
Godfrey Chan 903b505394 Rebuild Gemfile_master.lock based on the lastest Gemfile.lock 2014-11-10 01:05:46 -08:00
Jeff Atwood a90176550c let's try no table border on email digests 2014-11-10 00:54:59 -08:00
Sam 283720bb30 Merge pull request #2959 from awesomerobot/master
fixing very bizarre Safari 8.0 bug on title input
2014-11-10 11:37:29 +11:00
Kris Aubuchon 00bb72f52d fixing very bizaare Safari 8.0 bug on title input 2014-11-09 19:26:22 -05:00
Jeff Atwood 435cd37021 copyedits; email image auto for > 250 width/height 2014-11-09 01:27:09 -08:00
Arpit Jalan 0ea1ad4785 add user title in exported csv 2014-11-08 20:07:22 +05:30
Erick Guan 968bcd5acb Add zh_CN translation for emoji plugin 2014-11-08 20:17:51 +08:00
Jeff Atwood e669fed8ea increase auto email img width threshold to 50px 2014-11-07 14:34:15 -08:00
Robin Ward 0777efe74d FIX: 1000 was a crazy threshold for showing categories at the bottom of
digests
2014-11-07 17:16:52 -05:00
Robin Ward bfe2021859 UX: In digest email lists of topics, show striped version of category
badge
2014-11-07 17:00:09 -05:00
Robin Ward 872cfff49b FIX: Shouldn't overwrite styles in emails that we explicitly set, like category
colors.
2014-11-07 16:42:57 -05:00
Robin Ward 5defaca197 FIX: Don't use auto sizes for very small images (emoticons) 2014-11-07 16:09:16 -05:00
Robin Ward 8199c3b440 Don't add the `g` flag 2014-11-07 12:09:45 -05:00
Robin Ward 0044a99000 Don't raise an error for global regexps; warn the plugin author instead. 2014-11-07 12:04:44 -05:00
Neil Lalonde 60578afefd Merge pull request #2888 from lidel/emoji-pl-locale
Add pl_PL locale for emoji plugin
2014-11-07 11:57:26 -05:00
Robin Ward 564e7a988c Merge pull request #2848 from riking/whitelist-api
Improve Markdown.whiteListTag, code dialect
2014-11-07 11:33:37 -05:00
Robin Ward d6ff1630a8 Merge pull request #2898 from kellec/remove_focus_link_href
Remove href attribute from tab link to prevent duplicate event on enter.
2014-11-07 11:01:06 -05:00
Robin Ward 6f7cf8599f Merge pull request #2949 from fantasticfears/master
css tweak - expanding some room for zh_CN
2014-11-07 10:55:55 -05:00
Robin Ward 40900e59d1 Merge pull request #2955 from riking/include_raw_2
FEATURE: ?include_raw parameter for /t/id/posts.json
2014-11-07 10:50:15 -05:00
riking d7a4e39e1d FEATURE: ?include_raw parameter for /t/id/posts.json
include_raw is not added for the wordpress view because it uses the
BasicPostSerializer, and is not a one-line change.

This is the only use of the TopicViewPostsSerializer class, and the
previous change covered the only use of the TopicViewSerializer class.
No other locations include the PostStreamSerializerMixin. Therefore,
this feature is most likely complete.
2014-11-07 07:28:07 -08:00
Régis Hanol 0380b42d25 Merge pull request #2954 from mcwumbly/rspec-deprecations
update specs to remove deprecation warnings
2014-11-07 15:08:45 +01:00
David McClure efc4109902 update specs to remove deprecation warnings 2014-11-07 06:05:44 -08:00
Régis Hanol 2b8ab560e9 Merge pull request #2953 from mcwumbly/add-perf-to-release-notes
Include perf improvements in release notes
2014-11-07 15:02:15 +01:00
David McClure 844b92bf12 Include perf improvements in release notes
Add ability to specify 'from' and 'to' tags in rake task
2014-11-07 04:01:44 -08:00
Josh Kalderimis e1eea7e73d oops, missed some -- 2014-11-07 17:05:24 +13:00
Josh Kalderimis 19b36dea43 faster and more stable bundle installing 2014-11-07 17:03:16 +13:00
Sam 067f552cd5 Merge pull request #2951 from joshk/patch-1
some possible improvements to build times
2014-11-07 14:43:05 +11:00
Josh Kalderimis bca5c2192a looks like db:migrate is required 2014-11-07 14:10:17 +13:00
Josh Kalderimis a687c32cc7 make the env vars global 2014-11-07 14:04:32 +13:00
Josh Kalderimis 970417e328 some possible improvements to build times
- use our new infrastructure based on LXC and EC2
- enable caching for bundler
- use schema:load (best practice)
- use --deployment (best practice when a Gemfile.lock is around)
2014-11-07 14:03:08 +13:00
Jeff Atwood 9f6a0cb126 minor style tweaks to file upload modal 2014-11-06 14:17:52 -08:00
Robin Ward 76f68e23e8 FIX: Strip the word "SECURITY" from the output too 2014-11-06 16:05:13 -05:00
Robin Ward 9e55215c71 FIX: Include security in release notes 2014-11-06 16:02:26 -05:00
Robin Ward 1333378f39 FIX: Don't include reverts in release notes 2014-11-06 16:02:26 -05:00
Neil Lalonde 8959ed9031 Version bump to v1.2.0.beta1 2014-11-06 15:50:44 -05:00
Neil Lalonde 1565bd5e67 Update translations 2014-11-06 15:16:58 -05:00
Régis Hanol 684eb4045b Merge pull request #2950 from awesomerobot/master
some cleanup for new usercards on dark themes
2014-11-06 18:10:26 +01:00