Version 1.2.2
=============================
Started: 20 July 2004, Finished: 13 Nov 2004
=============================
** VERY IMPORTANT SECURITY UPDATE!! **
If you downloaded CaLogic on or before 19 July 2005 20:00 GMT +1 then please download the zip again, and upload the contents to your CaLogic folder.
It appears that the mini calendar plugin script had a big security hole in it. Alot of CaLogic users' webs were hacked... including my own. Not only was I hacked, but my entire web folder was deleted.
If you use the mini cal plugin, then you will need to re-configure it after updating your CaLogic files. To re-configure, please read the instructions in the mcpi-demo.php file.
If you are unsure what to do, please contact me. I would be glad to help.
There are 2 ways to stop this security leak.
1. Download the zip again, and upload the contents to your CaLogic folder.
2. If you do not use the mini cal plugin, then you can delete these 4 files from your CaLogic root folder:
mcconfig.php
clmcpreload.php
mcpi-demo.php
cl_minical.php
I deeply applogize for any problems this security leak may have caused you.
=============================================
* IMPORANT NOTE *
The CaLogic folder structure and placement of some of the CaLogic
files has changed as of CaLogic 1.2.2
When updating from 1.2.1 or earlier to 1.2.2 or higher, please
move the file "dbloader.php" from your CaLogic include folder to your
CaLogic admin folder before running the update.
Always read the updating.txt file when updating.
=============================================
* NOTE*
Download file updated on 30.03.2005 22:58 GMT + 1
Fixed a few bugs in the update script that caused problems when updating from older versions
=============================================
Download file updated on 1 February 2005 21:18 GMT +1
fixed a bug in the user edit area that made is seem like all users were admins. And this bug caused problems with adding/changing/deleting users.
fixed a typo bug in the index file (Thanks to Justice for bringing this to my attention)
fixed a few bugs with the mini-cal plugin
If you downloaded CaLogic on or before 2 Feb 2005 21:18 GMT +1 then please download the zip again, and upload the contents to your CaLogic folder.
=============================================
Download file updated on 20 Nov 2005 14:43 GMT +1
There was a bug reported to me that only happened on certain servers. Series Events that were set to end on or after a certain day would break the calendar display. This bug has been squashed.
If you downloaded CaLogic on or before 20 Nov 2005 14:43 GMT +1 then please download the zip again, and upload the contents to your CaLogic folder.
A BIG THANKS to Rob for the FTP access to his server that greatly expedited the squashing of this bug.
Download file update 17 Nov 2004
Fixed a few bugs reported:
When viewing an event, the reminder intervals were not showing
the correct values.
Reminder intervals were not showing correctly in reminder emails.
Subscription keys now get created for the subscribers that are
added when creating an event.
Reminders weren't getting sent at the proper times.
If you downloaded 1.2.2 on or before 17 Nov 2004, please download the file again and upload everything to your CaLogic folder.
============================================
Changes in 1.2.2:
The mini cal plugin has been updated. Anyone using this feature should
see the mcpi-demo.php file for the changes. There is a new "block" that
has to be added to your html documents that include the mini cal plugin.
There is a new field in the _setup table called calogic_uid.
This filed is generated one time upon installation or during
an update if it has not yet been generated. It contains a
unique value called a GUID. This value can and must be used
for automating Admin functions. The calogic_uid is very important.
You should take great care not to expose the calogic_uid. Do not
use it in links. It is meant only to be used in php programs.
CaLogic now has an Automation API.
Functions that are automated:
Creating and deleting a user
Creating and deleting a calendar
Automatically logging a user on
Emulating a user
Emulating a user is already built in:
Admins can now "Emulate" or logon as other users without needing a password. To do this,
logon as admin, go to the user settings, select the user you want to emulate, then click
"Emulate User". Doing this will log the admin user off and log you on as the selected
user. This function is intended to help you support your users.
For instructions on how to automate CaLogic using the Automation API, read
the automating_calogic.txt file in the docs folder.
The CaLogic session handling has been somewhat modified.
CaLogic now sets a cookie that stores the session ID. This
takes care of a few problems that I have experienced over the
years. For example, the PHP setting use_trans_sid is now
irrelevant. Also, because of the cookie, the PHP Session ID
no longer has to be transmitted with links when use_trans_sid
is turned off. The bad part about this is, the user must
accept a cookie or the session will not be propagated from
page to page. CaLogic includes a P3P header stipulating
that no Personal Information is stored, and that the cookie
is only for session state.
CaLogic no longer requires the PHP setting of register_globals to be on.
Language tables have been updated a little.
Also, Language Table entries now get added dynamically,
so if you have done some adding your self, there should
be no conflicts with the uid field. Meaning any future
changes I make will not (should not) conflict with changes
you may have made, or may make.
Each user can now set thier own time zone offset in the user settings area.
And there is a new "time zone lock" feature, when activated, it ensures that
the time zone offset you enter does not get changed when logging on. This is
to correct the problems that some have reported, when being on hosted
systems that do not have the correct time zone set. (and thier provider was
unwilling to do anything about it).
Added the per calendar option to allow the showing of events in
"Out of Month cell blocks" in the month view and mini cal.
Those are the cell blocks in the month and mini calendar, that
belong to the previous and next month. In the standard setup,
they are white in color, and usualy only display the day number.
Well, if you enable this option, these cells will also display
any events for those days. To turn this on, a user must turn on
the option "Display Out of Month Day Numbers".
This was a user requested modification.
*Finally* added all of the "per calendar" configuration options that
were only available in the Admin config area, to the Calendar Config
area. This means, that if the site admin allows it, a calendar owner now
has more calendar configuration options. For example, the header
and footer banner settings can now be set on a per calendar basis.
Basically all the options in the admin config area, that are under the
headings of: "Site Look and Feel" and "Calendar Look and Feel" can
now also be set on a per calendar basis. And if you look close enuf
at previous versions, it is even stated there next to the heading in
the admin config area, that "these are the default values, and that they
can be changed in the calendar config area" by the calendar owners. But
that wasn't true up til now. Also, I've added options to those areas in the
admin config, that gives you, the admin, the option of turning these
options on or off for the calendar owners. Also, because these
are new options that the users have never had, they are turned off
by default. So if you want to allow your calendar owners to be able to
change any of the settings for thier own calendars, you will have to enable
the options that allow them to make the changes.
Note that admin users will always be able see the per calendar
settings in the calendar config area. I also know, that perhaps
a lot of normal users may be overwhelmed by the many new configuration
options. so, you as site admin may choose to just keep the settings
turned off.
The Standard Default Calendar Option has been moved from the Calendar Config
Area to the CaLogic Admin Config Area. This is where it belongs anyway.
The Email format for reminders can now be set individually for users, contacts,
and event subscribers. There are 3 types of email format: plain text, HTML and
SMS. SMS is a short plain text format that will not excede 150 characters. It is
used for sending mail to PDAs or cell phones (handy) or other devices that may
have a charcter limit. The Email Format Setting field in the CaLogic Config Area
was used to set all current users, contacts and subscribers. Now, it's only use
is for the site owner notification mails that get sent out. All other System mail
settings are still used, like the "User Name in Email" setting for example.
In order for anonymous subscribers to be able to make use of the SMS option
a site admin must enable the new "Allow Anonymous Subscriber SMS" option in
the CaLogic config area. Thanks to Gerry for helping me figure out how to get
this option rolling.
This was (partially) a user requested modification.
The Calendar Title and user name has been removed from the upper part of the header.
This is because it is now an option to have the title shown.
Admins can now see/configure/delete calendars of other users. However
the user events on a private calendar will not be seen by the editing admin.
This was a user requested modification.
Added the admin option to turn off the functions menu for non admin users.
Added the admin option for the text used to name the functions menu.
This was a user requested modification.
Rearranged the Admin Config Area a little, so that the "site" options are
separated from the "per calendar default" options.
Added font and color configuration options for the popups. User customisation
of these options can also be turned on or off.
The Week, Month and Year view "Pull down" menus as well as the calendar pull
down menu have all been replaced with a new menu. This new "Horizontal Bar Menu"
is designed to save space and look nice. The colors and fonts of this menu are configurable
in the CaLogic Admin Config Area, and if allowed, in the individual calendar configurations.
The Side Bar "Sliding Functions Menu" can now either be placed in the new
Horizontal Menu Bar, or be left on the side or both.
This was (partly) a user requested modification.
The Popup and Menu color configurations for the individual calendars has made up
a new area in the CaLendar Config Area.
Added options to control the displaying of the mini calendar in each view.
The options are: Left, Right, Both or none. If left or right is selected then
the current month will be displayed. If both is chosen then the previous and
next months will be displayed. Guess what happens if you chose none?

