Commit c73848b8 authored by lucha's avatar lucha
Browse files

[auto] plugin: nextgen-gallery 3.0.8

parent 998a54df
NextGEN Gallery NextGEN Gallery
by Imagely by Imagely
= V3.0.8 - 09.05.2018 =
* Fixed: IGW broken with Chrome 69+
= V3.0.6 - 07.24.2018 =
* NEW: Added 'ngg_gallery_title_select_field' filter
* NEW: Danish translations
* NEW: Slovakian translations
* Changed: Removed unused swfUpload setting key from ngg_options array
* Secured: Image attribute storage
* Fixed: Styling of upload notifications
* Fixed: Do not purge WPML tag/translation mapping when removing unused NGG tags
* Fixed: Don't invoke icl_translate() when the admin language matches the default language
* Fixed: Importing Media Library images inside the IGW window
* Fixed: NGG > Overview's "Upgrade to Pro" links were still present when NGG Plus/Pro were active
* Fixed: Patched PEL to catch a possible exception caused by malformed IFD
* Fixed: Removed unneeded wp_localize_script('wp-color-picker'...)
* Fixed: Sorting galleries with over 1k images did not work past image 999
= V3.0.1 - 05.17.2018 = = V3.0.1 - 05.17.2018 =
* Fixed: Prevent caching of display_tab.js which can break the IGW * Fixed: Prevent caching of display_tab.js which can break the IGW
......
{ {
"name": "imagely/nextgen-gallery", "name": "imagely/nextgen-gallery",
"description": "The most popular gallery plugin for WordPress and one of the most popular plugins of all time with over 21 million downloads.", "description": "The most popular gallery plugin for WordPress and one of the most popular plugins of all time with over 22 million downloads.",
"keywords": ["nextgen", "nextgen gallery", "gallery", "galleries", "image", "images", "image gallery", "photo", "photos", "photo gallery", "picture", "pictures", "picture gallery", "album", "albums", "photo albums", "image album", "media", "media gallery", "thumbnails", "thumbnail gallery", "thumbnail galleries", "slideshow", "slideshows", "slideshow gallery", "slideshow galleries", "fancybox", "lightbox", "responsive", "responsive gallery", "responsive galleries", "singlepic", "watermarks", "watermarking", "photography", "photographer"], "keywords": ["nextgen", "nextgen gallery", "gallery", "galleries", "image", "images", "image gallery", "photo", "photos", "photo gallery", "picture", "pictures", "picture gallery", "album", "albums", "photo albums", "image album", "media", "media gallery", "thumbnails", "thumbnail gallery", "thumbnail galleries", "slideshow", "slideshows", "slideshow gallery", "slideshow galleries", "fancybox", "lightbox", "responsive", "responsive gallery", "responsive galleries", "singlepic", "watermarks", "watermarking", "photography", "photographer"],
"homepage": "https://www.imagely.com/", "homepage": "https://www.imagely.com/",
"license": "GPLv2", "license": "GPLv2",
......
...@@ -3,8 +3,8 @@ if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('You ...@@ -3,8 +3,8 @@ if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('You
/** /**
* Plugin Name: NextGEN Gallery * Plugin Name: NextGEN Gallery
* Description: The most popular gallery plugin for WordPress and one of the most popular plugins of all time with over 21 million downloads. * Description: The most popular gallery plugin for WordPress and one of the most popular plugins of all time with over 22 million downloads.
* Version: 3.0.1 * Version: 3.0.8
* Author: Imagely * Author: Imagely
* Plugin URI: https://www.imagely.com/wordpress-gallery-plugin/nextgen-gallery/ * Plugin URI: https://www.imagely.com/wordpress-gallery-plugin/nextgen-gallery/
* Author URI: https://www.imagely.com * Author URI: https://www.imagely.com
...@@ -663,7 +663,7 @@ class C_NextGEN_Bootstrap ...@@ -663,7 +663,7 @@ class C_NextGEN_Bootstrap
define('NGG_PRODUCT_URL', path_join(str_replace("\\", '/', NGG_PLUGIN_URL), 'products')); define('NGG_PRODUCT_URL', path_join(str_replace("\\", '/', NGG_PLUGIN_URL), 'products'));
define('NGG_MODULE_URL', path_join(str_replace("\\", '/', NGG_PRODUCT_URL), 'photocrati_nextgen/modules')); define('NGG_MODULE_URL', path_join(str_replace("\\", '/', NGG_PRODUCT_URL), 'photocrati_nextgen/modules'));
define('NGG_PLUGIN_STARTED_AT', microtime()); define('NGG_PLUGIN_STARTED_AT', microtime());
define('NGG_PLUGIN_VERSION', '3.0.1'); define('NGG_PLUGIN_VERSION', '3.0.8');
if (defined('SCRIPT_DEBUG') && SCRIPT_DEBUG) if (defined('SCRIPT_DEBUG') && SCRIPT_DEBUG)
define('NGG_SCRIPT_VERSION', (string)mt_rand(0, mt_getrandmax())); define('NGG_SCRIPT_VERSION', (string)mt_rand(0, mt_getrandmax()));
......
...@@ -25,7 +25,7 @@ class M_Attach_To_Post extends C_Base_Module ...@@ -25,7 +25,7 @@ class M_Attach_To_Post extends C_Base_Module
'photocrati-attach_to_post', 'photocrati-attach_to_post',
'Attach To Post', 'Attach To Post',
'Provides the "Attach to Post" interface for displaying galleries and albums', 'Provides the "Attach to Post" interface for displaying galleries and albums',
'3.0.1', '3.0.3',
'https://www.imagely.com/wordpress-gallery-plugin/nextgen-gallery/', 'https://www.imagely.com/wordpress-gallery-plugin/nextgen-gallery/',
'Imagely', 'Imagely',
'https://www.imagely.com', 'https://www.imagely.com',
...@@ -368,14 +368,14 @@ class M_Attach_To_Post extends C_Base_Module ...@@ -368,14 +368,14 @@ class M_Attach_To_Post extends C_Base_Module
wp_enqueue_style( wp_enqueue_style(
'ngg_attach_to_post_dialog', 'ngg_attach_to_post_dialog',
$router->get_static_url('photocrati-attach_to_post#attach_to_post_dialog.css'), $router->get_static_url('photocrati-attach_to_post#attach_to_post_dialog.css'),
FALSE, array('gritter'),
NGG_SCRIPT_VERSION NGG_SCRIPT_VERSION
); );
wp_enqueue_script( wp_enqueue_script(
'ngg-igw', 'ngg-igw',
$router->get_static_url('photocrati-attach_to_post#igw.js'), $router->get_static_url('photocrati-attach_to_post#igw.js'),
array('jquery', 'Base64'), array('jquery', 'Base64', 'gritter'),
NGG_PLUGIN_VERSION NGG_PLUGIN_VERSION
); );
wp_localize_script('ngg-igw', 'ngg_igw_i18n', array( wp_localize_script('ngg-igw', 'ngg_igw_i18n', array(
...@@ -574,4 +574,4 @@ class C_Attach_To_Post_Installer ...@@ -574,4 +574,4 @@ class C_Attach_To_Post_Installer
} }
} }
new M_Attach_To_Post(); new M_Attach_To_Post();
\ No newline at end of file
...@@ -506,7 +506,7 @@ class Mixin_Attach_To_Post extends Mixin ...@@ -506,7 +506,7 @@ class Mixin_Attach_To_Post extends Mixin
wp_enqueue_script('photocrati_ajax'); wp_enqueue_script('photocrati_ajax');
// Enqueue logic for the Attach to Post interface as a whole // Enqueue logic for the Attach to Post interface as a whole
wp_enqueue_script('ngg_attach_to_post_js', $this->get_static_url('photocrati-attach_to_post#attach_to_post.js'), FALSE, NGG_SCRIPT_VERSION); wp_enqueue_script('ngg_attach_to_post_js', $this->get_static_url('photocrati-attach_to_post#attach_to_post.js'), FALSE, NGG_SCRIPT_VERSION);
wp_enqueue_style('ngg_attach_to_post', $this->get_static_url('photocrati-attach_to_post#attach_to_post.css'), FALSE, NGG_SCRIPT_VERSION); wp_enqueue_style('ngg_attach_to_post', $this->get_static_url('photocrati-attach_to_post#attach_to_post.css'), FALSE, C_Component_Registry::get_instance()->get_module('photocrati-attach_to_post')->module_version);
wp_dequeue_script('debug-bar-js'); wp_dequeue_script('debug-bar-js');
wp_dequeue_style('debug-bar-css'); wp_dequeue_style('debug-bar-css');
$this->enqueue_display_tab_js(); $this->enqueue_display_tab_js();
......
...@@ -85,7 +85,7 @@ h3#choose_display { ...@@ -85,7 +85,7 @@ h3#choose_display {
#attach_to_post_tabs .main_menu_tab { #attach_to_post_tabs .main_menu_tab {
padding: 0; padding: 0;
position: absolute; position: absolute;
left: 200px; left: 220px;
right: 0; right: 0;
top: 0; top: 0;
bottom: 0; bottom: 0;
...@@ -111,6 +111,15 @@ iframe { ...@@ -111,6 +111,15 @@ iframe {
background: transparent; background: transparent;
} }
.chrome_70_hack_frames {
z-index: 100000000 !important;
}
.chrome_70_hack_noframes {
z-index: 0 !important;
}
.clear { .clear {
clear: both; clear: both;
float: none; float: none;
...@@ -146,9 +155,8 @@ table { ...@@ -146,9 +155,8 @@ table {
/* 2. IGW Sidebar */ /* 2. IGW Sidebar */
#attach_to_post_tabs .ui-tabs-icon { #attach_to_post_tabs .ui-tabs-icon {
/*background: #2a343d;*/
background: #133148; background: #133148;
border-right: 3px solid #9fbb1a; border-right: 1px solid #9cbe1b;;
box-sizing: border-box; box-sizing: border-box;
color: #fff; color: #fff;
font-family: Lato, sans-serif; font-family: Lato, sans-serif;
...@@ -162,13 +170,15 @@ table { ...@@ -162,13 +170,15 @@ table {
position: fixed; position: fixed;
padding: 10px 25px 30px 10px; padding: 10px 25px 30px 10px;
text-transform: uppercase; text-transform: uppercase;
width: 200px; width: 220px;
padding: 0;
} }
#attach_to_post_tabs img.attach_to_post_logo { #attach_to_post_tabs img.attach_to_post_logo {
height: 45px; height: 45px;
padding: 20px 0 10px; padding: 20px 0 10px;
float: right; float: right;
margin-right: 26px;
} }
#attach_to_post_tabs .ui-tabs-nav { #attach_to_post_tabs .ui-tabs-nav {
...@@ -176,7 +186,7 @@ table { ...@@ -176,7 +186,7 @@ table {
background: transparent; background: transparent;
padding: 0; padding: 0;
margin-top: 90px; margin-top: 90px;
list-style: ordered; list-style: none;
} }
#attach_to_post_tabs .ui-tabs-nav li { #attach_to_post_tabs .ui-tabs-nav li {
...@@ -187,15 +197,32 @@ table { ...@@ -187,15 +197,32 @@ table {
margin: 0; margin: 0;
padding: 0; padding: 0;
width: 100%; width: 100%;
border-radius: 0;
box-sizing: border-box;
border-bottom: 1px solid #344a59;
padding: 24px 30px 24px 20px;
}
#attach_to_post_tabs .ui-tabs-nav li.ui-tabs-active {
background: #2b4d65;
background: #9dbd1b;
}
#attach_to_post_tabs .ui-tabs-nav li.ui-state-focus,
#attach_to_post_tabs .ui-tabs-nav li.ui-state-active,
#attach_to_post_tabs .ui-tabs-nav li:focus,
#attach_to_post_tabs .ui-tabs-nav li.active {
outline: none;
} }
/* The next couple of rules are all a workaround to disable the "Insert Into Page" tab just for iOS */ /* The next couple of rules are all a workaround to disable the "Insert Into Page" tab just for iOS */
/* TODO: consolidate when plupload is upgraded */ /* TODO: consolidate when plupload is upgraded */
#attach_to_post_tabs ul.ui-tabs-nav li:nth-of-type(1) { #attach_to_post_tabs ul.ui-tabs-nav li:nth-of-type(1) {
list-style: ordered; list-style: none;
border-top: 1px solid #344a59;
} }
#attach_to_post_tabs:not(.ngg_atp_ios_detected) ul.ui-tabs-nav li:nth-of-type(2) { #attach_to_post_tabs:not(.ngg_atp_ios_detected) ul.ui-tabs-nav li:nth-of-type(2) {
list-style: ordered; list-style: none;
} }
#attach_to_post_tabs:not(.ngg_atp_ios_detected) ul.ui-tabs-nav li:nth-of-type(1) a { #attach_to_post_tabs:not(.ngg_atp_ios_detected) ul.ui-tabs-nav li:nth-of-type(1) a {
...@@ -206,7 +233,7 @@ table { ...@@ -206,7 +233,7 @@ table {
} }
/* Because the upload-images tab is removed on iOS we must position this divider bar differently */ /* Because the upload-images tab is removed on iOS we must position this divider bar differently */
#attach_to_post_tabs.ngg_atp_ios_detected .ui-tabs-nav li:nth-of-type(1)::after { /*#attach_to_post_tabs.ngg_atp_ios_detected .ui-tabs-nav li:nth-of-type(1)::after {
border-bottom: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2);
content: ""; content: "";
display: block; display: block;
...@@ -214,10 +241,10 @@ table { ...@@ -214,10 +241,10 @@ table {
margin: 24px 4px 20px 0; margin: 24px 4px 20px 0;
position: static; position: static;
width: 90%; width: 90%;
} }*/
/* This rule applies for all non-iOS browsers */ /* This rule applies for all non-iOS browsers */
#attach_to_post_tabs:not(.ngg_atp_ios_detected) .ui-tabs-nav li:nth-of-type(2)::after { /*#attach_to_post_tabs:not(.ngg_atp_ios_detected) .ui-tabs-nav li:nth-of-type(2)::after {
border-bottom: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2);
content: ""; content: "";
display: block; display: block;
...@@ -225,7 +252,7 @@ table { ...@@ -225,7 +252,7 @@ table {
margin: 24px 4px 20px 0; margin: 24px 4px 20px 0;
position: static; position: static;
width: 90%; width: 90%;
} }*/
#attach_to_post_tabs .ui-tabs-nav li a { #attach_to_post_tabs .ui-tabs-nav li a {
color: #fff; color: #fff;
...@@ -236,6 +263,13 @@ table { ...@@ -236,6 +263,13 @@ table {
padding: 10px 5px 5px 0 !important; padding: 10px 5px 5px 0 !important;
text-transform: none; text-transform: none;
font-family: lato, sans-serif; font-family: lato, sans-serif;
text-transform: uppercase;
font-size: 13px;
letter-spacing: 1px;
font-weight: 700;
padding: 0 !important;
font-size: 12px;
letter-spacing: 1.2px;
} }
#attach_to_post_tabs .ui-tabs-nav li.ui-tabs-active a, #attach_to_post_tabs .ui-tabs-nav li.ui-tabs-active a,
...@@ -245,19 +279,18 @@ table { ...@@ -245,19 +279,18 @@ table {
} }
#attach_to_post_tabs .ui-tabs-nav li a.active_tab::before { #attach_to_post_tabs .ui-tabs-nav li a.active_tab::before {
border-right: solid .75em #9fbb1a; border-right: solid .75em #fff;
border-top: solid .75em transparent; border-top: solid 1.2em transparent;
border-bottom: solid .75em transparent; border-bottom: solid 1.2em transparent;
content: ''; content: '';
/*left: 3.1em;*/ position: absolute;
right: -25px; top: 16px;
position: absolute; right: -3px;
top: 8px;
} }
#attach_to_post_tabs .ui-tabs-nav li a.active_tab { #attach_to_post_tabs .ui-tabs-nav li a.active_tab {
color: #9fbb1a; color: #fff;
font-weight: 600; font-weight: 800;
} }
/* 3. Display Tab: General CSS */ /* 3. Display Tab: General CSS */
...@@ -284,27 +317,51 @@ table { ...@@ -284,27 +317,51 @@ table {
height: 25px; height: 25px;
margin-top: 0; margin-top: 0;
width: auto; width: auto;
border-bottom: 1px solid #ddd;
background: #fafafa;
} }
#displayed_tab #ngg_page_content .ngg_page_content_menu a { #displayed_tab #ngg_page_content .ngg_page_content_menu a,
#displayed_tab #ngg_page_content .ngg_page_content_menu a:active {
border: none; border: none;
color: #bbb; color: #888;
display: inline; display: inline;
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 400;
text-decoration: none; text-decoration: none;
line-height: 25px; line-height: 25px;
padding: 15px 20px; padding: 15px 20px;
/*border-left: 1px solid #f7f8f3; font-size: 12px;
border-right: 1px solid #f7f8f3;*/ background: transparent;
/*border: none !important;*/
} }
#displayed_tab #ngg_page_content .ngg_page_content_menu .ngg_page_content_menu_active { #displayed_tab #ngg_page_content .ngg_page_content_menu .ngg_page_content_menu_active {
color: #9fbb1a; background: transparent;
border-right: 1px solid #edeeeb; font-weight: bold;
border-left: 1px solid #edeeeb; color: #123248;
border-left: 1px solid #ddd;
border-right: 1px solid #ddd;
border-bottom: 2px solid #fff;
background: #fff;
}
#displayed_tab #ngg_page_content .ngg_page_content_menu a:active:after {
display:none;
} }
/*#displayed_tab #ngg_page_content .ngg_page_content_menu .ngg_page_content_menu_active:after {
border-left: 8px solid transparent;
border-right: 8px solid transparent;
border-top: 6px solid #cad1d6;
border-top: 6px solid #123248;
content: " ";
position: absolute;
left: 45%;
display: inline;
top: 42px;
}*/
#displayed_tab #ngg_page_content .ngg_page_content_menu a:before { #displayed_tab #ngg_page_content .ngg_page_content_menu a:before {
display: none; display: none;
} }
...@@ -312,7 +369,7 @@ table { ...@@ -312,7 +369,7 @@ table {
#displayed_tab #ngg_page_content .ngg_page_content_main { #displayed_tab #ngg_page_content .ngg_page_content_main {
padding: 30px; padding: 30px;
width: 100%; width: 100%;
border-top: 1px solid #edeeeb; box-shadow: none;
} }
#displayed_tab #ngg_page_content.ngg_settings_page { #displayed_tab #ngg_page_content.ngg_settings_page {
...@@ -478,7 +535,6 @@ table { ...@@ -478,7 +535,6 @@ table {
margin-bottom: 10px; margin-bottom: 10px;
box-sizing: border-box; box-sizing: border-box;
max-width: 100px; max-width: 100px;
/*border: 1px solid #eee;*/
} }
#displayed_tab .display_type_preview .image_container p { #displayed_tab .display_type_preview .image_container p {
...@@ -494,11 +550,11 @@ table { ...@@ -494,11 +550,11 @@ table {
} }
#ngg_page_content #save_displayed_gallery.button { #ngg_page_content #save_displayed_gallery.button {
font-weight: bold; font-weight: 700;
height: 60px !important; height: 50px!important;
line-height: 60px !important; line-height: 50px!important;
text-transform: uppercase; padding: 0 30px!important;
padding: 0 40px !important; font-size: 13px;
} }
/* 3b. Display Tab: "Customize Display Settings" Subtab */ /* 3b. Display Tab: "Customize Display Settings" Subtab */
...@@ -717,17 +773,20 @@ h3#preview_tab { ...@@ -717,17 +773,20 @@ h3#preview_tab {
padding: 20px; padding: 20px;
} }
#attach_to_post_tabs img.attach_to_post_logo { #attach_to_post_tabs img.attach_to_post_logo {
/*float: none;*/
display: none; display: none;
} }
#attach_to_post_tabs .ui-tabs-nav { #attach_to_post_tabs .ui-tabs-nav {
/*margin-top: -15px;*/
margin-top: 0; margin-top: 0;
} }
#attach_to_post_tabs .ui-tabs-nav li { #attach_to_post_tabs .ui-tabs-nav li {
padding: 5px; padding: 5px;
list-style: none !important; list-style: none !important;
border-bottom: none;
border-top: none !important;
}
#attach_to_post_tabs .ui-tabs-nav li.ui-tabs-active {
background: transparent;
} }
#attach_to_post_tabs:not(.ngg_atp_ios_detected) .ui-tabs-nav li:nth-of-type(2)::after { #attach_to_post_tabs:not(.ngg_atp_ios_detected) .ui-tabs-nav li:nth-of-type(2)::after {
display: none; display: none;
...@@ -735,12 +794,18 @@ h3#preview_tab { ...@@ -735,12 +794,18 @@ h3#preview_tab {
#attach_to_post_tabs .ui-tabs-nav li a { #attach_to_post_tabs .ui-tabs-nav li a {
float: none; float: none;
padding: 0 !important; padding: 0 !important;
font-weight: normal;
}
#attach_to_post_tabs .ui-tabs-nav li a.active_tab {
color: #9ebc1b;
}
#attach_to_post_tabs .ui-tabs-nav li a.active_tab::before {
display:none;
} }
#attach_to_post_tabs .main_menu_tab { #attach_to_post_tabs .main_menu_tab {
margin-left: 0; margin-left: 0;
min-height: auto; min-height: auto;
position: absolute; position: absolute;
/*top: 280px;*/
top: 150px; top: 150px;
right: 0; right: 0;
left: 0; left: 0;
...@@ -749,6 +814,8 @@ h3#preview_tab { ...@@ -749,6 +814,8 @@ h3#preview_tab {
} }
#displayed_tab #ngg_page_content .ngg_page_content_menu { #displayed_tab #ngg_page_content .ngg_page_content_menu {
padding: 5px 0 0; padding: 5px 0 0;
background: none;
border: none;
} }