Commit graph

6262 commits

Author SHA1 Message Date
Cornelius A. Ludmann
603a8b4d7a
Prepare Gitpod setup for prebuilds (#9560)
This commit improves the Gitpod setup. It now allows you to benefit from prebuilds.

Also, Gitpod now waits until the server is ready before opening a preview window.
2020-07-29 10:03:05 -04:00
Alberto Pérez de Rada Fiol
115adbb1bd
[deploy] Add index and show pages for series (#9201)
* Add index and show pages for series

* Address code review

* Use `id` instead of `slug` to get collections

* Extract `collection_link` into the application helper

* Only count published articles

* Get rid of the `collection_link_class` method

* Add tests

* Fix test

* Use `**kwargs` instead of `options = {}`
2020-07-29 10:01:52 -04:00
Alberto Pérez de Rada Fiol
8b882dd512
Add workflow automating maintainers' comment on new issues (#9488)
* Add workflow automating maintainers' comment on new issues

* Add steps

* Convert steps to a list
2020-07-29 14:17:47 +02:00
Molly Struve
b40af82b66
Flaky Spec Fix:Remove let_it_be Test Prof Helper (#9556)
* Flaky Spec Fix:Remove let_it_be Test Prof Helper

* Spec cleanup and fixes
2020-07-29 11:31:01 +02: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
rhymes
bbd56875c7
Rubocop: address feedback of #9430 and use kwargs (#9538)
* Use fetch.to_i

* Rubocop: address feedback of #9430 and use kwargs
2020-07-29 11:13:36 +02:00
Molly Struve
7460893159
[deploy] Optimization:Change Comment, Ad Events, and Github ID Code Ints to Bigints (#9543) 2020-07-28 14:35:03 -05:00
Molly Struve
e2e034b910
[deploy] Refactor:Remove No Longer Needed Timber Logging (#9555) 2020-07-28 14:00:38 -05:00
Andy Zhao
a589529269
[deploy] Allow org admins to delete their organizations (#9357)
* Add destroy organization backend

* Add view for deleting org

* Add new line to end of file

* Refactor and move destroyable? to model

* Use a nice card to distinguish the message

* Prevent organizations from being deleted if they have credits

* Fix codeclimate issues

* Remove let_it_be_changeable for flakiness
2020-07-28 12:00:15 -04:00
Yash Dave
c9ff792497
fix actions/checkout to v2 for rebase workflow (#9515) 2020-07-28 10:34:35 -05:00
Ben Halpern
8d1a9e7a1c
Show article year if article published last year (#9547)
* Show article year if article published last year

* Fix tests
2020-07-28 10:32:20 -04:00
Nick Taylor
11cd1cb0fc
Upgraded to css-loader 4.0.0 (#9548) 2020-07-28 09:45:13 -04:00
Mac Siri
e330298561
[deploy] Update instantClick's script clone logic (#9542) 2020-07-28 09:06:58 -04:00
Molly Struve
34458d5de9
[deploy] Bug Fix:Run Hypershield Refresh AFTER db:prepare (#9546) 2020-07-27 17:30:02 -05:00
Sophia
f9137b2abd
[deploy] Update <ImageUploader /> class component to use hooks (#9369) 2020-07-27 17:09:28 -04:00
Fernando Valverde
5d55299ac3
[deploy] Removes intrusive mobile video autoplay & adds ahoy for visibility (#9539)
* Removes intrusive mobile video autoplay & adds ahoy for visibility

* web video has autoplay enabled

* Implements feedback on video player ahoy events

* use strict equality
2020-07-27 13:11:40 -06:00
Emma Goto
d98f143146
[deploy] Make UX settings save button sticky when modified (#9478)
* Add sticky footer to UX settings page  when changes are made

* Add missing spaces to html object
2020-07-27 12:52:21 -04:00
Ben Halpern
bffa204310
[MERGE AFTER INVITATION PR] Add registered_at data script (#9331)
* Add registered_at data script

* Update lib/data_update_scripts/20200715140848_backfill_user_registered_at.rb
2020-07-27 12:28:06 -04:00
Molly Struve
386c3e9fa7
[deploy] Optimization/Bug Fix:Only Send Mentioned User Notifications, not all for every message (#9493) 2020-07-27 11:16:41 -05:00
Molly Struve
97882ce31c
[deploy] Optimization:Change Tag Related IDs to Bigints (#9533) 2020-07-27 10:51:56 -05:00
Michael Kohl
57359091a9
Replace dry-struct with ActiveModel (#9534) 2020-07-27 17:42:37 +02:00
dependabot-preview[bot]
0c8af6bd1e
Bump clipboard-polyfill from 2.8.6 to 3.0.0 (#9524)
Bumps [clipboard-polyfill](https://github.com/lgarron/clipboard-polyfill) from 2.8.6 to 3.0.0.
- [Release notes](https://github.com/lgarron/clipboard-polyfill/releases)
- [Commits](https://github.com/lgarron/clipboard-polyfill/compare/v2.8.6...v3.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-27 10:58:16 -04:00
Bogdan Covrig
90d53173f5
Change DEV doc to Forem doc on account page (#9507)
* Change DEV doc to Forem doc on account page

* Change Forem API to <community> API for clarification reasons

Make the copy more clear – there is no central Forem API, more like each instance of Forem is having its own API.

Co-authored-by: Molly Struve <mollylbs@gmail.com>

Co-authored-by: Molly Struve <mollylbs@gmail.com>
2020-07-27 10:14:27 -04:00
dependabot-preview[bot]
fac0f330c8
Bump redoc-cli from 0.9.8 to 0.9.9 (#9522)
Bumps [redoc-cli](https://github.com/Redocly/redoc) from 0.9.8 to 0.9.9.
- [Release notes](https://github.com/Redocly/redoc/releases)
- [Changelog](https://github.com/Redocly/redoc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Redocly/redoc/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-27 10:13:06 -04:00
Ben Halpern
dba75110bb
Change copy away from dev.to (#9494) 2020-07-27 10:02:06 -04:00
Michael Kohl
f0c4197aab
Update seeds.rb with password confirmation (#9536) 2020-07-27 15:47:42 +02:00
Ben Halpern
aab0685b93
Add sign in options button to modal (#9506) 2020-07-27 09:28:41 -04:00
Ben Halpern
cbcd59edb3
Add more sign in options button to home sidebar (#9496) 2020-07-27 15:14:44 +02:00
dependabot-preview[bot]
3e6e7a4d1e
Bump strong_migrations from 0.6.8 to 0.7.0 (#9525)
* Bump strong_migrations from 0.6.8 to 0.7.0

Bumps [strong_migrations](https://github.com/ankane/strong_migrations) from 0.6.8 to 0.7.0.
- [Release notes](https://github.com/ankane/strong_migrations/releases)
- [Changelog](https://github.com/ankane/strong_migrations/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ankane/strong_migrations/compare/v0.6.8...v0.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump strong_migrations from 0.6.8 to 0.7.0 (Update vendor/cache)

* Enable safety check on rollbacks as well

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: rhymes <rhymes@hey.com>
2020-07-27 11:10:18 +02:00
dependabot-preview[bot]
f6d091213e
Bump rubocop-performance from 1.7.0 to 1.7.1 (#9380)
* Bump rubocop-performance from 1.7.0 to 1.7.1

Bumps [rubocop-performance](https://github.com/rubocop-hq/rubocop-performance) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/rubocop-hq/rubocop-performance/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop-performance/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop-performance/compare/v1.7.0...v1.7.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump rubocop-performance from 1.7.0 to 1.7.1 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-27 10:03:11 +02:00
Michael Kohl
a80d3f9082
[deploy] Move from OpenStruct to Struct (#9429) 2020-07-27 14:31:48 +07:00
Christina
c493ad1d2a
Change link in Contributing Docs (#9530)
Replacing https://docs.dev.to/contributing/forem/ new forem docs link per issue #9505.
2020-07-27 10:06:59 +07:00
Christina
112d7bb48f
Update README.md (#9531)
Replacing links to https://docs.dev.to in the Getting Started section with links to the newer https://docs.forem.com/ instead
2020-07-27 09:59:54 +07:00
dependabot-preview[bot]
160035fa2d
[deploy] Bump rubocop-rails from 2.6.0 to 2.7.1 (#9526)
* Bump rubocop-rails from 2.6.0 to 2.7.1

Bumps [rubocop-rails](https://github.com/rubocop-hq/rubocop-rails) from 2.6.0 to 2.7.1.
- [Release notes](https://github.com/rubocop-hq/rubocop-rails/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop-rails/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop-rails/compare/v2.6.0...v2.7.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump rubocop-rails from 2.6.0 to 2.7.1 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-26 17:54:04 -05:00
dependabot-preview[bot]
4102a09777
Bump oj from 3.10.7 to 3.10.8 (#9523)
* Bump oj from 3.10.7 to 3.10.8

Bumps [oj](https://github.com/ohler55/oj) from 3.10.7 to 3.10.8.
- [Release notes](https://github.com/ohler55/oj/releases)
- [Changelog](https://github.com/ohler55/oj/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/ohler55/oj/compare/v3.10.7...v3.10.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump oj from 3.10.7 to 3.10.8 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-26 17:53:10 -05:00
Molly Struve
f84f88f9bf
Flaky Spec Fix:Remove let_it_be usage from Comment Model Spec (#9529) 2020-07-26 17:22:51 -05:00
Molly Struve
4f20555221
[deploy] Optimization:Change Multiple Small Table Column IDs to Bigints (#9513) 2020-07-26 16:16:13 -05:00
dependabot-preview[bot]
9f48982f6e
Bump bootsnap from 1.4.6 to 1.4.7 (#9520)
* Bump bootsnap from 1.4.6 to 1.4.7

Bumps [bootsnap](https://github.com/Shopify/bootsnap) from 1.4.6 to 1.4.7.
- [Release notes](https://github.com/Shopify/bootsnap/releases)
- [Changelog](https://github.com/Shopify/bootsnap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Shopify/bootsnap/compare/v1.4.6...v1.4.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump bootsnap from 1.4.6 to 1.4.7 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-26 21:51:12 +02:00
dependabot-preview[bot]
4b4749c29a
Bump ddtrace from 0.37.0 to 0.38.0 (#9521)
* Bump ddtrace from 0.37.0 to 0.38.0

Bumps [ddtrace](https://github.com/DataDog/dd-trace-rb) from 0.37.0 to 0.38.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.37.0...v0.38.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump ddtrace from 0.37.0 to 0.38.0 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-26 21:50:59 +02:00
dependabot-preview[bot]
d54ca3f7ee
Bump twilio-ruby from 5.39.1 to 5.39.2 (#9516)
* Bump twilio-ruby from 5.39.1 to 5.39.2

Bumps [twilio-ruby](https://github.com/twilio/twilio-ruby) from 5.39.1 to 5.39.2.
- [Release notes](https://github.com/twilio/twilio-ruby/releases)
- [Changelog](https://github.com/twilio/twilio-ruby/blob/master/CHANGES.md)
- [Commits](https://github.com/twilio/twilio-ruby/compare/5.39.1...5.39.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump twilio-ruby from 5.39.1 to 5.39.2 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-26 21:50:37 +02:00
dependabot-preview[bot]
f29f4b7840
[deploy] Bump mini_racer from 0.2.15 to 0.3.1 (#9518)
* Bump mini_racer from 0.2.15 to 0.3.1

Bumps [mini_racer](https://github.com/discourse/mini_racer) from 0.2.15 to 0.3.1.
- [Release notes](https://github.com/discourse/mini_racer/releases)
- [Changelog](https://github.com/rubyjs/mini_racer/blob/master/CHANGELOG)
- [Commits](https://github.com/discourse/mini_racer/compare/v0.2.15...v0.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump mini_racer from 0.2.15 to 0.3.1 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-26 12:46:22 -05:00
dependabot-preview[bot]
1b81c94d5c
Bump sidekiq from 6.1.0 to 6.1.1 (#9527)
* Bump sidekiq from 6.1.0 to 6.1.1

Bumps [sidekiq](https://github.com/mperham/sidekiq) from 6.1.0 to 6.1.1.
- [Release notes](https://github.com/mperham/sidekiq/releases)
- [Changelog](https://github.com/mperham/sidekiq/blob/master/Changes.md)
- [Commits](https://github.com/mperham/sidekiq/compare/v6.1.0...v6.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump sidekiq from 6.1.0 to 6.1.1 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-26 12:43:00 -05:00
dependabot-preview[bot]
fd3413baac
Bump blazer from 2.2.5 to 2.2.6 (#9517)
* Bump blazer from 2.2.5 to 2.2.6

Bumps [blazer](https://github.com/ankane/blazer) from 2.2.5 to 2.2.6.
- [Release notes](https://github.com/ankane/blazer/releases)
- [Changelog](https://github.com/ankane/blazer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ankane/blazer/compare/v2.2.5...v2.2.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump blazer from 2.2.5 to 2.2.6 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-26 12:38:57 -05:00
Molly Struve
bc5e114ce9
Flaky Spec Fix:Remove let_it_be To Prevent Bad Database State Failing Specs (#9512) 2020-07-26 12:32:32 -05:00
Molly Struve
7167587de5
[deploy] Feature:Allow Log Level to be Set with ENV Variable (#9456) 2020-07-25 16:46:48 -05:00
Molly Struve
21b1afb076
[deploy] Optimization:Change Mentions, Notes, Podcasts, Roles Related Ids To Bigints (#9477) 2020-07-25 16:11:26 -05:00
Molly Struve
06fb3cff6b
[deploy] Optimization:Recreate Comments Index with Digest Hash (#9474) 2020-07-25 14:32:00 -05:00
rhymes
0b4ad49cf8
Rubocop: Enable and fix Style/OptionHash (#9430)
* Enable and fix Style/OptionHash

* Add 10 seconds default timeout to DB statements
2020-07-25 10:41:21 +02:00
Stu Finn
95be4c6308
Update api_v0.yml (#9495)
Updated description with Forem placeholder text
2020-07-24 16:33:18 -04:00
Jacob Herrington
b26919e79b
[deploy] Fix archived readinglist reactions affecting count (#9044)
* Fix archived readinglist reactions affecting count

The reading list count badge on the home page currently takes all
readinglist reactions into account, but we shouldn't be including those
that are marked "archived."

Secondarily this fixes a bug that affects only admin users: all
reactions created by admins were given the status "confirmed"
instead of the expected "valid" status.
2020-07-24 14:18:35 -05:00