Jeremy Friesen
3860f5c7b5
Extracting Article.featured scope ( #15612 )
...
In addition adding commentary on the oddly named
`Articles::Feeds::FindFeaturedStory` class given that it never filters
on "featured".
2021-12-01 12:16:32 -05:00
Daniel Uber
dc551e429c
cleanup: replace reaction.reactable with reactable since it's local ( #15017 )
...
We assign reactable earlier in this method and won't reach this line
unless reactable exists.
2021-10-12 09:02:12 -05:00
rhymes
e5226b9951
Upgrade Stimulus to 3.0 ( #14869 )
...
* Upgrade Stimulus to 3.0
* Remove unused variable
* Bump postcss from 8.3.8 to 8.3.9 (#14956 )
Bumps [postcss](https://github.com/postcss/postcss ) from 8.3.8 to 8.3.9.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.3.8...8.3.9 )
---
updated-dependencies:
- dependency-name: postcss
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-05 20:00:37 +02:00
Ben Halpern
5cc09767c5
Add conditional autovomits to user name and improve user score recalc ( #14858 )
...
* Add conditional autovomits to user name and improve user score recalc
* Remove puts
* Add missing ||
* Fix tests
* Update app/views/users/show.html.erb
Co-authored-by: Michael Kohl <citizen428@forem.com>
* Update app/models/user.rb
Co-authored-by: Michael Kohl <citizen428@forem.com>
* Add in-line score calc principles
Co-authored-by: Michael Kohl <citizen428@forem.com>
2021-10-05 10:11:41 -04:00
dependabot[bot]
816855ce3b
Bump rubocop from 1.17.0 to 1.18.0 ( #14107 )
...
* Bump rubocop from 1.17.0 to 1.18.0
Bumps [rubocop](https://github.com/rubocop/rubocop ) from 1.17.0 to 1.18.0.
- [Release notes](https://github.com/rubocop/rubocop/releases )
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop/rubocop/compare/v1.17.0...v1.18.0 )
---
updated-dependencies:
- dependency-name: rubocop
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* yarn install
* Fix violations
* Restore the default aligned setting
* Trigger Travis CI
* Escape HTML
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: rhymes <github@rhymes.dev>
2021-07-01 13:51:49 +02:00
Alex
d109b6824e
Refactor cache purging ( #12811 )
...
* Refactor caching
* Bring back old bust class
* Refactor with PR feedback
* Remove useless return values
2021-03-02 10:09:05 -05:00
Michael Kohl
a432ab7b3f
Spike: Add ThrottledCall utility class ( #12779 )
...
* Add ThrottledCall utility class
* Rename class level interface method
* Update worker to use ThrottledCall
* Add ThrottledCall spec to worker
2021-03-01 08:51:04 +07:00
Alex
f70af66258
Update bust to EdgeCache::Bust ( #12052 )
...
* Update bust to EdgeCache::Bust
* Update specs
* Fix more specs
* Fix more specs :)
2020-12-29 09:53:15 +01:00
Ben Halpern
d759ac4627
Add implicit points to follows to improve feed relevancy (in all algorithms) ( #11513 )
...
* Fix menu dropdown disable issue
* Initial base work
* Add real algorithm
* Add working object and test
* Fix schema
* Fix schema
* Fix schema
* Finalize
* Add update script and explict_points
* Proper implicit/explicit points
* Fix tests
* Add docs
* Fix tests
* Fix data update script test
* Fix data update script test
* Fix typo
* Improve efficiency and add more logic
* Changed to find_each
* Change to bulk insert
* Update tests and refactor logic
* Various improvements
* Fix typo
* Fix tests
* Remove extra line
* Fix tests
* Fix test typo
* Cache site-wide tag names
2020-11-25 16:09:51 -05:00
rhymes
5a2cae4fbb
Rubocop: enable and fix new Rails cops ( #9537 )
...
* Enable new Rails/* cops and use autocorrect on them
* Fixed Rails/PluckInWhere leftovers
* Fix Rails/DefaultScope
* Enable and fix Rails/PluckId
* Fix manual mistake with forcing autocorrection on Rails/PluckId
* Apply PR feedback to remove Rails/PluckId inline disables
* Apply PR feedback to get rid of Rails/PluckInWhere inline
2020-07-29 11:14:19 +02:00
Michael Kohl
a4dadfb728
Standardize ActiveRecord order clauses ( #9395 )
...
* Change simple order clauses
* Change nested order clauses
2020-07-20 10:00:51 -04:00
rhymes
696c712883
Rubocop: routine fixes ( #9345 )
...
* rubocop -A
* Fix Style/HashLikeCase
* regenerated todo file
2020-07-16 18:18:13 +02:00
rhymes
5b62811c98
[deploy] Rubocop: fix violations of Layout/LineLength ( #9197 )
2020-07-08 08:36:36 -05:00
Michael Kohl
8ab7a3fb6c
API: Remove reactions onboarding ( #6529 )
...
* Move reactions onboarding to internal API
* Don't add reactions onboarding to internal API
* Remove obsolete worker
2020-03-10 10:25:16 -04:00
Lucas Hiago
f68bd8bc4f
Change UpdateReactableJob to UpdateReactableWorker and move to sidekiq ( #5551 ) [deploy]
2020-02-13 10:13:11 -05:00
Lucas Hiago
d0b4ba2648
Change BustReactableCacheJob to BustReactableCacheWorker and move to sidekiq ( #5582 ) [deploy]
2020-02-12 11:50:40 -05:00
Lucas Hiago
58439d3652
Change BustHomepageCacheJob to BustHomepageCacheWorker and move to sidekiq ( #5581 )
2020-01-24 12:59:34 -05:00
Lucas Hiago
fb5cb7005c
Change CreateJob to CreateWorker and move to sidekiq ( #5559 )
...
* Create new CreateWorker
* Create new spec for CreateWorker
* Change CreateJob to CreateWorker and move to sidekiq
* Update worker
* Update priority of Reactions Create Worker
* Remove leading spaces from spec
2020-01-20 11:29:13 -05:00