Skip to content

Commit 4653ebc

Browse files
authored
Merge pull request #497 from MultinetInteractive/master
v3.9.2
2 parents 967fdfb + cc8ff93 commit 4653ebc

12 files changed

Lines changed: 173 additions & 72 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
### [3.9.2](https://github.com/MultinetInteractive/EduAdmin-WordPress/compare/v3.9.1...v3.9.2) (2023-09-26)
6+
7+
8+
### Refactoring
9+
10+
* Made a readme.txt as well, for use in the SVN trunk. ([e6b6d61](https://github.com/MultinetInteractive/EduAdmin-WordPress/commit/e6b6d61b8e3f27c2841c25812f46f6d2cde3ead3))
11+
512
### [3.9.1](https://github.com/MultinetInteractive/EduAdmin-WordPress/compare/v3.9.0...v3.9.1) (2023-09-25)
613

714

Gulpfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ gulp.task("styles-admin", function () {
2222

2323
gulp.task("readme-version", function () {
2424
return gulp
25-
.src("src/readme.md")
25+
.src("src/readme.*")
2626
.pipe(replace("$PLUGINVERSION$", pinfo.version))
2727
.pipe(replace("$PLUGINATLEAST$", pinfo.config.eduadmin.requiresAtLeast))
2828
.pipe(replace("$PLUGINTESTEDTO$", pinfo.config.eduadmin.testedUpTo))
@@ -82,7 +82,7 @@ gulp.task("default", function () {
8282
gulp.watch("src/scss/frontend/**/*.scss", gulp.series("styles-frontend"));
8383
gulp.watch("src/scss/admin/**/*.scss", gulp.series("styles-admin"));
8484
gulp.watch("src/eduadmin.php", gulp.series("eduadmin-version"));
85-
gulp.watch("src/readme.md", gulp.series("readme-version"));
85+
gulp.watch("src/readme.*", gulp.series("readme-version"));
8686
gulp.watch(
8787
"package.json",
8888
gulp.series("readme-version", "eduadmin-version")

PLUGIN-CHECKSUM

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
aa4d899950d162a8261ab42e4dffcf4d
1+
026e2a4bf09a14fb3bd4ee69ccc896cf

content/template/listTemplate/template_A_listCourses.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
continue;
2121
}
2222
include 'blocks/course-block-a.php';
23-
$current_events++;
23+
$current_events ++;
2424
}
2525
} else {
2626
?>

eduadmin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
* Plugin URI: https://www.eduadmin.se
1010
* Description: EduAdmin plugin to allow visitors to book courses at your website
1111
* Tags: booking, participants, courses, events, eduadmin, lega online
12-
* Version: 3.9.1
12+
* Version: 3.9.2
1313
* GitHub Plugin URI: multinetinteractive/eduadmin-wordpress
1414
* GitHub Plugin URI: https://github.com/multinetinteractive/eduadmin-wordpress
1515
* Requires at least: 5.8
16-
* Tested up to: 6.3.0
16+
* Tested up to: 6.4
1717
* Requires PHP: 7.0
1818
* Author: Chris Gårdenberg, MultiNet Interactive AB
1919
* Author URI: https://www.multinet.com

includes/edu-shortcodes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ function eduadmin_get_detailinfo( $attributes ) {
446446
$ret_str .= '<div class="pricename"><span class="pricename-price">' . esc_html( edu_get_price( current( $prices )['Price'], $selected_course['ParticipantVat'], $attributes['eventprice'] ) ) . "</span></div>\n";
447447
} else {
448448
foreach ( $prices as $price ) {
449-
$ret_str .= wp_kses_post( sprintf( '<div class="pricename"><span class="pricename-description">%1$s</span> <span class="pricename-price">%2$s</span></div>', $price['PriceNameDescription'], edu_get_price( $price['Price'], $edo['ParticipantVat'], $attributes['eventprice'] ) ) ) . "\n";
449+
$ret_str .= wp_kses_post( sprintf( '<div class="pricename"><span class="pricename-description">%1$s</span> <span class="pricename-price">%2$s</span></div>', $price['PriceNameDescription'], edu_get_price( $price['Price'], $selected_course['ParticipantVat'], $attributes['eventprice'] ) ) ) . "\n";
450450
}
451451
}
452452
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "eduadmin-wordpress-plugin",
33
"private": true,
4-
"version": "3.9.1",
4+
"version": "3.9.2",
55
"repository": "https://github.com/MultinetInteractive/EduAdmin-WordPress.git",
66
"author": "Chris Gårdenberg <chga@multinet.se>",
77
"license": "MIT",
@@ -30,7 +30,7 @@
3030
"path": "./node_modules/cz-conventional-changelog"
3131
},
3232
"eduadmin": {
33-
"testedUpTo": "6.3.0",
33+
"testedUpTo": "6.4",
3434
"requiresAtLeast": "5.8",
3535
"minimumPhpVersion": "7.0"
3636
}

readme.md

Lines changed: 21 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,51 @@
1-
=== EduAdmin Booking ===
2-
Contributors: mnchga
3-
Tags: booking, participants, courses, events, eduadmin, lega online
4-
Requires at least: 5.8
5-
Tested up to: 6.3.0
6-
Stable tag: 3.9.1
7-
Requires PHP: 7.0
8-
License: GPL3
9-
License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
1+
# EduAdmin Booking
2+
- Requires at least: 5.8
3+
- Tested up to: 6.4
4+
- Stable tag: 3.9.2
5+
- Requires PHP: 7.0
6+
- License: GPL3
7+
- License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
108

119
EduAdmin plugin to allow visitors to book courses at your website. Requires EduAdmin-account.
1210

13-
== Description ==
11+
## Description
1412

1513
Plugin that you connect to [EduAdmin](https://www.eduadmin.se) to enable booking on your website.
1614

17-
[<img src="https://img.shields.io/wordpress/plugin/v/eduadmin-booking.svg" alt="Plugin version" />](https://wordpress.org/plugins/eduadmin-booking/)
18-
[<img src="https://img.shields.io/wordpress/plugin/dt/eduadmin-booking.svg" alt="Downloads" />](https://wordpress.org/plugins/eduadmin-booking/)
19-
[<img src="https://img.shields.io/wordpress/v/eduadmin-booking.svg" alt="Tested up to" />](https://wordpress.org/plugins/eduadmin-booking/)
20-
21-
[<img src="https://badges.gitter.im/MultinetInteractive/EduAdmin-WordPress.png" alt="Gitter" />](https://gitter.im/MultinetInteractive/EduAdmin-WordPress)
22-
[<img src="https://travis-ci.org/MultinetInteractive/EduAdmin-WordPress.svg?branch=master" alt="Build status" />](https://travis-ci.org/MultinetInteractive/EduAdmin-WordPress)
23-
[<img src="https://scrutinizer-ci.com/g/MultinetInteractive/EduAdmin-WordPress/badges/quality-score.png?b=master" alt="Code quality" />](https://scrutinizer-ci.com/g/MultinetInteractive/EduAdmin-WordPress/?branch=master)
24-
2515
[<img src="https://img.shields.io/github/commits-since/MultinetInteractive/EduAdmin-WordPress/latest.svg" alt="Commits since latest plugin version" />](https://wordpress.org/plugins/eduadmin-booking/)
2616

2717
Requires the following PHP-modules
2818

2919
- php-curl
3020
- php-mbstring
3121

32-
== Installation ==
22+
## Installation
3323

3424
- Upload the zip-file (or install from WordPress) and activate the plugin
3525
- Provide the API key from EduAdmin.
3626
- Create pages for the different views and give them their shortcodes
3727

38-
== Upgrade Notice ==
28+
## Upgrade Notice
3929

40-
= 3.0 =
30+
### 3.0
4131

4232
Styles have been remade for the end user login page, and the booking list page. Please check that any custom styles are still working, or you might need to fix them.
4333

44-
= 2.0 =
34+
### 2.0
4535

4636
We have replaced everything with a new API-client, so some things may be broken. If you experience any bugs (not new feature-requests), please contact the MultiNet Support.
4737
If you notice that your API key doesn't work any more, you have to contact us.
4838

49-
== Changelog ==
39+
## Changelog
40+
41+
The full changelog available on [GitHub](https://github.com/MultinetInteractive/EduAdmin-WordPress/blob/production/CHANGELOG.md)
42+
43+
### [3.9.2](https://github.com/MultinetInteractive/EduAdmin-WordPress/compare/v3.9.1...v3.9.2) (2023-09-26)
5044

51-
The full changelog available on https://github.com/MultinetInteractive/EduAdmin-WordPress/blob/production/CHANGELOG.md
45+
46+
#### Refactoring
47+
48+
* Made a readme.txt as well, for use in the SVN trunk. ([e6b6d61](https://github.com/MultinetInteractive/EduAdmin-WordPress/commit/e6b6d61b8e3f27c2841c25812f46f6d2cde3ead3))
5249

5350
### [3.9.1](https://github.com/MultinetInteractive/EduAdmin-WordPress/compare/v3.9.0...v3.9.1) (2023-09-25)
5451

@@ -66,20 +63,5 @@ The full changelog available on https://github.com/MultinetInteractive/EduAdmin-
6663

6764
### [3.8.1](https://github.com/MultinetInteractive/EduAdmin-WordPress/compare/v3.8.0...v3.8.1) (2023-09-08)
6865

69-
### [3.8.0](https://github.com/MultinetInteractive/EduAdmin-WordPress/compare/v3.7.1...v3.8.0) (2023-09-08)
70-
71-
72-
#### Features
73-
74-
* Added actions for showing course/event lists ([2fcdc70](https://github.com/MultinetInteractive/EduAdmin-WordPress/commit/2fcdc70a71969bbd9e1967e72e615f840321d13d)), closes [#488](https://github.com/MultinetInteractive/EduAdmin-WordPress/issues/488)
75-
* Added actions for viewing detail views, booking forms and performing a purchase (not programs) ([a3270b2](https://github.com/MultinetInteractive/EduAdmin-WordPress/commit/a3270b265919513935f817c87bc259c91877e9db)), closes [#488](https://github.com/MultinetInteractive/EduAdmin-WordPress/issues/488)
76-
* Added actions for viewing detail views, booking forms and performing a purchase of programs ([5dee4ec](https://github.com/MultinetInteractive/EduAdmin-WordPress/commit/5dee4ecc0abf158b98e2d0a63499c953f46a5409)), closes [#488](https://github.com/MultinetInteractive/EduAdmin-WordPress/issues/488)
77-
* Added actions for viewing detail views, booking forms and performing a purchase of programs ([d2757b4](https://github.com/MultinetInteractive/EduAdmin-WordPress/commit/d2757b478c470e8717cc522fe6ee58c86d339f9e)), closes [#488](https://github.com/MultinetInteractive/EduAdmin-WordPress/issues/488)
78-
79-
80-
#### Documentation
81-
82-
* Added information about Actions ([2042c70](https://github.com/MultinetInteractive/EduAdmin-WordPress/commit/2042c7023647eb2e3f09c5d5db0b2faf7bf9d4a5))
83-
8466

8567

readme.txt

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
=== EduAdmin Booking ===
2+
Contributors: mnchga
3+
Tags: booking, participants, courses, events, eduadmin, lega online
4+
Requires at least: 5.8
5+
Tested up to: 6.4
6+
Stable tag: 3.9.2
7+
Requires PHP: 7.0
8+
License: GPL3
9+
License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
10+
Donate link: https://github.com/sponsors/itssimple
11+
12+
EduAdmin plugin to allow visitors to book courses at your website. Requires EduAdmin-account.
13+
14+
== Description ==
15+
16+
Plugin that you connect to [EduAdmin](https://www.eduadmin.se) to enable bookings of both courses and programmes through your website.
17+
18+
Requires the following PHP-modules
19+
20+
- php-curl
21+
- php-mbstring
22+
23+
== Installation ==
24+
25+
- Upload the zip-file (or install from WordPress) and activate the plugin
26+
- Provide the API key from EduAdmin.
27+
- Create pages for the different views and give them their shortcodes
28+
29+
== Frequently Asked Questions ==
30+
31+
== Screenshots ==
32+
33+
== Upgrade Notice ==
34+
35+
= 3.0 =
36+
37+
Styles have been remade for the end user login page, and the booking list page. Please check that any custom styles are still working, or you might need to fix them.
38+
39+
= 2.0 =
40+
41+
We have replaced everything with a new API-client, so some things may be broken. If you experience any bugs (not new feature-requests), please contact the MultiNet Support.
42+
If you notice that your API key doesn't work any more, you have to contact us.
43+
44+
== Changelog ==
45+
46+
The full changelog available on [GitHub](https://github.com/MultinetInteractive/EduAdmin-WordPress/blob/production/CHANGELOG.md)
47+
48+
### [3.9.2](https://github.com/MultinetInteractive/EduAdmin-WordPress/compare/v3.9.1...v3.9.2) (2023-09-26)
49+
50+
51+
#### Refactoring
52+
53+
* Made a readme.txt as well, for use in the SVN trunk. ([e6b6d61](https://github.com/MultinetInteractive/EduAdmin-WordPress/commit/e6b6d61b8e3f27c2841c25812f46f6d2cde3ead3))
54+
55+
### [3.9.1](https://github.com/MultinetInteractive/EduAdmin-WordPress/compare/v3.9.0...v3.9.1) (2023-09-25)
56+
57+
58+
#### Bug Fixes
59+
60+
* **Programme:** Fixed an issue where programme views/shortcodes weren't included in the correct way. ([fd0ee12](https://github.com/MultinetInteractive/EduAdmin-WordPress/commit/fd0ee128dfc1e324732544f9071640b5aba76e0c)), closes [#494](https://github.com/MultinetInteractive/EduAdmin-WordPress/issues/494)
61+
62+
### [3.9.0](https://github.com/MultinetInteractive/EduAdmin-WordPress/compare/v3.8.1...v3.9.0) (2023-09-15)
63+
64+
65+
#### Features
66+
67+
* New type of script, when you use the booking form in the API. ([92eabd8](https://github.com/MultinetInteractive/EduAdmin-WordPress/commit/92eabd85c6d6392e3ce68db769fd60f52258dc77)), closes [#412](https://github.com/MultinetInteractive/EduAdmin-WordPress/issues/412)
68+
69+
### [3.8.1](https://github.com/MultinetInteractive/EduAdmin-WordPress/compare/v3.8.0...v3.8.1) (2023-09-08)
70+
71+
72+

scripts/trunk_gh.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ rm -fR $PROJECT_ROOT/node_modules
5656
rm -fR $PROJECT_ROOT/src
5757
rm -fR $PROJECT_ROOT/docs
5858
rm -fR $PROJECT_ROOT/new_website
59+
rm -fR $PROJECT_ROOT/readme.md
5960

6061
# Make sure we are in the project root
6162
cd $PROJECT_ROOT

0 commit comments

Comments
 (0)