Commit Graph

478 Commits

Author SHA1 Message Date
Aleksander Machniak
c4daf3f14f Fix regression in converting signatures to text, fixed PHP warning in html2text() call 2015-08-30 18:41:13 +02:00
Aleksander Machniak
a63f14ec40 Emoticons-related code refactoring
- Emoticons: All emoticons-related functionality is handled by the plugin now
- Emoticons: Added option to switch on/off emoticons in compose editor (#1485732)
- Emoticons: Added option to switch on/off emoticons in plain text messages
- Plugin API: Added disabled_plugins an disabled_buttons options in html_editor hook
- Plugin API: Added html2text hook
2015-08-29 07:52:57 +02:00
Aleksander Machniak
1b39d9a6c7 PHP7: Fixed some E_WARNING errors that previously were E_STRICT 2015-08-08 09:32:24 +02:00
Aleksander Machniak
08bb20f261 Don't use deprecated functions/constants (from bc.inc) 2015-08-02 20:16:46 +02:00
Aleksander Machniak
9d78c68cbf Fix so imap folder attribute comparisons are case-insensitive (#1490466)
+ make in_array_nocase() much faster for ASCII strings
2015-07-29 20:38:21 +02:00
Aleksander Machniak
a958748947 CS fixes 2015-06-07 15:26:33 +02:00
Aleksander Machniak
b782815dac Fix XSS vulnerability in _mbox argument handling (#1490417) 2015-05-30 17:37:06 +02:00
Aleksander Machniak
03aa84f784 Fix bug where some files could have "executable" extension when stored in temp folder (#1490377) 2015-05-17 14:52:24 +02:00
Aleksander Machniak
216b31dd99 Fix so "over quota" errors are displayed also in message compose page
This also fixes over quota responses on cyrus imap which uses "Over quota" string and no error identifier.
2015-02-25 05:24:05 -05:00
Aleksander Machniak
3665d1e8ec Merge pull request #259 from corbosman/plugin_preload
Plugin preload
2015-02-19 08:31:43 +01:00
corbosman
de89d46be2 Load plugins before sessions have started
Move the plugin loading phase to before sessions have started allowing plugins to add session drivers.  Plugins that want to use this should define an "onload" method in their plugins. This method does not have access to variables like $task as they are not yet initialised at that time.
2015-02-04 13:17:51 +01:00
Aleksander Machniak
c6efcf5e6d Fix blocked.gif image usage with assets_dir set 2015-01-12 05:44:28 -05:00
Aleksander Machniak
7259529fad Get rid of requests whitelist for security check bypass 2014-12-16 13:34:48 +01:00
Aleksander Machniak
681ba6fc3c Improve system security by using optional special URL with security token
Allows to define separate server/path for image/js/css files
Fix bugs where CSRF attacks were still possible on some requests
2014-12-16 13:28:48 +01:00
Aleksander Machniak
f7f4672649 Fix regression in rcmail::show_bytes() where unit was set to "[]" instead of "B" 2014-11-28 08:47:45 +01:00
Aleksander Machniak
0b36d15157 Add method to display operation (uploading) progress in UI message 2014-11-20 06:03:22 -05:00
Aleksander Machniak
2dfad0a564 Make upload progress text more compact.
E.g. "500 KB of 10 MB" becomes "0.5 of 10 MB"
2014-11-20 09:14:33 +01:00
Aleksander Machniak
71dbeeee10 Skip unnecessary session updates on task switch - switch session task less often (#1490116) 2014-10-25 16:45:33 +02:00
andryyy
383724eb97 Update rcmail.php
Typo
2014-10-07 19:14:13 +02:00
Aleksander Machniak
dcc4469844 Don't init output in CLI mode
Fixes infinite recurssion on raise_error() call when executing scripts
out of the INSTALL_PATH. Also use 'rcube' if 'rcmail' is not needed.
2014-09-10 16:32:28 +02:00
Aleksander Machniak
5f58127eae Added rcube_utils::resolve_url() 2014-08-24 11:43:12 +02:00
Aleksander Machniak
75bbada03b Remove code for PHP<5.3, use PHP_VERSION_ID instead of version_compare() for version checks 2014-08-24 11:23:33 +02:00
Aleksander Machniak
e35eab5f94 Fix comm_path update on task switch (#1490041) 2014-08-22 08:52:29 +02:00
Thomas Bruederli
06fdaf88cb Extend rcmail::url() to produce absolute and fully qualified URLs 2014-08-13 19:15:12 +02:00
Thomas Bruederli
d4783319a0 Set 'compose_extwin' env property on every step; accept a list of URL parameters for the 'compose' command 2014-07-28 09:39:43 +02:00
Aleksander Machniak
5312b71126 Allways return current folder from quota_content() 2014-06-30 12:33:07 +02:00
Aleksander Machniak
b8bcca7033 Display quota information for current folder not INBOX only (#1487993) 2014-06-30 12:26:15 +02:00
Aleksander Machniak
3cc1afa1c2 Support images in HTML signatures (#1488676)
This enables image button and file browser in html editor for signatures
2014-06-29 16:35:18 +02:00
Aleksander Machniak
6d5a1b9e8f Get rid of some rcube_config::all() calls 2014-06-28 10:07:44 +02:00
Aleksander Machniak
c5f06896d4 Display full quota information in popup (#1485769, #1486604) 2014-06-26 12:32:52 +02:00
Aleksander Machniak
6fa1a0da1f Extend get_quota() so it's possible to specify GETQUOTAROOT folder and return full quota info (including all roots and types, e.g. MESSAGE) - for future use 2014-06-24 19:16:18 +02:00
David Carter
4a9a0e1f0f The following:
program/steps/mail/compose.inc :: rcmail_store_target_selection()
  program/steps/settings/edit_folder.inc :: rcmail_folder_form()

both try to localise mailbox names.

Push the logic down into the folder_selector() method which can use:

  $this->config->get('show_real_foldernames')

to decide the correct default behaviour.

Clients functions and methods can still override by adding 'realnames'
named parameter to the folder_selector() call. The obvious example is
the Settings -> Preferences -> Special Folders screen.
2014-06-06 11:29:40 +01:00
Thomas Bruederli
99cdca46b7 Merge branch 'dev-accessibility'
Conflicts:
	program/include/rcmail_output_html.php
	program/js/app.js
	program/js/treelist.js
	program/lib/Roundcube/html.php
	skins/larry/styles.css
	skins/larry/templates/compose.html
2014-06-05 09:18:07 +02:00
Aleksander Machniak
c5bfe69e21 Improved video support, all tinymce related resources moved to program/js/tinymce/roundcube dir 2014-06-04 18:42:57 +02:00
Thomas Bruederli
77043f8469 Apply accessibility improvements to the settings section 2014-06-03 19:13:54 +02:00
Thomas Bruederli
d58c39126f Some more improvemements on content structure, text representation and keyboard navigation within the mail view 2014-06-02 16:35:12 +02:00
Aleksander Machniak
b408e0bc53 Display a warning if popup window was blocked (#1489618) 2014-05-30 10:53:19 +02:00
Aleksander Machniak
646b64107a Implemented Text Editor widget that integrates all operations on
textareas including HTML editor and spellchecking
2014-05-30 08:32:06 +02:00
Aleksander Machniak
731d190fec Merge branch 'tinymce4'
Conflicts:
	program/js/app.js
	program/js/editor.js
	program/js/tiny_mce/tiny_mce.js
	program/steps/utils/spell_html.inc
2014-05-28 15:52:30 +02:00
Aleksander Machniak
b21f8bd3ef Implemented image selector dialog for TinyMCE, css fixes in classic skin for TinyMCE4 2014-05-27 20:08:36 +02:00
Aleksander Machniak
48e92fcbba Add 'performance_stats' option, so perf. stats can be logged with disabled devel_mode 2014-05-08 10:30:45 +02:00
Aleksander Machniak
93e12fa414 Support upload progress with session.upload_progress and PECL uploadprogress module (#1488702) 2014-05-04 09:40:24 +02:00
Aleksander Machniak
204977598a Fix invalid host validation on login (#1489841) 2014-04-30 09:07:29 +02:00
Thomas Bruederli
8992116313 Set task variable to 'cli' when loading rcmail instance in shell scripts 2014-04-23 20:42:53 +02:00
Aleksander Machniak
a12bbbaf41 Fix invalid page title for some folders (1489804) 2014-04-14 17:28:31 +02:00
Aleksander Machniak
24e63e2218 Fix deleting/moving folders from folders with name "0", "00", etc. 2014-04-13 17:57:37 +02:00
Aleksander Machniak
cb29c97bf6 Fix lack of translation of special folders in some configurations (#1489799) 2014-04-13 09:05:18 +02:00
Aleksander Machniak
eddaf0b5f6 Merge branch 'master' of github.com:roundcube/roundcubemail 2014-04-10 08:41:34 +02:00
Aleksander Machniak
70c0d25684 Make sure preformance info logged in devel_mode uses locale-independent number format 2014-04-10 08:40:12 +02:00
Thomas Bruederli
188247894f Make multi-folder message identifiers work with folders containing commas 2014-04-08 19:11:12 +02:00