Commit graph

5467 commits

Author SHA1 Message Date
Molly Struve
61cda701c5
Track Article IDs for Controller Requests (#8038) 2020-05-25 11:59:34 -04:00
rhymes
6a0b675974
Fix load more listings button colors (#8049) 2020-05-25 15:01:07 +02:00
benhalpern
cca7729198 Add page view tracking to comment permalinks 2020-05-23 14:08:28 -04:00
Ben Halpern
a53de929fe
[deploy] Remove sidebar variant from CTA (#8040)
* Remove sidebar variant from CTA

* Remove unneeded tests

* Modify algo *just a bit*
2020-05-23 13:35:43 -04:00
Ben Halpern
c23c4fbb2d
[deploy] Adjust a/b weights for feed (#8037) 2020-05-22 17:17:36 -04:00
Molly Struve
b0d28aadfd
Actually Replace File Name Colons (#8036) 2020-05-22 15:02:29 -05:00
Alex
84e9d769e8
[deploy] Fix tag removal case sensitivity for mods (#8024)
* Fix removal of tags/tag_list validation

* Remove tags regardless of case

* Refactor removing tags to be more readable

* Add guard for when tags aren't found to remove

* Refactor more logic
2020-05-22 15:44:10 -04:00
dependabot-preview[bot]
68dd73c054
[deploy] Bump jquery-rails from 4.3.5 to 4.4.0 (#8016)
Bumps [jquery-rails](https://github.com/rails/jquery-rails) from 4.3.5 to 4.4.0.
- [Release notes](https://github.com/rails/jquery-rails/releases)
- [Changelog](https://github.com/rails/jquery-rails/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rails/jquery-rails/compare/v4.3.5...v4.4.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-05-22 14:29:47 -05:00
Molly Struve
a236cec67f
Dont Use Colons In Timestamps For CI CSVs (#8035) 2020-05-22 14:10:15 -05:00
Vaidehi Joshi
52e34a3e20
Use Faker for Article titles, User colors (#7995) 2020-05-22 14:57:32 -04:00
rhymes
8e35ffda51
Routine rubocop fixes (#8028) 2020-05-22 14:42:40 -04:00
Molly Struve
b8d72a36d8
[deploy] Remove ProMembership Table and Factory (#8020) 2020-05-22 13:13:20 -05:00
dependabot[bot]
b536cac3de
[deploy] Bump puma from 4.3.3 to 4.3.5 (#8033)
Bumps [puma](https://github.com/puma/puma) from 4.3.3 to 4.3.5.
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/master/History.md)
- [Commits](https://github.com/puma/puma/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-05-22 11:32:13 -05:00
Thomas Bnt
a7807eb606
Checkmark stackbit at integration (#8026)
* Changing width to checkmark of Stackbit in integration page

* Adding margin-left on img green checkmark of Stackbit to 2px

* Update app/views/users/_integrations.html.erb

Co-authored-by: rhymes <rhymesete@gmail.com>

Co-authored-by: rhymes <rhymesete@gmail.com>
2020-05-22 18:15:29 +02:00
Mac Siri
58f2143f42
Improve RssReader::Assembler's path correction (#7984) 2020-05-22 11:03:28 -04:00
dependabot-preview[bot]
5b6109035c
Bump @percy/agent from 0.26.6 to 0.26.7 (#8023)
Bumps [@percy/agent](https://github.com/percy/percy-agent) from 0.26.6 to 0.26.7.
- [Release notes](https://github.com/percy/percy-agent/releases)
- [Changelog](https://github.com/percy/percy-agent/blob/master/CHANGELOG.md)
- [Commits](https://github.com/percy/percy-agent/compare/v0.26.6...v0.26.7)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-22 09:46:30 -04:00
dependabot-preview[bot]
58341509fa
Bump ruby-prof from 1.3.2 to 1.4.1 (#8017)
Bumps [ruby-prof](https://github.com/ruby-prof/ruby-prof) from 1.3.2 to 1.4.1.
- [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.3.2...1.4.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-22 09:46:20 -04:00
dependabot-preview[bot]
1415c19fe3
Bump counter_culture from 2.3.0 to 2.5.1 (#8015)
Bumps [counter_culture](https://github.com/magnusvk/counter_culture) from 2.3.0 to 2.5.1.
- [Release notes](https://github.com/magnusvk/counter_culture/releases)
- [Changelog](https://github.com/magnusvk/counter_culture/blob/master/CHANGELOG.md)
- [Commits](https://github.com/magnusvk/counter_culture/compare/v2.3.0...v2.5.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-22 09:46:07 -04:00
dependabot-preview[bot]
24893419f5
Bump percy-capybara from 4.0.2 to 4.2.0 (#8014)
Bumps [percy-capybara](https://github.com/percy/percy-capybara) from 4.0.2 to 4.2.0.
- [Release notes](https://github.com/percy/percy-capybara/releases)
- [Commits](https://github.com/percy/percy-capybara/compare/v4.0.2...v4.2.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-05-22 09:45:53 -04:00
Ben Halpern
6a2b6aa914
[deploy] Quick fix for podcast liquid tag in comments (#8025) 2020-05-21 21:52:13 -04:00
Ben Halpern
1aaf91c37c
[deploy] Add config for whether campaign posts require approval (#7961)
* Add config for whether campaign posts require approval

* Fix logic
2020-05-21 21:00:11 -04:00
Mac Siri
1abd7cd46b
[deploy] Add async_info to ReservedWords (#8022) 2020-05-21 17:02:26 -04:00
dependabot-preview[bot]
17dbc26b03
Bump rubocop from 0.83.0 to 0.84.0 (#8010)
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.83.0 to 0.84.0.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.83.0...v0.84.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-05-21 16:57:38 -04:00
dependabot-preview[bot]
ef86806f68
Bump strong_migrations from 0.6.5 to 0.6.8 (#8013)
Bumps [strong_migrations](https://github.com/ankane/strong_migrations) from 0.6.5 to 0.6.8.
- [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.5...v0.6.8)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-21 16:10:30 -04:00
dependabot-preview[bot]
3e92d75b75
Bump @percy/agent from 0.26.3 to 0.26.6 (#8012)
Bumps [@percy/agent](https://github.com/percy/percy-agent) from 0.26.3 to 0.26.6.
- [Release notes](https://github.com/percy/percy-agent/releases)
- [Changelog](https://github.com/percy/percy-agent/blob/master/CHANGELOG.md)
- [Commits](https://github.com/percy/percy-agent/compare/v0.26.3...v0.26.6)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-21 16:10:18 -04:00
dependabot-preview[bot]
981744eb6d
Bump lint-staged from 10.2.2 to 10.2.4 (#8009)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.2.2 to 10.2.4.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.2.2...v10.2.4)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-21 16:10:06 -04:00
rhymes
174dd9359d
[deploy] Add missing unique indexes - part 2 (#8002) 2020-05-21 14:15:49 -05:00
dependabot-preview[bot]
3049833133
[deploy] Bump sidekiq-unique-jobs from 6.0.21 to 6.0.22 (#8008)
Bumps [sidekiq-unique-jobs](https://github.com/mhenrixon/sidekiq-unique-jobs) from 6.0.21 to 6.0.22.
- [Release notes](https://github.com/mhenrixon/sidekiq-unique-jobs/releases)
- [Changelog](https://github.com/mhenrixon/sidekiq-unique-jobs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mhenrixon/sidekiq-unique-jobs/compare/v6.0.21...v6.0.22)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-21 14:10:17 -05:00
dependabot-preview[bot]
a7ab09c839
Bump twilio-ruby from 5.34.0 to 5.35.0 (#8007)
Bumps [twilio-ruby](https://github.com/twilio/twilio-ruby) from 5.34.0 to 5.35.0.
- [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.34.0...5.35.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-05-21 14:09:36 -05:00
dependabot-preview[bot]
a6d60af769
Bump rack-attack from 6.3.0 to 6.3.1 (#8011)
Bumps [rack-attack](https://github.com/kickstarter/rack-attack) from 6.3.0 to 6.3.1.
- [Release notes](https://github.com/kickstarter/rack-attack/releases)
- [Changelog](https://github.com/kickstarter/rack-attack/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kickstarter/rack-attack/compare/v6.3.0...v6.3.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-21 14:09:04 -05:00
dependabot-preview[bot]
0143d154c3
Bump stripe from 5.21.0 to 5.22.0 (#8006)
Bumps [stripe](https://github.com/stripe/stripe-ruby) from 5.21.0 to 5.22.0.
- [Release notes](https://github.com/stripe/stripe-ruby/releases)
- [Changelog](https://github.com/stripe/stripe-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stripe/stripe-ruby/compare/v5.21.0...v5.22.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-05-21 14:08:49 -05:00
Alex
49d4ec8d1c
[deploy] Revert "Update safe params for Array params (#7914)" (#8018)
This reverts commit 4eba14f150.
2020-05-21 12:39:55 -04:00
Ben Halpern
b51d56159a
[deploy] Implement web-monetization/payment pointer (#6345)
* WIP payment pointer

* Add payment pointer config

* Add proper siteconfig var to view

* Finalize

* Fix typo

Co-authored-by: Andy Zhao <17884966+Zhao-Andy@users.noreply.github.com>
2020-05-21 12:10:02 -04:00
ludwiczakpawel
35eb4f1f72
Overflow issue in Settings on mobile (#7999)
* flare tag line height

* .

* .
2020-05-21 11:47:18 -04:00
Ridhwana
880cd70d53
chore: update some docs (#8003) 2020-05-21 11:46:57 -04:00
rhymes
80a01cefed
Fix db:reset by adding search:setup after search:destroy (#8000) 2020-05-21 09:49:27 -05:00
Dana Scheider
c59db25387
[deploy] Gracefully handle missing linked users from comments (#7941) 2020-05-21 09:07:51 -05:00
Anna Buianova
5fcc44677e
Display existing sponsorships even when an org doesn't have enough credits (#7978) 2020-05-21 13:10:39 +03:00
rhymes
264e8baa14
Add missing unique indexes - part 1 (#7977) 2020-05-21 12:09:06 +02:00
Dmitry Maksyoma
eb85a91a9d
Refactor Mentions::CreateAll (#7880)
* Refactor Mentions::CreateAll

* Update app/services/mentions/create_all.rb

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

* Refactor for readability

Co-authored-by: Vaidehi Joshi <vaidehi.sj@gmail.com>
2020-05-21 12:08:36 +02:00
Molly Struve
76da5a7a66
Remove ProMembership Models (#7989) 2020-05-21 12:04:41 +02:00
Vaidehi Joshi
71852e6975
Remove some superfluous Percy snapshots (#7992) [deploy]
There doesn't seem to be enough of a difference between these snapshots, and, for some reason, they date doesn't not seem to be freezing for some of the data captured within them. Since we already have a snapshot of this page, we don't need so many versions of it.
2020-05-20 15:56:04 -07:00
Molly Struve
374f030d12
Cache Article IDs Rather than ActiveRecord Objects (#7990) 2020-05-20 18:51:33 -04:00
rhymes
fa22f346e4
Add merveilles.town to list of Mastodon instances (#7983) 2020-05-20 17:48:46 -04:00
Vaidehi Joshi
32410d3b9a
Add Percy to Travis yml (#7970) [deploy] 2020-05-20 13:50:22 -07:00
Julianna Tetreault
97c46cfbf8
Refactor User-Specific JSON-LD in the Stories::Controller (#7731)
* Refactor user_same_as_json_ld method to be more readable

* Refactor user JSON-LD to be less verbose in Stories::Controller
  * Removes set_user_same_as_json_ld method
  * Removes set_user_profile_json_ld method
  * Adds user_works_for and user_disambiguating_description
  * Adds inline logic to the data structure
  * Simplifies user_same_as method

* Add documentation around specific data properties

* Add .reject to user_json_ld to remove key, value if value blank
  * Checks for blank values and rejects key,value if blank
  * Accounts for JSON-LD preference for no key,value if blank

* Add reject and compact to worksFor in Stories::Controller
  * Ensures any nil/empty values for worksFor are removed
  * Cleans up existing code within Stories::Controller

* Add test for values that eval to true when .blank? is called
  * Adds test to check that empty key/values are not included
  * Adds test to check that nil key/values are not included
  * Refactors variables to be inline in user_show_spec
  * Refactors existing code in user_show_spec

* Add reject for blank values to user_same_as in Stories::Contrroller
  * Adds a check for email_public to email

* Fix typo within comment in Stories::Controller

* Add ternary operation to email in Stories::Controller
2020-05-20 14:40:34 -06:00
Molly Struve
2b8fc7473d
[deploy] Skip pro memberships for spec (#7988) 2020-05-20 14:10:08 -05:00
Molly Struve
58ff5d44ba
[deploy] Add back ProMembership AR class (#7987) 2020-05-20 13:15:22 -05:00
Molly Struve
16161bfcae
[deploy] Keep Pro Membership Relation Until AR Cache's expire (#7986) 2020-05-20 12:45:04 -05:00
Andy Zhao
e686d63d78
[deploy] Add public reactions count fields to Elasticsearch (#7956)
* Add public_reactions_count field to elasticsearch

* Add new data update scripts and update old ones

* Use BulkIndexWorker to batch indexing

* Use proper search class for handling feed content

* Remove redundant script oops

* Rename data update script and remove old specs

* Combine specs into one file
2020-05-20 13:06:48 -04:00