Modified a CMS specifc function so that WP shortcodes in Jomres text fields will be rendered by WP.
Added truncated property name values to the management view property name dropdown so that smaller screens render nicer-er.
Ensure that property name search options are shown as a dropdown.
Added book now button to show tariffs page
Stars images replaced with fontawesome icons.
Photos list properties and property header BS4 layout improved.
Improved BS4 booking form area layout
Changed the order that columns are shown in the list invoices page
Photos list properties and property header BS4 layout improved.
Resolved issue where save tariffs advanced was casting prices to integers because default prices were integers.
Changed the order that columns are shown in the list invoices page
Updated generateDate calendar functionality to be compatible with BS4. Many thanks Vasily
Changed how we determine guest details when creating buyer PII when creating invoices on booking
Modified how we set the search option All when setting region names because...reasons.
Added initial setup functionality to determine a few basic facts for new installations.
Added new feature that allows site managers to select Basic, Common or Everything settings for viewing admin area options (simplifies interface significantly).
New Property button added to admin control panel.
Modified site config singleton so that we wait for confirmation that the file has been written before completing the method. Annoying, but has to be done due to key activation (among other things) not being shown appropriately.
Modified the length of the shortened property name template variable in list properties photo layout, made it much shorter.
Modified default template photo view templates so that they use the short property name variable. Leohtian has already been updated.
Syndication property checking improved to check for longer intervals between checks, and added check for thumbnail images. If image doesn't exist or hotlink protection preventing use then the property is unapproved.
Improved layout of syndicated properties;
New warning added to frontend to highlight that Jomres is in development mode.
Language labels page now only lists labels for things like property features, room types, etc, that can be translated to other languages. Touch Template method calls are dropped because they are duplicated in the Translate Lang File strings menu option in the same place.
Added initial installation configuration to determine permission to collect analytics. Not currently collected it's nice to ask anyway.
Added new admin options level setting that allows admins to view site options at either Basic, Common or Everything levels. Simplifies admin UI, hiding options that are rarely changed. To change the level visit Site Configuration > Misc tab
Shortened the list properties PROPNAME variable so that photo view layout isn't borked.
Removed references to Ioncube loaders as they're no longer used.
Removed a condition that was preventing some sites from updating columns in rooms table.
Added new input in create property page that allows manager to define max occupancy of the property.
Resolved an issue where max kids dropdown in booking form could be higher than occupancy levels configured.
Change : Norwegian regions adjusted
Change : Added a check for a directory before attempting to delete it
Change : Improved how template directory html files are detected for custom template files.
Change : Edit max people input re-added to room editing template
Change : Vies checking disabled.
Change : Added previously selected sleeps options to the called search template files.
Change : Suppress a deserialization warning if it should appear. False will suffice.
Change : Virtually all search inputs are now delivered by default as dropdowns.
Change : Modified how existing user's who are already logged in, are found when making repeated bookings.
Change : Refactored method that finds region id as it was a bottleneck in search forms.
Change : Added a check to see if the cart is being used so that the naughty bot check doesn't come into play as it's redundant at this point.
Change : Added city tax and cleaning fee to confirmation page
Change : Changed how we determine if the Occupancy levels menu option should be shown
Change : Added ability to force-reload mrConfig values because accommodation class needs to reload settings when saving Normal mode tariffs.
Fix : Tweaked framework so that if Elementor is being used to render the page, we don't throw an error.
Fix : Fixed an issue with adding column updates so that older installations can update ok
Fix : Fixed a faulty call to get_showtime function and disabled some profile saving that's unnecessary.
Fix : Removed some code that was incorrectly setting the search template file default.
Fix : Added a check to ensure that Step is set. (my_ranges function)
Fix : Fixed value of 7 & 30 day modifier discount not being set correctly when set to flat rate discount (not percentage)
Fix : Added some new columns to rooms table on installation
Added search functionality to complement new Occupancy levels functionality introduced in .23
Changed the order that sanity check buttons appear
Changed how the max adults number is determined
New switch added to Site Configuration > Portal Functionality tab called "Force Compatibility property configuration mode?" This option ensures that all new properties automatically use the Standard tariff editing mode, and they are unable to switch to other tariff modes. This simplifies the price configuration options available to managers. By default, all new installations of Jomres have this option set to Yes, updated installations have this set to No.
Added new Tariff Editing mode : Standard. It is based on Micromanage, but some of the more confusing elements have been removed and have added some new elements.
In Standard mode you can only create one tariff for each room type. With Standard editing guest number dropdowns are visible in the booking form by default, the old style guest types are not supported. You can add an "Extra guest price" in Property Configuration > Standard tariffs tab (todo later versions will include the ability to set extra guest prices for individual tariffs).
Standard editing mode introduces new 7 and 30 day modifier settings. They can either be flat rate or a percentage calculation that will discount bookings if they're longer than 7 and 30 days respective.
When in Standard mode many previous Property Configuration options are no longer available to property managers as they're sometimes conflicting or simply overkill and un-necessary for property managers to access.
Occupancy Levels. Once rooms have been added, the manager should then check that occupancy levels are valid for different room types (todo this can be improved, currently you need to save occupancy levels after adding/removing rooms, because total occupancy levels need to be recalculated however would like to automate this some more).
Property Configuration > Bookings tab has two new options. City tax and Cleaning fee. City tax offers a variety of models by which the tax can be calculated. Booking form template adjustments are required to capitalise on these new changes.
Added clauses that allow me to distribute a new search widget plugin with different template files
Added ability for script to hand form elements to the search script, which can then be given to the template file for rendering.
Improved error feedback for users. Red whoops screens will now include the message that was part of the thrown error, as normally these errors require inspection of the error logs to determine the issue. This approach is more helpful and it doesn't expose any vulnerabilities.
Significant changes to make Jomres compatible with Joomla 4. There are still a handful of things to figure out, and Jomres plugins still need J4 template files, but this takes us 95% of the way to be J4 ready.
Added func to empty package dirs first before update.
Added Connect admin panel to Core.
Added a check for BS4 when building property config tabs.
Save my account modified to create user images dirs if they don't exist.
Some modals modified to use new bs4 hide class.
Added ability to disable sending all emails. No config option available, configuration.php would need to be edited to disable them ( 'send_emails' => 0, )
Switched to saving extra name instead of the definition string.
Max input vars description updated.
Updated installation process for wp to ensure that Jomres can be installed under the WP Plugins dir.
Tweaked how placeholders are set in the generate date input function.
Admin FAQ section removed as the questions are old and there are better resources available online.
Added check to see if autoload.php exists, if it doesn't force package reinstallation. On occasion, if the server was slow with the download then autoload.php not existing can be one of the best indicators that the packages weren't completely downloaded therefore if it doesn't then we need to start again.
Removed lots of clauses that check to see if X option has been enabled in integrated search. While these checks are useful to reduce the amount of work required to create the search form elements, unfortunately the clauses can create a lot of confusion when things don't appear in search forms (e.g. dropdowns for regions etc). For simplicity's sake we'll remove the checks, meaning that all of the search things will be available all of the time.
Added a new ajax script designed to respond with populated locations.
Removed option regarding if BS should be used in frontend, it hasn't been a valid option for years.
Moved hidden inputs from bottom of site config form to top because this may fix some odd intermittent behaviour seen in some places.
Moved hidden inputs from bottom of property config form to top because this may fix some odd intermittent behaviour seen in some places.
Standard and Micromanage tariff editing modes updated to work with BS4
Improved error reporting if a template file does not exist.
Added ability for search handling script to receive a custom search template file name.
Changed "number of guests" to "sleeps" in language files.
Disable gateways tab if using jomres platform
Editing mode disable in Wordpress frontend. It's stopped working and it's problematic as it's an extra layer of functionality that managers don't need. Backend editing mode works fine.
SRP Schema changed from Residence to LodgingBusiness
Added a warning to advise that users must be property managers to use the media centre. This is because the MC scripts are called by both front and backend.
Added search related functionality for constructing search forms (todo) relating to new occupancy levels.
Fixed a notice that can be thrown when room type images don't exist.
Fixed room type markup not being re-parsed.
Anonymise street information if settings require it (basic module output function used by some plugins).
Resolved an annoying niggle of date picker font sizes being overlarge.
Tweaked email checking functionality so that an email address can only be re-used if it's because a manager has used the select guests dropdown.
Changed how we prevent opt-ins from being stored, as was causing weird and wonderful behaviour in specific circumstances in the booking engine.
Jomres Platform introduced. Does not impact existing users with licenses however new users who want licenses will need to Connect to the Jomres Platform.
Added Guest types and Tariff editing modes to Jomres Core. Please uninstall the plugins.
Syndication is now off by default. You can re-enable it in Site Configuration > Portal Functionality tab.
Tweaked syndicate query to reduce memory load when searching for distances
Added a greeting modal that encourages new users to visit the getting started page.
Updated the Jomres WP activator to detect if the WP root is writable. If not, then fail with a legible notice.
dobooking modified to fallback to a previous property uid if the main property uid isn't set for some reason.
Added output that could tell us if we can't write the encryption file. Edge case, but possible.
Removed code that creates the jomres_root.php script.
Tweaked legacy installer as parts for v old installations were incorrect.
Updated some old BS2 templates to use spans correctly.
Disabled some debug logging as it was overkill.
Modified deferred tasks to create a new DeferredTasks log to make background task links easier to find during development.
Added a check to see if a room or rooms exist for this property when in micromanage mode, otherwise a tariff can't be created for this property until one or more rooms have been added. Most of the time this will not be necessary.
Made the default tariff editing mode Micromanage.
Cpanel syndication stats moved to bottom of page.
Remote plugins dir added for api path detection.
Commented out some duplication of effort
Fixed a notice that schema can display if rooms not created yet.
Tweaked syndicate query to reduce memory load when searching for distances
Missing definitions added to language files
Fixed a warning when passing lat & long to a method.
This version is a maintenance release that adds new changes that are required to work with the new Channel Management Framework which is now released as Beta.
Tweaked calendars so that historic dates aren't clickable.
Updated the jomres_properties class to ensure that the creation timestamp is set.
Ability to handle headers added to api call self functionality
Property price display in lists function updated to respond with inclusive and exclusive prices as well as basic pricing information
Output price function updated to allow it to respond with the calculated currency code used when building prices
Trigger the webhook watcher if the mcHandler class exists (API. Allows webhooks to be acted on by the watcher).
Changed how webhooks can be viewed/edited by managers.
Added functionality to redirect channel properties to their parent site as required.
Improved functionality to check if a property is a channel property, to ensure that the menu options aren't shown in channel properties if those menu options modify a property.
Added code to webhook watcher to clear out the cmf rest api cache if property_uid is set in any of the messages.
Added "rejected" flag to contracts table, which makes it a little easier to identify bookings where the enquiry was refused, rather than surmising it from the available data.
Add webhook events log, which allows us to capture both UI and API modifications to a property.
Changed some jomres_properties private methods to public.
Added some settings (which for now I will not add to site config) which allow, on webhook trigger, the system to check to see if the property needs to be unpublished & unapproved, if the new settings allow. At some point I'd like to make these checks a deferred task.
Added a warnings stack to the sanity check class to allow programmatic reporting of warnings.
Added image webhooks to upload handler.
Improved webhook watcher to manage unpublishing of properties (where config allows) if properties are incomplete.
Modified the media centre class to not include the noimage.gif file links if being called by the api, as it's not necessary.
Modified session handling so that a session can be forced to be used, even if ip = 0.0.0.0
Modified api custom methods to allow them to save the session if defined FORCE_JOMRES_SESSION. This allows api features to define FORCE_JOMRES_SESSION before framework.php is included, which in turn allows the api to use the session functionality of the system. This likely will only occur in a very small number of cases (when bookings are made, for example).
Modified jomres/classes/jomres_generic_booking_insert.class.php so that it allows channels to create multiple bookings with the same booking number.
Modified how 204 errors are returned because I was sick of playing guessing games to decide why something wouldn't work. Error causes are much clearer now.
Updated new functionality to scan for system changes and auto-unpublish incomplete properties
Added api client and secret to api test page
Changed how negative responses in api messages are reported so that they can be handled more automagically.
Re-added library packages for Jomres to slim down the initial installation sizes a bit
Added old paths to node modules and vendor to obsolete file handling
Prevent cron jobs from triggering if it's an api call ( Can you say recursion? )
Added any available channel data to the webhook event. This allows channels that create an event to ignore webhooks triggered by that event.
Set default error response to 200 as it's easier to trace issues than if we're using the older 204 response code.
Added a check to deferred tasks to see if there's anything to log.
Added a space to prevent stray 400 errors when using api and setting the token in the headers.
Tweaked new response envelope data & added link to Nightly to readme.md
System API user id changed to 9 characters
Custom methods updated to add routing to envelope response
API Index file changed to convert older System user's ID to 9 characters
Changed how PUT method handling detects how to handle stream
API router updated to say which response is unknown.
API Call self functionality updated to use framework and to use the jomres_call_api class
Tweaked how logging builds backtraces
Changed how we find Wordpress database configuration settings when being run via the API.
Added two new tasks to "channel safe" function so that we can view property and make bookings
Modified how apostrophes are decoded before a dropdown is created
Removed depreciated functionality
Changed how recaptcha verification is handled
Added an option that channels can use to allow local editing of properties.
Tweaked edit property script to ensure that property features not assigned to a specific property type are shown.
Added new webhook for saving plugin settings
Added ability to make webhook events for admin area review publish/unpublish/delete
Changed how property_uid is accessed by reviews class
Extended rooms_multiple_added webhook to include new room uids
Added new rooms_multiple_deleted webhook event in case manager uses the "delete all existing rooms" option
Corrected the unapproval email that is sent.
Restored an image that was removed in error.
Removed a depreciated link from the admin menu
Fixed a notice when changing settings that might get triggered on booking save. Not important as only shown during dev but it's nice to put it to bed.
Fixed a notice that might appear in edge cases during dev with incomplete properties.
Fixed buggy logic that meant that an error wasn't logged during cm bookings.
Removed a semi-colon that has already been removed once (Grr)
Fixed a notice generated by admin level api calls.
Jomres 9.21.3 08/01/2020
Removed some unnecessary code that was preventing deletion of properties via componentArgs and REST API
Improved how errors are output by the api when in dev mode.
Improved PUT method handling
Disabled some automatic plugin installation functionality that can cause some problems and isn't really necessary.
Added some throttling to ensure that syndicate servers don't get spammed by api hits quite as much.
Guest email address and phone number added to timeline on-hover popup.
Added code to prevent the session handler from creating rows in the sessions table when queries appear to come from localhost (guzzle calls to self for deferred or asynchronous jobs).
03379 scripts updated so that property uid can be passed via component args. This allows the channel manager property import functionality to store images using the Jomres framework which ensures that resource types etc are respected within the context of Jomres.
Added code to handle channel management framework plugins
Added stripe_connect_return as a task that wp should not allow redirections on.
Added french lang files to joomla cms plugin
Fixed a bug in syndicate guests details handling.
Resolved an issue with creating seeds of property feature categories.
Added code to check for crawler, and if not a crawler then it's ok to trigger scheduled tasks. Bots just create too much work/too many sessions.
Fixed an issue on new installations where a column is missing.
Re-added some template output for edit booking guest details so that in the event that the account details haven't been updated, their booking information still shows.
Fixed a bug when extras quantities are not being stored at contracts table (thanks Rod)
Removed updating of the is_localhost flag as it's no longer necessary and updaters who's installations aren't properly running the table update functionality (possibly due to timeouts) are having problems running their newly updated Jomres installations.
Fixed an issue where pdfs are not deleted on property details update
Added some pdf files that were causing new bookings to fail.