php-residence 0.6 changelog and release notes

Discuss here how to configure hoteldruid and better use its features.

Moderator: marco

Post Reply
marco
Posts: 1332
Joined: Tue Jul 05, 2005 6:00 pm
Location: Roma, Italia

php-residence 0.6 changelog and release notes

Post by marco »

0.6 (23/02/2006)
======================
-import prices from a rate to another one
-choose the number of rows (apartments) after wich show again the dates row in months tables
-choose to select current reservations by default as customization of reservations table
-in reservations table use menus' partial dates in arrows when only 1 period is selected
-show deposit when checking availability
-possiblity to insert a reservation request in the users' messages from the availability template
-custom fields in availability template reservation request
-choose to ask client data, check-in hour and deposit payment method in availability template reservation request
-estimated check-in time
-possibility to show until last available date in database in internet templates
-fixed bug: year privileges not deleted when deleting year
-update internet templates when creating year or updating database
-possibility to change the directory where internet templates are created
-users messages system
-possibility to consider a contract as a rtf or a template for editable email
-fixed bug: error with alternate days in extra costs
-added client region and id, reservation number, rest to pay, last payment and all payments list to contracts
-possibility to change the number of contracts
-added custom variables with conditions on other variables to contracts
-view contracts of shown reservations from all reservations table
-possibility to set the repetition boundaries in contracts with more reservations
-contracts with many types and number of reservations
-moved contracts from files to database
-possibility to view only 1 method of payment in payments history table
-logout
-possibility to modify client's data after inserting or modifying it
-possibility to replace words of user interface
-try to free the apartment before deleting it
-improved performance of assignment function and added to it a time limit
-moved all includes in includes/ directory
-client region and identity document
-conversion to unicode utf-8
-no permanent connection to database


Internet templates are now updated automatically, but for this version you may need to create them again after upgrading because the charset encoding has been changed to utf-8 and you may end with templates having 2 different encodings.
If you choose to extend the last date when creating a template it will be automatically updated when creating a new year.
The custom fields that can now be added to the availability template form can be used to ask credit card details, but you will have to take the adequate security mesaures by yourself.

The new RTF contract format can be useful if you want to print contracts for multiple reservations with a separate page for each reservation.
The email contracts, with a correctly configured server, will let you easily answer to reservation requests from internet templates, but be aware that leaving php-residence without a password on internet will give the ability to anyone to send emails from your server.
The format of the variables in the contracts has been changed (for example $paid is now [paid]) and the contracts are no longer stored in files, so now you can modify them only from "configure and customize". If the contr directory has not been removed after upgrading you can remove it manually.

The performance of the assignment function has been greatly improved, but this may still not be suffient in some situations for installations with more than 50 apartments, so a time limit has been introduced (you can change it from "configure and customize"). If the function gets over the limit it will finish the current iterations without adding new ones. This in some very very rare cases can lead to give no more availability when there still is. You should set the PHP time limit (in php.ini) at least 20/30 seconds over the limit in php-residence.

You can now replace words of the interface but be aware that substitutions are case sensitive. So if you want to replace "apartment" with "room" you will have to add also "Apartment"-"Room" and "APARTMENT"-"ROOM" (gromeo, this is not a casual example :wink:). Each substitution will add a small performance worsening, but you shouldn't even notice it.

Finally let me point out that due to the major changes introduced in this release there may still be some bugs. If you find one report it as soon as possible so that it can be fixed in 0.6.1.

Marco
Last edited by marco on Sat Apr 15, 2006 12:02 pm, edited 1 time in total.
jmesam
Posts: 24
Joined: Wed Aug 31, 2005 10:13 am
Location: Canary Islands, Spain

Post by jmesam »

great job, Marco! :D
Post Reply