LuxCal Forum

The place for questions, suggestions and news about the LuxCal Event Calendar

User:   Password:   Remember Me?   
LuxCal Forum / LuxCal / What's New / LuxCal 4.5.2 - MySQL and SQLite: Released: 2017.01.30
Posted:  27 Jan 2017 15:30   Last Edited By: Roel B.
This new LuxCal version 4.5.2 is basically a "bug-fixing" release; it has a few improvements and a number of bug fixes, which make the calendar more stable and robust.
Hereafter you will find a full summary of all changes . . .

Changes/Improvements since LuxCal version 4.5.1
• To accommodate Muslim countries, which often have their weekend on Friday and Saturday, the start day of the week and the working/weekend days can now be freely chosen.
• On the Styling page the admin can now choose the border color of buttons when hovered.
• The maximum length of the extra fields 1 and 2 has been increased from 120 to 255 characters.
• The edit and delete buttons formed by square brackets have been replaced by real buttons. Cosmetic
• Right margin (3px) added for radio buttons and check boxes. Cosmetic.
• For table headers cursor changed to "default". Cosmetic.
• The following option has been added: When adding or editing an event category or a user group and the background color is set to #FFFFFF (white), then all events in this category or, when the admin selected "Event colors based on user group", in this group, will have a transparent background. For sub-categories it is done as follows: if the background color is set to #FFFFFF (white), an event with this sub-category selected, will be displayed in the original event colors.
• The favicon link has been set back to a separate favicon image in the calendar root. Some users want to use their own favicon.
• The Event window can now be closed by just pressing the Escape key.
• if the calendar is called with URL parameter cD (current date) and the value of cD is 0 (zero), then the calendar will jump to the date of today.
• The layout of the Edit user data form has been improved. For certain languages the text "Only if changing the password" could push away the form fields.
• Minor improvements for displays 1 and 2. Increased flexibility.

Technical issues
• LuxCal version added to the head section of the theme backup files. This version number can later be used to check if a theme backup file is compatible with the currently installed LuxCal version.
• In Month, Week and Day view the top position of the scroll box and scroll box header now depend on the base font size. This gives more freedom to increase the base font size.
• During the installation, if the default calendar specified in the installation form does not exist, it will be set to the first calendar in the "all calendars" array.
• To reduce duplication of PHP code and to standardize email message layouts, the email functions and all general email related code has been put in a separate file called messaging.php. This is also done in preparation of the SMS feature we want to introduce in LuxCal version 4.6.
• To ensure a uniform presentation of the full date and time in the various views and messages, a function which returns the full date and time has been created.
• In the English and Dutch language files the text for "All day" was only showing the text "day".

Bug fixes
• The hidden line in the event form to remember the variable $mode was accidentally removed, because of this, when adding a recurring event, although the window said "event saved", the event was not created.
• What event categories a user can view and edit depends on the selections made in the user group of the user and of the public user. However, if the public user has no read access (priv < 1) or no post rights (privs < 2), the view categories or the edit categories respectively of the public user should not be taken into account. Bug solved.
• When logging in and when changing the user language on the login page, the language remained unchanged and was not set to the user language. Problem solved.
• When adding an event without closing the Event window and then saving it again caused a PHP warning because the added date/time variable was not set. Bug solved.
• On the Styling page, the variable fNames was not initialized before scanning the css folder for file names starting with "theme". When no backup theme files present yet, this could lead to PHP errors when opening the restore drop-down list.
• When restoring SQL files, in the importSqlFile() function, the counter for the new styles table was not initialized, which resulted in a PHP Notice and on the database page the number of records
    inserted in the styles table was not displayed.
• On the Settings page, converting form field text strings representing an integer into an integer was not done correctly, which made it impossible to enter a numeric string starting with a zero.
• The class to set the "Test email" button to noPrint was partially missing, which resulted in a HTML validation error.
• When exporting an .ics file and the start time of an event was empty, a PHP syntax error could occur. Bug solved.
• When sending a reminder "now", and no sub-category selected, the sub-category ID is set to 0 (zero) which causes an "undefined offset: -1" for the sub-category name (cnm). Bug solved.
• During the installation process the validation of form field "New to install" was not working correctly and has been improved.
• In the style sheet syntax problems in various border styles solved. The borders of sidebars and overlay boxes were not correctly displayed.
Posted:  13 Feb 2017 03:07
Upgraded - no obvious issues and no problems with the upgrade.  Well, once I remembered to make the settings file writeable for the upgrade.  Du'oh!  ;)