Skip to content

Commit bf25bae

Browse files
committed
version 2.0.5 released
1 parent 65fb225 commit bf25bae

21 files changed

+625
-623
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,12 @@ jobs:
116116
echo -e "$release_notes" >> $GITHUB_ENV
117117
echo "EOF" >> $GITHUB_ENV
118118
119+
#- name: Deploy WordPress.org Assets
120+
# uses: 10up/action-wordpress-plugin-asset-update@stable
121+
# env:
122+
# SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
123+
# SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
124+
119125
- name: WordPress Plugin Deploy
120126
id: deploy
121127
uses: 10up/action-wordpress-plugin-deploy@stable

README.txt

Lines changed: 12 additions & 107 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
=== CBX Changelog ===
1+
=== CBX Changelog & Release Note ===
22
Contributors: codeboxr, manchumahara
33
Tags: changelog,history,release,version,product log
44
Requires at least: 5.3
55
Tested up to: 6.7.2
6-
Stable tag: 2.0.4
6+
Stable tag: 2.0.5
77
Requires PHP: 7.4
88
License: GPLv2 or later
99
License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -14,7 +14,7 @@ Changelog manager for digital products or releasable projects
1414

1515
This helps to write changes log for any digital products, projects releases. Any kind of change log likes bug fix, new, improvement etc can be noted easily.
1616

17-
### CBX Changelog by [Codeboxr](https://codeboxr.com/product/cbx-changelog-for-wordpress/)
17+
### CBX Changelog & Release Note by [Codeboxr](https://codeboxr.com/product/cbx-changelog-for-wordpress/)
1818

