Skip to content

Commit

Permalink
Merge pull request wielebenwir#1318 from wielebenwir/merge-release2.8.1
Browse files Browse the repository at this point in the history
Merge release2.8.1
  • Loading branch information
hansmorb authored Jul 21, 2023
2 parents 3057134 + 9f7e4af commit 28c2a93
Show file tree
Hide file tree
Showing 36 changed files with 1,266 additions and 739 deletions.
11 changes: 10 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Donate link: https://www.wielebenwir.de/verein/unterstutzen
Tags: booking, commons, sharing, calendar, commoning, open-source, booking system, booking calendar
Requires at least: 5.2
Tested up to: 6.0
Stable Tag: 2.8
Stable Tag: 2.8.1
Requires PHP: 7.4 or higher
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -91,6 +91,15 @@ CommonsBooking was developed for the ["Commons Cargobike" movement](http://commo

## Changelog

### 2.8.1 (xx.06.2023)
* FIXED: Wrong field value for iCal events (the field value is reset, you have to re-set your values after updating)
* FIXED: Bug sending cancellation mail to admin on admin cancellation
* FIXED: Availability text for items in item shortcode (Merged display of overlapping timeframes)
* FIXED: Location without addresses not displayed correctly
* FIXED: Incorrect error messages displayed to user during booking process
* ENHANCED: Improved booking validation
* ENHANCED: Default value for days that are bookable in advance set to 31

### 2.8 (27.04.2023)
* NEW: Added option to set a minimum offset for bookings. This allows to set a minimum time between booking and pickup.
* NEW: Added ability to create bookings from the backend.
Expand Down
24 changes: 12 additions & 12 deletions assets/admin/css/admin.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/admin/css/admin.css.map

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions assets/global/sass/partials/_extends.scss
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,11 @@
}

&[disabled=disabled] {
background-color: var(--commonsbooking-color-bg);
color: var(--commonsbooking-color-greyedout);
background-color: var(--commonsbooking-color-greyedout);
color: var(--commonsbooking-textcolor-light);
@extend .shadow-small;
}

&.no-right-radius {
border-radius: var(--commonsbooking-radius) 0 ;
}
Expand Down
4 changes: 2 additions & 2 deletions assets/global/sass/partials/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ $color-green-dark: #84AE53;
$color-green-neon: #74ce3c;
$color-blue-dark: #506CA9;
$color-yellow: #FFF9C5;
$color-gray: #f6f6f6;
$color-gray: #e0e0e0;


/* Colors: text */
$color-orange: #ff9218;
$color-warningred: #d5425c;
$color-gray-dark: #444;
$color-gray-silver: #9D9F9D;
$color-gray-light: #c4c4c4;
$color-gray-light: #a0a0a0;
$color-black: #000;
$color-white: #FFF;

Expand Down
26 changes: 13 additions & 13 deletions assets/public/css/public.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/public/sass/partials/_forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
}
}

input.cb-action-canceled {
input.cb-action-canceled, input.cb-action-delete_unconfirmed {
background-color: var(--commonsbooking-color-cancel);
box-shadow: none !important;
font-size: 0.875rem;
Expand Down
4 changes: 2 additions & 2 deletions commonsbooking.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/**
* Plugin Name: Commons Booking
* Version: 2.8
* Version: 2.8.1
* Requires at least: 5.2
* Requires PHP: 7.4
* Plugin URI: https://commonsbooking.org
Expand All @@ -18,7 +18,7 @@
use CommonsBooking\Plugin;

defined('ABSPATH') or die("Thanks for visting");
define('COMMONSBOOKING_VERSION', '2.8');
define('COMMONSBOOKING_VERSION', '2.8.1');
define('COMMONSBOOKING_PLUGIN_SLUG', 'commonsbooking');
define('COMMONSBOOKING_MENU_SLUG', COMMONSBOOKING_PLUGIN_SLUG . '-menu');
define('COMMONSBOOKING_PLUGIN_DIR', wp_normalize_path( plugin_dir_path(__FILE__)));
Expand Down
4 changes: 2 additions & 2 deletions includes/OptionsArray.php
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@
'id' => 'colorscheme_greyedoutcolor',
'type' => 'colorpicker',
'desc' => commonsbooking_sanitizeHTML( __( 'The color used to signify that no timeframe has been created for an item or a button that is not yet clickable', 'commonsbooking' ) ),
'default' => '#f6f6f6',
'default' => '#e0e0e0',
),

array(
Expand All @@ -495,7 +495,7 @@
'id' => 'colorscheme_lighttext',
'type' => 'colorpicker',
'desc' => commonsbooking_sanitizeHTML( __( 'The color used for light text on dark backgrounds', 'commonsbooking' ) ),
'default' => '#c4c4c4',
'default' => '#a0a0a0',
),
array(
'name' => commonsbooking_sanitizeHTML( __( 'Dark text color', 'commonsbooking' ) ),
Expand Down
Binary file modified languages/commonsbooking-de_DE.mo
Binary file not shown.
Loading

0 comments on commit 28c2a93

Please sign in to comment.