docbrown/spec
Daniel Uber 43adc9f1fb
cross posted articles showing <time> tag (#15224)
* Maybe this is what we need to do?

* Undo change to keyword

Use the on_html translation in the view, but pass 'on' as a keyword to
the template.

* remove unused translation

Since we only want to use views.articles.crossposted.on.html (and this is only used in the
article show template) - remove the unused 'on' key from the
translations file.

* Add a spec

Tested that this fails in main and passes on the branch

* Check that the original publication date is shown in the users local

And that it's not a <time> tag presented as text

* Correct local date selection error

If time zone was UTC (i.e. offset from utc was 0) the check for
positive? was false, I meant "non-negative" (positive or zero). Invert
the test.
2021-10-29 12:10:53 -05:00
..
black_box Remove <provider>_created_at columns (#13264) 2021-04-29 10:24:16 -05:00
components/admin/users Refactor Admin Member Detail view - Tools section (#14283) 2021-08-17 18:55:53 +02:00
controllers/concerns 15 minute fix: Add default argument to JsonApiSortParam (#13369) 2021-04-14 10:32:07 +07:00
decorators Theming changes part 1: Rename default and night_theme (#15176) 2021-10-28 07:55:46 -04:00
factories Theming changes part 1: Rename default and night_theme (#15176) 2021-10-28 07:55:46 -04:00
fixtures Remove duplicated work display from header / profile work (#14210) 2021-07-30 12:28:40 +02:00
generator Add service generator (#11265) 2020-11-10 09:09:35 +07:00
helpers Markdown editor toolbar (#14876) 2021-10-19 09:22:54 +01:00
initializers Clean up feed-related code (#14707) 2021-09-17 09:23:32 +07:00
lib Forem passport (cont) (#14759) 2021-09-30 06:47:45 -06:00
liquid_tags Rubocop fixes (#14868) 2021-09-30 13:22:09 -04:00
mailers Created the Forem creator confirmation email template (#14659) 2021-10-21 14:56:09 -04:00
models Theming changes part 1: Rename default and night_theme (#15176) 2021-10-28 07:55:46 -04:00
policies Fix organization's admin unable to view an article's stats (#14767) 2021-09-21 16:05:34 +01:00
queries Adds validations to avoid creating unnecessary PNs (#14621) 2021-08-31 15:00:30 -06:00
refinements Update data exporter to handle admin send (#10274) 2020-10-26 18:00:56 -04:00
requests Only enable user invitations page when SMTP is enabled (#15219) 2021-10-29 17:41:30 +02:00
routing ✂✂✂ Remove shop_url from SiteConfig ✂✂✂ (#13773) 2021-05-18 09:03:05 +07:00
serializers/search Cleanup search classes and serializers (#13645) 2021-05-05 09:20:59 -04:00
services [Small Win] Assign 'trusted' role when user updated to Admin or SuperAdmin (#15215) 2021-10-28 15:28:25 -04:00
support Asynchronously detect image aspect ratios and apply proper attributes (#15170) 2021-10-26 13:39:25 -07:00
system Only enable user invitations page when SMTP is enabled (#15219) 2021-10-29 17:41:30 +02:00
tasks Create Default Nav Links In New Forem (RFC #237) (#14345) 2021-08-02 12:52:36 -04:00
uploaders ✂✂✂ Remove events (#15062) 2021-10-15 09:31:08 -04:00
view_objects [15 min fix] Fallback to the image URL if Cloudinary/Imgproxy are not configured (#13767) 2021-05-19 15:03:20 +02:00
views cross posted articles showing <time> tag (#15224) 2021-10-29 12:10:53 -05:00
workers Asynchronously detect image aspect ratios and apply proper attributes (#15170) 2021-10-26 13:39:25 -07:00
i18n_spec.rb Misc i18n fixes (#14852) 2021-10-05 13:22:33 +02:00
rails_helper.rb Add feature flag for Connect (#14644) 2021-09-13 10:45:56 -04:00
spec_helper.rb [15-minute fix] Don't allow markdown to use CSS classes (#13282) 2021-04-07 11:40:39 -04:00