Skip to content

Commit e6b6d61

Browse files
author
Chris Gårdenberg
committed
refactor: Made a readme.txt as well, for use in the SVN trunk.
1 parent 4aebaeb commit e6b6d61

10 files changed

Lines changed: 164 additions & 54 deletions

File tree

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+
f33dc9983fe549fe11c0d94aacf512fe

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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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: 14 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,44 @@
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.1
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
5040

51-
The full changelog available on https://github.com/MultinetInteractive/EduAdmin-WordPress/blob/production/CHANGELOG.md
41+
The full changelog available on [GitHub](https://github.com/MultinetInteractive/EduAdmin-WordPress/blob/production/CHANGELOG.md)
5242

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

readme.txt

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
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.1
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.1](https://github.com/MultinetInteractive/EduAdmin-WordPress/compare/v3.9.0...v3.9.1) (2023-09-25)
49+
50+
51+
#### Bug Fixes
52+
53+
* **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)
54+
55+
### [3.9.0](https://github.com/MultinetInteractive/EduAdmin-WordPress/compare/v3.8.1...v3.9.0) (2023-09-15)
56+
57+
58+
#### Features
59+
60+
* 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)
61+
62+
### [3.8.1](https://github.com/MultinetInteractive/EduAdmin-WordPress/compare/v3.8.0...v3.8.1) (2023-09-08)
63+
64+
### [3.8.0](https://github.com/MultinetInteractive/EduAdmin-WordPress/compare/v3.7.1...v3.8.0) (2023-09-08)
65+
66+
67+
#### Features
68+
69+
* 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)
70+
* 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)
71+
* 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)
72+
* 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)
73+
74+
75+
#### Documentation
76+
77+
* Added information about Actions ([2042c70](https://github.com/MultinetInteractive/EduAdmin-WordPress/commit/2042c7023647eb2e3f09c5d5db0b2faf7bf9d4a5))
78+
79+
80+

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

src/readme.md

Lines changed: 14 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,44 @@
1-
=== EduAdmin Booking ===
2-
Contributors: mnchga
3-
Tags: booking, participants, courses, events, eduadmin, lega online
4-
Requires at least: $PLUGINATLEAST$
5-
Tested up to: $PLUGINTESTEDTO$
6-
Stable tag: $PLUGINVERSION$
7-
Requires PHP: $PLUGINREQUIREDPHP$
8-
License: GPL3
9-
License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
1+
# EduAdmin Booking
2+
- Requires at least: $PLUGINATLEAST$
3+
- Tested up to: $PLUGINTESTEDTO$
4+
- Stable tag: $PLUGINVERSION$
5+
- Requires PHP: $PLUGINREQUIREDPHP$
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
5040

51-
The full changelog available on https://github.com/MultinetInteractive/EduAdmin-WordPress/blob/production/CHANGELOG.md
41+
The full changelog available on [GitHub](https://github.com/MultinetInteractive/EduAdmin-WordPress/blob/production/CHANGELOG.md)
5242

5343
$CHANGELOG$
5444

src/readme.txt

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
=== EduAdmin Booking ===
2+
Contributors: mnchga
3+
Tags: booking, participants, courses, events, eduadmin, lega online
4+
Requires at least: $PLUGINATLEAST$
5+
Tested up to: $PLUGINTESTEDTO$
6+
Stable tag: $PLUGINVERSION$
7+
Requires PHP: $PLUGINREQUIREDPHP$
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+
$CHANGELOG$
49+

0 commit comments

Comments
 (0)