docbrown/app/services/articles
Jeremy Friesen f5243ea844
Normalizing feed page size (#15326)
This commit removes a handful of magic numbers and instead relies on a
constant.

This has a small impact in that the Basic feed will now return 50
articles instead of 25.  However, normalizing the feed pagination window
size helps reduce some oddities in reporting.

In addition, this might be something we consider giving administrators
the ability to set (with default options, because we shouldn't allow
page sizes of 10_000 as that's a massive memory hog).

Related to #14709
2021-11-16 11:12:01 -05:00
..
feeds Normalizing feed page size (#15326) 2021-11-16 11:12:01 -05:00
attributes.rb Articles update refactoring (#12913) 2021-03-10 13:08:36 +03:00
builder.rb Use new UserSetting and UserNotificationSettings and Ignore Related User Table Fields (#14121) 2021-07-08 09:31:34 -05:00
creator.rb Expand @-mention functionality to posts (#13367) 2021-05-12 07:33:33 -07:00
destroyer.rb [deploy] Add dependent clauses to Article and fix Comment validation (#9990) 2020-08-28 18:24:28 +02:00
enrich_image_attributes.rb Asynchronously detect image aspect ratios and apply proper attributes (#15170) 2021-10-26 13:39:25 -07:00
get_user_stickies.rb Optimize GetUserStickies (#13541) 2021-04-27 12:47:49 -04:00
suggest.rb Optimize Articles::Suggest query (#13548) 2021-04-27 14:30:06 -04:00
suggest_stickies.rb Optimize column selection for articles belonging to "any" given tag (#12420) 2021-01-25 17:34:10 +01:00
updater.rb Remove any preexisting mention notifications when article is unpublished (#13749) 2021-05-12 11:48:12 -07:00