Hi all devs,
I've been trying to get RC running on an MS Exchange Server 2003 (not my
imap preference, but at least better than needing 2 exchange servers to
get webmail access!!!).
However, I've run across a few issues.
1. Only the inbox folder is subscribed to initially, all others are not.
See http://trac.roundcube.net/ticket/1485263
If you view the list of folders however, they can all be seen.
I've played around around with a few settings for imap_root, but to no
avail. ("INBOX/","/","INBOX", etc.)
As a side note, Thunderbird also has the same issue.
I'm willing to test and help develop a patch for this issue, I just need
some help figuring out what exactly exchange wants, and where in the RC
code I can play with it. I can only play with it a couple of times a
week, so my apologies if it's a bit slow to complete.
2. Not able to send email via local smtp server (exchange 2003 again)
Not sure on this one - but I haven't really tried yet....
Although I'm not a fan of Exchange in any form, I think it would be good
to get some basic compatibility (i.e. folder subscribing) to allow
others to later build plugins for the other functionality. If memory
serves we had a similar issue with Courier-IMAP that was resolved.
I know it's been a while since I've been on (see RoundCube RSS Reader),
but I have been watching the progress made (particularly on the recent
plugin work), and I have to say a HUGE congratulations and thanks to all
the devs (particularly to Till & Thomas) for all the work that's been
put in.
I admit I am really looking forward to eventually getting into the
plugin arch for developing a calendar & rss reader. :)
Sam Bailey
Wiki: wiki.cyprix.com.au
Web: www.cyprix.com.au
Blog: blog.cyprix.com.au
_______________________________________________
List info: http://lists.roundcube.net/dev/
> -----Ursprüngliche Nachricht-----
> Von: Cor Bosman [mailto:cor@xs4all.nl]
> Gesendet: Donnerstag, 7. August 2008 23:30
> An: Florian Lagg
> Betreff: Re: [RCD] Plugin-Architecture
>
> > Currently I have plans implementing it this way (OVERVIEW):
> > * There's a directory with plugins, e.g. ./plugins/*
> > * Each plugin resides in a own directory, let's call it
> "foo_plugin"
> > for now.
> > This assumes that there is a file called foo_plugin.inc
> which includes
> > a class foo_plugin
> > * In the configuration, we have a simple array list of
> enabled plugins
> > $rcmail_config['plugins_enabled'] = array('foo_plugin',
> 'bar_plugin');
> > * on the first called hook we initiate the rcube_plugins
> class which
> > is a singleton this class initalizes every plugin and - in the
> > constructor of these - the plugins itself register to some hooks.
> > this is done only once every request (because rcube_plugins is a
> > singleton)
> > * if registered hooks are called...
##### here's a small mistake:
> > every plugin is called - one after another - in the order
> given in the
> > config above.
##### naturally we call only plugins registered to the specific hook - not
all
> > therefore an array of data is passed to each plugin - and at last -
> > returned to the roundcube code.
> >
> > Have I missed someting?
> >
>
> Look good! Thanks for doing this.
>
> Cor
>
_______________________________________________
List info: http://lists.roundcube.net/dev/
Dear Developers!
I am using RC in my hosting offers and I want to implement two things:
* a kind of plugin-mechanism: It should be possible to "register" some
external plugins to events (User login, handling contact data, ...)
* a Funambol-Plugin (as seperate open source project): Funambol is a server
capable of syncing contacts/calendar items between native Clients (Outlook,
Thunderbird), various Devices (many mobile phones, PDA's, ...) and other
webmail-applications and groupwares.
I talked to A.L.E.C. some days ago because he had plans for the plugin
infrastructure. According to his mails he has no time to develop this in the
near future and I asked him if I can do the work. He answered it would be
ok, so I'll ask you how it should be done:
So here are my questions:
* How should a plugin-architecture be implemented in RoundCube?
Maybe my approach is completely wrong, just tell me if you think so...
I'm thinking of a PluginHooks singleton class which is called from various
points in the existing source code. This class reads a config file if there
is a plugin registered for the specific event. This config contains a line
for each event like this:
$rcmail_config['pluginevent_userlogin'] = array('Funambol');
//registers a single plugin called "funambol" for the event "userlogin"
$rcmail_config['pluginevent_nextEvent'] = array('Funambol', 'AnotherPlugin);
//call two plugins in the given order
PluginHooks then initates a class Funambol (located in
RC_Home/plugins/Funambol) and calls a method pluginevent_userlogin. Because
PluginHooks is a singleton, it could provide methods to the plugins to get
or manipulate data from the rest of RC. so anything is handled over this
class.
I hope I discribed it well. Please bring your own ideas if you have better
once.
* Is anyone interested in teaming up?
* Is anyone willing to implement plugins in near future? If so - please talk
to me to discuss your requirements to make this project as useful as
possible.
You can send me a CC so I can answer your mails quicker.
Thanks in advance,
Greetings
--
Florian Lagg
-
Florian Lagg - IT-Komplettlösungen
Juch 7, 6631 Lermoos
tel +43 (699) 10 20 10 24
<http://www.lagg.at/> www.lagg.at - <mailto:info@lagg.at> info(a)lagg.at
-
Xing: <http://www.xing.com/go/invite/7372113.3da562>
http://www.xing.com/go/invite/7372113.3da562
-
_______________________________________________
List info: http://lists.roundcube.net/dev/
> Michael Baierl wrote:
> > There is a convention - an parameter array for receiving data ("named
> > parameters") and returning data as an array. Done. Never touch the input
> > array.
> > This rule is relatively easy to check during QA and it is easy to use
> > and developers are used to that.
> >
> > Every class you create has to be understood and makes stuff more
> > complicated. KISS.
> >
> Amen!
I only belief to RFC! But I am convinced.
Thanks for all comments. I'll go on with arrays.
Again: because of lot work I will be able to show a second prototype in 2
weeks or so.
I have one important point left we should discuss:
(I know, I can be annoying)
What do we need to implement the plugin-arch in the frontend part, such like
in A.L.E.C.'s list:
> Typical plugin needs are e.g. adding a button in tasklist, adding a tab
> in Settings interface, adding a configuration option in User Preferences
> (simple tasks, just for start).
I have no insight of the frontend in RC and I do not want to develop these
things right now.
But I need to know how they work that anyone can implement these things
later without rewriting my code.
I asked jeroen for his sieve patch (to find it out myself) but I havn't got
it so far.
Anyone?
--
Florian Lagg
-
Florian Lagg - IT-Komplettlösungen
Juch 7, 6631 Lermoos
tel +43 (699) 10 20 10 24
www.lagg.at - info(a)lagg.at
-
Xing: http://www.xing.com/go/invite/7372113.3da562
-
_______________________________________________
List info: http://lists.roundcube.net/dev/
I'm curious about the behavior of the spell checker. If HTML is set as the
default editor, then when the compose screen is first opened the spell
check controls don't appear. When editor type is switched to plain text,
the controls appear, but when the editor type is switched back to HTML, the
controls stay put and behave in peculiar ways.
Should the spell checker be active while using the HTML editor?
thanks
-kris
--
Kris Steinhoff
Web/DB Team, Information Technology Central Services
The University of Michigan
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hi Raoul,
Thanks for the feedback. At least in svn,
rcmail::get_instance()->config->get('imap_root') will return null if there
is no imap_root configuration variable. So roundcube keeps on ticking.
I'm also uncomfortable using globals the way iloha uses $my_prefs.
However, from what I could see, that's just how iloha works. It looks like
a choice between using some undesirable global variable "action at a
distance" or modifying the iloha's imap library. Modifying iloha wouldn't
be hard, but it looks like developers have avoided putting roundcube
configuration specific code into iloha so far.
Cheers,
Ziba
--
Ziba Scott
Web Application Developer
Web/DB Team, Information Technology Central Services
The University of Michigan
On Tue, 05 Aug 2008 11:21:59 +0200, "Raoul Bhatia [IPAX]"
<r.bhatia(a)ipax.at> wrote:
> hi ziba,
>
> Ziba Scott wrote:
>> Hi,
>> We're testing roundcube in a fairly large environment (80K users, 900K
>> mailboxes) with a cyrus imap backend. In our environment,
>> roundcube/iloha imap's namespace discovery phase takes about 1.5 seconds
>> on an unloaded machine. This happens on every email view.
>>
>> Iloha has the ability to skip the namespace discovery phase if a
>> imap_root is configured and roundcube has a configuration option for
>> imap_root. But the two aren't connected! By handing off the imap_root
>> variable to iloha mail sooner rather than later we cut our time to view
>> a message from 1.7 seconds to 0.2 seconds.
>>
>> I've submitted a patch with this ticket:
>> http://trac.roundcube.net/ticket/1485172
>
> thank you for your patch. i would like to add two things:
>
> 1) if rcmail::get_instance()->config->get('imap_root') gives an empty
> string, the patch renders roundcube unusable.
> (ok, i internally ported the patch back to 0.1.1 - maybe
> rcmail::get_instance()->config->get('imap_root') takes care of that)
>
> 2) normally i am against the usage of globals in such a way. but this is
> better than nothing :) (note: i did not check the iil sourcecode if
> there is a better way to achieve that)
>
> cheers,
> raoul
>
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hi A.L.E.C., hi all.
For planning the plugin-architecture I created a todo-list here:
http://www.lagg.at/temp/todo-rc-plugin
You can view and edit the list after login:
Login Name: roundcube
Password: developer
I think this step is necessary to get any needed information (such as: which
actions/hooks should we implement?)
Please do not delete comments of other people, if you dis-like them just add
a note.
I will work out an up-to-date site from time to time.
Because I got some more work this week I will not be able to provide code
this weekend.
I think I can work on the project in two weeks again, so let's define the
19th of August as a deadline for this todo list. Bring in all your ideas
until then.
Read the welcome message on top of the page.
Thanks
--
Florian Lagg
-
Florian Lagg - IT-Komplettlösungen
Juch 7, 6631 Lermoos
tel +43 (699) 10 20 10 24
www.lagg.at - info(a)lagg.at
-
Xing: http://www.xing.com/go/invite/7372113.3da562
-
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hi,
We're testing roundcube in a fairly large environment (80K users, 900K
mailboxes) with a cyrus imap backend. In our environment,
roundcube/iloha imap's namespace discovery phase takes about 1.5 seconds
on an unloaded machine. This happens on every email view.
Iloha has the ability to skip the namespace discovery phase if a
imap_root is configured and roundcube has a configuration option for
imap_root. But the two aren't connected! By handing off the imap_root
variable to iloha mail sooner rather than later we cut our time to view
a message from 1.7 seconds to 0.2 seconds.
I've submitted a patch with this ticket:
http://trac.roundcube.net/ticket/1485172
Please let me know if there's anything I can do to help get this accepted.
Thanks,
Ziba
--
Ziba Scott
Web Application Developer
Web/DB Team, Information Technology Central Services
The University of Michigan
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hi all,
Updated Dutch translation files are attached.
Best regards,
Lazlo Westerhof
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/6C/wH4hnThr/dutchtrans_updated.zip
Only click these links if you trust the sender, as well as this message.
--- 8< --- detachments --- 8< ---
_______________________________________________
List info: http://lists.roundcube.net/dev/