Skip to content

Commit 40e70a9

Browse files
author
Chris Gårdenberg
committed
Version bump 2.0.32
1 parent 93139e3 commit 40e70a9

5 files changed

Lines changed: 82 additions & 79 deletions

File tree

CHANGELOG.md

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,75 @@
1+
### 2.0.28
2+
- fix: Interest registration on events, now actually know which event the user selected
3+
4+
### 2.0.27
5+
- add: Better civregno-check for contact persons if the course requires it.
6+
7+
### 2.0.26
8+
- add: Adding automatic pruning of transients that are expired. (Only from EduAdmin)
9+
10+
### 2.0.25
11+
- add: Added query param to view plugin transients to debug caching problems.
12+
13+
### 2.0.24
14+
- removed: Removed client side validation of civic registration numbers.
15+
16+
### 2.0.23
17+
- add: Listview: Allow line breaks in HTML-code from course templates
18+
19+
### 2.0.22
20+
- fix: Setting last admittance date and time to 23:59:59 (since some customers uses that full day)
21+
22+
### 2.0.21
23+
- fix: Added missing `CourseDescriptionShort` in helper-method
24+
25+
### 2.0.20
26+
- chg: Altered the info text you get when you request a password reset.
27+
- chg: Made a new function to group dates, that works better.
28+
29+
### 2.0.19
30+
- add: Added `get_transient` in `eduadmin.php` (`EDU()->get_transient($name, $action, $expiration, ..$args)`)
31+
32+
This method generates a unique transient-name based on the name and the arguments, so that we can cache the same method, multiple times (depending on filters)
33+
34+
- chg: Redoing most of the code fetching data from EduAdmin (Adding `$select`, to decrease the amount of data fetched)
35+
- add: Added new class `EduAdminAPIHelper`, that I'm using to deduplicate code.
36+
- per: Adding more performance fixes, that should solve some issues.
37+
- fix: Fixed a problem with showing price names in the detail view.
38+
- add: Added extra check for regions, so we don't loop over empty objects
39+
40+
### 2.0.18
41+
- fix: Proper sorting on event dates. (Using `sort` on an `array` was stupid)..
42+
43+
### 2.0.17
44+
- fix: Code styling and small fixes
45+
- add: Added a header for the region-filter on the detail view
46+
- fix: Apperantly the information from the course template and event was merged the wrong way, so some information didn't get through.
47+
- add: Added debug variables to "free spots"-placeholder
48+
49+
### 2.0.16
50+
- fix: Validation of answers were changed in the API, so doing change to reflect that
51+
52+
### 2.0.15
53+
- add: Adding region filtering to detail view
54+
- add: Adding filter to event and course list.
55+
- add: Adding styles for region-filter buttons
56+
- add: Adding timer in event-block-a to see if the rendering takes too long
57+
- add: Adding base data and template for region filtering
58+
- add: Adding options in admin to enable region filtering
59+
- add: Adding support for region filtering in API/Ajax methods
60+
- add: Adding region-support in API-controller
61+
- chg: If an event ID is present in the query string on a detail page, we won't show regions.
62+
- chg: Adding more transients to cache more data.
63+
- chg: Adding more checks to multiSort to get rid of notices/warnings
64+
- fix: Adding another filter to get rid of company specific events.
65+
- chg: Code style
66+
67+
### 2.0.14
68+
- fix: `courseattributeid`-attribute on `[eduadmin-detailinfo]` didn't work with a strict check
69+
70+
### 2.0.13
71+
- fix: Sorting on dates even while grouped on city
72+
173
### 2.0.12
274
- fix: We don't need users to accept terms to check prices.. That's just silly.
375

content/template/listTemplate/blocks/course-block-a.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222
}
2323

2424
if ( $show_descr ) {
25-
echo '<div class="courseDescription">' . esc_html( wp_kses( $descr, array(
25+
echo '<div class="courseDescription">' . wp_kses( $descr, array(
2626
'br' => array(),
2727
'p' => array(),
28-
) ) ) . '</div>';
28+
) ) . '</div>';
2929
}
3030

3131
if ( $show_course_locations && ! empty( $event_cities ) && $show_city ) {

content/template/listTemplate/blocks/course-block-b.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
}
2121

2222
if ( $show_descr ) {
23-
echo '<div class"courseDescription">' . esc_html( wp_kses( $descr, array(
23+
echo '<div class"courseDescription">' . wp_kses( $descr, array(
2424
'br' => array(),
2525
'p' => array(),
26-
) ) ) . '</div>';
26+
) ) . '</div>';
2727
}
2828

