Commit Graph

365 Commits (73ea8f94d01a87c3b9e83c96d1b795ca27151f16)

Author SHA1 Message Date
thomascube d06e57fdf2 Skip confirmation dialog when deleting a contact from a source that supports undelete operations 13 years ago
alecpl e7e79470e4 - Allow setting connection options in imap_connect hook 13 years ago
alecpl 4daaf29747 - Fix default folders settings (according to namespaces) for new users too 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
thomascube 21030324d0 Improved memcache connection procedure from release-0.6; use call_user_func to trigger session gc handlers 13 years ago
alecpl 9a835c7f7c - Fix is_a() usage for PHP>5.3.6 13 years ago
thomascube 1a716d2d34 Add copyright line on files with significant changes from Kolab Systems 13 years ago
alecpl 5c9d1ffe8e - Add option to hide selected LDAP addressbook on the list 13 years ago
thomascube 782d8593bd More unique error codes 14 years ago
alecpl 7f7ed2d9df - Fix get_address_book() to call get_address_sources() internally when looking for default source 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 5ed119e534 - Don't use default source if source id is specified in get_address_source() 14 years ago
thomascube 609c5e9da9 Session object can be null if db/memcache is not available 14 years ago
alecpl 580adc8263 - Add add_shutdown_function() method. Make possible to call user function before destoying all objects (e.g. session) 14 years ago
alecpl 7f5a849e78 - Added possibility to undo last contact delete operation 14 years ago
alecpl 77406bb731 - Fix url() so zero-values are not skipped (#1487979) 14 years ago
alecpl b896b18f87 - Call addressbook_get hook only if build-in addressbook doesn't match wanted ID (for better performance), other improvements 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 ccc059fd70 - Re-designed cache, fixes memcache/apc issues 14 years ago
alecpl 8edb3d9405 - Add APC support in rcube_cache 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
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
thomascube 63e9927d5f Add support for session storage using memcache 14 years ago
alecpl 926948e77f - Use shortest include path for better performance 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 ef27a6a723 Add hook for request token creation (upon user request) 14 years ago
thomascube c9f2c47027 Fix request token generation if no cookies set 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
thomascube 4591de7018 Prepare for multiple concurrent compose windows 14 years ago
thomascube ae39c47c3a New config option for custom logo; allow skins to define/override texts 14 years ago
alecpl dd07e79537 - Close IMAP connection after SMTP, per discussion in (#1485975) 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 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
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 0501b637a3 Merge branch devel-addressbook (r4193:4382) back into trunk 14 years ago
alecpl a76cbddfc9 - Fix %h/%z variables in username_domain option (#1487701) 14 years ago
alecpl 68d2d54100 - Move action files map from index.php to steps' func.inc files 14 years ago
thomascube f5e7b35307 Bumbed version; Roundcube development is not Switzerland only 14 years ago
thomascube c3be8ed64c Make sure an existing session is killed/replaced when submitting login form 14 years ago
alecpl 7f1da4818e - Add debug handler support in rcube_imap_generic 14 years ago
alecpl 7c9850da45 - Improve handling of whitespace characters after closing PHP tag in localization and config files 14 years ago
alecpl e17553d954 - Add 'login_lc' config option for case-insensitive authentication (#1487113)
- Make username comparison case sensitive on MySQL
14 years ago
alecpl 9016a84f7b - Handle PHP warning in decrypt function (#1485970) 14 years ago
alecpl 44840971e8 - Fix handling of folders with name "0" (#1487119) 14 years ago
alecpl 00290a6032 - Add support for shared folders (#1403507) 14 years ago
alecpl a1fe6bd11d - Add support for IMAP proxy authentication (#1486690) 14 years ago
alecpl 0f0c17ad9e - improved IMAP errors handling (continue) 14 years ago
alecpl 8f94b1aad6 - Convert to lowercase only domain part of email address on login 14 years ago
alecpl f1adbf17ee - Convert IDN to ASCII before using rcube_user::query()
- Always convert to lower case a username when it's an email address
14 years ago
alecpl 13ffa2810e - Added line number for error message 14 years ago
alecpl 5c461bada9 - Update phpdoc (#1486958) 14 years ago
alecpl e99991996d - Add Internationalized Domain Name (IDNA) support (#1483894) 14 years ago
thomascube 6d94ab311a Only lower-case user name if first login attempt failed (#1486393) + fix test 14 years ago
alecpl e019f2d0f2 - s/RoundCube/Roundcube/ 14 years ago
thomascube a3de4f6054 Fix selection of read/write db connection 14 years ago
alecpl 457373bf3f - Fix: close() method of addressbook object(s) is not called in shutdown function 14 years ago
alecpl 2aa2b332f6 - Small performance improvements 14 years ago
alecpl 564741f77b - performance: use custom function for IV vector generation instead of mcrypt_create_iv() 14 years ago
alecpl c16fab1641 - Fix strpos() usage (#1486458) 15 years ago
alecpl e6ce0062f2 - Unify hooks names, see rcube_plugin_api::deprecated_hooks for complete list (old names are supported without errors nor warnings) 15 years ago
thomascube 904809459d Fix default IMAP port configuration (#1486864) 15 years ago
alecpl 6a642d1a2e - support dynamic hostname variables in 'username_domain' option 15 years ago
alecpl bb8721aaeb - Support dynamic hostname (%d/%n) variables in configuration options (#1485438) 15 years ago
alecpl f07d238b1b - Add 'imap_timeout' option (#1486760) 15 years ago
alecpl b62a0d2d23 - Fix in timezone setting (#1486183) 15 years ago
alecpl 677e1f26fe - Some files from /bin + spellchecking actions moved to the new 'utils' task 15 years ago
alecpl bec31a4e86 - fix for use without session object 15 years ago
alecpl f0485adef1 - Fix folder subscription checking (#1486684)
- Fix INBOX appears (sometimes) twice in mailbox list (#1486672)
15 years ago
alecpl bf67d60e43 - Skip session initialization/configuration if session is initialized already (e.g. using Installer) 15 years ago
alecpl 7fdb9da98e - Fix sources list if 'ldap_public' is null/false 15 years ago
alecpl 44155cddc2 - load des.inc file only when needed 15 years ago
alecpl 600981d1d3 - fix comment 15 years ago
thomascube c0297f4172 Asynchronously expand contact groups + skip count queries in autocompletion mode + check for the existance of contactgroups table 15 years ago
alecpl 59c216f3cc - Fix bugs on unexpected IMAP connection close (#1486190, #1486270)
- Iloha's imap.inc rewritten into rcube_imap_generic class
- rcube_imap code re-formatting
15 years ago
thomascube a61bbb24aa Added basic contact groups feature 15 years ago
alecpl d8c440c03f - Added 'imap_force_caps' option for after-login CAPABILITY checking (#1485750) 15 years ago
thomascube f52c936f4d Merged devel-threads branch (r3066:3364) back into trunk 15 years ago
alecpl 3704b78841 - Added function to get addressbooks list rcmail::get_address_sources() (#1486248) 15 years ago
alecpl 929a508d80 - Improve performance by avoiding unnecessary updates to the session table (#1486325) 15 years ago
thomascube 47d8d39cf4 Use rcmail::imap_connect() to establish IMAP connections; always initialize rcube_imap object in mail steps 15 years ago
thomascube b545d3e838 Fix loading of plugin configs: user prefs will always survive (#1486368) 15 years ago
alecpl 48bc52e835 - Fix imap_init hook broken in r3258 (#1486493) 15 years ago
alecpl 9b94eb6415 - Fix setting task name according to auth state. So, any action before user
is authenticated is assigned to 'login' task instead of 'mail'. Now binding
  plugins to 'login' task is possible and realy usefull. It's also possible 
  to bind to all tasks excluding 'login'.
15 years ago
alecpl 2b35c5d8f6 - performance stats logging in devel_mode 15 years ago
alecpl b5846eed4d - Login preformance: Create default folders on first login only 15 years ago
alecpl 10eedbe75a - add file/line definitions to raise_error() calls 15 years ago
alecpl 2273d4117f - Add support for MDB2's 'sqlsrv' driver (#1486395) 15 years ago
alecpl 638fb8a972 - fix $Id$ keyword 15 years ago
alecpl 9898fe315a - don't use preg_replace with /e modifier + code cleanup 15 years ago
alecpl 317a7d9f67 - fix warning when authentication fails and debug_level=4 (#1486292) 15 years ago
alecpl c96c5a98af - use 7th (httponly) argument of setcookie() 15 years ago
alecpl 3ea30ef7eb - fix HTTPS checking (#1486273) 15 years ago
alecpl 7d51781450 - fix Russian language position on languages list 15 years ago
alecpl 1cead0cbf4 - sorting by message index - added 'index_sort' option (#1485936) 15 years ago
alecpl 0102742cb2 - Added 'ldap_debug' option + small change to not rely on rcube_config inside rcube_ldap class 15 years ago
alecpl bdab2c5faf - small code improvements 15 years ago
alecpl b48d9bf5d4 - Use faster/secure mt_rand() (#1486094) 15 years ago
alecpl ee258ce158 - performance fix: don't check mbstring functions existence too often 16 years ago
alecpl 564a2ba793 - Help plugin
- support 'dummy' task (for plugins)
16 years ago
thomascube 5499336fef Use global request tokens and automatically protect all POST requests 16 years ago
alecpl 2c3d81dddd - use simple rcube_smtp class
- Installer: fix SMTP settings test
16 years ago
thomascube 57f0c81f2c Use request tokens to protect POST requests from CSFR 16 years ago
thomascube afc6e4bd10 Added hook when killing a session 16 years ago
alecpl 713a66fc0f - prevent from some mcrypt warnings (#1485970) 16 years ago
alecpl d559cba5f7 - Added 'imap_debug' option, described 'sql_debug' option in config file 16 years ago
alecpl 0b2ce91f25 - Reviewed/fixed skip_deleted/read_when_deleted/flag_for_deletion options handling in UI 16 years ago
alecpl 79c45f4b18 - fix rep_specialchars_output() performance, remove old 'charset' option use 16 years ago
alecpl 74d421d55a - don't show message on unknown error (#1485848) + translate "Server Error!" message 16 years ago
alecpl 2471d3a979 - Added possibility to encrypt received header, option 'http_received_header_encrypt',
added some more logic in encrypt/decrypt functions for security
16 years ago
thomascube f879f4e2f8 Trigger 'create_identity' when creating a new user; Allow 'create_user' hook to abort the operation 16 years ago
alecpl 27924acf43 - speed up the whole session cleaning in kill_session() 16 years ago
svncommit f22c2cefb4 Really, really logout (fixes r2467). 16 years ago
svncommit 617b4f699f Minimize chance of race condition in session handling (#1485659, #1484678) 16 years ago
thomascube 1c932d58b5 Allow plugins to define their own tasks + add 'domain' parameter for rcube_template::button() 16 years ago
alecpl 76db10d65d - fix setting empty string in imap_root 16 years ago
thomascube cc97ea0559 Merged branch devel-api (from r2208 to r2387) back into trunk (omitting some sample plugins) 16 years ago
alecpl f86e8f5faa - Support STARTTLS in IMAP connection (#1485284) 16 years ago
alecpl 942069969c - Support several e-mail addresses per user from virtuser_file (#1485678)
- return NULL from rcube_user::email2user if user not found (#1485801)
16 years ago
thomascube 11526305f5 Revert r2322; this is done in rcmail_html4inline() and now secured + fix tests 16 years ago
till cbbef379a5 * bumping up copyright (happy new year ;-)) 16 years ago
thomascube 230f944bf6 Allow empty strings for imap_root config parameter (was changed in r2143) to remain backward compatible but cache imap root and delimiter in session 16 years ago
alecpl 030c848b0d - Performance: allow setting imap rootdir and delimiter before connect (#1485172) 16 years ago
alecpl 14de18d5f4 - Fix setting locale to tr_TR, ku and az_AZ (#1485470) 16 years ago
alecpl 95d90f86d9 - Added 'keep_alive' and 'min_keep_alive' options (#1485360) 16 years ago
alecpl ec01712a99 - Added option 'identities_level', removed 'multiple_identities'
- Allow deleting identities when multiple_identities=false (#1485435)
16 years ago
alecpl e80f502efb - added 'en_US.utf8' as fallback for setlocale 16 years ago
thomascube cefd1d8c91 DRY: set (secure) cookies using rcmail::setcookie() + set session.only_use_cookies 16 years ago
thomascube e93e54fb26 Tiny correction of phpdoc 16 years ago
thomascube bba657e64f Made config files location configurable (#1485215) 16 years ago
thomascube 7dfb1fba50 Set the right number of arguments for setcookie() 16 years ago
svncommit 72d25b1159 Secure the other cookie, too. 16 years ago
alecpl 1038a66e8a #1485343: fix _task setting in url 16 years ago
thomascube cf17773654 Fix rcmail::url(), don't use comm_path 16 years ago
thomascube 94e4be534b Immediately save sort_col/sort_order in user prefs (#1485265) 16 years ago
thomascube c8ae2497b7 Auto-detect client language and timezone if desired by config/prefs 16 years ago
thomascube ade8e117df Let rcmail class create address book instances 16 years ago
alecpl b77d0dd6c5 - added options to use syslog instead of log file (#1484850)
- added Logging & Debugging section in Installer
- fixed config from $_POST for next installer steps saving
- fixed and re-enabled debug_level setting in installer
17 years ago
alecpl 9e8e5fa634 - Removed support for PEAR::DB driver 17 years ago
thomascube e3fdcf5919 Don't add empty url params 17 years ago
thomascube d224551cfb Fix read_when_deleted behavior + javascript codestyle 17 years ago
thomascube 0ece58dfaf Add consistency checks + complete some phpdoc 17 years ago
thomascube eec34efac2 Really, really fix host selection (damn, it's too hot) 17 years ago
thomascube 257f88c695 Really fix host selection from login form 17 years ago
thomascube 0d88e50955 Fix typo and re-enable input box for host 17 years ago
thomascube fde466c58c Urlencode mail recipients for storing in session + little code cleanup 17 years ago
thomascube c719f3c1e0 Store compose parameters in session and redirect to a unique URL 17 years ago
thomascube 6ea6c9b96e Simplify step inclusion in controller (index.php) 17 years ago
alecpl 7e78b2ec37 -segfault (#1485109) 17 years ago
thomascube c3ab753765 Fix language detection + update Catala localization 17 years ago
thomascube 235086c7de Cleaned up localization names to unique language_COUNTRY schema according to ISO 639-1 and ISO 3166-1 17 years ago
alecpl 75da0b6f74 -fixed last commit 17 years ago
alecpl 531abb1a95 -set utf8 locales in setlocale() 17 years ago
thomascube 0e6bdbe8f5 Pass auth_type as argument; don't start session if started from command line 17 years ago
thomascube 26539d5f99 Made encrypt_passwd method public as requested in #1485071 17 years ago
thomascube 033478df29 Link global config array with class props (to be removed) 17 years ago
alecpl 9d9f8dc834 - fix: fallback labels/messages ignored from en_US localisation files after r1360 (#1485057) 17 years ago
thomascube 1854c4525b More code cleanup + oop-ization 17 years ago
thomascube 197601ef5f Next step: introduce the application class 'rcmail' and get rid of some global vars 17 years ago