Hi,
thanks for reviewing. I'll wait until next weekend for other ideas and
discussion.
The list so far:
> 1. Auto-calling plugin actions for build-in tasks/actions, it means we
> should add (in index.php) code for automatic calling of actions e.g.
> 'mail-compose-before', 'mail-compose-after', 'mail-sendmail-before',
> etc. and probably also 'mail-before', 'mail-after', etc.
yes - sure. btw. I like the style "mail-compose-before" (or
"user-login-after" as in my example)
It's pretty clearer than my definition.
I'll patch the existing code where I need it right now. Maybe we could team
up to implement it everywhere, or could implement it module-by-module. We
should have a list where actions should be called.
I do not have the time to do this alone.
> 2. Possibility to use own tasks/actions (I mean
> /?_task=settings&_action=myaction or /?_task=mytask)
such as a calendar-plugin ;-) lovely.
Would be great - but somewhat out of scope I think.
Shouldn't we better concentrate on the core plugin-arch and extend it later?
But we have to talk about how to implement this later.
> 3. Javascript part - for javascript functions/actions (in similar
> fasion) including point above.
again. Out of scope for my purpose.
How can we extend it later to support this?
> 4. Possibility to add UI part from plugin without skins modification.
> It's "must have", but I think, we can live without that for now.
same.
We do not have any of these options right now so let's do the core.
> 5. Actions priority - if we have few plugins for the same action which
> should be executed first?
> 6. Config option(s) for enabling/disabling plugin parts. Let's say we
> have a plugin with few features, but we need only one. Ok, we can have
> separate configuration for each plugin, but maybe something global?
> Let's say using regexp. It may be used for temporary disabling whole
> plugins without removing files from plugins/ dir. E.g.
> $rcmail_config['disabled_plugins'] = 'plugin2 plugin3::mail-compose.*
plugin3::settings.*';
Yes, agree. I thought about it but someone on the list denied the use of
configuration.
But I think this is a must-have.
$rcmail_config['disabled_plugins'] = 'plugin2 plugin3::mail-compose.*
plugin3::settings.*';
could be a problem because a plugin could possibly rely on some actions -
which could be turned off (2nd and 3rd example). What about:
$rcmail_config['enabled_plugins'] = array( 'plugin1', 'plugin2' );
If a plugin has parts which could be turned off and on it should have it's
own configuration. This is IMHO the plugin part.
> > Just to make sure. The plugin system we're talking about here doesnt
just
> > allow actions, but also small hooks everywhere throughout the
code/templates?
>
> Yes for me. I think templates engine should call plugin actions
> before/after each template object (objects, but also e.g. buttons and
> every template tag with specified name) and return content from those
> actions.
Hi, A.L.E.C., thanks for joining us in design phase ;-)
Everywhere in the code - yes. This should be a milestone in future.
Everywhere in the template - I don't know much about your templating.
How/where do we have to implement it?
Just an idea: Does it make sence to split things up?
This 'fackend-plugin' project for server side actions
A new "frontend-plugin' project for client side things like JS, Html,
Ajax-Client, ...
Both should share the ./plugins directory so that a plugin can work with
both.
As I do not have any good insight of RC-Templating this could be a bad idea
anyway. Dont know.
Waiting for futher comments ;-)
Thank you.
--
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 all,
updated Croatian translation files are attached.
Best regards,
Svebor Prstačić
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/qj/jh7F1Shg/crotrans_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/
> Message: 6
> Date: Thu, 31 Jul 2008 13:11:45 +0100
> From: Phil Weir <roundcube(a)tehinterweb.co.uk>
> Subject: Re: [RCD] Plugin-Architecture
> To: dev(a)lists.roundcube.net
> Message-ID: <619ca76367db5da740680a8de7b25c53(a)sitespider.co.uk>
> Content-Type: text/plain; charset="UTF-8"
>
> Hi,
Hi,
> I have made a couple of patches for changing user password and spam
> assassin settings stuff like that. I guess you have seen Alec?s sieve
> plugin (http://alec.pl/roundcube/managesieve/).
No, I havn't.
I just looked over the patch file and these are my conclusions:
The only relevant parts to this plugin-architecture is imho in index.php.
--------------------
+ if ($RCMAIL->action=='managesieve')
+ include('program/steps/settings/managesieve.inc');
--------------------
It declares a new "action" which is called from the frontend.
Although if there should be a more generic way to extend RC for more actions
this is currently not scope of this project. Same applies to plugins on the
client side.
Tell me if I missed something. Btw: I have no Idea how sieve works. I just
know what it should do.
Don't understand me wrong. It should be in scope in future - but not now. I
want to get up & running with a minimalistic Version very quick. But I will
keep these points in mind.
> There is a guy on the forum called rosali, he has been
> working on a plugin
> arc. I told him he should send what he has got to this list
> but I don?t
> think he has.
Hm... I was refered to A.L.E.C. for the plugin project which told me he is
to busy (and the project is stalled therefore). I havn't got any Mails from
rosali.
I'll try to implement it tomorrow evening if I find some free minutes ;-)
Anyhow ... if I get some Info until then I will have a look at it. Thx.
I hope I could provide a small patch on monday for testing. But I do not
promise as I am very busy.
_______________________________________________
List info: http://lists.roundcube.net/dev/
Patrick Nagel wrote:
> Plugin or not... always debatable, I guess.
>
> Take LDAP addressbook support, for example - isn't that something that
> could
> also be provided by a plugin? It also requires configuring a backend system
> (an LDAP directory).
Absolutely - if there is a flexible framework almost everything except
the framework itself can be a plugin - with some plugins required (see
Typo3 for a great sample of this!).
But unless this Plugin system is done its hard to implement something
like this without patching the sources.... so first job: plugin
architecture!
> On a side note: funny that we're currently all using Thunderbird as our
> mail client ;)
I'm sure mainly because a desktop client is always ways better and
better performing than any Web based application can be... and on your
own systems you usually can install applications...
Mike
--
Michael Baierl
<http://mbaierl.com/blog/>
- - - - - - - - - - - - - - - - -
Viele Lieder wurden nach dramatischen Ereignissen geschrieben, man
erinnere sich an "Candle in the wind" oder "Meine Oma fährt im
Hühnerstall Motorad". (german-bash.org)
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hi Everybody,
I created a sieve plugin for RoundCube. It is based on Avelsieve and is
compatible with existing Avelsieve scripts. All functionality Avelsieve has
is implemented. I would like to upload my code and let other people have a
look at it, if people are interested in it of course. Are there plans to
make sieve a part of the basic distribution? If so, how do I continue from
here?
Kind regards,
Jeroen Koekkoek
_______________________________________________
List info: http://lists.roundcube.net/dev/
On Wed, 30 Jul 2008 00:25:52 +0200, Till Krüss <till(a)pralinenschachtel.de>
wrote:
> I would suggest a drop-down menu as default and a input box replacement
as
> setting.
> required keyboard usage is not a good choice.
I've submitted a new patch. It now uses a drop-down menu. It also adds a
configuration option ("pagejump_dropdown_threshold") which determines the
number of pages, over which the drop-down is replaced by a text box (it
defaults to 20).
If an installation wants to always use the text box, they can set the
value of pagejump_dropdown_threshold to zero. If they want to use only
drop-downs, they can set the value to something extremely high.
-kris
--
Kris Steinhoff
Web Application Developer
Web/DB Team, Information Technology Central Services
The University of Michigan
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/ra/bTM7Ja4d/UTF-8_27_27text_bo.pnghttp://detached.gigo.com/rc/ra/bTM7Ja4d/UTF-8_27_27drop-do.png
Only click these links if you trust the sender, as well as this message.
--- 8< --- detachments --- 8< ---
_______________________________________________
List info: http://lists.roundcube.net/dev/
>> If I understand A.L.E.C.'s Ideas right:
>> * Each plugin has an init.php which registers to events:
>> /myplugin/init.php:
>> init_plugin('init', 'functionname');
>> init_plugin('showmail', 'functionname');
>
> Yes, but I'd prefer an object-oriented approach:
> http://lists.roundcube.net/mail-archive/dev/2008-06/0000038.html
correct.
>> * the Controller does a loop over the plugin/subdirectories to get these
>> registries
> Right. This procedure could even be cached for performance reasons.
as log as we have only some plugins caching shouldn't be a topic.
>> I think it does not make sence to implement a full featured plugin
> monster
>> if we do not need it right now.
>> But we should be able to extend it to a monster if we need to do so
> later
>
> Exactly!
Isn't open source great ;-)
OK, I think we got a good idea of how it should be implemented.
I hope I could code a small prototype this weekend, but I do not guarantee.
I will ask the list to test it afterwards.
Thanks for your comments.
<br/>
<br/>
---------------------------------------------------------------<br/>
Webhosting
komplett mit Plone-CMS, Spam- und Virenfreies E-Mail<br/>
Hotspot-Systeme
(Internet für Ihre Gäste)<br/>
Netzwerkbetreuung, Fernwartung,
uvm.<br/>
Web: www.lagg.at - Mail: info(a)lagg.at<br/>
Florian Lagg, Juch 7,
6631 Lermoos,
Austria<br/>
---------------------------------------------------------------<br/>
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hello. This is official translating file of OUR Technology, LLC for
RoundCube.
We like RoundCube. Please add to our “Azerbaijani” to the list of
Localizations.
Language: Azerbaijani
Translater: Orkhan Guliyev (OUR Technology, LLC.)
Best Regards,
Orkhan Guliyev.
________________________________________________________
Forex-AZ’la hər yerdə, hər an FƏRQDƏN QAZAN - FƏRQLİ QAZAN!
http://adrunner.forex-az.info/ab/2-3
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/DD/qWAGk5Ic/roundcube.rar
Only click these links if you trust the sender, as well as this message.
--- 8< --- detachments --- 8< ---
_______________________________________________
List info: http://lists.roundcube.net/dev/
Roundcube needs as every good mail client does a search feature.
The user should be able to search for user-specified criteria in
user-specified (sub)folders.
The request can take a few secounds, but if you have more than 1 folder,
it is annoying to select each folder one by one and re-type your search
string every time.
Cheers, Till
http://trac.roundcube.net/ticket/1485234
_______________________________________________
List info: http://lists.roundcube.net/dev/
I would suggest a drop-down menu as default and a input box replacement as
setting.
required keyboard usage is not a good choice.
_______________________________________________
List info: http://lists.roundcube.net/dev/