* Add cloudflare image option * Add tests for cloudflare * Update app/services/images/optimizer.rb Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Avoid nested prefixes in cloudflare * Update spec/services/images/optimizer_spec.rb Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Update spec/services/images/optimizer_spec.rb Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Update spec/services/images/optimizer_spec.rb Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Update app/services/images/optimizer.rb Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Update spec/services/images/optimizer_spec.rb Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Rebase * Refactor optimizer and finalize tests * Skips scheduled posts in featured post count (#19563) * Add image title for comment (#19586) * Add image title for comment * Break out boolean logic * Add organizations to onboarding follow suggestions (#19564) * Prepare: relocate user suggestions * Prepare: relocate users suggestion service -> query * Organization query for orgs with above-average scores * Rubocop * Limit to last 3 weeks * Tweak recent scope, limit to 5 orgs * Onboarding routes are also always JSON * Divide by zero makes NaN means * Add Orgs suggester into suggestions * Rubocop * select distinct orgs * Fix for weird edge-case with bad local data * Include type_identifier in JSON payload * Update follows API to allow org_ids as input * Update onboarding front-end to distinguish users/orgs * Fix: i18n issues * Fix: type_identifier in json output * Fix: distinct is weird * Fix: JS linter * Continue tweaking front-end * Audit import order * Cleanup @todo note * Try renaming controller action * Move Article average calculation to postgres and fix math * Refactor decorated type_identifier * Refactor SuggestProminent, return more orgs, fix spec math * Use FeatureFlag for organization suggestions * This might fix the jest * Sort organization members and tag moderators by badge count (#19582) * show tag moderators in descending badge count order * show organization users in descending badge count order * specs & docs for find_each_respecting_scope * Update spec/services/images/optimizer_spec.rb Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Update spec/services/images/optimizer_spec.rb Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Update spec/services/images/optimizer_spec.rb Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Update spec/services/images/optimizer_spec.rb Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Update spec/services/images/optimizer_spec.rb Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Update app/services/images/optimizer.rb Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Remove cloudflare typo * Adjust cloudflare prefix line in tests * Clean up test logic * Update spec/services/images/optimizer_spec.rb Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Update app/services/images/optimizer.rb Co-authored-by: Mac Siri <mac@forem.com> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Joshua Wehner <joshua@forem.com> Co-authored-by: Dhurba baral <dhurba87@gmail.com> Co-authored-by: PJ <pj@forem.com> Co-authored-by: Mac Siri <mac@forem.com> |
||
|---|---|---|
| .. | ||
| assets | ||
| controllers | ||
| decorators | ||
| errors | ||
| forms | ||
| helpers | ||
| javascript | ||
| lib | ||
| liquid_tags | ||
| mailers | ||
| models | ||
| policies | ||
| queries | ||
| refinements | ||
| sanitizers | ||
| serializers | ||
| services | ||
| uploaders | ||
| validators | ||
| view_objects | ||
| views | ||
| workers | ||