Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ylavi

Pages: [1] 2
1
Community Contributions / Re: Timezone support patch
« on: September 05, 2012, 05:49:49 pm »
At the moment I don't have time to work on FengOffice. I hope that one day I'll get back to it.
In any case it's extremely unlikely that I'll do anything more for FengOffice 1 now that FengOffice 2 is out.

2
Community Contributions / Re: Timezone support patch
« on: February 18, 2012, 07:50:27 pm »
Hi smet

Thanks for your updates.

With regard to the three issues you raised on Feb 6:

1. The errors you mentioned are indeed code errors, although they may not cause the code to fail completely. A patch file is attached to this posting, and this fix will be included in future versions too.

2. I do see an issue with the "Include SubWS" checkbox, although not quite the same one as you mention. I find that whether or not it is checked I get the WS and its SubWS, at least in the case of "All". I will need to check it further. One thing I wonder, since you say that the export only works if it is unchecked - are you possibly confusing the checkboxes? The checkboxes are to the right of their labels and perhaps you're checking WebCal which might make the export not appear to work. Please confirm that that's not the problem.

3. Please post the translations; I'll include them in my next version.

ylavi

3
Community Contributions / Re: Timezone support patch
« on: February 02, 2012, 05:34:39 pm »
I'm glad to hear that your system is working again.

Rather than redoing the whole patch you might just want to find the right part of the patch file and add the new code manually.

Some problems with generation of ICS might be expected if you are including time zones and not outputting in UTC. I submitted my changes to the iCalCreator project and the maintainer there pointed out some inefficiencies in my code which might only work if you adjust some settings in php.ini. Now I know that someone out there really needs the fix I will try to make the time to improve my code.

4
Community Contributions / Re: Timezone support patch
« on: February 01, 2012, 08:21:19 pm »
Hi smet

I just saw your message now - unfortunately I don't have time right now to go deep into your problem.

From the errors you reported it seems as if your PHP doesn't have the setTimestamp function. Do you have PHP 5.2 on your webhost? That might explain it as setTimestamp was added in 5.3 it seems.

I don't think I added calls to DateTime::setTimestamp() which weren't there before, but maybe the standard code doesn't ever run in a way which calls that function.

"og.detect_tzname is not a function" is a bit surprising - the first thing I would check is that all the changes were made correctly and that public/assets/javascript/og/og.js was patched properly - that's where og.detect_tzname should be declared. But I assume you would have noticed errors from the patch process and that's not the problem, in which case I am stuck for an answer. Disabling automatic timezone detection won't help because (as you will see in application/layouts/website.php) the function is always run to get the time zone - the setting just controls whether the result is used or not.

I hope this does help and you make some progress; please keep me/us updated with anything new you find out.

Good luck!

5
Community Contributions / Re: Timezone support patch
« on: January 31, 2012, 06:29:53 pm »
Hi smet

It's OK - you don't have to be even a newbie at programming  ;)

When you ask for examples do you mean how to make the changes or what the changes are? I assume that you mean the latter - in which case while I could make some screenshots, there's not that much to show. (But if I find some time I'll make some anyway and add them to my page). The big changes are in the content of exported ical and the processing of imported ical. As far as I can recall right now, the visible changes are limited to:
  • extra options for the calendar feed link, when displayed
  • changes to the time zone selector
  • a "location" field in calendar entries right by the time/duration
The time zone selector in standard Feng Office offers options like GMT-1, GMT, GMT+1 etc. Installing my patch replaces that with a list of time zones like Europe/London, Europe/Paris, America/New_York - and Feng Office gets the offset for each date as required. It will know that between certain dates the offset is GMT+/-y and the rest of the time it's GMT+/-x.

The database changes can be made using any tool you like which is capable of running those sorts of queries on the database. phpmyadmin is one option but I'm sure there are other ways you can do it.

Your data should be perfectly safe; the database script doesn't touch any existing columns - it only adds four new ones. That said, make a database backup anyway! Also (if I recall correctly) until you select a named time zone, your users'/contacts' existing time zone offset settings will continue to be honoured, so you won't be immediately defaulted to UTC/GMT.

I think I understand what you might mean by patching the system on-line. I'm afraid I don't know how to do that. What I would suggest is to unpack the standard distribution twice, prepare one of the sets of files according to the instructions, and compare it to the other to find out which specific files are different and need to be uploaded. Alternatively perhaps your FTP program can do a comparison and tell you whch files are different to what you already have on-line.

I hope that helps - I'll be happy to hear any further questions

