Commit graph

6806 commits

Author SHA1 Message Date
Molly Struve
3be3fcf5d0
[deploy] Refactor:Remove Unused Faraday Http Cache Gem (#10351) 2020-09-18 08:31:27 -05:00
Anna Buianova
fec947ce45
More detailed notification when setup is not completed (#10375) 2020-09-18 09:24:49 -04:00
Lennart Melzer
b24c96010d
add image in podcast seeds in suggested way (#10371)
as described in [the carrierwave wiki](7041728c73)

otherwise seeding fails on Podcast validations:

```
ActiveRecord::RecordInvalid: Validation failed: Image Image has an unsupported type, Image can't be blank
/opt/apps/bundle/gems/activerecord-6.0.3.3/lib/active_record/validations.rb:80:in `raise_validation_error'
/opt/apps/bundle/gems/activerecord-6.0.3.3/lib/active_record/validations.rb:53:in `save!'
...
/opt/apps/forem/db/seeds.rb:267:in `block (2 levels) in <main>'
/opt/apps/forem/db/seeds.rb:266:in `each'
/opt/apps/forem/db/seeds.rb:266:in `block in <main>'
/opt/apps/forem/db/seeds.rb:19:in `create_if_none'
/opt/apps/forem/db/seeds.rb:206:in `<main>'
```
2020-09-18 09:06:37 +02:00
Michael Kohl
6d1984163e
Add opacity to HexComparer (#10361)
* Refactor code

* Add opacity method
2020-09-18 13:49:03 +07:00
Molly Struve
86cb66e858
[deploy] Feature: Serve Reading List from FeedContent Index (#10294)
* Feature:Serve Reading List from FeedContent Index
* Fix paging, order ID desc, improve comments
2020-09-17 17:20:14 -05:00
Brunno Souza
9272da5ee8
Remove exceeded line (#10290) 2020-09-17 11:28:03 -06:00
rhymes
19c8d219bc
[deploy] Hide column backup_data.json_data from Blazer via Hypershield (#10364) 2020-09-17 09:28:09 -05:00
Robin Gagnon
565a523a19
[deploy] fix: Start podcast record spinning animation from where it paused (#10343)
* fix: Start podcast record spinning animation from where it paused

* fix: Use CSS custom property for podcast spinning animation

* fix: Apply podcast animation fix on podcast liquid tag
2020-09-17 08:11:31 -06:00
Molly Struve
0f6030262f
Bug Fix:Make entrypoint-dev.sh Runnable (#10359) 2020-09-16 19:08:43 -05:00
Takuma
e6ee6e3662
Fix broken links to admin guide in document (#10295) 2020-09-16 17:22:15 -05:00
Joe Doss
f34dbf4693
Better production container precompiling and bootstrapping (#10280)
* Create entrypoint-dev.sh to be used with devel workflows with docker/podman compose
and adjust the compose files to use it.

* Adjust the entrypoint script so we have better control over when we run
rake assets:precompile and rake app_initializer:setup.

* Copy vendor/cache so we can bundle install from cached gems instead of
fetching them from the Internet.

* Run rake assets:precompile in the container build.

* Add in clobber and clean tasks to entrypoint.
2020-09-16 16:59:19 -05:00
Michael Kohl
ebc894a07c
[deploy] Changes to profile field indexing (#10313)
* Update mapping

* Update user search serializer

* Add data update script for reindexing users

* Only index roles for persisted users

* Add conditional to profile search serialization

* Update data update scripts

* Update spec for data update script
2020-09-16 17:15:22 -04:00
ludwiczakpawel
3bce5b9bdf
codesnippet text wrapping fix on safari (#10346) 2020-09-16 17:02:17 -04:00
ludwiczakpawel
4bf69e64c5
Update search menu to use Crayons styling, v2 (#10347)
* Replace old query style with crayons link block

* Add Crayons layout

* Rename nav file and refactor how it's referenced in parent file

* Rename sidebar file

* style updates

* more changes

* podcasts

* .

* code format

Co-authored-by: Lisa Sy <lisasyis@gmail.com>
2020-09-16 22:03:34 +02:00
Ben Halpern
3e09a7768f
[deploy] Remove need for ENV vars during asset precompile (#10349)
* Remove need for ENV vars during asset precompile

* Add open-search test
2020-09-16 13:57:05 -04:00
rhymes
5ba8c44b05
[deploy] Add missing foreign keys to ahoy_messages and articles (#10321)
* Add FK between ahoy_messages and feedback_messages

* Add FKs between articles.second_user_id, articles.third_user_id and users

* Fix associations and specs

* Add more validations

* Remove FKs to articles.second_user_id and .third_user_id as they are about to be removed
2020-09-16 19:47:03 +02:00
Molly Struve
e7e31f4d10
[deploy] Bug Fix/Optimization:Remove HttpCache from Github OauthClient (#10350) 2020-09-16 09:29:06 -05:00
Molly Struve
13fb5c4278
[deploy] Optimization:Store Podcast Ep Data in Redis, Rather than Sending as Sidekiq Argument (#10331) 2020-09-16 08:26:38 -05:00
Molly Struve
b67a750319
Optimization:Use Locally Bundled Gems in Containers (#10344) 2020-09-16 10:00:21 +07:00
Rafi
8e46763a49
Adding note about branch naming (#10320) 2020-09-15 16:37:12 -05:00
Rafi
915c4ea476
Fixing links to tracking section in docs (#10326) 2020-09-15 16:35:50 -05:00
Molly Struve
bfcba3f560
[deploy] Optimization:Use delete_by when Destroying HtmlVariant Trials and Successes (#10332) 2020-09-14 15:40:30 -05:00
Molly Struve
b9598ad7d5
Flaky Spec Fix:Ensure We Fill In Article Content Successfully with More Targeted tag (#10330) 2020-09-14 14:28:51 -05:00
Fernando Valverde
1aa8233d9e
Adds runtime copy to clipboard (#10323) 2020-09-14 14:45:54 -04:00
Molly Struve
3a04f742f9
Flaky Spec Fix:Ensure Page View Domains are Unique for Analytics Service Spec (#10329) 2020-09-14 13:41:14 -05:00
Molly Struve
7dcf2ad97e
Flaky Spec Fix:Set Expired Listing to 2 days ago (#10327) 2020-09-14 12:46:08 -05:00
Molly Struve
7520caf0e2
[deploy] Refactor:Remove ReadingList Labor Class, Replace with user Method (#10322) 2020-09-14 11:37:59 -05:00
Molly Struve
f2b59cc882
Optimization:Only Enqueue UpdateMainImageBackgroundHexWorker If Main Image Changes (#10325) 2020-09-14 11:37:38 -05:00
rhymes
f0b124cc26
[deploy] Add unique index on articles user_id, title and body_markdown (#10284)
* Add unique index on articles user_id, title and body_markdown

* Add test
2020-09-14 16:11:12 +02:00
rhymes
f6e24bc85b
Stop pinging sitemap tools locally (#10314) 2020-09-14 16:10:52 +02:00
rhymes
83d37df4d7
[deploy] Cleanup articles with duplicate user_id, title and body_markdown (#10273)
* Add script to delete draft articles

* Add script to de-duplicate published articles

* Ignore NotificationSubscription, Notification and RatingVote
2020-09-14 15:38:53 +02:00
Takuma
b6200c8414
[deploy] Fix SiteConfig's default of authentication_providers field (#10310) 2020-09-14 08:18:13 -05:00
Vaidehi Joshi
abe2489394
Hide active broadcasts from /connect routes (#10312)
Fixes https://github.com/forem/forem/issues/9683.
Also refactors the initializeBroadcast function to handle all
broadcast-related logic, and removes broadcast checks from the articleForm component.
2020-09-14 11:28:18 +02:00
dependabot-preview[bot]
193b93c599
Bump ddtrace from 0.39.0 to 0.40.0 (#10309)
* Bump ddtrace from 0.39.0 to 0.40.0

Bumps [ddtrace](https://github.com/DataDog/dd-trace-rb) from 0.39.0 to 0.40.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.39.0...v0.40.0)

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

* Bump ddtrace from 0.39.0 to 0.40.0 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-14 08:26:58 +02:00
Rafi
7a277ce6b9
Removing duplicate date formatting for listing expiry date in listing dashboard (#10264)
* Duplicate date formatting for listing expiry

* Fixing formatting
2020-09-14 08:25:22 +02:00
dependabot-preview[bot]
691c617b81
Bump css-loader from 4.2.2 to 4.3.0 (#10301)
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 4.2.2 to 4.3.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/v4.2.2...v4.3.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-09-14 08:18:03 +02:00
dependabot-preview[bot]
ef7fc28cfd
Bump knapsack_pro from 2.2.1 to 2.3.0 (#10297)
* Bump knapsack_pro from 2.2.1 to 2.3.0

Bumps [knapsack_pro](https://github.com/KnapsackPro/knapsack_pro-ruby) from 2.2.1 to 2.3.0.
- [Release notes](https://github.com/KnapsackPro/knapsack_pro-ruby/releases)
- [Changelog](https://github.com/KnapsackPro/knapsack_pro-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/KnapsackPro/knapsack_pro-ruby/compare/v2.2.1...v2.3.0)

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

* Bump knapsack_pro from 2.2.1 to 2.3.0 (Update vendor/cache)

* Set KNAPSACK_PRO_MAX_REQUEST_RETRIES to 0 for Forks

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: mstruve <mollylbs@gmail.com>
2020-09-14 11:39:20 +07:00
Michael Kohl
7b729bbf06
[deploy] Move video_duration_in_minutes_integer to serializer (#10268)
* Move video_duration_in_minutes_integer to serializer

* Add data update script to reindex video articles
2020-09-14 09:47:54 +07:00
dependabot-preview[bot]
4afa52f591
Bump eslint from 7.8.1 to 7.9.0 (#10305)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-13 22:31:15 -04:00
rhymes
b90bbdd87a
[deploy] Fix URL.domain in development by correctly loading authentication providers (#10296) 2020-09-13 16:49:18 -05:00
dependabot-preview[bot]
0fba78a611
[deploy] Bump sidekiq-unique-jobs from 6.0.22 to 6.0.23 (#10300)
* Bump sidekiq-unique-jobs from 6.0.22 to 6.0.23

Bumps [sidekiq-unique-jobs](https://github.com/mhenrixon/sidekiq-unique-jobs) from 6.0.22 to 6.0.23.
- [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.22...v6.0.23)

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

* Bump sidekiq-unique-jobs from 6.0.22 to 6.0.23 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-13 16:12:05 -05:00
dependabot-preview[bot]
06d4b83d1c
Bump sidekiq from 6.1.1 to 6.1.2 (#10304)
* Bump sidekiq from 6.1.1 to 6.1.2

Bumps [sidekiq](https://github.com/mperham/sidekiq) from 6.1.1 to 6.1.2.
- [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.1...v6.1.2)

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

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-13 16:11:50 -05:00
dependabot-preview[bot]
5e0a187bba
Bump husky from 4.2.5 to 4.3.0 (#10303)
Bumps [husky](https://github.com/typicode/husky) from 4.2.5 to 4.3.0.
- [Release notes](https://github.com/typicode/husky/releases)
- [Changelog](https://github.com/typicode/husky/blob/master/CHANGELOG.md)
- [Commits](https://github.com/typicode/husky/compare/v4.2.5...v4.3.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-09-13 17:09:07 -04:00
dependabot-preview[bot]
ce52bd6cfd
[deploy] Bump counter_culture from 2.6.0 to 2.6.1 (#10299)
* Bump counter_culture from 2.6.0 to 2.6.1

Bumps [counter_culture](https://github.com/magnusvk/counter_culture) from 2.6.0 to 2.6.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.6.0...v2.6.1)

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

* Bump counter_culture from 2.6.0 to 2.6.1 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-13 14:28:03 -05:00
dependabot-preview[bot]
03744e0e4c
Bump brakeman from 4.9.0 to 4.9.1 (#10302)
* Bump brakeman from 4.9.0 to 4.9.1

Bumps [brakeman](https://github.com/presidentbeef/brakeman) from 4.9.0 to 4.9.1.
- [Release notes](https://github.com/presidentbeef/brakeman/releases)
- [Changelog](https://github.com/presidentbeef/brakeman/blob/main/CHANGES.md)
- [Commits](https://github.com/presidentbeef/brakeman/compare/v4.9.0...v4.9.1)

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

* Bump brakeman from 4.9.0 to 4.9.1 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-13 14:27:39 -05:00
dependabot-preview[bot]
fec0c0b89a
Bump ahoy_matey from 3.0.4 to 3.0.5 (#10306)
* Bump ahoy_matey from 3.0.4 to 3.0.5

Bumps [ahoy_matey](https://github.com/ankane/ahoy) from 3.0.4 to 3.0.5.
- [Release notes](https://github.com/ankane/ahoy/releases)
- [Changelog](https://github.com/ankane/ahoy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ankane/ahoy/compare/v3.0.4...v3.0.5)

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

* Bump ahoy_matey from 3.0.4 to 3.0.5 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-13 14:27:11 -05:00
dependabot-preview[bot]
2565cf939b
Bump jbuilder from 2.10.0 to 2.10.1 (#10307)
* Bump jbuilder from 2.10.0 to 2.10.1

Bumps [jbuilder](https://github.com/rails/jbuilder) from 2.10.0 to 2.10.1.
- [Release notes](https://github.com/rails/jbuilder/releases)
- [Changelog](https://github.com/rails/jbuilder/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rails/jbuilder/compare/v2.10.0...v2.10.1)

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

* Bump jbuilder from 2.10.0 to 2.10.1 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-13 14:26:50 -05:00
Molly Struve
0cdbf46828
[deploy] Refactor:Remove unused ReadingList Labor methods (#10292) 2020-09-13 13:45:14 -05:00
dependabot-preview[bot]
fcc02ff913
Bump honeycomb-beeline from 2.1.2 to 2.2.0 (#10298)
* Bump honeycomb-beeline from 2.1.2 to 2.2.0

Bumps [honeycomb-beeline](https://github.com/honeycombio/beeline-ruby) from 2.1.2 to 2.2.0.
- [Release notes](https://github.com/honeycombio/beeline-ruby/releases)
- [Commits](https://github.com/honeycombio/beeline-ruby/compare/v2.1.2...v2.2.0)

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

* Bump honeycomb-beeline from 2.1.2 to 2.2.0 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-13 13:44:56 -05:00
dependabot-preview[bot]
8f3f907313
Bump blazer from 2.2.6 to 2.2.7 (#10308)
* Bump blazer from 2.2.6 to 2.2.7

Bumps [blazer](https://github.com/ankane/blazer) from 2.2.6 to 2.2.7.
- [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.6...v2.2.7)

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

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-13 13:43:10 -05:00