2929
if ( $show_course_locations && ! empty( $event_cities ) && $show_city ) {

eduadmin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
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: 2.0.31
12+
* Version: 2.0.32
1313
* GitHub Plugin URI: multinetinteractive/eduadmin-wordpress
1414
* GitHub Plugin URI: https://github.com/multinetinteractive/eduadmin-wordpress
1515
* Requires at least: 4.7

readme.md

Lines changed: 5 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: mnchga
33
Tags: booking, participants, courses, events, eduadmin, lega online
44
Requires at least: 4.7
55
Tested up to: 5.0
6-
Stable tag: 2.0.30
6+
Stable tag: 2.0.32
77
Requires PHP: 5.2
88
License: GPL3
99
License-URI: https://www.gnu.org/licenses/gpl-3.0.en.html
@@ -37,6 +37,9 @@ If you notice that your API key doesn't work any more, you have to contact us.
3737

3838
== Changelog ==
3939

40+
### 2.0.32
41+
- add: Allowing HTML (`<p></p>` and `<br />`) in list view
42+
4043
### 2.0.31
4144
- add: Settings page with settings for "My page" / User profiles (Fixes: [#213](https://github.com/MultinetInteractive/EduAdmin-WordPress/issues/214))
4245
- fix: Showing both incl. VAT and excl. VAT prices
@@ -45,76 +48,4 @@ If you notice that your API key doesn't work any more, you have to contact us.
4548
- fix: And actually checking the required-attribute in the validation would help.
4649

4750
### 2.0.29
48-
- fix: [#163](https://github.com/MultinetInteractive/EduAdmin-WordPress/issues/163) Civic registration number only required if the contact person is a participant
49-
50-
### 2.0.28
51-
- fix: Interest registration on events, now actually know which event the user selected
52-
53-
### 2.0.27
54-
- add: Better civregno-check for contact persons if the course requires it.
55-
56-
### 2.0.26
57-
- add: Adding automatic pruning of transients that are expired. (Only from EduAdmin)
58-
59-
### 2.0.25
60-
- add: Added query param to view plugin transients to debug caching problems.
61-
62-
### 2.0.24
63-
- removed: Removed client side validation of civic registration numbers.
64-
65-
### 2.0.23
66-
- add: Listview: Allow line breaks in HTML-code from course templates
67-
68-
### 2.0.22
69-
- fix: Setting last admittance date and time to 23:59:59 (since some customers uses that full day)
70-
71-
### 2.0.21
72-
- fix: Added missing `CourseDescriptionShort` in helper-method
73-
74-
### 2.0.20
75-
- chg: Altered the info text you get when you request a password reset.
76-
- chg: Made a new function to group dates, that works better.
77-
78-
### 2.0.19
79-
- add: Added `get_transient` in `eduadmin.php` (`EDU()->get_transient($name, $action, $expiration, ..$args)`)
80-
81-
This method generates a unique transient-name based on the name and the arguments, so that we can cache the same method, multiple times (depending on filters)
82-
83-
- chg: Redoing most of the code fetching data from EduAdmin (Adding `$select`, to decrease the amount of data fetched)
84-
- add: Added new class `EduAdminAPIHelper`, that I'm using to deduplicate code.
85-
- per: Adding more performance fixes, that should solve some issues.
86-
- fix: Fixed a problem with showing price names in the detail view.
87-
- add: Added extra check for regions, so we don't loop over empty objects
88-
89-
### 2.0.18
90-
- fix: Proper sorting on event dates. (Using `sort` on an `array` was stupid)..
91-
92-
### 2.0.17
93-
- fix: Code styling and small fixes
94-
- add: Added a header for the region-filter on the detail view
95-
- fix: Apperantly the information from the course template and event was merged the wrong way, so some information didn't get through.
96-
- add: Added debug variables to "free spots"-placeholder
97-
98-
### 2.0.16
99-
- fix: Validation of answers were changed in the API, so doing change to reflect that
100-
101-
### 2.0.15
102-
- add: Adding region filtering to detail view
103-
- add: Adding filter to event and course list.
104-
- add: Adding styles for region-filter buttons
105-
- add: Adding timer in event-block-a to see if the rendering takes too long
106-
- add: Adding base data and template for region filtering
107-
- add: Adding options in admin to enable region filtering
108-
- add: Adding support for region filtering in API/Ajax methods
109-
- add: Adding region-support in API-controller
110-
- chg: If an event ID is present in the query string on a detail page, we won't show regions.
111-
- chg: Adding more transients to cache more data.
112-
- chg: Adding more checks to multiSort to get rid of notices/warnings
113-
- fix: Adding another filter to get rid of company specific events.
114-
- chg: Code style
115-
116-
### 2.0.14
117-
- fix: `courseattributeid`-attribute on `[eduadmin-detailinfo]` didn't work with a strict check
118-
119-
### 2.0.13
120-
- fix: Sorting on dates even while grouped on city
51+
- fix: [#163](https://github.com/MultinetInteractive/EduAdmin-WordPress/issues/163) Civic registration number only required if the contact person is a participant

0 commit comments

Comments
 (0)