docbrown/app
Mike Coutermarsh 4c9959f0ff Social Cards Part 2 (#2188)
* Social Cards Part 2

This is a follow up to part 1: https://github.com/thepracticaldev/dev.to/pull/2090.

This PR updates the og:image URLs to use the new social_preview.png urls
added in Part 1.

So that the already generated/cached images do not need to be recreated,
this sets a MIGRATION_DATETIME. Any object that has been updated after
that date will generate a new image

Objects from before that date will not. They will use the new url.

* Fix weird change made by rubocop autocorrect

* Handle organizations + users

* Run CI

* Use time with zone to be explicit about timezone

* Simplify branching in user_social_image_url method

* Fix param alignment + bump migration date
2019-05-01 11:07:25 -04:00
..
assets Add hover to article save button (#2597) 2019-05-01 10:29:09 -04:00
black_box BlackBox specs #2524 (#2542) 2019-04-25 10:19:11 -04:00
controllers Fix buffer_updates conditional in /manage (#2636) 2019-05-01 10:17:35 -04:00
dashboards Add Twitch to Profile Links (#2557) 2019-04-25 16:14:28 -04:00
decorators Change format of the user languages_settings #2369 (#2496) 2019-04-30 17:01:19 -04:00
errors Add API Analytics Endpoints (#2293) 2019-04-04 10:52:45 -04:00
facades/dashboard Use published scope for articles (#2374) 2019-04-11 13:18:26 -04:00
fields Enables Rails cops (#2186) 2019-03-25 09:25:55 -04:00
helpers Social Cards Part 2 (#2188) 2019-05-01 11:07:25 -04:00
javascript Fix some listing/credit bugs (#2584) 2019-04-26 19:01:35 -04:00
jobs Embed Twitch Live Streaming (#2591) 2019-04-29 18:11:53 -04:00
labor Add proper filtering for inappropriate tags in listings (#2611) 2019-04-29 09:21:42 -04:00
lib Fix non-english characters delete on tags (#2579) 2019-04-29 17:33:14 -04:00
liquid_tags Allow embed single file from Gist tag (#2620) 2019-05-01 10:47:52 -04:00
mailers Add mailers specs for tracking (#2523) 2019-04-23 12:38:11 -04:00
models Social Cards Part 2 (#2188) 2019-05-01 11:07:25 -04:00
observers Enable Layout/AlignParameters (#2340) 2019-04-08 18:47:34 -04:00
policies Add page for users to "manage" their posts after publication (distribution, etc.) (#2627) 2019-05-01 09:00:09 -04:00
sanitizers Add support for mark element in markdown (#2089) 2019-03-18 17:10:58 -04:00
services Change format of the user languages_settings #2369 (#2496) 2019-04-30 17:01:19 -04:00
uploaders Rubocop Style cops enabled (#2056) 2019-03-15 18:33:54 -04:00
views Social Cards Part 2 (#2188) 2019-05-01 11:07:25 -04:00