Commit graph

6540 commits

Author SHA1 Message Date
Molly Struve
513717e680
Refactor:Move Credit Counter Cache Sync to Sidekiq (#9972) 2020-08-24 14:20:11 -05:00
rhymes
eddcb4953e
Display all authentication providers in mailer footer (#9961)
* Display all authentication providers in mailer footer

* Refactor into Authentication::Providers.enabled_for_user
2020-08-24 21:02:05 +02:00
Molly Struve
a4373346dd
[deploy] Refactor:Move Sitemap Refresh Rake Task to Sidekiq (#9975) 2020-08-24 13:22:25 -05:00
Mac Siri
99e4029078
Manually load dotenv in test (#9971) 2020-08-24 20:19:03 +02:00
rhymes
66b5cb513f
[deploy] Add dependent clauses to relations for Organization and add cleanup scripts (#9932)
* Add dependent clauses to has_many relations in Organization

* Add cleanup scripts

* Update script

* Destroy organizations listings

* Update lib/data_update_scripts/20200822082229_remove_orphaned_notifications_by_organization.rb

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

Co-authored-by: Molly Struve <mollylbs@gmail.com>
2020-08-24 19:35:02 +02:00
Ben Halpern
682278ed75
[deploy] Change to same_site: lax for session store (#9967)
* Mess with ssl

* Add redirect false

* Remove redirect config

* Redirect back to false

* Mess with validrequest

* Add validrequest back in

* Secure sessions

* Add domain to session_store

* Fiddle with ssl options

* Fiddle with secure

* Same site lax

* Remove force_ssl

* Remove domain from session_store

* Add domain back

* Secure session cookie

* Set secure with var

* Revert default_url_options change

* Set session store to secure

* revert secure force

* Revert unintended change

* The cookie domain property should not be set on localhost

* Switch to no domain unless in production

Co-authored-by: rhymes <rhymes@hey.com>
2020-08-24 12:29:45 -04:00
Molly Struve
972253a17b
Refactor:Remove save_nil_hotness_scores Task (#9930) 2020-08-24 10:20:19 -05:00
ludwiczakpawel
919fad9ab3
Flare Tag styling update (#9969) 2020-08-24 16:53:35 +02:00
Arit Amana
df900cfd98
[Admin Tooling] Log comment deletion (#9968)
* Log comment deletion

* Fix my STUPID mistake!
2020-08-24 10:30:16 -04:00
Molly Struve
d4a2f24c88
[deploy] Refactor:Move Cache Busting Rake Tasks to Sidekiq (#9931) 2020-08-24 08:23:11 -05:00
Molly Struve
e07c707ede
[deploy] Refactor:Move remove_old_notifications Rake Task to Sidekiq (#9936)
* Refactor:Move remove_old_notifications Rake Task to Sidekiq

* fix typo
2020-08-24 08:48:46 -04:00
Ben Halpern
17df627f0d
Mark Buffer as legacy (#9907)
* Mark Buffer as legacy

* Fix logic
2020-08-24 08:48:15 -04:00
rhymes
cf3db038c7
Update yarn lockfile (#9964) 2020-08-24 14:23:49 +02:00
dependabot-preview[bot]
0524054132
Bump autoprefixer-rails from 9.8.6.1 to 9.8.6.2 (#9939)
* Bump autoprefixer-rails from 9.8.6.1 to 9.8.6.2

Bumps [autoprefixer-rails](https://github.com/ai/autoprefixer-rails) from 9.8.6.1 to 9.8.6.2.
- [Release notes](https://github.com/ai/autoprefixer-rails/releases)
- [Changelog](https://github.com/ai/autoprefixer-rails/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ai/autoprefixer-rails/compare/9.8.6.1...9.8.6.2)

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

* Bump autoprefixer-rails from 9.8.6.1 to 9.8.6.2 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-24 12:05:22 +02:00
dependabot-preview[bot]
f7de47f1f4
Bump @storybook/addon-storyshots from 6.0.5 to 6.0.16 (#9953)
Bumps [@storybook/addon-storyshots](https://github.com/storybookjs/storybook/tree/HEAD/addons/storyshots/storyshots-core) from 6.0.5 to 6.0.16.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.0.16/addons/storyshots/storyshots-core)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-24 12:05:15 +02:00
rhymes
5f02c35ece
Fix Rubocop violations and merge Listing specs (#9963) 2020-08-24 12:04:29 +02:00
ludwiczakpawel
1776377234
Improve styling for series (#9893)
* .

* flare tag line height

* .

* series switcher

* .

* revert

* editor preview fix

* Fix broken spec

Co-authored-by: Mac Siri <krairit.siri@gmail.com>
Co-authored-by: rhymes <rhymes@hey.com>
2020-08-24 09:53:51 +02:00
dependabot-preview[bot]
c2e3f0e41d
Bump @rails/webpacker from 5.1.1 to 5.2.1 (#9948)
Bumps [@rails/webpacker](https://github.com/rails/webpacker) from 5.1.1 to 5.2.1.
- [Release notes](https://github.com/rails/webpacker/releases)
- [Changelog](https://github.com/rails/webpacker/blob/v5.2.1/CHANGELOG.md)
- [Commits](https://github.com/rails/webpacker/compare/v5.1.1...v5.2.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-08-24 08:27:53 +02:00
Michael Kohl
1f66056f28
[deploy] Stop using ProfileField#active Part 2 (#9911)
* Remove ProfileField#active

* Add schema.rb
2020-08-24 13:13:51 +07:00
dependabot-preview[bot]
7f0b515e85
Bump elasticsearch from 7.8.1 to 7.9.0 (#9941)
* Bump elasticsearch from 7.8.1 to 7.9.0

Bumps [elasticsearch](https://github.com/elastic/elasticsearch-ruby) from 7.8.1 to 7.9.0.
- [Release notes](https://github.com/elastic/elasticsearch-ruby/releases)
- [Changelog](https://github.com/elastic/elasticsearch-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/elastic/elasticsearch-ruby/compare/v7.8.1...v7.9.0)

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

* Bump elasticsearch from 7.8.1 to 7.9.0 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-24 07:29:57 +02:00
dependabot-preview[bot]
ade99f09be
Bump @babel/core from 7.11.1 to 7.11.4 (#9944)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.11.1 to 7.11.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.11.4/packages/babel-core)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-24 07:29:21 +02:00
dependabot-preview[bot]
295a030058
Bump @storybook/preact from 6.0.5 to 6.0.16 (#9950)
Bumps [@storybook/preact](https://github.com/storybookjs/storybook/tree/HEAD/app/preact) from 6.0.5 to 6.0.16.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.0.16/app/preact)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-24 07:29:05 +02:00
dependabot-preview[bot]
29a1b11abb
Bump @storybook/addon-a11y from 6.0.5 to 6.0.16 (#9942)
Bumps [@storybook/addon-a11y](https://github.com/storybookjs/storybook/tree/HEAD/addons/a11y) from 6.0.5 to 6.0.16.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.0.16/addons/a11y)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-24 07:28:36 +02:00
dependabot-preview[bot]
4e708378b3
Bump @storybook/addon-knobs from 6.0.5 to 6.0.16 (#9957)
Bumps [@storybook/addon-knobs](https://github.com/storybookjs/storybook/tree/HEAD/addons/knobs) from 6.0.5 to 6.0.16.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.0.16/addons/knobs)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-24 07:27:52 +02:00
Michael Kohl
5e59f7b79d
[deploy] Stop using ProfileField#active Part 1 (#9910)
* Stop using ProfileField#active

* Fix specs
2020-08-24 11:55:53 +07:00
dependabot-preview[bot]
ecd8416288
Bump rubocop-rspec from 1.42.0 to 1.43.1 (#9943)
* Bump rubocop-rspec from 1.42.0 to 1.43.1

Bumps [rubocop-rspec](https://github.com/rubocop-hq/rubocop-rspec) from 1.42.0 to 1.43.1.
- [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.42.0...v1.43.1)

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

* Bump rubocop-rspec from 1.42.0 to 1.43.1 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-24 11:48:49 +07:00
dependabot-preview[bot]
bee4a480fe
[deploy] Bump webpacker from 5.1.1 to 5.2.1 (#9945)
* Bump webpacker from 5.1.1 to 5.2.1

Bumps [webpacker](https://github.com/rails/webpacker) from 5.1.1 to 5.2.1.
- [Release notes](https://github.com/rails/webpacker/releases)
- [Changelog](https://github.com/rails/webpacker/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rails/webpacker/compare/v5.1.1...v5.2.1)

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

* Bump webpacker from 5.1.1 to 5.2.1 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-23 16:00:20 -04:00
dependabot-preview[bot]
d76c75f0ac
Bump oj from 3.10.8 to 3.10.12 (#9947)
* Bump oj from 3.10.8 to 3.10.12

Bumps [oj](https://github.com/ohler55/oj) from 3.10.8 to 3.10.12.
- [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.8...v3.10.12)

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

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-23 15:59:31 -04:00
dependabot-preview[bot]
a3d89b73ad
[deploy] Bump cloudinary from 1.16.1 to 1.17.0 (#9940)
* Bump cloudinary from 1.16.1 to 1.17.0

Bumps [cloudinary](https://github.com/cloudinary/cloudinary_gem) from 1.16.1 to 1.17.0.
- [Release notes](https://github.com/cloudinary/cloudinary_gem/releases)
- [Changelog](https://github.com/cloudinary/cloudinary_gem/blob/master/CHANGELOG.md)
- [Commits](https://github.com/cloudinary/cloudinary_gem/compare/1.16.1...1.17.0)

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

* Bump cloudinary from 1.16.1 to 1.17.0 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-23 14:46:31 -04:00
dependabot-preview[bot]
88f98d50ff
Bump redoc-cli from 0.9.10 to 0.9.11 (#9946)
Bumps [redoc-cli](https://github.com/Redocly/redoc) from 0.9.10 to 0.9.11.
- [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-08-23 14:46:11 -04:00
dependabot-preview[bot]
f38ba71d5d
Bump @testing-library/jest-dom from 5.11.3 to 5.11.4 (#9954)
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.11.3 to 5.11.4.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.11.3...v5.11.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-08-23 14:46:03 -04:00
dependabot-preview[bot]
be3ade7e51
Bump jest from 26.4.0 to 26.4.2 (#9956)
Bumps [jest](https://github.com/facebook/jest) from 26.4.0 to 26.4.2.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v26.4.0...v26.4.2)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-23 14:45:52 -04:00
dependabot-preview[bot]
34ab183dc2
Bump honeybadger from 4.7.1 to 4.7.2 (#9951)
* Bump honeybadger from 4.7.1 to 4.7.2

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

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

* Bump honeybadger 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-08-23 13:09:35 -04:00
dependabot-preview[bot]
405bd641bf
Bump twilio-ruby from 5.39.3 to 5.40.0 (#9952)
* Bump twilio-ruby from 5.39.3 to 5.40.0

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

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

* Bump twilio-ruby from 5.39.3 to 5.40.0 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-23 13:09:23 -04:00
rhymes
3afe269665
Add tech.lgbt to allowed Mastodon instances (#9959) 2020-08-23 12:51:27 -04:00
Azri Kahar
64870d72c1
Fix incomplete inline CSS style (#9960)
* Update tag_index.html.erb

* Update index.html.erb
2020-08-23 12:50:25 -04:00
Emma Goto
34e5b68182
[deploy] Add ability to turn off reaction notifications in notification settings (#9435)
* Add ability to turn off reaction notifications in notification settings

* Rename article_reaction_notifications to react-Notifications

* Rename platform notification settings to general notification settings and add reactions toggle

* Fix new_reaction_worker_spec

Co-authored-by: rhymes <rhymes@hey.com>
Co-authored-by: Molly Struve <mollylbs@gmail.com>
2020-08-23 16:54:36 +02:00
Jacob Herrington
c0d86649a4
Fix general accessibility warnings in admin (#9927)
* Fix general accessibility warnings in admin

* Update app/views/admin/webhook_endpoints/index.html.erb

Co-authored-by: Julianna Tetreault <32834804+juliannatetreault@users.noreply.github.com>

* Update app/views/admin/organizations/show.html.erb

Co-authored-by: Julianna Tetreault <32834804+juliannatetreault@users.noreply.github.com>

Co-authored-by: Julianna Tetreault <32834804+juliannatetreault@users.noreply.github.com>
2020-08-23 16:15:27 +02:00
Molly Struve
8574153b07
[deploy] Refactor:Move Remove Old HTML Variant Data task to Sidekiq (#9925) 2020-08-22 18:36:22 -05:00
ludwiczakpawel
cbb85c430c
Long titles wrapping (#9915)
* .

* .

* ffs revert

* other places too
2020-08-22 17:18:32 +02:00
Molly Struve
4308914fe8
[deploy] Refactor:Move send_email_digest Rake Task to Sidekiq (#9929) 2020-08-22 08:26:30 -05:00
ludwiczakpawel
46acac17dc
Updating design of Feed Card (#9918)
* .

* resposniveness

* tags
2020-08-22 09:59:28 +02:00
ludwiczakpawel
356af96731
Liquid tag z index (#9914)
* .

* z-index fix

* wtf revert
2020-08-21 18:40:21 -04:00
Arit Amana
03a89c4a4a
[Admin Tooling] Styling improvements to Chat Channels page (#9926)
* Styling changes to Chat Channel page

* Update text to be clearer

* Make chnages from PR review

* Fix failing spec

* Fix spec
2020-08-21 15:35:13 -04:00
Mac Siri
76de9a0317
[deploy] Replace #cloudinary with #optimized_image_url (#9876) 2020-08-21 14:46:00 -04:00
Molly Struve
e371446833
Use APP_DOMAIN Locally if Set (#9920) 2020-08-21 12:57:36 -04:00
Molly Struve
060ed32c48
Refactor:Send Welcome Broadcast Notifications From Sidekiq (#9923)
* Refactor:Send Welcome Broadcast Notifications From Sidekiq

* remove old spec and add to new one
2020-08-21 12:57:08 -04:00
Molly Struve
e8b14dec83
Refactor:Move prune_old_field_tests Rake to Sidekiq Cron (#9924) 2020-08-21 12:56:42 -04:00
Vaidehi Joshi
9e40e68682
Allow Nginx cached static content to be purged (#9857) [deploy]
* Only bust_fastly_cache if fastly is enabled

* Conditionally bust nginx cache from CacheBuster#bust

* Don't _actually_ call out to openresty

* Remove redundant check for FASTLY_API_KEY in CacheBuster

* Clean up and add a spec

* Do not call .purge_ methods if fastly is not configured

* Add OPENRESTY_ ENV vars to .env_sample

* Remove extra / prepending path

* Remove ConfigurationError, clean up Purgeable concern

* Use raise instead of fail like fastly-ruby

* No longer check for Rails.env.production?

* Use let! to create article in BustMultipleCachesWorker spec
2020-08-21 09:31:23 -07:00
ludwiczakpawel
07adb7eab9
Sponsors fix (#9905)
* .

* .

* responsiveness

* spacing
2020-08-21 09:56:48 -04:00