These options are also user customisable in the View Areas of the Calendar Config Area.
This was a user requested modification.
A calendar owner can now specify, if conflicting events can be saved or not.
This was a user requested modification.
The contacts list is now sorted by last name, first name. The list of
reminder contacts is also now sorted in the event view.
The word "<script" will now be replaced with "< \ script"
in all areas that allow for user input. This is to stop hacking.
Because CaLogic allows for HTML in the description, it was possible to enter
a bogus description that could cause anything from endless popups to relocating.
I did this because a Guestbook of mine was hacked in this manner. I tested to
see if I could do the same thing with CaLogic and I could. So I modified it to the
extent I think will effectively prevent such misuse.
There is now a "Check for Updates" link on the CaLogic Config form" Click it to check
if there are updates available. The check will open in its own window.
Fixed a bug in the week view that caused a clicked event to show the wrong date.
Thanks to Kate for the report *and* the fix!
Fixed a probelm that, when the week view is defined as the starting view,
it was not showing the correct dates, and the Week Pull Down dates
were all wrong upon startup. Thanks to all who reported this bug.
Fixed a bug that appeared only when the Default Calendar Option was turned
on, and then the Public View Option was turned on. Thanks to Mitch for his
help in getting this error fixed.
fixed a security leak that allowed any user (even the guest user) to delete
any event on any calendar. I also found this same kind of "bug" in other
areas and killed it as well.
Fixed some bugs I found on the contacts form. Also, selecting Association mode no
longer clears the selected contacts/groups.
Fixed a bug that caused some repeating events to be shown on the wrong day.