*

MB Themes

Alpha & Beta testing - comments, feedback, questions
« on: March 22, 2023, 08:46:54 PM »
If you have questions related to beta testing, post it here.

Enable beta testing (never enable on production domain!), add to config.php:
Code: [Select]
define('BETA_TEST', true);
Enable beta testing (never enable on production domain!), add to config.php:
Code: [Select]
define('ALPHA_TEST', true);

Both cannot be enabled at same time. If yes, Beta get priority.
If beta/alpha is not available, no new updates will be visible in front.

Read more how to setup alpha and beta testing.
« Last Edit: March 22, 2023, 08:58:59 PM by MB Themes »
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Wiz

  • ****
  • 138 posts
Re: Alpha & Beta testing - comments, feedback, questions
« Reply #1 on: March 23, 2023, 12:05:18 PM »
First reply, yay!

Thanks a ton for making alpha/beta available to us as it very much helps those who are developing custom features plan their roadmaps and pipelines as no one likes wasted or double efforts. It also helps identify missed bugs and propose fixes, there's a saying - two heads (minds) are better than one.

I just started testing but can confirm language url is now working correctly with SMS verification and Business profiles. I can also confirm that your implemented idea/workaround for jquery compatibility issues is similar to the one I implemented.. I still haven't looked at how you did it but I'm using compatible combinations of jquery 1.12.x and jquery-ui in categories.php in backoffice after registering them in oc-load as such:

Code: [Select]
osc_remove_script('jquery-ui');
osc_enqueue_script('jquery-compat');
osc_enqueue_script('jquery-ui-compat');
osc_enqueue_script('jquery-nested');
osc_enqueue_script('tabber');

This way, latest jquery v3.6.x/jquery-ui 1.13.x is used for frontend as well as all other backoffice jquery dependent features excluding categories.

In addition, happy to report:

- Upgrade went smoothly, no hitches, glitches or dummy folders created under plugins
- Language redirect on same page works perfectly - thank you!

I'll continue with my testing and share whatever I come across. Is there anyway to access or load the changelog for alpha/beta post installation? found it!

Cheers
« Last Edit: March 23, 2023, 12:19:29 PM by Wiz »

*

MB Themes

Re: Alpha & Beta testing - comments, feedback, questions
« Reply #2 on: March 23, 2023, 12:44:19 PM »
Oc-admin use different version of jquery-ui then front. That's a trick. Backoffice is accessible by password so it's not expected to see any vulnerability here.

Also forgot to put changelog for 8.1.2:
Code: [Select]
Osclass 8.1.2
------------------------
- Backoffice translation "Share" function will only send translation to Osclass team if it contains all required files.
  It will also not include irrelevant files to this translation.
- Osclass will now throw warning message on translation page, if "max_input_vars" variable is high enough to complete full translation.
- Translation share button was re-positioned and renamed.
- When core translation is saved, related index.php file of this translation is updated with correct Osclass version and new fields added into array.
- When using language code in URL, changing language will now not redirect user to home page, but will remain on same page in selected locale.
- Premium listings (osc_get_premiums) are now cached for specific user/session separatelly.
- Added folders permission check when saving or updating translations from source code.
- Updated conversion of Greek alphabet to Latin in URLs.
- Updated conversion of Turkish alphabet to Latin in URLs.
- Improvements in auto-upgrade process to avoid extra clicks after upgrade has finished.
- Required custom fields now contains star (*) in label name on publish page.
- Added descriptive details on publish page related to custom field ID, type etc.
- Log file in Tools > Debug/Error log section can now be removed (remove button added).
- Theme functions has been added into CRON and can be executed by CRON as well (they were not included until now).
- jQuery UI library used in backoffice reverted to 1.12 because of compatibility issues. Front-end still use latest 1.13 version of jQuery UI.
- Updated sigma_default_direction function to first check RTL setup on language field.
- Added hooks user_pre_login_form & user_pre_register_form into Sigma theme.
- Added PHPMAILER_DEBUG_LEVEL contstant (value 1 - 4) that allows to debug PHP mailer.
- Excluded pages for CSS & JS optimization now consider page Location & Section (ie: item-item_add, item, home, register-register, login-recover, user-profile, ...).
  Default exclusion list will now continue item-item_add, item-item_edit. If you want to minify/optimize on these pages as well, update these settings after Osclass update.
