Skip to content

Commit

Permalink
Release v2.6.1 (#166)
Browse files Browse the repository at this point in the history
* Update the plugin version in the npm files

* Apply PSR-12 code style

* Add step to build JS files for production

Add periods to the end of steps

* Update package-lock.json file

* Fix the default action in the Gutenberg metabox

* Update composer.json file code style

* Install codeception for acceptance tests

* Add test for the Settings submenu

* Add the missed scenario

* Add simple test for the component panel in Gutenberg

* Fix the "category replace" on Gutenberg, #127

* Update version to 2.6.1-beta.1

* Create distinct npm build commands for dev
With and without the --watch param.

* Fix the requests that load categories in the Gutenberg panel, #133

* Fix  expiration data and cron on Gutenberg, #136, #156

* Show only the plugins cron events in the Diagnostics, #153

* Add review request banner, #103

* Bump version to 2.6.1-beta.2

* Fix code style

* Fix default data not being saved if user doesn't customize it, #159, #158

* Bump version to v2.6.1-beta.3

* Add basic post data to the cron schedule, #164

* Improve the style of the diagnostics tab

* Update the changelog

* Update the reviews library and restore the composer.lock file

* Update the version number to 2.6.1
  • Loading branch information
andergmartins authored Oct 27, 2021
1 parent 9fa017d commit 9d9b061
Show file tree
Hide file tree
Showing 53 changed files with 15,958 additions and 32,080 deletions.
19 changes: 19 additions & 0 deletions .env.testing.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
TEST_SITE_DB_DSN="mysql:unix_socket=/Users/anderson/Library/Application Support/Local/run/MS_83oTyx/mysql/mysqld.sock;dbname=ui_tests"
TEST_SITE_DB_NAME="ui_tests"
TEST_SITE_DB_USER="root"
TEST_SITE_DB_PASSWORD="root"
TEST_SITE_TABLE_PREFIX="wp_"
TEST_SITE_ADMIN_USERNAME="admin"
TEST_SITE_ADMIN_PASSWORD="admin"
TEST_SITE_WP_ADMIN_PATH="/wp-admin"
WP_ROOT_FOLDER="/Users/anderson/Local Sites/tests/app/public/"
TEST_DB_NAME="local"
TEST_DB_HOST="localhost:/Users/anderson/Library/Application Support/Local/run/MS_83oTyx/mysql/mysqld.sock"
TEST_DB_USER="root"
TEST_DB_PASSWORD="root"
TEST_TABLE_PREFIX="wp_"
TEST_SITE_WP_URL="https://tests.local"
TEST_SITE_WP_DOMAIN="tests.local"
TEST_SITE_ADMIN_EMAIL="admin@tests.local"
PUBLISHPRESS_API_URL="https://publishpress.com"
CHROME_BIN_PATH="/Applications/Brave\ Browser.app/Contents/MacOS/Brave\ Browser"
35 changes: 18 additions & 17 deletions .github/ISSUE_TEMPLATE/release-free-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,27 @@ To release the Free plugin please make sure to check all the checkboxes below.

### Pre-release Checklist

- [ ] Create the release branch as `release-<version>` based on the development branch
- [ ] Make sure to directly merge or use Pull Requests to merge hotfixes or features branches into the release branch
- [ ] Update the changelog - make sure all the changes are there with a user-friendly description and that the release date is correct
- [ ] Update the version number to the next stable version
- [ ] Commit the changes to the release branch
- [ ] Build the zip package
- [ ] Send to the team for testing
- [ ] Create the release branch as `release-<version>` based on the development branch.
- [ ] Make sure to directly merge or use Pull Requests to merge hotfixes or features branches into the release branch.
- [ ] Build JS files to production running `$ npm run build`.
- [ ] Update the changelog - make sure all the changes are there with a user-friendly description and that the release date is correct.
- [ ] Update the version number to the next stable version.
- [ ] Commit the changes to the release branch.
- [ ] Build the zip package.
- [ ] Send to the team for testing.

### Release Checklist

- [ ] Create a Pull Request and merge the release branch it into the `master` branch
- [ ] Merge the `master` branch into the `development` branch
- [ ] Create the Github release (make sure it is based on the `master` branch and correct tag)
- [ ] Create a Pull Request and merge the release branch it into the `master` branch.
- [ ] Merge the `master` branch into the `development` branch.
- [ ] Create the Github release (make sure it is based on the `master` branch and correct tag).

#### SVN Repo
- [ ] Cleanup the `trunk` directory.
- [ ] Unzip the built package and move files to the `trunk`
- [ ] Remove any eventual file that shouldn't be released in the package (if you find anything, make sure to create an issue to fix the build script)
- [ ] Look for new files `$ svn status | grep \?` and add them using `$ svn add <each_file_path>`
- [ ] Look for removed files `$ svn status | grep !` and remove them `$ svn rm <each_file_path>`
- [ ] Create the new tag `$ svn cp trunk tags/<version>`
- [ ] Commit the changes `$ svn ci 'Releasing <version>'`
- [ ] Wait until WordPress updates the version number and make the final test updating the plugin in a staging site
- [ ] Unzip the built package and move files to the `trunk`.
- [ ] Remove any eventual file that shouldn't be released in the package (if you find anything, make sure to create an issue to fix the build script).
- [ ] Look for new files `$ svn status | grep \?` and add them using `$ svn add <each_file_path>`.
- [ ] Look for removed files `$ svn status | grep !` and remove them `$ svn rm <each_file_path>`.
- [ ] Create the new tag `$ svn cp trunk tags/<version>`.
- [ ] Commit the changes `$ svn ci 'Releasing <version>'`.
- [ ] Wait until WordPress updates the version number and make the final test updating the plugin in a staging site.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ node_modules
*.log
vendor
logs
composer.lock
codeceptjs/output
#bin
.idea
.DS_Store
/builder.yml
dist
.env.testing
40 changes: 21 additions & 19 deletions RoboFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,28 @@
*
* @see http://robo.li/
*/
class RoboFile extends PackageBuilderTasks {
class RoboFile extends PackageBuilderTasks
{

/**
* The constructor.
*/
public function __construct() {
parent::__construct();
/**
* The constructor.
*/
public function __construct()
{
parent::__construct();

$this->appendToFileToIgnore(
array(
'docker-compose.yml',
'codecept.conf.js',
'codeceptjs',
'Gruntfile.js',
'jsconfig.json',
'logs',
'phpcs.xml',
)
);
$this->appendToFileToIgnore(
array(
'docker-compose.yml',
'codecept.conf.js',
'codeceptjs',
'Gruntfile.js',
'jsconfig.json',
'logs',
'phpcs.xml',
)
);

$this->setVersionConstantName( 'POSTEXPIRATOR_VERSION' );
}
$this->setVersionConstantName('POSTEXPIRATOR_VERSION');
}
}
25 changes: 24 additions & 1 deletion assets/css/settings.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ tr.pe-event {
#pe-settings-tabs fieldset {
border: 1px solid black;
border-radius: 6px;
padding: 0px 12px;
padding: 0 12px;
margin-bottom: 20px;
}

Expand All @@ -31,3 +31,26 @@ tr.pe-event {
width: 300px;
margin-bottom: 2px;
}

.pe-status {
display: inline-block;
font-size: 25px;
}

.pe-status-enabled {
color: #2c9b1a;
}

.pe-status-disabled {
color: #e58484;
}

.pe-status + span {
line-height: 25px;
margin-left: 5px;
margin-right: 10px;
}

.pe-status + span + input[type="submit"] {
margin-right: 10px;
}
Binary file added assets/img/post-expirator-wp-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 9d9b061

Please sign in to comment.