Mac Siri
842e6880b8
Routine rubocop fix on /spec ( #19217 )
...
* Softrun rubocop
* Hardrun rubocop (-A)
* Change a rubocop rule
* Add missing cops
* Undo & redo rubocop -A
2023-03-21 09:55:26 -04:00
Ben Halpern
df4568d275
Bust article on initial reactions to fix cached HTML issue ( #19149 )
...
* Bust article on initial reactions to fix cached HTML issue
* Fix whitespace issue
* Move cache-busting logic to worker
* Update app/workers/reactions/bust_reactable_cache_worker.rb
Co-authored-by: Joshua Wehner <joshua@forem.com>
---------
Co-authored-by: Joshua Wehner <joshua@forem.com>
2023-02-20 16:31:38 -05: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
Michael Kohl
667437ebf2
[15-minute fix] Add ThrottledCall to DisplayAdEventsController ( #12924 )
...
* Add ThrottledCall to DisplayAdEventsController
* Update old spec
2021-03-09 09:06:11 +07: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
5b62811c98
[deploy] Rubocop: fix violations of Layout/LineLength ( #9197 )
2020-07-08 08:36:36 -05:00
rhymes
a2893056b6
Routine rubocop fixes ( #7356 )
...
* rubocop -a
* Fix stuff
* rubocop -a again
* autocorrect
2020-04-17 15:48:39 +02: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