Increase your traffic, view your stats, speed up your site, and protect yourself from hackers with Jetpack.
PHP JavaScript CSS HTML
Latest commit 2d5b3a7 Aug 26, 2016 @oskosk oskosk committed on GitHub Merge pull request #4967 from Automattic/update/distribute-dependenci…
…es-devDependencies

Admin Page: Redistribute dependencies and devDependencies
Permalink
Failed to load latest commit information.
.github wordpress.org urls to https Jul 27, 2016
3rd-party wordpress.org urls to https Jul 27, 2016
_inc Merge pull request #4984 from Automattic/update/capital-apps Aug 26, 2016
bin I18n: added task dependency and removed unneeded file. May 25, 2016
images Clean: removed cloud SVGs Aug 9, 2016
json-endpoints Detect special “initial” value in sync API Aug 16, 2016
languages i18n: added JSON i18n files. May 17, 2016
modules Stats Options: Fix infinite loop Aug 23, 2016
sal JSON API: Fix the response. (#4640) Aug 3, 2016
scss Styles: fix undefined and em by importing the corresponding scss files. Aug 23, 2016
sync Fix typo! Aug 26, 2016
tests Don’t accept default arguments for `jetpack_client_authorized` action… Aug 25, 2016
tools Build Script: npm install first then build production client (#4966) Aug 24, 2016
views/admin Merge pull request #4697 from Automattic/clean/php-inc/lib Aug 10, 2016
.babelrc Introduce ES3 transform literals babel plugin Aug 20, 2016
.codeclimate.yml Add CodeClimate config & badge Jun 21, 2016
.editorconfig Add .editorconfig Nov 4, 2015
.eslintrc Get back to using "space-after-keywords" eslint rule Aug 19, 2016
.gitignore .gitignore: Do not commit Unison temp files Aug 8, 2016
.jshintignore Merge with latest master. Mar 31, 2015
.jshintrc Swipe Core's .jshintrc file. Mar 7, 2014
.npmrc Grunt to Gulp: Replace grunt build with Gulp May 15, 2016
.nvmrc Using nvmrc in order to get around the binaries problem. Jul 8, 2016
.svnignore svnignore: remove mapped files from the build Aug 26, 2016
.travis.yml Reduce travis tests to reduce run time (#4696) Aug 17, 2016
changelog.txt Update version numbers / changelog Aug 19, 2016
class.frame-nonce-preview.php General: Load frame nonce preview class from jetpack.php Aug 14, 2016
class.jetpack-admin.php remove sync_dashboard usage Jul 25, 2016
class.jetpack-autoupdate.php Simplify things, use the get_possible_failures method Nov 19, 2015
class.jetpack-bbpress-json-api-compat.php Remove REST_API_REQUEST for some cheap post/meta whitelist calls Jul 6, 2016
class.jetpack-cli.php Update: Always fire jetapack_activete_module after update of module. Jul 21, 2016
class.jetpack-client-server.php Update: Always fire jetapack_activete_module after update of module. Jul 21, 2016
class.jetpack-client.php remote_request: add ability to pass in headers Feb 27, 2016
class.jetpack-data.php Domain Check: add missing space before curly bracket Jun 17, 2016
class.jetpack-debugger.php Sync: fix typo in debug message. Aug 3, 2016
class.jetpack-error.php Jetpack: Big, structural change. Splitting off all classes into their… Jul 9, 2013
class.jetpack-heartbeat.php Fix failing test on older WP versions by JSON-encoding heartbeat sync… Jun 27, 2016
class.jetpack-ixr-client.php IXR Client: Prevent direct access. See #3056 Apr 1, 2016
class.jetpack-jitm.php Merge pull request #3433 from Automattic/add/user-col-user-connected Jun 21, 2016
class.jetpack-modules-list-table.php Merge pull request #4338 from Automattic/fix/remove-centralized-manag… Jul 13, 2016
class.jetpack-network-sites-list-table.php Network admin: sites list Jun 13, 2016
class.jetpack-network.php Jetpack: Connect via Network Admin May 17, 2016
class.jetpack-options.php Trim whitespace Aug 15, 2016
class.jetpack-post-images.php Post Images: always return $images (empty array) when bailing. Jun 16, 2016
class.jetpack-signature.php General: standardize front end / back end Jul 22, 2016
class.jetpack-tracks.php Tracks: prefix all wp-admin Jetpack events with `jetpack_wpa_` Aug 11, 2016
class.jetpack-twitter-cards.php Autoload jetpack-twitter-cards-site-tag opton Jul 5, 2016
class.jetpack-user-agent.php If an invalid kind is passed in, reset it to default. (#4616) Aug 19, 2016
class.jetpack-xmlrpc-server.php XMLRPC: improved error messaging Aug 23, 2016
class.jetpack.php Open Graph: add OG Meta Tags by Heateor to the conflict plugin list (#… Aug 19, 2016
class.json-api-endpoints.php gravatar urls to https Jul 27, 2016
class.json-api.php API: Update endpoints to use moved SAL implementation Mar 16, 2016
class.photon.php Sitemaps, Enhanced Distribution, Photon: remove notice in PHP since i… Aug 10, 2016
composer.json Change all instances of jetpack.me to jetpack.com Mar 21, 2016
functions.compat.php Youtube Shortcode: fix undefined notices when using new shortcode format Dec 11, 2015
functions.gallery.php Documentation: add module name to all hooks. Oct 17, 2015
functions.global.php Add new file functions.global.php Apr 20, 2016
functions.opengraph.php Autoload facebook_admins option Jul 5, 2016
functions.photon.php Merge pull request #3674 from Automattic/update/photon-dev-mode Jun 21, 2016
gulpfile.js Fixes the production build script. (#4951) Aug 24, 2016
jetpack.php Testing List: update for 4.3 (#4955) Aug 24, 2016
json-api-config.php REST API: declare the production/development version variables as glo… May 11, 2015
json-endpoints.php gravatar urls to https Jul 27, 2016
language-packs.js I18n: added a JSON locale compilation mechanism. May 17, 2016
locales.php Locales: avoid Fatal Errors when GlotPress is active. (#4081) Jun 9, 2016
package.json Redistribute dependencies and devdDependencies for a minimum viable s… Aug 24, 2016
phpunit.xml.dist Reduce travis tests to reduce run time (#4696) Aug 17, 2016
readme.md Testing branch: switch from jetpack-built to master-stable Jul 20, 2016
readme.txt Readme: update to current stable. Aug 23, 2016
require-lib.php Main Jetpack class: remove unused parameter. Oct 2, 2015
to-test.md Testing List: update for 4.3 (#4955) Aug 24, 2016
uninstall.php moar WP standards fixes Jul 18, 2016
webpack.config.js Upgrade to babel-loader 6.9 adding .babelrc and presets Aug 20, 2016
wpml-config.xml Add a `wpml-config.xml` file. Mar 3, 2014

readme.md

Jetpack

License Code Climate

Jetpack is a WordPress plugin that supercharges your self-hosted WordPress site with the awesome cloud power of WordPress.com.

For more information, check out jetpack.com.

Get Started

To install the Jetpack plugin on your site, follow the instructions on this page.

Get Help

Do you need help installing Jetpack, or do you have questions about one of the Jetpack modules? You can search through our documentation here. If you don't find the answers you're looking for, you can send us an email or start a new thread in the WordPress.org support forums.

Installation from git repo

The master-stable branch of this repo contains an stable version with every JS and CSS file pre-built.

CD into your Plugins directory

$ git clone git@github.com:Automattic/jetpack.git
$ cd jetpack
$ git checkout master-stable

Contribute

Developers of all levels can help — whether you can barely recognize a filter (or don’t know what that means) or you’ve already authored your own plugins, there are ways for you to pitch in. Blast off:

Development workflow

The javascript and CSS components of this plugin's admin interface need to be built in order to get the runtime bundle (_inc/build/admin.js)

Recommended Dependencies and Known Issues

Recommended environment:

  • Node 5.x (preferably 5.11 or 5.10)
  • npm 3.8.x

If you're having trouble installing 5.x, nvm is a nice tool for node version management :)

Known Issues:

  • Does not work with Node 6.x nor 4.x.

Start Development

  1. Make sure you have git, node, and npm installed and a working WordPress installation.
  2. Clone this repository locally inside your /wp-content/plugins directory.

    git clone https://github.com/Automattic/jetpack.git
    
  3. Make sure the Jetpack plugin is active and run

    npm run build
    

    This will install npm dependencies and then build the files.

  4. Open /wp-admin/admin.php?page=jetpack in your browser.

Development build

Running npm run watch instead of npm run build will build all the code and continuously watch the front-end JS and CSS/Sass for changes and rebuild accordingly. Before running npm run watch you may need to npm install the npm dependencies first.

Clone this repository inside your Plugins directory.

$ git clone git@github.com:Automattic/jetpack.git
$ cd jetpack
$ npm install
$ npm run watch

Unit-testing the JS Admin Page

You can run Mocha based tests for the Admin Page source code with npm run test-client

Standing on your jetpack directory, run

$ npm install
$ npm run test-client

Monitor our activity on this repository

Throughput Graph

Team

The Jetpack Pit Crew is comprised of @dereksmart, @samhotchkiss, @zinigor, @eliorivero, and @rcoll.

Contributions have been and continue to be made by dozens of other Automatticians, like:

@georgestephanis, @jeffgolenski, @jessefriedman, @richardmuscat, @justinkropp, @aliso, @allendav, @alternatekev, @apeatling, @azaozz, @bazza, @beaulebens, @cfinke, @daniloercoli, @enejb, @eoigal, @ethitter, @gibrown, @hugobaeta, @jasmussen, @jblz, @jkudish, @johnjamesjacoby, @justinshreve, @koke, @kovshenin, @lancewillett, @lezama, @martinremy, @MichaelArestad, @mtias, @mcsf, @mdawaffe, @nickmomrik, @obenland, @pento, @rase-, @roccotripaldi, @skeltoac, @stephdau, @tmoorewp, @Viper007Bond, @xyu and @yoavf.

Our awesome happiness engineers are @jeherve, @richardmtl, @csonnek, @rcowles, @kraftbj, @chaselivingston, @jenhooks, @aheckler, @ntpixels, @macmanx2, @lschuyler, @seejacobscott, @davoraltman, @lamdayap, @rachelsquirrel, @scarstocea, @stefmattana, @jamilabreu, @cena, @v18, @bikedorkjon, @drpottex, @gregwp, @annezazuu, and @danjjohnson.

Interested in working on awesome open-source code all day? Join us!