docbrown/app/views/users
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
..
_account.html.erb Last general linting sweep (#1947) 2019-03-02 07:47:14 -08:00
_billing.html.erb Classified Listings (#2545) 2019-04-24 16:17:01 -04:00
_comments_section.html.erb Some night theme code, other style adjustments, and extracted app name into ENV var (#2289) 2019-04-02 13:10:28 -04:00
_integrations.html.erb Make a couple changes to Twitch MVP before push (#2622) 2019-04-29 18:53:09 -04:00
_language_settings.html.erb Change format of the user languages_settings #2369 (#2496) 2019-04-30 17:01:19 -04:00
_main_feed.html.erb Fix linting issues in app/views/users (#1908) 2019-02-26 13:38:49 -05:00
_membership.html.erb Last general linting sweep (#1947) 2019-03-02 07:47:14 -08:00
_mentorship.html.erb Last general linting sweep (#1947) 2019-03-02 07:47:14 -08:00
_meta.html.erb Social Cards Part 2 (#2188) 2019-05-01 11:07:25 -04:00
_misc.html.erb Change format of the user languages_settings #2369 (#2496) 2019-04-30 17:01:19 -04:00
_notifications.html.erb Manage tag and community mod lists in Mailchimp (#2362) 2019-04-10 14:45:06 -04:00
_org_admin.html.erb Add SRI to script tags where applicable (#2153) 2019-03-22 14:14:59 -04:00
_org_member.html.erb Fix settings/mentorship SyntaxError (#1913) 2019-02-26 17:04:03 -05:00
_org_non_member.html.erb Add SRI to script tags where applicable (#2153) 2019-03-22 14:14:59 -04:00
_organization.html.erb Fix linting issues in app/views/users (#1908) 2019-02-26 13:38:49 -05:00
_profile.html.erb Make a couple changes to Twitch MVP before push (#2622) 2019-04-29 18:53:09 -04:00
_profile_header.html.erb Add Twitch to Profile Links (#2557) 2019-04-25 16:14:28 -04:00
_publishing_from_rss.html.erb Last general linting sweep (#1947) 2019-03-02 07:47:14 -08:00
_sidebar.html.erb Use published scope for articles (#2374) 2019-04-11 13:18:26 -04:00
_sidebar_additional.html.erb Fix linting issues in app/views/users (#1908) 2019-02-26 13:38:49 -05:00
_switch_organizations.html.erb Fix linting issues in app/views/users (#1908) 2019-02-26 13:38:49 -05:00
edit.html.erb Add OrganizationMembership model (#2471) 2019-04-22 14:08:02 -04:00
show.html.erb Embed Twitch Live Streaming (#2591) 2019-04-29 18:11:53 -04:00
signout_confirm.html.erb Fix linting issues in app/views/users (#1908) 2019-02-26 13:38:49 -05:00