PublishPress is the essential plugin for any WordPress site with multiple writers.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.github
assets_wp
bin
common
core/Modules
languages
libraries
modules
tests
twig
.distignore
.gitignore
.travis.yml
README.md
build.xml
composer.json
composer.lock
deprecated.php
includes.php
includes_notifications.php
license.txt
package-lock.json
package.json
phpunit.xml
publishpress.php
readme.txt

README.md

PublishPress

Description

PublishPress is the essential plugin for any site with multiple writers: Content Calendar, Email Notifications, Custom Publishing Statuses and more.

Based on Edit Flow. Edit Flow is produced by Daniel Bachhuber, Mo Jangda, and Scott Bressler, with special help from Andrew Spittle and Andrew Witherspoon.

Documentation

https://publishpress.com/docs/

How to report bugs or send suggestions

Feel free to email us via help@publishpress.com. We would love to hear you, and will work hard to help you.

Guidelines

  • Write a clear summary
  • Write precise steps to reproduce

How to contribute with code

  • Clone the repository
  • Create a new branch
  • Implement and commit the code
  • Create a Pull Request targetting the "development" branch adding details about your fix

We will review and contact you as soon as possible.

Development

React

We use React to build part of the user interface. The sources files are named with the extension JSX. Which is optional on React, but provides a way to write modern code and compile to be compatible with legacy browsers. We use babeljs.io with the presets: react and es2015 to compile to JS files.

Compiling JSX files to JS

You can install Babel on your environment following its documentation. But here we will describe how to use a Docker container for that.

$ docker run -it --rm -v `pwd`:/app ostraining/node-babel:latest bash

To compile one file

# babel src/modules/efmigration/lib/babel/efmigration.jsx --out-file src/modules/efmigration/lib/js/efmigration.js

To watch a folder automatically compile changed files

# babel -w src/modules/efmigration/lib/babel -d src/modules/efmigration/lib/js

Todo

Here are some changes on the development workflow which we are thinking about:

  • Improve the development workflow and build script to allow deploy to the SVN repo and other stuff (the shell scripts needs to be merged)
  • Improve tests and move to Codeception
  • Maybe move to Phing instead of Robo files

License

License: GPLv2 or later