Skip to content

Commit

Permalink
Merge pull request #156 from envato/develop
Browse files Browse the repository at this point in the history
v2.0.1 release
  • Loading branch information
dtbaker authored Aug 17, 2018
2 parents 563bd94 + df5e8d4 commit 9831fb3
Show file tree
Hide file tree
Showing 36 changed files with 4,011 additions and 1,199 deletions.
4 changes: 3 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ module.exports = function( grunt ) {
options: {
potFilename: '<%= pkg.name %>.pot',
exclude: [
'docs/.*', // Exclude docs directory
'dist/<%= pkg.name %>/.*' // Exclude deploy directory
],
processPot: function( pot ) {
Expand Down Expand Up @@ -172,6 +173,7 @@ module.exports = function( grunt ) {
'!contributing.md',
'!dev-lib/**',
'!dist/**',
'!docs/**',
'!Gruntfile.js',
'!node_modules/**',
'!npm-debug.log',
Expand All @@ -197,7 +199,7 @@ module.exports = function( grunt ) {
compress: {
deploy: {
options: {
archive: 'dist/<%= pkg.name %>.zip',
archive: 'docs/dist/<%= pkg.name %>.zip',
mode: 'zip'
},
files: [ {
Expand Down
2 changes: 1 addition & 1 deletion css/envato-market-rtl.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/envato-market.css

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.DS_Store

# Sass
.sass-cache

# Grunt
/node_modules/
npm-debug.log

# API Token
.token

# Build tools
/dev-lib/

# Composer
composer.lock
/vendor/
Binary file added docs/dist/banner-1544x500.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/dist/banner-772x250.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/dist/envato-market.zip
Binary file not shown.
33 changes: 33 additions & 0 deletions docs/dist/update-check.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name": "Envato Market",
"slug": "envato-market",
"version": "2.0.1",
"author": "<a href=\"https://envato.com/market-plugin/\">Envato</a>",
"author_profile": "https://envato.com/market-plugin/",
"contributors": {
"valendesigns": "//profiles.wordpress.org/valendesigns",
"dtbaker": "//profiles.wordpress.org/dtbaker",
"aaronrutley": "//profiles.wordpress.org/aaronrutley"
},
"requires": "4.9",
"tested": "4.9.8",
"compatibility": {},
"rating": 0,
"num_ratings": "0",
"ratings": {},
"downloaded": 0,
"last_updated": "",
"added": "",
"homepage": "https://envato.com/market-plugin/",
"sections": {
"description": "WordPress Theme & Plugin management for the Envato Market."
},
"short_description": "WordPress Theme & Plugin management for the Envato Market.",
"download_link": "http://envato.github.io/wp-envato-market/dist/envato-market.zip",
"tags": {},
"donate_link": "",
"banners": {
"low": "https://envato.github.io/wp-envato-market/dist/banner-772x250.jpg",
"high": "https://envato.github.io/wp-envato-market/dist/banner-1544x500.jpg"
}
}
53 changes: 53 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="UTF-8">
<title>Envato Market by envato</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="stylesheets/normalize.css" media="screen">
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css" media="screen">
<link rel="stylesheet" type="text/css" href="stylesheets/github-light.css" media="screen">
</head>
<body>
<section class="page-header">
<h1 class="project-name">Envato Market</h1>
<h2 class="project-tagline">WordPress Theme &amp; Plugin management for the Envato Market.</h2>
<a href="https://github.com/envato/wp-envato-market" class="btn">View on GitHub</a>
<a href="https://envato.github.io/wp-envato-market/dist/envato-market.zip" class="btn">Download .zip</a>
</section>

<section class="main-content">
<h2><a id="welcome" class="anchor" href="#welcome" aria-hidden="true"><span class="octicon octicon-link"></span></a>Welcome!</h2>

<p>The Envato Market plugin can install WordPress themes and plugins purchased from ThemeForest &amp; CodeCanyon by connecting with the Envato Market API using a secure OAuth personal token. Once your themes &amp; plugins are installed WordPress will periodically check for updates, so keeping your items up to date is as simple as a few clicks.</p>

<p>You can add a global token to connect all your items from your account, and/or connect directly with a specific item using a singe-use token &amp; item ID. When the global token and single-use token are set for the same item, the single-use token will be used to communicate with the API.</p>

<h2><a id="installation" class="anchor" href="#installation" aria-hidden="true"><span class="octicon octicon-link"></span></a>Installation</h2>

<p>The latest version of the Envato Market plugin can be <a href="http://envato.github.io/wp-envato-market/dist/envato-market.zip"><strong>downloaded</strong></a> from the <code>docs/</code> folder as a WordPress installable package. <strong>DO NOT</strong> click the Github "Download ZIP" button, this plugin is meant to be installed in the WordPress <code>plugins</code> directory as <code>envato-market</code> and Github will not package the plugin correctly.</p>

<p>Installing the Envato Market plugin.</p>

<ol>
<li>Download the <code>envato-market.zip</code> and unpack the archive.</li>
<li>Upload <code>envato-market</code> to the <code>/wp-content/plugins/</code> directory.</li>
<li>Activate the plugin through the 'Plugins' menu in WordPress.</li>
<li>Click the 'Envato Market' menu in WordPress and connect to the API.</li>
</ol>

<h2><a id="contributing" class="anchor" href="#contributing" aria-hidden="true"><span class="octicon octicon-link"></span></a>Contributing</h2>

<p><strong>Pull requests are welcome.</strong> Please review the <a href="https://github.com/envato/wp-envato-market/blob/master/contributing.md">guidelines for contributing</a> and <a href="https://github.com/envato/wp-envato-market/blob/master/code_of_conduct.md">code of conduct</a> before contributing to this repository.</p>

<footer class="site-footer">
<span class="site-footer-owner"><a href="https://github.com/envato/wp-envato-market">Envato Market</a> is maintained by <a href="https://github.com/envato">envato</a>.</span>

<span class="site-footer-credits">This page was generated by <a href="https://pages.github.com">GitHub Pages</a> using the <a href="https://github.com/jasonlong/cayman-theme">Cayman theme</a> by <a href="https://twitter.com/jasonlong">Jason Long</a>.</span>
</footer>

</section>

</body>
</html>
1 change: 1 addition & 0 deletions docs/params.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name":"Envato Market","tagline":"WordPress Theme & Plugin management for the Envato Market.","body":"## Welcome! ##\r\n\r\nThe Envato Market plugin can install WordPress themes and plugins purchased from ThemeForest & CodeCanyon by connecting with the Envato Market API using a secure OAuth personal token. Once your themes & plugins are installed WordPress will periodically check for updates, so keeping your items up to date is as simple as a few clicks.\r\n\r\nYou can add a global token to connect all your items from your account, and/or connect directly with a specific item using a singe-use token & item ID. When the global token and single-use token are set for the same item, the single-use token will be used to communicate with the API.\r\n\r\n## Installation ##\r\n\r\nThe latest version of the Envato Market plugin can be [**downloaded**](http://envato.github.io/wp-envato-market/dist/envato-market.zip) from the `gh-pages` branch as a WordPress installable package. **DO NOT** click the Github \"Download ZIP\" button, this plugin is meant to be installed in the WordPress `plugins` directory as `envato-market` and Github will not package the plugin correctly.\r\n\r\nInstalling the Envato Market plugin.\r\n\r\n1. Download the `envato-market.zip` and unpack the archive.\r\n1. Upload `envato-market` to the `/wp-content/plugins/` directory.\r\n1. Activate the plugin through the 'Plugins' menu in WordPress.\r\n1. Click the 'Envato Market' menu in WordPress and connect to the API.\r\n\r\n## Contributing ##\r\n\r\n**Pull requests are welcome.** Please review the [guidelines for contributing](https://github.com/envato/wp-envato-market/blob/master/contributing.md) and [code of conduct](https://github.com/envato/wp-envato-market/blob/master/code_of_conduct.md) before contributing to this repository.\r\n\r\n","google":"","note":"Don't delete this file! It's used internally to help with page regeneration."}
116 changes: 116 additions & 0 deletions docs/stylesheets/github-light.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
/*
Copyright 2014 GitHub Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

.pl-c /* comment */ {
color: #969896;
}

.pl-c1 /* constant, markup.raw, meta.diff.header, meta.module-reference, meta.property-name, support, support.constant, support.variable, variable.other.constant */,
.pl-s .pl-v /* string variable */ {
color: #0086b3;
}

.pl-e /* entity */,
.pl-en /* entity.name */ {
color: #795da3;
}

.pl-s .pl-s1 /* string source */,
.pl-smi /* storage.modifier.import, storage.modifier.package, storage.type.java, variable.other, variable.parameter.function */ {
color: #333;
}

.pl-ent /* entity.name.tag */ {
color: #63a35c;
}

.pl-k /* keyword, storage, storage.type */ {
color: #a71d5d;
}

.pl-pds /* punctuation.definition.string, string.regexp.character-class */,
.pl-s /* string */,
.pl-s .pl-pse .pl-s1 /* string punctuation.section.embedded source */,
.pl-sr /* string.regexp */,
.pl-sr .pl-cce /* string.regexp constant.character.escape */,
.pl-sr .pl-sra /* string.regexp string.regexp.arbitrary-repitition */,
.pl-sr .pl-sre /* string.regexp source.ruby.embedded */ {
color: #183691;
}

.pl-v /* variable */ {
color: #ed6a43;
}

.pl-id /* invalid.deprecated */ {
color: #b52a1d;
}

.pl-ii /* invalid.illegal */ {
background-color: #b52a1d;
color: #f8f8f8;
}

.pl-sr .pl-cce /* string.regexp constant.character.escape */ {
color: #63a35c;
font-weight: bold;
}

.pl-ml /* markup.list */ {
color: #693a17;
}

.pl-mh /* markup.heading */,
.pl-mh .pl-en /* markup.heading entity.name */,
.pl-ms /* meta.separator */ {
color: #1d3e81;
font-weight: bold;
}

.pl-mq /* markup.quote */ {
color: #008080;
}

.pl-mi /* markup.italic */ {
color: #333;
font-style: italic;
}

.pl-mb /* markup.bold */ {
color: #333;
font-weight: bold;
}

.pl-md /* markup.deleted, meta.diff.header.from-file */ {
background-color: #ffecec;
color: #bd2c00;
}

.pl-mi1 /* markup.inserted, meta.diff.header.to-file */ {
background-color: #eaffea;
color: #55a532;
}

.pl-mdr /* meta.diff.range */ {
color: #795da3;
font-weight: bold;
}

.pl-mo /* meta.output */ {
color: #1d3e81;
}

Loading

0 comments on commit 9831fb3

Please sign in to comment.