I've sent this already to Thomas. This are two plugins to setup a demo
version of RoundCube.
Plugin taskbar:
Inserts a Navigation bar into the login page
Plugin demologin:
#1- It checks if demo(a)demo.com is occupied, if so it logs into
demo0(a)demo.com, if still
occupied it takes the next one up to demo[n](a)demo.com.
#2- On logout all folders are purged and the folder list is re-built.
#3- Finally a set of sample messages is saved to INBOX.
ToDo's:
I have blocked sending mails from the test account at all. I'd like to
redirect outgoing
messages to sender instead of blocking them. But I didn't find an
appropriate hook
to manipulate the recipient (outgoing_message_headers manipulates the
headers,
but the message is still delivered to the original recipient).
Also I would need a sample set of messages which a test user should see.
If this things were done, all specs Thomas told me should be there and
we could have an online demo version then.
Regards,
Roland
----- Original Message -----
From: "Roland Liebl" <roland(a)roland-liebl.de>
To: "Thomas Bruederli" <roundcube(a)gmail.com>
Sent: Friday, June 12, 2009 7:36 PM
Subject: Re: [RCD] RoundCube Online Demo
> Hallo Thomas,
>
> ich habe mal einen ersten Aufschlag fĆ¼r ein Demo Login angehƤngt ...
>
> Plugin taskbar:
> FĆ¼gt eine Navigationsleiste in die Login Page ein - trivial.
>
> Plugin demologin:
> #1- Es sind "n" Accounts definierbar, die auf dem IMAP Server vorhanden
> sein
> mĆ¼ssen.
>
> #2- Es Ć¼berprĆ¼ft ob demo(a)dom.com eingelogged ist, wenn ja, dann nimmt es
> demo0(a)dom.com usw. bis demo[n].dom.com erreicht ist. Falls es dort ankommt
> wird der Fehler "Alle Test Accounts sind belegt" ausgegeben. Das sollte
> die
> angemeldeten Demo User schon mal auf eine vernĆ¼nftige Anzahl begrenzen.
> AuĆerdem wird dadurch verhindert, dass sich die Demo Accounts gegenseitig
> ins Gehege kommen.
>
> #3- Beim Logout werden alle default folders ge-purged sowie die nicht
> default folder gelƶscht. Dann wird ein Set von default messages wieder
> hergestellt. Ich brƤuchte an dieser Stelle noch ein Set von passenden
> default messages. Vielleicht hast Du ja auch noch eine Idee fĆ¼r einen
> Cron-Jump-in an dieser Stelle, um den Reset auch durchzufĆ¼hren, wenn ein
> Demo User nicht ordentlich ausgelogged hat.
>
> #4- Senden ist ausgeschaltet. An dieser Stelle wƤre es mir lieber, wenn
> die
> Nachricht gesendet, aber auf den Test Account umgeleitet wĆ¼rde. Ich fand
> aber dafĆ¼r keinen Hook.
>
> #5- Das Empfangen von Nachrichten werde ich IMAP-Server-seitig
> unterbinden.
>
> Habe ich noch was vergessen?
>
> Was meinst Du zu diesem Konzept? Ich bin leider kein begnadeter Coder und
> wƤre fĆ¼r Review/Improvement dankbar.
>
> GruĆ
> Roland
>
>
>
>
> ----- Original Message -----
> From: "Roland Liebl" <roland(a)roland-liebl.de>
> To: "Thomas Bruederli" <roundcube(a)gmail.com>
> Sent: Friday, June 12, 2009 6:59 AM
> Subject: Re: [RCD] RoundCube Online Demo
>
>
>> Hallo Thomas,
>>
>> ich habe fĆ¼r dieses Wochenende ein Demo Plugin geplant. Ich denke,
>> darin kƶnnte ich Deine VorschlƤge einbauen. Den ersten Teil des Demo
>> Plugins (taskbar) habe ich schon fertig und bereits an die devs
>> Mailingliste
>> geschickt.
>>
>> Es wƤre auch mƶglich, den Empfang von Mails Ć¼ber einen hMailFilter zu
>> blockieren.
>>
>> Ob mein Server den Load vertrƤgt, wƤre einen Versuch wert.
>>
>> Ich melde mich, wenn ich soweit bin. Das kann aber 2 Wochen dauern.
>>
>> GruĆ
>> Roland
>>
>>
>> ----- Original Message -----
>> From: "Thomas Bruederli" <roundcube(a)gmail.com>
>> To: "Roland Liebl" <roland(a)roland-liebl.de>
>> Sent: Thursday, June 11, 2009 2:27 PM
>> Subject: Re: [RCD] RoundCube Online Demo
>>
>>
>> Hallo Roland
>>
>> Im Grunde eigentlich schon. Wir hatten mal ein Demo und das wurde
>> ziemlich vollgespamt und hat auch einiges an Load sowie Traffic
>> verursacht. Eine Anforderung an den Demo-Server ist, dass man per
>> Cronjob die Mailbox des Demo-Accounts resetten kann. Sprich, die
>> Ordnerliste und Mails darin mĆ¼ssen auf ein Default zurĆ¼ckgesetzt
>> werden kƶnnen. Nur so kann man ein "anstƤmdiges" Demo anbieten, was
>> fĆ¼r alle Besucher neutral ist.
>>
>> Falls du so etwas bieten kannst, nehme ich dein Angebot gerne an.
>> NatĆ¼rlich muss die Demo-Version so angepasst werden, dass keine Mail
>> verschickt werden kƶnnen. Das kann aber locker lokal im Code gemacht
>> werden, was allfƤllige "svn up"s Ć¼berleben sollte.
>>
>> Was meinst du?
>>
>> ~Thomas
>>
>>
>> On Thu, Jun 11, 2009 at 09:25, Roland Liebl<roland(a)roland-liebl.de>
>> wrote:
>>> Hi Devs,
>>>
>>> is there any interest to have a online roundcube demo?
>>>
>>> If so, I'd be glad to host one based on recent trunk.
>>>
>>> Regards,
>>> Roland
>>> _______________________________________________
>>> List info: http://lists.roundcube.net/dev/
>>>
>>>
>>
>>
>
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/1E/HdUh6YdZ/demologin.ziphttp://detached.gigo.com/rc/1E/HdUh6YdZ/taskbar.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/
Hello RoundCube Devs,
I'm a TinyMCE plugin developer and have modified RoundCube to make it
possible for developers like myself to extend the functionality of
TinyMCE through your plugin API.
The main thing TinyMCE plugin developers need, is access to the
properties passed to TinyMCE.init(). What I've done is modified
editor.js to do an rcmail.triggerEvent('tinymce_init', event). The
event object contains a member called options with the TinyMCE
options. There are other members too for the arguments to the
rcmail_editor_init function.
To make this work properly, it's important that plugins get a chance
to load and register their listener before rcmail_editor_init is
called. As such, I've also modified main.inc to call
rcmail_editor_init at the bottom of the JS (using the 'foot'
priority).
To apply the patch:
roundcube/$ patch -p0 tinymce_plugin_api.diff
And to demonstrate this patch, I've created a plugin for After the
Deadline. After the Deadline is a software service that checks
spelling, style, and grammar in TinyMCE. The plugin is available at
http://www.afterthedeadline.com/download.slp?platform=RoundCube you
can learn more about After the Deadline at
http://www.afterthedeadline.com/features.slp
-- Raphael
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/N6/ukdpVJJX/tinymce_plugin_api.diff
Only click these links if you trust the sender, as well as this message.
--- 8< --- detachments --- 8< ---
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hi everyone,
I run a software service that checks spelling, style, and grammar. It
also does misused word detection ala Google wave.
[http://www.afterthedeadline.com/features.slp] I'm interested in
supporting RoundCube but before I go further, I wanted to get a gauge
on your interest level.
I looked at the plugin API and did not find support to modify the
editor settings. If I were to go forth, I'd submit a patch for
program/js/editor.js to modify the TinyMCE settings and likely a patch
to add an admin interface to let users unignore errors/provide an API
key when TinyMCE is enabled. If there is a clean way to modify the
TinyMCE editor settings via a plugin, I'm open to this as well.
If there is interest, let me know, and I'll hack something together
for you to look at. If not, no problem :)
-- Raphael
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hi,
this plugin adds a configurable taskbar to login page.
It is useful if RoundCube is embedded into another web app
to provide a nav out link, a link to tocs or to inject buttons
to navigate into plugins from the login page,
f.e. self-registration, forgot password, etc.
I plan to extend the plugin to manipulate the regular taskbar to
inject buttons for plugin navigation as well (f.e. nav into calendar).
Nothing fancy, because all those modifications could be done
by editing the skin aswell. But I like it. It makes it easy to update and it
is useful for users without any coding skills to provide default hooks
for future plugins.
Any comments are welcome!
Regards,
Roland
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/Qw/WQGWpIdf/taskbar.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/
Hi Devs,
is there any interest to have a online roundcube demo?
If so, I'd be glad to host one based on recent trunk.
Regards,
Roland
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hello everybody,
I have wanted to add a small feature to roundcube.
When I drag and drop messages, I wanted to automatically expand folders
when possible.
* First, I have read the developments guidelines, and
saw this: Indentation consists of _4 spaces_ per level and no tabs!
*
Second, I have opened apps.js to add the functionality, and saw a lot of
tabs. I have replaced them with spaces, so, you are not obliged to accept
my patch...
Anyway, in this patch, I restart the drag & drop process just
after expanding a collapsed folder when possible. However, to avoid any
interference with current existing code, I have copied the drag_start
function to a drag_restart function. I am not familiar with this JavaScript
code, so, feel free to remove everything not needed into the function
drag_restart.
I'm sure we can also use a timeout, but I try to keep
things as simple as possible for the moment.
The next step, if possible,
is to scroll the folders list when reaching the bottom or the top of the
folders list, when dragging messages. I think it will be useful for all
people who have an interminable folder's list like me...
ATB.
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/9G/bPX8oCbj/apps.js.patch
Only click these links if you trust the sender, as well as this message.
--- 8< --- detachments --- 8< ---
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hi, the function list_identities() confuses me a little. The
description claims it returns an array with identities (which would be
what id like), but it's actually returning an sql result, which you
have to pull through an sql fetch yourself. Looking through the code
for the use of list_identities() all instances are indeed calling
their own fetch_assoc on it. Why isnt the sql fetching done inside
list_identities() so that function actually returns an array?
Regards,
Cor
_______________________________________________
List info: http://lists.roundcube.net/dev/
Attached patch is a body prefetching proof of concept.
Currently to display a message at least two FETCHes are called.
The first for headers and bodystructure and the second for message body.
In most cases we can skip second call and fetch message body in first
call adding "BODY.PEEK[1]<0.2048>" to the list.
On my server I've got a negligible gain, because of very quick FETCH
(dovecot 1.1) and not havy load, but I like to know how about yours.
We could apply this as an option.
p.s. you can increase prefetch size changing 2048 to e.g. 4096 in the patch.
Currently it's hardcoded.
--
Aleksander 'A.L.E.C' Machniak http://alec.pl gg:2275252
LAN Management System Developer http://lms.org.pl
Roundcube Webmail Project Developer http://roundcube.net
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/1L/8jKjt4zs/prefetch.patch
Only click these links if you trust the sender, as well as this message.
--- 8< --- detachments --- 8< ---
_______________________________________________
List info: http://lists.roundcube.net/dev/
Hi.
I installed roundcube 0.2.1 today and I'm quite fond of it. Only problem
I see, i can't use my local MTA (currently esmtp) to send my mails. So I
decided to hack a bit around. Should be quite quick, as roundcube
incorporates most of the hard work already.
If there is interest in it I can provide the result as a patch against
0.2.2? If I've overlooked a feature enabling me to do it more simply
(using mail() is not an option for me), I'd be grateful for a hint.
With kind regards,
BorgĀ³
_______________________________________________
List info: http://lists.roundcube.net/dev/