1919
>📺 [Live Demo](https://codeboxr.net/wordpress/changelog/cbx-changelog-wordpress-plugin-changelogs/) | 📋 [Documentation](https://codeboxr.com/doc/cbxchangelog-doc/) | 🌟 [Upgrade to PRO](https://codeboxr.com/product/cbx-changelog-for-wordpress/#downloadarea) | 👨‍💻 [Free Support](https://wordpress.org/support/plugin/cbxchangelog/) | 🤴 [Pro Support](https://codeboxr.com/contact-us) | 📱 [Contact](https://codeboxr.com/contact-us/)
2020

@@ -40,7 +40,7 @@ This helps to write changes log for any digital products, projects releases. Any
4040
### 🧮 Shortcodes ###
4141
* Shortcode Format: `[cbxchangelog id="post id"]` or `[cbxchangelog id="post id" release="release number"]`
4242

43-
## 💎 CBX Changelog Pro Features ##
43+
## 💎 CBX Changelog & Release Note Pro Features ##
4444
👉 Get the [pro addon](https://codeboxr.com/product/cbx-changelog-for-wordpress/#downloadarea)
4545

4646
* Post types support (built in or custom)
@@ -60,8 +60,8 @@ This helps to write changes log for any digital products, projects releases. Any
6060
### 🔩 Installation ###
6161

6262
1. [WordPress has clear documentation about how to install a plugin].(https://codex.wordpress.org/Managing_Plugins)
63-
2. After install activate the plugin "CBX Changelog" through the 'Plugins' menu in WordPress
64-
3. You'll now see a menu called "CBX Changelog" in left menu, start from there, check the setting menu of CBX Changelog then create a new Changelog
63+
2. After install activate the plugin "CBX Changelog & Release Note" through the 'Plugins' menu in WordPress
64+
3. You'll now see a menu called "CBX Changelog & Release Note" in left menu, start from there, check the setting menu of CBX Changelog & Release Note then create a new Changelog
6565
4. Use shortcode or widget as you need.
6666
5. Try [pro addon](https://codeboxr.com/product/cbx-changelog-for-wordpress/#downloadarea) for extra features
6767

@@ -74,6 +74,11 @@ This helps to write changes log for any digital products, projects releases. Any
7474

7575

7676
== Changelog ==
77+
= 2.0.5 =
78+
* [fixed] Markdown to html conversion issue(multi line parsing was not working) fixed
79+
* [updated] Pro Addon V1.2.1 released
80+
* [updated] Shortcode and all widgets/blocks are updated
81+
7782
= 2.0.4 =
7883
* [updated] Support page news display updated
7984
* [updated] Pro Addon V1.2.0 released
@@ -129,104 +134,4 @@ This helps to write changes log for any digital products, projects releases. Any
129134
* [update] Plugin uninstall method now works fine clearing/deleting options created by this plugin
130135

131136
= 1.1.3 =
132-
* [update] Setting library 'select' field update to handle both single select and multi select using same method
133-
134-
= 1.1.2 =
135-
* [improvement] PHP 8.x support
136-
* [updated] Pro addon new version released with Dokan plugin support
137-
138-
= 1.1.1 =
139-
* [improvement] Gutenberg block render fixed
140-
* [updated] Pro addon new version released
141-
142-
= 1.1.0 =
143-
* [improvement] Setting panel radio and checkbox style improved
144-
* [improvement] Minor improvements and bug fixes.
145-
146-
= 1.0.16 =
147-
* [improvement] New setting field for "Append change logs" in 'General Setting' tab
148-
* [fixed] Technical flaw fixed to set version number based on if debug mode enabled or not.
149-
* [new] Dashboard style improved
150-
* [new] Added woocommerce like template system for different views which can be overrode using plugin and theme
151-
152-
= 1.0.15 =
153-
* [improvement] Now single page slug customizable and markdown support updated.
154-
* [new] Pro Addon updated.
155-
* [fixed] Changelog Edit show/close issue solved
156-
157-
= 1.0.14 =
158-
159-
* [improvement] Date display format now can be changed using filter 'cbxchangelog_release_date_format'
160-
* [new] Pro Addon updated
161-
162-
= 1.0.13 =
163-
164-
* [improvement] Checked compatibility with wordpress 5.8.3
165-
* [fixed] Setting js loading issue solved
166-
* [new] Pro Addon updated
167-
168-
= 1.0.12 =
169-
170-
* [improvement] Checked compatibility with wordpress 5.8
171-
* [new] Added new feature in shortcode for order, order by
172-
* [new] Added new feature in elementor widget for order, order by
173-
* [new] Added new feature in vc widget for order, order by
174-
* [improvement] Other minor improvements
175-
176-
= 1.0.11 =
177-
178-
* [new] Added a new 'url' field for each release and shortcode param updated
179-
180-
= 1.0.10 =
181-
182-
* [improvement] Branding css load improvement
183-
184-
= 1.0.9 =
185-
186-
* [improvement] CSS, JS loading improvement
187-
* [improvement] Restrict to delete the only feature of any release
188-
189-
= 1.0.8 =
190-
191-
* [improvement] Shortcode integration hook improved
192-
* [updated] Documentation update
193-
* [new] SCSS files added for all css
194-
195-
= 1.0.7 =
196-
197-
* [improvement] All free and pro layouts are polished more for responsive and meaningful class names
198-
199-
= 1.0.6 =
200-
201-
* [new] Show/hide meta field added for label & date
202-
* [new] 7 type issue label added
203-
* [new] Classic widget
204-
* [new] Elementor widget
205-
* [new] WPBakery widget
206-
* [improvement] Backend Style improved
207-
* [improvement] Frontend Style improved
208-
* [improvement] WP 5.4.0 compatibility checked
209-
* Other minor improvements and fixes.
210-
211-
= 1.0.5 =
212-
213-
* [improvement] WP 5.3.2 compatibility checked
214-
215-
= 1.0.4 =
216-
217-
* [new] Details changelog page like any page so that it works without shortcode
218-
* [new] All css, js and img are put in assets folder for admin and public
219-
* [improvement] Minor improvement and regular bug fix
220-
221-
= 1.0.3 =
222-
223-
* [new] Setting page
224-
* [new] Pro feature supported addon releaes
225-
* [improvement] Minor improvement
226-
* [new] Translation Template(pot) file added
227-
228-
= 1.0 =
229-
230-
* Initial release
231-
232-
137+
* [update] Setting library 'select' field update to handle both single select and multi select using same method

assets/css/cbxchangelog-admin.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/cbxchangelog-listing.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/cbxchangelog-public.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/blocks/cbxchangelog-block.js

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030

3131
//var MediaUpload = wp.editor.MediaUpload;
3232

33+
console.log(cbxchangelog_block.pro_addon_active);
34+
3335
var iconEl = el('svg', {width: 24, height: 24},
3436
el('path', {
3537
fill: "#212120", d: "M22.9,3.2H8.1C7.5,3.2,7,2.4,7,1.6C7,0.7,7.5,0,8.1,0h14.8C23.5,0,24,0.7,24,1.6\n" +
@@ -93,16 +95,6 @@
9395
type : 'number',
9496
value : Number(props.attributes.release)
9597
}),
96-
/*el(ToggleControl,
97-
{
98-
label : cbxchangelog_block.general_settings.show_label,
99-
onChange: (value) => {
100-
props.setAttributes({show_label: value});
101-
},
102-
type : 'number',
103-
checked : props.attributes.show_label
104-
}
105-
),*/
10698
el(SelectControl, {
10799
label : cbxchangelog_block.general_settings.show_label,
108100
options : cbxchangelog_block.general_settings.show_label_options,
@@ -144,6 +136,16 @@
144136
},
145137
value : String(props.attributes.relative_date)
146138
}),
139+
cbxchangelog_block.pro_addon_active && el(SelectControl, {
140+
label : cbxchangelog_block.general_settings.show_feature_note,
141+
options : cbxchangelog_block.general_settings.show_feature_note_options,
142+
onChange: (value) => {
143+
props.setAttributes({
144+
show_feature_note: String(value)
145+
});
146+
},
147+
value : String(props.attributes.show_feature_note)
148+
}),
147149
el(SelectControl, {
148150
label : cbxchangelog_block.general_settings.layout,
149151
options : cbxchangelog_block.general_settings.layout_options,

assets/js/cbxchangelog-edit.js

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,22 @@
210210

211211
});
212212

213+
//show/hide feature note
214+
$changelog_wrapper.on('click', '.add-feature-note', function (e) {
215+
e.preventDefault();
216+
217+
var $this = $(this);
218+
var $parent = $this.parents('.feature');
219+
//$parent.find('.feature_note_textarea').toggle();
220+
$parent.find('.feature_note').toggle();
221+
222+
/* var $counter = $parent.data('boxincrement');
223+
224+
var rendered = Mustache.render($feature_template, {increment: $counter});
225+
$parent.prepend(rendered);*/
226+
227+
});
228+
213229
//remove any feature
214230
$changelog_wrapper.on('click', '.trash-feature', function (e) {
215231
e.preventDefault();
@@ -372,6 +388,13 @@
372388
$('#search-submit').addClass('button primary');
373389
$('#post-query-submit').addClass('button primary');
374390
$('.button.action').addClass('button primary');
391+
$('.save-post-status').addClass('button primary mt-10');
392+
$('.save-post-visibility').addClass('button primary mt-10');
393+
$('.save-timestamp').addClass('button primary mt-10');
394+
$('.preview.button').addClass('button secondary');
395+
$('.cancel-post-status').addClass('button secondary mt-10');
396+
$('.cancel-post-visibility').addClass('button secondary mt-10');
397+
$('.cancel-timestamp').addClass('button secondary mt-10');
375398
$('.page-title-action').addClass('button primary');
376399
$('#save-post').addClass('button primary');
377400
$('#publish').addClass('button primary');

cbxchangelog.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
<?php
22
/**
3-
* CBX Changelog core file
3+
* CBX Changelog & Release Notecore file
44
*
55
* @link http://codeboxr.com
66
* @since 1.0.0
77
* @package Cbxchangelog
88
*
99
* @wordpress-plugin
10-
* Plugin Name: CBX Changelog
10+
* Plugin Name: CBX Changelog & Release Note
1111
* Plugin URI: http://codeboxr.com/product/cbx-changelog-for-wordpress/
1212
* Description: Easy change log manager for WordPress, use for any product post type or releases notes
13-
* Version: 2.0.4
13+
* Version: 2.0.5
1414
* Author: Codeboxr
1515
* Author URI: http://codeboxr.com
1616
* License: GPL-2.0+
@@ -26,7 +26,7 @@
2626

2727

2828
defined( 'CBXCHANGELOG_PLUGIN_NAME' ) or define( 'CBXCHANGELOG_PLUGIN_NAME', 'cbxchangelog' );
29-
defined( 'CBXCHANGELOG_PLUGIN_VERSION' ) or define( 'CBXCHANGELOG_PLUGIN_VERSION', '2.0.4' );
29+
defined( 'CBXCHANGELOG_PLUGIN_VERSION' ) or define( 'CBXCHANGELOG_PLUGIN_VERSION', '2.0.5' );
3030
defined( 'CBXCHANGELOG_ROOT_PATH' ) or define( 'CBXCHANGELOG_ROOT_PATH', plugin_dir_path( __FILE__ ) );
3131
defined( 'CBXCHANGELOG_ROOT_URL' ) or define( 'CBXCHANGELOG_ROOT_URL', plugin_dir_url( __FILE__ ) );
3232
defined( 'CBXCHANGELOG_BASE_NAME' ) or define( 'CBXCHANGELOG_BASE_NAME', plugin_basename( __FILE__ ) );
@@ -74,12 +74,12 @@ function cbxchangelog_compatible_php_version() {
7474
function activate_cbxchangelog() {
7575
if ( ! cbxchangelog_compatible_wp_version() ) {
7676
deactivate_plugins( plugin_basename( __FILE__ ) );
77-
wp_die( esc_html__( 'CBX Changelog plugin requires WordPress 5.3 or higher!', 'cbxchangelog' ) );
77+
wp_die( esc_html__( 'CBX Changelog & Release Note plugin requires WordPress 5.3 or higher!', 'cbxchangelog' ) );
7878
}
7979

8080
if ( ! cbxchangelog_compatible_php_version() ) {
8181
deactivate_plugins( plugin_basename( __FILE__ ) );
82-
wp_die( esc_html__( 'CBX Changelog plugin requires PHP 7.4 or higher!', 'cbxchangelog' ) );
82+
wp_die( esc_html__( 'CBX Changelog & Release Note plugin requires PHP 7.4 or higher!', 'cbxchangelog' ) );
8383
}
8484

8585
//register_uninstall_hook( __FILE__, 'uninstall_cbxchangelog' );

composer.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

includes/CBXChangelog.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ public function __wakeup() {
133133
* @access private
134134
*/
135135
private function load_dependencies() {
136+
require_once plugin_dir_path( dirname( __FILE__ ) ) . 'vendor/autoload.php';
137+
136138
//misc libraries
137139
require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/CBXChangelogMetaAsArray.php';
138140
require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/CBXChangelogOptionAsArray.php';

0 commit comments

Comments
 (0)