6
Community Contributions / Re: Timezone support patch
« on: January 14, 2012, 02:02:27 pm »
Is no-one interested in this?  :(

7
Community Contributions / Timezone support patch
« on: January 01, 2012, 06:44:07 pm »
After quite some work I would like to present a patch which adds true (I hope) time zone support to Feng Office 1.7.5.

The main benefits are proper handling of daylight savings time and correct handling of time zones in iCal imports, exports and feeds.

From the number of relevant forum topics created over the years on this subject, I suspect that this is quite an important issue to have addressed.

A full description is available at /en/content/feng-office on onebigsystem.com (sorry, I have to write it that way as I can't post links here), from where the patch can be downloaded.

Please comment on this patch here in the forums.

Once I have had some confirmation that it behaves properly I hope to continue work and ensure that all the core functionality of iCal exists in Feng Office too, since iCal is the underlying format used for CalDAV and SyncML.

If this version or a future version of this patch is ever included in a future official release (I hope it will be), I might have a go at implementing CalDAV using SabreDAV.

8
Feature requests / Re: View calendar as list
« on: November 02, 2011, 05:55:31 pm »
For the record it's possible to switch the overview to list mode (rather than dashboard mode) and select large numbers of items (even of different types) at a time

9
Feature requests / Re: View calendar as list
« on: November 02, 2011, 05:45:40 pm »
I would like to second this.
I just ended up with a large number of wrongly-timed events from an import and it is extremely tedious to remove them even month-by-month

10
Components / Re: iCal server
« on: November 01, 2011, 06:34:00 pm »
* Alarms are not exported (ical: VALARM)

I hope this tweak will get attention here

Here's some extra code for environment/classes/event/CalFormatUtilities.php which adds alarms (but not email reminders) to the iCal export - particularly useful for feeds to desktop/mobile apps which could implement those alarms.

The first and last lines are present in the original code (I'm working with the code for 1.7.3.1) and the rest is what I added:

Code: [Select]
                    $ical_info .= $rrule;

                    $reminders = ObjectReminders::getByObject($event);
                    foreach ($reminders as $reminder) {
                        if ($reminder->getType() == 'reminder_popup') {
                            $ical_info .= "BEGIN:VALARM\r\n";
                            $ical_info .= "TRIGGER:-PT".$reminder->getMinutesBefore()."M\r\n";
                            $ical_info .= "ACTION:DISPLAY\r\n";
                            $ical_info .= "DESCRIPTION:".$event->getSubject()."\r\n";
                            $ical_info .= "END:VALARM\r\n";
                        }
                    }
                   
                    $ical_info .= "END:VEVENT\r\n";

11
I like this idea too.

I actually came to the forums to make another suggestion which is different but might help provide some of the same value, and is inspired by a different program from years ago:

http://forums.fengoffice.com/index.php?topic=4599.0

12
Feature requests / Categorisation of links to objects
« on: August 24, 2010, 06:12:04 pm »
One of the things which brought FengOffice to my attention was the "Link Objects" function which allows us to link objects of different types or the same type to one another.

This sort of general linking seems to me to be intrinsic to a PIM-type application and I always wonder why most PIM programs don't have it. Many allow you to link some types of objects to other specific types but not flexibly like FengOffice permits.

However in FengOffice there's still a piece missing. The ability to define the type of the relationship.

It was a fundamental part of an old WordPerfect application called InfoCentral. An InfoCentral fan writes over here about useful it was: http://www.macros.koenecke.us/InfoCentral/whyic.html. It's true that InfoCentral allowed all sorts of objects to be created by the user as part of using the application and FengOffice doesn't but in any case being able to indicate what relationship a linked contact has to a task could be very helpful. It could be even more helpful when linking contacts to contacts, for instance to indicate that contact Y is the sister of contact X - because there could also be contact Z who is X's former boss and without the types you have no easy way of seeing why either of them are connected to X.

Sometimes it will be enough to have a neutral link but other times an explanation would help. The user could be allowed to define any number of relationship types which are appropriate for a given pair of object types. For instance contact<->contact would have different relationship options to contact<->company and contact<->event or company<->task or event<->task. Each relationship should have two definitions, depending on direction, so that when displayed from the far side of the link the appropriate inverse relationship would appear, for instance if Y is the "parent of" X, X would appear as "child of" Y.

I believe this would add a lot of value without so much overhead as it could be completely optional to use.

13
Feature requests / Re: improved E-Mail Features
« on: August 24, 2010, 05:46:13 pm »
I posted a little bit about my opinion on IMAP support, quoting one of the messages above, over here:
http://forums.fengoffice.com/index.php?topic=4559.0

14
How To's / Re: Question about IMAP support
« on: August 24, 2010, 05:45:35 pm »
I also find the idea of getting emails into FengOffice important, but I wonder whether many users really need the deep integration that the current implementation begins.

It turns out that my ideas aren't so well developed but I hope it's OK if I throw some out there anyway. Let me quote from another thread:
Of course that IMAP is not working in the way you want. OpenGoo stores all the mails and related metadata in the Database as records to allow then programmatically  edit them (like classify to a workspace etc.).

For sure FengOffice has to work that way. But the first question is does every single one of the user's emails have to go into FengOffice for him to work with FengOffice and email tied together?

I currently use Roundcube webmail which works very nicely and seems to be quite extendable. It would be extremely helpful if I could just push emails from there into the FengOffice email system (so that they are saved permanently there regardless of what I do in my IMAP mailbox) and then I'll work with them in FengOffice separately as tasks or events or whatever. This seems (to me) preferable to having FengOffice download everything into its database.

On the other hand I realise that leaves the question of how you send email about a task etc, you'd still do that inside FengOffice and as things are you'd not be able to upload your sent message to your mailbox, it would stay in FengOffice only.

I almost think it would be nice if FengOffice could expose some/all of its objects as email via IMAP, at least read-only to avoid breaking things, and then any email client could be used to send emails on the basis of task items etc by forwarding them. That would be the easiest way of loading emails into FengOffice in order to link other records to them.

15
Ideas / Re: Quick way to add Weblinks
« on: August 24, 2010, 05:07:12 pm »
This would be very handy. I think it could perhaps be done more portably (not browser-specific) with a Javascript bookmarklet like ReadItLaterList and Google Bookmarks have:

http://readitlaterlist.com/bookmarklets
http://www.google.com/support/chrome/bin/answer.py?hl=en&answer=100215

Pages: [1] 2