-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from heikkivihersalo/hotfix/version-numbering-t…
…o-beta-and-file-zipping-commands HOTFIX: Overall version numbering to beta and file zipping commands
- Loading branch information
Showing
20 changed files
with
117 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,6 +63,7 @@ dist | |
out | ||
target | ||
vendor | ||
gutenberg-native-ai.zip | ||
|
||
### Environment ### | ||
.env | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* The API callback class file | ||
* | ||
* @link https://www.kotisivu.dev | ||
* @since 1.0.0 | ||
* @since 0.1.0 | ||
* | ||
* @package Gutenberg_Native_Ai | ||
*/ | ||
|
@@ -13,7 +13,7 @@ | |
/** | ||
* This class handles the API callbacks for the plugin. | ||
* @since 1.0.0 | ||
* @since 0.1.0 | ||
* @package Gutenberg_Native_Ai | ||
* @author Heikki Vihersalo <[email protected]> | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* The API utility functions file | ||
* | ||
* @link https://www.kotisivu.dev | ||
* @since 1.0.0 | ||
* @since 0.1.0 | ||
* | ||
* @package Gutenberg_Native_Ai | ||
*/ | ||
|
@@ -13,7 +13,7 @@ | |
/** | ||
* This class handles the API utility functions for the plugin. | ||
* | ||
* @since 1.0.0 | ||
* @since 0.1.0 | ||
* @package Gutenberg_Native_Ai | ||
* @author Heikki Vihersalo <[email protected]> | ||
*/ | ||
|
@@ -27,7 +27,7 @@ private function __construct() { | |
/** | ||
* Get ChatGPT settings from the database | ||
* | ||
* @since 1.0.0 | ||
* @since 0.1.0 | ||
* @access public | ||
* @return array | ||
*/ | ||
|
@@ -52,7 +52,7 @@ public static function get_chatgpt_settings(): array { | |
/** | ||
* Update ChatGPT settings in the database | ||
* | ||
* @since 1.0.0 | ||
* @since 0.1.0 | ||
* @access public | ||
* @param \WP_REST_Request $request Request object. | ||
* @return array | ||
|
@@ -92,7 +92,7 @@ public static function update_chatgpt_settings( \WP_REST_Request $request ): arr | |
/** | ||
* Get content from Open AI | ||
* | ||
* @since 1.0.0 | ||
* @since 0.1.0 | ||
* @access public | ||
* @param \WP_REST_Request $request Request object. | ||
* @return Object | ||
|
@@ -141,7 +141,7 @@ public static function get_open_ai_text_content( \WP_REST_Request $request ): ar | |
/** | ||
* Get content from Open AI | ||
* | ||
* @since 1.0.0 | ||
* @since 0.1.0 | ||
* @access public | ||
* @param \WP_REST_Request $request Request object. | ||
* @return Object | ||
|
@@ -187,7 +187,7 @@ public static function get_open_ai_image_content( \WP_REST_Request $request ): a | |
* | ||
* @see https://gist.github.com/cyberwani/ad5452b040001878d692c3165836ebff | ||
* | ||
* @since 1.0.0 | ||
* @since 0.1.0 | ||
* @access public | ||
* @param \WP_REST_Request $request Request object. | ||
* @return Object | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* The main API class file | ||
* | ||
* @link https://www.kotisivu.dev | ||
* @since 1.0.0 | ||
* @since 0.1.0 | ||
* | ||
* @package Gutenberg_Native_Ai | ||
*/ | ||
|
@@ -13,15 +13,15 @@ | |
/** | ||
* This class handles the core API functionality for the plugin. | ||
* | ||
* @since 1.0.0 | ||
* @since 0.1.0 | ||
* @package Gutenberg_Native_Ai | ||
* @author Heikki Vihersalo <[email protected]> | ||
*/ | ||
class API { | ||
/** | ||
* The base endpoint for this API. | ||
* | ||
* @since 1.0.0 | ||
* @since 0.1.0 | ||
* @access protected | ||
* @var string $base The base endpoint for this API. | ||
*/ | ||
|
@@ -30,7 +30,7 @@ class API { | |
/** | ||
* The unique identifier for this API endpoint (plugin name). | ||
* | ||
* @since 1.0.0 | ||
* @since 0.1.0 | ||
* @access protected | ||
* @var string $plugin_name The string used to uniquely identify this plugin. | ||
*/ | ||
|
@@ -39,7 +39,7 @@ class API { | |
/** | ||
* The current version of the API endpoint. | ||
* | ||
* @since 1.0.0 | ||
* @since 0.1.0 | ||
* @access protected | ||
* @var string $version The current version of the API endpoint. | ||
*/ | ||
|
@@ -62,7 +62,7 @@ public function __construct( string $name, string $version ) { | |
/** | ||
* Load dependencies | ||
* | ||
* @since 1.0.0 | ||
* @since 0.1.0 | ||
* @access private | ||
* @return void | ||
*/ | ||
|
@@ -76,7 +76,7 @@ private function load_dependencies() { | |
/** | ||
* Register plugin API routes | ||
* | ||
* @since 1.0.0 | ||
* @since 0.1.0 | ||
* @access public | ||
* @return void | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* The API permissions enum file | ||
* | ||
* @link https://www.kotisivu.dev | ||
* @since 1.0.0 | ||
* @since 0.1.0 | ||
* | ||
* @package Gutenberg_Native_Ai | ||
*/ | ||
|
@@ -13,22 +13,22 @@ | |
/** | ||
* Enum Permission | ||
* | ||
* @since 1.0.0 | ||
* @since 0.1.0 | ||
* @package Gutenberg_Native_Ai | ||
* @author Heikki Vihersalo <[email protected]> | ||
*/ | ||
enum API_Permission { | ||
/** | ||
* Admin permission | ||
* | ||
* @since 1.0.0 | ||
* @since 0.1.0 | ||
*/ | ||
case ADMIN; | ||
|
||
/** | ||
* Get the callback for the permission | ||
* | ||
* @since 1.0.0 | ||
* @since 0.1.0 | ||
* @access public | ||
* @return \Closure|bool | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Fired during plugin activation | ||
* | ||
* @link https://www.kotisivu.dev | ||
* @since 1.0.0 | ||
* @since 0.1.0 | ||
* | ||
* @package Gutenberg_Native_Ai | ||
*/ | ||
|
@@ -15,7 +15,7 @@ | |
* | ||
* This class defines all code necessary to run during the plugin's activation. | ||
* | ||
* @since 1.0.0 | ||
* @since 0.1.0 | ||
* @package Gutenberg_Native_Ai | ||
* @author Heikki Vihersalo <[email protected]> | ||
*/ | ||
|
@@ -25,7 +25,7 @@ class Activator { | |
* | ||
* Long Description. | ||
* | ||
* @since 1.0.0 | ||
* @since 0.1.0 | ||
*/ | ||
public static function activate() { | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* The admin-specific functionality of the plugin. | ||
* | ||
* @link https://www.kotisivu.dev | ||
* @since 1.0.0 | ||
* @since 0.1.0 | ||
* | ||
* @package Gutenberg_Native_Ai | ||
*/ | ||
|
@@ -13,15 +13,15 @@ | |
/** | ||
* This class defines all code necessary handle the admin area. | ||
* | ||
* @since 1.0.0 | ||
* @since 0.1.0 | ||
* @package Gutenberg_Native_Ai | ||
* @author Heikki Vihersalo <[email protected]> | ||
*/ | ||
class Admin { | ||
/** | ||
* The unique identifier of this plugin. | ||
* | ||
* @since 1.0.0 | ||
* @since 0.1.0 | ||
* @access protected | ||
* @var string $plugin_name The string used to uniquely identify this plugin. | ||
*/ | ||
|
@@ -30,7 +30,7 @@ class Admin { | |
/** | ||
* The current version of the plugin. | ||
* | ||
* @since 1.0.0 | ||
* @since 0.1.0 | ||
* @access protected | ||
* @var string $version The current version of the plugin. | ||
*/ | ||
|
@@ -39,7 +39,7 @@ class Admin { | |
/** | ||
* Constructor | ||
* | ||
* @since 1.0.0 | ||
* @since 0.1.0 | ||
* @param string $plugin_name The string used to uniquely identify this plugin. | ||
* @param string $version The current version of the plugin. | ||
*/ | ||
|
Oops, something went wrong.