Commit Graph

5461 Commits (25804ec9cd69705f1b991ccc163e9f1c845fc3e3)

Author SHA1 Message Date
Thomas Bruederli 2b05c5e9ec Render 'now' dates in short form, too 11 years ago
Felix Eckhofer 30e6b980a6 Remove usage of $RCMAIL global variable 11 years ago
Felix Eckhofer ef721fc430 Add config variable 'proxy_whitelist'
HTTP headers X_FORWARDED_* and X_REAL_IP are only evaluated when
received from an IP listed in proxy_whitelist. Furthermore, only the
last non-trusted IP from X-Forwarded-For is used in place of the real
ip.

Without this, an attacker can easily spoof the headers and control the
result of the ip or ssl check.

This fixes several problems with [3a4c9f42], [4d480b36] and [a520f331] as
mentioned in #1489729.
11 years ago
Thomas Bruederli a8a50de4e3 Improve mbox format import: don't expect empty lines after each message 11 years ago
Aleksander Machniak bee1e18966 Skip IMAP SORT request if folder is empty 11 years ago
Aleksander Machniak 1597c8a0c2 Make sure parent folder selector always contains parent folder
of current folder, even if it does not exist
11 years ago
Aleksander Machniak fbe5bc9ba2 CS fixes 11 years ago
Aleksander Machniak 2369305ad8 Merge pull request #167 from Steffen185/allow_url_fopen_off
Make modcss.inc work with allow_url_fopen = Off
11 years ago
Aleksander Machniak 5733061261 Merge branch 'master' of github.com:roundcube/roundcubemail 11 years ago
Aleksander Machniak 8cc567c004 Drop support for PHP < 5.3.7 11 years ago
Thomas Bruederli d221576489 Disable link registering mailto: protocol handler if not supported by the browser (#1489569) 11 years ago
Thomas Bruederli 3f4845948c Synchrnonized translations from Transifex 11 years ago
Thomas Bruederli 08da302af0 Don't hide upload dialog if no file was selected. Display an alert message for all empty file uploads (#1489685) 11 years ago
Aleksander Machniak 65f59fa3c6 Bump version number to 1.1-git 11 years ago
Aleksander Machniak a930815871 Trim search filter to prevent from creating invalid search criteria when skip_deleted = true. 11 years ago
Thomas Bruederli a36369c383 Fix message import dialog (#1489685):
- Display alert if no file is chosen
- Unlock the UI if form is not submitted
- Avoid duplicate error messages
- Fix javascript error due to missing attachments list widget
11 years ago
Aleksander Machniak 723a26cff8 Merge branch 'master' of github.com:roundcube/roundcubemail 11 years ago
Aleksander Machniak 904fec7505 Add id for login submit button (#1489676) - make it skin independent 11 years ago
Thomas Bruederli 3980579602 Avoid useless connection attempts if host is empty 11 years ago
Thomas Bruederli 519ce2e2ec Avoid bubbling of clicks to treelist expand/collapse toggles 11 years ago
Thomas Bruederli 3f63a80730 Re-arrange buttons in import dialog to match the rest of the appplication 11 years ago
Thomas Bruederli 34ddfcecef Fix input-button disabled state; add support for jquery UI buttons of type 'uibutton' 11 years ago
Thomas Bruederli 817c98ec3b Add method to reset a treelist widget 11 years ago
Thomas Bruederli 143ceff0d8 Implement ArrayAccess interface for conveniently accessing rcube_result_set as array 11 years ago
Thomas Bruederli 532c10669b Support structured data for autocompletion results; map 'type' attribute to CSS class for autocomplete list items 11 years ago
Takika 2256f89139 Fix default mailbox sort order 11 years ago
Thomas Bruederli d27a4f8f9e Fix opening compose screen in new window after saving as draft (#1489643) 11 years ago
Aleksander Machniak 32c612c112 Fix some PDO::MYSQL_* constants (wrongly described in PHP manual before 5.3.21) 11 years ago
Aleksander Machniak 2b8f033bcb Improvement in handling invalid email address strings 11 years ago
Thomas Bruederli 0ca978820c Suppress IE's default behavior of opening links in a new tab on ctrl-click by wrapping the clickable content in <span> tag 11 years ago
Thomas Bruederli 128fd9861a Declare LOGIN commands to be anonymized in debug logging 11 years ago
Aleksander Machniak 37b9e02648 Fix regression in handling of 'attachments' result in message_compose hook (#1489627) 11 years ago
Aleksander Machniak 5e8da2b5c9 Added toolbar button to move message in message view 11 years ago
Steffen185 6446d0ac97 modcss.inc: Fixed CS 11 years ago
Steffen185 add515bc74 Make modcss.inc work with allow_url_fopen = Off
Alternatively use the PHP cURL extension
11 years ago
Aleksander Machniak 03de1329ef Fix invalid X-Draft-Info on forwarded message draft (#1489587) 11 years ago
Thomas Bruederli ce20194266 Add setter for user object to rcube class; we already have getters for various user properties there 11 years ago
Aleksander Machniak 517c9f9a8d Fix directories check in Installer on Windows (#1489576)
Added rcube_utils::is_absolute_path() method
11 years ago
Aleksander Machniak c83a9556e7 Fix possible javascript error on drag-n-drop (#1489560) 11 years ago
Aleksander Machniak a35540c786 Fix issue when default_addressbook option is set to integer value (#1489407) 11 years ago
Thomas Bruederli 8a5777fd1a Forward all arguments of the function call 11 years ago
Thomas Bruederli f147849bb0 Use standard dialog popups for the ACL permissions form; that will open it in the main window with enoough space and better UI integration 11 years ago
Thomas Bruederli eecd9ce0f9 Fix infinite loop when converting invalid html to plaintext (#1489566) 11 years ago
Thomas Bruederli e3857bb6c2 Fix infinite loop when converting invalid html to plaintext (#1489566) 11 years ago
Thomas Bruederli 774deaded1 Don't EVER log passwords 11 years ago
Aleksander Machniak 03f1691d47 Fixed Opera > 15 detection (#1489562) 11 years ago
Aleksander Machniak 10abf2bc2d Fix bug where it wasn't possible to focus the messages list with
mouse click on a record after the focus was put on preview frame.
11 years ago
Thomas Bruederli 9ba4967a73 Create class documentation with latest phpdoc utility 11 years ago
Thomas Bruederli 1978ae97a5 Add Standard Arabic translation 11 years ago
Thomas Bruederli 8404fe9e32 Updated localizations from Transifex 11 years ago
Thomas Bruederli 700e3cc76d Include groups in contacts search on mail compose (#1489082) 11 years ago
Thomas Bruederli 001e39e4ea Execute message/contact moving on dragend callback from list widget because that includes touch events (#1489431) 11 years ago
Thomas Bruederli 4ae28ff09f Also adapt fixed table header to vertical body scrolling 11 years ago
Thomas Bruederli cbd8f7c5d2 Adjust fixed header position when scrolling (#1295420) 11 years ago
Thomas Bruederli 9675702579 Fix canned responses in HTML mode (#1489536) 11 years ago
Thomas Bruederli 90dc9b1512 Compare message IDs before suggesting to restore compose messages on reply 11 years ago
Aleksander Machniak 3509a8e5f8 Do not use rcube_config::all() 11 years ago
Aleksander Machniak 4da065e8a9 Check/create default folders on every login not only the first (#1489423) 11 years ago
Aleksander Machniak 2d3abfda48 Update to jQuery 1.11.0 11 years ago
Aleksander Machniak 3b1d410b4e Fix confusing intersect/filter methods naming/behaviour.
Removed rcube_result_index::intersect() method.
Changed rcube_result_index::filter() to filter in the same way as
rcube_result_thread::filter(), which means it actually does array_intersect().
Added tests scripts for rcube_result_index class.
11 years ago
Aleksander Machniak 5140c31064 Remove quotes around addressee name in case they are encoded.
Some clients encode quotes with name using base64/quoted-printable
encoding. Quotes were removed only for unencoded strings. Now also
encoded names are handled this way.
So, recipient/sender strings are displayed without quotes around
and e.g. saving to addressbook does not save these redundant quotes.
11 years ago
Aleksander Machniak c0dda0556c Allow single quote in style attribute values.
E.g. "font-family: 'Tahoma'" should not be removed.
11 years ago
Thomas Bruederli febcd4b225 Improve wording: don't pretend that mailbox is empty if search/filter doesn't find any messages 11 years ago
Aleksander Machniak a62c7392aa Add 'markfolder' event (#1485775) 11 years ago
Thomas Bruederli 4a7a861912 Apply the right flags for searching in all folders 11 years ago
Thomas Bruederli d93ce5cde2 Fix concurrent connections to IMAP while searching 11 years ago
Aleksander Machniak 357f9c831a Support SMTP socket context options via new config option 'smtp_conn_options' 11 years ago
Thomas Bruederli 19262e6eab Code cleanup: remove duplicated code, don't trigger multi-folder search on simple filter requests 11 years ago
Thomas Bruederli 1d6082c5e2 Fix thread/list mode update and display 11 years ago
Thomas Bruederli 9202e93b75 Fix slicing of returned search result headers 11 years ago
Thomas Bruederli 6884f3f1f7 Re-submit search query when switching folders 11 years ago
Thomas Bruederli 6f17090258 Fix row UID handling in list widget 11 years ago
Thomas Bruederli 1bbf8c4886 - Make search scope selectable in UI
- Disable thread mode when searching over multiple folders
- Encode UID values for HTML message row identifiers
11 years ago
Thomas Bruederli 689a222170 Append per-folder search results to global index but only if it has matches 11 years ago
Thomas Bruederli ff3eb83492 Handle combined UID-folder identifiers in rcube_imap class 11 years ago
Thomas Bruederli 2c33c7e38b Make message pagenav (prev/next) work with sorted multi-folder search results 11 years ago
Thomas Bruederli 2baeac116a Fix sorting and paging in cross-folder searches 11 years ago
Thomas Bruederli 25a244908b Remove merge conflict 11 years ago
Thomas Bruederli b6100d9ed2 Merge branch 'dev-multi-folder-search' of github.com:roundcube/roundcubemail into dev-multi-folder-search
after rebasing to master
11 years ago
Thomas Bruederli d53b60406c Fix typos 11 years ago
Thomas Bruederli b6e24c6946 Minor improvements to threaded searching 11 years ago
Thomas 566747af00 First attempt to search in multiple folders; do it multi-threaded using pthreads if available 11 years ago
Thomas 9684dc018f Support globally unique message UIDs with IMAP folder name appended 11 years ago
Thomas 628706acdc Prepare message list to display IMAP folder 11 years ago
Thomas 017c4f19fd Refactor multi-threaded autocomple contact searching to make it available for other purposes, too 11 years ago
Thomas Bruederli 5740b10bf8 Merge branch 'master' of github.com:roundcube/roundcubemail 11 years ago
Aleksander Machniak 531c4d896c Merge branch 'master' of github.com:roundcube/roundcubemail 11 years ago
Aleksander Machniak d924ebebf7 Fix compatibility with PHP 5.2 in html.php file (#1489514) 11 years ago
Thomas Bruederli 3786a48aeb * New option that write logs to per-user directories. (Debug) logs will only be written if a directory for the current user exists.
* The 'write_log' plugin hook now also supports the return property 'dir' to let plugins specify the log directory.
11 years ago
Aleksander Machniak 1fd6c43e19 Improve parse_thread so it uses much less recursive calls 11 years ago
Thomas Bruederli c5f6352710 Don't log error if no plugin config is found in global directories 11 years ago
Thomas Bruederli 8fc49e51a4 Use the right base_dn for listing records of the selected group 11 years ago
Aleksander Machniak 5f3c7e3920 Make sure unread_children count (and class) on thread root is always updated when read status of a child row is changed 11 years ago
Aleksander Machniak 8080554cf3 Remove expand/collapse with plus/minus keys (on numeric keypad) (#1489513) 11 years ago
Thomas Bruederli 7c28d45c8e Update class name in subscriptions folder list after saving folder properties 11 years ago
Thomas Bruederli aa581c2912 Fall back to load plugin config from global config directories only if no local config file exists 11 years ago
Thomas B. 5991988b9a Merge pull request #160 from Takika/patch-1
Load plugin config file (by plugin name) from any configured path
11 years ago
Aleksander Machniak 14bd927c71 Extracting inline image data into attachments also if data type is not set 11 years ago
Takika d073a66db3 Load plugin config file from any configured path
Try to load plugin_name.inc.php config file from any pre-configured config path (rcube_config::path array) so webmail admins can move plugin configurations out of www root.
11 years ago
Aleksander Machniak f67037ce57 Fix error when calling get_selection() after any (selected) row was removed 11 years ago
Thomas Bruederli e59471fcb9 Make sure prefs always is a valid array (otherwise causes fatal errors if language if not set) 11 years ago
Aleksander Machniak 090d3ed38c Fix compat. with PHP 5.2 (#1489500) 11 years ago
Thomas Bruederli 72975e1497 Move folder/directory list auto-scrolling functionality to treelist widget (same as auto-expand) and make it work without list header/footer blocks 11 years ago
Aleksander Machniak b23b3f2c35 Fix case-sensitivity of email addresses handling on compose (#1485499) 11 years ago
Aleksander Machniak 4957530dec Fix an obvious mistake in search_once() casing wrong result when called
with empty 2nd argument (which also is not what should happen, should we return error?)
11 years ago
Aleksander Machniak 7a3c0c96c4 Use '0' instead of 0, to fix possible issue. 11 years ago
Thomas B. 2957e77fbc Merge pull request #159 from JohnDoh/group_delete
re-add lost group_delete js event
11 years ago
Aleksander Machniak 172302e2cf Small perf. improvement 11 years ago
Aleksander Machniak ee43f09724 Fix possible warning when advances_prefs setting is not an array 11 years ago
Aleksander Machniak 0301d9347f CS fixes 11 years ago
Aleksander Machniak d575e46067 CS fixes 11 years ago
Aleksander Machniak f5d2eef55c More CS fixes, replace global $CONFIG usage with $RCMAIL->config->get() 11 years ago
Aleksander Machniak ddc161721c Fix default priority selection broken in last CS fix 11 years ago
Aleksander Machniak 5e30349639 CS fixes 11 years ago
Aleksander Machniak 0f16a0353c CS fixes 11 years ago
JohnDoh 1fdb55a99e re-add lost group_delete js event 11 years ago
Aleksander Machniak 10936fef64 Don't alter Message-ID of a draft when sending (#1489409) 11 years ago
Aleksander Machniak c7250749ab Fix issue where deprecated syntax for HTML lists was not handled properly (#1488768) 11 years ago
Aleksander Machniak 3e98f8be71 Add some code for S/MIME signatures verification, update Crypt_GPG package 11 years ago
Aleksander Machniak c97625e02a CS fixes 11 years ago
Aleksander Machniak da5fa28d57 Display different icons when Trash folder is empty or full (#1485775) 11 years ago
Aleksander Machniak 772bec6789 Make addEventListener() chainable for better performance and compact code
Replace deperecated row_init usage with addEventListener('initrow')
11 years ago
Aleksander Machniak b3c034ce30 Merge pull request #157 from JohnDoh/trigger-insertrow
trigger insertrow JS event from compose screen address book widget
11 years ago
Aleksander Machniak ac0fc383fd Fix so message flags modified by another client are applied on the list on refresh (#1485186) 11 years ago
Aleksander Machniak 6b2b2eca5f Remove deprecated functions (these listed in bc.php file) usage 11 years ago
Aleksander Machniak 54029ea959 Fix broken text/* attachments when forwarding/editing a message (#1489426) 11 years ago
Aleksander Machniak 5224a6b394 Make possible to get contact ID from HTML id attribute (#1489414) 11 years ago
Aleksander Machniak f6d23a8dce Fix PHP warning when 1st argument of parse_host() is not a string (#1489486) 11 years ago
Aleksander Machniak c562a31681 Improved minified files handling, added css minification (#1486988) 11 years ago
Aleksander Machniak 538e64c572 Fix Closure-compiler warnings, small code improvements 11 years ago
Aleksander Machniak 774f9dc835 Fix replacing group name with group members on autocompletion
(for some addressbook plugins where email field is not a flat array)
11 years ago
Aleksander Machniak a520f331c1 Fix handling of X-Forwarded-For header with multiple addresses (#1489481) 11 years ago
Aleksander Machniak 0c8049f226 Fix position of messages list column dragging layer when the list is scrolled down 11 years ago
Aleksander Machniak 9a0153324e Implemented menu actions to copy/move messages, added folder-selector widget (#1484086) 11 years ago
Aleksander Machniak 4187b3e26f Merge branch 'master' of github.com:roundcube/roundcubemail 11 years ago
Aleksander Machniak d19c0f9f30 In normalize_string() replace 4-byte unicode characters with '?' character.
These are not supported in default utf-8 charset on mysql,
the chance we'd need them in searching is very low.
11 years ago
Aleksander Machniak 48660a881c Fix use of non-existing localization label (#1489474) 11 years ago
Aleksander Machniak f896370557 Improved drag-n-drop layer: - do not auto-select children of collapsed threads,
display subjects in real order (not is selection order), some code improvements
11 years ago
Aleksander Machniak 302eb266de Fix regression where only first new folder was placed in correct place on the list (#1489472) 11 years ago
Aleksander Machniak 7eecf873da Fix issue where children of selected and collapsed thread were skipped on various actions (#1489457) 11 years ago
Aleksander Machniak 37ef824256 Added sk_SK localization for csv2vcard map 11 years ago
Aleksander Machniak edca654ef0 Fix quota image broken in e71ceb0c98 (#1489467) 11 years ago
Aleksander Machniak fd0c123e44 Fix fixed header issue after removing rows (1295420) 11 years ago
Aleksander Machniak 39c90d6b61 Make sure selected group is listed after delete error (#1489463) 11 years ago
Aleksander Machniak 029f7a157d Clarify update() result description, return boolean when ID didn't change 11 years ago
JohnDoh 9a8873270f trigger insertrow JS event from compose screen address book widget 11 years ago
Aleksander Machniak 2c16ab5682 Check rcube_addressbook::get_error() after failing delete (#1489463) 11 years ago
Aleksander Machniak 18b40c1a32 Fix issue where groups were not deleted when "Replace entire addressbook" option on contacts import was used (#1489420) 11 years ago
Aleksander Machniak 38bf401cf8 Fix performance of listing writeable folders (#1489451) 11 years ago
Thomas Bruederli ce6050cbbb Display version from composer.json even if not intstalled 11 years ago
Thomas Bruederli 3b95e24fbb Updated localizations from Transifex 11 years ago
Aleksander Machniak 5f31429de5 Fix preparation of message object before saving into the cache.
The bug cased e.g. displaying HTML content as plain text for messages
with Content-Type: text/html.
11 years ago
Aleksander Machniak 38f1f56920 Exec config_get hook also in rcube_config::all() (#1485981) 11 years ago
Aleksander Machniak ffec857b69 Fix handling of invalid closing tags in HTML messages (#1489446) 11 years ago
Aleksander Machniak 993eb88d5a Always send unread counter update for current folder 11 years ago
Aleksander Machniak ac3cddac97 Skip charset (or use US_ASCII) intead of UTF-8 if body contains only ASCII characters 11 years ago
Aleksander Machniak acc900cb63 Small code improvement 11 years ago
Aleksander Machniak 75a5c3554a Add possibility to overwrite a label/message in Roundcube's language package (#1489433) 11 years ago
Aleksander Machniak f59cfe8806 Make Reporting-UA header in MDN report optional, as User-Agent is 11 years ago
Thomas Bruederli 0786798438 Make local storage functions work before rcmail.init() was called 11 years ago
Aleksander Machniak 8c5f405587 Set real content-type for file downloads (#1489439) 11 years ago
Aleksander Machniak 7184b3a0e1 - Update TinyMCE to version 3.5.10 (#1489442) 11 years ago
Aleksander Machniak 184a11b4fb Fix keyboard navigation in autocompletion list on Opera browser
(use keydown event on all browsers)
11 years ago
Aleksander Machniak f768a6eae8 Fix so contactnotfound message is of type error not info 11 years ago
Aleksander Machniak b82fccfc69 Display loading message when loading identity frame 11 years ago
Thomas Bruederli 8d3a9d3213 Merge branch 'master' of github.com:roundcube/roundcubemail 11 years ago
Aleksander Machniak b5117238db Merge branch 'master' of github.com:roundcube/roundcubemail 11 years ago
Thomas Bruederli bf3018e7ed Trigger event when opening new windows with a reference to the window object (#1489413) 11 years ago
Aleksander Machniak 3ab616c742 Fix rowcount when list element contains bot only tr/li elements but also text nodes 11 years ago
Thomas Bruederli 34003c5fa5 Display status messages as pile of black bars overlaying the UI in order to improve visibility (#1488974) 11 years ago
Aleksander Machniak b7fb20af3a Fix issue where subject input might get filled with "null" string (IE8) 11 years ago
Aleksander Machniak 303e21fc63 Replace Array.indexOf() with jQuery.inArray() for older browsers (IE<9) 11 years ago
Aleksander Machniak 5bd8712f71 Fix folders sorting procedure.
Fixes the issue where after creating a folder with name 'Abc abc'
it were added before existing subfolders of folder 'Abc' and after 'Abc'.
11 years ago
Aleksander Machniak f13ae32aec Merge branch 'master' of github.com:roundcube/roundcubemail 11 years ago
Aleksander Machniak 978ff8794f Make sort_folder_list() public 11 years ago
Thomas Bruederli aef6ed4702 Add hook to notify plugins about message sending errors 11 years ago
Aleksander Machniak 3b8a7918fc Merge branch 'master' of github.com:roundcube/roundcubemail 11 years ago
Aleksander Machniak 4c8491275c Small fixes: variable scope 11 years ago
Aleksander Machniak fdf79703e2 Merge branch 'master' of github.com:roundcube/roundcubemail 11 years ago
Aleksander Machniak 3373e4ae10 Fix browser version detection and failing tests 11 years ago
Aleksander Machniak 8328d0643e Code improvements and some unification with browser detection code in javascript 11 years ago
Aleksander Machniak 51fe045a04 Fix deprecated function usage 11 years ago
Thomas Bruederli fa635d8862 Make $force parameter only override the task check for required plugins (#1489437) 11 years ago
Thomas Bruederli f9c8e8285b Move 'advanced' block to the end of the settings form 11 years ago
Thomas Bruederli f8101fff1e Accept text/html parts inside multipart/mixed parts as HTML contents 11 years ago
Aleksander Machniak f03ed8d9bb Fix (again) IE11 detection where document.all is not defined.
@TODO: review our document.all uses.
11 years ago
Aleksander Machniak 5e4894a916 Fix bgcolor attribute handling 11 years ago
Aleksander Machniak 741ddced5b Fix Internet Explorer 11 detection (#1489434) 11 years ago
Thomas Bruederli 596301c10b Reset $part_orig_mimetype variable in for-loop. This avoids attachments along with message/rfc822 parts being listed twice 11 years ago
Thomas Bruederli 2af3748596 Clean HTML message body from URL parameters after enabling HTML mode in commit e957bfec 11 years ago
Thomas Bruederli cf31954661 Make require_plugin() force loading of the required plugin 11 years ago
Thomas Bruederli e957bfecdf Allow plugins to override message compose mode 11 years ago
Aleksander Machniak 8d91770bcc Do not start autocomplete request on arrow keys press 11 years ago
Thomas Bruederli ceb2a31b38 Compare draft message-ID when restoring local message contents 11 years ago
Thomas Bruederli 7bfc02e122 Track typing activity in HTML editor 11 years ago
Thomas Bruederli 87b513853c Better button text for message restore dialog 11 years ago
Thomas Bruederli 8c74925df1 Track typing in compose screen and only update local storage on activity 11 years ago
Thomas Bruederli 85e60ada15 First version of the local storage compose data saving feature; some behavioral improvements and encrytion are still to be added 11 years ago
Thomas Bruederli e46d060a4a Fix errors in error page :-) 11 years ago
Thomas Bruederli 4a05e8a7e8 Finish advanced prefs feature (#1488829) 11 years ago