Commit graph

5758 commits

Author SHA1 Message Date
Rafi
6f3e89f4ed
Rendering html entity in home feed (#8472) 2020-06-16 13:39:07 -04:00
Mac Siri
715a6ff130
[deploy] Update FlareTag not to cache AR object (#8430) 2020-06-16 13:37:08 -04:00
Raphael Noriode
9ada1dda10
Fix Colour Contrast on the User Profile Header (#8406) 2020-06-16 13:36:27 -04:00
Molly Struve
85f784a76c
[deploy] Optimization: Cache Article cache_tagged_with Counts (#8712) 2020-06-16 12:26:52 -05:00
Lisa Sy
bfe663f407
Update chat container of Connect (#8456)
* Update chat container of Connect

- Rename certain class names to improve BEM syntax and naming
- Update typography of message cells
- Update header of message area
- Use new 'info' icon to expand sidebar
- Update form fields for both writing and editing a message
- Implement Crayons styling for 'delete' modal

https://github.com/thepracticaldev/dev.to/issues/8437

* Update some tests aand class names

* Update tests
2020-06-16 10:23:56 -07:00
rhymes
5d4f24c4ae
Remove Audit::Event::Util (#8704)
* Remove Audit::Event::Util

* Fix flaky spec
2020-06-16 12:50:53 -04:00
Molly Struve
e47037087d
[deploy] Optimization: Remove unused indexes from Postgres (#8693) 2020-06-16 11:13:38 -05:00
Molly Struve
8ce292870e
[deploy] Bug Fix: Dont Freeze Timeframer Timestamps bc They Will be Inaccurate (#8708) 2020-06-16 10:42:31 -05:00
Ben Halpern
9187c0b6bf
[deploy] Add special footer mascot image to config (#8692) 2020-06-16 11:29:37 -04:00
Raphael Noriode
1dcd83746b
[deploy] Label Experience Level Scale in User Settings (#8454)
* Add labels to the experience levels in user settings

* modify helper methods to seperate module

* rename uxhelper to settingshelper for better understanding
2020-06-16 15:41:30 +02:00
Molly Struve
c6244dcc7f
Flaky Spec Fix: Replace let_it_be_changeable with let for stripe spec (#8698) 2020-06-16 11:09:52 +02:00
rhymes
c753375daa
Routine rubocop fixes (#8685)
* rubocop -a

* rubocop --auto-gen-config

* Fix spec
2020-06-16 11:09:15 +02:00
Molly Struve
9301a12726
[deploy] Update Rack to Fix Bundle Audit Failure (#8696) 2020-06-15 18:54:27 -05:00
Ben Halpern
b51647c59a
[deploy] Remove unnecessary comment links and clean up logic (#8686)
* Remove unnecessary comment links and clean up logic

* Fix links
2020-06-15 17:40:21 -04:00
narender2031
8b9670abd7
Skynox/fix eslint and redirection bug (#8513)
* Feature 🚀 : Ability to delete messages in chat channels

- Sending message ID to frontend
- Deleting Message
- Use pusher to delete message realtime

* Minor Bug 🐞: Show message action only for current user

- User can delete or edit their own messages

* Test cases added

* Bug 🐞: Update message id for receiver

Message id was not sent to receiver by pusher

* Refactoring🛠: Message controller refactoring

* Test Cases📝 : Specs for Delete message added

* Feature 🚀 : Ability to edit messages

* Test Cases📝 : Specs for Edit message added

* fix Content component esLint issue

* fix @all link

Co-authored-by: Sarthak Sharma <7lovesharma7@gmail.com>
2020-06-15 17:00:41 -04:00
Molly Struve
93443c7e27
Flaky Spec Fix: Ensure Article Titles are Unique (#8689) 2020-06-15 15:11:41 -05:00
dependabot-preview[bot]
b93bd56ce3
Bump eslint-plugin-import from 2.20.2 to 2.21.2 (#8635) 2020-06-15 14:24:12 -04:00
Andy Zhao
3d5a5fc18e
[deploy] Always set the default email address to ENV variable (#8687)
* Always set the default email address to env variable

* Hide the default to prevent editing, and b/c it's shown above as readonly

* Check if email address param is present
2020-06-15 13:39:29 -04:00
Mac Siri
25173a81ac
[deploy] Update ReactionsController not to cache AR Object (2nd attempt) (#8452) 2020-06-15 12:54:54 -04:00
Alberto Pérez de Rada Fiol
a878d42fa7
Fix liquid tags overflow (#8369)
* Fix liquid tags overflowing comment box in notifications

* Prevent tags from being too wide
2020-06-15 18:29:38 +02:00
rhymes
582d32393c
Small ActiveRecord optimizations: begone race conditions and hello bulk insert (#8436)
* Replace PollSkips find_or_create_by with create_or_find_by

* Use insert_all to add users to a channel in bulk

* Use bulk insert for DataUpdateScript and set private what shall be private

* oops
2020-06-15 17:57:14 +02:00
rhymes
380adc30ed
[deploy] Remove user_counters table (#8445) 2020-06-15 11:46:02 -04:00
ludwiczakpawel
75c81b542f
[deploy] Branded authentication buttons (#8679)
* flare tag line height

* .

* init styling

* social buttons

* no need for inverted

* other places

* more

* Fix specs

Co-authored-by: rhymes <rhymesete@gmail.com>
2020-06-15 17:34:07 +02:00
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