No description
Find a file
rhymes 87167de8c5 Use correct cache keys on the articles API index endpoint (#5606) [deploy]
Surrogate keys are about setting expectations on cache purging.

Presently we use a combination of all parameters to set changing surrogate keys depending on the result of the `ArticleApiIndexService`. This approach has two limitations:

- if two set of params lead to the same exact set of articles, we still create two different caches

- deleted articles will remain for 24 hours in the cache because the cache key doesn't take the record keys into account

By simply using record keys we make sure that different params leading to the same result set will share the same cache and that deleted keys won't appear anymore in the cache.
2020-01-23 08:40:19 -05:00
.github Delete stale.yml (#5649) 2020-01-22 15:56:09 -05:00
.vscode Remove code related to vscode color customization (#5235) 2019-12-24 13:12:54 -05:00
app Use correct cache keys on the articles API index endpoint (#5606) [deploy] 2020-01-23 08:40:19 -05:00
bin Switch from chromedriver-helper to webdrivers (#2465) [ci skip] 2019-04-16 13:46:23 -04:00
config Apply Monkey Patch To Attempt To Fix Sidekiq Admin UI (#5634) [deploy] 2020-01-22 14:46:24 -05:00
datadog Disable Beeline on Schedulers and in Console (#5561) 2020-01-17 13:56:59 -05:00
db Introduce BanishedUser table (#5589) [deploy] 2020-01-21 17:15:58 -05:00
docs Add note to help debug bin/setup issues. (#5651) 2020-01-22 14:37:08 -08:00
lib Add initial usage metrics for datatog (#5544) [deploy] 2020-01-16 12:59:17 -05:00
log
public Guard for presence of page-content in JS (#5138) [deploy] 2019-12-16 14:02:59 -05:00
scripts Git scripts to sync or reset repository fork (#5055) 2019-12-30 13:58:16 -05:00
spec Use correct cache keys on the articles API index endpoint (#5606) [deploy] 2020-01-23 08:40:19 -05:00
vendor/assets
.babelrc Create DelayedJob config and misc DX changes (#979) 2018-10-26 13:15:14 -04:00
.codeclimate.yml Loosen Codeclimate's duplication rule (#4722) 2019-11-04 09:45:16 -05:00
.dockerignore #4129 Reduce Dockerfile size (#4251) 2019-10-10 18:01:04 -04:00
.editorconfig Export articles/posts (#576) 2018-11-21 11:13:36 -05:00
.erb-lint.yml Fix erb-lint config (#5148) 2019-12-17 18:56:23 -05:00
.eslintignore Add app/assets/javascripts/lib to eslintignore (#4323) [ci skip] 2019-10-08 18:38:59 -04:00
.gitdocs.js Create DelayedJob config and misc DX changes (#979) 2018-10-26 13:15:14 -04:00
.gitignore Ignore .tool-versions file (#4508) [ci skip] 2019-10-21 16:22:54 -04:00
.gitpod.dockerfile Fix missing redis server to gitpod configuration (#5528) 2020-01-15 15:12:18 -05:00
.gitpod.yml Fix missing redis server to gitpod configuration (#5528) 2020-01-15 15:12:18 -05:00
.nvmrc Changed .nvmrc to be more implicit (#5080) 2019-12-11 15:39:35 -05:00
.postcssrc.yml
.prettierignore
.rspec
.rubocop.yml Rename Metrics/LineLength to Layout/LineLength (#5255) 2019-12-27 08:58:35 -06:00
.rubocop_todo.yml Routine rubocop fixes (#5386) 2020-01-08 09:05:12 -05:00
.ruby-version Upgrade Ruby to 2.6.5 (#4451) 2019-10-17 09:34:31 -04:00
.simplecov Change SimpleCov to be on by default (#4666) [ci skip] 2019-10-31 11:18:32 -04:00
.travis.yml remove extra dev.to from travis upload artifact path (#5645) 2020-01-22 09:37:37 -05:00
.yardopts Adds Ruby source code documentation to docs.dev.to (#2656) 2019-05-02 13:50:58 -04:00
CODE_OF_CONDUCT.md Ran all markdown files through prettier to fix a handful. (#4599) 2019-10-28 08:20:53 -04:00
config.ru Remove honeycomb code from config.ru (#2378) 2019-04-11 11:58:13 -04:00
CONTRIBUTING.md Expand the contributing guide (#4947) 2019-11-29 13:51:38 -05:00
docker-compose.yml Add redis container to docker-compose (#4965) 2019-11-29 17:06:56 -05:00
docker-entrypoint.sh #4129 Reduce Dockerfile size (#4251) 2019-10-10 18:01:04 -04:00
docker-run.sh Remove unused Envfile variables (#5474) 2020-01-14 12:05:35 -05:00
Dockerfile Add ImageMagick as one of the dependencies to be installed inside Docker (#4618) 2019-10-28 09:38:18 -04:00
dockerhub-readme.md Implement docker-run.sh script + docker container build (#1844) [ci skip] 2019-03-18 18:31:39 -04:00
empty-module.js
Envfile Remove unused Envfile variables (#5474) 2020-01-14 12:05:35 -05:00
environment Include conditional for adding tag mods to connect channel (#1366) 2018-12-19 15:44:36 -05:00
Gemfile Use honeybadger.js from npm (#5643) 2020-01-22 08:22:51 -05:00
Gemfile.lock Use honeybadger.js from npm (#5643) 2020-01-22 08:22:51 -05:00
Guardfile Remove controller specs (#2224) 2019-03-29 19:05:02 -04:00
jest.config.js more testing for connect components (#1046) 2018-11-19 15:07:54 -05:00
LICENSE.md Ran all markdown files through prettier to fix a handful. (#4599) 2019-10-28 08:20:53 -04:00
Makefile
netlify.toml Add Setup for storybook.dev.to (#3885) 2019-09-03 16:49:37 -04:00
package.json Use honeybadger.js from npm (#5643) 2020-01-22 08:22:51 -05:00
Procfile Update Heroku Release to Migrate and Load App (#5404) [deploy] 2020-01-08 13:43:00 -05:00
Procfile.dev Introduce Sidekiq For Background Jobs (#5252) 2019-12-27 10:39:48 -05:00
Procfile.dev-hot
Rakefile
README.md Add Vaidehi to core contributors [ci-skip] (#5635) 2020-01-22 09:39:30 -05:00
release-tasks.sh Halt Deploys With release script if ENV variable DEPLOY_STATUS is set to blocked (#5510) [deploy] 2020-01-15 12:36:05 -05:00
yarn.lock Use honeybadger.js from npm (#5643) 2020-01-22 08:22:51 -05:00


DEV

DEV Community 👩‍💻👨‍💻

The Human Layer of the Stack

ruby version rails version Travis Status for thepracticaldev/dev.to Code Climate maintainability Code Climate test coverage CodeTriage badge Dependabot Badge

Welcome to the dev.to codebase. We are so excited to have you. With your help, we can build out DEV to be more stable and better serve our community.

What is dev.to?

dev.to (or just DEV) is a platform where software developers write articles, take part in discussions, and build their professional profiles. We value supportive and constructive dialogue in the pursuit of great code and career growth for all members. The ecosystem spans from beginner to advanced developers, and all are welcome to find their place within our community. ❤️

Table of Contents

Contributing

We encourage you to contribute to dev.to! Please check out the Contributing to dev.to guide for guidelines about how to proceed.

Getting Started

This section provides a high-level quick start guide. If you're looking for the installation guide, you'll want to refer to our complete Developer Documentation.

We run on a Rails backend, and we are currently transitioning to a Preact-first frontend.

A more complete overview of our stack is available in our docs.

Prerequisites

Installation Documentation

View Full Installation Documentation

Developer Documentation

Check out our dedicated docs page for more technical documentation.

Core team

Vulnerability disclosure

We welcome security research on DEV under the terms of our vulnerability disclosure policy.

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Please see the LICENSE file in our repository for the full text.

Like many open source projects, we require that contributors provide us with a Contributor License Agreement (CLA). By submitting code to the DEV project, you are granting us a right to use that code under the terms of the CLA.

Our version of the CLA was adapted from the Microsoft Contributor License Agreement, which they generously made available to the public domain under Creative Commons CC0 1.0 Universal.

Any questions, please refer to our license FAQ doc or email yo@dev.to


Sloan, the sloth mascot
Happy Coding ❤️