Commit Graph

1744 Commits (92be3ee4a471406bc75b345760584cc317b289fe)

Author SHA1 Message Date
alecpl 8b8512fd98 - Reset error flag when connecting to (another) database 13 years ago
alecpl 69f00be516 - Fallback to write-master when readonly database fails 13 years ago
alecpl 4f8be46f38 - Improved handling of some malformed values encoded with quoted-printable (#1488232) 13 years ago
alecpl a505dd2ebf - Fix issue where "S: Error: Success" was printed to debug log 13 years ago
alecpl ad33280950 - Remove debug code from last commit 13 years ago
alecpl 14b342b03a - Fix so connection to LDAP will be properly closed 13 years ago
alecpl 72ff6ae884 - Simplified compose session data handling, no need for session->cleanup() 13 years ago
alecpl 03e520f1ba - Fix parse error from last commit (grrrrr, do tests before commit!) 13 years ago
alecpl 2d08ec91ca - Add possibility to do LDAP bind before searching for bind DN.
In deployments where anonymous binds to and/or searches on an LDAP tree are not
  allowed, and where the LDAP address book(s) have been configured to use the
  user-specific bind credentials, rcube_ldap.php needs to bind using service
  credentials in order to be able to find the user's bind dn.
13 years ago
thomascube 5587b34cfa Enable buttons having an inner <span> for better CSS styling capabilities 13 years ago
alecpl 7f79e22eb4 - Set sizelimit of main search function for vlv_search to page_size.
It was requested as performance improvement, but I wasn't able to confirm this. However it doesn't break anything.
13 years ago
thomascube 57486f6e58 Content filter for embedded attachments to protect from XSS on IE<=8 (#1487895) 13 years ago
alecpl 6bddd9ba44 - Fix identation 13 years ago
thomascube 1803f83a4b Improve check of attribute changes when updating a contact 13 years ago
thomascube d6aafdce3b Fix saving of composite fields in LDAP 13 years ago
thomascube b4b3777c92 Set (empty) value of member attribute when creating a new group 13 years ago
alecpl 6e0fdedfce - Use strpos() instead of strstr() when possible (#1488211) 13 years ago
alecpl 2cf55f4096 - Fix handling of invalid characters in request (#1488124) 13 years ago
alecpl 0829b76598 - Fix merging some configuration options in update.sh script (#1485864) 13 years ago
alecpl e0960f6365 - Prevent from memory_limit exceeding when trying to parse big messages bodies (#1487424):
don't try to parse it, display notice with a link to download it directly
13 years ago
alecpl 9b33118bf5 - Add some debug and error handling around vlv_search 13 years ago
alecpl e4a4ca1948 - Performance improvements 13 years ago
alecpl 3875eb6813 - Add possibility to add SASL mechanisms for SMTP in smtp_connect hook (#1487937) 13 years ago
alecpl 80216d0b79 - Change version number to 0.8-svn 13 years ago
thomascube 10e2dbbb9c Improve clickjacking protection: bust frame or disable all form elements and abort UI initialization 13 years ago
alecpl fb6d86b9ad - Fixed bug where similiar folder names were highlighted wrong (#1487860) 13 years ago
thomascube ef22eee5ac Improve task switching for tasks added by plugins 13 years ago
alecpl ae7ac91c31 - Fixed bug in handling link with '!' character in it (#1488195) 13 years ago
alecpl b1867b8f19 - Added TinyMCE localizations 13 years ago
alecpl e37e7dda37 - Fix typo in _list_unsubscribed() (#1488186) 13 years ago
alecpl 4f1c0a5d89 - Fix typo 13 years ago
alecpl 305b366bb0 - Fix commit r5424 + preformance microoptimizations 13 years ago
alecpl 89dcf54071 - Fix listing of folders in hidden namespaces (#1486796) 13 years ago
alecpl 485c69d812 - Don't consider \Noselect flag when building folders tree (#1488004) 13 years ago
alecpl 854fbf6d23 - Small improvements in rcmail_render_folder_tree_html() 13 years ago
alecpl bd34cad1f6 - Add option to set session name (#1486433) 13 years ago
alecpl 1cb0d640ec - Fix mailbox_status() so first run returns proper (empty) result 13 years ago
thomascube 8c2b883bf0 Fix: decode session data into superglobals after re-reading 13 years ago
alecpl bed577e414 - Fix handling of type separator in get_col_values() 13 years ago
alecpl 46cdbf074e - Fix inconsistent behaviour of Compose button in Drafts folder, add Edit button for drafts 13 years ago
alecpl f21a04c024 - Add option to define matching method for addressbook search (#1486564, #1487907) 13 years ago
thomascube 81f5dd7774 Consider replication delays in session storage 13 years ago
alecpl 9230525d98 - Improved _listMailboxes() performance and small parseResponse() improvement (#1488134) 13 years ago
alecpl 5e9065284e - Make $name property to be public (#1488140) 13 years ago
alecpl aa07b22906 - Fix so folders with \Noinferiors attribute aren't listed in parent selector
- Add LIST result and folder attributes cache
- rcmail_render_folder_tree_select(): fix 'exceptions' parameter, add 'skip_noinferiors' option
13 years ago
thomascube 06744da241 Implement common setters for debug mode 13 years ago
thomascube 3fe6c7082c Remove unused cruft 13 years ago
alecpl aa546e1788 - Fix handling of DB connection failures. Detect failure on connection level instead of on query level.
Fixes issue when one write query failed, next queries were not executed.
- Changed 'var' to 'public'.
13 years ago
alecpl f2292c3a95 - Fix handling of curly brackets in URLs (#1488168) 13 years ago
thomascube 3b4b03d6b3 Added config property to set LDAP_OPT_REFERRALS option to an LDAP connection 13 years ago
alecpl 77153b255d - Fix handling of dates (birthday/anniversary) in contact data - don't convert them to users timezone (#1488147) 13 years ago
thomascube 3ac5cdb4ac Also merge properties of child cols of composite address book fields + remove undefined fields from template 13 years ago
thomascube 1937f4638e Improve definition of composite address fields of LDAP contacts 13 years ago
thomascube abdf31486a Allow cross-task ajax requests 13 years ago
thomascube 187ff4e597 Avoid errors 13 years ago
thomascube fc91c1df4a LDAP: use VLV pseudo-search for autocompletion 13 years ago
thomascube 335b042b98 Fix inline display of image attachments 13 years ago
alecpl 8a6503a23c - Fix getting message part data from structure, fixes r5363 13 years ago
alecpl 1ae1199858 - Improve handling of situation when FETCH returns OK, but no data 13 years ago
alecpl b407e797c2 - Fix issue where wrong message sequence range could be generated when it was build according to number of messages in a folder 13 years ago
alecpl b9787b3560 - Add underline character to charset regexp 13 years ago
alecpl 7e50b4361c - Small code improvement 13 years ago
alecpl 544619a455 - Fix threads cache validation when skip_deleted=true 13 years ago
thomascube f09c184786 Add (experimental) support for some extendted PHP LDAP functions when querying VLV enabled directories 13 years ago
alecpl c041d57036 - Added 'search_dn_default' variable in ldap config
- Better handling of situation when search for bind DN doesn't return data
13 years ago
alecpl a561cd35b8 - Fix handling of folder creation error while moving/copying message 13 years ago
alecpl 57863c1a4d - Removed zebra-class 13 years ago
thomascube dfc79b341c Find charset in HTML meta tags if not specified in content-type header (#1488125) 13 years ago
alecpl 54b0d86aad - Fix %dn replacement 13 years ago
thomascube fb6cc8942a Also allow groups list to be fetched using VLV 13 years ago
thomascube f6638364b1 Support plugin commands on HTML pages, too 13 years ago
thomascube ce53b67e07 Fix BER encoding of records-per-page parameter 13 years ago
thomascube b35a0f1793 Improve group member fetching 13 years ago
alecpl 52c2aa3ea5 - Fix FETCH response parsing in fetchMIMEHeaders() method (first line of headers was malformed) 13 years ago
thomascube dc6c4f4a28 Contact groups can have direct email addresses => distribution lists; enable 'compose' command for the selected group 13 years ago
thomascube a3148236eb Rewrite groups listing: use recursive methods to list members of (nested) groups of various types; cache the results 13 years ago
thomascube 39cafac3f5 Autocomplete LDAP records when adding contacts from mail (#1488073) 13 years ago
alecpl fb40f37784 - Ignore DSN request when it isn't supported by SMTP server (#1487800) 13 years ago
alecpl b1f0846727 - Make sure LDAP name fields aren't arrays (#1488108) 13 years ago
thomascube 8fb04bee97 Read group members according to objectClass of group records; support groupOfUrls; cache groups listing for better performance 13 years ago
alecpl d342f8f031 - Improve performance by storing sorted mailbox list in the cache 13 years ago
thomascube e2a8b4dd6d Skip VLV if a group is selected; show advanced search form if activating a 'searchonly' address book 13 years ago
alecpl 8881766a9f - Improved performance by skipping folders list sorting when it's not needed in folder manager 13 years ago
alecpl 130cdcf7d0 - Small improvement for handling redundant cache queries (followup to r5303) 13 years ago
alecpl f537504ed0 - Fix namespace handling in special folders settings (#1488112) 13 years ago
alecpl 03079a5a51 - Fix: skip redundant cache queries when an entry doesn't exist 13 years ago
alecpl 765fdeb5b5 - Improved performance of draft saving by usage of APPENDUID response if available (skipped SEARCH call) 13 years ago
alecpl e877681c20 - Disable time limit for CLI scripts (#1488109) 13 years ago
thomascube e750d1b816 Restrict folders list to write-only in selectors for special folders and save-message-to option 13 years ago
thomascube 448f81362a Make LDAP group name attribute configurable 13 years ago
thomascube 502436dad0 We're on the road towards 0.7 now 13 years ago
thomascube f4f4354fea This timezone stuff really is a hard one... 13 years ago
thomascube 985e410012 Unset auto timezone value if overwritten by user prefs 13 years ago
thomascube 801b69d3ab Fix timezone settings 13 years ago
alecpl 4037d38873 - Hide PHP warning when max() is used with an empty array 13 years ago
thomascube 65082b3adb Distinguish standard timezone offset and DST of client 13 years ago
thomascube 0c1cb2fed7 Fix typo; add attribute to allow html in labels 13 years ago
thomascube 00d42426f2 Fix merging of annotation results when querying multiple attributes 13 years ago
thomascube feb3783de7 Add method to remove outdated cache entries from sql DB 13 years ago
alecpl 9e54e6fd45 - Make the whole PHP output non-cacheable (#1487797) 13 years ago
thomascube ef4998c110 Fix compose command from other tasks than mail and address book; skip common request parameters 13 years ago
thomascube d06e57fdf2 Skip confirmation dialog when deleting a contact from a source that supports undelete operations 13 years ago
alecpl 5f71297bc9 - Add notice on autocompletion that not all records were displayed 13 years ago
thomascube 5172ac9389 Aread alter forms in rcube_template::parse() instead of write() 13 years ago
thomascube 2d3e2bc561 Add option 'searchonly' for address books; currently used by LDAP directories 13 years ago
alecpl c054ec5c7a - Fix lost info for encrypted messages 13 years ago
alecpl f3ec778c65 - Fix sorting of messages on servers without SORT and THREAD command 13 years ago
alecpl e99b3f2e6e - Fix listing messages on servers without SORT and THREAD command 13 years ago
alecpl eeae0db10c - Fix forwarded attachments, broken in r5204 13 years ago
alecpl 37d511ff38 - Fix cached indexes validation after removing messages when skip_deleted=true 13 years ago
alecpl 015decf815 - Fix listing contacts in a group 13 years ago
alecpl f763fbd56c - Make group's "member" attibute name configurable 13 years ago
alecpl d96a15e24f - Improve performance by skipping redundant SELECT query when writing new session into DB 13 years ago
alecpl 1f803b6e3c - Fix PHP error when fetching messages index when threaded mode is enabled 13 years ago
alecpl 681e9e6f1a - Don't set (wrong) error on groups listing action 13 years ago
alecpl abc3aa8a0e - Set group_bind_dn outside of list_groups() 13 years ago
alecpl 0fe3b9a7d7 - Hide PHP warning on ldap_search() 13 years ago
alecpl e7e79470e4 - Allow setting connection options in imap_connect hook 13 years ago
alecpl 9eeb14699f - Make rcube_ldap bind() and sasl_bind() methods public 13 years ago
alecpl 497013f411 - Set style of login form inputs using class not IDs 13 years ago
alecpl 609d3923d7 - Cache synchronization using QRESYNC/CONDSTORE
- Fixed message ID updates in cache
- Changed message flags handling + some fixes (e.g. fixed messages listing after delete)
13 years ago
alecpl 30f50556c1 - Fix locked folder rename option on servers supporting RFC2086 only (#1488089) 13 years ago
thomascube f7387d5f0c Remove debugging stuff 13 years ago
thomascube 06dc9838e0 Fix session race conditions when composing new messages 13 years ago
alecpl 612eeca739 - Removed leftover code 13 years ago
alecpl 4daaf29747 - Fix default folders settings (according to namespaces) for new users too 13 years ago
alecpl 140abb0ca0 - Require magic_quotes_runtime=Off because it modifies data streams (too much effort to handle this) 13 years ago
alecpl c3ba0e54af - Fix encoding of LDAP contacts identifiers (#1488079) 13 years ago
thomascube 1cc9e210f5 Make date/time format user configurable; drop 'date_today' config option 13 years ago
alecpl 6f45fa56ce - Fix required_fields checking per discussion in #1488073 13 years ago
alecpl 8703b08018 - Extend rcube_label_exists() to search in loaded plugins localizations
- Allow use localized addressbook field subtypes from plugins
13 years ago
alecpl bd14f92835 - Removed some spaces 13 years ago
alecpl 66a3b03419 - Fix handling of binary attachments encoded with quoted-printable (#1488065) 13 years ago
alecpl 303ade533f - Fix handling of links with IP address 13 years ago
alecpl b7fd98e338 - Fix compacting folder resets message list filter (#1488076)
- Fix reset-search action so it resets list page number to 1
13 years ago
alecpl 71f72f928b - Fix new caching issue when broken/misleading object data was stored in database.
The object must be cleaned up before storing in DB, because some code
  (out of rcube_message and rcube_imap classes) is changing objects data
  e.g. parts mimetype or body. Now it's become a problem because we're
  saving the object in cache at shutdown (after all modifications).
- Make stored message object smaller by removing some redundant data.
13 years ago
alecpl e730cd248d - Fix displaying multipart/alternative messages with only one part (#1487938) 13 years ago
alecpl 80152b333c - Rewritten messages caching (merged devel-mcache branch):
Indexes are stored in a separate table, so there's no need to store all messages in a folder
  Added threads data caching
  Flags are stored separately, so flag change doesn't cause DELETE+INSERT, just UPDATE
- Partial QRESYNC support
- Improved FETCH response handling
- Improvements in response tokenization method
13 years ago
alecpl d5ae9772c1 - Fix username case-insensitivity issue in MySQL (#1488021) 13 years ago
alecpl f8e48df715 - Merge devel-saved_search branch (Addressbook Saved Searches) 13 years ago
alecpl 66df084203 - Merge devel-spellcheck branch:
- Added spellchecker exceptions dictionary (shared or per-user)
  - Added possibility to ignore words containing caps, numbers, symbols (spellcheck_ignore_* options)
13 years ago
thomascube 21030324d0 Improved memcache connection procedure from release-0.6; use call_user_func to trigger session gc handlers 13 years ago
alecpl 427e3a4023 - Check for "Permission denied" string in IMAP error messages to display more appropriate message to the user 13 years ago
alecpl aecadcf4a2 - Don't disable include() errors, so now broken translation of a plugin will print error to the log 13 years ago
thomascube c170bfc92f Protect from Clickjacking by sending X-Frame-Options headers (#1487037) 13 years ago
thomascube 94a5a24fc2 Fallback to mail_domain in LDAP variable replacements; add 'host' to 'user_create' hook arguments (#1488024) 13 years ago
thomascube 4c4fe693d7 Fix wrong vCard type parameter mobile (#1488067) 13 years ago
thomascube 31e00cb7e9 Fix vCard WORKFAX issue (#1488046) 13 years ago
alecpl 682819f15e - Fix imap_cache setting to values other than 'db' (#1488060) 13 years ago
alecpl 8757f5b57d - Fix handling of attachments inside message/rfc822 parts (#1488026) 13 years ago
alecpl 95192c6d0f - Make 5th argument of rcmail_deliver_message() optional 13 years ago
alecpl 9a835c7f7c - Fix is_a() usage for PHP>5.3.6 13 years ago
thomascube 20ed3794f6 Don't attempt to list (and cache) folders if not connected 13 years ago
alecpl a98ee35134 - Microoptimization: use substr_replace() for injecting a string into string 13 years ago
thomascube da71783bc9 Move timezone computation to rcube_config; don't override SESSION['timezone'] when saving prefs 13 years ago
thomascube 1a716d2d34 Add copyright line on files with significant changes from Kolab Systems 13 years ago
thomascube c63e571f02 Fix group members listing for ldap directories 13 years ago
thomascube 9d5d7a86f8 Log session_id with logins 13 years ago
alecpl 0c7fe2fd97 - Added unique connection identifier to IMAP debug messages 13 years ago
alecpl 7a2bade211 - Added 'priority' column on messages list 13 years ago
alecpl 9e443d1529 - Don't add console to error pages, prevents js error 13 years ago
alecpl 2ce8e5dd94 - Use internal cache for mailbox_info() result 13 years ago
thomascube fbe54043cf Fix folders drop-down list: descend into root folder (e.g. INBOX) even if part of the exception list 13 years ago
alecpl 189a0ae4dc - Unsubscribe from non-existing folders always (on listing), not only in Settings/Folders UI 13 years ago
thomascube 94ce75255d Correctly quote group filter 13 years ago
alecpl 5c9d1ffe8e - Add option to hide selected LDAP addressbook on the list 13 years ago
alecpl fe0cb657f1 - Add client-side checking of uploaded files size 13 years ago
thomascube 782d8593bd More unique error codes 13 years ago
thomascube c878069118 Pass attributes as vars to label 13 years ago
alecpl 59ab0c3bcd - Fix infinite recurrence when saving user preferences stored in session 13 years ago
alecpl f4c3649671 - Revert r5046, the change will be applied to devel-mcache branch, where it belongs for now 13 years ago
alecpl 755189648d - Add debug for operations on groups 13 years ago
alecpl a170304013 - Remove double semicolon 13 years ago
thomascube 0f1faec392 Fix saving and deleting LDAP contacts; skip client-side input validation for contacts, this is done server-side 13 years ago
alecpl 077cfdac2d - Added IMAP ENABLE (RFC5161) support
- Removed deprecated @access comments
13 years ago
alecpl 8dd172a5b0 - Fix XSS vulnerability in UI messages (#1488030) 13 years ago
alecpl 2185899721 - Fix handling of email addresses with quoted local part (#1487939) 13 years ago
alecpl 6d0ada30d7 - Fix handling of email addresses with quoted local part (#1487939) 13 years ago
alecpl 159763861e - Display current user name in page title if devel_mode=true 14 years ago
alecpl 359e19a19d - Fix EOL character in vCard exports (#1487873) 14 years ago
alecpl feaf7b5ec6 - Remove temp debug code 14 years ago
alecpl 4d4a2fa32e - Added possibility to extend rcube_vcard's fieldmap
- Skip empty values in vCard export
14 years ago
alecpl 7f7ed2d9df - Fix get_address_book() to call get_address_sources() internally when looking for default source 14 years ago
alecpl 46285d4b56 - Support department field as X-DEPARTMENT 14 years ago
alecpl f5e5702aa2 - Remove function duplicate (from last commit) 14 years ago
alecpl 363514e30b - Move rcmail_localize_folderpath() to main.inc 14 years ago
alecpl 1cd36267a1 - Improved detection of folder rename possibility and its handling 14 years ago
thomascube fcc7f861b1 Log session validation errors; keep error message when redirecting to login after session error 14 years ago
alecpl 4d784be2b9 - Fix 'exceptions' parameter of rcmail_mailbox_select() to handle directories on any level of the structure 14 years ago
alecpl f03d89e493 - Fix 'sql' identifier for addressbook handling (#1488013) 14 years ago
alecpl f1574a5da2 - Performance fix: don't create addressbook object to close() it if it wasn't created before, skipping unneeded LDAP connection 14 years ago
alecpl 733ed0a20a - Use rcube_imap_generic::tokenizeResponse() for parsing BODYSTRUCTURE, fixes #1488007 14 years ago
alecpl 341d9661c7 - Delay imap cache initialization, fixes problem with cache cleanup on login (where user ID wasn't set on init time) 14 years ago
thomascube d917785e70 Move mail sending functions from mail task to core for general usage 14 years ago
alecpl 5ed119e534 - Don't use default source if source id is specified in get_address_source() 14 years ago
alecpl dcf8112ada - Fix IE9 detection (#1488008) 14 years ago
alecpl 909a3acb83 - Move console object initialization code into one place 14 years ago
alecpl 71e8cc3bce - Fixed display name on contact lists 14 years ago
alecpl 0213f8d4dd - Added optional "multithreading" autocomplete feature 14 years ago
alecpl 1837173634 - Plugin API: Added 'config_get' hook 14 years ago