PluginProbe
Event Post / 6.1.2
Event Post v6.1.2
6.1.2 6.1.1 6.1.0 6.0.1 6.0.0 5.12.0 trunk 3.9 4.0 4.2 4.3 4.4 4.5 5.0 5.1 5.10.0 5.10.1 5.10.2 5.10.3 5.10.4 5.11.0 5.11.1 5.2 5.5 5.6 All 47 releases
← All changes | readme.txt +216 -602 5.5 → 6.1.2 View file →
@@ -1,27 +1,31 @@
1 -=== Event post ===
2 -Contributors: bastho, leroysabrina, unecologeek, agencenous
3 -Donate link: https://apps.avecnous.eu/en/product/eventpost/?mtm_campaign=wp-plugin&mtm_kwd=event-post&mtm_medium=wp.org
4 -Tags: calendar, event, events, Post, posts, ics, ical, date, geolocalization, coordinates, gps, widget, map, openstreetmap, agenda, weather, multisite, native, gutenberg
5 -Requires at least: 5.3
6 -Tested up to: 5.9
7 -Stable tag: 5.5
8 -License: GPLv2
9 -License URI: https://www.gnu.org/licenses/gpl-2.0.html
1 +# Event Post
2 +Contributors: agencenous, bastho, aureliefoucher, enzomangiante, leroysabrina, unecologeek
3 +Donate link: https://apps.avecnous.eu/en/product/eventpost/?mtm_campaign=wp-plugin&mtm_kwd=event-post&mtm_medium=wp-repo&mtm_source=donate
4 +Tags: calendar, events, booking, map, geolocation
5 +Requires at least: 6.3
6 +Tested up to: 7.1
7 +Stable tag: 6.1.2
8 +Author URI: https://apps.avecnous.eu/?mtm_campaign=wp-plugin&mtm_kwd=event-post&mtm_medium=wp-repo&mtm_source=author
9 +License: GPLv2
10 +License URI: https://www.gnu.org/licenses/gpl-2.0.html
10 11
11 12 The only WordPress plugin using native posts as full calendar events with begin and end date, geolocation, color and weather.
12 13
13 -== Description ==
14 -Adds some meta-data to posts to convert them into full calendar events.
15 -Each event can be exported into ical(.ics), outlook(vcs), or Google Calendar.
16 -Geolocation works thanks to openstreetmap.
14 +## Description
17 15
16 +Adds some meta-data to posts to convert them into full calendar events.
17 +Each event can be exported into ical(.ics), outlook(vcs), or Google Calendar.
18 +Geolocation works thanks to openstreetmap.
19 +
18 20 It can also fetch the weather, but doesn't bring the sun :)
19 21
20 -[event-post.com](https://event-post.com/?mtm_campaign=wp-plugin&mtm_kwd=event-post&mtm_medium=wp.org)
22 +Follow [@wpeventpost](https://twitter.com/wpeventpost) on Twitter for latest news.
21 23
22 -= Post metas =
24 +Examples on [event-post.com](https://event-post.com/?mtm_campaign=wp-plugin&mtm_kwd=event-post&mtm_medium=wp.org)
23 25
26 +### Post metas
27 +
24 28 **Date attributes**
25 29
26 30 * Begin Date
27 31 * End Date
@@ -34,8 +38,14 @@
34 38 * Address
35 39 * GPS coordinates
36 40 * Event Virtual Location
37 41
42 +**WooCommerce compliant**
43 +
44 +You can enable event features on Woocommerce products. The event will be displayed on the product page. Moreover, the product price will be displayed in event list, calendar, map and timeline.
45 +
46 +This, way, you can sell tickets for your events, effortlessly and without any additional plugin.
47 +
38 48 **Weather attribute** (for a given location and date if possible)
39 49
40 50 * Weather
41 51 - Temperature
@@ -40,14 +50,14 @@
40 50 * Weather
41 51 - Temperature
42 52 - Weather
43 53
44 -= Usage =
54 +### Usage
45 55
46 -[Plugins/themes developpers documentation](http://event-post.com/docs/event-post/?mtm_campaign=wp-plugin&mtm_kwd=event-post&mtm_medium=wp.org)
56 +[Plugins/themes developpers documentation](https://event-post.com/docs/event-post/?mtm_campaign=wp-plugin&mtm_kwd=event-post&mtm_medium=wp.org)
47 57
48 -## Shortcodes
49 -The plugin comes with several shortcodes wich allows to:
58 +## Blocks & Shortcodes
59 +The plugin comes with several blocks/shortcodes which allows to:
50 60
51 61 * `[events_list]`: display a list of events
52 62 * `[events_map]`: display a map of events
53 63 * `[events_cal]`: display a calendar of events
@@ -62,11 +72,11 @@
62 72 * **cat=''** *(string, select posts only from the selected category, default=null, for all categories)*
63 73 * **tag=''** *(string, select posts only from the selected tag, default=null, for all tags)*
64 74 * **tax_name=''** *(string, custom taxonomy name)*
65 75 * **tax_term=''** *(string, the term for above taxonomy)*
66 -* **geo=0** *(boolean, retreives or not, only events wich have geolocation informations, default=0)*
67 -* **order="ASC"** *(string (can be "ASC" or "DESC")*
68 -* **orderby="meta_value"** *(string (if set to "meta_value" events are sorted by event date, possible values are native posts fields : "post_title","post_date" etc...)*
76 +* **geo=0** *(boolean, retreives or not, only events which have geolocation informations, default=0)*
77 +* **order="ASC"** *(string, can be "ASC" or "DESC")*
78 +* **orderby="meta_value"** *(string, if set to "meta_value" events are sorted by event date, possible values are native posts fields : "post_title","post_date" etc...)*
69 79
70 80 #### Display parameters
71 81
72 82 * **thumbnail=''** *(Bool, default:false, used to display posts thumbnails)*
@@ -74,39 +84,40 @@
74 84 * **excerpt=''** *(Bool, default:false, used to display posts excerpts)*
75 85 * **style=''** *(String, add some inline CSS to the list wrapper)*
76 86 * **type="div"** *(string, possible values are : div, ul, ol default=div)*
77 87 * **title=''** *(string, hidden if no events is found)*
78 -* **before_title='<h3>'** *(string (default <h3>)*
79 -* **after_title='</h3>'** *(string (default </h3>)*
88 +* **before_title='<h3>'** *(string, default <h3>)*
89 +* **after_title='</h3>'** *(string, default </h3>)*
80 90 * **container_schema=''** *(string html schema to display list)*
81 91 * **item_schema=''** *(string html schema to display item)*
82 92
83 93 example:
84 94
85 -`
86 -[events_list future=1 past=1 cat="actuality" nb=10]
87 -`
95 +`<!-- wp:eventpost/list {"nb":10,"future":true,"past":true,"thumbnail":false,"excerpt":false,"pages":true} /-->`
88 96
97 +`[events_list future=1 past=1 cat="actuality" nb=10]`
98 +
99 +
89 100 container_schema default value:
90 101
91 -> &lt;%type% class="event_loop %id% %class%" id="%listid%" style="%style%" %attributes%&gt;
92 -> %list%
93 -> &lt;/%type%&gt;
102 +> &lt;%type% class="event_loop %id% %class%" id="%listid%" style="%style%" %attributes%&gt;
103 +> %list%
104 +> &lt;/%type%&gt;
94 105 >
95 106
96 107
97 108 item_schema default value:
98 109
99 -> &lt;%child% class="event_item %class%" data-color="%color%"&gt;
100 -> &lt;a href="%event_link%"&gt;
101 -> %event_thumbnail%
102 -> &lt;h5>%event_title%&lt;/h5&gt;
103 -> &lt;/a&gt;
104 -> %event_date%
105 -> %event_cat%
106 -> %event_location%
107 -> %event_excerpt%
108 -> &lt;/%child%&gt;
110 +> &lt;%child% class="event_item %class%" data-color="%color%"&gt;
111 +> &lt;a href="%event_link%"&gt;
112 +> %event_thumbnail%
113 +> &lt;h5>%event_title%&lt;/h5&gt;
114 +> &lt;/a&gt;
115 +> %event_date%
116 +> %event_cat%
117 +> %event_location%
118 +> %event_excerpt%
119 +> &lt;/%child%&gt;
109 120 >
110 121
111 122 ### [events_map]
112 123
@@ -117,12 +128,12 @@
117 128 * **tag=''** *(string, select posts only from the selected tag, default=null, for all tags)*
118 129 * **tax_name=''** *(string, custom taxonomy name)*
119 130 * **tax_term=''** *(string, the term for above taxonomy)*
120 131 * **tile=''** *(string ([email protected], OpenCycleMap, mapquest, osmfr, 2u, satelite, toner), sets the map background, [email protected])*
121 -* **title=''** *(string (default)*
122 -* **zoom=''** *(number or empty (default, means fit to points)*
123 -* **before_title='&lt;h3&gt;';** *(string (default &lt;h3&gt;)*
124 -* **after_title='&lt;/h3&gt;'** *(string (default &lt;/h3&gt;)**
132 +* **title=''** *(string, default)*
133 +* **zoom=''** *(number or empty, default, means fit to points)*
134 +* **before_title='&lt;h3&gt;';** *(string, default &lt;h3&gt;)*
135 +* **after_title='&lt;/h3&gt;'** *(string, default &lt;/h3&gt;)**
125 136 * **thumbnail=''** * (Bool, default:false, used to display posts thumbnails)*
126 137 * **excerpt=''** *(Bool, default:false, used to display posts excerpts)*
127 138 * **list=''** *(String ("false", "above", "below", "right", "left") default: "false", Display a list of posts)*
128 139
@@ -127,18 +138,18 @@
127 138 * **list=''** *(String ("false", "above", "below", "right", "left") default: "false", Display a list of posts)*
128 139
129 140 example:
130 141
131 -`
132 -[events_map future=1 past=1 cat="actuality" nb="-1"]
133 -`
142 +`<!-- wp:eventpost/map {"nb":-1,"future":true,"past":true,"tile":"toner","list":"below","map_position":false,"disable_mousewheelzoom":true} /-->`
134 143
144 +`[events_map future=1 past=1 cat="actuality" nb="-1"]`
145 +
135 146 ### [events_cal]
136 147
137 148 * **cat=''** *(string, select posts only from the selected category, default=null, for all categories)*
138 -* **date=''** *(string, date for a month. Absolutly : 2013-9 or relatively : -1 month, default is empty, current month*
149 +* **date=''** *(string, date for a month. Absolutly : 2013-9 or relatively : -1 month, default is empty, current month)*
139 150 * **datepicker=1** *(boolean, displays or not a date picker)*
140 -* **mondayfirst=0** *(boolean, weeks start on monday, default is 0 (sunday)*
151 +* **mondayfirst=0** *(boolean, weeks start on monday, default is 0 sunday)*
141 152 * **display_title=0** *(boolean, displays or not events title under the day number)*
142 153 * **tax_name=''** *(string, custom taxonomy name)*
143 154 * **tax_term=''** *(string, the term for above taxonomy)*
144 155
@@ -143,21 +154,21 @@
143 154 * **tax_term=''** *(string, the term for above taxonomy)*
144 155
145 156 example:
146 157
147 -`
148 -[events_cal cat="actuality" date="-2 months" mondayfirst=1 display_title=1]
149 -`
158 +`<!-- wp:eventpost/calendar {"date":"-2 months","color":true,"display_title":true,"mondayfirst":"1","choose":false} /-->`
150 159
160 +`[events_cal cat="actuality" date="-2 months" mondayfirst=1 display_title=1]`
161 +
151 162 ### [event_details]
152 163
153 164 * **attribute** *string (date, start, end, address, location). The default value is NULL and displays the full event bar*
154 165
155 -`
156 -[event_details attribute="address"]
157 -`
166 +`<!-- wp:eventpost/details /-->`
158 167
159 -= Hooks =
168 +`[event_details attribute="address"]`
169 +
170 +### Hooks
160 171 <a id="hooks"></a>
161 172 #### Filters
162 173 * eventpost_add_custom_box_position
163 174 * event_post_class_calendar_link
@@ -194,20 +205,23 @@
194 205 * eventpost_getsettings
195 206 * eventpost_settings_form
196 207 * eventpost_after_settings_form
197 208
198 -== Installation ==
209 +## Installation
199 210
200 211 1. Upload `event-post` to the `/wp-content/plugins/` directory
201 212 2. Activate the plugin through the 'Plugins' menu in WordPress admin
202 213 3. You can edit defaults settings in Settings > Event post
203 214
204 -== Frequently asked questions ==
215 +## Frequently asked questions
205 216
206 -= Is the plugin free ? =
217 +### How can I report security bugs?
218 +You can report security bugs through the Patchstack Vulnerability Disclosure Program. The Patchstack team help validate, triage and handle any security vulnerabilities. [Report a security vulnerability.](https://patchstack.com/database/wordpress/plugin/event-post/vdp)
219 +
220 +### Is the plugin free ?
207 221 Yes, and it uses only open-sources : openstreetmap, openlayer, jquery
208 222
209 -= How do I enable weather feature ? =
223 +### How do I enable weather feature ?
210 224 Weather feature uses openweathermap.org api.
211 225
212 226 You have to create an account and generate an API key at http://openweathermap.org/price
213 227
@@ -212,631 +226,231 @@
212 226 You have to create an account and generate an API key at http://openweathermap.org/price
213 227
214 228 I have no interest in openweathermap.org, I personally use the free plan.
215 229
216 -= Is there any limitation for the weather feature ? =
230 +### Is there any limitation for the weather feature ?
217 231 Openweathermap.org provides a free plan limited to 60 requests per minute.
218 232
219 233 You can also subscribe to paid plan, I don't care.
220 234
221 235
222 -== Screenshots ==
236 +## Screenshots
223 237
224 -1. Single page
225 -2. Editor interface
226 -3. Map
238 +1. Map in single page
239 +2. Editor interface for the List Block
240 +3. Editor interface for event data
241 +4. Editor interface for location data
242 +## Changelog
227 243
228 -== Changelog ==
244 +### 6.1.2
229 245
230 -= 5.5 =
246 +- Fix ability of logged-in users to create child events on posts they aren't allowed edit - Reported by Ananda Dhakal
247 +- Fix ability of logged-in users to delete posts without checking permissions - Reported by genisis-lab
248 +- Tested up to WP 7.1
249 +- Keep the internal version number in sync with the plugin header
231 250
232 -- Make location button clickable
233 -- Add padding around markers on map
234 -- Update OpenLayer to 6.12
235 -- Use native className in blocks
251 +### 6.1.1
236 252
237 -= 5.4 =
238 -- Add pretty URLs for ICS exports
239 -- Add geo: link on mobile devices
240 -- Refactor: split huge PHP/SCSS files into smaller ones
241 -- Fix PHP8 warnings
253 +- Check for event status in export - Reported by Que Thanh Tuan
254 +- Add HTTP code in export error
255 +- Fix warning about variable references
242 256
243 -= 5.3.9 =
257 +### 6.1.0
244 258
245 -- Fix crash in php8 : check time_start before using it in date()
246 -- Fix missing var for VCS export
247 -- Remove PHP notice in case of missusage
248 -- Add Timezone in RichEvent data
259 +- Improves Timeline:
260 + - Add mouse swipe on timeline
261 + - Add support for responsive number of items
262 + - More intuitive controls in editor
263 +- Improves Calendar:
264 + - Use toggle controls in calendar editor
265 + - Add swipe and horizontal scroll navigation
266 +- Fixes:
267 + - Fix support for classname on blocks
268 + - Fix shown HTML in title
249 269
250 -= 5.3.8 =
270 +### 6.0.1
251 271
252 -- Allows to set custom HTML for pop elements in Map
253 -- Allows to set custom position on Map Block
254 -- Add filters on Calendar Date
272 +- Show all events in timeline
273 +- Default to 3 items in timeline pages
255 274
256 -= 5.3.7 =
275 +### 6.0.0
257 276
258 -- Icalendar standards compliance
277 +- Add align support on blocks
278 +- Improves Timeline:
279 + - New vertical layout
280 + - New "order" option
281 + - Add gesture support
282 + - Add time markers
283 + - Use CSS vars
284 +- Improves Map:
285 + - Split options in editor
286 + - Ensure data are loaded before rendering map block
287 +- Security: Add direct file access protections
288 +- Add comments for translators
289 +- Update apiVersion to 3 in block declarations
259 290
260 -= 5.3.6 =
291 +### 5.12.0
261 292
262 -- Use real permalink in ICS
293 +- More reliable interaction options in map block editor
294 +- Add new geocode method for factorization purpose
295 +- Fix margins in map block editor
296 +- Update deps
263 297
264 -= 5.3.5 =
298 +### 5.11.1
265 299
266 -- Make blocks localizable
267 -- Update .POT file
268 -- Set default height/width to map
269 -- Update OpenLayer librairy to v6.5
270 -- Fix jQuery migrate deprecations
271 -- Load map in editor after a 2s delay, The #openlayer map doesn't like to be hidden when loading
272 -- Move map controllers outside of the map
273 -- Add missing var declaration
274 -- Correctly get text for address search in edit page
275 -- Explicitly declare var in JS
276 -- Move inline-edit JS file in SRC and minify it
300 +- Update dependencies
277 301
278 -= 5.3.4 =
302 +### 5.11.0
279 303
280 -- Fix Map not displayed in editor view
281 -- Fix Map not displayed in single view
282 -- Set default height to Map Block
283 -- Update OpenLayer to 6.5
284 -- Fix jQuery Migrate deprecations
285 -- Minify inline edit script
286 -- Correctly get text for address search in edit page
304 +- More flexible filters in ICS links: allows to deal with custom taxonomies
305 +- ICS: Improve DESCRIPTION formatting for better calendar compatibility
306 +- Security: Escape some outputs
287 307
288 -= 5.3.3 =
308 +### 5.10.4
289 309
290 -- Add triggers on calendar
291 -- Add setting to hide/show EventStatus
292 -- Add "eventpost_shorcode_slug" filter
293 -- Remove deprecated shortcode wizard
294 -- Remove support for shortcake (shortcode UI)
295 -- Remove hard-coded textdomain loader
296 -- Fix JS warnings in admin
310 +- Fix geocoding with Nominatim: use HTTPS, add User-agent and referer for API calls
311 +- Add explicit Nominatim attribution in geocoding tool
312 +- Fix XSS vulnerability when the HTML tag in event_type was forced, reported by Muhammad Yudha - DJ
297 313
298 -= 5.3.2 =
314 +### 5.10.3
299 315
300 -- Add tax_name and tax_term attributes to shortcodes.
301 -- Update shortcodes documentation
316 +- Fix broken HTML for `container_schema`
302 317
303 -= 5.3.1 =
318 +### 5.10.2
304 319
305 -- Add wrappers around date picker in calendar widget
306 -- Add date remove button in editor
307 -- Remove PHP warning in single view when post is not an event
320 +- Security: Fix XSS vulnerability in `events_list` shortcode for `item_schema` and `container_schema` attributes, reported by Peter Thaleikis
321 +- Update dependencies
308 322
323 +### 5.10.1
309 324
310 -By the way:
325 +- Ensure script is loaded in shortcode context
326 +- Fix "undefined" price in map
311 327
312 -- Start files refactor : move custom boxes content into view directory
328 +### 5.10.0
313 329
314 -= 5.3 =
330 +- Add support for organization / remote offer in rich event data
331 +- Manage multiple maps on single page
332 +- Security: Escape attributes in custom boxes
333 +- Fix too much escaped HTML in `eventpost/details` block
334 +- Fix missing script for single map link
335 +- Disambiguate `event_category` class
336 +- Remove deprecated `FILTER_SANITIZE_STRING`
337 +- Moves Weather to EventPost namespace
338 +- Re-order hooks, fix warnings
315 339
316 -- Add W3C/Event properties : AttendanceMode, EventStatus and LocationType
317 -- Add pagination support
318 -- Accurate localization for data/time
319 -- Add wrappers to date/time in multi days events
320 -- add filter to class on button on cal
340 +### 5.9.11
321 341
322 -Fixes:
342 +- fix save_bulkdatas(): Add nonce verification for security, reported by Francesco Carlucci
343 +- fix `ltrim()` Passing null to parameter 1, reported by ov3rfly
323 344
324 -- Fix values not kept for checkboxes in editor
325 -- Force single view map height
326 -- add custom taxonomy to cal shortcode
327 -- Do not load gutenberg library on front
328 -- refactor JS/CSS file. manage all in webpack for minification
329 -- fix wrong path on filemtime in case of plugin notbeing in plugin dir physically
330 -- larger select for time in datepicker
331 -- remove unused french po/mo files
332 -- Cleaup SVN repo
345 +### 5.9.10
333 346
334 -= 5.2.5 =
347 +- Security: Authenticated (Contributor+) Stored Cross-Site Scripting, reported by Peter Thaleikis
335 348
336 -- Fix date picker display on Gutenberg
337 -- Fix CSS preview link in settings
338 -- Fix "Indirect access to variables" PHP warning
339 -- Add "Blogs" attribute in event-list block
340 -- Use `get_sites()` instead of deprecated `wp_get_sites()`
349 +### 5.9.9
341 350
342 -- WordPress 5.0 compliant
351 +- Security: Sanitize GPS coordinates, fixes Cross Site Scripting, reported by preo
343 352
344 -= 5.2.2 =
353 +### 5.9.8
345 354
346 -- WordPress 5.0 compliant
355 +- Security: Fix Cross Site Scripting, reported by Peter Thaleikis
347 356
348 -= 5.2.1 =
357 +### 5.9.7
349 358
350 -- Fix crash when Gutenberg is not activated
359 +- Security: Fix vulnerability to XSS in `[events_cal]` shortcode, reported by Peter Thaleikis
360 +- Ensure that date is well formated in `[events_cal]` shortcode
351 361
352 -= 5.2 =
362 +### 5.9.6
353 363
354 -News:
364 +- Security: Fix vulnerability to local file inclusion
355 365
356 -- List of events beside the map
357 -- Use ES6 library for Gutenberg Blocks
366 +### 5.9.5
358 367
359 -Fixes:
368 +- Fixed a bug that display html as string in event calendar blocks
369 +- Fixed javascript warning in event map block
360 370
361 -- Upgrade OpenLayer to version 4.6.5
362 -- Fix map issue: unrecognized Animation/Pan
363 -- Fix empty permalink detection thanks to @maxoud and @akalwp
364 -- Cleanup textdomain in block js files
365 -- Fix Timezone issue in Gcal export
371 +### 5.9.4
366 372
367 -= 5.1 =
373 +Security:
368 374
369 -News:
375 +- Fix authenticated (Contributor+) Stored Cross-Site Scripting via shortcode
376 +- Uses bulk_edit_posts hook, fixes lack of verification in bulk edit
377 +- Escape some outputs
378 +- Fix missing jQuery dependency in timeline-block
370 379
371 -- Adds Gutenberg block support for folowing shortcodes: List, Map, Calendar
372 -- Allow to display posts title in Calendar
373 -- Upgrade OpenLayer to version 4.6.4
374 -- Adds twitter labels for date and location
380 +Misc:
375 381
376 -Fixes:
382 +- Deindex inexisting "Event-post front" and "Event-post admin" blocks
383 +- Add main global EventPost object for JS variables
384 +- Allows to skip deprecation error
385 +- Adds instructions for translators
386 +- Limit number of tags in plugin README
377 387
378 -- Load beautifull css and js files when WP_DEBUG is enabled
379 -- Wording and typo fixes
380 -- Fix some PHP Warnings
388 +Now requires WordPress 6.3
381 389
382 -= 5.0.3 =
390 +### 5.9.3
383 391
384 -- i18n: Contextualize i18n for "from" and "to"
385 -- Fix: Pass CTZ param to GoogleCalendar only if timesone is set
386 -- Fix: Explicitly get published events. (prevents from displaying drafts over admin/ajax URLs
392 +- Fix quick edit fields
387 393
388 -= 5.0.2 =
394 +### 5.9.2
389 395
390 -- Add: CSS class for past events in calendar
391 -- Add: Number of events in search results
392 -- Fix: Ensure correct response for getLatLong Ajax call
396 +- Fix call of Wp_Query in EventPost\Children
397 +- Fix display of hours in timepicker for AM/PM format
398 +- Fix saving of timeline schemas settings
399 +- Use wp_json_encode instead of json_encode
400 +- Use rawurlencode instead of urlencode
401 +- Adds instructions for translators
393 402
394 -= 5.0.1 =
403 +### 5.9.1
395 404
396 -Retro-compatibility for php < 5.5, remove fatal error "Can't use function return value in write context"
397 -http://php.net/manual/en/function.empty.php
405 +- Fix doing_it_wrong calls in legacy widgets
406 +- Escape HTML & outputs
398 407
399 -= 5.0 =
408 +### 5.9.0
400 409
401 -- Added search form shortcode/widget
402 -- Quick and bulk edit
403 -- Custom CSS support: file URL or local theme file
404 -- Use native settings API
410 +Security:
405 411
406 -Fixes
412 +- Fixes XSS vuln in event metadata (https://patchstack.com/database/report-preview/8edeb59a-59e6-42aa-8ed4-5f79cdedf820)
407 413
408 -- Fix incompatibility with PDOS / remove warning
414 +Features:
409 415
410 -= 4.5.1 =
416 +- Adds "Completed" event status
411 417
412 -- Fix events dated at Epok when GMT is not well parsed
413 -- Move supported tiles to https (OSM, Humanitarian, OSM-fr)
418 +Misc:
414 419
415 -= 4.5 =
420 +- Refactor source of blocks with wordpress-scripts
421 +- Improves WordPress's PHPCS compliance
422 +- Fix deprecated gmt_offset
423 +- Mark legacy widgets as deprecated
424 +- Fix warnings in PHP8+
416 425
417 -- Add option to hide event-bar
418 -- Add Tiles: **Humanitarian**, **Positron** and **Dark matter**
419 -- Add Retina (x2) title support
420 -- Add setting link in the plugins page
421 -- Add Map tiles attribution support
422 -- Add Add zoom option to SC/Widget
423 -- Add support for shortcake term selector (requires [shortcake](https://wordpress.org/plugins/shortcode-ui/) 0.7+)
426 +### 5.8.6
424 427
425 -- Better support of timezones in VCS/ICS exports
426 -- Fix wrong parameter in calendar shortcode UI register
427 -- Fix displaying icons in wrong post's title in single pages
428 -- Fix "Uncaught Error: [] operator not supported for string, PHP7 compliance
429 -- Correctly checks for content filtering, as mentionned in https://developer.wordpress.org/reference/hooks/the_content/#usage
428 +- Fix December month on native datepicker
430 429
431 -= 4.4 =
432 -**Edit page**
430 +### 5.8.5
433 431
434 -- Improves "Location" edit box UI
435 - - click to drag the map
436 - - lighter search form
437 -- Improves "Date" edit box UI
438 - - new all day toggle option
439 - - new native WP datepicker
440 - - Better and obvious check that end date is after begining
441 - - lighter UI
432 +- Dissociate event description from post excerpt
433 +- Remove double line breaks and &nbsp in description
442 434
443 -**Calendar Widget**
444 435
445 -- Fix calendar widget title not displayed
446 -- Fix today highlithing in calendar when day of month is lower than 10
447 436
448 -**Other fixes**
449 437
450 -- Fix openweahtermap URL in settings page
451 -- Fix date pickers preview in settings page
438 +## Upgrade notice
452 439
453 -= 4.3.4 =
454 -- fix typo in cache management, related to https://wordpress.org/support/topic/location-deleted-after-update-a-post
455 -- check twice if event permaling is filled. fix https://wordpress.org/support/topic/event_link-not-working
440 +### 6.0.0
441 +* CSS class of event items are refactored: lowercase, removed overkilled prefixes
456 442
457 -= 4.3 =
458 -
459 -End users new features:
460 -
461 -- Introduce initial Weather support
462 -- Introduce child events feature
463 -- Allows to define current location as coordinates of an event
464 -- Add loader icon for maps on front
465 -- Add map icon in the editor
466 -- Add address in the admin posts-list
467 -- Do not validate post form when hitting enter from the location search field
468 -
469 -Developers new features:
470 -
471 -- New actions `evenpost_init`, `eventpost_get_single`, `eventpost_custom_box_date`, `eventpost_custom_box_loc` and `eventpost_getsettings_action`
472 -- New filter `eventpost_default_list_shema`
473 -- New `$post` parameter to `eventpost_item_scheme_values` filter
474 -- Update i18n file
475 -
476 -Bug fixes:
477 -
478 -- Almost perfect accessibility in calendar
479 -- Cleaner HTML indent
480 -- Fix bad HTML syntax in event list
481 -- Fix wrong target for calendar container
482 -- Fix some CSS bad syntaxes
483 -- Some corrections in readme.txt
484 -
485 -= 4.2.4 =
486 -- Fix JS bugs introduced in 4.2
487 -
488 -= 4.2 =
489 -release date: mar. 24 2016
490 -
491 -* Add generic wrapper functions
492 -* Drag map instead of point in editor mode
493 -* Code refactoring
494 - - externalize shortcode management in a separated file
495 - - store maps in a json file instead of an old csv
496 - - add lot of documentation
497 - - some code cleanup
498 -* Update OpenLayer to 3.14
499 -* Fix javascript bug causing some issues with other plugins
500 -
501 -= 4.1.1 =
502 -release date: feb. * 2016
503 -
504 -* Increases accessibility
505 - - Add alternative texts
506 - - remove default color for calendar widget
507 -* Remove french locale since it's available at https://translate.wordpress.org/projects/wp-plugins/event-post/dev
508 -* Fix PHP warning in map widget
509 -
510 -= 4.1 =
511 -release date: feb. 4th 2016
512 -
513 -* Update OpenLayer to 3.11
514 -* Position preview in admin, drag and drop feature
515 -* Correctly parse time-zone for date displaying
516 -* Add timezone to Google calendar links
517 -* Only load JS and CSS when needed in the admin
518 -* Initial work on dates of a term
519 -* Fix wrong permalink in calendar widget
520 -
521 -= 4.0.1 =
522 -release date: nov. 12 2015
523 -
524 -* Added Localization for brazilian portuguese thanks to lipemesquita
525 -
526 -= 4.0.0 =
527 -release date: oct. 27 2015
528 -
529 -* Make replacement by "today" optional (prevent cache plugins issues)
530 -* More standard setting page
531 -* Only show events on dashboard right now if they're more than 0
532 -* Date and time formats harmonization
533 -* Add `.pot` file and make match text-domain to plugin slug
534 -* Only displays expandable map in the content of the current single
535 -* Rename some js and css files
536 -
537 -= 3.9.0 =
538 -release date: oct. 6 2015
539 -
540 -* Add width and height options in map widget
541 -* Add thumbnail + size option in both list, map and calendar widgets
542 -* Add some [hooks](https://wordpress.org/plugins/event-post/other_notes/#hooks)
543 -* Code cleanup
544 -
545 -= 3.8.2 =
546 -* fix bug in past events fetching
547 -
548 -= 3.8.1 =
549 -release date: sept. 23 2015
550 -
551 -* Fix time zone issue
552 -* Add filter hook to list_events()
553 -* Add some explicit CSS classes to elements
554 -
555 -= 3.8.0 =
556 -release date: sept. 22 2015
557 -
558 -* Some wording
559 -* Add an option for time format
560 -* wrap export buttons in event list
561 -* Fix javascript bug in map when no default tile is set
562 -* Remove dummy javascript debug log
563 -
564 -= 3.7.0 =
565 -release date: sept. 15 2015
566 -
567 -* Update OpenLayer to version 3.9
568 -* Add Map interaction options (MouseWheelZoom, PinchZoom...)
569 -* Add option for datepicker UI
570 -* Add eligible post types option
571 -* Better performances
572 -* Fix PHP Warnings
573 -
574 -= 3.6.8 =
575 -* update french translation
576 -
577 -= 3.6.7 =
578 -* more WP 4.3 compliant
579 -
580 -= 3.6.6 =
581 -* Fix PHP warnings
582 -
583 -= 3.6.5 =
584 -release date: aug. 14 2015
585 -
586 -* Fix bad html syntax
587 -* Make plugin WP 4.3 compliant
588 -* Add lot of comments
589 -* Update swedish translation thanks to @mepmepmep
590 -
591 -= 3.6.4 =
592 -* Fix displaying of dates in map
593 -
594 -= 3.6.3 =
595 -* Better multisite sort
596 -* Fix multiple dates
597 -* Fix CSS issue between ical export buttons and category
598 -
599 -= 3.6.2 =
600 -* Fix "get_plugin_data" error, finally remove the function.
601 -
602 -= 3.6.1 =
603 -* Fix "get_plugin_data" error
604 -
605 -= 3.6.0 =
606 -* Add version to static files (JS/CSS) to prevent from local cache problems
607 -* Add sort parameters in shortcode UI
608 -* Fix language on date-picker
609 -* Fix bug (missing dates) for multi-site functions
610 -* Code cleanup, Retro compatibility to PHP<5.3
611 -
612 -= 3.5.4 =
613 -* Fix empty date storing
614 -* Re-add quarters in time
615 -
616 -= 3.5.3 =
617 -* Improve accessibility, use of native colors from the theme for links
618 -* More hookable ajax URL for calendar
619 -* Upgrade IT locale
620 -* Fix php warnings
621 -* Fix shortcake compatibility in pages
622 -
623 -= 3.5.2 =
624 -* Fix missing files in last commit
625 -
626 -= 3.5.0 =
627 -* Add **event_details** shortcode
628 -* Add integration with shotcake (ShortCodes UI)
629 -* Add Optional event icons in the loop
630 -* Optimize UI : New date-picker, separated date and address custom boxes
631 -* Add statistics in dashboard glance items
632 -* Code optimization
633 -* Update IT localization by pgallina
634 -
635 -= 3.4.2 =
636 -* Fix: remove PHP warnings
637 -* Fix: JS script not loaded when the "calendar widget" is alone
638 -
639 -= 3.4.1 =
640 -* Fix: remove PHP warnings
641 -
642 -= 3.4.0 =
643 -* Add: Whole category ICS feed (link available in list widget, for future events)
644 -* Fix: JS was not loaded in single events since last version
645 -* Fix: Strict Standards warning, reported by argad
646 -* Fix: Dependence of OpenLayer library not needed by calendar widget, reported by p1s1
647 -
648 -= 3.3.0 =
649 -* Add: eventpost_list_shema filter
650 -* Add: Global container/item shema settings
651 -* Add: Security improvement in settings management
652 -* Fix: Load scripts only of needed
653 -
654 -= 3.2.4 =
655 -* Fix: Previous fix fix
656 -
657 -= 3.2.3 =
658 -* Fix: Custom icons fix
659 -
660 -= 3.2.2 =
661 -* Fix: Category filter
662 -* Fix: Add max zoom
663 -
664 -= 3.2.1 =
665 -* Fix: Event list widget : missing title
666 -
667 -= 3.2.0 =
668 -* Add: Italian localization, thanks to NewHouseStef
669 -
670 -= 3.1.1 =
671 -* Fix: Future/past display style
672 -
673 -= 3.1.0 =
674 -* Add: Save default settings to improve performances
675 -* Add: More options in list and map widgets
676 -
677 -= 3.0.0 =
678 -* Update to OpenLayer3
679 -* Add: Responsive support
680 -* Add: Satelite and Toner view
681 -* Add: `cat` attributes now accepts multiple categories values ( cat="1,2,3" )
682 -* Add: Custom markers directory for developpers
683 -* Add: Global "event bar position" option : before or after the single content
684 -* Fix: Cleaner settings page
685 -
686 -= 2.8.12 =
687 -* Add : Swedish localization, thanks to Mepmepmep
688 -
689 -= 2.8.11 =
690 -* Fix : PHP warnings on empty dates
691 -
692 -= 2.8.10 =
693 -* Fix : 00 minutes bug
694 -
695 -= 2.8.9 =
696 -* Fix : Bug fix
697 -* Change : Multisite support is no more a separated plugin
698 -
699 -= 2.8.8 =
700 -* Fix : Empty date error
701 -
702 -= 2.8.7 =
703 -* Fix : JS error in minified osm-admin.js file
704 -
705 -= 2.8.6 =
706 -* Fix : Error while retreiving the excerpt
707 -
708 -= 2.8.5 =
709 -* Add : Setting to print/hide link for events with empty content
710 -* Fix : Check content with queried object instead of global $post
711 -* Fix : Bug in calendar animations
712 -
713 -= 2.8.4 =
714 -* Fix : Optimize JS in admin side
715 -* Add : French and chinese localisation for date-picker
716 -* Add : Minify CSS
717 -
718 -= 2.8.3 =
719 -* Fix : bug fix
720 -
721 -= 2.8.2 =
722 -* Fix : apply content filter most later
723 -
724 -= 2.8.1 =
725 -* Fix : content filter bug on home page
726 -
727 -= 2.8.0 =
728 -* Add : attributes to events_list shortcode :
729 - * thumbnail=(true/false)
730 - * thumbnail_size=thumbnail
731 - * excerpt=(true/false)
732 - * container_schema (documentation coming soon)
733 - * item_schema (documentation coming soon)
734 -* Add : Usage of the event color for single details
735 -* Enhance : Event information form UI
736 -* Fix : Re-check if end date is after begin date
737 -* Fix : CSS adjustments
738 -* Fix : CSS adjustments
739 -* Fix : Prevent from filters applying "the_content" on another thing than the current post content
740 -
741 -
742 -= 2.7.1 =
743 -* Fix : Really check all blogs when using "blogs=all" in shortcodes. May cause memory limit on big networks
744 -
745 -= 2.7.0 =
746 -* Add : Multi-site event list support
747 -* Add : Integration of several hooks
748 -* Add : Map widget
749 -* Add : Parameters to display or not export buttons
750 -* Add : Native WP icons for map and calendar items
751 -* Add : data-color in list items
752 -* Fix : Event's first day not shown in calendar
753 -* Fix : Use of minified JS files
754 -
755 -= 2.6.0 =
756 -* Add : order and orderby parameters for shortcode [events_list]
757 -
758 -= 2.5.0 =
759 -* Add : tag and style parameters for shortcode [events_list]
760 -
761 -= 2.4.1 =
762 -* Fix : Parameters bug in export files
763 -
764 -= 2.4.0 =
765 -* Add : Calendar widget/shortcode
766 -
767 -= 2.3.3 =
768 -* Add : Improve address search UI
769 -* Fix : Address search bug fix
770 -
771 -= 2.3.2 =
772 -* Add : make the function "EventPost::get_events" usable with an array as param
773 -* Fix : Use of https links
774 -* Fix : Change license from CC BY-NC to GPLv3
775 -
776 -= 2.3.1 =
777 -* Fix : OSM map link error
778 -
779 -= 2.3.0 =
780 -* Add : update openlayer version to 2.13.1
781 -* Add : change Map UI buttons
782 -* Add : Shortcode editor
783 -* Fix : Minor JS bug
784 -
785 -= 2.2.4 =
786 -* Fix : Quick edit was removing date and geo datas
787 -* Fix : PHP Warning
788 -
789 -= 2.2.3 =
790 -* Add : Title, before_title and after_title attributes to shortcode functions
791 -* Fix : Do not display empty title in widget
792 -
793 -= 2.2.2 =
794 -* Add : add custom box to all post-types
795 -
796 -= 2.2.1 =
797 -* Fix : bad output
798 -
799 -= 2.2.0 =
800 -* Add : Admin settings page : choose a date format and a default map background
801 -* Add : Tile option for map shortcode, select a map background for a particular map
802 -available maps : [email protected], OpenCycleMap, mapquest, osmfr, 2u
803 -
804 -= 2.1.0 =
805 -* Add : ajax loader icon for address search
806 -* Add : Event and location columns in posts list
807 -* Add : widget description
808 -* Add : place icon when available for address search
809 -* Fix : Empty display_name property in address search
810 -
811 -= 2.0.0 =
812 -* Add: Category option for widgets and shortcodes
813 -* Add: Force end date to be greater than begin date
814 -* Add: Separate search field for GPS and address
815 -* Fix: Wrong parameter for widget options
816 -* Fix: Load jquery datetimepicker only if not supported by the browser
817 -
818 -= 1.1.0 =
819 -* Add: Width & height properties in the '[events_map]' shortcode
820 -* Add: Allow multiple maps on the same page
821 -* Fix: Same ID in multiple DOM elements bug fix
822 -* Fix: Some W3C standard corrections
823 -
824 -= 1.0.0 =
825 -* Plugin creation
826 -
827 -== Upgrade notice ==
828 -
829 -= 4.1.1 =
443 +### 4.1.1
830 444 Increases accessibility
831 445
832 -= 3.6.2 =
446 +### 3.6.2
833 447 * Fix "get_plugin_data" error.
834 448
835 -= 3.5.0 =
449 +### 3.5.0
836 450 * New options are available for: icons in the loop, default position of the admin boxes
837 451 * New shortcode [event_details] is available
838 452 * Support for Shortcake (Shortcode UI plugin)
839 453
840 -= 2.7.0 =
454 +### 2.7.0
841 455 * The event meta box is no more displayed for non posts items such as pages or custom post-types
842 456 * Please active the multisite plugin in order to allow your users to browse events from the network