Commit graph

429 commits

Author SHA1 Message Date
rhymes
ca8ea0874d
Upgrade Stripe to version 5 (#6181)
* Upgrade stripe and stripe-ruby-mock

* Replace .all with .list

* Replace .delete with .detach_source and add tests

* Fix credits spec

* Refactor StripeActiveCardsController to use Payments::Customer and fix specs

* Use the right notice to show feedback to the user
2020-02-20 14:19:52 -05:00
rhymes
bc385ae6d5
Switch decorators to Rails builtin decorations - take 2 (#6125) [deploy]
* Revert "Revert "[deploy] Switch decorators from Draper to Rails builtin decorations (#6040)" (#6122) [deploy]"

This reverts commit d438349550.

* Enable serialization for decorators

* Refactor and test default home feed serialization

* Improve spec

* Applied @vaidehijoshi suggestions

* Applied @citizen428 suggestions

* Make CodeClimate happy

* Cleanup stories_index_spec.rb

* Refactor UserDecorator#cached_followed_tags to loop less
2020-02-19 15:30:53 -05:00
rhymes
77725ccbdc
Upgrade gems (#6171)
* Bump to brakeman 4.8.0

* Bump to carrierwave 2.1.0

* Bump to dry-struct 1.3.0

* Bump to google-api-client 0.37.0

* Bump to nokogiri 1.10.8

* Bump to rubyzip 2.2.0

* Bump to shoulda-matchers 4.3.0

* Bump to sidekiq 6.0.5

* Lock to simplecov 0.17.1
2020-02-19 09:43:38 -05:00
rhymes
a56eb8fab0
Enable CORS on public API endpoints (#6116) [deploy]
* Enable CORS for public API

* Add specs for Articles API

* Mention CORS in the API docs
2020-02-18 10:47:07 -05:00
dependabot-preview[bot]
102dd5c4f2
Bump rouge from 3.15.0 to 3.16.0 (#6100) 2020-02-17 12:05:25 -05:00
dependabot-preview[bot]
492e31126e
Bump counter_culture from 2.2.4 to 2.3.0 (#6106) 2020-02-17 12:02:02 -05:00
rhymes
d438349550
Revert "[deploy] Switch decorators from Draper to Rails builtin decorations (#6040)" (#6122) [deploy]
This reverts commit cc53b55a4a.
2020-02-17 11:28:32 -05:00
dependabot-preview[bot]
b126326728
Bump rubocop-rspec from 1.37.1 to 1.38.1 (#6107) 2020-02-17 10:37:42 -05:00
dependabot-preview[bot]
2ae8d71241
Bump dogstatsd-ruby from 4.6.0 to 4.7.0 (#6102) 2020-02-17 10:13:17 -05:00
dependabot-preview[bot]
3b913f8490
Bump inline_svg from 1.6.0 to 1.7.0 (#6104) 2020-02-17 09:41:40 -05:00
rhymes
cc53b55a4a
[deploy] Switch decorators from Draper to Rails builtin decorations (#6040)
* Convert SponsorshipDecorator to Rails decorator

* Remove empty ReactionDecorator

* Rename SponsorshipDecorator#level_color_hex to level_background_color

* Convert CommentDecorator to Rails decorator

* Add specs and fix bugs for NotificationDecorator

* Convert NotificationDecorator to Rails decorator

* Add specs and fix bugs for OrganizationDecorator

* Convert OrganizationDecorator to Rails decorator

* Add specs to PodcastEpisodeDecorator and fix bugs

* Convert PodcastEpisodeDecorator to a Rails decorator

* Add missing specs for ArticleDecorator and fix bugs

* Convert ArticleDecorator to Rails decorator

* Add missing specs to UserDecorator and fix issues

* Convert UserDecorator to Rails decorator

* Add .decorate_collection method

* Add decorator for AR relations and remove Draper

* Rename BaseDecorator back to ApplicationDecorator

* Rename .decorate_ back to .decorate

* Restore decorate_collection (WTH)

* Add decorated?

* Fix bugs and failing specs

* Decoration should always be explicit
2020-02-17 09:32:32 -05:00
dependabot-preview[bot]
361dcff49a
Bump test-prof from 0.10.2 to 0.11.3 (#6105) 2020-02-17 09:23:31 -05:00
Alex
b81c2e8df3
Remove delayed_job (#6071) [deploy]
* Update adapter to sidekiq

* Remove delayed_jobs routes

* Remove delayd_jobs initializer and references

* Remove delayed_job_spec

* Remove bin/delayed_job

* Remove app/jobs/

* Migration to drop delayed_jobs table

* Remove delayed_job_web & delayed_job_active_record

* Update docs

* Remove reference to delayed_job dashboard

* Remove delayed_job settings from initializers

* Add delayed_job_admin back to reserved words list
2020-02-14 10:00:26 -08:00
rhymes
30554b84f0
Enable Gemfile to be installable from wherever (#6012) 2020-02-11 17:25:04 -05:00
dependabot-preview[bot]
b9b6281ec3
Bump draper from 3.1.0 to 4.0.0 (#5987) 2020-02-10 18:33:05 -05:00
dependabot-preview[bot]
2139765f0e
Bump ulid from 1.1.0 to 1.2.0 (#5996) 2020-02-10 13:49:20 -05:00
dependabot-preview[bot]
644c974dc7
Bump jbuilder from 2.9.1 to 2.10.0 (#5989) 2020-02-10 13:46:30 -05:00
dependabot-preview[bot]
358663c9a4
Bump octokit from 4.15.0 to 4.16.0 (#5985) 2020-02-10 13:43:21 -05:00
dependabot-preview[bot]
d090ebf026
Bump vcr from 5.0.0 to 5.1.0 (#5995)
Bumps [vcr](https://github.com/vcr/vcr) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/vcr/vcr/releases)
- [Changelog](https://github.com/vcr/vcr/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vcr/vcr/compare/v5.0.0...v5.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-10 09:37:34 -05:00
dependabot-preview[bot]
5aa6e2664c
Bump doorkeeper from 5.2.3 to 5.3.0 (#5854) [deploy]
Bumps [doorkeeper](https://github.com/doorkeeper-gem/doorkeeper) from 5.2.3 to 5.3.0.
- [Release notes](https://github.com/doorkeeper-gem/doorkeeper/releases)
- [Changelog](https://github.com/doorkeeper-gem/doorkeeper/blob/master/CHANGELOG.md)
- [Commits](https://github.com/doorkeeper-gem/doorkeeper/compare/v5.2.3...v.5.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-06 14:31:59 -05:00
rhymes
71e1c8d3e6
Upgrade gemoji to support disability emojis (#5842) 2020-02-05 17:32:56 -05:00
Michael Kohl
424c141539
Remove Foreman gem (#5821) 2020-02-05 17:01:04 -05:00
dependabot-preview[bot]
2f7ca83ac8
Bump kaminari from 1.1.1 to 1.2.0 (#5860) 2020-02-04 14:06:40 -05:00
dependabot-preview[bot]
7f7ff8c8b9
Bump pry-byebug from 3.7.0 to 3.8.0 (#5855) 2020-02-03 10:23:26 -05:00
Stefan Wrobel
60a28f1b72
Read Gemfile ruby from .ruby-version (#5780) 2020-02-03 09:48:19 -05:00
dependabot-preview[bot]
068b5b52e6
Bump parallel_tests from 2.30.1 to 2.31.0 (#5861)
Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 2.30.1 to 2.31.0.
- [Release notes](https://github.com/grosser/parallel_tests/releases)
- [Commits](https://github.com/grosser/parallel_tests/compare/v2.30.1...v2.31.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-03 09:35:17 -05:00
Molly Struve
0409722899
Introduce Elasticsearch to DEV env (#5762) [deploy] 2020-02-03 09:12:05 -05:00
rhymes
1d701c744a Remove actionpack-action_caching gem (#5787) 2020-01-28 12:39:57 -05:00
dependabot-preview[bot]
10a98bc80f Bump ruby-prof from 1.1.0 to 1.2.0 (#5754)
Bumps [ruby-prof](https://github.com/ruby-prof/ruby-prof) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/ruby-prof/ruby-prof/releases)
- [Changelog](https://github.com/ruby-prof/ruby-prof/blob/master/CHANGES)
- [Commits](https://github.com/ruby-prof/ruby-prof/compare/1.1.0...1.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-27 12:49:32 -05:00
dependabot-preview[bot]
5538c7eb8a Bump aws-sdk-lambda from 1.34.0 to 1.35.0 (#5751) [deploy] 2020-01-27 10:02:00 -05:00
dependabot-preview[bot]
1da3846a53 Bump strong_migrations from 0.5.1 to 0.6.0 (#5752) 2020-01-27 10:01:28 -05:00
dependabot-preview[bot]
ae9c416eec Bump ddtrace from 0.31.0 to 0.32.0 (#5753) 2020-01-27 10:00:33 -05:00
dependabot-preview[bot]
1ccc0cd302 Bump rubyzip from 2.0.0 to 2.1.0 (#5757) 2020-01-27 09:59:42 -05:00
dependabot-preview[bot]
8bf2174f79 Bump capybara from 3.30.0 to 3.31.0 (#5759) 2020-01-27 09:53:01 -05:00
rhymes
09cf6719eb Use honeybadger.js from npm (#5643)
rails-assets.org is often down, and apparently has been down intermittently since yesterday.

In addition to this the only thing the gem does is literally to add `honeybadger.js` to the assets path:

```ruby
gem_path.join('app/assets').each_child.to_a
```

Hence we can ditch the gem and use the library directly.
2020-01-22 08:22:51 -05:00
dependabot-preview[bot]
50a77de291 Bump rouge from 3.14.0 to 3.15.0 (#5604)
Bumps [rouge](https://github.com/rouge-ruby/rouge) from 3.14.0 to 3.15.0.
- [Release notes](https://github.com/rouge-ruby/rouge/releases)
- [Changelog](https://github.com/rouge-ruby/rouge/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rouge-ruby/rouge/compare/v3.14.0...v3.15.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 13:24:25 -05:00
dependabot-preview[bot]
fe50cd7de8 Bump dogstatsd-ruby from 4.5.0 to 4.6.0 (#5599) [deploy]
Bumps [dogstatsd-ruby](https://github.com/DataDog/dogstatsd-ruby) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/DataDog/dogstatsd-ruby/releases)
- [Changelog](https://github.com/DataDog/dogstatsd-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/DataDog/dogstatsd-ruby/compare/v4.5.0...v4.6.0)
2020-01-20 09:34:23 -05:00
dependabot-preview[bot]
7551cfbd45 Bump webmock from 3.7.6 to 3.8.0 (#5605)
Bumps [webmock](https://github.com/bblimke/webmock) from 3.7.6 to 3.8.0.
- [Release notes](https://github.com/bblimke/webmock/releases)
- [Changelog](https://github.com/bblimke/webmock/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bblimke/webmock/compare/v3.7.6...v3.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 08:26:35 -05:00
dependabot-preview[bot]
9ea9952749 Bump derailed_benchmarks from 1.5.0 to 1.6.0 (#5602)
Bumps [derailed_benchmarks](https://github.com/schneems/derailed_benchmarks) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/schneems/derailed_benchmarks/releases)
- [Changelog](https://github.com/schneems/derailed_benchmarks/blob/master/CHANGELOG.md)
- [Commits](https://github.com/schneems/derailed_benchmarks/compare/v1.5.0...v1.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 08:17:38 -05:00
Michael Kohl
9ef1ae512b Add strong_migrations gem (#5522)
* Add strong_migrations gem

* Incorporate PR feedback

* Move gem to group :development, :test
2020-01-17 09:45:44 -05:00
Jacob Herrington
8db4808d2e Internal Reports: Searching and sorting with Ransack (#5447) [deploy]
* Add gem Ransack 2.3.0

* Add sorting and search to internal/reports

The UI here should probably be revisited sooner or later, I feel like
the vomit reactions might even need to be moved to their own view.

* Add system spec for internal reports search

* Remove filter for report_type
2020-01-16 15:02:09 -05:00
dependabot-preview[bot]
be39f8ad82 Bump reverse_markdown from 1.3.0 to 1.4.0 (#5494) 2020-01-15 18:04:06 -05:00
dependabot-preview[bot]
92310ee7f9 Bump derailed_benchmarks from 1.4.3 to 1.5.0 (#5489) 2020-01-15 17:49:35 -05:00
dependabot-preview[bot]
39f1f584bb Bump yard from 0.9.23 to 0.9.24 (#5488)
Bumps [yard](https://github.com/lsegal/yard) from 0.9.23 to 0.9.24.
- [Release notes](https://github.com/lsegal/yard/releases)
- [Changelog](https://github.com/lsegal/yard/blob/master/CHANGELOG.md)
- [Commits](https://github.com/lsegal/yard/compare/v0.9.23...v0.9.24)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 15:55:09 -06:00
dependabot-preview[bot]
b01b1a514b Bump shoulda-matchers from 4.1.2 to 4.2.0 (#5493)
Bumps [shoulda-matchers](https://github.com/thoughtbot/shoulda-matchers) from 4.1.2 to 4.2.0.
- [Release notes](https://github.com/thoughtbot/shoulda-matchers/releases)
- [Changelog](https://github.com/thoughtbot/shoulda-matchers/blob/master/NEWS.md)
- [Commits](https://github.com/thoughtbot/shoulda-matchers/compare/v4.1.2...v4.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 15:39:16 -06:00
dependabot-preview[bot]
1b38ab9cd7 Bump recaptcha from 5.2.1 to 5.3.0 (#5496)
Bumps [recaptcha](https://github.com/ambethia/recaptcha) from 5.2.1 to 5.3.0.
- [Release notes](https://github.com/ambethia/recaptcha/releases)
- [Changelog](https://github.com/ambethia/recaptcha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ambethia/recaptcha/compare/v5.2.1...v5.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 15:38:37 -06:00
dependabot-preview[bot]
cf88f93874 Bump ddtrace from 0.30.1 to 0.31.0 (#5491)
Bumps [ddtrace](https://github.com/DataDog/dd-trace-rb) from 0.30.1 to 0.31.0.
- [Release notes](https://github.com/DataDog/dd-trace-rb/releases)
- [Changelog](https://github.com/DataDog/dd-trace-rb/blob/master/CHANGELOG.md)
- [Commits](https://github.com/DataDog/dd-trace-rb/compare/v0.30.1...v0.31.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 12:34:54 -06:00
dependabot-preview[bot]
389cb12372 Bump octokit from 4.14.0 to 4.15.0 (#5364) [deploy] 2020-01-06 16:27:08 -05:00
dependabot-preview[bot]
4ee7d7e60a Bump faker from 2.9.0 to 2.10.0 (#5366) 2020-01-06 16:07:54 -05:00
dependabot-preview[bot]
3188b37762 Bump pg from 1.1.4 to 1.2.1 (#5369) 2020-01-06 14:50:41 -05:00