docbrown/app/services/articles
Ben Halpern ec7adf56fe
Allow admins to set cover image height configs (#19936)
* Initial basic work

* Bulk of related work, including find/replace on the inputs

* Adjust some tests

* Adjust some specs

* Fix a few more tests

* Clean up tests

* Adjust tests

* Test fiddle

* Adjust crop back to be a param

* Update tests

* Set proper defaults

* Fix some styling

* Adjust enrichment logic and tests

* Adjust form JS

* Update test snapshot

* Clean up formatting

* Fix spec name

* Adjust some css and defaults

* Adjust translation for image provider options

* Switch from fill to fill-down

* Proper fallback image

* Fix tests

* Update app/services/images/optimizer.rb

Co-authored-by: Mac Siri <mac@forem.com>

---------

Co-authored-by: Mac Siri <mac@forem.com>
2023-08-21 13:25:16 -04:00
..
feeds Quick fix to pagination in /stories/feed (#19423) 2023-05-09 09:52:03 -03:00
attributes.rb Made published_at immutable after an article has been published once (#18384) 2022-08-30 11:32:06 +03:00
builder.rb Routine rubocop fixes (#19254) 2023-03-24 14:37:44 +03:00
creator.rb Refresh audience segment for 'active' user (#19470) 2023-05-19 14:16:07 +02:00
destroyer.rb Rubocop fixes (#15892) 2021-12-28 09:11:41 -06:00
enrich_image_attributes.rb Allow admins to set cover image height configs (#19936) 2023-08-21 13:25:16 -04:00
get_user_stickies.rb Optimize GetUserStickies (#13541) 2021-04-27 12:47:49 -04:00
page_view_updater.rb Ensuring we don't track views of author or unpublished (#16143) 2022-01-18 11:23:18 -05:00
suggest.rb Extracting a not_authored_by scope (#16123) 2022-01-17 15:20:49 -05:00
suggest_stickies.rb Remove featured number usage from articles (#18510) 2022-09-28 08:59:03 -06:00
unpublish.rb Unpublish post service class + V1 API endpoint (#18031) 2022-07-08 09:08:55 -06:00
updater.rb Refresh audience segment for 'active' user (#19470) 2023-05-19 14:16:07 +02:00