Commit graph

3410 commits

Author SHA1 Message Date
Molly Struve
ce1bc8d2a4
Revert "Setup dual Redis store for rolling over fragment cacheing to Redis (#4991)" (#5014) [deploy]
This reverts commit e871a01c01.
2019-12-05 14:03:41 -06:00
Molly Struve
e871a01c01
Setup dual Redis store for rolling over fragment cacheing to Redis (#4991) [deploy] 2019-12-05 13:19:01 -06:00
Molly Struve
834eb51e98
Replace Airbrake with Honeybadger (#5007) [deploy] 2019-12-05 11:29:51 -06:00
John Curcio
02c2a0808f Add publication date to medium liquid tag (#4961) (#5002) [deploy]
* Add publication date to medium liquid tag

* Add time tag to publication date and fix timezone issue
2019-12-05 11:19:10 -05:00
rhymes
193bbd7349 Explain why we can't enable certain Rails 5.2 features just yet (#5005) 2019-12-04 11:08:02 -06:00
rhymes
e4b0331184 Update initializer and locales to doorkeeper 5.2.2 (#5004) 2019-12-04 11:44:46 -05:00
rhymes
62edf443f3 Add FKs to notifications_subscriptions, page_views and users_roles (#4999) [deploy] 2019-12-04 10:14:57 -06:00
Mac Siri
2223dd0e9f
Update Stalebot's message [ci skip] 2019-12-03 19:21:29 -05:00
Anna Buianova
c5cb526cdd Specify on_duplicate_key_update when creating notifications to avoid constraint violation (#4993) [deploy] 2019-12-03 16:24:46 -05:00
Ben Halpern
c7ed970c02
Change copy on jump back button in /connect (#5001) [deploy] 2019-12-03 16:07:17 -05:00
Sarthak Sharma
147b0936df Feature🚀: Ability to see chat history by scrolling up (#4903)
* Feature🚀: Ability to see chat history by scrolling up

* Test samples updated

* Feature Enhancement 🛠 :  Jump back to recent messages

If you scroll far away just click this button to go back

![img](https://i.imgur.com/HlhB8Up.gif)

* Test case added

* Bug Fix 🐞: Scrolling problem with large screen and re-rendering issue
2019-12-03 15:19:04 -05:00
rhymes
d9803fef13 Enable default protect from forgery (#4827) [deploy] 2019-12-03 14:53:39 -05:00
dependabot-preview[bot]
1a90472bee Bump doorkeeper from 5.1.0 to 5.2.2 (#4990) [deploy]
Bumps [doorkeeper](https://github.com/doorkeeper-gem/doorkeeper) from 5.1.0 to 5.2.2.
- [Release notes](https://github.com/doorkeeper-gem/doorkeeper/releases)
- [Changelog](https://github.com/doorkeeper-gem/doorkeeper/blob/master/CHANGELOG.md)
- [Commits](https://github.com/doorkeeper-gem/doorkeeper/compare/v5.1.0...v5.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-03 13:47:00 -05:00
Mac Siri
2ee4e703eb
Remove disable_indented_code_blocks (#4988) [deploy]
We have decided enable indented-code-block because it is an expected
markdown feature. The trade-off here is that backticks will cause
rendering issues in codeblock.
2019-12-03 13:04:53 -05:00
rhymes
e62f5ada21 Add missing fks to api_secrets, listings and identities (#4997) [deploy] 2019-12-03 10:59:13 -06:00
dependabot-preview[bot]
8a5180f6dc Bump rails from 5.2.3 to 5.2.4 (#4984) [deploy]
Bumps [rails](https://github.com/rails/rails) from 5.2.3 to 5.2.4.
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](https://github.com/rails/rails/compare/v5.2.3...v5.2.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-03 11:32:13 -05:00
rhymes
d76c914f68 Set default Fastly Rails caching back to 30 days (#4996)
* Set default Fastly Rails caching back to 30 days

* Update reactions spec to use Fastly values instead of harcoded ones
2019-12-03 11:29:25 -05:00
rhymes
1c0a9f8198 Add missing foreign keys to tag_adjustments (#4994) [deploy] 2019-12-03 09:48:43 -06:00
Ben Halpern
585d672742
Replace serviceworker-rails gem with custome implementation (#4987) [deploy]
* Customize UserContext in Timber logs

* Replace serviceworker-rails gem with custome implementation
2019-12-03 08:50:56 -05:00
Mac Siri
8e9c26b6ab Add fosstodon to mastadon whitelist (#4992) 2019-12-03 08:50:20 -05:00
Bolarinwa Balogun
54d8762af2 Chat: Remove Report Button from user's own profile sidebar (#4604) [deploy]
* Remove Report Button from user's own profile sidebar

* Update UserDetails test file to include window

* Uncomment code and Add tests

* Resolve issue with display property change persisting

* Update snapshot

* Uncomment line of code
2019-12-02 16:35:47 -05:00
Molly Struve
247833a952 Remove unused giveaways code (#4989) [deploy] 2019-12-02 15:23:28 -05:00
Sven Efftinge
ac8865b92b Disable .ruby-version dependency on GitPod (#4979) 2019-12-02 15:07:23 -05:00
dependabot-preview[bot]
b5f5ba0cb2 Bump feedjira from 3.0.0 to 3.1.0 (#4920)
Bumps [feedjira](https://github.com/feedjira/feedjira) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/feedjira/feedjira/releases)
- [Changelog](https://github.com/feedjira/feedjira/blob/master/CHANGELOG.md)
- [Commits](https://github.com/feedjira/feedjira/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-02 14:41:59 -05:00
dependabot-preview[bot]
53e319a78a Bump aws-sdk-lambda from 1.32.0 to 1.33.0 (#4980) [deploy] 2019-12-02 13:57:20 -05:00
dependabot-preview[bot]
6f6f453e6c Bump eslint-plugin-react from 7.16.0 to 7.17.0 (#4978) 2019-12-02 13:56:30 -05:00
dependabot-preview[bot]
a4c4cd8a1c Bump oj from 3.9.2 to 3.10.0 (#4985) 2019-12-02 13:55:33 -05:00
Ben Halpern
ff9b1cdeaa
Customize UserContext in Timber logs (#4972) [deploy] 2019-12-02 13:21:52 -05:00
dependabot-preview[bot]
fd06211fb4 Bump cloudinary from 1.13.0 to 1.13.1 (#4981) [deploy]
Bumps [cloudinary](https://github.com/cloudinary/cloudinary_gem) from 1.13.0 to 1.13.1.
- [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.13.0...1.13.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-02 13:18:19 -05:00
dependabot-preview[bot]
5b18a1055b Bump brakeman from 4.7.1 to 4.7.2 (#4983) 2019-12-02 13:17:41 -05:00
dependabot-preview[bot]
8be53b5cad Bump autoprefixer-rails from 9.7.1 to 9.7.3 (#4986) 2019-12-02 13:16:37 -05:00
Molly Struve
1979ad13f3 replace DEPLOYMENT_SIGNATURE with HEROKU_SLUG_COMMIT to bust caches on deploy (#4950) [deploy] 2019-12-02 12:51:04 -05:00
dependabot-preview[bot]
70103711ca Bump actionpack-action_caching from 1.2.0 to 1.2.1 (#4982)
Bumps [actionpack-action_caching](https://github.com/rails/actionpack-action_caching) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/rails/actionpack-action_caching/releases)
- [Changelog](https://github.com/rails/actionpack-action_caching/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rails/actionpack-action_caching/compare/v1.2.0...v1.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-02 09:04:36 -05:00
dependabot-preview[bot]
bd8f746f1f Bump lint-staged from 9.4.3 to 9.5.0 (#4974)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 9.4.3 to 9.5.0.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v9.4.3...v9.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-02 08:56:11 -05:00
Ben Halpern
90892bf692
Modify cache rate for additional_content_boxes (#4968) [deploy] 2019-11-29 17:07:22 -05:00
Mohamed ABDELLANI
0039e67467 Add redis container to docker-compose (#4965)
* Add redis container to docker-compose [fix issue 4962]

* Updates docker.md
2019-11-29 17:06:56 -05:00
Anna Buianova
bff6cd6985 Fix podcast episode validation error (#4967) [deploy]
* Started fixing podcast episode bug

* Fix the specs for create podcast episode
2019-11-29 16:16:19 -05:00
Bolarinwa Balogun
5fc0a12f26 Resolve TypeError when clearing new changes in articleform (#4963) [deploy]
* Resolve TypeError when clearing new changes in articleform

* Revert cursor change
2019-11-29 14:40:19 -05:00
Jacob Herrington
c669ac4e86 Expand the contributing guide (#4947)
* Add 80 character linewrap

* Expand the contributing guide [ci skip]

This commit includes a couple of expansions on the contributing guide
including some notes concerning documentation and the code of conduct.

There are also some small mechanical fixes and a link or two was fixed.
2019-11-29 13:51:38 -05:00
Anna Buianova
cfd5434d6c User deletion by email (#4863) [deploy]
* Action to request account deletion by email

* Confirmation page for user destroy

* Remove some of the old destroy user code

* System tests for user destroy

* Moved user destroy tokens to redis

* Change tests according to the new user destroy token storage (in redis)

* Added info about the link to user delete confirmation email

* Remove blank like from schema.rb

* Delete user destroy token on user delete

* Update confirm user destroy js
2019-11-29 13:47:11 -05:00
jeffin sam
f023a00d9f add html_css_to_image to RedisRailsCache (#4753) [deploy] 2019-11-28 09:44:31 -05:00
Ben Halpern
5bcdeb5162
Fix black-on-black etc. buttons and update social preview cards (#4954)
* Fix black-on-black etc. buttons and update social preview cards

* Change up font family details

* Fix org badges

* Adjust fonts for user name

* Add roboto to font stack

* Adjust gradiant
2019-11-28 09:39:07 -05:00
Jacob Herrington
845b07aae3 Update readme formatting (#4943)
* Update readme to adopt expected markdown wrapping

In another commit (7d0aeee), we chose to lean on Prettier for
linewrapping markdown files at 80 characters. The reasoning is explained
in that commit message, but briefly: enforcing linewrapping in
documentation files makes the git history cleaner over time, allowing
more specific git blames and more context for people working on
documentation in the future.

This commit applies that same change to the README.

* Remove duplicated documentation [ci skip]

The information regarding installation is available at docs.dev.to,
maintaining that information here is duplication and very likely to fall
out of sync (for example, the readme is currently missing the Redis
dependency) with current information.

Therefore, it's probably better to just remove this stuff and link
directly to our more complete documentation so that people aren't
misled by potentially out of date information in the readme.
2019-11-27 09:53:55 -05:00
Ben Halpern
b938dab91b
Add ApplicationMetalController to relevant controllers (#4937)
* Add ApplicationMetalController to relevant controllers

* Add request forgery protection to metal

* Remove logger call

* Add logger keyword and skip protect_from_forgery in test

* Uncomment main_image in test
2019-11-26 16:29:07 -05:00
sibi
b7e890e382 Cleanup JS part as suggested under users/_accounthtml.erb (#4876) [deploy] 2019-11-26 16:21:25 -05:00
Ben Halpern
eaf6ea2f4b
Update pageviews count less often in page_views_controller (#4945) [deploy] 2019-11-26 14:11:47 -05:00
Molly Struve
3be406290a
Store FollowChecker responses to Avoid Multiple db Hits (#4886) [deploy] 2019-11-26 13:03:19 -06:00
rhymes
0ffa127481 Refactor session_current_user_id in a shared concern (#4936) 2019-11-26 13:21:56 -05:00
rhymes
c08e5f0a25 Remove rubyzip initializer (#4935) [deploy]
No longer necessary on Rubyzip 2
2019-11-26 11:25:16 -05:00
rhymes
87116dcc56 Increase efficiency in models/article_spec.rb (#4882) [deploy]
* Add test sampler

* Use let! and let_it_be for article_spec.rb

* Regroup and restructure expectations and tests

* Move private methods in private

* Decrease the needed objects in .seo_boostable test

* Re-use the user

* Newlined
2019-11-26 10:32:39 -05:00