Commit Graph

1454 Commits (66df084203a217ab74a416064c459cc3420a648c)

Author SHA1 Message Date
alecpl d654e80084 - Fix identities "reply-to" and "bcc" fields have a bogus value when left empty (#1487943) 14 years ago
alecpl fde361eb58 - Replace preg_match() with faster strpos() 14 years ago
alecpl 4fb6a28be2 - Fix doubled encoding in save-pref request (#1487941), small code improvements 14 years ago
thomascube 4dcd437ade Add collected text labels in one single function call 14 years ago
alecpl 3cacf941fa - Add popup with basic fields selection for addressbook search 14 years ago
thomascube 09c59abf85 Case-insensitive matching in autocompletion (#1487933); replace old string offset syntax 14 years ago
alecpl 644e3ad912 - Fix setting language for spellchecker on spellcheck_before_send 14 years ago
alecpl b4edf78e4b - Provided rcube_spellchecker class, simplified code in utils task (less spell* files) 14 years ago
alecpl 516467080b - Fix handling of "<" character in contact data, search fields and folder names, identity name and organization fields (#1487864) 14 years ago
alecpl f5a55bf173 - Make debug handler to be a method of rcube_mdb2 14 years ago
thomascube e7b6e907c5 Add support for X-AB-EDIT field upon user request 14 years ago
alecpl c9f4e9bc65 - Add read/write methods for immediate operations on cache backend (no affect in-memory cache)
- Add possibility to disable data serialization in cache
14 years ago
alecpl 40a1860174 - Store user preferences in session when write-master is not available and session is stored in memcache, write them later 14 years ago
alecpl 7ad8e2c318 - Add TTL parameter to rcube_cache class (and rcmail::get_cache method) 14 years ago
alecpl bc8c2c5788 - Fix s/pattern/prefix/ in clear_cache() 14 years ago
alecpl b9e42ecb46 - Use index record for memcache/apc engine, don't load the whole cache into memory 14 years ago
thomascube 10ea10a317 Catch write-errors on database (yet untested) 14 years ago
alecpl ccc059fd70 - Re-designed cache, fixes memcache/apc issues 14 years ago
alecpl 3253b296c2 - Clear properly mailboxes cache on folder subscription change 14 years ago
alecpl 7786ba1adb - Fix error when rcube_cache::remove() was used in pattern mode 14 years ago
alecpl d2a64865a7 - Fix func_get_args() usage for PHP<5.3 (#1487928) 14 years ago
thomascube 000fe38c71 Flip field type aliases (#1487910) 14 years ago
alecpl 8edb3d9405 - Add APC support in rcube_cache 14 years ago
alecpl b5f836e4af - Make memcached cache not system-wide 14 years ago
alecpl 5cf5ee66c1 - Added general rcube_cache class with memcache support
- Improved caching performance by skipping writes of unchanged data                                                                       
- Option enable_caching replaced by imap_cache and messages_cache options
14 years ago
thomascube 76d4019a35 Get memcache object from rcmail instance 14 years ago
thomascube 4e3ec4eca8 Fix vcard value decoding; add setter for individual vcard fields 14 years ago
alecpl 392589ef38 - Clear mailboxes.* cache when new mailbox is created 14 years ago
alecpl 1f385b8a3d - Make update_cahce() method to be publicly available 14 years ago
thomascube 0ec7fe4efc Fix sort order when contact name is empty 14 years ago
thomascube 6b19999841 Correctly handle empty contact names when importing 14 years ago
thomascube 445a4ca04d Fix empty name in search results and error when creating a new contact 14 years ago
alecpl 8e99ffbcac - Use less included files in mail and message templates for better performance
- Add access to template name in template expressions
14 years ago
alecpl a208a4fa68 - Add forward-as-attachment feature 14 years ago
alecpl 79275b4df5 - jQuery-1.6.1 (#1487913, #1487144) 14 years ago
thomascube e848180aaa Improve display name composition when saving contacts (#1487143), with plugin-support; allow empty names in sql address book, fall back to e-mail address in listing and vcard export 14 years ago
thomascube ff4ffc6d54 Revert r4746 due to timestsamp issues with mysql; deprecate rcube_mdb2::unixtimestamp() 14 years ago
thomascube fd540bad79 Rely on mysql server timezone not on PHP 14 years ago
alecpl c739c71351 - Extend parse() method so it can be used to parse templates without printing to stdout 14 years ago
alecpl ac3ad69e94 - Fix possible ambiguity in folders caching (when list_mailboxes() was called the same result was returned, no matter what was the 1st and 2nd argument) 14 years ago
alecpl b5fb21e767 - Improved string literals handling 14 years ago
alecpl e22740508c - Fixed ANNOTATEMORE support 14 years ago
alecpl 0deec44e7d - Fixed handling of folder with name "0" in folder selector 14 years ago
alecpl 091b0284c8 - Use dot as a separator in cache key name (for consistency) 14 years ago
alecpl 94bdcce081 - Add possibility (for plugins) to filter folders lists by some additional criteria (e.g. folder type) 14 years ago
alecpl d08333ea57 - Fix problems with subfolders of INBOX folder on some IMAP servers (#1487725)
- Fix handling of folders that doesn't belong to any namespace (#1487637)
14 years ago
alecpl 56651c15c8 - Stop execution when LDAP addressbook is configured but PHP's ldap functions doesn't exists 14 years ago
alecpl 7fc056c3ff - Enable multiselection for attachments uploading in capable browsers (#1485969) 14 years ago
thomascube 125894d35d Fix expression 14 years ago
vbenincasa 2a380018f9 - Now the %s variable (used in default_host) works with IDN and with Master users from dovecot too (like user@domain.com*master)
- rcube_parse_host() now returns false if %s is used and an invalid email is provided (to work better when a prefix is used in default_host like 'mail.%s')
14 years ago
thomascube 638e3459d6 Don't attempt to read session data again if the initial read didn't return a result 14 years ago
alecpl c08b18c4b9 - Fix relative URLs handling according to a <base> in HTML (#1487889) 14 years ago
vbenincasa b04c51fafb - Added the %s variable in 'default_host' and 'smtp_server' option (%s variable is the domain name after the '@' from e-mail address provided at login screen). The %s just returns a value if the provided e-mail is valid to avoid unnecessary lookups and reduce the possibility of connections to undesirable hosts.
- Small fix to the code comment of rcube_parse_host()
14 years ago
thomascube 60a277f1ce Fix callback reference after rename 14 years ago
alecpl e54f4b25e2 - Remove special handling of rcube_ classes in autoloader, it breaks loading of rcube_ classes from plugins 14 years ago
alecpl 5c1dfb0b11 - Fix handling of top-level domains with more than 5 chars or unicode chars (#1487883) 14 years ago
alecpl 68f39efb04 - Fix fatal error from last commit (#1487884), rename rcube_gc() to gc() 14 years ago
thomascube 63e9927d5f Add support for session storage using memcache 14 years ago
alecpl 926948e77f - Use shortest include path for better performance 14 years ago
thomascube 0761e2b1f7 Remove unnecessary code (thanks Alec) 14 years ago
thomascube 73d6b2a6b0 Fix return value of affected_rows() 14 years ago
thomascube 80809d6a9d Don't show saving error if no data changed 14 years ago
alecpl 5c2f064882 - Fix ID command arguments (must be of type nstring) 14 years ago
alecpl 1463a5ac24 - Fix ID command response handling 14 years ago
alecpl 99fc468d40 - Fix quoting special characters, small optimizations 14 years ago
alecpl 8c263ee5e0 - Set proper readonly state of default address book according to real readonly variable value (#1487878) 14 years ago
alecpl 4351f7cd66 - Improve performance by including files with absolute path (#1487849) 14 years ago
thomascube 49dac95d7d Don't add env variable when template is empty (e.g. on error page) 14 years ago
thomascube 7342bb8b7a Check for DB connection state instead of handle (handle could be an error object) 14 years ago
thomascube bbb1427caa Gracefully shrug on database errors 14 years ago
alecpl 462de2d202 - PEAR::Net_SMTP 1.5.2, fixed timeout issue (#1487843) 14 years ago
thomascube d476d3a3a4 Fixed LDAP patch 14 years ago
thomascube ef27a6a723 Add hook for request token creation (upon user request) 14 years ago
thomascube d1e08fc905 Replace LDAP vars in group queries (#1487837) 14 years ago
thomascube 58510fc58f Use CRLF + 1 space for folding 14 years ago
thomascube 569f8306db Fix vcard folding at 75 chars; don't fold vcards for internal storage 14 years ago
alecpl 5c4c06665c - Fixed vcard folding: use one space, use mb_regex_encoding() (#1487868) 14 years ago
alecpl ae1db2239e - mbstring internal encoding is set in iniset.php 14 years ago
thomascube bf80b5a237 Fix vcard folding with uncode characters (#1487868) 14 years ago
alecpl 34d72878db - Use mbstring's strtolower() for Unicode characters in normalize_string() 14 years ago
thomascube e5e1eb0195 Convert normalized latin-1 string back to utf8 14 years ago
thomascube 12dac4911b Handle unicode strings when normalizing for search (#1487866) 14 years ago
alecpl ca18a90b1a - Fix bug where template name without plugin prefix was used in render_page hook (the same fix for deprecated_templates) 14 years ago
alecpl 23b49558cd - Fix handling of debug_level=4 in ajax requests (#1487831) 14 years ago
alecpl 1036f81edf - Fix so 1024 bytes is displayed as 1KB, the same for MB and GB 14 years ago
alecpl ff10f5e50e - Support 'off' as bolean false 14 years ago
alecpl dd0ae6297b - Improve space-stuffing handling in format=flowed messages (#1487861) 14 years ago
alecpl 6491fbdbae - Fixed bug where some dates would produce SQL error in MySQL (#1487856) 14 years ago
alecpl 0ea94769ee - Added workaround for some IMAP server with broken STATUS response (#1487859) 14 years ago
alecpl 8abc17611f - Fix bug where default_charset was not used for text messages (#1487836) 14 years ago
alecpl f66f5f02e3 - Removed dependency on rcube_* functions, small improvements 14 years ago
thomascube c9f2c47027 Fix request token generation if no cookies set 14 years ago
alecpl c09e3287c1 - Remove unused rcube_mail_header class variables 14 years ago
thomascube ec045b0a24 Revert r4609 and use stateless request tokens; no need to save them in session and thus no keep-alive necessary; fixes #1487829 14 years ago
alecpl a8d7c659f1 - Fixed IE/FF detection (#1487838) 14 years ago
thomascube 4591de7018 Prepare for multiple concurrent compose windows 14 years ago
alecpl 3e39818221 - Add code for prevention from IMAP connection hangs when server closes socket unexpectedly 14 years ago
alecpl c294eaa3f2 - Performance improvement: Remove redundant DELETE query (for old session deletion) on login 14 years ago
thomascube fb061aaece Use PHPs session_regenerte_id() instead of using (unreliable) mt_rand() function (#1486281) 14 years ago
alecpl 6f6efa20d7 - Add html_table::remove_body() function 14 years ago
alecpl 6a4bccb796 - Fix some emails are not shown using Cyrus IMAP (#1487820) 14 years ago
alecpl 8df56e618a - Fix handling of mime-encoded words with non-integral number of octets in a word (#1487801) 14 years ago
thomascube 79cd6cefd5 Simplify code 14 years ago
thomascube 044d6647e0 Make it easier to add code to $(document).ready() 14 years ago
thomascube 15e9441263 Fix LDAP group identifiers 14 years ago
thomascube ae39c47c3a New config option for custom logo; allow skins to define/override texts 14 years ago
thomascube 715c7961ba Don't do exact matches when searching for existing email records 14 years ago
alecpl bbce3edd61 - Add simple ACL rights/namespace handling in folder manager (display folder's namespace, modify edit form fields according to MYRIGHTS) 14 years ago
thomascube 0fbadebe13 Improve vcard import: map more fields, support photo urls, better UTF-16 charset detection 14 years ago
thomascube e6bb836e05 Create interactive update script with improved DB schema check; udated installer with new features and styles 14 years ago
alecpl 041f66e074 - jQuery 1.5.1 14 years ago
alecpl f572575652 - Fix typo in html_editor hook name (#1487796) 14 years ago
thomascube 798764c2bb Add plugin hook before the final HTML content of a page is sent 14 years ago
alecpl 4d982d38a8 - Add LDAP SASL bind and proxy authentication (#1486692) 14 years ago
alecpl 261ea440dd - Use addcslashes() instead of strtr() for string quoting 14 years ago
alecpl c5dedd79ca - Add variable for 'Today' label in date_today option (#1486120) 14 years ago
thomascube 360bd3ea74 Allow group identifiers to be changed upon renaming (used in LDAP) 14 years ago
alecpl bfb7d6e681 - Fix dont_override setting does not override existing user preferences (#1487664) 14 years ago
alecpl dd07e79537 - Close IMAP connection after SMTP, per discussion in (#1485975) 14 years ago
alecpl ab0b51a1fe - Use only one from IMAP authentication methods to prevent login delays (1487784) 14 years ago
thomascube 3e2637351d Fulltext search over contact fields. Attention: DATABASE SCHEMA CHANGED\! 14 years ago
thomascube a1bbc2cb16 Fix for alias query which was broken in last commit 14 years ago
thomascube 7fb11ef6a9 Move BINARY modifier to make MYSQL use index again 14 years ago
alecpl de3dde7f2c - Support strftime format in date_today option 14 years ago
alecpl b389252f2b - Fix handling of attachments with invalid content type (#1487767) 14 years ago
alecpl 075ee62a77 - Add workaround for DBMail's bug http://www.dbmail.org/mantis/view.php?id=881 (#1487766) 14 years ago
thomascube a97937aceb Codestyle and formatting; don't attempt to save empty array values 14 years ago
alecpl 890eae6758 - Use IMAP's ID extension (RFC2971) to print more info into debug log 14 years ago
thomascube ce988a0778 Always generate valid DOM identifiers using html_identifier() write original identifier string to rel attribute where possible 14 years ago
thomascube a77cf2292b Add optional referer check to prevent CSRF in GET requests 14 years ago
thomascube 07b95dc49b Delegate contact input validation to rcube_addressbook instance; accept already localized texts in rcube_output::show_message() 14 years ago
alecpl 89d19c4e61 - Small code improvements related to r4487 14 years ago
thomascube 784a425e07 protect login form submission from CSRF using a request token 14 years ago
alecpl 02b6e614ca - Fix handling of non-image attachments in multipart/related messages (#1487750) 14 years ago
alecpl 62481f34e6 - Convert Content-type to lowercase, fixes lack of attachment icon for some messages (#1487750) 14 years ago
alecpl e8d5bdc84e - Fix IDNA support when IDN/INTL modules are in use (#1487742) 14 years ago
thomascube 88ca38a356 Keep rcube_session->lifetime and keep_alive in sync 14 years ago
alecpl b2442d93ef - Fix parsing FETCH response for very long headers (#1487753) 14 years ago
thomascube d755eade08 Check mime headers before attempt to parse them (#1487745); broken since r4421 14 years ago
thomascube 6039aae387 Add groups support for LDAP address books, contributed by Andreas Dick 14 years ago
thomascube cf2da2f9aa Improve session validity check with changing auth cookies; reduce writes to DB; better phpdoc 14 years ago
thomascube 79e634040d Don't block CSS styles having important keywords 14 years ago
thomascube 06670e4efa Define required publich member 14 years ago
thomascube 03d772e80d Also wrap unread count in span on server side (#1487720) 14 years ago
thomascube e9aa8c6d30 Improve parsing of vCards exported by MS Outlook (#1487716) 14 years ago
thomascube 31278471d3 Use improved strtotime() function + reduce duplicated code 14 years ago
alecpl 6c68cbde37 - Fix handling of comments inside an email address spec. (#1487673) 14 years ago
alecpl 8ec1b91bb9 - Uncomment code (commented out for testing?) + cleanup whitespaces 14 years ago
thomascube 0501b637a3 Merge branch devel-addressbook (r4193:4382) back into trunk 14 years ago
alecpl 824144214f - Workaround for setting charset in case of malformed bodystructure response (#1487700) 14 years ago