No description
Find a file
Nick Taylor f6278a9106
Add Cypress to Travis (#11867)
* Added test run artifacts to git ignore.

* Added Cypress run to Travis.

* Added the start-server-and-test package.

* Added e2e ci scripts.

* Split up commands.

* Testing e2e after rspecs on same build node.

* Move Cypress back to node 0 for Knapsack.

* Added folders for build artifacts for failed E2E tests.

* Simplified e2e for CI

* Using knapsack-pro-cypress now.

* Added data-testid to sign up form for tests.

* Added forem secret for CI

* Updated initial admin fixture.

* Reworked test to be a signup test. wip.

* Added cypress file upload package.

* added fixture for admin profile image.

* Updated forem secret for tests.

* Added Cypress file upload to Cypress commands.

* Changed test to initial sign up for the first admin user.

* Fixed test to ensure there are no signup errors.

* Added some logging to see what's up.

* Added some comments to the test.

* Set Chrome web security to false to prevent CORS errors.

Co-authored-by: rhymes <rhymes@hey.com>
2020-12-15 21:26:34 -05:00
.buildkite Removes this dupe container block since we are going to run this pipeline (#11506) 2020-11-19 15:05:49 -06:00
.gems
.github Update Dependabot configuration for Bundler, Yarn/NPM and actions (#11877) 2020-12-14 17:31:16 +01:00
.vscode
.yarn/releases
app Add Cypress to Travis (#11867) 2020-12-15 21:26:34 -05:00
bin Switch node-sass to dart-sass (#11873) 2020-12-14 22:06:06 -05:00
config Move back from after_initialize to explicit call (#11881) 2020-12-14 17:16:27 -05:00
cypress Add Cypress to Travis (#11867) 2020-12-15 21:26:34 -05:00
datadog
db Confirmations that users GDPR data was deleted (#11039) 2020-12-14 12:49:45 +03:00
docs Switch node-sass to dart-sass (#11873) 2020-12-14 22:06:06 -05:00
lib Rubocop fixes (#11862) 2020-12-11 17:36:42 +03:00
log
public Restore static error pages (#11882) 2020-12-14 12:06:41 -05:00
scripts Fix a few bugs with the create_buildkite_pr_build.sh script (#11872) 2020-12-14 08:35:29 -06:00
spec Fix html variant image prefix logic (#11917) 2020-12-15 14:44:11 -05:00
vendor Bump rails-settings-cached from 2.4.0 to 2.5.1 (#11910) 2020-12-15 18:49:13 +01:00
.codeclimate.yml
.dockerignore
.editorconfig
.env_sample Disable Google reCAPTCHA in env file sample (#11863) 2020-12-11 18:17:48 +01:00
.erb-lint.yml
.eslintignore Remove non application files from frontend code coverage (#11752) 2020-12-04 20:00:20 -05:00
.eslintrc.js
.gitattributes
.gitdocs.js
.gitignore Add Cypress to Travis (#11867) 2020-12-15 21:26:34 -05:00
.gitpod.dockerfile
.gitpod.yml
.nvmrc
.postcssrc.yml
.prettierignore
.prettierrc.json
.rspec
.rubocop.yml Bug Fix:Update Remove Draft Articles Scripts to not use Squish (#11445) 2020-11-16 13:20:37 -06:00
.rubocop_todo.yml
.ruby-version
.simplecov Remove resource_admin dashboards (Administrate) (#11792) 2020-12-08 12:38:13 -06:00
.slugignore
.travis.yml Add Cypress to Travis (#11867) 2020-12-15 21:26:34 -05:00
.validaterc
.yardopts
.yarnrc
babel.config.js
CODE_OF_CONDUCT.md
config.ru
container-compose.yml Fix container composes w/r/t multistage container builds (#11531) 2020-11-23 15:15:21 -06:00
Containerfile Fix container composes w/r/t multistage container builds (#11531) 2020-11-23 15:15:21 -06:00
CONTRIBUTING.md
cypress.json Add Cypress to Travis (#11867) 2020-12-15 21:26:34 -05:00
docker-compose.yml Fix container composes w/r/t multistage container builds (#11531) 2020-11-23 15:15:21 -06:00
Dockerfile
empty-module.js
Gemfile Bump puma from 5.1.0 to 5.1.1 (#11911) 2020-12-15 13:07:54 +01:00
Gemfile.lock Bump rails-settings-cached from 2.4.0 to 2.5.1 (#11910) 2020-12-15 18:49:13 +01:00
Guardfile
jest.config.js Fixed eslint/jest configurations for cypress. (#11841) 2020-12-10 12:48:37 +01:00
jsconfig.json
LICENSE.md
package.json Add Cypress to Travis (#11867) 2020-12-15 21:26:34 -05:00
postcss.config.js Suppress Postcss warnings & Re-enable Benhalpern deploy (#11521) 2020-11-20 11:27:49 -05:00
Procfile
Procfile.dev
Procfile.dev-hot
Rakefile
README.md Update README (#11491) 2020-11-20 09:48:17 +07:00
release-tasks.sh
SECURITY.md
testSetup.js Fixed some frontend tests causing unhandled rejection errors (#11627) 2020-11-26 06:11:25 -05:00
yarn.lock Add Cypress to Travis (#11867) 2020-12-15 21:26:34 -05:00


Forem 🌱

For Empowering Community

ruby version rails version Travis Status for forem/forem Code Climate maintainability Code Climate technical debt CodeTriage badge Dependabot Badge GitPod badge Netlify badge GitHub code size in bytes GitHub commit activity GitHub issues ready for dev Honeybadger badge Knapsack Pro Parallel CI builds for dev.to

Welcome to the Forem codebase, the platform that powers dev.to. We are so excited to have you. With your help, we can build out Forems usability, scalability, and stability to better serve our communities.

What is Forem?

Forem is open source software for building communities. Communities for your peers, customers, fanbases, families, friends, and any other time and space where people need to come together to be part of a collective. See our announcement post for a higher level overview of what Forem is.

dev.to (or just DEV) is hosted by Forem. It is a community of software developers who 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 Forem! Please check out the Contributing to Forem 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

Local

Containers

Linux

OS X

Installation Documentation

View Full Installation Documentation.

Developer Documentation

Check out our dedicated docs page for more technical documentation.

Core team

Vulnerability disclosure

Forem is the open source software which powers DEV.

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

Acknowledgments

Thank you to the Twemoji project for the usage of their emojis.

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 Forem 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 ❤️