For better compatibility, the schema used for MySQL is the one
targeted at MySQL 4.0, not the one for MySQL 4.1 or MySQL 5.x.
- -- Vincent Bernat <bernat@luffy.cx>, Tue, 22 May 2007 21:17:27 +0200
+To use tinymce editor:
+ - install tinymce package
+ - uncomment the first block in /etc/apache*/conf.d/roundcube
+ - set $rcmail_config['enable_htmleditor'] to TRUE in
+ /etc/roundcube/main.inc.php
+
+ -- Vincent Bernat <bernat@luffy.cx>, Mon, 29 Oct 2007 21:39:09 +0100
-roundcube (0.1~rc1-4) unstable; urgency=low
+roundcube (0.1~rc2-1) unstable; urgency=low
+ * New upstream, thanks to Nicolas Stransky (Closes: #447503). This
+ release support tinymce as HTML editor. Look at README.Debian for more
+ information.
* Update Galician debconf template, thanks to Jacobo Tarrio (Closes: #447943).
- --
+ -- Vincent Bernat <bernat@luffy.cx> Mon, 29 Oct 2007 22:08:43 +0100
roundcube (0.1~rc1-3) unstable; urgency=low
+# Uncomment this to use tinymce (you need tinymce package)
+# See README.Debian for more details
+
+# Alias /roundcube/program/js/tiny_mce/ /usr/share/tinymce/www/
+# <Directory "/usr/share/tinymce/www/">
+# Options Indexes MultiViews FollowSymLinks
+# AllowOverride None
+# Order allow,deny
+# allow from all
+# </Directory>
+
# This alias does not work properly with several hosts on your apache server
# Uncomment it to use it
# Alias /roundcube /var/lib/roundcube
Order allow,deny
Deny from all
</Directory>
+
Package: roundcube
Architecture: all
Depends: dbconfig-common, debconf | debconf-2.0, apache2 | httpd, php5, php5-mcrypt, roundcube-db, php-db, php-auth, php-net-smtp, php-net-socket, php-mail-mime, ucf, ${misc:Depends}
+Suggests: tinymce
Description: skinnable AJAX based webmail solution for IMAP servers
RoundCube Webmail is a browser-based multilingual IMAP client with an
application-like user interface. It provides full functionality
Package: roundcube
Architecture: all
Depends: dbconfig-common, debconf | debconf-2.0, apache2 | httpd, php5, php5-mcrypt, roundcube-db, php-db, php-auth, php-net-smtp, php-net-socket, php-mail-mime, ucf, ${misc:Depends}
+Suggests: tinymce
Description: skinnable AJAX based webmail solution for IMAP servers
RoundCube Webmail is a browser-based multilingual IMAP client with an
application-like user interface. It provides full functionality
-// PEAR database DSN for read/write operations
-// format is db_provider://user:password@host/databse
--// currentyl suported db_providers: mysql, pgsql, sqlite
+-// currently supported db_providers: mysql, sqlite
-
-$rcmail_config['db_dsnw'] = 'mysql://roundcube:pass@localhost/roundcubemail';
-// postgres example: 'pgsql://roundcube:pass@localhost/roundcubemail';
dbconfig-common_support.patch
correct_install_path.patch
+use_packaged_tinymce.patch
--- /dev/null
+--- roundcube_0.1-rc2/program/js/editor.js 2007-06-09 01:47:57.000000000 +0200
++++ roundcube_0.1-rc2/program/js/editor.js 2007-10-29 21:47:07.000000000 +0100
+@@ -27,10 +27,7 @@
+ theme_advanced_buttons3 : '',
+ theme_advanced_toolbar_location : 'top',
+ theme_advanced_toolbar_align : 'left',
+- extended_valid_elements : 'font[face|size|color|style],span[id|class|align|style]',
+- content_css : skin_path + '/editor_content.css',
+- popups_css : skin_path + '/editor_popup.css',
+- editor_css : skin_path + '/editor_ui.css'
++ extended_valid_elements : 'font[face|size|color|style],span[id|class|align|style]'
+ });
+ }
+
+--- roundcube_0.1-rc2/program/steps/settings/edit_identity.inc 2007-04-28 20:07:12.000000000 +0200
++++ roundcube_0.1-rc2/program/steps/settings/edit_identity.inc 2007-10-29 21:46:33.000000000 +0100
+@@ -49,9 +49,6 @@
+ $OUTPUT->include_script('tiny_mce/tiny_mce_src.js');
+ $OUTPUT->add_script("tinyMCE.init({ mode : 'specific_textareas'," .
+ "apply_source_formatting : true," .
+- "content_css : '\$__skin_path' + '/editor_content.css'," .
+- "popups_css : '\$__skin_path' + '/editor_popups.css'," .
+- "editor_css : '\$__skin_path' + '/editor_ui.css'," .
+ "theme : 'advanced'," .
+ "theme_advanced_toolbar_location : 'top'," .
+ "theme_advanced_toolbar_align : 'left'," .
+--- roundcube_0.1-rc2/program/steps/mail/sendmail.inc 2007-09-26 10:13:21.000000000 +0200
++++ roundcube_0.1-rc2/program/steps/mail/sendmail.inc 2007-10-29 22:04:20.000000000 +0100
+@@ -108,7 +108,7 @@
+ if (! in_array($image_name, $included_images))
+ {
+ // add the image to the MIME message
+- $img_file = $INSTALL_PATH . '/' . $searchstr . $image_name;
++ $img_file = '/usr/share/tinymce/www/plugins/emotions/images/' . $image_name;
+ if(! $mime_message->addHTMLImage($img_file, 'image/gif', '', true, '_' . $image_name))
+ $OUTPUT->show_message("emoticonerror", 'error');
+
# Then check manually if everything's ok
binary-install/roundcube::
- # Removing PEAR classes that are provided via strd packages
- rm -rf $(CURDIR)/debian/roundcube/usr/share/roundcube/program/lib/Auth
- rm -rf $(CURDIR)/debian/roundcube/usr/share/roundcube/program/lib/DB
- rm -rf $(CURDIR)/debian/roundcube/usr/share/roundcube/program/lib/DB.php
- rm -rf $(CURDIR)/debian/roundcube/usr/share/roundcube/program/lib/Mail
- rm -rf $(CURDIR)/debian/roundcube/usr/share/roundcube/program/lib/Net
- rm -rf $(CURDIR)/debian/roundcube/usr/share/roundcube/program/lib/PEAR.php
# Symlink all that is in /usr/share/roundcube to /var/lib/roundcube
find debian/roundcube/usr/share/roundcube -maxdepth 1 -mindepth 1 | \
while read i; do \
install -m 0644 $(CURDIR)/SQL/sqlite.initial.sql $(CURDIR)/debian/roundcube/usr/share/dbconfig-common/data/roundcube/install/sqlite
install -m 0644 $(CURDIR)/SQL/sqlite.update.sql $(CURDIR)/debian/roundcube/usr/share/dbconfig-common/data/roundcube/upgrade/sqlite/0.1~rc1~dfsg-1
# Some files are executable while not being scripts or binary...
- chmod -x $(CURDIR)/debian/roundcube/usr/share/roundcube/program/include/rcube_mdb2.inc
- chmod -x $(CURDIR)/debian/roundcube/var/lib/roundcube/skins/default/images/icons/plus.gif
- chmod -x $(CURDIR)/debian/roundcube/var/lib/roundcube/skins/default/common.css
- chmod -x $(CURDIR)/debian/roundcube/var/lib/roundcube/skins/default/images/display/loading.gif
- chmod -x $(CURDIR)/debian/roundcube/var/lib/roundcube/skins/default/images/buttons/up_arrow.png
- chmod -x $(CURDIR)/debian/roundcube/usr/share/roundcube/program/include/rcube_db.inc
- chmod -x $(CURDIR)/debian/roundcube/var/lib/roundcube/skins/default/images/buttons/down_arrow.png
- chmod -x $(CURDIR)/debian/roundcube/var/lib/roundcube/skins/default/googiespell.css
- chmod -x $(CURDIR)/debian/roundcube/usr/share/roundcube/program/js/googiespell.js
find $(CURDIR)/debian/roundcube/usr/share/roundcube/program/localization -type f -print0 | xargs -0 chmod -x
+ # Remove files shipped in tinymce package
+ rm -rf $(CURDIR)/debian/roundcube/usr/share/roundcube/program/js/tiny_mce
+ for f in colorpicker.css editor_content.css editor_popup.css editor_ui.css; do \
+ rm $(CURDIR)/debian/roundcube/var/lib/roundcube/skins/default/$$f; \
+ done
clean::
debconf-updatepo