- Improved error reporting when image could not be loaded on publish page.
- Added latitude & longitude fields into backoffice - edit listing form. Created also standardized inputs for latitude and longitude.
- Added "Refresh images" option besides "Regenerate images", that will do the same except images building (will skip images generation and just call hooks).
- Fixed major bug when using language code in URL, plugin routes were corrupted.
- Fixed recaptcha verifcation on login page. Now recaptcha is verified against google services on background.
- Fixed PHP deprecated notices (PHP 8+).
- Fixed and improved minor design issues on Sigma theme.
- Fixes and improvements in hUser helper functions.
- Fixed missing resource_thumbnail_url filter across multiple files in Osclass core and backoffice.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Wiz

  • ****
  • 138 posts
Re: Alpha & Beta testing - comments, feedback, questions
« Reply #3 on: March 29, 2023, 09:39:00 PM »
Hi,

Minor issue with plugin updates - was in previous osclass versions so it's not specific to 8.1.2 -

Show pending plugin updates never shows the full list of pending plugins as per the attached screenshot. It's not in sync with the admin notification plugin update  count. The only way to update the other missing plugins from the list is to head over to plugins and look for the updates.

Thanks

*

MB Themes

Re: Alpha & Beta testing - comments, feedback, questions
« Reply #4 on: March 31, 2023, 03:22:00 PM »
@Wiz
There are 2 options:
- there is bug and it shows only plugins to update from current set of plugins (0-25)
- counter is duplicated

Checked on dev site and it works quite fine here, but did not checked if counter is OK (45+ updates).
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Wiz

  • ****
  • 138 posts
Re: Alpha & Beta testing - comments, feedback, questions
« Reply #5 on: April 07, 2023, 01:18:28 AM »
Another bug with 8.1.2 (spent a couple of hours on trying to narrow it down) - specifically with osc_sanitizeString and category s_name / s_slugs

Code: [Select]
        $slug_tmp = $slug = osc_sanitizeString(osc_apply_filter('slug', isset($fieldsDescription['s_name'])?$fieldsDescription['s_name']:''));

sanitizeString function breaks slug update causing empty value to be added to s_slug. If removed, s_slug populates fine.

Files:
model/Category.php
formatting.php

Compared with 8.1.1, most likely culprit:

Code: [Select]
// update 812
    $string = preg_replace("/[^A-Za-z0-9'_\-\.]/", '-', $string);
    $string = preg_replace('/\-+/', '-', $string);
    $string = preg_replace('/^-+/', '', $string);
    $string = preg_replace('/-+$/', '', $string);
« Last Edit: April 08, 2023, 04:46:07 AM by Wiz »

*

MB Themes

Re: Alpha & Beta testing - comments, feedback, questions
« Reply #6 on: April 11, 2023, 09:12:25 AM »
@Wiz
Thanks, that's correct. Will be fixed.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Wiz

  • ****
  • 138 posts
Re: Alpha & Beta testing - comments, feedback, questions
« Reply #7 on: April 12, 2023, 04:17:09 AM »
Cool, thanks!

*

mwindey

  • *****
  • 461 posts
Re: Alpha & Beta testing - comments, feedback, questions
« Reply #8 on: June 01, 2023, 09:52:41 PM »
Is this fixed yet?

*

MB Themes

Re: Alpha & Beta testing - comments, feedback, questions
« Reply #9 on: June 02, 2023, 07:37:44 AM »
Is this fixed yet?

Yes it was fixed in beta
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots