Releases: WoollyinWalesIT/jomres
Jomres 9.22.0 release
-
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.
Jomres 9.21.5
Fixed a bug that was preventing plugin settings from saving sometimes.
Jomres 9.21.4 CMF-ready
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.
Added blank.png
Removed a semi-colon that has already been removed once (Grr)
Fixed a notice generated by admin level api calls.
Jomres 9.21.3 (Jason fat-bum)
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.
Jomres 9.21.2
Skipped 9.21.1 altogether because it was a late night release to resolve an ongoing issue with core package management. This version fixes an issue with schema templates.
Jomres 9.21.0
-
Added functionality to mark guests as "no show". This information is then passed to the app server so that together Jomres syndicate site owners can get information about potential guests.
-
Added complete new schema templates and script for MRPs and SRPs.
-
Added ability to add menu options based on searching by property feature.
-
Added ability for Jomres Call Api class (class that calls the local api) to handle headers. New channel management REST API code requires having the channel name in the headers.
-
Improved api routing so that files like aaa_bbb_ccc_ddd which correspond to endpoints like jomres/api/aaa/bbb/ccc/ddd/@id can be found and used. Preserves older style of routing for existing api feature plugins.
-
Tweaked functionality so that if gmaps api key not saved, then user not encouraged to save the key, and panels are no longer visible.
-
Tweaked how check syndicate domains handles exceptions
-
Tweaked optin save record functionality to not bother if IP number is localhost.
-
Changed functionality so that localhost sessions are cleaned up more quickly. With the addition of a variety of features Jomres calls itself more often and this is causing the session table to grow more quickly in the past so we'll clean up more quickly too.
-
Added guest name and booking number to add note and add service to bill screens.
-
Added guest name to cancel booking output, refactored cancellation script to use a new class.
-
Code comments and a couple of not needed methods removed.
-
Disabled some logging that didn't need to be in place.
-
Refactored the internal call api class.
-
Modified list guests page because the guest's email address not being immediately visible was bugging me.
-
Added functionality to ensure that we're not adding our own property to the list of properties in the network.
-
Changed a logging level in get syndication properties script
-
Improved syndicated properties display in small screens
-
Tweaked new guest creation by manager so that a cms user is already created if one does not already exist with that email address.
-
Decoded some sanitisation of telephone numbers.
-
Resolved an issue that jsitemaps was having building sitemaps for Jomres.
-
Fixed a bug when users needed to click two times in order to go to next month.
Jomres 9.20.0
-
Added significant update to user handling within Jomres to allow for private and public user data and user profiles.
-
Users are now able to add "About me" information which is added to their profile page, and define Preferences (which are prefilled in the special requirements field of the Booking Confirmation form). Their Edit Account page now prompts them to enter such private information as driving license, passport and IBAN number (suggested only, not mandatory).
-
Private data is viewable by the user themselves, their hosts when they've made a booking at a property, and super managers only.
-
List Bookings/Invoices/Guests pages offer links to the guest's profiles, and in the List Guests page a receptionist or manager can add a review of the guest, which is visible in the Guest's profile page. This means that when managers/hosts are viewing booking requests they can view both the guest's reviews of other properties, plus other host's reviews of the guest. They can also view the guest's About me section and the private data, all of which should help managers when they're deciding whether or not to approve a booking.
-
The guest's profile (including private data) are also viewable in the Guest tab of the view booking page.
-
New syndication stats panel added to cpanel
-
Changed syndication network range from 1 - 20km for finding first choice properties to display.
-
Improved performance of get_properties syndicate cron job, had to disable checking of images because the process would take too long
-
Made some log items debug only due to the amount of log files they were creating.
-
Updated the install plugin manager prompts to highlight if ioncube is not available and then recommend that the plugin manager not be installed if the user does not have a one-off license and moved the license nag to Site Configuration.
-
Disabled Gmap if api key not set as it triggers js errors now, which prevent the main menu from running.
-
Removed the hashes file as it's not needed and chunky. It was only used by the file system integrity check which itself is unreliable so there's no point in shuffling those bytes around the interwebs.
-
Fixed a minor bug in a cron job.
-
Wordpress changed stuff, so I fixed stuff. (The new page editor was trying to call index.php in the Jomres dir, causing an error so tweaked that to include the index.php above). Added warnings about installing a Bootstrap theme and provided a link to the Leohtian theme on jomres.net for those who don't have a preferred theme.
Jomres 9.19.2
-
Improved syndication functionality, added new table for property distances, when the show syndication script attempts to show syndicated properties a min and max distances setting is applied and any properties that fall within that window are selected to be shown. This allows the guest to see properties in the general area (currently between 1 & 20km) as google juice.
-
Updated PUT method handling to ensure that it doesn't throw notices when form data is empty.
-
Added check to see if API definition exists, if it does and it's an API call, we suppress some output.
-
Improved performance and exception handling of syndicate cron tasks
-
Improved core package handling to ensure graceful fallback in the event of a sha not being built correctly.
Jomres 9.19.1
-
Added functionality to silently add plugins if required by REST API
-
Installer scripts updated to remove space check
-
Removed a usort section of code that was preventing normal mode tariffs from being saved.
Jomres 9.19.0 Piglet
-
Added the Jomres Syndication Network functionality which lists your properties on other Jomres based sites, giving you the opportunity to advertise your properties at no extra cost, across the world. No personal data is recorded or revealed, just the url to the Jomres site and the properties it has.
-
Added feature where API functionality can offer built-in API methods.
-
Added code to delete property script to allow deletion of properties through componentArgs, meaning it can be called as a discreet script, rather than always being intended to be run through the browser.
-
Added ROW_FORMAT=DYNAMIC to the query that creates the propertys table.
-
Updated language files to emphasise that property managers must always be existing cms users.
-
Fixed an issue where stars selection was not added to paging urls in list properties.
-
Asynchronous deferred tasks were causing some slowdowns so added a solution to possibly use wget to trigger deferred tasks instead.
-
Improved how list bookings page searches for guest names & email addresses
-
Modified booking engine so that a double check is done on price to ensure that an edge case doesn't result in 0 price tariffs being presented in the booking form.
-
Fixed some issues in REST API functionality created by the previous update's changes to file paths.