Commit graph

5735 commits

Author SHA1 Message Date
dependabot-preview[bot]
3e8089f191
Bump amazing_print from 1.1.0 to 1.2.0 (#8640)
* Bump amazing_print from 1.1.0 to 1.2.0

Bumps [amazing_print](https://github.com/amazing-print/amazing_print) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/amazing-print/amazing_print/releases)
- [Changelog](https://github.com/amazing-print/amazing_print/blob/master/CHANGELOG.md)
- [Commits](https://github.com/amazing-print/amazing_print/compare/v1.1.0...v1.2.0)

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

* Bump amazing_print from 1.1.0 to 1.2.0 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-15 10:31:11 -05:00
Maja Komel
d6fa1d3367
[deploy] Add button to unfollow tags and users from dashboard (#8448) 2020-06-15 17:25:41 +02:00
Michael Kohl
ac3c12f574
Update config.hosts for GitPod (#8677)
* fake gitpod dockerfile commit

* install ruby 2.7.1 to different directory

* remove fakevar

* affix node version to 12.16.3

* try setting explicit version

* Add GitPod workspace URL to config.hosts

Co-authored-by: snackattas <zach.attas@gmail.com>
2020-06-15 17:18:33 +02:00
dependabot-preview[bot]
5e42e36d44
Bump rubocop-rspec from 1.39.0 to 1.40.0 (#8638)
* Bump rubocop-rspec from 1.39.0 to 1.40.0

Bumps [rubocop-rspec](https://github.com/rubocop-hq/rubocop-rspec) from 1.39.0 to 1.40.0.
- [Release notes](https://github.com/rubocop-hq/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop-rspec/compare/v1.39.0...v1.40.0)

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

* Bump rubocop-rspec from 1.39.0 to 1.40.0 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-15 10:16:00 -05:00
Michael Kohl
dabcbce551
[deploy] Fix bug in determining if repo is featured (#8676) 2020-06-15 16:39:30 +02:00
dependabot-preview[bot]
fb4a27b5ac
Bump rubocop-rails from 2.5.2 to 2.6.0 (#8643) 2020-06-15 10:01:45 -04:00
dependabot-preview[bot]
0f85afeaa2
Bump bundler-audit from 0.6.1 to 0.7.0.1 (#8645) 2020-06-15 09:52:06 -04:00
Alex
6af063eebf
[deploy] Email signups liquid tag backend (#8375)
* Backend MVP

- Migration
- Model
- Associations

* Add factory, spec, and validations

- Add unqiue index for validations

* Fix specs

* Add author to email_subscriptions

* Add user association to set_author_id

* Add clarifying comment to set_author_id

* Writing is hard sometimes

* Rename email_subscriptions to subscription_sources

* UserSubscription and user_subscription_sourceable

* subscribers --> sourced_subscribers

* Add comment to explain UserSubscription model
2020-06-15 09:33:34 -04:00
dependabot-preview[bot]
80d2b731b1
[deploy] Bump httparty from 0.18.0 to 0.18.1 (#8634)
* Bump httparty from 0.18.0 to 0.18.1

Bumps [httparty](https://github.com/jnunemaker/httparty) from 0.18.0 to 0.18.1.
- [Release notes](https://github.com/jnunemaker/httparty/releases)
- [Changelog](https://github.com/jnunemaker/httparty/blob/master/Changelog.md)
- [Commits](https://github.com/jnunemaker/httparty/compare/v0.18.0...v0.18.1)

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

* Bump httparty from 0.18.0 to 0.18.1 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-15 08:32:06 -05:00
dependabot-preview[bot]
1fa4ed5464
Bump devise from 4.7.1 to 4.7.2 (#8632)
* Bump devise from 4.7.1 to 4.7.2

Bumps [devise](https://github.com/plataformatec/devise) from 4.7.1 to 4.7.2.
- [Release notes](https://github.com/plataformatec/devise/releases)
- [Changelog](https://github.com/heartcombo/devise/blob/master/CHANGELOG.md)
- [Commits](https://github.com/plataformatec/devise/compare/v4.7.1...v4.7.2)

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

* Bump devise from 4.7.1 to 4.7.2 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-15 08:31:03 -05:00
Rafi
239ced79ba
Adding aria-label for featured article (#8670) 2020-06-15 09:30:43 -04:00
dependabot-preview[bot]
515a3174c0
Bump redis from 4.1.4 to 4.2.1 (#8646)
* Bump redis from 4.1.4 to 4.2.1

Bumps [redis](https://github.com/redis/redis-rb) from 4.1.4 to 4.2.1.
- [Release notes](https://github.com/redis/redis-rb/releases)
- [Changelog](https://github.com/redis/redis-rb/blob/master/CHANGELOG.md)
- [Commits](https://github.com/redis/redis-rb/compare/v4.1.4...v4.2.1)

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

* Bump redis from 4.1.4 to 4.2.1 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-15 08:30:33 -05:00
Molly Struve
04bd05b979
Only Run Deploy Stage if Branch Master (#8450) 2020-06-15 10:57:43 +02:00
dependabot-preview[bot]
ced9f0581a
Bump honeycomb-beeline from 2.0.0 to 2.1.0 (#8633)
* Bump honeycomb-beeline from 2.0.0 to 2.1.0

Bumps [honeycomb-beeline](https://github.com/honeycombio/beeline-ruby) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/honeycombio/beeline-ruby/releases)
- [Commits](https://github.com/honeycombio/beeline-ruby/compare/v2.0.0...v2.1.0)

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

* Bump honeycomb-beeline from 2.0.0 to 2.1.0 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-14 20:17:39 -04:00
dependabot-preview[bot]
87702417c4
Bump fastly from 2.5.2 to 2.5.3 (#8642)
* Bump fastly from 2.5.2 to 2.5.3

Bumps [fastly](https://github.com/fastly/fastly-ruby) from 2.5.2 to 2.5.3.
- [Release notes](https://github.com/fastly/fastly-ruby/releases)
- [Changelog](https://github.com/fastly/fastly-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fastly/fastly-ruby/compare/v2.5.2...v2.5.3)

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

* Bump fastly from 2.5.2 to 2.5.3 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-14 20:17:27 -04:00
dependabot-preview[bot]
ca687970e4
Bump css-loader from 3.5.3 to 3.6.0 (#8641)
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.5.3 to 3.6.0.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v3.5.3...v3.6.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-06-14 20:17:12 -04:00
dependabot-preview[bot]
0d336c839e
Bump lint-staged from 10.2.9 to 10.2.10 (#8639)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.2.9 to 10.2.10.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.2.9...v10.2.10)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-14 20:16:44 -04:00
dependabot-preview[bot]
9ab92579a2
Bump rouge from 3.19.0 to 3.20.0 (#8636)
* Bump rouge from 3.19.0 to 3.20.0

Bumps [rouge](https://github.com/rouge-ruby/rouge) from 3.19.0 to 3.20.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.19.0...v3.20.0)

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

* Bump rouge from 3.19.0 to 3.20.0 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-14 20:16:38 -04:00
Ben Halpern
0a9665b26f
[deploy] Remove private reactions from notifictaions (#8675)
* Remove private reactions from notifictaions

* Fix specs
2020-06-14 15:00:42 -04:00
Molly Struve
3f12b62910
Spec Cleanup: Stub Elasticsearch for js: true Specs that Dont Need it (#8453) 2020-06-12 15:43:59 -05:00
Molly Struve
06bb041a6e
Flaky Spec Fix:Don't assume Database Ordering, Explicitly Set Articles and Assumptions (#8447) 2020-06-12 14:44:12 -05:00
Mac Siri
cd85889a38
[deploy] Partially revert "Update ReactionsController not to cache AR Object #8393" (#8449) 2020-06-12 15:40:05 -04:00
Ben Halpern
c8ff41de1e
[deploy] Modify default size for onboarding graphic (#8444) 2020-06-12 13:14:09 -04:00
Ben Halpern
1b37edeeb8
[deploy] Allow admins to define onboarding images in config (#8431)
* Add config for onboarding

* Fix tests/snapshot

* Improved specs
2020-06-12 08:48:20 -04:00
Raphael Noriode
50b455a231
fix join box margin issue (#8420) 2020-06-12 13:57:13 +02:00
Alberto Pérez de Rada Fiol
326e98a944
Fix erblint errors on the app/views/stories folder (#8404) 2020-06-12 11:21:07 +02:00
rhymes
c356983de8
Replace activerecord-import with Rails 6 insert_all and upsert_all (#8407)
* Replace Credits.import with .insert_all

* Fix Notifications::Reactions::Send and replace .import with .upsert to avoid race conditions

* Replace .import! with .upsert_all in Notifications::NotifiableAction::Send

* Replace PodcastEpisode.import! with upsert

* Stop testing gems, test the code

* Remove activerecord-import

* Fix redundancies

* clarify comment

* Replace Credit.import with insert_all

* hello knapsack

* Do not try to insert if there is nothing to
2020-06-12 11:16:06 +02:00
Molly Struve
8ef9a27a97
Documentation: Document Status of Percy (#8424)
* Documention: Document Status of Percy

* Apply suggestions from code review

Co-authored-by: Vaidehi Joshi <vaidehi.sj@gmail.com>

Co-authored-by: Vaidehi Joshi <vaidehi.sj@gmail.com>
2020-06-12 11:07:07 +02:00
Vaidehi Joshi
38993608cf
Hide active announcements from logged-in users on the editor (#8427) [deploy] 2020-06-11 16:02:54 -07:00
Molly Struve
2aeebcda5a
Documentation: Add More Knapsack Information to Docs (#8419)
Co-authored-by: Mac Siri <krairit.siri@gmail.com>
Co-authored-by: Vaidehi Joshi <vaidehi.sj@gmail.com>
2020-06-11 17:50:32 -05:00
Molly Struve
4f831a836b
Flaky Spec Fix: Stub Requests to Elasticsearch For some js: true Specs (#8426)
Co-authored-by: Vaidehi Joshi <vaidehi.sj@gmail.com>
2020-06-11 17:49:21 -05:00
Molly Struve
8400864273
Spec SpeedUp: Refactor and Combine Assertions for Viewing Articles by Timeframe Spec (#8422) 2020-06-11 16:48:11 -05:00
Molly Struve
008464ffab
Flaky Spec Fix: Ignore Order For User Suggestion in Sidebar (#8421) 2020-06-11 15:25:32 -05:00
Joe Doss
c5a1f37827
This should fix issue #8255 (#8408)
The logic here is wrong. We need to set CONTAINER_RUNTIME before trying to running
docker-compose/podman-compose build.
2020-06-11 16:13:18 -04:00
Vaidehi Joshi
d37e54a6a0
Refactor BroadcastsController (#8416) [deploy]
* Refactor BroadcastsController

* Prefer find to find_by when searching with just id
2020-06-11 12:01:54 -07:00
Vaidehi Joshi
a3665406d5
Hide site-wide messaging for opted-out users (#8409) [deploy] 2020-06-11 11:34:04 -07:00
Mac Siri
7d58818efa
[deploy] Update ReactionsController not to cache AR Object (#8393) 2020-06-11 14:22:53 -04:00
Mac Siri
8cb74b3e20
Update Users::Sidebar not to cache AR object (#8394) 2020-06-11 14:22:28 -04:00
Michael Kohl
d5ac4cd423
[deploy] Update GithubReposController to clean up inaccessible repositories (#8382) 2020-06-11 14:06:15 -04:00
Alberto Pérez de Rada Fiol
5f75d2a49a
Fix erblint errors on the app/views/liquids folder (#8403)
* Fix erblint errors on the `app/views/liquids` folder

* Make tests pass

* Make failing test pass
2020-06-11 20:03:27 +02:00
Alberto Pérez de Rada Fiol
2ef30f6656
Fix remaining erblint errors (#8405)
* Fix remaining erblint errors

* Fix last error
2020-06-11 20:03:19 +02:00
Vaidehi Joshi
134be94b5c
Bump top-bar's z-index to allow dropdown to render with announcement (#8415) 2020-06-11 10:57:45 -07:00
Vaidehi Joshi
2b6510f4ea
Add QA instructions to pull request template (#8412) 2020-06-11 10:49:39 -07:00
Molly Struve
4c4b332b2e
Allow Knapsack to work for Forks (#8413) 2020-06-11 11:59:02 -05:00
Alberto Pérez de Rada Fiol
81f77715a6
Fix erblint errors on the app/views/mailers folder (#8402) 2020-06-11 11:34:52 -04:00
Alberto Pérez de Rada Fiol
c9bb331248
Fix erblint errors on the app/views/doorkeeper folder (#8399) 2020-06-11 11:34:31 -04:00
Molly Struve
f647944046
[deploy] Spec Speedup: Use Knapsack to Run Parallel Builds (#8390) 2020-06-11 10:27:11 -05:00
Vaidehi Joshi
e532ccbe42
Allow users to dismiss announcements (#8396) [deploy]
* Provide default crayon styles when creating banners

* Import crayons styles into /internal pages.
* Allow admins to use crayons banner styles when creating broadcasts.
* Preview banner styles with crayons.

* Add a "x" close button to announcements, fix styling to accommodate it

* Use constant and helper for broadcast banner styles

* Add VALID_BANNER_STYLES frozen constant to Broadcast class.
* Add banner_style helper for determining banner style class.

* Clean up preview CSS, import broadcast styles into preview

* Add close button click handler, clean up initializeBroadcast

* Add close functionality to announcement banner

Also hide announcement if the user has explicitly seen and "X"-ed out of it.

* Add system specs around rendering + dismissing broadcasts

* Add some (truly beautiful) JS documentation

* Add visible class to broadcast when previewed from internal
2020-06-11 08:24:43 -07:00
Alberto Pérez de Rada Fiol
2b30f769f3
Fix erblint errors on the app/views/layouts folder (#8400) 2020-06-11 16:58:50 +02:00
Alberto Pérez de Rada Fiol
2660c76fca
Fix erblint errors on the app/views/pages folder (#8401) 2020-06-11 15:46:50 +02:00