Lucas Hiago
a86371e772
Remove TouchJob and do it Inline ( #5410 )
2020-01-09 17:22:09 -05:00
rhymes
9c05e618db
Improve speed of model tests by around 50/60 seconds ( #5016 )
2019-12-09 16:33:48 -05:00
rhymes
816c062ea0
Upgrade Rubocop related gems and fix new violations ( #3581 ) [ci skip]
2019-07-30 14:29:05 -04:00
Anna Buianova
e1968e815b
Extract new reaction notification to ActiveJob ( #2122 )
2019-03-25 13:54:21 -04:00
Tim Lange
3494264404
Enabled rubocop/lint ( #2130 )
...
* WIP: Enabled rubocop/lint
* FIX: Fixed failing test
* FIX: Small change to return
* FIX: Changed indent
2019-03-21 10:53:44 -04:00
Mac Siri
56ec3e55a2
Refactor Reaction ( #1320 )
...
* Refactor Reaction's spec
* Create singleton class in Reaction
* Refactor Reaction
2018-12-13 14:24:33 -05:00
Mac Siri
72eb2fc7b6
Revert "Extract background jobs from Reaction ( #1312 )" [ci skip]
...
This reverts commit cd54bece92 .
2018-12-12 17:10:42 -05:00
Mac Siri
cd54bece92
Extract background jobs from Reaction ( #1312 )
...
* Refactor Reaction
* Update reaction_spec
* Extract update_reactable to job class
* Create ApplicationJob
* Rename Engagement::UpdateReactableJob to ReactionCascadeJob
* Rename ReactionCascadeJob to Reaction::UpdateRecordsJob
* Refactor Reaction::UpdateRecordsJob
* Remove unused method
* Change module to class
2018-12-12 16:41:31 -05:00
rhymes
96d01b20a2
Use allow/allowed instead of whitelist ( #1296 )
...
* Use allow/allowed instead of whitelist
* Remove duplication in comment
2018-12-10 13:16:16 -05:00
Andy Zhao
a1010201f2
Notifications part 2 ( #1156 )
...
* Remove stream and add new notification views
* Actually remove Stream
* Move followers query to async method
* Remove unused tests and fix query
* Try using without delay instead
* Add without delay and escape HTML
* Make all tests pending for now
2018-11-19 18:14:24 -05:00
Ben Halpern
a1be99ebf0
Add reaction confirm/invalidate workflow for admins ( #1134 )
2018-11-16 18:53:36 -05:00
Mac Siri
5287d4a03b
Create DelayedJob config and misc DX changes ( #979 )
...
* Change from #after_save to #after_create
* Update .babelrc
* Update cloud_name for test
* Update SlackBot's RssReader channel
* Update helpful-hints.md
* Create .gitdocs.json
* Remove serve-docs script
* Update docs/helpful-hints.md
* Update approval
* Revert "Change from #after_save to #after_create"
This reverts commit 548ee0d2c0d56a1aa67316468f4106ac9f437662.
* Create delayed_job.rb
* Bump ancestry gem to 3.0.3
* Fix broken spec
* Remove manual Delayed::Job config in test
* Update spec_helper.rb
* Fix broken specs
* Mute SlackBot in test
* Remove weekly-dgiest.yml
* Create PodcastEpisodeDecorator
2018-10-26 13:15:14 -04:00
rhymes
e588fa7ece
Code cleanups ( #659 )
...
* Initial automatic cleanup with rubocop
* Fix syntax error introduced by rubocop
* Cleanup seeds file
* Cleanup lib folder
* Exclude bin folder because it contains auto generated files
* Make Rubocop a little bit more chatty
* Block length should not include comments in the count
* Cleanup config folder
* Cleanup specs
* Updated Rubocop version and generated a todo file
* Fix broken ArticlesApi spec
* Fix tests
* Restored rubocop pre-commit hook
2018-08-07 11:00:13 -04:00
Ben Halpern
1127b2e61b
Add protection against reactions to unpublished articles ( #473 )
2018-06-21 15:44:04 -04:00
Mac Siri
301c6080e3
Initial commit
2018-02-28 16:11:08 -05:00