Commit graph

5482 commits

Author SHA1 Message Date
ludwiczakpawel
975ddc61c4
Home Feed Tabs - Crayonsified (#7976)
* flare tag line height

* .

* new tabs on home

* instantclick

* Some JS cleanup for mobile view select event handler.

* eslint cleanup

* select arrow color

* quotes

* quotes

* .

* .

* omg

* .

* finally

* focus visible

Co-authored-by: Nick Taylor <nick@iamdeveloper.com>
2020-05-27 14:48:18 +02:00
rhymes
acb35afe03
Add unique indexes - part 4 (#8059)
* Rubocop unique index cop needs a static list of columns

* Add unique index on organizations secret

* Add unique index on chat_channel_memberships chat_channel_id

* Add unique index to chat_channel slug

* Add unique index to badge_achievements badge_id
2020-05-27 09:29:20 +02:00
Ben Halpern
e39f5b04d1
[deploy] Render recently updated search preambled to sidebar (#8060)
* Render recently updated search preambled to sidebar

* Refactor

* Fix typo

* Mess with test
2020-05-26 18:34:27 -04:00
Josh Puetz
1a1b5b544e
Add Feature Flags support to DEV (#7996)
* Create tables for Flipper gem

* Enable Flipper gem

* Remove concurrent ruby from Gemfile

* Add Flipper UI

* Codeland landing page

* Remove codeland controller and sample page

* Remove oops

* Rename Flipper-UI endpoint

* Wrap Flipper in a FeatureFlag module

* [deploy] Lock node to 12.16 (#8057)

Co-authored-by: Mac Siri <krairit.siri@gmail.com>
2020-05-26 15:26:33 -05:00
rhymes
0976132425
[deploy] RSS feed: add article tags as categories (#8046) 2020-05-26 15:51:33 -04:00
Andy Zhao
b02bf5ed5a
[deploy] Sync public reactions count with positive reactions count (#8064) 2020-05-26 14:41:51 -05:00
Ben Halpern
cd18d2f436
[deploy] Add alternate comment-oriented feed algos (#8042) 2020-05-26 13:23:03 -04:00
Andy Zhao
c42fd3461e
[deploy] Rename positive_reactions_count to public_reactions_count in logic (#7926)
* Rename positive_reactions_count to public_reactions_count

* Add positive reactions count back in so we can remove it

* Use public_category method for reactions

* Add positive_reactions_count in case any old caches rely on it

* Add positive_rxn_count to account for API endpoints

* Remove unused method

* One more spot...

* Add method back in because of caches

* Update specs to match new functionality

* Fix typo

* Remove unused methods
2020-05-26 12:36:28 -04:00
Mac Siri
808380f00e
[deploy] Lock node to 12.16 (#8057) 2020-05-26 10:36:50 -05:00
rhymes
7db40b2117
[deploy] Add unique indexes - part 3 (#8050) 2020-05-26 08:34:53 -05:00
rhymes
867a268a62
Fix blockquote styling in comments previews and notifications (#8052)
* Add quote styling to comment preview

* Add quote styling in notification comment
2020-05-26 15:17:20 +02:00
Mac Siri
9c58ebc61e
[deploy] Apply HTML encoder to FeedContent's query (#7985)
* Use .textContent to apply Search Snippets

* Improve var name

* Apply HTML encoder to FeedContent's query

* Add spec

* Expand FeedContent specs

* Actually let's not use approval
2020-05-25 13:06:35 -04:00
Rohit Sharma
1f56c44e53
feat(styling): add focus state/outline for crayons-btn class (#8051)
Remove "outline: none" from the crayons-btn CSS class, allowing better accessibility for users navigating with the keyboard. Remove :enabled from the .focus:enabled selector in buttons.scss as it appears to be preventing the focus from being applied.

Co-authored-by: Rohit Sharma <rohitsharma@Rohits-MacBook-Pro.local>
2020-05-25 13:04:29 -04:00
rhymes
1112cbf316
[deploy] Update webpacker configuration (#8004) 2020-05-25 12:03:18 -04:00
Ben Halpern
cde008c0a9
Add current state to nav bar links properly (#8045) 2020-05-25 12:00:21 -04:00
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