Skip to content

Commit 737ca70

Browse files
authored
Merge pull request #183 from Books4Languages/Chris
versioning for realease
2 parents fc788dc + 49271c6 commit 737ca70

27 files changed

+141
-104
lines changed

README.md

+40-3
Original file line numberDiff line numberDiff line change
@@ -75,17 +75,47 @@ You can see all of the screenshots of the plugin [here](https://github.com/Books
7575

7676

7777
### Soon
78-
Implementation of milestone 9.1 (Finishing educational metadata and related metadata)
78+
New types
79+
Use the library from Spatie that auto generates schema [Schema](https://github.com/spatie/schema-org)
7980

8081
### Later
8182

8283

8384
### Future
84-
New types
85-
Use the library from Spatie that auto generates schema [Schema](https://github.com/spatie/schema-org)
85+
8686

8787
## Changelog
8888

89+
## 0.13
90+
* **ADDITIONS**
91+
* Added more types on creative workds and organisation parents
92+
* Added 'types' for the educational vocabulary -> Book, Course, Website, Webpage and Article
93+
* Enabled Required Parent Properties for types
94+
* Documentation Update for adding new types
95+
* Admin can clean and disable properties that were overwritten
96+
* Plugin is fully compatible with the addon Isced Plugin
97+
* **ENHANCEMENTS**
98+
* Required plugin error and link improved
99+
* In network settings empty types are noted with red color
100+
* Multi site schemaLocation is disabled from settings on a single site
101+
* Improved parent filtering with radio buttons
102+
* Made the engine more efficient
103+
* Loading only properties for activated types
104+
* Enhanced Dublin Core and Coins vocabularies
105+
* Fully implemented Educational Vocabulary
106+
* Auto activation of types and properties on all sites when super admin adds a property
107+
* Auto activation of types and properties for chapter/post when admin overwrites a property
108+
* Frozen and Overwritten fields now display much better to the user
109+
* Showing last visited tab in settings
110+
* Fixed the overlap of metaboxes in the settings
111+
* **List of Files revised**
112+
* Schema type files
113+
* Engine file
114+
* All files in partials folder
115+
* Admin JavaScript file
116+
* All vocabulary files
117+
* Network admin files
118+
89119
## 0.12
90120
* **ADDITIONS**
91121
* Added Organisation Parent and Types
@@ -296,6 +326,13 @@ Use the library from Spatie that auto generates schema [Schema](https://github.c
296326

297327
## Upgrade Notice
298328

329+
### 0.13
330+
Plugin now is much more efficient wasting less memory on the server as the engine file had improvements. The plugin had many improvements
331+
on both the visual interface and the engine. The user experience has improved as we are saving the tabs that were used before reloading the settings page.
332+
Many new types were added along with improvements on how the type requires parent properties. Now the external vocabularies along with the
333+
educational vocabulary are fully implemented. The admin and the super admin can simply clone properties without having to enable types manually on site/posts/chapters.
334+
Another handy feature is the clear and disable feature on overwritten properties. For the educational vocabulary the plugin now is accepting data from a secondary addon plugin named Isced Fields.
335+
299336
### 0.12
300337
Added Organization Parent and Types
301338

all-in-one-metadata/admin/adminFunctions/class-pressbooks-metadata-ajax.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* The functions of the plugin that handle custom ajax requests.
88
*
99
* @link https://github.com/Books4Languages/pressbooks-metadata
10-
* @since 0.x
10+
* @since 0.13
1111
*
1212
* @package Pressbooks_Metadata
1313
* @subpackage Pressbooks_Metadata/admin/adminFunctions
@@ -23,7 +23,7 @@ function __construct() {
2323
/**
2424
* This function cleans the fields of the property that was overwritten to post/chapter
2525
*
26-
* @since 0.x
26+
* @since 0.13
2727
*/
2828
function overwrite_prop_clean(){
2929
//Receiving the property
@@ -64,7 +64,7 @@ function overwrite_prop_clean(){
6464
/**
6565
* This function disables the property that was overwritten to post/chapter
6666
*
67-
* @since 0.x
67+
* @since 0.13
6868
*/
6969
function overwrite_prop_disable(){
7070
//Receiving the property

all-in-one-metadata/admin/networkFunctions/class-pressbooks-metadata-net-sett-sections.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class Pressbooks_Metadata_Net_Sett_Sections {
5959
/**
6060
* If the type is empty of properties.
6161
*
62-
* @since 0.x
62+
* @since 0.13
6363
*/
6464
public $isEmpty;
6565

@@ -77,7 +77,7 @@ function __construct($inpSectionId,$inpSectionDisPage,$inpSectionTitle,$inpTypeI
7777
/**
7878
* Function that creates the settings section, each schema type has its own section.
7979
*
80-
* @since 0.x
80+
* @since 0.13
8181
*/
8282
function createSection(){
8383

all-in-one-metadata/admin/schemaFunctions/class-pressbooks-metadata-engine.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function __construct() {
3030
/**
3131
* A function for gathering all the schema type settings from types that are filtered through their parent.
3232
*
33-
* @since 0.x
33+
* @since 0.13
3434
*/
3535
public function get_type_settings() {
3636
$activeParent = genFunc::get_active_parent();

all-in-one-metadata/admin/schemaFunctions/class-pressbooks-metadata-general-functions.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function __construct() {
2424

2525
/**
2626
* A function that returns the active parent from the parent filter
27-
* @since 0.x
27+
* @since 0.13
2828
*/
2929
public static function get_active_parent(){
3030
$enabledParent = get_option('parent_filter_settings');

all-in-one-metadata/admin/schemaTypes/creativeWorks/class-pressbooks-metadata-article.php

+7-7
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* The class for the article
99
*
1010
* @link https://github.com/Books4Languages/pressbooks-metadata
11-
* @since 0.x
11+
* @since 0.13
1212
*
1313
* @package Pressbooks_Metadata
1414
* @subpackage Pressbooks_Metadata/admin/schemaTypes
@@ -22,7 +22,7 @@ class Pressbooks_Metadata_Article extends Pressbooks_Metadata_Type {
2222
/**
2323
* The variable that holds all parent required properties
2424
*
25-
* @since 0.x
25+
* @since 0.13
2626
* @access public
2727
*/
2828
static $required_parent_props = array(
@@ -32,15 +32,15 @@ class Pressbooks_Metadata_Article extends Pressbooks_Metadata_Type {
3232
/**
3333
* The variable that holds the values for the settings for this schema type
3434
*
35-
* @since 0.x
35+
* @since 0.13
3636
* @access public
3737
*/
3838
static $type_setting = array('article_type' => array('Article Type','http://schema.org/Article'));
3939

4040
/**
4141
* The variable that holds the parents for the type
4242
*
43-
* @since 0.x
43+
* @since 0.13
4444
* @access public
4545
*/
4646
static $type_parents = array(
@@ -51,7 +51,7 @@ class Pressbooks_Metadata_Article extends Pressbooks_Metadata_Type {
5151
/**
5252
* The variable that holds the properties of this schema type
5353
*
54-
* @since 0.x
54+
* @since 0.13
5555
* @access public
5656
*/
5757
static $type_properties = array(
@@ -79,7 +79,7 @@ public function __construct($type_level_input) {
7979
/**
8080
* Function used for combining the current types properties with its parents fields
8181
*
82-
* @since 0.x
82+
* @since 0.13
8383
* @access public
8484
*/
8585
public function get_all_properties() {
@@ -93,7 +93,7 @@ public function get_all_properties() {
9393
/**
9494
* Function used for comparing the instances of the schema types
9595
*
96-
* @since 0.x
96+
* @since 0.13
9797
* @access public
9898
*/
9999
public function __toString() {

all-in-one-metadata/admin/schemaTypes/creativeWorks/class-pressbooks-metadata-blog.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class Pressbooks_Metadata_Blog extends Pressbooks_Metadata_Type {
2121
/**
2222
* The variable that holds all parent required properties
2323
*
24-
* @since 0.x
24+
* @since 0.13
2525
* @access public
2626
*/
2727
static $required_parent_props = array(

all-in-one-metadata/admin/schemaTypes/creativeWorks/class-pressbooks-metadata-clip.php

+7-7
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* The class for the clip
99
*
1010
* @link https://github.com/Books4Languages/pressbooks-metadata
11-
* @since 0.x
11+
* @since 0.13
1212
*
1313
* @package Pressbooks_Metadata
1414
* @subpackage Pressbooks_Metadata/admin/schemaTypes
@@ -22,7 +22,7 @@ class Pressbooks_Metadata_Clip extends Pressbooks_Metadata_Type {
2222
/**
2323
* The variable that holds all parent required properties
2424
*
25-
* @since 0.x
25+
* @since 0.13
2626
* @access public
2727
*/
2828
static $required_parent_props = array(
@@ -32,15 +32,15 @@ class Pressbooks_Metadata_Clip extends Pressbooks_Metadata_Type {
3232
/**
3333
* The variable that holds the values for the settings for this schema type
3434
*
35-
* @since 0.x
35+
* @since 0.13
3636
* @access public
3737
*/
3838
static $type_setting = array('clip_type' => array('Clip Type','http://schema.org/Clip'));
3939

4040
/**
4141
* The variable that holds the parents for the type
4242
*
43-
* @since 0.x
43+
* @since 0.13
4444
* @access public
4545
*/
4646
static $type_parents = array(
@@ -51,7 +51,7 @@ class Pressbooks_Metadata_Clip extends Pressbooks_Metadata_Type {
5151
/**
5252
* The variable that holds the properties of this schema type
5353
*
54-
* @since 0.x
54+
* @since 0.13
5555
* @access public
5656
*/
5757
static $type_properties = array(
@@ -75,7 +75,7 @@ public function __construct($type_level_input) {
7575
/**
7676
* Function used for combining the current types properties with its parents fields
7777
*
78-
* @since 0.x
78+
* @since 0.13
7979
* @access public
8080
*/
8181
public function get_all_properties() {
@@ -89,7 +89,7 @@ public function get_all_properties() {
8989
/**
9090
* Function used for comparing the instances of the schema types
9191
*
92-
* @since 0.x
92+
* @since 0.13
9393
* @access public
9494
*/
9595
public function __toString() {

all-in-one-metadata/admin/schemaTypes/creativeWorks/class-pressbooks-metadata-game.php

+7-7
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* The class for the game
99
*
1010
* @link https://github.com/Books4Languages/pressbooks-metadata
11-
* @since 0.x
11+
* @since 0.13
1212
*
1313
* @package Pressbooks_Metadata
1414
* @subpackage Pressbooks_Metadata/admin/schemaTypes
@@ -22,7 +22,7 @@ class Pressbooks_Metadata_Game extends Pressbooks_Metadata_Type {
2222
/**
2323
* The variable that holds all parent required properties
2424
*
25-
* @since 0.x
25+
* @since 0.13
2626
* @access public
2727
*/
2828
static $required_parent_props = array(
@@ -32,15 +32,15 @@ class Pressbooks_Metadata_Game extends Pressbooks_Metadata_Type {
3232
/**
3333
* The variable that holds the values for the settings for this schema type
3434
*
35-
* @since 0.x
35+
* @since 0.13
3636
* @access public
3737
*/
3838
static $type_setting = array('game_type' => array('Game Type','http://schema.org/Game'));
3939

4040
/**
4141
* The variable that holds the parents for the type
4242
*
43-
* @since 0.x
43+
* @since 0.13
4444
* @access public
4545
*/
4646
static $type_parents = array(
@@ -51,7 +51,7 @@ class Pressbooks_Metadata_Game extends Pressbooks_Metadata_Type {
5151
/**
5252
* The variable that holds the properties of this schema type
5353
*
54-
* @since 0.x
54+
* @since 0.13
5555
* @access public
5656
*/
5757
static $type_properties = array(
@@ -73,7 +73,7 @@ public function __construct($type_level_input) {
7373
/**
7474
* Function used for combining the current types properties with its parents fields
7575
*
76-
* @since 0.x
76+
* @since 0.13
7777
* @access public
7878
*/
7979
public function get_all_properties() {
@@ -87,7 +87,7 @@ public function get_all_properties() {
8787
/**
8888
* Function used for comparing the instances of the schema types
8989
*
90-
* @since 0.x
90+
* @since 0.13
9191
* @access public
9292
*/
9393
public function __toString() {

all-in-one-metadata/admin/schemaTypes/creativeWorks/class-pressbooks-metadata-menu.php

+7-7
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* The class for the menu
99
*
1010
* @link https://github.com/Books4Languages/pressbooks-metadata
11-
* @since 0.x
11+
* @since 0.13
1212
*
1313
* @package Pressbooks_Metadata
1414
* @subpackage Pressbooks_Metadata/admin/schemaTypes
@@ -22,7 +22,7 @@ class Pressbooks_Metadata_Menu extends Pressbooks_Metadata_Type {
2222
/**
2323
* The variable that holds all parent required properties
2424
*
25-
* @since 0.x
25+
* @since 0.13
2626
* @access public
2727
*/
2828
static $required_parent_props = array(
@@ -32,15 +32,15 @@ class Pressbooks_Metadata_Menu extends Pressbooks_Metadata_Type {
3232
/**
3333
* The variable that holds the values for the settings for this schema type
3434
*
35-
* @since 0.x
35+
* @since 0.13
3636
* @access public
3737
*/
3838
static $type_setting = array('menu_type' => array('Menu Type','http://schema.org/Menu'));
3939

4040
/**
4141
* The variable that holds the parents for the type
4242
*
43-
* @since 0.x
43+
* @since 0.13
4444
* @access public
4545
*/
4646
static $type_parents = array(
@@ -51,7 +51,7 @@ class Pressbooks_Metadata_Menu extends Pressbooks_Metadata_Type {
5151
/**
5252
* The variable that holds the properties of this schema type
5353
*
54-
* @since 0.x
54+
* @since 0.13
5555
* @access public
5656
*/
5757
static $type_properties = array(
@@ -70,7 +70,7 @@ public function __construct($type_level_input) {
7070
/**
7171
* Function used for combining the current types properties with its parents fields
7272
*
73-
* @since 0.x
73+
* @since 0.13
7474
* @access public
7575
*/
7676
public function get_all_properties() {
@@ -84,7 +84,7 @@ public function get_all_properties() {
8484
/**
8585
* Function used for comparing the instances of the schema types
8686
*
87-
* @since 0.x
87+
* @since 0.13
8888
* @access public
8989
*/
9090
public function __toString() {

all-in-one-metadata/admin/schemaTypes/creativeWorks/class-pressbooks-metadata-movie.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* The class for the movie
99
*
1010
* @link https://github.com/Books4Languages/pressbooks-metadata
11-
* @since 0.x
11+
* @since 0.13
1212
*
1313
* @package Pressbooks_Metadata
1414
* @subpackage Pressbooks_Metadata/admin/schemaTypes

0 commit comments

Comments
 (0)