14bae6d52d
Make email_excerpt
method take an optional post
param ( #7570 )
...
The spoiler alert plugin replaces spoiler text found in email excerpts with posts URL, which means it needs to have a reference to the post it's processing.
This change makes `email_excerpt` accepts an optional post param, which calls `PrettyText.format_for_email` which then triggers the `reduce_cooked` event that the plugin subscribes to.
2019-05-20 10:04:23 +02:00
30990006a9
DEV: enable frozen string literal on all files
...
This reduces chances of errors where consumers of strings mutate inputs
and reduces memory usage of the app.
Test suite passes now, but there may be some stuff left, so we will run
a few sites on a branch prior to merging
2019-05-13 09:31:32 +08:00
b0c8fdd7da
FIX: Properly support defaults for upload site settings.
2019-03-13 16:36:57 +08:00
2eefe6d5d6
FIX: Use CDN for logos and icons. ( #6698 )
2018-12-19 10:20:48 +01:00
27c793a192
FIX: `UserNotificationsHelper#logo_url' to work with S3 based uploads.
...
https://meta.discourse.org/t/digest-logo-not-working/103255
2018-12-06 09:39:08 +08:00
44391ee8ab
FEATURE: Upload Site Settings. ( #6573 )
2018-11-14 15:03:02 +08:00
de92913bf4
FIX: store the topic links using the cooked upload url
2018-08-14 12:23:32 +02:00
9d9332d8c9
FIX: allow user quotes in HTML digest emails
2018-05-13 18:23:17 +02:00
fcd20a70d7
FIX: allow lists in summary email post excerpts
2018-04-11 14:16:08 -04:00
ab2f3e43eb
FIX: excerpts in summary email are too short when there are images or links
2018-03-12 18:12:09 -04:00
34a0e79bec
FIX: use digest_min_excerpt_length site setting in summary emails
2018-03-08 23:35:10 -05:00
5012d46cbd
Add rubocop to our build. ( #5004 )
2017-07-28 10:20:09 +09:00
a65281d5ea
FIX: better support for featured link topics in summary emails
2016-12-19 17:05:49 -05:00
3256620d5d
FIX: some blank topics and posts in summary email because they're images
2016-12-19 16:21:31 -05:00
4e0958051e
FIX: don't try to show svg's in summary email
2016-11-28 14:35:59 -05:00
7d37c2b919
FIX: digest email has broken images in popular topics section
2016-11-21 12:33:48 -05:00
45f368126f
FEATURE: New summary/digest email design
2016-11-18 14:03:42 -05:00
115c454002
FIX: if prioritizing names in ux choose name over username in email
2016-11-14 11:09:24 +11:00
2f68be2c5c
FEATURE: custom html and text can be added to summary emails
2016-08-23 16:06:02 -04:00
7a6bc3f1d7
Apply notification styles to mailing list email manually ( #4283 )
...
* Apply notification styles to mailing list email manually
* Fix failing spec
2016-06-21 20:42:30 +05:30
c012b18601
FIX: sending email wasn't working anymore when a plugin used 'reduce_cooked' (cc @gdpelican)
2016-05-21 20:13:00 +02:00
feffe23cc5
FEATURE: More granular mailing list mode ( #4068 )
...
* Rearrange frontend to account for mailing list mode
* Allow update of user preference for mailing list frequency
* Add mailing list frequency estimate
* Simplify frequency estimate; disable activity summary for mailing list mode
* Remove combined updates
* Add specs for enqueue mailing list mode job
* Write mailing list method for mailer
* Fix linting error
* Account for stale topics
* Add translations for default mailing list setting
* One query for mailing list topics
* Fix failing spec
* WIP
* Flesh out html template
* First pass at text-based mailing list summary
* Add user avatar
* Properly format posts for mailing list
* Move make_all_links_absolute into Email::Styles
* Apply first_seen_at to user
* Send mailing list email summary hourly based on first_seen_at
* Branch and test cleanup
* Use existing mailing list mode estimate
* Fix failing specs
2016-05-21 15:17:54 +02:00
e91379916b
FIX: Provide the ability to reduce
cooked content
...
This allows us to strip polls from the group posts page.
2016-04-13 13:25:18 -04:00
f9d1a2554d
FIX: do not allow SVG image as digest logo
2016-04-02 17:27:06 +05:30
6763a9923a
Added tertiary color to digest
...
Added hash to color in helper
Added anchor_color to topic and site name links
Styled the unsubscribe link
2016-02-22 07:02:21 -06:00
2562b61448
normalize_name
is a better name for this.
2015-04-24 10:35:18 -04:00
388f51eed7
FIX: Bring email username logic in line with front end
2015-04-22 16:26:57 -04:00
5c7d6e0a3c
FIX: Don't display names on emails if display_name_on_posts
is false
...
Note that `enable_names` was always respected.
2015-04-22 16:15:23 -04:00
d6fa248093
UX: Update 404 page category badge to use centralized helper and style
2015-01-28 14:56:38 -05:00
d06d050eb7
UX: When oneboxing a topic, use the stripe category badge
2015-01-23 15:12:42 -05:00
350554e198
UX: Change category badge style to use stripes
2015-01-20 14:56:06 -05:00
72efcc8e86
UX: Make category link text black in digest emails
2014-12-09 11:28:45 -05:00
003d32babe
decrease size of cat color stripe in digests a bit
2014-11-29 03:58:44 -08:00
37a3e956b6
UX: Link categories in digest emails
2014-11-28 13:44:40 -05:00
bfe2021859
UX: In digest email lists of topics, show striped version of category
...
badge
2014-11-07 17:00:09 -05:00
a5616146eb
FIX: remove meta data from lightbox in both excerpt (html & text)
2014-11-05 20:37:00 +01:00
f959bf7d93
make sure categories don't wrap in email digests
2014-10-23 10:53:31 -07:00
eafde36228
FIX: If a site has no logo, don't show a broken image in the digest.
2014-07-21 14:18:32 -04:00
223bbc3da3
FEATURE: include topic context in topic invite
2014-07-09 21:23:20 +05:30
64faee0935
Break down new topic counts by category if a digest contains many.
2014-04-17 16:42:40 -04:00
2341118570
Add categories to the first topics in the email digest
2014-04-17 15:22:19 -04:00
87682f7539
FIX: Don't include image meta data when embedded in an email
2014-04-17 12:32:51 -04:00
84e608079b
Ability to customize the logo in digest emails
2014-03-18 15:56:17 -04:00
23066edbe1
FIX: undefined method error for some digests.
2014-02-21 16:25:19 -05:00
d3b2f87f8e
In email digests, try to get longer excerpts if we don't have enough
...
characters from the first paragraph.
2014-02-13 16:11:01 -05:00
1609950781
FIX: Missing module name
2014-01-27 15:11:51 -05:00
659b95178a
FIX: Removed Rails.logger
. Sigh.
2014-01-22 17:09:57 -05:00
2d15c82b26
FIX: Digest styling for oneboxes
2014-01-22 15:30:44 -05:00
39c6e48aa5
FEATURE: Return only the first paragraph of text in HTML digests, unless
...
there is only one post. In that case return everything. Remove
dependency on 'html_truncator'
2014-01-22 12:37:37 -05:00
3da2285ef1
FIX: Missing styles in HTML digest emails
2013-11-29 12:21:36 -05:00