Osclass 4.2.0
7 December 2020
Osclass version 4.2.0 is now available (major release).
Upgrading to Osclass 4.2.0
Osclass 4.2.0 can be upgraded to (or installed) using any of Installatron's products. Use Installatron's optional Automatic Update feature to automatically apply Osclass updates as new versions are released, or use Installatron's Clone feature to duplicate an existing Osclass install to test the 4.2.0 upgrade prior to applying it live. Get started managing your Osclass installations with Installatron
What's New in Osclass 4.2.0
4.2.0
Features
- CSS style sheets and JS scripts optimization
- Market built-in to backoffice
- More than 50 free products uploaded to OsclassPoint.com
- New UI for oc-admin dashboard
- Osclass configuration information
- Osclass debug/error log page
- Profile picture/avatar feature built-in to osclass core
- Comments rating feature
- Improved front & back office login security
- Listing publish redirect
- TinyMCE / Rich edit in user profile (description)
- New Data clean up section in backoffice
- Moderator custom access
- Renewal feature built-in to osclass
- Deactivate listing
- Structured data (micro data / rich tags) integrated in osclass
- Admin toolbar in front
- Admin can now "login as user"
Other updates and fixes
- Breadcrumbs micro-data (structured data) has been updated to latest definition based on http://schema.org/BreadcrumbList.
- Static pages has new option to index / not index particular pages. When page is selected not to be indexed, meta tags (nofollow) are updated to tell crawling bot not to take page into index.
- Search engine counting has been redesigned (total number of listings) and pushed from PHP side (that had limitation) into database side that is much faster and more effective. Prior versions had limit 100*items_per_page.
- Backoffice (oc-admin) is now completely responsive, including guid pages (login, forgot, recover). Minimum width of page has been set to 280px that should cover any device nowadays being used.
- Dialog boxes in backoffice can now be closed also by clicking outside dialog box (not just by clicking on close button).
- Fixed error query trying to get currency with incorrect filter (blank).
- Custom fields are now sortable and may be ordered in way you like. In prior versions only way to resort custom fields was to remove them and create again.
- Fixed several minor issues with native location names.
- Language/translation files got new naming convention and has been cleaned.
- Fixed item price function, where 0 price was processed as "Check with seller" instead of "Free".
- CSRF security tokens has been redesigned and now are not so annoying as they used to be. Tokens now works in similar way as in Wordpress. New class keywords has been added to disable CSRF on forms: nocsrf (current), notoken, nooctoken.
- Stats page charts god new layout and are loaded from updated link. Still using google charts as it is stable solution.
- Fixed bug when it was not possible to change status of comment directly on comment page (Probable invalid request).
- "Remember me" option on front & oc-admin login has been fixed and you can now stay logged for much longer time.
- Code cleaning and formatting has been done in all osclass files, removing more than 200 000 unnecessary white spaces.
- Bender theme has been removed from installation files and is not delivered with osclass anymore, however you still may use it. Use Sigma theme instead.
- Modern backoffice theme has been removed and is not delivered with osclass anymore. You still can use modern backoffice theme, but will not contain many different settings. Use Omega theme instead.
- 100+ improvements and design upgrades in backoffice theme and backoffice itself.
- Pagination function has been fixed and will accept also itemType in user account > user listings section.
- Backoffice meta title tags has been redesigned, not using right double arrow anymore and using "-" instead.
- Contact form bug fix - in case visitor did not uploaded any attachment, osclass will no more throw error.
- Following libraries has been updated to latest versions: PHP Mailer - 6.1.x, Gettext - 4.8.x, Recaptcha - 1.2.x, HTML Purifier - 4.13.x, PHP Sec lib - 2.0.x
- Robots.txt has been updated and does not allow bots to crawl multiple osclass folders those should not be indexed.
- Filters item_title & item_description has been added to search items as well, so title and description can be modified in same way on all the places (i.e. bad words functionality).
- Improvements when processing non-latin characters into URL, like cyrilic, chinese, alphabet etc. Search page will not throw error anymore when using such characters with friendly URLs, listing URL also fixed for cyrilic characters.
- Listing views count has been added to oc-admin > Listings section as last column in table.
- new functions has been created to support theme authors: osc_lib_url(), osc_content_url(), osc_themes_url(), osc_plugins_url(), osc_translations_url()
- added missing email variables to class to avoid undefined notices error. Updated class to avoid errors in case some variable description is missing.
- version_compare2 function to compare versions of products has been redesigned and improved to accept string as well as integer version numbers.
- Fixed bug/problem with translations of CHILD themes those could not be properly used on prior osclass versions. Osclass now consider both language files as well as both translation domains.
- location dropdown functions (country_select, region_select, city_select) from item form class has been redesigned and now does not load any data if not necessary. In previous versions it loaded all countries, regions and cities into select boxes that made website to load for long time and made it slow and unresponsive to user interactions.
- limit set on generic_select function that generates select fields, default value is 1000. This is to protect website from loading unnecessary too much options into select box.
- Auto-upgrade no more send emails to admin if nothing has been upgraded. Now will also contain information if core, plugins, themes or languages has been updated.
- update removes old phpmailer folder located in oc-includes folder to avoid issues when using different plugins those may be checking if this folder exists.
4.1.0
Security
- Fixed vulnerability CVE-2018-14481
Features
- Location new fields and source
- Auto-upgrade functionality
Other updates and fixes
- Images can now be rotated on publish page (image rotation), this update should not require theme updates
- Admin can now set in listing settings, if phone number is visible only to logged-in users or to everyone
- Users table in oc-admin has been redesigned, now shows last modification or registration date and last user access date
- Users last access date logging has been fixed and changed, originally it was logging user activity once per hour, now it has been changed to once per minute
- New function osc_user_is_online($user_id = '') added to core, that returns true if user has been online in last 5 minutes, false otherwise
- Cron history is now available in oc-admin settings page, this helps administrators to control and watch more closely if cron is running properly, as this information was not visible in backoffice at all
- "Show phone on the listing page" is now checked by default on publish page
- There has been work done on alerts functionality, including optimization, fixes as well as change in notification email. Email now contains table with list of new listings with their pictures, title and description (originally, only list of links has been included)
- Default "per page" settings in oc-admin has been changed from 10 to 25. On multiple pages option "500 per page" has been added as well
- Oc-admin login now contains button to show/hide password you are entering into password input
- Label for auto-cron functionality in setting has been updated, to clarify this feature is for testing purpose only and does not fully replace cron setup via cron panel in hosting
- Admin can now change default behaviour of search pattern. Full-text search is enabled by default in osclass (boolean), this can be changed to "Contains mode" that enables to search part of word and "NLP" mode that stands for nature language processing mode. For more details on NLP check mysql documentation.
- TinyMCE v4 has been replaced with latest TinyMCE v5.4
- Admin can now enable TinyMCE (rich text, rich editor) on listings description when adding new listing (front & back office)
- When editing static pages or email templates, you can now insert image into content simply by pasting it directly into text (paste image to text). Image will be auto-uploaded to server by osclass.
- Image regenerate/refresh process has been redesign and improved. Once regenerate process is reaching time limit of php, it's paused. Admin can then again restore process at point it stopped, so it is not need to start from beginning
- Multiple error notices fixed in core
- All osclass core translations has been updated, en_US version now contains also .pot files (PO template) those allows simply update other translations from this template file, without loosing existing translations
- Updated Sigma frontoffice theme to latest, including lot of improvements in theme
- Updated Omega backoffice theme to latest, including lot of improvements in theme
- Osclass by OsclassPoint is now available at sourceforge.net (https://sourceforge.net/projects/osclass-by-osclasspoint/)
4.0.0
Features
- New default front-office theme Sigma
- New default back-office theme Omega
- New installation design
- New osclass home page
- New fields on listings: phone number, show/hide phone number, other contact field (i.e. whatsapp)
- New fields on categories: icon, color
- PHP 7.4 compatibility fixed
- Image upload/processing feature: "best crop"
- Other updates and fixes